html,

body {
    font-family: "Noto Sans JP", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

img {
    max-width: 100%;
    height: auto;
}

main {
    height: auto;
    padding: 200px 0;
}

.container {
    width: min(1536px, 92%);
    margin: 0 auto;
}

html,
body {
    overflow-x: hidden;
}

/* PCでは改行しない */
.sp-only {
    display: none;
}


/* 通常時（すでにある状態） */
.site__header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #fff;
    z-index: 1000;
    transition: box-shadow .3s ease, height .3s ease;
}

/* タイトルがヘッダー下に隠れないように */
html {
    scroll-behavior: smooth;
    /* ふわっとスクロール */
    scroll-padding-top: 165px;
    /* ヘッダー高さ分（102pxなら110くらい） */
}


/* スクロール後の状態 */
.site__header.is-scrolled {
    box-shadow: 0 4px 16px rgba(0, 0, 0, .1);
    /* ← 影 */
}

/* ヘッダーを少し小さく */
.site__header.is-scrolled .header__inner {
    height: 72px;
    /* ← 元は102px */
    transition: height .3s ease;
}

.header__logo img {
    width: 227px;
}

.header__inner {
    display: flex;
    align-items: center;
    gap: 24px;
    height: 96px;
}

.header__nav {
    flex: 1;
    min-width: 0;
}

.header__menu {
    display: flex;
    justify-content: center;
    gap: 28px;
    list-style: none;
}

.header__menu a {
    text-decoration: none;
    color: #007FC6;
    white-space: nowrap;
    font-size: 16px;
    font-weight: bold;
    margin-right: 0;

}

.header__btn {
    margin-left: auto;
    height: 100%;
    display: flex;
    align-items: center;
    background: #007FC6;
    color: #fff;
    text-decoration: none;
    position: relative;
}

/* 右に伸びる背景 */
.header__btn::after {
    content: "";
    position: absolute;
    top: 0;
    left: calc(100% - 1px);
    /* サブピクセル隙間対策（1pxオーバーラップ） */
    right: -32px;
    height: 100%;
    background: #007FC6;
}


/* 中身を「青エリアの中央」に置く */
.header__btn-inner {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 24px;
    height: 100%;
    white-space: nowrap;
}

/* ハンバーガーメニュー */

/* まずPCでは非表示 */
.spHeader {
    display: none;
}

.spDrawer {
    display: none;
}

/* スマホで表示 */
@media (max-width: 1038px) {

    /* PCメニュー・PC資料請求は消す */
    .header__nav,
    .header__btn {
        display: none;
    }

    /* ヘッダー内コンテナを画面幅いっぱいに（右端ベタ付けの要） */
    .site__header .header__inner.container {
        width: 100%;
        max-width: none;
        padding: 0 0 0 16px;
        /* ← 左だけ16px、右は0のまま */
    }

    /* ロゴ〜右ボタン間のスキマ */
    .header__inner {
        gap: 0;
        height: 72px;
    }

    /* スマホ右上（資料請求＋ハンバーガー） */
    .spHeader {
        display: flex;
        align-items: stretch;
        /* 高さ100%を効かせやすい */
        margin-left: auto;
        height: 100%;
        gap: 0;
        /* 2ボタンの隙間なし */
    }

    /* 2つの四角ボタンをヘッダー高さいっぱいに */
    .spHeader__mail,
    .spHeader__hamburger {
        width: 96px;
        /* 80〜110で調整OK */
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-decoration: none;
    }

    /* 資料請求：青い四角 */
    .spHeader__mail {
        background: #007FC6;
        color: #fff;
        font-size: 10px;
    }

    .spHeader__mail img {
        width: 22px;
        height: auto;
        display: block;
        margin: 0 0 4px;
        filter: brightness(0) invert(1);
    }

    /* メニュー：黒い四角 */
    .spHeader__hamburger {
        background: #333;
        color: #fff;
        border: none;
        cursor: pointer;
        gap: 6px;
    }

    .spHeader__hamburger span {
        width: 22px;
        height: 2px;
        background: #fff;
        display: block;
        transition: .25s;
    }

    .spHeader__hamburger small {
        font-size: 10px;
        line-height: 1;
        margin-top: 2px;
    }


    /* ===== ドロワー ===== */
    .spDrawer {
        display: block;
        position: fixed;
        top: 102px;
        left: 0;
        width: 100%;
        height: calc(100vh - 102px);
        background: #0A77C5;
        transform: translateX(100%);
        transition: .28s ease;
        z-index: 999;
    }

    .spDrawer.is-open {
        transform: translateX(0);
    }

    .spDrawer__list {
        list-style: none;
        margin: 0;
        padding: 0;
    }

    .spDrawer__list li {
        border-bottom: 1px solid rgba(255, 255, 255, .35);
    }

    .spDrawer__list a {
        display: block;
        padding: 16px;
        color: #fff;
        text-decoration: none;
        font-weight: 700;
    }

    .spDrawer__cta {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 16px;
        color: #fff;
        text-decoration: none;
        font-weight: 700;
    }

    .spDrawer__cta img {
        width: 22px;
        height: auto;
    }

    .spOverlay {
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, .35);
        z-index: 998;
    }

    body.no-scroll {
        overflow: hidden;
    }
}


