/* ===========================
   CSS Variables & Reset
=========================== */
:root {
    --color-yellow: #ffff85;
    --color-pink: #ffbdae;
    --color-blue: #80c0ff;
    --color-green: #2c9631;
    --color-green-dark: #1e6e22;
    --color-white: #ffffff;
    --color-black: #1a1a1a;
    --color-text: #333333;
    --color-text-light: #666666;
    --color-card-bg: #ffffff;

    --font-display: "Playfair Display", serif;
    --font-body: "M PLUS Rounded 1c", "Noto Sans JP", sans-serif;
    --font-pop: "M PLUS Rounded 1c", sans-serif;

    --header-height: 64px;
    --container-max: 1080px;
    --section-pad-v: 80px;
    --card-radius: 20px;
    --card-pad: 48px 48px 40px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--color-text);
    background: var(--color-yellow);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}
a {
    text-decoration: none;
    color: inherit;
}
ul {
    list-style: none;
}

/* ===========================
   Container
=========================== */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 32px;
    position: relative;
    z-index: 2;
}

/* ===========================
   Header
=========================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--color-yellow);
    height: var(--header-height);
    transition: box-shadow 0.3s;
}
.header.scrolled {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header__inner {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 32px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo */
.header__logo-text {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 22px;
    color: var(--color-black);
    letter-spacing: -0.01em;
}

/* Nav */
.header__nav-list {
    display: flex;
    gap: 40px;
}

.header__nav-link {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 14px;
    color: var(--color-black);
    letter-spacing: 0.12em;
    position: relative;
}
.header__nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 0;
    height: 2px;
    background: var(--color-black);
    transition: width 0.3s;
}
.header__nav-link:hover::after {
    width: 100%;
}

/* Hamburger */
.header__hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 36px;
    height: 36px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 1001;
}
.header__hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--color-black);
    border-radius: 2px;
    transition:
        transform 0.3s,
        opacity 0.3s;
}
.header__hamburger.is-active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
.header__hamburger.is-active span:nth-child(2) {
    opacity: 0;
}
.header__hamburger.is-active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* ===========================
   Hero
=========================== */
.hero {
    margin-top: var(--header-height);
    background: #b8dff8;
    line-height: 0;
}
.hero__main-img img {
    width: 100%;
    display: block;
}

/* ===========================
   Section Common
=========================== */
.section {
    padding: var(--section-pad-v) 0;
    position: relative;
    overflow: visible;
}

.section__title {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: clamp(36px, 5.5vw, 60px);
    text-align: center;
    letter-spacing: 0.06em;
    color: var(--color-black);
    margin-bottom: 40px;
}

/* ===========================
   ガーランド（セクション共通）
=========================== */
.deco-garland {
    position: absolute;
    pointer-events: none;
    z-index: 0;
}
.deco-garland--left {
    top: 0;
    left: 0;
    width: clamp(140px, 18vw, 220px);
}
.deco-garland--right {
    top: 0;
    right: 0;
    width: clamp(140px, 18vw, 220px);
}
.deco-garland--bottom-left {
    bottom: 0;
    left: 0;
    width: clamp(140px, 18vw, 220px);
    top: auto;
    transform: scaleY(-1);
}
.deco-garland--bottom-right {
    bottom: 0;
    right: 0;
    width: clamp(140px, 18vw, 220px);
    top: auto;
    transform: scale(-1, -1);
}

/* ===========================
   Card 共通
=========================== */
.card {
    background: var(--color-card-bg);
    border-radius: var(--card-radius);
    padding: var(--card-pad);
    position: relative;
    overflow: visible;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.07);
}

.card__title {
    font-family: var(--font-pop);
    font-weight: 900;
    font-size: clamp(18px, 2.5vw, 26px);
    color: var(--color-green);
    text-align: center;
    margin-bottom: 20px;
    letter-spacing: 0.01em;
    line-height: 1.5;
    padding-bottom: 20px;
    border-bottom: 1px solid #e0e0e0;
}

