/* ============================================
   共通
============================================ */

.section_title {
    font-size: min(6.6666666667vw, 1.5625rem);
    font-weight: bold;
    color: var(--text-color);
    line-height: 1;
    font-family: var(--sub-font);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: min(10.6666666667vw, 40px);
}

.section_title span {
    font-size: min(5.6vw, 1.3125rem);
    font-weight: 900;
    font-family: var(--main-font);
    letter-spacing: 0.04em;
}

@media (min-width: 768px) {

    .section_title {
        font-size: clamp(1.5rem, 1.9444444444vw, 1.75rem);
        margin-bottom: min(3.4722222222vw, 50px);
    }

    .section_title span {
        font-size: clamp(1.375rem, 1.6666666667vw, 1.5rem);
    }
}


/* ============================================
   MV（メインビジュアル）
============================================ */

.fv {
    position: relative;
    width: 100%;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    margin-bottom: min(21.3333333333vw, 80px);
}

/* --- テキストエリア（SP：上） --- */

.fv__content {
    position: relative;
    z-index: 2;
    padding: min(10.6666666667vw, 40px) min(5.3333333333vw, 20px) 0;
}

.fv__brand {
    display: flex;
    flex-direction: column;
    gap: min(6.6666666667vw, 25px);
    margin-bottom: min(6.6666666667vw, 25px);
}

.fv__logo {
    width: min(73.3333333333vw, 275px);
    height: auto;
}

.fv__catch {
    font-size: min(4.2666666667vw, 1rem);
    font-weight: 500;
    color: var(--text-color);
    line-height: 1.8;
    letter-spacing: 0.6em;
}

.fv__text {
    font-size: min(3.7333333333vw, 0.875rem);
    font-weight: 400;
    color: var(--text-color);
    line-height: 2.2;
    margin-bottom: min(5.3333333333vw, 20px);
}

.fv__content .cp-btn.cp-btn--dark {
    width: min(69.3333333333vw, 260px);
}

/* --- スライダー（SP：下） --- */

.fv__slider {
    position: relative;
    width: 95%;
    flex: 1;
    min-height: min(160vw, 600px);
    border-radius: 0 10px 10px 0;
    overflow: hidden;
    z-index: 1;
    margin-top: -85px;
}

.fv__slides {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: inherit;
    overflow: hidden;
    border-radius: inherit;
}

.fv__slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1.2s ease;
}

.fv__slide.is-active {
    opacity: 1;
}

.fv__slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (min-width: 768px) {

    .fv {
        flex-direction: row-reverse;
        min-height: 100svh;
        align-items: stretch;
    }

    /* --- テキストエリア（PC：右） --- */

    .fv__content {
        width: 40%;
        flex-shrink: 0;
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 0;
        background: none;
        position: absolute;
        top: 30%;
        left: 75%;
        transform: translate(-50%, -50%);
    }

    .fv__brand {
        gap: min(2.4305555556vw, 35px);
        margin-bottom: min(2.4305555556vw, 35px);
    }

    .fv__logo {
        width: min(26.6666666667vw, 384px);
    }

    .fv__catch {
        font-size: clamp(1rem, 1.25vw, 1.125rem);
    }

    .fv__text {
        font-size: clamp(0.875rem, 1.0416666667vw, 0.9375rem);
        margin-bottom: min(2.0833333333vw, 30px);
    }

    .fv__content .cp-btn.cp-btn--dark {
        width: min(20.8333333333vw, 300px);
        height: 50px;
    }

    /* --- スライダー（PC：左） --- */

    .fv__slider {
        flex: none;
        min-height: unset;
        width: 60%;
        margin: 0;
        overflow: hidden;
        margin-right: auto;
    }
}


/* ============================================
   TOTONOUとは？（About）
============================================ */

.section_content--about {
    position: relative;
    overflow: visible;
    padding-bottom: min(16vw, 60px);
}

.section_content--about .section_title {
    align-items: baseline;
    margin-bottom: min(5.3333333333vw, 20px);
}

.section_content--about .section_title span {
    font-size: 18px;
}

