/* ==================================================
   Base / Reset / Common
================================================== */

* {
    box-sizing: border-box;
}



body {
    margin: 0;
    font-family: "Hiragino Kaku Gothic ProN", "Noto Sans JP", Arial, sans-serif;
    line-height: 1.7;
    color: #222;
    background-color: #fff;
    overflow-x: hidden;
}

a {
    cursor: pointer !important;
}

body.no-scroll {
    overflow: hidden;
}

main {
    overflow-x: hidden;
}

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

a {
    color: inherit;
    text-decoration: none;
}

ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

p {
    margin: 0 0 1.2em;
}

.section-title {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    text-align: center;
    font-weight: 700;
}

/* ==========================
   Header Base
========================== */
.fv-wrapper {
    position: relative;
}

.site-header {
    width: 100%;
    background: #fff;
    border-bottom: 1px solid #e5e5e5;
    font-family: "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
}

/* 上段 */
.header-inner {
    max-width: 980px;
    margin: 0 auto;
    padding: 12px 20px;
    padding-right: 38px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

/* ==========================
   Logo
========================== */
.header-logo-area {
    display: flex;
    align-items: center;
    gap: 1px;
}

.header-logo img {
    display: block;
    width: 124px;
    height: auto;
}

.header-title img {
    display: block;
    width: 396px;
    height: auto;
}

/* ==========================
   Action Buttons
========================== */
.header-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.header-actions .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 14px;
    width: 177px;
    height: 40px;
    font-size: 14px;
    text-decoration: none;
    white-space: nowrap;
    border-radius: 4px;
    transition: background-color .2s ease, color .2s ease;
    border-radius: 20px;
    line-height: normal;
}

.header-actions-buttons .btn {
    box-shadow: 0 3px 0px 0 rgba(255, 140, 98, 0.5);
}

/* TEL */
.header-actions .btn.btn-tel {
    border: 3px solid #FFD45A;
    background: #fff;
    width: 100%;
    border-radius: 0;
    color: #FF8C62;
    font-size: 20px;
    letter-spacing: 0.08em;
    font-weight: 700;
}

.btn-tel:hover {
    background: #f5f5f5;
}

.header-actions-buttons {
    display: flex;
    align-items: center;
    gap: 7px;
}

/* 体験申込・資料請求 */
.btn-entry {
    background: #FF8C62;
    color: #fff;
    transition: opacity 0.3s ease;
}

.btn-entry:hover {
    opacity: 0.8;
}

/* 面談申込 */
.btn-interview {
    background: #FF8C62;
    color: #fff;
    transition: opacity 0.3s ease;
}

.btn-interview:hover {
    opacity: 0.8;
}

/* ==========================
   Global Navigation
========================== */
.global-nav {
    background: #FF8C62;
    border-top: 1px solid #e5e5e5;
    border-bottom: 1px solid #000;
    padding: 0 0px;
}

.global-nav ul {
    margin: 0 auto;
    padding: 0 0px;
    display: flex;
    justify-content: space-between;
    gap: 0px;
    list-style: none;
}

.global-nav li {
    width: calc(100% / 8);
}

.global-nav li a {
    display: block;
    padding: 3px 0;
    font-size: 15px;
    color: #fff;
    text-decoration: none;
    position: relative;
    font-family: "Zen Maru Gothic", sans-serif;
    width: 100%;
    text-align: center;
    transition: all 0.3s ease;
}

.global-nav li a:hover {
    background: #fff;
    color: #FF8C62;
}

.header_nav_sp {
    display: none;
}

.global-nav-sp {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80vw;
    max-width: 430px;
    height: 100vh;
    background: #fff;
    transition: right 0.3s ease;
    z-index: 10;
    padding: 40px;
    padding-top: 100px;
    font-size: 16px;
    font-family: "Zen Maru Gothic", sans-serif;
    color: #FD763F;
}

/* ==========================
   Responsive
========================== */
@media (max-width: 1024px) {
    .header-title {
        /* display: none; */
    }
}