/* ===========================
   EVENT Section
=========================== */
.event {
    background: var(--color-yellow);
    overflow: hidden;
}

/* 泡エフェクトコンテナ */
.event__bubbles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.bubble {
    position: absolute;
    bottom: -120px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.75) 0%, rgba(255, 255, 255, 0.35) 50%, rgba(255, 255, 255, 0.1) 100%);
    box-shadow:
        inset 3px 3px 8px rgba(255, 255, 255, 0.8),
        inset -2px -2px 6px rgba(200, 200, 200, 0.3),
        0 0 0 1.5px rgba(255, 255, 255, 0.6);
    animation: bubbleRise linear infinite;
}

.bubble::before {
    content: "";
    position: absolute;
    top: 18%;
    left: 22%;
    width: 30%;
    height: 22%;
    border-radius: 50%;
    background: rgba(255, 255, 220, 0.75);
    transform: rotate(-30deg);
    filter: blur(1px);
}

@keyframes bubbleRise {
    0% {
        transform: translateY(0) translateX(0);
        opacity: 0;
    }
    8% {
        opacity: 1;
    }
    88% {
        opacity: 0.8;
    }
    100% {
        transform: translateY(-110vh) translateX(var(--drift));
        opacity: 0;
    }
}

.bubble:nth-child(1)  { left: 3%;  width: 36px; height: 36px; --drift: 14px;  animation-duration: 7.5s;  animation-delay: 0s;   }
.bubble:nth-child(2)  { left: 11%; width: 22px; height: 22px; --drift: -10px; animation-duration: 9s;    animation-delay: 1.4s; }
.bubble:nth-child(3)  { left: 20%; width: 48px; height: 48px; --drift: 18px;  animation-duration: 8.2s;  animation-delay: 0.6s; }
.bubble:nth-child(4)  { left: 29%; width: 18px; height: 18px; --drift: -8px;  animation-duration: 10s;   animation-delay: 3s;   }
.bubble:nth-child(5)  { left: 38%; width: 30px; height: 30px; --drift: 10px;  animation-duration: 7.8s;  animation-delay: 2s;   }
.bubble:nth-child(6)  { left: 47%; width: 42px; height: 42px; --drift: -16px; animation-duration: 8.6s;  animation-delay: 0.3s; }
.bubble:nth-child(7)  { left: 56%; width: 20px; height: 20px; --drift: 8px;   animation-duration: 9.5s;  animation-delay: 4s;   }
.bubble:nth-child(8)  { left: 64%; width: 52px; height: 52px; --drift: -14px; animation-duration: 7.2s;  animation-delay: 1.1s; }
.bubble:nth-child(9)  { left: 73%; width: 26px; height: 26px; --drift: 12px;  animation-duration: 10.5s; animation-delay: 2.5s; }
.bubble:nth-child(10) { left: 81%; width: 38px; height: 38px; --drift: -9px;  animation-duration: 8.9s;  animation-delay: 0.9s; }
.bubble:nth-child(11) { left: 88%; width: 16px; height: 16px; --drift: 6px;   animation-duration: 9.2s;  animation-delay: 4.5s; }
.bubble:nth-child(12) { left: 94%; width: 32px; height: 32px; --drift: -12px; animation-duration: 7.9s;  animation-delay: 1.7s; }

.event__card {
    margin-bottom: 28px;
}

.deco--balloon {
    position: absolute;
    top: -44px;
    left: -16px;
    width: 80px;
    pointer-events: none;
    z-index: 2;
}

.deco--beer-flag {
    position: absolute;
    bottom: -24px;
    right: -8px;
    width: 110px;
    pointer-events: none;
    z-index: 2;
}

.deco--pretzel {
    position: absolute;
    top: -36px;
    left: -16px;
    width: 80px;
    pointer-events: none;
    z-index: 2;
}