/* HERO全体 */
.hero {
    background: linear-gradient(to bottom right,
            #007FC6 0%,
            #02D1FF 100%);
    color: #fff;
}

/* 2カラム */
.hero__inner {
    width: min(1200px, 92%);
    margin-inline: auto;
    display: flex;
    gap: 50px;
    padding-top: 186px;
    padding-bottom: 90px;
    box-sizing: border-box;
    align-items: center;
    justify-content: center;
}

.hero__left {
    flex: 1;
    min-width: 0;
}

.hero .contact__right {
    width: 400px;
    margin-left: 0;
    flex-shrink: 0;
}

/* 左：テキスト */
.hero__lead {
    font-size: 20px;
    line-height: 1.5;
    color: #fff;
}

.hero__title {
    font-size: clamp(1.5rem, 0.833rem + 2.84vw, 3.5rem);
    line-height: 1.5;
    font-weight: bold;
    margin-bottom: 15px;
}

.hero__desc {
    font-size: clamp(0.875rem, 0.754rem + 0.52vw, 1.25rem);
    line-height: 1.5;
    margin: 0 0 28px;
}

/* 白い丸3つ */
.hero__badges {
    display: flex;
    gap: 18px;
    align-items: center;
    list-style: none;
    padding: 0;
    margin-bottom: 27px;
}

.badge {
    width: clamp(7rem, 5.95rem + 4.48vw, 10.25rem);
    height: clamp(7rem, 5.95rem + 4.48vw, 10.25rem);
    background: #fff;
    color: #0a77c5;
    border-radius: 50%;
    display: grid;
    place-items: center;
    text-align: center;
    padding: 16px;
    box-sizing: border-box;

}

.badge__label {
    font-weight: bold;
    font-size: clamp(1rem, 0.839rem + 0.69vw, 1.5rem);
    margin-top: 10px;
}

.badge__value {
    margin: 6px 0 0;
    font-size: clamp(1.125rem, 0.842rem + 1.21vw, 2rem);
    font-weight: bold;
    position: relative;
    display: inline-block;
    margin-bottom: 10px;
}

.badge__unit {
    font-size: clamp(1.125rem, 1.004rem + 0.52vw, 1.5rem);
    font-weight: 700;
    margin-left: 2px;

}

.badge__note {
    position: absolute;
    right: -1.0em;
    /* ← 右に少し出す */
    bottom: 1.5em;
    /* ← 右下に配置 */
    font-size: 12px;
    color: #333333;
    white-space: nowrap;
}

.hero {
    position: relative;
}

.hero__illust {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 320px;
    /* デザインに合わせて調整 */
}

.hero__note {
    font-size: 12px;
}

.results__ttl {
    color: #333333;
    font-weight: bold;
    margin-top: 80px;
    margin-bottom: 40px;
    text-align: center;
    font-size: clamp(1.25rem, 0.977rem + 1.36vw, 2rem)
}

.results__box {
    text-align: center;
}

.results__illust1 {
    margin-right: 84px;
}

.results__logo-slider {
    overflow: hidden;
    background: #fff;
    padding: 40px 0;
}

.results__logo-slider__track {
    display: flex;
    width: max-content;
    animation: logo-scroll 20s linear infinite;
}

.results__logo-slider__group {
    display: flex;
    align-items: center;
}

.results__logo-slider img {
    width: 248px;
    max-width: none;
    height: 99px;
    max-height: none;
    margin: 0 40px;
    object-fit: contain;
    display: block;
    flex-shrink: 0;
}

.feature {
    overflow: visible;
}

.feature__inner {
    text-align: center;
}

.feature__box-inner {
    display: flex;
    justify-content: center;
    /* 横中央 */
    align-items: center;
    overflow: visible;
    margin-top: 24px;
    margin-bottom: 96px;
}

.feature__img-box {
    background: #F9F9F9;
    border-radius: 12px;
    max-width: 808px;
    position: relative;
    overflow: visible;
    padding: 40px 0;
    width: 100%;
    margin-inline: clamp(17px, 6vw, 108px);
}

.feature__img-flow {
    display: block;
    margin: -60px auto;
    width: 100%;
    height: auto;
    padding-inline: clamp(17px, 6vw, 108px);
    box-sizing: border-box;
}

.feature__ttl-about {
    font-size: clamp(1.5rem, 1.318rem + 0.91vw, 2rem);
    font-weight: bold;
    color: #333333;
    margin-top: 54px;
    margin-bottom: 51px;
    line-height: 1.8;
}


.feature__media {
    height: 120px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.feature__img {
    max-height: 100%;
    max-width: 180px;
    object-fit: contain;
}

.feature__box-ttl {
    font-size: 20px;
    color: #F47500;
    line-height: 1.5;
    font-weight: bold;
    margin-bottom: 18px;
}

.feature__box-txt {
    font-size: 16px;
    color: #333;
    line-height: 1.8;
    text-align: left;
    width: 100%;
    max-width: 416px;
    display: block;
    padding-right: clamp(1.875rem, 1.83rem + 0.23vw, 2rem);
    padding-left: clamp(1.875rem, 1.83rem + 0.23vw, 2rem);
}

.feature__txt-color {
    font-size: clamp(1.5rem, 1.318rem + 0.91vw, 2rem);
    color: #007FC6;
    font-weight: bold;
    line-height: 1.8;
}

.feature__txt {
    font-weight: bold;
    font-size: clamp(1.25rem, 1.159rem + 0.45vw, 1.5rem);
    line-height: 1.8;
}

.feature__boxes {
    display: grid;
    grid-template-columns: repeat(2, 480px);
    gap: 24px;
    padding: 16px;
    justify-content: center;
}

.feature__box {
    border: 1px solid #007FC6;
    min-height: 325px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-bottom: 24px;
}

.cta {
    background-image: url("img/background-4876988_1280\ 1.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    padding: 60px 20px;
    height: 240px;
}

.cta__inner {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

.cta__ttl {
    color: #fff;
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 32px;
}

.form {
    height: 356px;

}

.form__btn {
    width: 320px;
    height: 52px;
    background: #fff;
    color: #007FC6;
    font-size: clamp(1rem, 0.909rem + 0.45vw, 1.25rem);
    font-weight: bold;
    padding: 14px 32px;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    cursor: pointer;
    transition: transform .15s ease, opacity .15s ease;
}

.case__title {
    color: #222222;
    font-size: clamp(1.5rem, 1.318rem + 0.91vw, 2rem);
    font-weight: bold;
    margin-top: 96px;
    margin-bottom: 73px;
    text-align: center;
    margin-right: auto;
    margin-left: auto;
}

/* ====== slider area ====== */

:root {
    --case-card-w: 405px;
    --case-card-h: 488px;
    --case-gap: 28px;
    /* --case-side: 150px; */
    --shadow-pad: 15px;
    /* 影の逃げ */
}

.case {
    background-color: #fff;
    margin-bottom: 50px;
}

.case__inner {
    max-width: 1200px;
    margin: 0 auto;
}

.case__SwiperClip {
    width: min(calc((var(--case-card-w) * 2) + var(--case-gap) + 100px), 100%);
    margin: 0 auto;
    overflow: visible;
}

.caseSwiper {
    padding: var(--shadow-pad);
    margin: calc(var(--shadow-pad) * -0.8);
    overflow: hidden;
}

.case__nav--prev {
    left: 18px;
}

.case__nav--next {
    right: 18px;
}



.case__sliderWrap {
    position: relative;
    padding: 10px 50px;
    /* 左右の丸ボタンのための余白 */
    overflow: visible;
}

.caseSwiper .swiper-slide {
    height: auto;
    box-sizing: border-box;
}

.caseCard {
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    padding: 28px 26px 20px;
    background: #fff;
    border-radius: 30px 0 30px 0;
    box-shadow: 0px 5px 8px 3px rgba(51, 51, 51, 0.25);
    display: flex;
    flex-direction: column;
}

.caseCard__lead {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.8;
}

.caseCard__accent {
    color: #007FC6;
}

.caseCard__text {
    font-size: 12.5px;
    line-height: 2.0;
    color: #333;
    margin-top: auto;
}

.caseCard__footer {
    margin-top: auto;
    padding-top: 10px;
    display: flex;
    gap: 10px;
}

.caseCard__logo {
    width: auto;
    height: auto;
}

/* ====== nav buttons (blue circles) ====== */
.case__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 34px;
    height: 34px;
    border: none;
    border-radius: 50%;
    background: #1a73e8;
    cursor: pointer;
    z-index: 20;
}

.case__nav--prev {
    left: 10px;
}

.case__nav--next {
    right: 0px;
}



/* 矢印（擬似要素で白い三角を作る） */
.case__nav::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 9px;
    height: 9px;
    border-right: 3px solid #fff;
    border-bottom: 3px solid #fff;
    transform-origin: center;
}

.case__nav--prev::before {
    transform: translate(-35%, -50%) rotate(135deg);
}

.case__nav--next::before {
    transform: translate(-65%, -50%) rotate(-45deg);
}

@media (max-width: 967px) {
    .case__SwiperClip {
        width: 100%;
    }

    .case__sliderWrap {
        width: 100%;
        max-width: 450px;
        margin-inline: auto;
        padding: 8px 24px;
        box-sizing: border-box;
    }

    .caseSwiper .swiper-slide {
        width: 100%;
        min-width: 0;
        max-width: none;
        height: auto;
    }

    .caseCard {
        width: 100%;
        min-height: 488px;
    }
}

@media (max-width: 768px) {
    .case__SwiperClip {
        width: 100%;
        height: 471px;
        overflow: hidden;
        padding: 0 20px;
    }

    .case__sliderWrap {
        padding: 0 20px;
    }

    .caseSwiper .swiper-slide {
        width: 100%;
    }

    .caseCard {
        width: 100%;
        min-height: auto;
        padding: 24px 20px 20px;
    }

    .caseCard__lead {
        font-size: 20px;
        line-height: 1.6;
    }

    .caseCard__text {
        font-size: 14px;
        line-height: 1.8;
    }

    .case__nav--prev {
        left: 0;
    }

    .case__nav--next {
        right: 0;
    }

}

.price {
    padding: 64px 16px;
    background: #F9F9F9;
}

.price__inner {
    max-width: 980px;
    margin: 0 auto;
}

.price__ttl {
    text-align: center;
    font-size: clamp(1.5rem, 1.318rem + 0.91vw, 2rem);
    font-weight: 700;
    letter-spacing: .02em;
    margin-bottom: 69px;
    color: #222;
}

/* 3つのカード */
.price__cards {
    display: flex;
    justify-content: center;
    gap: 18px;
    list-style: none;
    padding: 0;
    margin: 0 auto 18px;
}

.price__card {
    min-height: clamp(140px, 22vw, 277px);
    width: clamp(96px, 28vw, 296px);
    background: #fff;
    border: 1px solid #e6e6e6;
    border-top: clamp(6px, 1vw, 10px) solid #007FC6;
    border-radius: 5px;
    box-shadow: 0 4px 4px rgba(51, 51, 51, 0.25);

    display: flex;
    flex-direction: column;
    align-items: center;

    text-align: center;
    padding: 18px 16px 22px;
}


.price__label {
    margin-top: clamp(10px, 2.2vw, 28px);
    font-size: clamp(12px, 3vw, 24px);
    font-weight: bold;
    color: #333;
}

.price__value {
    margin-top: auto;
    margin-bottom: auto;
    color: #0a77c5;
    line-height: 1;
}


.price__num {
    font-size: clamp(34px, 10vw, 96px);
    line-height: 1;
    color: #007FC6;
    font-weight: bold;
    letter-spacing: .01em;
}

.price__unit {
    font-size: clamp(14px, 3.8vw, 32px);
    color: #000;
    font-weight: 700;
    margin-left: 6px;
    vertical-align: baseline;
}

/* 注意書き */
.price__notes {
    max-width: 820px;
    margin: 14px auto 0;
    padding-left: 18px;
    color: #666;
    font-size: 12px;
    line-height: 1.7;
}

.faq {
    padding: 80px 0;
    background: #F9F9F9;
}

.faq__inner {
    margin-top: 60px;
}

.faq__ttl {
    text-align: center;
    font-size: clamp(1.5rem, 1.318rem + 0.91vw, 2rem);
    font-weight: 700;
    margin-bottom: 70px;
    color: #333333;
}

.faq__list {
    display: grid;
    gap: 24px;
    max-width: 1024px;
    width: 100%;
    margin: 0 auto;
}

/* 1アイテム */
.faq__item {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
}

/* 質問ボタン */
.faq__btn {
    width: 100%;
    display: grid;
    grid-template-columns: 44px 1fr 32px;
    align-items: center;
    gap: 14px;
    padding: 18px 20px;
    background: #fff;
    color: #222;
    cursor: pointer;
    border: none;
    text-align: left;
    position: relative;
    z-index: 1;
}

.faq__qicon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #0a77c5;
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 32px;
    font-family: "Goldman", sans-serif;
}

.faq__qtext {
    font-size: 16px;
    font-weight: 700;
    color: #333;
}

/* 右の + / - */
.faq__toggle {
    position: relative;
    width: 32px;
    height: 32px;
    justify-self: end;
    pointer-events: none;
}

.faq__toggle::before,
.faq__toggle::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: clamp(1rem, 0.677rem + 1.38vw, 2rem);
    height: 2px;
    background: #333;
    transform: translate(-50%, -50%);
    border-radius: 2px;
}

