/* ========================================
   キッズパーク：サイト共通CSS
   V6：共通レイアウトを維持
   開発用のため省略・圧縮しません
======================================== */
:root {
    --color-ink: #234268;
    --color-muted: #627589;
    --color-pink: #f64886;
    --color-blue: #188fd6;
    --color-green: #47b678;
    --color-line: #e3eaf1;
    --width-site: 1440px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 94px;
}

body {
    margin: 0;
    color: var(--color-ink);
    background-color: #ffffff;
    font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif;
    font-size: 15px;
    line-height: 1.8;
}

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

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

button {
    font: inherit;
}

.container {
    width: min(calc(100% - 64px), var(--width-site));
    margin-inline: auto;
}

.site-header {
    position: relative;
    z-index: 10;
    background: #ffffff;
}

.site-header__inner {
    display: flex;
    min-height: 110px;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.site-logo {
    display: flex;
    flex: 0 0 255px;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.3;
}

.site-logo img {
    width: 240px;
    height: auto;
}

.site-logo span {
    padding-left: 8px;
    font-size: 10px;
    letter-spacing: 0.02em;
}

.site-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: clamp(9px, 1.35vw, 23px);
    font-size: 12px;
    font-weight: 700;
}

.site-nav > a:not(.button) {
    white-space: nowrap;
}

.site-nav > a:not(.button):hover,
.site-nav__current {
    color: var(--color-pink);
}

.button {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 10px 22px;
    border-radius: 999px;
    font-weight: 700;
    line-height: 1.4;
    white-space: nowrap;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.button:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

.button--pink {
    color: #ffffff;
    background: var(--color-pink);
}

.button--outline {
    border: 1px solid var(--color-blue);
    color: var(--color-blue);
    background: #ffffff;
}

.menu-toggle {
    display: none;
}

.section {
    padding-block: 52px;
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 24px;
}

.section-heading h2 {
    margin: 0 0 10px;
    color: #14406e;
    font-size: clamp(24px, 2.2vw, 33px);
    line-height: 1.45;
}

.section-heading p {
    margin: 0;
}

.section-heading--center {
    display: block;
    text-align: center;
}

.eyebrow {
    margin-bottom: 5px !important;
    color: var(--color-pink);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.18em;
}

.outline-link {
    display: inline-block;
    flex-shrink: 0;
    padding: 7px 18px;
    border: 1px solid #b8d5ec;
    border-radius: 50px;
    color: #177dbb;
    font-size: 12px;
    font-weight: 700;
}

.preview-note,
.image-note {
    color: #63788d;
    font-size: 11px;
}

.site-footer {
    padding-top: 42px;
    background-color: #f1f8fd;
    background-image: linear-gradient(110deg, #e8f8ff 0%, #fff0f6 51%, #effae7 100%);
}

.site-footer__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr) minmax(0, 1fr);
    align-items: start;
    gap: 36px;
}

/* ロゴの縦横比を維持する（HTMLのheight属性を上書き） */
.site-footer__inner img {
    display: block;
    width: 165px;
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

.site-footer__inner p {
    margin: 0;
    font-size: 10px;
}

.site-footer__nav {
    display: flex;
    flex-wrap: wrap;
    align-content: start;
    justify-content: center;
    gap: 10px 18px;
    padding-top: 12px;
    font-size: 12px;
}

.site-footer__details {
    padding-top: 4px;
    font-size: 12px;
    line-height: 1.75;
}

.site-footer__details p {
    margin: 0 0 7px;
    font-size: 12px;
}

.site-footer__details .site-footer__office {
    margin-bottom: 9px;
    font-weight: 800;
}

.site-footer__details a {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.site-footer__copyright {
    margin: 36px 0 0;
    padding: 14px;
    border-top: 1px solid #dbe9f3;
    color: #7d91a2;
    font-size: 11px;
    text-align: center;
}

@media screen and (max-width: 1150px) {
    .site-header__inner {
        min-height: 88px;
    }

    .site-logo {
        flex-basis: 190px;
    }

    .site-logo img {
        width: 175px;
    }

    .site-nav {
        gap: 10px;
        font-size: 11px;
    }

    .site-nav__contact {
        padding-inline: 13px;
    }
}

@media screen and (max-width: 900px) {
    .container {
        width: min(calc(100% - 32px), var(--width-site));
    }

    .site-header__inner {
        min-height: 78px;
    }

    .site-logo {
        flex-basis: auto;
    }

    .site-logo img {
        width: 176px;
    }

    .menu-toggle {
        display: flex;
        width: 44px;
        height: 44px;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 5px;
        border: none;
        border-radius: 13px;
        background: var(--color-pink);
        cursor: pointer;
    }

    .menu-toggle span {
        width: 20px;
        height: 2px;
        border-radius: 2px;
        background: #ffffff;
    }

    .site-nav {
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 14px 18px 22px;
        border-top: 1px solid var(--color-line);
        background: #ffffff;
        box-shadow: 0 15px 25px rgba(25, 57, 83, 0.12);
        font-size: 14px;
    }

    .site-nav.is-open {
        display: flex;
    }

    .site-nav > a:not(.button) {
        padding: 11px 6px;
        border-bottom: 1px solid var(--color-line);
    }

    .site-nav__contact {
        margin-top: 16px;
    }

    .section {
        padding-block: 44px;
    }

    .site-footer__inner {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .site-footer__nav {
        justify-content: flex-start;
        padding-top: 0;
    }
}

@media screen and (max-width: 600px) {
    .section {
        padding-block: 42px;
    }

    .section-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }

    .section-heading h2 {
        font-size: 23px;
    }
}


/* ========================================
   ナビゲーション7項目対応：中間画面幅のみ
   既存の900px以下のモバイルメニュー仕様を踏襲
======================================== */
@media screen and (min-width: 901px) and (max-width: 1320px) {
    .site-logo {
        flex-basis: auto;
    }

    .menu-toggle {
        display: flex;
        width: 44px;
        height: 44px;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 5px;
        border: none;
        border-radius: 13px;
        background: var(--color-pink);
        cursor: pointer;
    }

    .menu-toggle span {
        width: 20px;
        height: 2px;
        border-radius: 2px;
        background: #ffffff;
    }

    .site-nav {
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 14px 18px 22px;
        border-top: 1px solid var(--color-line);
        background: #ffffff;
        box-shadow: 0 15px 25px rgba(25, 57, 83, 0.12);
        font-size: 14px;
    }

    .site-nav.is-open {
        display: flex;
    }

    .site-nav > a:not(.button) {
        padding: 11px 6px;
        border-bottom: 1px solid var(--color-line);
    }

    .site-nav__contact {
        margin-top: 16px;
    }
}