.about__inner {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* --- 画像群 --- */

.about__photos {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.about__photo {
    position: absolute;
    will-change: transform;
    backface-visibility: hidden;
    transform: translateZ(0);
}

.about__photo img {
    width: 100%;
    height: auto;
    display: block;
}

/* SP：配置 */
.about__photo--main {
    width: 36%;
    top: 95px;
    right: -2%;
    z-index: 2;
}

.about__photo--01 {
    width: 17%;
    top: 100px;
    left: 6.7%;
}

.about__photo--02 {
    width: 12.3%;
    top: 90px;
    right: 2%;
    z-index: 2;
}

.about__photo--03 {
    width: 22.2%;
    top: 460px;
    left: -5%;
}

.about__photo--04 {
    width: 10.7%;
    top: 500px;
    right: 7%;
}

.about__photo--05 {
    width: 8.6%;
    bottom: 130px;
    left: 3%;
}

.about__photo--06 {
    width: 12%;
    bottom: -120px;
    left: 10.7%;
}

.about__photo--07 {
    width: 20%;
    bottom: 20px;
    right: -3%;
}

.about__photo--08 {
    width: 11.8%;
    bottom: -60px;
    right: 28%;
}

/* --- テキストエリア --- */

.about__content {
    position: relative;
    z-index: 3;
    text-align: center;
    padding: min(61.3333333333vw, 230px) min(5.3333333333vw, 20px) min(53.3333333333vw, 200px);
}

.about__text {
    font-size: min(3.7333333333vw, 0.875rem);
    font-weight: 400;
    color: var(--text-color);
    line-height: 2.6;
    letter-spacing: 0.04em;
    margin-bottom: min(8vw, 30px);
}

@media (min-width: 768px) {

    .section_content--about {
        padding-block: 0;
        padding-inline: 20px;
    }

    .about__inner {
        max-width: 1280px;
        margin: 0 auto;
        min-height: min(65.3vw, 940px);
        flex-direction: row-reverse;
        align-items: center;
        justify-content: left;
    }

    /* --- テキストエリア（PC：左） --- */

    .about__content {
        position: relative;
        z-index: 5;
        text-align: left;
        width: 55%;
        flex-shrink: 0;
        padding: 0;
    }

    .about__content .section_title {
        justify-content: flex-start;
        margin-bottom: min(1.3888888889vw, 20px);
    }

    .about__text {
        font-size: clamp(0.875rem, 1.0416666667vw, 0.9375rem);
        margin-bottom: min(2.7777777778vw, 40px);
    }

    .about__content .cp-btn {
        margin-left: inherit;
    }

    /* --- 画像群（PC）: px ÷ 1440 × 100 = vw で逆算 --- */

    .about__photo {
        overflow: hidden;
    }

    .about__photo--main {
        width: min(36.1vw, 520px);
        top: min(-17.36vw, -250px);
        right: max(-2.78vw, -40px);
        z-index: 4;
    }

    .about__photo--01 {
        width: min(7.43vw, 107px);
        top: min(-24.31vw, -350px);
        right: min(31.25vw, 450px);
        left: auto;
        z-index: 3;
    }

    .about__photo--02 {
        width: min(7.29vw, 105px);
        top: min(-24.31vw, -350px);
        right: max(-2.78vw, -40px);
        z-index: 4;
    }

    .about__photo--03 {
        width: min(13.89vw, 200px);
        top: min(4.17vw, 60px);
        right: min(25vw, 360px);
        left: auto;
        z-index: 4;
    }

    .about__photo--04 {
        width: min(8.75vw, 126px);
        top: min(27.78vw, 400px);
        right: min(13.89vw, 200px);
        z-index: 3;
    }

    .about__photo--05 {
        width: min(5.21vw, 75px);
        bottom: min(24.31vw, 350px);
        right: min(29.86vw, 430px);
        left: auto;
    }

    .about__photo--06 {
        width: min(7.71vw, 111px);
        bottom: 0;
        right: min(22.22vw, 320px);
        left: auto;
    }

    .about__photo--07 {
        width: min(10.83vw, 156px);
        bottom: min(9.03vw, 130px);
        right: max(-3.47vw, -50px);
    }

    .about__photo--08 {
        width: min(6.39vw, 92px);
        bottom: 0;
        right: min(11.11vw, 160px);
    }
}


/* ============================================
   ラインナップ（Lineup）
============================================ */

.section_content--lineup {
    position: relative;
    padding-block: min(26.6666666667vw, 100px) min(17.3333333333vw, 65px);
}

/* --- 背景（clip-pathで円→矩形） --- */

.lineup__bg {
    position: absolute;
    inset: 0;
    clip-path: circle(0% at 50% 50%);
    transition: clip-path 1.5s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: clip-path;
    margin-inline: min(2.6666666667vw, 10px);
}

.lineup__bg.is-expanded--1 {
    clip-path: circle(10% at 50% 50%);
}

.lineup__bg.is-expanded--2 {
    clip-path: circle(20% at 50% 50%);
}

.lineup__bg.is-expanded--3 {
    clip-path: circle(100% at 50% 50%);
}

.lineup__bg img,
.lineup__bg video {
    width: 100%;
    height: 100%;
    border-radius: 20px;
    object-fit: cover;
    display: block;
}

.lineup__bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    border-radius: 20px;
    pointer-events: none;
}

/* --- コンテンツ --- */

.lineup__inner {
    position: relative;
    z-index: 1;
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.6s ease 0.5s, transform 0.6s ease 0.5s;
    padding: 0 min(8vw, 30px);
}

.section_content--lineup.is-expanded .lineup__inner {
    opacity: 1;
    transform: translateY(0);
}

.section_content--lineup .section_title {
    color: #fff;
}

/* --- SP：スライダー --- */

.lineup__list {
    position: relative;
    overflow: hidden;
}

.lineup__item {
    display: none;
    flex-direction: column;
    gap: min(5.3333333333vw, 20px);
}

.lineup__link {
    display: flex;
    flex-direction: column;
    gap: min(5.3333333333vw, 20px);
    color: inherit;
    text-decoration: none;
}


.lineup__item.is-active {
    display: flex;
}

.lineup__photo {
    width: min(78.93vw, 296px);
    height: min(53.33vw, 200px);
    margin: 0 auto;
    overflow: hidden;
    border-radius: 10px;
    transition: border-radius 0.4s ease;
}

.lineup__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lineup__body {
    flex: 1;
    display: flex;
    flex-direction: column;
    margin-bottom: min(17.3333333333vw, 65px);
}

.lineup__body .cp-btn {
    margin-top: auto;
}

.lineup__header {
    margin-bottom: min(4.2666666667vw, 16px);
}

.lineup__name {
    font-size: min(4.8vw, 1.125rem);
    font-weight: bold;
    color: #fff;
    line-height: 1;
    font-family: var(--sub-font);
    text-align: center;
    margin-bottom: min(2.6666666667vw, 10px);
}

.lineup__category {
    font-size: min(3.2vw, 0.75rem);
    font-weight: bold;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1;
    letter-spacing: 0.08em;
    text-align: center;
}

.lineup__desc {
    margin-bottom: min(5.3333333333vw, 20px);
}

.lineup__text {
    font-size: min(3.7333333333vw, 0.875rem);
    font-weight: 400;
    color: #fff;
    line-height: 1.8;
    letter-spacing: 0.04em;
}

/* --- SPページング --- */

.lineup__pager {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: min(8vw, 30px);
}

.lineup__pager-btn {
    width: 13px;
    height: auto;
    cursor: pointer;
}

.lineup__pager-btn--next img {
    transform: scaleX(-1);
}

.lineup__pager-count {
    color: #fff;
    font-family: var(--sub-font);
    letter-spacing: 0.05em;
}

.lineup__pager-current {
    font-size: min(6.4vw, 1.5rem);
}

.lineup__pager-sep {
    font-size: min(2.9333333333vw, 0.6875rem);
}

.lineup__pager-total {
    font-size: min(3.7333333333vw, 0.875rem);
    color: rgba(255, 255, 255, 0.7);
}

@media (min-width: 768px) {

    .section_content--lineup {
        padding-block: 80px;
    }

    .lineup__inner {
        max-width: 1280px;
        margin: 0 auto;
        padding: 0 min(2.7777777778vw, 40px);
    }

    /* --- PC：横並び4カード --- */

    .lineup__list {
        display: flex;
        justify-content: center;
        gap: min(2.0833333333vw, 30px);
        overflow: visible;
    }

    .lineup__item {
        width: min(20.5555555556vw, 296px);
        display: flex;
        flex-direction: column;
        gap: min(1.3888888889vw, 20px);
        align-items: stretch;
        height: auto;
    }

    .lineup__item .lineup__link {
        flex: 1;
        height: 100%;
    }

    .lineup__photo {
        width: 100%;
        height: min(13.8888888889vw, 200px);
        margin: 0 auto;
        transition: border-radius 0.4s ease, width 0.4s ease, height 0.4s ease, margin 0.4s ease;
    }

    .lineup__body {
        margin: 0;
    }

    .lineup__header {
        margin-bottom: min(1.1111111111vw, 16px);
    }

    .lineup__name {
        font-size: clamp(1.125rem, 1.3888888889vw, 1.25rem);
        margin-bottom: min(0.6944444444vw, 10px);
    }

    .lineup__category {
        font-size: clamp(0.75rem, 0.8333333333vw, 0.75rem);
    }

    .lineup__desc {
        margin-bottom: min(1.3888888889vw, 20px);
    }

    .lineup__text {
        font-size: clamp(0.75rem, 0.9722222222vw, 0.875rem);
    }

    .lineup__pager {
        display: none;
    }

    /* --- ホバー --- */


    .lineup__link {
        cursor: pointer;
    }

    .lineup__link.lineup__link--disabled {
        cursor: default;
    }

    .lineup__link:hover .lineup__photo {
        border-radius: 50%;
        width: min(13.8888888889vw, 200px);
        height: min(13.8888888889vw, 200px);
        margin: 0 auto;
    }

    .lineup__link:hover .cp-btn--outline {
        background: var(--yellow-color);
        color: var(--text-color);
        border-color: var(--yellow-color);
        box-shadow: var(--btn-shadow);
    }

    .lineup__link:hover .cp-btn--outline .cp-btn__icon {
        content: url("/images/common/btn_more-ic_bk.webp");
    }
}


/* ============================================
   3つの視点（Points）
============================================ */

.section_content--points {
    padding-top: 120px;
    overflow: visible;
}

.section_content--points .section_title {
    display: block;
    text-align: center;
    line-height: 1.5;
}

.points__list {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: min(5.3333333333vw, 20px);
}

.points__item {
    aspect-ratio: 1 / 1;
    width: clamp(20.938rem, 17.703rem + 15.22vw, 25rem);
    height: clamp(20.938rem, 17.703rem + 15.22vw, 25rem);
    background: #fff;
    border-radius: 50%;
    box-shadow: 16px 16px 25px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: min(5.3333333333vw, 20px);
}

.points__icon {
    width: clamp(5rem, 3.009rem + 9.37vw, 7.5rem);
    height: clamp(5rem, 3.009rem + 9.37vw, 7.5rem);
    position: relative;
    margin-bottom: min(5.3333333333vw, 20px);
}

.points__name {
    font-size: min(4.2666666667vw, 1rem);
    font-weight: bold;
    color: var(--text-color);
    line-height: 1;
    letter-spacing: 0.12em;
    margin-bottom: min(3.4666666667vw, 13px);
}

.points__text {
    font-size: min(3.7333333333vw, 0.875rem);
    font-weight: 400;
    color: var(--text-color);
    line-height: 1.8;
    letter-spacing: 0.04em;
}

@media (min-width: 768px) {

    .section_content--points {
        padding-top: 180px;
        padding-inline: 20px;
    }

    .section_content--points .section_space {
        max-width: 1280px;
    }

    .section_content--points .section_title {
        display: flex;
    }

    .points__list {
        flex-direction: row;
        gap: min(2.0833333333vw, 30px);
    }

    .points__item {
        flex: 1;
        width: 100%;
        height: auto;
        box-shadow: var(--object-shadow);
    }

    .points__icon {
        width: min(6.9444444444vw, 100px);
        height: min(6.9444444444vw, 100px);
        margin-bottom: min(1.3888888889vw, 20px);
    }

    .points__name {
        font-size: clamp(0.75rem, 1.1111111111vw, 1rem);
        margin-bottom: min(1.1111111111vw, 16px);
    }

    .points__text {
        font-size: clamp(0.625rem, 0.9722222222vw, 0.875rem);
    }
}


/* ============================================
   アイコンアニメーション
============================================ */

.points__icon--frequency svg,
.points__icon--science svg,
.points__icon--leaves svg {
    width: 100%;
    height: 100%;
}

/* --- leaves --- */

@keyframes leaves-float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-6px);
    }
}