.faq__toggle::after {
    transform: translate(-50%, -50%) rotate(90deg);
    /* + の縦棒 */
}

/* 回答パネル */
.faq__panel {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.25s ease;
    background: #fff;
}

.faq__panel-inner {
    overflow: hidden;
    padding: 0 20px;
}

.faq__panel-txt {
    color: #333;
    line-height: 1.5;
    font-size: 16px;
}

.faq__panel-list-item {
    color: #333;
    line-height: 1.5;
    font-size: 16px;
}

/* 開いた時 */
.faq__item.is-open .faq__btn {
    background: #007FC6;
    color: #fff;
}

/* ★ 開いたときのQアイコンの色を反転 ★ */
.faq__item.is-open .faq__qicon {
    background: #fff;
    color: #007FC6;
}

.faq__item.is-open .faq__qtext {
    color: #fff;
}

.faq__item.is-open .faq__toggle::before,
.faq__item.is-open .faq__toggle::after {
    background: #fff;
}

/* - にする（縦棒を消す） */
.faq__item.is-open .faq__toggle::after {
    display: none;
}

.faq__item.is-open .faq__panel {
    grid-template-rows: 1fr;
}

.faq__item.is-open .faq__panel-inner {
    padding: 16px 20px 20px;
    background: #fff;
}