@media (max-width: 900px) {
    .global-nav {
        display: none;
    }

    .header_nav_sp {
        display: flex;
        flex-direction: column;
        gap: 8px;
        position: relative;
        z-index: 20;
        width: fit-content;
        margin: 20px 20px 0 auto;
    }

    .header_nav_sp>div {
        height: 2px;
        width: 32px;
        background: #000;
        transition: transform 0.3s ease;
    }

    .no-scroll .header_nav_sp>div:nth-child(1) {
        transform: rotate(45deg) translateY(10px) translateX(4px);
        transform-origin: center;
    }

    .no-scroll .header_nav_sp>div:nth-child(2) {
        transform: scale(0);
        transform-origin: center;
        transition: transform 0.3s ease;
    }

    .no-scroll .header_nav_sp>div:nth-child(3) {
        transform: rotate(-45deg) translateY(-10px) translateX(4px);
        transform-origin: center;
    }

    .global-nav-sp.is-open {
        right: 0;
    }

    .global-nav-sp .header_menu {
        flex-direction: column;
        display: flex;
        gap: 24px;
        list-style: none;
    }

    .global-nav-sp .header_menu li {
        position: relative;
    }

    .global-nav-sp .header_menu a {
        font-size: 20px;
        width: 100%;
        display: block;
    }
}

@media (max-width: 768px) {
    .header-inner {
        flex-wrap: wrap;
        justify-content: center;
        padding: 30px 25px;
        gap: 9px;
    }

    .header-actions .btn.btn-tel {
        padding: 29px 14px;
    }

    .header-actions {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        gap: 15px;
    }

    .global-nav ul {
        flex-wrap: wrap;
        gap: 16px;
    }

    .header-actions-buttons {
        flex-direction: column;
        width: 100%;
        gap: 10px;
    }

    .header-actions .btn {
        width: 100%;
    }

    .header-actions-buttons .btn {
        padding: 27px 14px;
        border-radius: 30px;
    }


    header .box-sub .box-sub-item:nth-of-type(1) a {
        position: relative;
        top: -12px;
    }

}

/* =========================
   Hero (First View)
========================= */

/* =========================
   Hero（Wixと完全同調）
========================= */

.hero {
    /* 背景色・文字色は一切指定しない */
    background: url(../images/fv.jpg) no-repeat center center / cover;
    background-attachment: fixed;
    position: relative;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
}

.hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 98px 20px;
    display: grid;
    gap: 40px;
    align-items: center;
    position: relative;
    z-index: 1;
    color: #554412;
}

/* ===== Text ===== */

.hero-content {
    text-align: center;
    font-family: "Zen Old Mincho", serif;
}

.hero-lead {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 16px;
}

.hero-line {
    display: block;
    width: 372px;
    height: 2px;
    background: currentColor;
    /* ← これが重要 */
    margin: 0 auto 20px;
}

.hero-logo {
    margin: 0 0 16px;
    font-weight: 700;
    line-height: 1.1;
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 10px;
}

.hero-logo-sub {
    display: block;
    font-size: 35px;
}

.hero-logo-main {
    display: block;
    font-size: 50px;
    letter-spacing: 0.12em;
    color: #FD763F;
}

.hero-course {
    font-size: 20px;
    font-weight: 700;
    font-family: tsukushioldmincho,
        "MS Mincho",
        "ヒラギノ明朝 Pro W3",
        "Hiragino Mincho Pro",
        serif;
}

/* ===== Image ===== */

.hero-media {
    width: 100%;
    aspect-ratio: 980 / 400;
    overflow: hidden;
}

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

/* =========================
   Responsive
========================= */