@keyframes leaves-sway {

    0%,
    100% {
        transform: rotate(-3deg);
    }

    50% {
        transform: rotate(3deg);
    }
}

.points__icon--leaves svg {
    animation: leaves-drop 4s ease-in-out infinite;
    transform-origin: center bottom;
}

@keyframes leaves-drop {

    0% {
        transform: rotate(0deg);
    }

    20% {
        transform: rotate(-6deg);
    }

    45% {
        transform: rotate(3deg);
    }

    65% {
        transform: rotate(-1.5deg);
    }

    80% {
        transform: rotate(0.5deg);
    }

    100% {
        transform: rotate(0deg);
    }
}

/* --- frequency --- */

@keyframes freq-wave-draw {
    0% {
        stroke-dashoffset: 300;
    }

    40% {
        stroke-dashoffset: 0;
    }

    60% {
        stroke-dashoffset: 0;
    }

    100% {
        stroke-dashoffset: -300;
    }
}

.points__icon--frequency .freq-p01 path,
.points__icon--frequency .freq-p02 path,
.points__icon--frequency .freq-p03 path {
    stroke-dasharray: 300;
    stroke-dashoffset: 300;
    animation: freq-wave-draw 2.8s ease-in-out infinite;
}

.points__icon--frequency .freq-p01 path {
    animation-delay: 0s;
}