.faq__panel-list {
    list-style: decimal;
    /* ←番号を出す */
    padding-left: 1.4em;
    /* ←番号分の余白 */
    margin: 12px 0;
}

.faq__panel-list li {
    margin-bottom: 8px;
    line-height: 1.7;
    color: #000;
}

/* ===== contact section ===== */
.contact {
    padding: 72px 16px;
    color: #fff;
    background: linear-gradient(to bottom right,
            #007FC6 0%,
            #02D1FF 100%);
}

.contact__inner {
    max-width: 1100px;
    margin: 0 auto;
}

.contact__ttl {
    text-align: center;
    font-size: clamp(22px, 2.2vw, 32px);
    font-weight: 700;
    letter-spacing: .02em;
    margin-bottom: 40px;
}

/* 2カラム */
.contact__boxes {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 40px;
    align-items: start;
}

.contact__desc {
    font-size: 14px;
    line-height: 1.8;
    opacity: .95;
    margin: 0 0 28px;
    max-width: 520px;
}

.contact__img {
    width: min(520px, 100%);
    height: auto;
    display: block;
    margin-top: 8px;
    filter: drop-shadow(0 12px 24px rgba(0, 0, 0, .25));
}

.contact__right {
    display: flex;
    justify-content: flex-end;
    height: 586px;
}

/* ===== form card ===== */
.form-wrapper {
    max-width: 400px;
    position: relative;
    background: #fff;
    color: #222;
    border-radius: 10px;
    padding: 8px 8px 8px;
    display: flex;
    flex-direction: column;
}

.form-wrapper form {
    display: flex;
    flex-direction: column;
    flex: 1;
}

/* 上の吹き出し（青ラベル） */

.form-area-top {
    position: relative;
    width: 100%;
    max-width: 384px;
    margin-inline: auto;
    flex-shrink: 0;
    background: #007FC6;
    padding: 30px 24px 20px;
    border-radius: 5px;
    align-items: center;
    justify-content: center;
}

.form-title {
    position: absolute;
    top: 11px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-size: clamp(1rem, 0.879rem + 0.39vw, 1.25rem);
    font-weight: 700;
    white-space: nowrap;

    /* 念のため */
    overflow: visible;
}

.form-area-top::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 100%;
    /* ★ 下辺ピッタリに固定 */
    transform: translateX(-50%);
    width: 0;
    height: 0;

    border: 7px solid transparent;
    /* 三角の大きさ */
    border-top-color: #0a77c5;
    /* ★ 上だけ色＝下向き三角になる */
}