@media (max-width: 900px) {
    .hero-inner {
        grid-template-columns: 1fr;
        gap: 32px;
        padding: 40px 16px;
    }

    .hero-logo-main {
        font-size: 42px;
    }

    .hero-media {
        aspect-ratio: 16 / 9;
    }

    .hero-line {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .hero-inner {
        padding: 44px 16px;
    }
}


/* =========================
   Feature Links Section
========================= */

.feature-links {
    /* Wixと同じ：色は指定しない */
    padding: 86px 20px 69px;
    font-family: "Yusei Magic", sans-serif;
    background: #FFDE7A;
    color: #554412;
}

.feature-links__inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    gap: 167px;
    justify-content: center;
    align-items: center;
    text-align: center;
}

/* ===== Item ===== */

.feature-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 16px;
    transform: skew(2deg);
}

.feature-button {
    display: inline-flex;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border: 3px solid currentColor;
    margin-bottom: 23px;
    transition: all 0.3s ease;
}

.feature-button:hover {
    color: #FF8C62;
    transform: rotate(30deg);
}

.feature-icon {
    font-size: 28px;
    line-height: 1;
}

.feature-icon svg {
    width: 30px;
    height: auto;
    fill: currentColor;
}

.feature-text {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.6;
    transform: skew(2deg);
}

.feature-text strong {
    font-size: 18px;
}

@media (max-width: 768px) {
    .feature-links {
        padding: 43px 16px 32px;
    }

    .feature-button {
        width: 110px;
        height: 110px;
    }

    .feature-icon svg {
        width: 46px;
    }
}

/* =========================
   Responsive
========================= */

