/*
COLORS
================================================ */
:root {
    --text: #333;
    --bg: #fff;
    --video-opacity: .5;
    --edge: rgba(55, 53, 67, .08);
    --panel: #ffffff;
    --ff-sans: "Noto Sans JP", system-ui, -apple-system, "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
    --ff-hand: "Kiwi Maru", serif;
}

@media (prefers-color-scheme: dark) {
    :root {
        --text: #ddd;
        --bg: #000;
        --video-opacity: .7;
    }
}

/*
GENERAL STYLING
================================================ */
html {
    font-size: 100%;
    overflow-x: hidden;
}

body {
    color: var(--text);
    background: var(--bg);
    font-family:var(--ff-sans);
    transition: .5s;
}

h1,h2 {
    font-size: 26px;
    margin: 0px 0px 18px;
    font-family:var(--ff-hand);
}

h1{
        font-size: 32px;
}

/*
COMMON
================================================ */
p {
    line-height: 1.7;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px
}

.nav a {
    padding: 10px 12px;
    border-radius: 12px;
    text-decoration: none;
}

a {
    text-decoration: none;
    color: #ff86b6
}



ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav ul {
    display: flex;
    gap: 16px;
    list-style: none;
    margin: 0;
    padding: 0;
    font-weight: 600
}


.nav a:hover {
    background: var(--panel);
    box-shadow: 0 4px 14px var(--edge)
}


.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 24px
}


/*
header
================================================ */

header {
    position: sticky;
    top: 0;
    z-index: 40;
    background: rgba(255, 255, 255, .7);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(55, 53, 67, .08);
}


.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo a:hover {
    background: none;
    box-shadow: none;
}


.logo-image {
    height: auto;
    width: 150px;
}



.menu-text {
    color: #ff86b6;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    border-radius: 14px;
    border: 1px solid rgba(55, 53, 67, .08);
    background: #ffffff;
    box-shadow: 0 8px 30px rgba(55, 53, 67, .08);
    font-weight: 700
}

.btn.primary {
    background: linear-gradient(135deg, #ff86b6, #a6d8ff);
    color: #fff;
    border: none;
    box-shadow: 0 10px 30px rgba(255, 134, 182, .4);
}

/* 視覚的には非表示、スクリーンリーダーには読ませる */
.sr-only {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

.site-brand {
    margin: 0
}

.site-brand a {
    display: inline-block;
    line-height: 0;
    text-decoration: none
}

.logo-image {
    display: block;
    height: auto;
}


/*
CONTACT
================================================ */
.contact {
    --brand: #ff86b6;
    --contact-grad-1: rgba(255, 134, 182, .4);
    --contact-grad-2: #a6d8ff;
}

.contact {
    position: relative;
    overflow: hidden;
    color: #fff;
    padding: clamp(4rem, 6vw, 8rem) 1rem clamp(6rem, 6vw, 10rem);
    background: linear-gradient(135deg, var(--contact-grad-1), var(--contact-grad-2));
}


.contact {
    -webkit-clip-path: ellipse(80% 100% at 50% 100%);
    clip-path: ellipse(80% 100% at 50% 100%);
}

/* 中身レイアウト */
.contact__inner {
    max-width: 1080px;
    margin: 0 auto;
    text-align: center;
    position: relative;
}

/* 小さなリード文 */
.contact__lead {
    font-size: clamp(0.95rem, 1.8vw, 1.1rem);
    opacity: .9;
    margin-bottom: 1rem;
}

/* 背景的に大きく見せる CONTACT（アウトライン文字） */
.contact__title {
    position: relative;
    font-size: clamp(3rem, 12vw, 9rem);
    letter-spacing: 0.18em;
    line-height: 1;
    margin: .2em 0 .4em;
    color: transparent;
    -webkit-text-stroke: 2px rgba(255, 255, 255, .45);
    text-transform: uppercase;
    user-select: none;
    pointer-events: none;
}

/* 案内文 */
.contact__note {
    font-size: clamp(0.9rem, 1.6vw, 1rem);
    opacity: .85;
    margin-bottom: 1.25rem;
}

/* メールボタン（丸 pill 形） */
.contact__btn {
    display: inline-flex;
    align-items: center;
    gap: .65rem;
    padding: .9rem 1.2rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, .95);
    color: #223;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .08);
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.contact__btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, .12);
    background: #fff;
}