/* フォームは2カラム＋全幅 */
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.box {
    display: grid;
    gap: 2px;
}

.box label {
    font-size: 14px;
    font-weight: 700;
    color: #333;
}

.form-grid .box {
    margin-top: 24px;
    margin-left: 8px;
    margin-right: 8px;
}

/* 全幅指定 */
.box.is-full {
    grid-column: 1 / -1;
}

.box input {
    width: 100%;
    height: 42px;
    border: 1px solid #d7dde3;
    border-radius: 4px;
    padding: 0 12px;
    font-size: 14px;
    background: #f7fafc;
    outline: none;
}

.box input:focus {
    border-color: #0a77c5;
    box-shadow: 0 0 0 3px rgba(10, 119, 197, .15);
    background: #fff;
}

.form-note {
    font-size: 14px;
    line-height: 1.6;
    color: #333333;
    margin: 14px 24px 16px;
}

/* 送信ボタン（丸い青ボタン） */
.submit-btn {
    width: clamp(15.375rem, 13.273rem + 8.97vw, 20rem);
    height: 52px;
    text-align: center;
    border: none;
    border-radius: 999px;
    background: #007FC6;
    color: #fff;
    font-size: clamp(1rem, 0.886rem + 0.48vw, 1.25rem);
    font-weight: 700;
    cursor: pointer;
    transition: transform .15s ease, opacity .15s ease;
    display: block;
    margin: auto auto 28px;
}