@media (max-width: 900px) {
    .feature-links__inner {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

@media (max-width: 768px) {
    .feature-links__inner {
        flex-direction: column;
        position: relative;
        gap: 46px;
    }

    .feature-item {
        position: relative;
    }

    .feature-item:not(:last-child)::before {
        content: '';
        position: absolute;
        bottom: -10px;
        left: 50%;
        transform: translateX(-50%);
        width: 227px;
        height: 2px;
        background: #000;
    }
}


/* =========================
   Results Heading Section
========================= */

.results-heading {
    /* 背景色・文字色は指定しない（Wix継承） */
    padding: 66px 20px 75px;
    background: #FD763F;
    color: #fff;
}

.results-heading__inner {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

/* ===== Title ===== */

.results-title {
    margin: 0;
    font-size: 40px;
    font-weight: 700;
    line-height: 0.9;
    font-family: tsukushioldmincho,
        "MS Mincho",
        "ヒラギノ明朝 Pro W3",
        "Hiragino Mincho Pro",
        serif;
}

/* ===== Line ===== */

.results-line {
    display: block;
    width: 413px;
    height: 2px;
    background: currentColor;
    margin: 20px auto 0;
}

/* =========================
   Responsive
========================= */

@media (max-width: 768px) {
    .results-heading {
        padding: 24px 16px 22px;
    }

    .results-title {
        font-size: 30px;
        line-height: 1.1;
    }

    .results-line {
        width: 100%;
        display: none;
    }
}

/* ==============================
   医学部医学科 合格実績セクション
   ============================== */

.medical-results {
    background-color: #FFF5F0;
    /* Wix系ベージュ背景 */
    padding: 21px 20px 49px;
}

.medical-results__inner {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

/* サブタイトル */
.results-subtitle {
    font-family: "Zen Old Mincho", serif;
    font-size: 25px;
    line-height: 1.1;
    font-weight: 700;
    color: #A94F2A;
    margin-bottom: 21px;
}

/* 合格率 */
.results-rate {
    font-size: 60px;
    font-weight: 700;
    color: #FF0000;
    font-family: "Zen Old Mincho", serif;
    /* ゴールド系 */
    line-height: 1;
    margin: 10px 0 19px;
}

/* 注釈 */
.results-note {
    font-size: 16px;
    color: #A94F2A;
    margin-top: 10px;
    font-family: "Zen Old Mincho", serif;
    letter-spacing: 0.16em;
    font-weight: bold;
    margin-bottom: 0;
}

.results-note strong {
    font-size: 20px;
}

.results-note-gokaku {
    color: #FF0000;
    font-weight: 700;
}

.results-attention {
    font-size: 14px;
    color: #A94F2A;
    margin-top: 0px;
    font-family: "Zen Old Mincho", serif;
}

/* ボタンエリア */
.results-buttons {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 48px 0 0px;
    flex-wrap: wrap;
}

.results-buttons a {
    display: inline-block;
    padding: 16px 40px;
    border: 1px solid #A94F2A;
    width: 316px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 23px;
    color: #A94F2A;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
    background-color: transparent;
    line-height: normal;
}

.results-buttons a:hover {
    background-color: #A94F2A;
    color: #fff;
}

/* テーブルタイトル */
.results-table-title {
    font-size: 25px;
    font-weight: 700;
    margin: 23px 0 15px;
    color: #A94F2A;
    font-family: "Zen Old Mincho", serif;
}

/* テーブル */
.results-table-wrap {
    overflow-x: auto;
    width: 658px;
    margin: 0 auto;
}

.results-table {
    width: 100%;
    border-collapse: collapse;
    background-color: #fff;
    border: 2px solid #FD763F;
}

.results-table th,
.results-table td {
    border-right: 2px solid #FD763F;
    padding: 3px 10px;
    font-size: 14px;
    text-align: center;
    white-space: nowrap;
    width: 25%;
}

.results-table th {
    background-color: #FD763F;
    color: #fff;
}

/* ==============================
   レスポンシブ
   ============================== */

@media screen and (max-width: 768px) {
    .results-table-wrap {
        width: 100%;
    }

    .results-subtitle {
        font-size: 20px;
        line-height: 1.1;
    }

    .results-rate {
        font-size: 51px;
        margin: 45px auto 18px;
    }

    .results-buttons a {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }

    .medical-results {
        padding: 9px 20px 69px;
    }

    .results-buttons {
        margin-top: 39px;
        gap: 12px;
    }
}

.voice-section {
    background: #ffffff;
    padding: 0px 0;
    display: flex;
    justify-content: space-between;
}

.voice-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 50%;
    background: #FCF8ED;
}

.voice-image img {
    width: 360px;
    height: 400px;
    object-fit: cover;
}

.student1 {
    object-position: left;
}

.voice-content {
    text-align: center;
    font-family: "Tsukushi Old Mincho", "MS Mincho",
        "ヒラギノ明朝 Pro W3", serif;
    margin: auto;
    color: #542715;
}

.voice-label {
    font-size: 16px;
    margin-bottom: 8px;
}

.voice-name {
    font-size: 26px;
    margin-bottom: 8px;
}

.voice-result {
    font-size: 16px;
}

.voice-result span {
    color: #ff0000;
    font-weight: bold;
}

.voice-button {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 28px;
    border: 1px solid #A01F24;
    color: #A01F24;
    text-decoration: none;
    font-size: 14px;
    position: relative;
    width: 244px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.voice-button::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    right: 20px;
    width: 16px;
    height: 16px;
    margin: auto;
    border-radius: 20px;
    border: 1px solid #A01F24;
    transition: all 0.3s ease;
}

.voice-button::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    right: 25px;
    width: 0;
    height: 0;
    margin: auto;
    border-top: 4px solid transparent;
    border-right: 0 solid transparent;
    border-left: 6px solid #A01F24;
    border-bottom: 4px solid transparent;
    transition: all 0.3s ease;
}

.voice-button:hover {
    background: #A01F24;
    color: #fff;
}

.voice-button:hover::before {
    border: 1px solid #fff;
}

.voice-button:hover::after {
    border-left: 6px solid #fff;
}

@media (max-width: 1200px) {
    .voice-section {
        flex-direction: column;
    }

    .voice-inner {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .voice-inner {
        flex-direction: column;
    }

    .voice-image img {
        width: 100%;
        height: auto;
    }

    .voice-content {
        padding: 23px 0;
    }
}

/* ==============================
   セクション見出し（生徒の声）
============================== */

.section-title {
    background: #FD763F;
    padding: 67px 16px 70px;
    text-align: center;
    color: #fff;
    margin-bottom: 0;
}

.section-title__heading {
    margin: 0;
    font-size: 40px;
    line-height: 0.9;
    font-weight: bold;
    letter-spacing: normal;
    color: #fff;

    font-family:
        "Tsukushi Old Mincho",
        "MS Mincho",
        "ヒラギノ明朝 Pro W3",
        "Hiragino Mincho Pro",
        serif;
}

.section-title__line {
    width: 413px;
    height: 2px;
    background-color: #fff;
    margin: 25px auto 0;
}

@media (max-width: 768px) {
    .section-title__line {
        width: 100%;
        display: none;
    }

    .section-title {
        padding: 22px 16px 23px;
    }
}

/* ==============================
   f i t が選ばれる 10の秘訣
============================== */

.fit-reason-title {
    padding: 31px 20px 37px;
    text-align: center;
    background: #FD763F;
    color: #fff;
}

/* 上の小見出し */
.fit-reason-title__sub {
    margin: 0 0 12px;
    font-family: "Tsukushi Old Mincho", "MS Mincho",
        "ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", serif;
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.05em;
}

/* メイン見出し */
.fit-reason-title__main {
    margin: 0;
    font-family: "Tsukushi Old Mincho", "MS Mincho",
        "ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", serif;
    font-size: 40px;
    font-weight: 700;
    line-height: 1;
    color: #fff;
}

/* 「の」だけ小さく */
.fit-reason-title__main span {
    font-size: 30px;
    margin: 0 2px;
}

/* 横線 */
.fit-reason-title__line {
    width: 413px;
    height: 2px;
    background: #fff;
    margin: 20px auto 0;
}

.fit-secret-list {
    background-color: #0f1e33;
    padding: 40px 20px 100px;
}

.fit-secret-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.fit-secret-card {
    position: relative;
    text-align: center;
    color: #ffffff;
}

.fit-secret-card img {
    width: 100%;
    height: 305px;
    object-fit: cover;
    display: block;
}

.fit-secret-num {
    margin: 15px 0 5px;
    font-family: "Cookhand", "MS Gothic", "ヒラギノ角ゴ Pro W3", sans-serif;
    font-size: 26px;
    letter-spacing: 0.05em;
}

.fit-secret-text {
    margin: 0 0 15px;
    font-family: "Cookhand", "MS Gothic", "ヒラギノ角ゴ Pro W3", sans-serif;
    font-size: 26px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.05em;
}

.fit-secret-more {
    display: inline-block;
    padding: 6px 24px;
    border: 1px solid #ffffff;
    color: #ffffff;
    font-size: 14px;
    text-decoration: none;
}

.fit-secret-more:hover {
    background-color: #ffffff;
    color: #0f1e33;
}

/* レスポンシブ */
@media (max-width: 1024px) {
    .fit-secret-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .fit-reason-title__line {
        width: 100%;
        display: none;
    }

    .fit-reason-title {
        padding: 22px 16px 11px;
    }
}

@media (max-width: 600px) {
    .fit-secret-grid {
        grid-template-columns: 1fr;
    }
}

/* ======================
   10の秘訣 セクション
   ====================== */

/* 全体 */
.fit-secret-list {
    background-color: #0f1e33;
    /* 実ページ準拠 */
    padding: 0;
}

/* 10タイル グリッド */
.fit-secret-grid {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    gap: 0;
    max-width: unset;
    justify-content: space-between;
}

/* 個別カード */
.fit-secret-card {
    text-align: center;
    color: #fff;
    width: 20%;
    position: relative;
    height: 304px;
}

.fit-secret-card:nth-child(even)::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 200, 36, 0.4);
}

.fit-secret-card:nth-child(odd)::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(253, 118, 63, 0.4);
}