.contact__btn-mail {
    display: inline-block;
    font-size: clamp(.95rem, 1.8vw, 1rem);
    color: var(--brand);
}

.contact__btn-arrow {
    font-size: 1.1rem;
    opacity: .7;
}

.contact-link {
    margin: 1rem 0 0;
    text-align: center;
}

/*
FOOTER
================================================ */
footer {
    text-align: center;
    padding-bottom: 3rem;
}

.copyright {
    font-size: 0.9rem;
    margin: 0;
}

.copyright-top {
    margin-top: 1rem;
}


/* ===== Back to Top CTA ===== */
.back-to-top {
    position: fixed;
    right: clamp(12px, 2vw, 20px);
    bottom: clamp(12px, 2vw, 20px);
    z-index: 90;
    display: inline-block;
    width: clamp(44px, 8vw, 64px);
    height: auto;
    opacity: 0;
    transform: translateY(10px);
    pointer-events: none;
    transition: opacity .25s ease, transform .25s ease;
}

.back-to-top img {
    display: block;
    width: 100%;
    height: auto;
}

.back-to-top.is-visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

/* 低速回線/端末向け：GIFが大きい場合の影響を抑える（任意） */
@media (prefers-reduced-data: reduce) {
    .back-to-top img {
        image-rendering: -webkit-optimize-contrast;
    }
}


/* ホームに戻るボタン（左上固定） */
.home-btn {
    position: fixed;
    top: 90px;
    right: 8px;
    z-index: 90;
    display: inline-block;
}

.home-btn img {
    width: 80px;
    height: auto;
    display: block;
    width: clamp(40px, 6vw, 60px);
}


.home-btn:hover {
    filter: brightness(1.05);
}


/*
フッター手前の2カラムCTAセクション 
================================================ */

/* ====== 2カラムCTA（フッター手前） ====== */
:root {
    --slab-bg: #eeeeeec5;
    /* セクションの背景 */
    --ink: #6a6765;
    /* テキスト色 */
    --edge: rgba(0, 0, 0, .14);
    --panel: rgba(255, 255, 255, .16);
    --btn-bg: #ffffff;
    --btn-ink: #4b4948;
    --btn-ring: rgba(0, 0, 0, .08);
}

.cta-slab {
    background: var(--slab-bg);
    color: var(--ink);
    border-top: 1px solid var(--edge);
    border-bottom: 1px solid var(--edge);
}

.cta-slab__inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: clamp(24px, 5vw, 48px);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(20px, 4vw, 40px);
    position: relative;
}

/* 中央の仕切り線 */
.cta-slab__inner::before {
    content: "";
    position: absolute;
    inset: 0;
    width: 1px;
    height: 70%;
    margin: auto;
    background: var(--edge);
}

/* カラム */
.cta-slab__col {
    padding: clamp(8px, 1.6vw, 12px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}


/* タイトル・小見出し・本文 */
.cta-slab__title {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 800;
    margin: 0 0 .2em;
    letter-spacing: .02em;
}

.cta-slab__kicker {
    margin: 0 0 1.2em;
    opacity: .8;
}

.cta-slab__text {
    line-height: 1.9;
    margin: 0 0 1.2em;
}

/* ボタン（ pill ） */
.cta-slab__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .75rem;
    background: var(--btn-bg);
    color: var(--btn-ink);
    border: 1px solid var(--edge);
    border-radius: 999px;
    padding: 14px 18px 14px 18px;
    box-shadow: 0 6px 18px var(--btn-ring);
    text-decoration: none;
    transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}

.cta-slab__btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 24px var(--btn-ring);
    border-color: rgba(0, 0, 0, .18);
}

.cta-slab__btn:focus {
    outline: 3px solid rgba(0, 0, 0, .18);
    outline-offset: 3px;
}

.cta-slab__btn-label {
    font-weight: 700;
    white-space: nowrap;
}

.cta-slab__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 999px;
    border: 1px solid rgba(0, 0, 0, .12);
    background: linear-gradient(#fff, #f7f7f7);
}