/* ボタンをふわっと */
.submit-btn:hover {
    opacity: .92;
    transform: translateY(-1px);
}

/* メッセージ*/
.end-message,
.false-message {
    display: none;
    text-align: center;
    margin-top: 14px;
    font-size: 14px;
}

footer {
    text-align: center;
}

.footer__logo {
    display: block;
    margin-right: auto;
    margin-left: auto;
    padding-top: 26px;
}

.footer__copyright {
    display: block;
    margin: 0 auto;
    padding-top: 30px;
    padding-bottom: 18px;
    color: #333333;
    font-size: 12px;
}

/* ふわっと */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: 0.8s ease;
}

.fade-up.is-active {
    opacity: 1;
    transform: translateY(0);
}


/* =====================================================
Utilities / Base
===================================================== */

/* 必須入力項目 */
.required::after {
    content: " *";
    color: #e63946;
    font-weight: 700;
    font-size: 0.9em;
}

.end-message,
.false-message {
    display: none;
}

@keyframes logo-scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}


@media (min-width: 1024px) {
    .site__header .header__inner.container {
        width: 100%;
        margin: 0;
        max-width: none;
        padding: 0 32px;
    }

    .header__logo img {
        display: block;
    }

    .header__btn {
        margin-left: auto;
    }
}