/* 画像 */
.fit-secret-card img {
    width: 100%;
    height: 305px;
    object-fit: cover;
    display: block;
    margin-bottom: 16px;
}

/* 番号 */
.fit-secret-num {
    font-family: "Yusei Magic", sans-serif;
    font-size: 26px;
    letter-spacing: .05em;
    margin: 0;
    color: #ffffff;
    position: absolute;
    top: 18%;
    left: 50%;
    transform: translate(-50%, 0%);
    z-index: 1;
}

/* タイトル */
.fit-secret-text {
    font-family: "Yusei Magic", sans-serif;
    font-size: 26px;
    font-weight: normal;
    line-height: 1.2em;
    margin: 8px 0;
    color: #fff;
    position: absolute;
    top: 35%;
    left: 0%;
    transform: translate(-50%, 0%);
    z-index: 1;
    width: 100%;
}

/* More ボタン */
.fit-secret-more {
    font-family: "Yusei Magic", sans-serif;
    display: inline-block;
    font-size: 14px;
    padding: 8px 26px;
    border: 2px solid #fff;
    text-decoration: none;
    color: #fff;
    transition: 0.2s ease;
    position: absolute;
    bottom: 21%;
    left: 50%;
    transform: translate(-50%, 0%);
    z-index: 1;
    width: 137px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.fit-secret-more:hover {
    background-color: #fff;
    color: #FD763F;
    border: 2px solid #FD763F;
}

/* レスポンシブ */
@media (max-width: 1024px) {
    .fit-secret-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .fit-secret-card {
        width: 50%;
    }
}

@media (max-width: 768px) {
    .fit-secret-grid {
        grid-template-columns: 1fr;
    }

    .fit-secret-card {
        width: 100%;
        height: 235px;
    }

    .fit-secret-more {
        bottom: 15%;
        width: 203px;
    }

    .fit-secret-text {
        font-size: 21px;
    }

    .fit-secret-card img {
        height: 100%;
    }
}

.fit-secret-buttons {
    display: flex;
    justify-content: center;
    gap: 47px;
    padding: 53px 0;
}

.fit-btn {
    border: 1.5px solid #FD763F;
    box-sizing: border-box;
    padding: 1px;
}

.fit-btn:hover {
    border: 1.5px solid #FD763F;
    color: #fff;
}

.fit-btn-border {
    color: #fff;
    padding: 16px 36px;
    font-size: 17px;
    text-decoration: none;
    transition: .3s;
    background: #FD763F;
    font-family: "Zen Old Mincho", serif;
    height: 38px;
    width: 407px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.fit-btn:hover .fit-btn-border {
    border: 1.5px solid #FD763F;
    color: #FD763F;
    background: #fff;
}

.fit-footer {
    background: #FD763F;
    color: #fff;
    padding: 22px 20px 50px;
}

.fit-footer-inner {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.fit-footer-info {
    display: flex;
    justify-content: center;
    align-items: self-start;
    gap: 47px;
}

.fit-footer-block {
    margin-bottom: 0px;
}

.fit-footer-block h6 {
    font-size: 15px;
    font-family: メイリオ, meiryo, ヒラギノ角ゴ Pro W3, Hiragino Kaku Gothic Pro, sans-serif;
    font-weight: normal;
    margin-bottom: 6px;
    margin-top: 0;
}

.fit-footer-block p {
    font-size: 14px;
    margin: 4px 0;
}

.fit-footer-block a {
    color: #fff;
    text-decoration: underline;
}

/* SNS */
.fit-footer-sns {
    display: flex;
    justify-content: center;
    gap: 7px;
    list-style: none;
    padding: 0;
    margin-top: 3px;
}

.fit-footer-sns img {
    width: 26px;
    height: 26px;
    object-fit: cover;
}

@media (max-width: 1024px) {
    .fit-secret-buttons {
        flex-direction: column;
    }

    .fit-btn {
        width: fit-content;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .fit-btn {
        width: 100%;
    }

    .fit-secret-buttons {
        padding: 18px 28px;
        gap: 19px;
    }

    .fit-btn-border {
        width: 100%;
        font-size: 14px;
    }

    .fit-footer-block.grid-item1 {
        grid-area: item1;
    }

    .fit-footer-block.grid-item2 {
        grid-area: item2;
    }

    .fit-footer-block.grid-item3 {
        grid-area: item3;
    }

    .fit-footer-info {
        display: grid;
        grid-template-areas:
            "item1 item3"
            "item2 item2";
        gap: 6px 33px;
        margin-bottom: 20px;
    }

    .fit-footer-sns img {
        width: 35px;
        height: 35px;
    }

    .fit-btn-border {
        height: 58px;
    }

    .fit-footer {
        padding: 44px 16px 50px;
    }
}

[data-anim] {
    opacity: 0;
    transition: opacity 2s ease, transform 2s ease, background-color 0.3s ease, color 0.3s ease, border 0.3s ease, border-left 0.3s ease, border-right 0.3s ease, border-top 0.3s ease, border-bottom 0.3s ease, border-radius 0.3s ease;
}

.is-show {
    opacity: 1;
}

[data-anim="fade-up"] {
    opacity: 0;
}

[data-anim="fade-up"].is-show {
    opacity: 1;
}

[data-anim="fade-in"] {
    opacity: 0;
}

[data-anim="fade-in"].is-show {
    opacity: 1;
}

[data-anim="slide-left"] {
    transform: translateX(25%);
}

[data-anim="slide-left"].is-show {
    transform: translateX(0);
}

[data-anim="slide-right"] {
    transform: translateX(-25%);
}

[data-anim="slide-right"].is-show {
    transform: translateX(0);
}

[data-anim="slide-top"] {
    transform: translateY(25%);
}

[data-anim="slide-top"].is-show {
    transform: translateY(0);
}

/* ==============================
   ポップアップ
============================== */

.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url(../images/popup_bg.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.popup-overlay.is-active {
    opacity: 1;
    visibility: visible;
}

.popup-overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.3);
}

.popup-content {
    background-color: #fff;
    max-width: 977px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    padding: 0;
    position: relative;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease 0.1s, transform 0.3s ease 0.1s;
}

.popup-content.is-active {
    opacity: 1;
    transform: translateY(0);
}

.popup-inner {
    display: flex;
    gap: 0;
    padding: 40px;
}

.popup-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding-right: 40px;
}

.popup-num {
    font-size: 40px;
    letter-spacing: .05em;
    margin: 0 0 15px;
    color: #554412;
    text-align: center;
    position: relative;
    font-family: "Tsukushi Old Mincho", "MS Mincho", "ヒラギノ明朝 Pro W3", serif;
}

.popup-num::before {
    content: '';
    position: absolute;
    bottom: 0px;
    left: 50%;
    transform: translateX(-50%);
    width: 72px;
    height: 1px;
    background-color: #554412;
}

.popup-title {
    font-size: 30px;
    font-weight: normal;
    line-height: 1.2em;
    margin: 0 0 20px;
    color: #554412;
    text-align: center;
    font-family: "Tsukushi Old Mincho", "MS Mincho", "ヒラギノ明朝 Pro W3", serif;
}

.popup-body {
    font-size: 16px;
    line-height: 1.8;
    color: #2a2a2a;
    font-family: "Yusei Magic", sans-serif;
}

.popup-right {
    flex: 1;
    min-width: 0;
    height: auto;
}

.popup-right img {
    width: 100%;
    height: 100%;
    aspect-ratio: 1/1;

    object-fit: cover;
    display: block;
}

@media (max-width: 1000px) {
    .popup-content {
        width: 95%;
        max-height: 85vh;
    }

    .popup-inner {
        flex-direction: column;
    }

    .popup-left {
        padding-bottom: 20px;
    }

    .popup-num {
        font-size: 32px;
    }

    .popup-title {
        font-size: 21px;
    }

    .popup-body {
        font-size: 14px;
    }

    .popup-right {
        width: 100%;
        height: 300px;
    }

    .popup-right img {
        height: 300px;
        width: 300px;
        object-fit: cover;
        display: block;
        margin: 0 auto;
    }
}