/* 共通 */
/* 全体の余白は wrap が管理 */
@charset "UTF-8";
._inner{
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}
p{
    font-family: "Noto Sans JP";
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 160%;
}
span._pink{
    color: #E83A5A;
}
._title h2{
    color: #333;
    font-family: "Noto Sans JP";
    font-size: clamp(1.75rem, 1.629rem + 0.52vw, 2.25rem);
    font-style: normal;
    font-weight: 700;
    line-height: 170%;
}
._title > span{
    color: #333;
    /* PC/NotoSansJP_H2 */
    font-family: "Noto Sans JP";
    font-size: clamp(1.5rem, 1.379rem + 0.52vw, 2rem);
    font-style: normal;
    font-weight: 700;
    line-height: 170%;
    position: relative;
    min-width: 360px;
    width: fit-content;
    padding-right: 24px;
}
._title > span::before{
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    transform: translateY(50%);
    background: #E83A5A;
    transition: width 0.6s ease 0.2s;
}

._title.animate-in > span::before{
    width: 100%;
}
._title > span::after{
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    transform: translate(50%, 50%);
    width: 16px;
    height: 16px;
    background: #E83A5A;
    border-radius: 50%;
    opacity: 0;
    transform: translate(100%, 50%) scale(0);
    transition: all 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

._title.animate-in > span::after{
    opacity: 1;
    transform: translate(50%, 50%) scale(1);
}
._split-reverse,
._split{
    max-width: 1200px;
    margin-inline: auto;
    display: flex;
    align-items: center;
    gap: 32px;
    padding: 0;
  }
  ._split-reverse ._content,
  ._split ._content{
    width: 100%;
  }
  ._split-reverse ._bleed{
    width: 100%;
    margin-right: calc(50% - 50vw);
  }
  ._split ._bleed{
    width: 100%;
    margin-left: calc(50% - 50vw);
  }


  ._white-btn{
    border-radius: 40px;
    border: 3px solid #333;
    background: #FFF;
    width: 340px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    position: relative;
  }
  ._white-btn::after{
    content: '';
    position: absolute;
    top: 50%;
    right: 32px;
    transform: translateY(-50%);
    width: 10px;
    height: 12px;
    background-image: url('../img/top/btn-arrow.svg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
  }

._white-btn p{
    color: #333;
    text-align: center;
    /* PC/NotoSansJP_H3 */
    font-family: "Noto Sans JP";
    font-size: 18px;
    font-style: normal;
    font-weight: 700;
    line-height: 170%; 
}

  /* mv */
.top-mv{
    width: 100vw;
    height: 100vh;
    background-image: url('../img/top/mv-bg.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
    position: relative;
    padding: 0;
}

/* ========== MV スライダー ========== */
.top-mv-slider{
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden; /* ビューポート外を隠す */
    padding-left: clamp(16px, 4vw, 48px); /* 左に余白を作り、カードを内側に配置 */
}

.slider-container{
    display: flex;               /* 横並び */
    width: 100%;
    height: 100%;
    gap: 40px;                   /* デザインの間隔（拡大） */
    align-items: center;
    transition: transform 0.6s ease; /* 横スライドアニメーション */
    will-change: transform;
}

.slider-item{
    /* カードの比率：画面の約72%の幅、縦はやや低めで下の白帯を避ける */
    flex: 0 0 clamp(680px, 72vw, 1000px);
    height: clamp(360px, 72vh, 780px);
    max-width: 100%;
    box-sizing: border-box;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 14px 40px rgba(0,0,0,0.25);
    filter: brightness(0.7);            /* 非アクティブを少し暗く */
    transition: filter .35s ease;
}

.slider-item.is-active{
    filter: brightness(1);
}

.slider-link{
    display: block;
    width: 100%;
    height: 100%;
}

.slider-link img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.slider-nav{
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 20;
}

.nav-dot{
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.8);
    background-color: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-dot.active{
    background-color: rgba(255,255,255,1);
    border-color: rgba(255,255,255,1);
}

.nav-dot:hover{
    background-color: rgba(255,255,255,0.6);
    border-color: rgba(255,255,255,1);
}
.top-mv::before{
    content: '';
    position: absolute;
    bottom: 0;
    right: 50%;
    display: block;
    width: 24px;
    height: 24px;
    background-image:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32" fill="none"><path d="M32 32L32 -1.39876e-06C32 17.6731 17.6731 32 1.39876e-06 32L32 32Z" fill="white"/></svg>');
    background-size: contain;
    z-index: 2;
}
.top-mv::after{
    content: '';
    position: absolute;
    bottom: 190px;
    right: 0;
    display: block;
    width: 24px;
    height: 24px;
    background-image:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32" fill="none"><path d="M32 32L32 -1.39876e-06C32 17.6731 17.6731 32 1.39876e-06 32L32 32Z" fill="white"/></svg>');
    background-size: contain;
    z-index: 2;
}

.top-mv-absolute{
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: space-between;
    bottom: 0;
    right: 0;
    width:50%;
    height: 190px;
    border-radius: 32px 0 0 0;
    background: #FFF;
}

/* タイトルとインジケーター */
.mv-title-wrap{
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 100%;
    padding: 24px 24px 16px 24px; /* 左のNEWSバッジ分余白 */
    box-sizing: border-box;
    overflow: hidden; /* タイトルの横スライドをクリップ */
}
.mv-title-wrap > div{
    padding: 0 24px;
    width: 100%;
}
.slider-title-container{
    position: relative;
    width: 100%;
    display: flex;                /* タイトルを横並び */
    transition: transform 0.6s ease; /* 横スライド */
    will-change: transform;
}

.slider-title{
    position: relative;
    flex: 0 0 100%; /* 1ページ=100%幅 */
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s ease;
}
.slider-title.active{
    opacity: 1;
    visibility: visible;
}
.slider-title h2{
    color: #111;
    font-weight: 700;
    font-size: clamp(1rem, 1.2vw, 1.125rem);
    line-height: 1.6;
    margin: 0;
}

.mv-indicator{
    margin-top: 12px;
}
.mv-indicator-track{
    position: relative;
    height: 6px;
    border-radius: 6px;
    background: #fff; /* 薄いピンクのトラック */
    border: 1px solid #E83A5A;
    overflow: visible; /* 丸を縦にはみ出させる */
}
.mv-indicator-markers{
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 2;
}
.mv-indicator-markers .dot{
    position: absolute;
    top: 50%;
    width: 12px;              /* 丸のサイズ（バーよりはみ出す） */
    height: 12px;
    border-radius: 50%;
    border: 1px solid #E83A5A;/* 塗りなしの線だけ */
    background: #fff;
    transform: translate(-50%, -50%);
    transition: all .25s ease;
}
.mv-indicator-markers .dot.passed{
    background: #E83A5A;      /* 左側(通過済み＋アクティブ含む)は赤丸 */
}
.mv-indicator-fill{
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background: #E83A5A; /* メインピンク */
    transition: width .35s ease;
    z-index: 1;
}
.mv-indicator-thumb{
    position: absolute;
    top: 50%;
    left: 0;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #E83A5A;
    transform: translate(-50%, -50%);
    transition: left .35s ease;
    z-index: 3;
}

/* 前後矢印 */
.mv-arrow{
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border: none;
    cursor: pointer;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 21;
}
.mv-prev{ 
    width: 15px;
    height: 15px;
    left: 12px;
 background: #E83A5A;
 clip-path: polygon( 0 50%, 100% 100%, 100% 0);
}
.mv-next{ 
    right: 12px;
    width: 15px;
    height: 15px;
 background: #E83A5A;
 clip-path: polygon( 0 0, 0 100%, 100% 50%);
}
.mv-arrow span{ font-size: 22px; line-height: 1; color: #E83A5A; }
/* ========== SP（スマホ）向け調整 ========== */
@media (max-width: 768px) {
    .top-mv-slider{
        padding-left: 16px; /* 左の余白を縮小 */
    }
    .slider-container{
        gap: 12px; /* カード間隔を縮小 */
    }
    .slider-item{
        flex: 0 0 100%; /* 1画面=1枚 */
        height: auto; /* 固定高さを解除 */
        aspect-ratio: 16 / 9; /* PCに近い比率を維持 */
        border-radius: 12px;
    }
    .top-mv-absolute{
        width: 90%;
        height: 120px; /* 下の白帯の高さを抑える */
    }
    .vision-text::before{
        display: none;
    }
    .mv-arrow{ display: none; } /* SPでは矢印を非表示（必要なら表示に変更可） */
}

@media (max-width: 480px) {
    .slider-item{
        height: auto;
        aspect-ratio: 16 / 9;
    }
    .top-mv-absolute{
        height: 100px;
    }
}
.top-mv-absolute::before{
    content: 'NEWS';
    color: #FFF;
    text-align: center;
    /* PC/NotoSansJP_H2 */
    font-family: "Noto Sans JP";
    font-size: clamp(1.5rem, 1.379rem + 0.52vw, 2rem);
    font-style: normal;
    font-weight: 700;
    line-height: 170%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    height: auto;
    background: #000;
    border-radius: 0 50px 50px 0;
    padding: 0 32px;
}


/* vision */
.vision{
    width: 100%;
    max-width: 100%;
}
.vision-inner{
    width: 96%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 32px;
    background: linear-gradient(90deg, #44BEE1 0%, #7DB545 100%);
    padding-left: 4%;
    box-sizing: border-box;
}
.vision-text{
    width: 50%;
    padding: 150px 0 150px 60px;
    position: relative;
}
.vision-text::before{
    content: '';
    position: absolute;
    top: 150px;
    left: 10%;
    transform: translate(-100%,-50%);
    width: 15%;
    max-width: 120px;
    aspect-ratio: 130 / 151;
    background-image: url('../img/top/vision-dec.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.vision-title{
    margin-bottom: 60px;
    position: relative;
}

.vision-title h2{
    color:  #FFF;
    font-family: Montserrat;
    font-size: clamp(2.25rem, 1.628rem + 2.65vw, 4.813rem);
    font-style: normal;
    font-weight: 300;
    line-height: 100%;
}
.vision-title span{
    color:  #FFF;
    font-family: "Noto Sans JP";
    font-size: clamp(1.125rem, 0.882rem + 1.04vw, 2.125rem);
    font-style: normal;
    font-weight: 300;
    line-height: 120%;
}
.vision-text h3{
    color: #FFF;
    font-family: "Noto Sans JP";
    font-size:clamp(1.25rem, 0.765rem + 2.07vw, 3.25rem);
    font-style: normal;
    font-weight: 700;
    line-height: 135%;
    white-space: nowrap;
}
.vision-text p{
    font-weight: normal;
    color: #FFF;
    line-height: 160%;
}
.vision-img-sp{
    display: none;
}
.vision-img{
    width: 50%;
}
.vision-img img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
@media screen and (max-width: 768px) {
    .vision-img-sp{
        display: block;
        width: 70%;
        order: 1;
        margin-left: auto;
        position: relative;
        right: -24px;
    }
    .vision-img{
        display: none;
    }
}



/* about */
#about{
    position: relative;
    width: 100%;
    max-width: 100%;
    padding-top: 0;
}
#about::before{
    content: '';
    position: absolute;
    top: 34px;
    left: 0;
    display: block;
    width: 60%;
    height: 60%;
    background: rgba(242, 211, 34, 0.20);
    z-index: -1;
}
.about-inner{
    width: 96%;
    margin: 0 auto;
}

/* about section styling */
.about-text{
    padding:  0;
}

.about-title{
    margin-bottom: 40px;
}

.about-title > span{
    display: block;
    margin-bottom: 16px;
}

.about-text p{
    margin-bottom: 40px;
    font-weight: 500;
}

/* about detail section */
.about-detail{
    background: #FFF;
    border-radius: 16px;
    padding-bottom: 32px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.about-detail-title{
    border-radius: 8px 8px 0 0;
    background: linear-gradient(167deg, #E83A5A 22.54%, #F4519F 77.46%);
    color: #FFF;
    padding: 12px 24px;
    margin-bottom: 24px;
    text-align: center;
}

.about-detail-title h3{
    color: #FFF;
    font-family: "Noto Sans JP";
    font-size: 20px;
    font-style: normal;
    font-weight: 700;
    line-height: 170%;
    margin: 0;
}

.about-detail-list{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    padding: 0 32px;
}
.about-detail-list li{
    width: 100%;
    border-bottom: 1px solid #333;
}

.about-detail-item{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
    border-radius: 8px;
    text-decoration: none;
    transition: background-color 0.3s ease;
    position: relative;
}

.about-detail-item::after{
    content: '→';
    color: #333;
    font-weight: bold;
    font-size: 18px;
}

.about-detail-item-title p{
    color: #333;
    font-family: "Noto Sans JP";
    font-size: 16px;
    font-weight: 500;
    margin: 0;
}

/* about image styling */
.about-img{
    display: flex;
    flex-direction: column;
    gap: 16px;
    height: 100%;
  }
  
.about-img > img{
    flex: 1;
    width: 100%;
    height: 60%;
    object-fit: cover;
    border-radius: 16px;
}

.about-img-flex{
    display: flex;
    gap: 16px;
    height: 40%;
}

.about-img-flex img{
    flex: 1;
    width: 50%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
}

@media screen and (max-width: 768px) {
    .about-detail-list li:last-of-type{
        border-bottom: none;
    }
}
/* service */
#service{
    position: relative;
    width: 100%;
    max-width: 100%;
    padding-top: 0;
}
#service::before{
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 65%;
    height: 60%;
    border-radius: 32px 0 0 0;
    background: rgba(73, 164, 93, 0.10);
    z-index: -1;
}
.service-title {
    margin-bottom: 48px;
}
.service-flex{
    align-items: start;
}
.service-flex-img >img{
    width: 100%;
    margin-bottom: 16px;
}
.service-img-flex{
    display: flex;
    justify-content: space-between;
    gap: 16px;
}
.service-img-flex img{
    width: 48%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
}
.service-flex-text p{
    font-size: 20px;
    font-weight: 500;
}
.service-flex-text h3{
    color: #000;
    font-family: "Noto Sans JP";
    font-size: 26px;
    font-style: normal;
    font-weight: 700;
    line-height: 160%;
    margin-bottom: 18px;
}
.service-text-layout{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 24px;
    margin: 64px 0;

}
.service-text-layout img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
}
.service-text-detail{
    display: flex;
    align-items: stretch;
    justify-content: flex-start;
    background: #FFF;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}
.service-detail-title{
    width: 20%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(167deg, #E83A5A 22.54%, #F4519F 77.46%);
    position: relative;
}
.service-detail-title h4{
    color: #FFF;
    text-align: center;
    font-family: Montserrat;
    font-size: 24px;
    font-style: normal;
    font-weight: 700;
    line-height: 170%;
    margin: 0;
}
.service-detail-list{
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr 1fr;
    column-gap: 16px;
    row-gap: 16px;
    gap: 0;
    padding: 0;
    margin: 0;
    list-style: none;
    padding:  24px;
}
.service-detail-list li{
    position: relative;
}
.service-detail-list li::after{
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 1px;
    background: #333;
}
.service-detail-list li:nth-child(2n){
    border-right: none;
}
.service-detail-list li:nth-child(5),
.service-detail-list li:nth-child(6){
    border-bottom: none;
}
.service-detail-list li a{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 24px 8px 24px;
    text-decoration: none;
    height: 100%;
    box-sizing: border-box;
    transition: background-color 0.3s ease;
}
.service-detail-list li a:hover{
    background: #F8F9FA;
}
.service-detail-list li a::after{
    content: '→';
    color: #333;
    font-weight: bold;
    font-size: 18px;
    margin-left: 12px;
}
.service-detail-list h5{
    color: #333;
    font-family: "Noto Sans JP";
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 8px 0;
    line-height: 1.4;
}
.service-detail-list p{
    color: #666;
    font-family: "Noto Sans JP";
    font-size: 14px;
    font-weight: 500;
    margin: 0;
    line-height: 1.5;
}
@media screen and (max-width: 768px) {
    .service-detail-list li:last-of-type::after{
        display: none;
    }
}

/* news */
#news{
    width: 100%;
    max-width: 100%;
    padding: 80px 0;
}
.news-flex{
    position: relative;
}
.news-flex::before{
    content: '';
    z-index: -1;
    position: absolute;
    top: -40px;
    left: 0;
    width: 40%;
    height: 100%;
    border-radius: 0 32px 32px 0;
    background: #ECF8FC;
}

.news-inner{
    width: 100%;
    margin: 0 auto;
}

.news-title{
    text-align: center;
    margin-bottom: 60px;
    width: 80%;
    max-width: 1080px;
    margin: 0 auto 40px;
    text-align: left;
}

.news-flex{
    display: flex;
    gap: 40px;
    align-items: stretch;
    margin-bottom: 40px;
}

/* news tab styling */
.news-tab{
    width: 30%;
    border-radius: 0 8px 8px 0;
    background: #44BEE1;
}

.news-tab-list{
    padding: 0;
    margin: 0;
    overflow: hidden;
    width: 250px;
    margin-left: auto;
    margin-top: 40px;
}

.news-tab-list li:last-child{
    border-bottom: none;
}
.news-tab-list li{
    margin-bottom: 16px;
}

.news-tab-list li p{
    padding: 16px 32px;
    margin: 0;
    font-family: "Noto Sans JP";
    font-size: 16px;
    font-weight: 500;
    color: #FFF;
    cursor: pointer;
    transition: all 0.4s ease;
    border-radius: 50px 0 0 50px;
    position: relative;
    transform: translateX(0);
}

.news-tab-list li.active p{
    background: #ECF8FC;
    color: #44BEE1;
    font-family: Montserrat;
    font-size: 18px;
    font-style: normal;
    font-weight: 700;
    line-height: 170%; 
    transform: translateX(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.news-tab-list li:hover p{
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(5px);
}

.news-tab-list li.active:hover p{
    background: #FFF;
    color: #44BEE1;
    transform: translateX(10px);
}

/* news slide styling */
.news-slide{
    flex: 1;
    width: 70%;
    overflow: hidden;
}
.news-controls{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 16px;
}
.news-slide-container[data-empty="true"] + .news-controls{
    display: none;
}
.news-prev,.news-next{
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid #E83A5A;
    background: #fff;
    color: #E83A5A;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
.news-dots{ display:flex; align-items:center; gap:10px; }
.news-dots .dot{ width:8px; height:8px; border-radius:50%; background:#E0C6CE; }
.news-dots .dot.active{ background:#E83A5A; }

.news-slide-container{
    display: flex;
    gap: 24px;
    transition: transform 0.3s ease, opacity 0.3s ease, transform 0.3s ease;
    opacity: 1;
}

.news-card{
    text-decoration: none;
    flex: 0 0 calc(33.333% - 16px);
    background: #FFF;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* ニューススライダー用インジケーター */
.news-indicator{
    margin-top: 16px;
    width: 100%;
    height: 6px;
    background: #fff;
    border: 1px solid #E83A5A;
    border-radius: 6px;
    position: relative;
}
.news-indicator-fill{
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background: #E83A5A;
    border-radius: 6px;
    transition: width .3s ease;
}
.news-indicator-dots{
    position: absolute;
    inset: 0;
    pointer-events: none;
}
.news-indicator-dots .dot{
    position: absolute;
    top: 50%;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 1px solid #E83A5A;
    background: #fff;
    transform: translate(-50%, -50%);
}
.news-indicator-dots .dot.passed{ background:#E83A5A; }

.news-card:hover{
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.news-card-image{
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.news-card-image img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-card-content{
    padding: 24px;
}

.news-card-meta{
    margin-bottom: 16px;
}
.news-card-tags{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.news-date{
    color: #919191;
    font-family: Montserrat;
    font-size: 10px;
    font-style: normal;
    font-weight: 500;
    line-height: 170%;
    margin-bottom: 8px;
    display: block;
}

.news-category{
    background: #444;
    color: #FFF;
    padding: 4px 12px;
    border-radius: 12px;
    font-family: "Noto Sans JP";
    font-size: 12px;
    font-weight: 500;
}

.news-card h3{
    color: #444;
    /* PC/NotoSansJP_p */
    font-family: "Noto Sans JP";
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 170%;
    overflow: hidden;
}

.news-card-tags{
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.news-card-tags .tag{
    background: #444;
    color: #F4F7F8;
    font-family: "Noto Sans JP";
    font-size: 12px;
    font-style: normal;
    font-weight: 700;
    line-height: 170%; /* 20.4px */
    letter-spacing: 1.2px;
    font-weight: 400;
    padding: 8px 16px;
    border-radius: 100px;
}

/* news button */
.news-button-wrap{
    text-align: center;
}

.news-btn{
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #FFF;
    color: #333;
    border: 2px solid #333;
    border-radius: 50px;
    text-decoration: none;
    font-family: "Noto Sans JP";
    font-size: 18px;
    font-weight: 500;
    transition: all 0.3s ease;
}
.news-btn::after{
    content: '';
    position: absolute;
    display: block;
    top: 50%;
    right: 32px;
    transform: translateY(-50%);
    width: 10px;
    height: 12px;
    background-image: url('../img/top/btn-arrow.svg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.news-btn:hover{
    background: #44BEE1;
    color: #FFF;
    border-color: #44BEE1;
    transform: translateY(-2px);
}

.news-btn p{
    margin: 0;
}


/* company */
#company{
    width: 100%;
    max-width: 100%;
    position: relative;
    padding-top: 0;
}
#company::before{
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 80%;
    border-radius: 32px 0 0 32px;
    background: rgba(232, 58, 90, 0.20);
}
.company-inner{
    width: 80%;
    max-width: 1080px;
    margin: 0 auto;
}

.company-flex{
    position: relative;
    display: flex;
    gap: 40px;
    align-items: stretch;
    margin-bottom: 40px;
    max-width: 1080px;
    border-radius: 16px;
    background: #FFF;
    padding: 32px;
}

.company-flex-img{
    width: 50%;
    object-fit: cover;
    border-radius: 16px;
}

.company-flex-text{
    width: 50%;
    object-fit: cover;
    border-radius: 16px;
}

.company-flex-text h3{
    font-size: 24px;
    font-weight: 700;
    line-height: 1.6;
    margin-bottom: 16px;
}
.company-btn{
    margin-top: 24px;
}



/* recruit */
#recruit{
    width: 100%;
    max-width: 100%;
    background-image: url('../img/top/recruit-bg.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.recruit-inner{
    width: 80%;
    align-items: stretch;
    gap: 0;
    position: relative;
}
.recruit-inner::before{
    content: 'RECRUIT';
    position: absolute;
    top: 0;
    right: -10%;
    color: #FFF;
    text-align: right;
    font-family: Montserrat;
    font-size: clamp(2.5rem, 0.68rem + 7.77vw, 10rem);
    font-style: normal;
    font-weight: 700;
    line-height: 90%; 
    opacity: 0.4;
}
.recruit-text{
    display: flex;
    justify-content: center;
    align-items: center;
    background:  #44BEE1;
    padding:64px 32px 32px;
}
.recruit-text h2{
    color: #FFF;
    font-family: Montserrat;
    font-size: 32px;
    font-style: normal;
    font-weight: 700;
    line-height: 140%;
}
.recruit-btn{
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
}

/* footer{ */
footer{
    padding-top: 0;
    border-radius: 32px 32px 0 0;
}
div.footer-title{
    border-radius: 32px 32px 0 0;
    background: #E83A5A;
    margin-bottom: 0;
}
.footer-title h2 {
    position: relative;
    transform: translateY(-50%);
    color: #FFF;
    text-align: center;
    text-shadow: 
        -2px -2px 0 #E83A5A,
        2px -2px 0 #E83A5A,
        -2px 2px 0 #E83A5A,
        2px 2px 0 #E83A5A,
        -2px 0 0 #E83A5A,
        2px 0 0 #E83A5A,
        0 -2px 0 #E83A5A,
        0 2px 0 #E83A5A;
    font-family: Montserrat;
    font-size: clamp(2.5rem, 2.045rem + 1.94vw, 4.375rem);
    font-style: normal;
    font-weight: 700;
    line-height: 170%;
}
.footer-title p{
    position: relative;
    transform: translateY(-50%);
    color: #FFF;
    text-align: center;
    font-family: "Noto Sans JP";
    font-size: 24px;
    font-style: normal;
    font-weight: 700;
    line-height: 170%;
}
.footer-cta{
    display: flex;
    justify-content: center;
    align-items: center;
    background-image: url('../img/top/footer-contact-bg.webp');
    height: 428px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.footer-cta-layout{
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    background: #FFF;
    padding: 48px;
    border-radius: 16px;
    width: 80%;
    max-width: 1000px;
    gap: 40px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.footer-cta-item{
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 24px;
}

.footer-cta-item p{
    position: relative;
    color: #333;
    font-family: "Noto Sans JP";
    font-size: 16px;
    font-weight: 600;
    line-height: 1.6;
    margin: 0;
    padding: 4px 32px;
}

.footer-cta-item:first-child{
    position: relative;
}

.footer-cta-item:first-child::after{
    content: '';
    position: absolute;
    top: 0;
    right: -20px;
    width: 1px;
    height: 100%;
    background: #E9ECEF;
}

.footer-cta-item .footer-cta-btn{
    width: 100%;
    max-width: 300px;
    background: #FFF;
    transition: all 0.3s ease;
}

.footer-cta-item .footer-cta-btn:hover{
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.footer-cta-item:first-child .footer-cta-btn:hover{
    background: #44BEE1;
    color: #FFF;
}
.footer-cta-item:first-child > p{
    color: #FFF;
    background: var(--main-CTA, linear-gradient(90deg, #44BEE1 0%, #7DB545 100%));
}
.footer-cta-item:last-child .footer-cta-btn:hover{
    background: #E83A5A;
    color: #FFF;
}
.footer-cta-item:last-child > p{
    color: #FFF;
    background: var(--main-main_gr, linear-gradient(90deg, #E83A5A 0%, #F4519F 100%));
}
.footer-cta-item > p::before{
    content: '';
    position: absolute;
    top: 0;
    left: -1px;
    display: block;
    width: 16px;
    height: 100%;
    clip-path: polygon(0 100%, 0 0, 100% 0);
    background: #fff;
}
.footer-cta-item > p::after{
    content: '';
    position: absolute;
    bottom: 0;
    right: -1px;
    width: 16px;
    height: 100%;
    clip-path: polygon(0 100%, 100% 0, 100% 100%);
    background: #fff;
}
.footer-cta-btn p{
    color: #333;
    font-weight: 700;
    margin: 0;
}
.sp-only{
    display: none;
}

.pc-only{
    display: inline;
}

/* レスポンシブ対応 */

/* タブレット用 */
@media screen and (max-width: 1024px) {
    ._inner{
        width: 95%;
    }
    
    .vision-inner{
        width: 98%;
    }
    
    .service-text-layout{
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }
    
    .service-text-layout img:last-child{
        grid-column: 1 / -1;
        width: 50%;
        margin: 0 auto;
    }
    .recruit-inner::before{
        display: none;
    }
}

/* モバイル用 */
@media screen and (max-width: 768px) {
    /* 共通 */
    ._inner{
        width: 90%;
        padding: 0 16px;
    }
    
    ._title > span{
        min-width: auto;
        width: fit-content;
        padding-right: 16px;
        font-size: 24px;
    }
    ._title > span::after{
        width: 8px;
        height: 8px;
    }
    
    ._white-btn{
        width: 280px;
        height: 60px;
    }

    .top-mv::after{
        display: none;
    }
    
    /* Split layout - モバイルでは縦積み */
    ._split, ._split-reverse{
        flex-direction: column;
        gap: 24px;
        align-items: stretch;
    }
    
    ._split ._content, ._split-reverse ._content{
        width: 100%;
        order: 2;
    }
    
    ._split ._bleed, ._split-reverse ._bleed{
        width: 100%;
        margin: 0;
        order: 1;
    }
    
    /* Vision section */
    .vision-inner{
        flex-direction: column;
        padding: 32px 24px;
        width: 95%;
    }
    .vision-title{
        margin-bottom: 32px;
    }
    .vision-title h2{
        font-size: 32px;
        line-height: 1.4;
    }
    .vision-title span{
        font-size: 24px;
        line-height: 1.4;
    }

    
    .vision-text{
        width: 100%;
        padding: 24px;
        order: 2;
        text-align: center;
    }
    .vision-text h3{
        font-size: 20px;
    }
    
    .vision-img{
        width: 60%;
        order: 1;
        margin-left: auto;
    }
    
    /* About section */
    #about::before{
        width: 100%;
    }
    .about-inner{
        width: 90%;
    }
    
    .about-detail-list{
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 0 8px;
    }
    
    /* Service section */
    .service-text-layout{
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        gap: 16px;
        margin: 32px 0;
    }
    .service-text-layout img{
        width: 40%;
        margin: 0;
    }
    .service-text-layout img:first-child{
        margin: 0 30%;
    }
    .service-text-layout img:last-child{
        width: 40%;
        margin: 0;
    }
    .service-flex-text h3{
        font-size: 20px;
    }
    
    .service-text-detail{
        flex-direction: column;
    }
    
    .service-detail-title{
        width: 100%;
        padding: 20px;
        box-sizing: border-box;
    }
    
    .service-detail-list{
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        padding: 16px;
    }
    
    .service-detail-list li::after{
        width: 100%;
    }
    
    /* News section */
    .news-title{
        width: 90%;
        text-align: center;
        margin-bottom: 40px;
    }
    
    .news-flex{
        flex-direction: column-reverse;
        gap: 24px;
    }
    
    .news-tab{
        width: 100%;
        background: none;
        order: 2;
    }
    
    .news-tab-list{
        width: 100%;
        margin: 0;
        display: flex;
        justify-content: center;
        gap: 16px;
    }
    
    .news-tab-list li{
        margin-bottom: 0;
        flex: 1;
        max-width: 120px;
    }
    
    .news-tab-list li p{
        border-radius: 25px;
        text-align: center;
        font-size: 14px;
        padding: 12px 16px;
        background: rgba(68, 190, 225, 0.1);
        color: #44BEE1;
        transform: none;
    }
    
    .news-tab-list li.active p{
        background: #44BEE1;
        color: #FFF;
        transform: none;
        box-shadow: none;
        font-size: 14px;
    }
    .news-tab-list li.active:hover p{
        transform: translate(0);
    }
    
    .news-tab-list li:hover p{
        transform: none;
    }
    
    .news-slide{
        order: 1;
    }
    
    /* 縦積みではなく横スライドにする */
    .news-slide{
        overflow: hidden;
    }
    .news-slide-container{
        flex-direction: row;      /* 横並びに維持 */
        gap: 16px;
        will-change: transform;  /* スライドのための最適化 */
    }
    .news-card{
        flex: 0 0 100%;          /* 1画面=1枚表示 */
        min-width: 100%;
    }
    
    .news-flex::before{
        display: none;
    }
    
    /* Company section */
    .company-inner{
        width: 90%;
    }
    
    .company-flex{
        flex-direction: column;
        gap: 24px;
        padding: 24px 16px;
    }
    
    .company-flex-img, .company-flex-text{
        width: 100%;
    }
    
    .company-flex-text h3{
        font-size: 20px;
        margin-bottom: 12px;
    }
    .company-flex-text > p {
        margin-bottom: 24px;
    }
    .company-btn{
        margin: 24px auto 0;
    }
    /* Recruit section */
    .recruit-inner{
        width: 90%;
        flex-direction: column;
    }
    
    .recruit-text{
        padding: 24px 16px;
        text-align: center;
        order: 2;
    }
    
    .recruit-text{
        border-radius:16px 0 0 16px;
    }
    .recruit-text h2{
        font-size: 20px;
        line-height: 1.4;
    }
    
    .recruit-btn{
        position: static;
        transform: none;
        margin: 24px auto 0;
        order: 3;
    }
    
    /* MV section */
    .top-mv-absolute{
        width: 70%;
        height: 140px;
    }
    
    .top-mv-absolute::before{
        font-size: clamp(1.25rem, 1.129rem + 0.52vw, 1.5rem);
        padding: 0 20px;
    }
}

/* 小さなスマートフォン用 */
@media screen and (max-width: 480px) {
    ._inner{
        width: 95%;
        padding: 0 12px;
    }
    
    ._white-btn{
        width: 250px;
        height: 50px;
    }
    
    ._white-btn p{
        font-size: 14px;
    }
    
    .vision-inner{
        padding: 24px 0;
    }
    
    .vision-text{
        padding: 24px 24px;
        box-sizing: border-box;
    }
    
    .about-detail{
        padding: 20px 16px;
    }
    
    .service-detail-list{
        padding: 12px;
    }
    #service::before{
        width: 100%;
    }
    
    .news-card-content{
        padding: 16px;
    }
    
    .company-flex{
        padding: 16px 12px;
    }
    
    .recruit-text{
        padding: 20px 12px;
    }
    
    .top-mv-absolute{
        width: 80%;
        height: 120px;
    }
    
    /* Footer CTA - モバイル対応 */
    .footer-cta{
        height: auto;
        padding: 40px 16px;
    }
    
    .footer-cta-layout{
        flex-direction: column;
        width: 95%;
        padding: 32px 24px;
        gap: 32px;
    }
    
    .footer-cta-item:first-child::after{
        display: none;
    }
    
    .footer-cta-item{
        gap: 16px;
    }
    
    .footer-cta-item p{
        font-size: 14px;
    }
}

@media screen and (max-width:900px) {
    .sp-only{
        display: block;
    }
    
    .pc-only{
        display: none;
    }
}