.points__icon--frequency .freq-p02 path {
    animation-delay: 0.4s;
}

.points__icon--frequency .freq-p03 path {
    animation-delay: 0.8s;
}

@keyframes freq-border-draw {
    0% {
        stroke-dashoffset: 40;
    }

    100% {
        stroke-dashoffset: 0;
    }
}

.points__icon--frequency .freq-border path {
    stroke-dasharray: 40;
    stroke-dashoffset: 40;
    animation: freq-border-draw 0.8s ease-out 1 forwards;
}

.points__icon--frequency .freq-border path:nth-child(1) {
    animation-delay: 0s;
}

.points__icon--frequency .freq-border path:nth-child(2) {
    animation-delay: 0.2s;
}

.points__icon--frequency .freq-border path:nth-child(3) {
    animation-delay: 0.4s;
}

/* --- science --- */

@keyframes sci-rotate-cw {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes sci-ripple {
    0% {
        transform: scale(0.9);
        opacity: 0;
    }

    20% {
        opacity: 1;
    }

    100% {
        transform: scale(1.05);
        opacity: 0;
    }
}

@keyframes sci-center-pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.03);
    }
}

@keyframes sci-draw {
    0% {
        stroke-dashoffset: 26;
    }

    100% {
        stroke-dashoffset: 0;
    }
}

.points__icon--science svg {
    animation: leaves-float 4s ease-in-out infinite;
}

.points__icon--science .sci-center {
    animation: sci-center-pulse 2.4s ease-in-out infinite;
    transform-origin: 41.5px 51px;
}

.points__icon--science .sci-inborder-group {
    animation: sci-rotate-cw 3s ease-out 1;
    transform-origin: 42px 47px;
}

.points__icon--science .sci-outcircle {
    animation: sci-ripple 2.4s ease-out 1;
    animation-delay: 1.6s;
    transform-origin: 42px 47px;
}

.points__icon--science .sci-outborder path {
    stroke-dasharray: 26;
    stroke-dashoffset: 26;
    animation: sci-draw 2.4s ease-in-out 1 forwards;
}

.points__icon--science .sci-outborder--01 path {
    animation-delay: 0s;
}

.points__icon--science .sci-outborder--02 path {
    animation-delay: 0.4s;
}

.points__icon--science .sci-outborder--03 path {
    animation-delay: 0.8s;
}