.deco--horn {
    position: absolute;
    bottom: -28px;
    right: -8px;
    width: 110px;
    pointer-events: none;
    z-index: 2;
}

.event__info-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 0 8px;
}
.event__info-list li {
    display: flex;
    align-items: baseline;
    gap: 8px;
    font-size: 15px;
    line-height: 1.7;
    color: var(--color-text);
    flex-wrap: nowrap;
}
.bullet {
    color: var(--color-green);
    font-size: 11px;
    flex-shrink: 0;
    margin-top: 2px;
}
.event__info-list li > span:last-child {
    min-width: 0;
}
.event__info-note {
    padding-left: 20px;
    font-size: 13px;
    color: var(--color-text-light);
}

.event__about-body {
    font-size: 15px;
    line-height: 1.9;
    color: var(--color-text);
    padding: 0 8px;
}

/* ===========================
   MENU Section
=========================== */
.menu {
    background: var(--color-pink);
    overflow: hidden;
    padding-bottom: calc(var(--section-pad-v) + 20px);
}

.menu__card {
    overflow: visible;
}

.deco--chicken {
    position: absolute;
    top: -36px;
    left: 32px;
    width: 70px;
    transform: rotate(-10deg);
    pointer-events: none;
    z-index: 2;
}

.deco--hotdog {
    position: absolute;
    top: -28px;
    right: 48px;
    width: 80px;
    transform: rotate(15deg);
    pointer-events: none;
    z-index: 2;
}

.deco--cheers {
    display: block;
    position: absolute;
    bottom: 0;
    left: 1%;
    width: clamp(120px, 14vw, 180px);
    pointer-events: none;
    z-index: 2;
}

.menu__body {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.menu__text {
    flex: 1;
}
.menu__text p {
    font-size: 15px;
    line-height: 1.85;
    color: var(--color-text);
    margin-bottom: 14px;
}

.menu__photos {
    width: 100%;
}
.menu__photo {
    border-radius: 12px;
    overflow: hidden;
}
.menu__photo img {
    width: 100%;
    height: auto;
    display: block;
}

/* ===========================
   SNS Section
=========================== */
.sns {
    background: var(--color-blue);
    text-align: center;
    overflow: hidden;
}

.sns__lead {
    font-size: 15px;
    color: var(--color-text);
    margin-top: -30px;
    margin-bottom: 32px;
}

.sns__icons {
    display: flex;
    justify-content: center;
    gap: 28px;
}

.sns__icon-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    transition:
        transform 0.2s,
        box-shadow 0.2s;
    overflow: hidden;
}
.sns__icon-link:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.16);
}
.sns__icon-link img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    display: block;
}

.sns__icon-link--ig,
.sns__icon-link--x {
    background: none;
}

.deco--castle {
    display: block;
    position: absolute;
    bottom: 0;
    right: 0;
    width: clamp(160px, 22vw, 340px);
    pointer-events: none;
    z-index: 2;
}

/* ===========================
   CONTACT Section
=========================== */
.contact {
    background: var(--color-green);
    text-align: center;
}

.contact__logo {
    width: 200px;
    margin: 0 auto 24px;
}

.contact__title {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: clamp(40px, 7vw, 72px);
    color: var(--color-black);
    letter-spacing: 0.12em;
    margin-bottom: 14px;
}

.contact__lead {
    font-size: 14px;
    color: rgba(0, 0, 0, 0.75);
    margin-bottom: 36px;
    line-height: 1.8;
}

.contact__btn {
    display: inline-block;
    background: var(--color-yellow);
    color: var(--color-black);
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 15px;
    padding: 15px 60px;
    border-radius: 50px;
    letter-spacing: 0.08em;
    transition:
        transform 0.2s,
        box-shadow 0.2s;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}
.contact__btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.25);
}

/* ===========================
   Footer
=========================== */
.footer {
    background: var(--color-black);
    padding: 18px 24px;
    text-align: center;
}
.footer__copy {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 0.05em;
}

