@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;600;700&display=swap');

/* =================================
   共通
   基準幅: 1700px
   vw計算: 値 ÷ 1700 × 100
================================= */
:root {
    --color-primary: #005BAC;
    --color-accent:  #E3055B;
    --color-dark:    #0936A5;
    --color-bg:      #F5F5F5;
    --color-white:   #fff;
    --color-beige:   #F1F1F1;

    --inner-width:   1400px;
    --inner-padding: min(40px, 2.353vw);
}

.inner {
    max-width: var(--inner-width);
    margin: 0 auto;
    padding: 0 var(--inner-padding);
}

body {
    max-width: 1700px;
    margin: 0 auto;
    overflow-x: hidden;
    font-family: 'Noto Sans JP', sans-serif;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

/* ユーティリティ */
.sp-only { display: none; }
.pc-only { display: block; }

/* =================================
   キーフレーム
================================= */
@keyframes floating {
    0%   { transform: translateY(0); }
    50%  { transform: translateY(-16px); }
    100% { transform: translateY(0); }
}

@keyframes fadeInFromTopLeft {
    0%   { opacity: 0; transform: translate(-24px, -24px); }
    100% { opacity: 1; transform: translate(0, 0); }
}

/* =================================
   HEADER
================================= */
.header {
    background: var(--color-white);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.header__inner {
    padding: min(5px, 0.294vw) min(20px, 1.176vw);
}

.header__logos {
    display: flex;
    align-items: center;
    gap: min(24px, 1.412vw);
}

.header__logo-ttc img,
.header__logo-tta img {
    width: auto;
    height: min(50px, 2.941vw);
}

/* =================================
   FV
================================= */
.fv {
    z-index: 2;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.fv.is-loaded {
    opacity: 1;
}

.fv__inner {
    position: relative;
    width: 100%;
    margin: 0 auto;
    align-items: center;
}

.fv-plus {
    z-index: 1;
}

.fv-plus01 {
    position: absolute;
    top: min(300px, 17.647vw);
    left: min(722px, 42.471vw);
    width: min(137px, 8.059vw);
    animation: floating 3s ease-in-out infinite;
}

.fv-plus02 {
    position: absolute;
    top: min(52px, 3.059vw);
    right: min(198px, 11.647vw);
    width: min(192px, 11.294vw);
    animation: floating 3s ease-in-out infinite 1.2s;
}

.fv-badge {
    position: absolute;
    bottom: max(-100px, -5.882vw);
    right: min(244px, 14.353vw);
    width: min(254px, 14.941vw);
}

/* =================================
   ABOUT
================================= */
.about {
    z-index: 1;
    padding: min(80px, 4.706vw) 0 min(100px, 5.882vw);
    background: var(--color-white);
    text-align: center;
}

.about__inner {
    max-width: var(--inner-width);
    margin: 0 auto;
}

.about__label {
    display: inline-block;
    padding: min(8px, 0.471vw) min(40px, 2.353vw);
    margin-bottom: min(35px, 2.059vw);
    background: var(--color-dark);
    border-radius: min(50px, 2.941vw);
    color: var(--color-white);
    font-size: min(25px, 1.471vw);
}

.about__title {
    margin-bottom: min(30px, 1.765vw);
    font-size: min(52px, 3.059vw);
    font-weight: bold;
    line-height: 1.4;
    letter-spacing: -0.15rem;
}

.about__title-comma {
    margin-right: max(-20px, -1.176vw);
}

.about__title-sub {
    margin-bottom: min(30px, 1.765vw);
    color: var(--color-dark);
}

.about__sub {
    font-size: min(22px, 1.294vw);
    line-height: 1.8;
}

.about__text {
    font-size: min(1.5rem, 1.412vw);
    line-height: 1.8;
    text-align: left;
}

/* =================================
   FEATURE
================================= */
.feature {
    padding: min(90px, 5.294vw) 0 min(106px, 6.235vw);
    background-image: url(../img/feature-bg-pc.png);
    background-size: cover;
    background-position: top;
    background-repeat: no-repeat;
    color: var(--color-white);
}

.feature__inner {
    max-width: var(--inner-width);
    margin: 0 auto;
}

.feature__title {
    width: min(604px, 35.529vw);
    margin: 0 auto min(48px, 2.824vw);
}

.feature__list {
    max-width: var(--inner-width);
    margin: 0 auto;
}

/* =================================
   FIELD
================================= */
.field__header {
    position: relative;
    padding: min(80px, 4.706vw) 0 min(68px, 3.941vw);
    background: var(--color-dark);
    color: var(--color-white);

    &::after {
        content: '';
        position: absolute;
        bottom: max(-40px, -2.35vw);
        left: 50%;
        transform: translateX(-50%);
        width: min(175px, 10.294vw);
        height: min(42px, 2.471vw);
        background-image: url(../img/field__header_after.png);
        background-size: 100% 100%;
        background-position: center;
        background-repeat: no-repeat;
    }
}

.field__title {
    width: min(454px, 26.706vw);
    margin: 0 auto min(32px, 1.882vw);
}

.feature-title-icon {
    width: min(767px, 45.118vw);
    margin: 0 auto min(25px, 1.471vw);
}

.field__sub {
    font-size: min(38px, 2.235vw);
    text-align: center;
}

.field__body {
    padding-bottom: min(100px, 5.882vw);
    background-image: url(../img/field__body_bg-pc.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.field__list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: min(9px, 0.529vw);
    row-gap: min(14px, 0.824vw);
    width: min(924px, 54.353vw);
    margin: 0 auto;
    padding-top: min(100px, 5.882vw);
}

.field__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: min(6px, 0.353vw);
    height: min(230px, 13.529vw);
    background-color: #fff;
    border-radius: min(20px, 1.176vw);
    box-shadow: 0 min(10px, 0.588vw) min(10px, 0.588vw) rgba(0, 0, 0, 0.1);
    opacity: 0;
    text-align: center;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.field__item.is-visible {
    animation: fadeInFromTopLeft 0.55s ease forwards;
}

.field__item:hover {
    transform: scale(1.08);
    box-shadow: 0 16px 24px rgba(0, 0, 0, 0.15);
}

.field__item:last-child:nth-child(4n+1) {
    grid-column: 1 / -1;
    justify-self: center;
    width: calc((100% - 3 * min(9px, 0.529vw)) / 4);
}

.field__item-icon {
    width: auto;
    height: min(128px, 7.529vw);
}

.field__item-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.field__item-name {
    font-size: min(20px, 1.176vw);
    line-height: 1.4;
}

.field__item-name-sub {
    font-size: min(18px, 1.059vw);
}

.field__message {
    width: min(1135px, 66.765vw);
    margin: min(90px, 5.294vw) auto 0;
}

/* =================================
   SCHOOL
================================= */
.school {
    padding: min(110px, 6.471vw) 0 0;
    background: var(--color-beige);
}

.school__inner {
    max-width: var(--inner-width);
    margin: 0 auto;
    text-align: center;
}

.school__label {
    display: inline-block;
    margin: 0 auto min(35px, 2.059vw);
    padding: min(8px, 0.471vw) min(60px, 3.529vw);
    background-color: var(--color-dark);
    border-radius: min(50px, 2.941vw);
    color: var(--color-white);
    font-size: min(25px, 1.471vw);
}

.school__title {
    margin: 0 auto min(50px, 2.941vw);
    font-size: min(52px, 3.059vw);
    font-weight: bold;
    line-height: 1.3;
    text-align: center;
}

.school__list {
    width: min(1060px, 62.353vw);
    margin: 0 auto;
}

/* =================================
   SYSTEM
================================= */
.system {
    width: min(750px, 44.118vw);
    margin: min(90px, 5.294vw) auto 0;
    padding: min(50px, 2.941vw) min(48px, 2.824vw);
    background: var(--color-white);
    border-radius: min(20px, 1.176vw);
    box-shadow: 0 min(10px, 0.588vw) min(10px, 0.588vw) rgba(0, 0, 0, 0.1);
}

.system__inner {
    max-width: var(--inner-width);
    margin: 0 auto;
    text-align: center;
}

.system__title {
    margin: 0 auto min(24px, 1.412vw);
    color: var(--color-dark);
    font-size: min(38px, 2.235vw);
    font-weight: bold;
}

.system__text {
    margin-bottom: min(45px, 2.647vw);
    font-size: min(22px, 1.294vw);
    line-height: 1.8;
}

.btn {
    display: inline-block;
    padding: min(16px, 0.941vw) min(48px, 2.824vw);
    background: var(--color-primary);
    border-radius: 50vw;
    color: var(--color-white);
    font-size: min(1.6rem, 1.506vw);
    font-weight: bold;
    text-decoration: none;
    transition: opacity 0.2s;
}

.btn:hover {
    opacity: 0.8;
}

.btn--video {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: min(83px, 4.882vw);
    width: min(460px, 27.059vw);
    margin: 0 auto;
    background: #FFEE00;
    color: #000;
    font-size: min(30px, 1.765vw);
}

.btn--video:hover {
    opacity: 0.85;
}

.btn__icon {
    display: block;
    width: min(32px, 1.882vw);
    height: auto;
}

.system__btn-wrap {
    margin-top: min(32px, 1.882vw);
}

/* =================================
   COMING SOON
================================= */
.coming-soon {
    position: relative;
    margin-top: min(94px, 5.529vw);
    background-image: url(../img/coming-soon_bg-pc.png);
    background-size: cover;
    background-position: top;
    background-repeat: no-repeat;
}

.coming-soon__text {
    padding: min(77px, 4.529vw) min(170px, 10vw) min(146px, 8.588vw) 0;
    color: var(--color-white);
    font-size: min(35px, 2.059vw);
    font-weight: bold;
    text-align: center;
}

.coming-soon__img {
    position: absolute;
    top: 0;
    right: 32%;
    transform: translateX(50%);
    width: min(194px, 11.412vw);
}

/* =================================
   PAGE TOP BUTTON
================================= */
.page-top {
    position: fixed;
    right: 4%;
    bottom: 10%;
    z-index: 190;
    width: min(160px, 9.412vw);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.page-top.is-visible {
    opacity: 1;
    pointer-events: auto;
}

.page-top.is-bottom {
    bottom: 15%;
}

.page-top img {
    display: block;
    width: 100%;
    height: auto;
}

/* =================================
   STICKY BANNER
================================= */
.sticky-banner {
    position: fixed;
    bottom: 0;
    left: 50%;
    z-index: 200;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1700px;
    background: #fff;
    border-top: 2px solid #E8E8E8;
    box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.08);
    transition: bottom 0.15s ease;
}

.sticky-banner__inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: min(40px, 2.353vw);
    padding: 0 min(40px, 2.353vw) min(16px, 0.941vw);
}

.sticky-banner__school {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: min(4px, 0.235vw);
}

.sticky-banner__logo img {
    width: auto;
    height: min(58px, 3.412vw);
}

.sticky-banner__btns {
    display: flex;
    gap: min(8px, 0.471vw);
}

.sticky-banner__btn {
    position: relative;
    display: inline-block;
    width: min(218px, 12.824vw);
    padding: min(12px, 0.706vw) 0;
    background: var(--color-dark);
    border-radius: min(9.5px, 0.559vw);
    color: #fff;
    font-size: min(16px, 0.941vw);
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
    transition: opacity 0.2s;
}

.sticky-banner__btn:hover {
    opacity: 0.8;
}

.sticky-banner__btn--oc  { background: var(--color-dark); }
.sticky-banner__btn--doc { background: var(--color-accent); }

.sticky-banner__btn span {
    position: absolute;
    top: 45%;
    right: min(16px, 0.941vw);
    transform: translateY(-50%);
    font-size: 1.5em;
}

.sticky-banner__divider {
    flex-shrink: 0;
    width: 1px;
    height: min(40px, 2.353vw);
    background: #ddd;
}

/* 751px以上では共有ボタンエリアを非表示 */
.sticky-banner__shared-btns {
    display: none;
}

/* =================================
   FOOTER
================================= */
.footer {
    padding: min(40px, 2.353vw) 0 min(24px, 1.412vw);
    background: black;
    border-top: 1px solid #ddd;
}

.footer__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: min(24px, 1.412vw);
    max-width: var(--inner-width);
    margin: 0 auto;
}

.footer__copy {
    color: #ffffff;
    font-size: min(1.2rem, 1.129vw);
}

/* =================================
   RESPONSIVE（SP: ~750px）
================================= */
@media screen and (max-width: 750px) {
    :root {
        --inner-width: 100%;
    }

    .sp-only { display: block; }
    .pc-only { display: none; }

    /* HEADER */
    .header__inner {
        padding: min(24px, 3.2vw) 0;
    }

    .header__logos {
        gap: 16px;
    }

    .header__logo-ttc img,
    .header__logo-tta img {
        height: min(70px, 9.3vw);
    }

    /* FV */
    .fv__inner {
        flex-direction: column;
        min-height: auto;
    }

    .fv-plus01 {
        top: 32%;
        left: 6%;
        width: min(168px, 22.4vw);
    }

    .fv-plus02 {
        top: 27%;
        right: 0%;
        width: min(238px, 31.765vw);
    }

    /* ABOUT */
    .about {
        padding: min(48px, 6.3vw) 0 min(55px, 7.3vw);
        text-align: left;
    }

    .about__label {
        padding: min(8px, 1.067vw) min(40px, 5.333vw) min(8px, 1.067vw) min(55px, 7.333vw);
        margin-bottom: min(30px, 4vw);
        border-radius: 0 50vw 50vw 0;
        font-size: min(30px, 4vw);
        line-height: 1.5;
    }

    .about__title {
        margin-bottom: min(24px, 3.2vw);
        padding-left: min(55px, 7.333vw);
        font-size: min(42px, 5.6vw);
        line-height: 1.5;
        letter-spacing: -0.05rem;
    }

    .about__title-comma {
        margin-right: -2.5vw;
    }

    .about__sub {
        padding-left: min(55px, 7.333vw);
        font-size: min(24px, 3.2vw);
    }

    .about__text {
        font-size: 1.4rem;
    }

    /* FEATURE */
    .feature {
        padding: min(80px, 10.667vw) 0 min(123px, 16.4vw);
        background-image: url(../img/feature-bg-sp.png);
    }

    .feature__title {
        width: min(570px, 76vw);
        margin-bottom: min(55px, 7.333vw);
    }

    .feature__list {
        padding: 0 min(63px, 8.4vw);
    }

    .feature__item-text {
        font-size: 1.3rem;
    }

    /* FIELD */
    .field__header {
        padding: min(50px, 6.667vw) 0 min(58px, 7.733vw);

        &::after {
            bottom: max(-32px, -4.267vw);
            width: min(175px, 23.333vw);
            height: min(42px, 5.6vw);
        }
    }

    .field__title {
        width: min(506px, 67.467vw);
    }

    .feature-title-icon {
        width: min(465px, 62vw);
        margin: 0 auto min(14px, 1.867vw);
    }

    .field__sub {
        font-size: min(35px, 4.667vw);
    }

    .field__body {
        padding-bottom: min(90px, 12vw);
    }

    .field__list {
        grid-template-columns: repeat(3, 1fr);
        gap: min(10px, 1.333vw);
        width: min(636px, 84.8vw);
        padding-top: min(85px, 11.333vw);
    }

    .field__item {
        height: min(211px, 28.133vw);
        border-radius: min(20px, 2.667vw);
    }

    /* SP では最後の孤立アイテムの中央寄せを無効化 */
    .field__item:last-child:nth-child(4n+1) {
        grid-column: auto;
        justify-self: auto;
        width: auto;
    }

    .field__item-icon {
        width: auto;
        height: min(128px, 17.067vw);
    }

    .field__item-name {
        font-size: min(28px, 3.733vw);
        line-height: 1;
    }

    .field__item-name-sub {
        font-size: min(18px, 2.4vw);
    }

    /* SP フォントサイズ修飾クラス */
    .field__item-name--sm { font-size: min(20px, 2.667vw); }
    .field__item-name--md { font-size: min(22px, 2.933vw); }
    .field__item-name--lg { font-size: min(24px, 3.2vw); }

    .harley-davidson {
        margin-top: max(-18px, -2.4vw);
    }

    .field__message {
        width: min(686px, 91.467vw);
        margin: min(80px, 10.667vw) auto 0;
    }

    /* SCHOOL */
    .school {
        padding: min(30px, 4vw) 0 0;
    }

    .school__header {
        text-align: left;
    }

    .school__label {
        padding: min(12px, 1.6vw) min(38px, 5.067vw) min(12px, 1.6vw) min(55px, 7.333vw);
        margin: 0 auto min(40px, 5.333vw);
        border-radius: 0 50vw 50vw 0;
        font-size: min(30px, 4vw);
    }

    .school__title {
        margin-bottom: min(56px, 7.467vw);
        padding-left: min(55px, 7.333vw);
        font-size: min(42px, 5.6vw);
        text-align: left;
    }

    .school__title-sm {
        font-size: min(35px, 4.667vw);
    }

    .school__list {
        width: 100%;
    }

    /* SYSTEM */
    .system {
        width: min(650px, 86.667vw);
        margin: min(106px, 14.133vw) auto min(220px, 29.333vw);
        padding: min(47px, 6.267vw) 0;
        border-radius: min(25px, 3.333vw);
    }

    .system__title {
        margin-bottom: min(10px, 1.333vw);
        font-size: min(38px, 5.067vw);
    }

    .system__text {
        margin-bottom: min(36px, 4.8vw);
        font-size: min(25px, 3.333vw);
    }

    .btn {
        padding: min(16px, 2.133vw) min(36px, 4.8vw);
        font-size: min(32px, 4.267vw);
    }

    .btn--video {
        gap: min(87px, 11.6vw);
        width: min(490px, 65.333vw);
    }

    .btn__icon {
        width: min(40px, 5.333vw);
    }

    /* COMING SOON */
    .coming-soon {
        background-image: none;
        background-color: var(--color-accent);
    }

    .coming-soon__text {
        padding: min(34px, 4.533vw) 0 min(320px, 42.667vw);
        font-size: min(54px, 7.2vw);
    }

    .coming-soon__img {
        top: 36%;
        right: 50%;
        width: min(378px, 50.4vw);
    }

    /* PAGE TOP BUTTON */
    .page-top {
        right: 3%;
        bottom: 30vw;
        width: 21.33vw;
    }

    .page-top.is-bottom {
        bottom: 83.5vw;
    }

    /* STICKY BANNER */
    .sticky-banner {
        border-top: 0;
        border-radius: 2.67vw 2.67vw 0 0;
        background: rgba(255, 255, 255, 0);
        box-shadow: none;
    }

    .sticky-banner__inner {
        position: relative;
        flex-wrap: wrap;
        gap: 0;
        height: 28.6667vw;
        padding: 0;
    }

    .sticky-banner__inner::before {
        content: '';
        position: absolute;
        top: 21%;
        left: 0;
        z-index: -1;
        width: 100%;
        height: 20%;
        background: #ffffff;
    }

    .sticky-banner__school {
        position: absolute;
        top: 0.133vw;
        width: 50vw;
        height: 10vw;
        padding: 0;
        background: #D1E5F2;
        border: 0.67vw solid var(--color-dark);
        border-radius: 2.67vw 2.67vw 0 0;
        cursor: pointer;
        transition: background 0.2s, border-color 0.2s;
    }

    .sticky-banner__school--ttc { left: 0; }
    .sticky-banner__school--tta { right: 0; }

    .sticky-banner__school:not(.is-active) {
        width: 51.6vw;
    }

    .sticky-banner__school.is-active {
        z-index: 1;
        background: #fff;
        border-bottom: 0;
    }

    .sticky-banner__logo {
        height: 100%;
        padding-top: 0.6vw;
    }

    .sticky-banner__logo img {
        height: 8vw;
    }

    .sticky-banner__btns {
        display: none;
    }

    .sticky-banner__divider {
        width: 0;
    }

    .sticky-banner__shared-btns {
        position: absolute;
        bottom: 0;
        display: flex;
        gap: 1.867vw;
        width: 100%;
        padding: 3.3vw 2.8vw;
        background: var(--color-white);
        border-left: 0.67vw solid var(--color-dark);
        border-right: 0.67vw solid var(--color-dark);
    }

    .sticky-banner__shared-btns .sticky-banner__btn {
        position: relative;
        display: flex;
        flex: 1;
        align-items: center;
        justify-content: center;
        width: auto;
        padding: 4.133333vw 1.067vw;
        border-radius: 2.667vw;
        font-size: 3.33vw;
        transition: opacity 0.15s ease;
    }

    .sticky-banner__shared-btns .sticky-banner__btn span {
        position: absolute;
        top: 45%;
        right: 8%;
        transform: translateY(-50%);
        font-size: 1.8em;
    }

    .sticky-banner__shared-btns.is-switching .sticky-banner__btn {
        opacity: 0.5;
    }

    /* FOOTER */
    .footer {
        padding: min(50px, 6.667vw) 0;
        font-size: min(18px, 2.4vw);
    }

    .footer__logos {
        gap: 16px;
    }

    .footer__logo-ttc img,
    .footer__logo-tta img {
        height: 28px;
    }

    .footer__badge {
        width: 90px;
    }

    .footer__copy {
        font-size: 1.1rem;
    }
}
