/* =========================
   タブレット
   1024px以下
========================= */

@media screen and (max-width: 1024px) {

    /* 共通レイアウト */

    .content-width {
        width: min(100% - 40px, 900px);
    }

    .content-width.narrow {
        width: min(100% - 40px, 760px);
    }

    .section-space {
        padding-top: 80px;
        padding-bottom: 80px;
    }


    /* ヘッダー */

    .header-inner {
        width: calc(100% - 40px);
        min-height: 82px;
    }

    .logo-image {
        width: 52px;
        height: 52px;
    }

    .site-title {
        font-size: 18px;
    }


    /* PCメニューを非表示 */

    .desktop-nav {
        display: none;
    }


    /* ハンバーガーを表示 */

    .hamburger {
        position: relative;
        z-index: 1001;
        display: block;
    }


    /* メインビジュアル */

    .hero {
        min-height: auto;
        padding-top: 70px;
        padding-bottom: 80px;
    }

    .hero-inner {
        grid-template-columns: minmax(0, 1fr) minmax(340px, 0.9fr);
        gap: 40px;
        width: calc(100% - 48px);
    }

    .hero-copy {
        padding-left: 24px;
    }

    .hero-copy h1 {
        font-size: clamp(34px, 4.5vw, 48px);
    }

    .hero-text {
        font-size: 16px;
    }

    .hero-visual {
        min-height: 460px;
    }

    .hero-visual img {
        width: min(460px, 100%);
    }


    /* 強み */

    .strength-list {
        gap: 20px;
    }

    .strength-item {
        min-height: 310px;
        padding: 44px 26px 36px;
    }


    /* ご案内 */

    .guide-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}


/* =========================
   スマートフォン
   767px以下
========================= */

@media screen and (max-width: 767px) {

    /* 共通設定 */

    body {
        line-height: 1.75;
        letter-spacing: 0.03em;
    }

    .content-width,
    .content-width.narrow {
        width: calc(100% - 32px);
    }

    .section-space {
        padding-top: 68px;
        padding-bottom: 68px;
    }

    .section-heading {
        margin-bottom: 36px;
    }

    .section-kicker {
        margin-bottom: 6px;
        font-size: 12px;
    }

    .section-heading h2 {
        font-size: 27px;
        line-height: 1.55;
    }


    /* ヘッダー */

    .header-inner {
        width: calc(100% - 28px);
        min-height: 72px;
    }

    .site-logo {
        gap: 10px;
    }

    .logo-image {
        width: 44px;
        height: 44px;
    }

    .site-title {
        font-size: 16px;
        letter-spacing: 0.05em;
    }

    .hamburger {
        width: 42px;
        height: 42px;
        padding: 9px;
    }


    /* スマホメニュー */

    .mobile-nav {
        width: min(84vw, 330px);
        padding: 104px 28px 36px;
    }

    .mobile-nav a {
        padding-top: 13px;
        padding-bottom: 13px;
        font-size: 15px;
    }


    /* メインビジュアル */

    .hero {
        min-height: auto;
        padding-top: 54px;
        padding-bottom: 54px;
    }

    .hero::before {
        top: 80px;
        left: -110px;
        width: 210px;
        height: 210px;
    }

    .hero::after {
        right: -150px;
        bottom: -130px;
        width: 310px;
        height: 310px;
    }

    .hero-inner {
        display: flex;
        flex-direction: column;
        gap: 38px;
        width: calc(100% - 32px);
    }

    .hero-copy {
        width: 100%;
        padding-left: 0;
        text-align: center;
    }

    .hero-copy::before {
        display: none;
    }

    .hero-lead {
        margin-bottom: 12px;
        font-size: 14px;
    }

    .hero-copy h1 {
        margin-bottom: 22px;
        font-size: 29px;
        line-height: 1.55;
        letter-spacing: 0.03em;
    }

    .hero-text {
        margin-bottom: 30px;
        font-size: 16px;
        line-height: 2;
        text-align: left;
    }

    .hero .primary-button {
        min-width: 190px;
        min-height: 52px;
    }

    .hero-visual {
        width: 100%;
        min-height: auto;
        padding-top: 10px;
    }

    .hero-visual::before {
        width: min(360px, 94%);
    }

    .hero-visual::after {
        width: min(300px, 78%);
    }

    .hero-visual img {
        width: min(390px, 100%);
        max-height: 450px;
    }


    /* 強み */

    .strength-list {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .strength-item {
        min-height: auto;
        padding: 38px 28px 34px;
    }

    .strength-mark {
        width: 56px;
        height: 56px;
        margin-bottom: 22px;
    }

    .strength-item h3 {
        margin-bottom: 12px;
        font-size: 20px;
    }

    .strength-item p {
        font-size: 16px;
    }


    /* ご案内 */

    .guide-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .guide-card {
        min-height: 150px;
        padding: 28px 26px;
    }

    .guide-card span {
        margin-bottom: 8px;
        font-size: 20px;
    }

    .guide-card::after {
        right: 24px;
        bottom: 20px;
    }


    /* 最後の予約案内 */

    .closing-message::before {
        width: 390px;
        height: 390px;
    }

    .closing-message::after {
        width: 310px;
        height: 310px;
    }

    .closing-inner {
        padding: 58px 20px;
    }

    .closing-inner p {
        margin-bottom: 28px;
        font-size: 22px;
        line-height: 1.9;
    }

    .closing-inner .primary-button {
        width: min(100%, 280px);
    }


    /* フッター */

    .site-footer {
        padding: 52px 20px 24px;
    }

    .footer-logo {
        gap: 10px;
        margin-bottom: 26px;
    }

    .footer-logo img {
        width: 48px;
        height: 48px;
    }

    .footer-logo span {
        font-size: 17px;
    }

    .footer-nav {
        gap: 12px 22px;
        margin-bottom: 30px;
    }
}


/* =========================
   小さいスマートフォン
   480px以下
========================= */

@media screen and (max-width: 480px) {

    /* ヘッダー */

    .header-inner {
        width: calc(100% - 22px);
    }

    .site-title {
        font-size: 14px;
    }

    .logo-image {
        width: 40px;
        height: 40px;
    }


    /* メインビジュアル */

    .hero {
        padding-top: 44px;
        padding-bottom: 48px;
    }

    .hero-inner {
        width: calc(100% - 26px);
        gap: 30px;
    }

    .hero-lead {
        font-size: 13px;
    }

    .hero-copy h1 {
        font-size: 27px;
        letter-spacing: 0.04em;
    }

    .hero .primary-button {
        width: 100%;
        min-width: 0;
    }

    .hero-visual img {
        width: 100%;
    }


    /* 見出し */

    .section-heading h2 {
        font-size: 24px;
    }


    /* カード */

    .strength-item {
        padding: 34px 22px 30px;
    }

    .guide-card {
        min-height: 140px;
        padding: 25px 22px;
    }

    .guide-card small {
        padding-right: 26px;
        font-size: 14px;
    }


    /* 最後の予約 */

    .closing-inner {
        padding: 50px 14px;
    }

    .closing-inner p {
        font-size: 20px;
    }


    /* フッター */

    .footer-logo span {
        font-size: 15px;
    }

    .footer-nav {
        gap: 10px 18px;
    }

    .footer-nav a {
        font-size: 12px;
    }
}

/* =========================
   iPhone SE
========================= */

@media screen and (max-width: 400px) {

    .hero-copy h1 {
        font-size: 24px;
    }

}