/* ===========================
   Scroll Reveal
=========================== */
.will-reveal {
    opacity: 0;
    transform: translateY(24px);
    transition:
        opacity 0.6s ease,
        transform 0.6s ease;
}
.will-reveal.is-revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ===========================
   フォームページ共通（contact / confirm / thanks）
=========================== */
/* フォームページ用ヘッダー（fixed でない静的版） */
.header--static {
    position: static;
    background: var(--color-yellow);
    height: var(--header-height);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}
.header--static .header__logo {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 22px;
    color: var(--color-black);
    letter-spacing: -0.01em;
}

/* フォームページ用メインエリア */
.form-main {
    max-width: 680px;
    margin: 0 auto;
    padding: 60px 24px 80px;
}

/* ページタイトル */
.form-page-title {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: clamp(28px, 5vw, 44px);
    text-align: center;
    letter-spacing: 0.04em;
    color: var(--color-black);
    margin-bottom: 10px;
}
/* contact.php の CONTACT タイトルは少し大きく */
.form-page-title--lg {
    font-size: clamp(36px, 6vw, 56px);
    letter-spacing: 0.06em;
}

.form-page-lead {
    text-align: center;
    font-size: 14px;
    color: var(--color-text-light);
    margin-bottom: 48px;
    line-height: 1.8;
}

/* フォームカード */
.form-card {
    background: var(--color-white);
    border-radius: var(--card-radius);
    padding: 48px 48px 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.07);
}

/* フォームグループ */
.form-group {
    margin-bottom: 28px;
}
.form-label {
    display: block;
    font-weight: 700;
    font-size: 14px;
    color: var(--color-black);
    margin-bottom: 8px;
    letter-spacing: 0.02em;
}
.form-label .required {
    display: inline-block;
    background: var(--color-green);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: 6px;
    vertical-align: middle;
    letter-spacing: 0.04em;
}
.form-input,
.form-textarea {
    width: 100%;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    padding: 12px 16px;
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--color-text);
    background: #fafafa;
    transition: border-color 0.2s, background 0.2s;
    outline: none;
}
.form-input:focus,
.form-textarea:focus {
    border-color: var(--color-green);
    background: #fff;
}
.form-textarea {
    resize: vertical;
    min-height: 140px;
    line-height: 1.7;
}

/* ボタン共通 */
.btn-wrap {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-top: 36px;
    flex-wrap: wrap;
}
.btn-submit {
    display: inline-block;
    background: var(--color-green);
    color: #fff;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 15px;
    padding: 15px 56px;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    letter-spacing: 0.06em;
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
    box-shadow: 0 4px 14px rgba(44, 150, 49, 0.3);
}
.btn-submit:hover {
    background: var(--color-green-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 22px rgba(44, 150, 49, 0.35);
}
/* contact.php の「確認する」ボタンは少し大きく */
.btn-submit--lg {
    font-size: 16px;
    padding: 16px 72px;
}
.btn-back {
    display: inline-block;
    background: #fff;
    color: var(--color-black);
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 15px;
    padding: 15px 48px;
    border-radius: 50px;
    border: 2px solid var(--color-black);
    cursor: pointer;
    letter-spacing: 0.06em;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}
.btn-back:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

/* フォームページ戻るリンク */
.back-link {
    display: block;
    text-align: center;
    margin-top: 24px;
    font-size: 13px;
    color: var(--color-text-light);
}
.back-link a {
    color: var(--color-green);
    font-weight: 700;
}
.back-link a:hover {
    text-decoration: underline;
}

/* 確認テーブル（confirm.php） */
.confirm-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 8px;
}
.confirm-table tr {
    border-bottom: 1px solid #f0f0f0;
}
.confirm-table tr:first-child {
    border-top: 1px solid #f0f0f0;
}
.confirm-table th {
    width: 34%;
    padding: 18px 12px 18px 0;
    font-size: 13px;
    font-weight: 700;
    color: var(--color-text-light);
    text-align: left;
    vertical-align: top;
    white-space: nowrap;
}
.confirm-table td {
    padding: 18px 0;
    font-size: 15px;
    color: var(--color-black);
    line-height: 1.75;
    word-break: break-all;
}
.confirm-table td.message-cell {
    white-space: pre-wrap;
}