/* レスポンシブ：1カラムに */
@media (max-width: 860px) {
    .cta-slab__inner {
        grid-template-columns: 1fr;
        gap: 28px;

    }

    .cta-slab__inner::before {
        display: none;
    }

    .cta-slab__btn {
        width: 100%;
        justify-content: center;
    }
}


/*
menu
================================================ */

/* ---- ヘッダー ---- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.55);
    -webkit-backdrop-filter: blur(12px) saturate(120%);
    backdrop-filter: blur(12px) saturate(120%);

    border-bottom: 1px solid rgba(255, 255, 255, 0.35);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.site-header a {
    color: #222;
}

/* バックドロップ非対応ブラウザのフォールバック */
@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
    .site-header {
        background: rgba(255, 255, 255, 0.9);
    }
}

.logo {
    font-weight: 700;
}

/* PCの横並びナビはスマホでは非表示 */
.site-nav {
    display: none;
}

.site-nav ul {
    display: flex;
    gap: 24px;
}

.site-nav a {
    padding: 8px 6px;
}

.nav-list {
    display: flex;
    gap: 1rem;
}


@media (min-width: 1024px) {


    .site-nav {
        background: #D1D6DA;
        border: 2px solid #D1D6DA;
        border-radius: 60px;
        color: #fff;
        display: block;
        font-weight: bold;
        max-width: 300px;
        padding: 15px 40px;
        text-align: center;
        cursor: pointer;
        transition: .2s cubic-bezier(0.45, 0, 0.55, 1);
    }

    .site-nav {
        background: #fff;
        color: #D1D6DA;
        overflow: hidden;
        position: relative;
        transition-duration: .4s;
        z-index: 2;
    }


    .site-nav a::after {
        background: #D1D6DA;
        border-radius: 50%;
        content: "";
        display: block;
        margin: auto;
        opacity: 0;
        pointer-events: none;
        position: absolute;
        top: 50%;
        left: 0;
        right: 0;
        width: 100%;
        padding-top: 100%;
        height: 0;
        z-index: -1;
        transform: translateY(-50%) scale(0.1);
        transition: opacity .5s, transform 0s;
        transition-delay: 0s, .4s;

    }

    .site-nav a:hover {
        color: #fff;
    }

    .site-nav a:hover::after {
        opacity: 1;
        transform: translateY(-50%) scale(1.1);
        transition-delay: 0s;
        transition: opacity .8s, transform .6s ease-in-out;
    }

}

/* スマホの menu ボタン（PCでは非表示にする） */
.menu-btn {
    margin-left: auto;
    padding: 8px 12px;
    border: 1px solid #ddd;
    background: #f7f7f7;
    border-radius: 8px;
}

/* ---- スマホ用 全画面メニュー ---- */
.sp-nav {
    position: fixed;
    inset: 0;
    display: none;
    background: #fff;
    z-index: 1000;
    padding: 24px;
    box-sizing: border-box;
}

.sp-nav.open {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 右上の × ボタン */
.sp-nav__close {
    position: absolute;
    top: 12px;
    right: 12px;
    inline-size: 44px;
    block-size: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font: 700 20px/1 system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans JP", sans-serif;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #f7f7f7;
    color: #222;
    cursor: pointer;
}

/* メニューの並び（スマホ時は大きめ・縦並び） */
.sp-nav__list {
    display: grid;
    gap: 40px;
    text-align: center;
    font-size: clamp(18px, 4vw, 22px);
}

.sp-nav__list a {
    padding: 8px 12px;
    color: #4b4948;
}

.sp-nav__list a:hover {
    text-decoration: underline;
}

/* メニュー開時は背景スクロールを止める */
body.is-nav-open {
    overflow: hidden;
}

/* ---- ここからPC ---- */
@media (min-width: 1024px) {
    .menu-btn {
        display: none;
    }

    .site-nav {
        display: block;
        margin-left: auto;
    }

    .sp-nav {
        display: none !important;
    }

}


/* ===== SPメニュー：開いた時だけ背景画像に差し替え ===== */
.sp-nav {
    background: #fff;
}

/* 開いたときにだけ背景を画像に */
.sp-nav.open {
    background:
        url("../images/sp-open.jpg") center / cover no-repeat fixed;
}