/* ---------------------------------
    1164px以下：Heroを縦積み
--------------------------------- */
@media (max-width: 1164px) {
    .hero {
        padding-top: 140px;
        padding-bottom: 80px;
    }

    .hero__inner {
        flex-direction: column;
        align-items: stretch;
        gap: 32px;
        padding-top: 40px;
    }

    /* 左カラム */
    .hero__left {
        text-align: center;
    }

    .hero__badges {
        justify-content: center;
    }

    .hero__illust {
        position: static;
        transform: none;
        display: block;
        width: min(320px, 80%);
        margin: 8px auto 0;
        order: 2;
    }

    /* 右カラム（フォーム）：中央寄せ＆下へ */
    .hero .contact__right {
        width: 100%;
        max-width: 400px;
        /* お好みで */
        margin: 0 auto;
        order: 3;
    }
}

/* ---------------------------------
1038px以下：contact等を1カラム化
--------------------------------- */
@media (max-width: 1038px) {
    .contact__boxes {
        grid-template-columns: 1fr;
    }

    .contact__left,
    .form-wrapper {
        margin-left: auto;
        margin-right: auto;
    }


    .results__box {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }

    .results__illust1,
    .results__illust2 {
        width: 280px;
        max-width: 100%;
        height: auto;
        margin: 0;
        display: block;
    }

    .feature__boxes {
        grid-template-columns: 1fr;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .feature__box {
        max-width: 500px;
        width: 100%;
    }
}


/* ---------------------------------
   768px以下
--------------------------------- */
@media (max-width: 768px) {

    .fade-up {
        opacity: 1;
        transform: none;
    }

    .hero {
        padding: 64px 0;
        /* まずベースに戻す */
        padding-top: 96px;
        /* ヘッダー高さに合わせて調整 */
        padding-bottom: 80px;
        /* 下も詰める */
    }

    .hero__inner {
        flex-direction: column;
        /* 縦積み */
        gap: 24px;
        /* スマホは間隔を小さく */
        padding: 0 16px;
        /* 画面端に寄りすぎないように */
        width: 100%;
        box-sizing: border-box;
    }

    .hero__lead {
        font-size: 14px;
    }

    .hero__badges {
        width: 100%;
        justify-content: center;
        gap: 4px;
        margin-bottom: 24px;
    }

    .hero__badges .badge:nth-child(2) .badge__value {
        font-size: clamp(14px, 3.6vw, 22px);
    }

    .hero__badges .badge:nth-child(1) .badge__value {
        font-size: clamp(14px, 3.6vw, 22px);
    }

    .badge {
        box-sizing: border-box;
        width: clamp(88px, 28vw, 120px);
        aspect-ratio: 1 / 1;
        height: auto;
        padding: 10px;
    }

    .badge__unit {
        font-size: 0.75em;
        /* 数字に連動して縮む */
    }

    .badge__note {
        font-size: 10px;
        right: -0.8em;
        bottom: 1.4em;
    }

    .sp-only {
        display: inline;
    }

    .case__nav--prev {
        left: -2px;
    }

    .case__nav--next {
        right: -2px;
    }

    .results__logo-slider__track {
        animation: none;
        overflow-x: auto;

    }

    /* 複製グループ（2セット目）を消す（スマホは不要） */
    .results__logo-slider__group:nth-of-type(2) {
        display: none;
    }

    /* 1セット目のうち、3枚目以降のロゴを消す → 2枚固定 */
    .results__logo-slider__group:nth-of-type(1) img:nth-of-type(n + 3) {
        display: none;
    }

    /* “2枚がピッタリ並ぶ”ように箱を作る */
    .results__logo-slider__track {
        width: 100%;
        animation: none;
    }

    .results__logo-slider__group {
        width: 100%;
        justify-content: center;
    }

    /* ④ロゴを大きく＆間を詰める */
    .results__logo-slider__group:nth-of-type(1) img {
        width: calc(50% - 12px);
        max-width: 240px;
        height: 56px;
        margin: 0 6px;
        object-fit: contain;
        display: block;
    }

    .results__logo-slider img {
        margin: 0;
    }

    .price__cards {
        grid-template-columns: repeat(3, minmax(90px, 1fr));
        gap: 10px;
    }

    .price__card {
        max-width: 180px;
        padding: 8px 8px;
    }

    .price__card h3 {
        font-size: 14px;
    }
}


/* ---------------------------------
   600px以下：faq 微調整
--------------------------------- */
@media (max-width: 600px) {
    .faq {
        padding: 56px 0;
    }

    .faq__btn {
        padding: 16px;
        grid-template-columns: 40px 1fr 24px;
    }

    .faq__qicon {
        width: 32px;
        height: 32px;
        font-size: 16px;
    }

    .faq__qtext {
        font-size: 14px;
        line-height: 1.3;
    }

}

/* ---------------------------------
   480px以下：
--------------------------------- */
@media (max-width: 480px) {
    .header__logo img {
        width: 139px;
    }

    .site__header {
        height: 64px;
    }

    .header__inner {
        height: 64px;
    }

    /* 右側2ボタンを細くする */
    .spHeader__mail,
    .spHeader__hamburger {
        width: 72px;
        height: 100%;
    }

    /* 資料請求アイコンを小さく */
    .spHeader__mail img {
        width: 18px;
        /* ← 22px → 18px */
        margin-bottom: 2px;
    }

    /* 文字を小さく */
    .spHeader__mail span,
    .spHeader__hamburger small {
        font-size: 9px;
        /* ← 10px → 9px */
    }

    /* ハンバーガーの線も少し短く */
    .spHeader__hamburger span {
        width: 18px;
        /* ← 22px → 18px */
    }
    .caseCard__text{
        margin-top: 24px;
    }

    .caseCard__footer {
    margin-top: 10px;
    padding-top: 10px;
    display: flex;
    gap: 10px;
    }
    .caseCard__lead{
        font-size: 18px;
    }
}

/* =====================================================
    Header nav alignment (base)
===================================================== */
.header__nav {
    flex: 1;
}

.header__menu {
    justify-content: center;
    gap: 24px;
}