/* サンクスページ（thanks.php） */
.thanks-main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 24px;
}
.thanks-card {
    background: var(--color-white);
    border-radius: var(--card-radius);
    padding: 64px 48px 56px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.07);
    text-align: center;
    max-width: 560px;
    width: 100%;
}
.thanks-icon {
    width: 72px;
    height: 72px;
    background: var(--color-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 28px;
}
.thanks-icon svg {
    width: 36px;
    height: 36px;
    stroke: #fff;
    stroke-width: 2.5;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.thanks-title {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: clamp(26px, 5vw, 40px);
    color: var(--color-black);
    letter-spacing: 0.04em;
    margin-bottom: 20px;
}
.thanks-text {
    font-size: 14px;
    line-height: 1.9;
    color: var(--color-text-light);
    margin-bottom: 40px;
}
.btn-top {
    display: inline-block;
    background: var(--color-yellow);
    color: var(--color-black);
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 15px;
    padding: 15px 56px;
    border-radius: 50px;
    border: 2px solid var(--color-black);
    letter-spacing: 0.06em;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
}
.btn-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.15);
}

/* ===========================
   Responsive – Tablet (≤900px)
=========================== */
@media (max-width: 900px) {
    .menu__body {
        flex-direction: column;
    }
    .menu__photos {
        width: 100%;
    }
}

/* ===========================
   Responsive – Mobile (≤640px)
=========================== */
@media (max-width: 640px) {
    :root {
        --header-height: 56px;
        --section-pad-v: 56px;
        --card-pad: 28px 20px 24px;
    }

    .container {
        padding: 0 16px;
    }

    /* Hamburger 表示 */
    .header__hamburger {
        display: flex;
    }

    /* フルスクリーンNav */
    .header__nav {
        position: fixed;
        inset: 0;
        background: var(--color-yellow);
        display: flex;
        align-items: center;
        justify-content: center;
        transform: translateX(100%);
        transition: transform 0.35s ease;
        z-index: 999;
    }
    .header__nav.is-open {
        transform: translateX(0);
    }

    .header__nav-list {
        flex-direction: column;
        gap: 36px;
        text-align: center;
    }
    .header__nav-link {
        font-size: 26px;
    }

    /* ガーランド縮小 */
    .deco-garland--left,
    .deco-garland--right,
    .deco-garland--bottom-left,
    .deco-garland--bottom-right {
        width: 110px;
    }

    /* デコ縮小 */
    .deco--balloon  { width: 56px;  top: -32px;  left: -10px; }
    .deco--beer-flag{ width: 80px;  bottom: -18px; right: -4px; }
    .deco--pretzel  { width: 60px;  top: -28px;  left: -10px; }
    .deco--horn     { width: 80px;  bottom: -20px; right: -4px; }
    .deco--chicken  { width: 56px;  top: -28px;  left: 16px;  }
    .deco--hotdog   { width: 64px;  top: -22px;  right: 24px; }
    .deco--cheers   { width: 100px; }
    .deco--castle   { width: 130px; }

    /* フォームページ */
    .form-card {
        padding: 28px 20px 24px;
    }
    .confirm-table th {
        width: 30%;
        font-size: 12px;
    }
    .btn-back,
    .btn-submit { padding: 14px 36px; font-size: 14px; }
    .btn-submit--lg { padding: 14px 48px; font-size: 15px; }
    .thanks-card { padding: 48px 24px 40px; }
    .btn-top { padding: 14px 40px; font-size: 14px; }

    /* SNS */
    .sns__lead {
        margin-top: -24px;
    }
}
