/* ========================================
   オクトーバーフェスト in 東京スカイツリータウン® 2026
   style.css（ファスト版）
======================================== */

/* ========================================
   Meyer Reset
======================================== */
*,
*::before,
*::after {
    box-sizing: border-box;
}
html,
body,
div,
span,
h1,
h2,
h3,
h4,
h5,
h6,
p,
a,
abbr,
address,
blockquote,
cite,
code,
del,
img,
ins,
kbd,
q,
s,
samp,
small,
strong,
sub,
sup,
b,
u,
i,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
menu,
nav,
output,
section,
summary,
time,
audio,
video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}
article,
aside,
details,
figcaption,
figure,
footer,
header,
menu,
nav,
section {
    display: block;
}
ul,
ol {
    list-style: none;
}
img {
    max-width: 100%;
    height: auto;
    vertical-align: bottom;
}
a {
    text-decoration: none;
    color: inherit;
}
button {
    font-family: inherit;
    cursor: pointer;
}

/* ========================================
   カラー変数（2026キービジュアル基準）
======================================== */
:root {
    /* メインカラー：KVタイトルのネイビー */
    --color-navy: #1b3c74;
    --color-navy-dark: #12294f;
    --color-navy-light: #3f5f9e;

    /* アクセント：年号リボンの赤 */
    --color-red: #d5402c;
    --color-red-dark: #ab2f1f;

    /* アクセント：麦・アコーディオンのゴールド */
    --color-gold: #ffbf3f;
    --color-gold-light: #ffd77e;
    --color-gold-dark: #f4a91c;

    /* アクセント：バイエルン菱形のスカイブルー（bg.pngと連動）*/
    --color-sky: #00aeef;
    --color-sky-dark: #0a86ba;

    /* 木目・背景 */
    --color-wood: #8a5636;
    --color-cream: #fff8ec;
    --color-white: #ffffff;

    /* テキスト */
    --color-text: #2b2015;
    --color-text-light: #6d5c4c;

    /* 英字見出し用フォント（Portada Text 風のセリフ） */
    --font-display: "Fraunces", "Times New Roman", serif;
    /* 日本語タイトル用フォント（明朝すぎず、少しおしゃれな雰囲気の見出し書体） */
    --font-title-jp: "Kaisei Decol", "Noto Serif JP", "Hiragino Mincho ProN", serif;

    /* ナビ */
    --nav-height: 76px;
    --nav-height-sp: 60px;

    /* 角丸 */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 40px;

    /* 影 */
    --shadow-sm: 0 2px 10px rgba(27, 60, 116, 0.1);
    --shadow-md: 0 6px 26px rgba(27, 60, 116, 0.16);
    --shadow-lg: 0 12px 44px rgba(27, 60, 116, 0.22);

    --transition: 0.3s ease;
}

/* ========================================
   ベース
======================================== */
html {
    scroll-behavior: smooth;
}
html,
body {
    background-color: var(--color-cream);
    background-image: linear-gradient(rgba(255, 248, 236, 0.9), rgba(255, 248, 236, 0.9)), url("../img/bg.png");
    background-repeat: no-repeat, repeat;
    background-size: auto, 100px auto;
    color: var(--color-text);
    overflow-x: hidden;
}
body h1,
body h2 {
    font-family: "source-han-sans-japanese", "Noto Sans JP", sans-serif;
    font-weight: 700;
    letter-spacing: 0.08em;
    line-height: 1.4;
}
body h3 {
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: 0.1em;
}
body h4,
body h5,
body h6,
body p,
body table,
body a,
body span,
body input,
body textarea,
body button {
    font-family: "source-han-sans-japanese", "Noto Sans JP", sans-serif;
    font-weight: 400;
    letter-spacing: 0.06em;
    line-height: 1.9;
}

/* フェードイン */
.fadein {
    opacity: 0;
    transform: translate(0, 40px);
    transition: all 1200ms;
}
.fadein.scrollin {
    opacity: 1;
    transform: translate(0, 0);
}

/* ========================================
   ボタン
======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 15px 42px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.1em;
    border-radius: var(--radius-xl);
    text-decoration: none;
    transition: all var(--transition);
    border: none;
    cursor: pointer;
}
.btn::after {
    content: "\203A";
    font-size: 18px;
    line-height: 1;
    position: relative;
    top: -1px;
}
.btn-accent {
    background: var(--color-gold);
    color: var(--color-navy-dark);
    border: 2px solid var(--color-gold);
    box-shadow: 0 4px 16px rgba(255, 191, 63, 0.4);
}
.btn-accent:hover {
    background: var(--color-gold-dark);
    border-color: var(--color-gold-dark);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 191, 63, 0.45);
}
.btn-outline {
    background: transparent;
    color: var(--color-white);
    border: 2.5px solid var(--color-white);
}
.btn-outline:hover {
    background: var(--color-white);
    color: var(--color-navy);
    transform: translateY(-2px);
}

/* ========================================
   グローバルナビゲーション
======================================== */
#global-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    z-index: 1000;
    background: var(--color-navy);
    box-shadow: 0 2px 18px rgba(0, 0, 0, 0.2);
    transition: background 0.4s ease, box-shadow 0.4s ease;
    border-bottom: 3px solid var(--color-gold);
}
#global-nav.scrolled {
    background: rgba(27, 60, 116, 0.85);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}
.nav-inner {
    max-width: 1200px;
    width: 94%;
    height: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.nav-logo {
    display: flex;
    align-items: center;
}
.nav-logo img {
    height: 40px;
    width: auto;
    display: block;
}
.nav-menu {
    display: flex;
    align-items: center;
    gap: 2px;
}
.nav-menu a {
    display: inline-block;
    padding: 8px 15px;
    font-size: 13px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.92);
    letter-spacing: 0.06em;
    border-radius: var(--radius-xl);
    transition: color var(--transition);
    position: relative;
}
.nav-menu a::after {
    content: "";
    position: absolute;
    bottom: 3px;
    left: 15px;
    right: 15px;
    height: 2px;
    background: var(--color-gold);
    transform: scaleX(0);
    transition: transform var(--transition);
    border-radius: 2px;
}
.nav-menu a:hover {
    color: #ffffff;
}
.nav-menu a:hover::after {
    transform: scaleX(1);
}
.nav-menu .nav-contact {
    background: var(--color-gold);
    color: var(--color-navy-dark);
    padding: 8px 20px;
    border: 2px solid var(--color-gold);
}
.nav-menu .nav-contact::after {
    display: none;
}
.nav-menu .nav-contact:hover {
    background: var(--color-gold-dark);
    border-color: var(--color-gold-dark);
    color: #fff;
}
.nav-hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    padding: 4px;
}
.nav-hamburger span {
    display: block;
    width: 100%;
    height: 2.5px;
    background: #ffffff;
    border-radius: 2px;
    transition: all 0.3s ease;
}
#global-nav.open .nav-hamburger span:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
}
#global-nav.open .nav-hamburger span:nth-child(2) {
    opacity: 0;
}
#global-nav.open .nav-hamburger span:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg);
}
.nav-drawer {
    display: none;
    position: fixed;
    top: var(--nav-height-sp);
    left: 0;
    width: 100%;
    background: var(--color-navy);
    z-index: 999;
    box-shadow: 0 8px 26px rgba(0, 0, 0, 0.25);
    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s ease, opacity 0.3s ease;
    border-bottom: 3px solid var(--color-gold);
}
#global-nav.open .nav-drawer {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
}
.nav-drawer ul {
    padding: 14px 0 6px;
}
.nav-drawer ul li a {
    display: block;
    padding: 14px 24px;
    font-size: 15px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.92);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.nav-drawer ul li:last-child a {
    border-bottom: none;
}
.drawer-contact {
    display: block;
    margin: 16px 24px 24px;
    padding: 14px;
    text-align: center;
    background: var(--color-gold);
    color: var(--color-navy-dark);
    border-radius: var(--radius-xl);
    font-weight: 700;
    font-size: 14px;
}

/* ========================================
   ヒーロー
======================================== */
#hero {
    width: 100%;
    padding-top: var(--nav-height);
    position: relative;
}
#hero img {
    width: 100%;
    display: block;
}
.hero-ribbon {
    background: var(--color-sky);
    padding: 10px 0;
    text-align: center;
}
.hero-ribbon p {
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* ========================================
   セクション共通
======================================== */
.section-base {
    width: 100%;
    padding: 90px 0;
    position: relative;
}
.container {
    max-width: 1040px;
    width: 94%;
    margin: 0 auto;
    position: relative;
}
.section-header {
    text-align: center;
    margin-bottom: 44px;
}
.section-label {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.22em;
    color: var(--color-red);
    margin-bottom: 10px;
}
.section-label.on-navy {
    color: var(--color-gold-light);
}
.section-title {
    font-family: var(--font-title-jp);
    font-size: 30px;
    font-weight: 700;
    color: var(--color-navy);
    letter-spacing: 0.04em;
}
.section-title.white {
    color: #ffffff;
}
.section-subtitle {
    margin-top: 18px;
    font-size: 15px;
    line-height: 2;
    color: var(--color-text-light);
}
.section-subtitle.white {
    color: rgba(255, 255, 255, 0.88);
}

.section-navy {
    background: var(--color-navy);
    background-image: url("../img/bg.png");
    background-size: 130px auto;
    background-blend-mode: soft-light;
}
.section-cream {
    background: var(--color-cream);
}
/* EVENT INFO / BEER / FOOD 用：キービジュと同じ菱形をそのまま敷く
   bg.png は菱形部分だけが不透明・地は透明なので、必ず地色を敷いてから重ねる
   （地色を敷かないと下層のクリーム地菱形パターンと二重に透けて見えてしまう）
   白のグラデーションを薄く重ねて色を少し弱め、PC/SPでサイズを出し分ける */
.section-diamond {
    background-color: #ffffff;
    background-image: linear-gradient(rgba(255, 255, 255, 0.45), rgba(255, 255, 255, 0.45)), url("../img/bg.png");
    background-repeat: no-repeat, repeat;
    background-size: auto, 320px auto;
}
@media (max-width: 768px) {
    .section-diamond {
        background-size: auto, 130px auto;
    }
}

/* ========================================
   カード共通（縁にあしらいを添える）
======================================== */
.deco-card {
    position: relative;
    background: var(--color-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(27, 60, 116, 0.08);
}
/* カード幅はページ全体で1000pxに統一 */
.card-wide {
    max-width: 1000px;
    width: 100%;
    margin: 0 auto;
    padding: 44px 5%;
    position: relative;
}
.card-wide + .card-wide {
    margin-top: 96px;
}
@media (max-width: 768px) {
    .card-wide + .card-wide {
        margin-top: 64px;
    }
}
.card-motif {
    position: absolute;
    z-index: 3;
    pointer-events: none;
    filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.18));
}

/* ========================================
   EVENT INFO（開催概要カード）
======================================== */
.info-card-wrap {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}
.info-card {
    padding: 48px 6%;
    text-align: left;
}
.info-card-label {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: var(--color-navy);
    background: rgba(27, 60, 116, 0.06);
    padding: 6px 18px;
    border-radius: var(--radius-xl);
    border: 2px solid rgba(27, 60, 116, 0.18);
    margin-bottom: 24px;
}
/* カード内に見出しブロックを内包する場合：英字ラベル+タイトルはセンター、本文は左揃え */
.card-intro {
    text-align: center;
    margin-bottom: 30px;
}
.card-intro .section-label {
    margin-bottom: 8px;
}
.card-intro .section-title {
    font-size: 24px;
    margin-bottom: 14px;
}
.card-intro .section-subtitle {
    margin-top: 0;
    text-align: left;
}
.card-divider {
    height: 1px;
    background: rgba(27, 60, 116, 0.14);
    margin: 30px 0;
}
.info-table {
    width: 100%;
    border-collapse: collapse;
}
.info-table th,
.info-table td {
    text-align: left;
    padding: 12px 0;
    font-size: 14.5px;
    line-height: 1.9;
    border-bottom: 1px dashed rgba(27, 60, 116, 0.18);
    vertical-align: top;
}
.info-table tr:last-child th,
.info-table tr:last-child td {
    border-bottom: none;
}
.info-table th {
    width: 110px;
    color: var(--color-navy);
    font-weight: 700;
    white-space: nowrap;
    letter-spacing: 0.08em;
}
.info-table td a {
    color: var(--color-sky-dark);
    text-decoration: underline;
    word-break: break-all;
}
.info-note {
    margin-top: 22px;
    font-size: 12.5px;
    color: var(--color-text-light);
    line-height: 1.9;
}
.btn-box {
    text-align: center;
    margin-top: 40px;
}

/* ========================================
   ABOUT
======================================== */
.about-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}
.about-photo {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    position: relative;
}
.about-photo img {
    width: 100%;
    display: block;
}
.about-text-card {
    padding: 40px 8%;
    position: relative;
}
.about-text-card h2 {
    font-family: var(--font-title-jp);
    font-weight: 700;
    font-size: 24px;
    color: var(--color-navy);
    margin-bottom: 20px;
}
.about-text-card p {
    font-size: 14.5px;
    line-height: 2.05;
    color: var(--color-text);
}
.about-text-card p + p {
    margin-top: 16px;
}

/* ========================================
   BEER / FOOD グリッド
======================================== */
.item-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-top: 40px;
}
/* 4点のみのFOODなど、2カラムで見せたい場合 */
.item-grid.item-grid-2col {
    grid-template-columns: repeat(2, 1fr);
}
.item-card {
    overflow: hidden;
    text-align: center;
}
.item-card .item-photo {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: var(--radius-md);
}
.item-card .item-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}
.item-card:hover .item-photo img {
    transform: scale(1.08);
}
.item-card .item-name {
    padding: 12px 8px 16px;
    font-size: 12.5px;
    font-weight: 700;
    color: var(--color-navy);
    letter-spacing: 0.04em;
    line-height: 1.6;
}

/* ビールはロゴをタップすると詳細ポップアップが開く */
.item-grid-beer .item-photo {
    aspect-ratio: 4 / 3;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(27, 60, 116, 0.08);
}
.item-grid-beer .item-photo img {
    object-fit: contain;
    padding: 12%;
    transition: none;
}
.beer-logo-card {
    display: block;
    width: 100%;
    background: none;
    border: none;
    margin: 0;
    padding: 0;
    font: inherit;
    color: inherit;
    cursor: pointer;
}
/* ロゴ自体の拡大(scale)は使わず、カード全体をふわっと持ち上げるだけにする
   （scale+box-shadowの同時遷移がガタつく原因だったため、transformのみに一本化） */
.item-grid-beer .item-card:hover .item-photo img {
    transform: none;
}
.beer-logo-card .item-photo {
    transition: transform 0.25s ease, border-color 0.25s ease;
}
.beer-logo-card:hover .item-photo {
    transform: translateY(-4px);
    border-color: rgba(27, 60, 116, 0.18);
}
.beer-coming-soon .item-photo.coming-soon-photo {
    background: repeating-linear-gradient(45deg, rgba(27, 60, 116, 0.04), rgba(27, 60, 116, 0.04) 10px, rgba(27, 60, 116, 0.09) 10px, rgba(27, 60, 116, 0.09) 20px);
    border: 2px dashed rgba(27, 60, 116, 0.25);
}
.coming-soon-text {
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.12em;
    line-height: 1.5;
    color: var(--color-navy-light);
    text-align: center;
}

/* ビール紹介モーダル */
.beer-modal {
    position: fixed;
    inset: 0;
    background: rgba(18, 41, 79, 0.72);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.beer-modal.is-open {
    opacity: 1;
    pointer-events: all;
}
.beer-modal-card {
    position: relative;
    background: #ffffff;
    border-radius: var(--radius-lg);
    max-width: 600px;
    width: 100%;
    padding: 48px 8%;
    text-align: center;
    box-shadow: var(--shadow-lg);
    transform: translateY(16px);
    transition: transform 0.3s ease;
}
.beer-modal.is-open .beer-modal-card {
    transform: translateY(0);
}
.beer-modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f2ece0;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    line-height: 1;
    color: var(--color-text);
    cursor: pointer;
    transition: background 0.2s;
}
.beer-modal-close:hover {
    background: #e6dbc7;
}
.beer-modal-img-wrap {
    width: 100%;
    max-width: 380px;
    margin: 0 auto 26px;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: var(--radius-md);
    border: 1px solid rgba(27, 60, 116, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
}
.beer-modal-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.beer-modal-name {
    font-family: var(--font-title-jp);
    font-size: 20px;
    font-weight: 700;
    color: var(--color-navy);
    margin-bottom: 18px;
}
.beer-modal-desc {
    font-size: 14px;
    line-height: 2.1;
    color: var(--color-text);
    text-align: left;
}
.beer-modal-note {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid #ece3d2;
    font-size: 12px;
    line-height: 1.9;
    color: var(--color-text-light);
    text-align: left;
}
body.modal-open {
    overflow: hidden;
}
@media (max-width: 480px) {
    .beer-modal-card {
        padding: 40px 7%;
    }
}

.grid-caption {
    text-align: center;
    font-size: 12px;
    color: var(--color-text-light);
    margin-top: 18px;
}
.lead-text {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
    font-size: 14.5px;
    line-height: 2.1;
    color: var(--color-text);
    padding: 32px 6% 0;
}

/* ========================================
   GALLERY（流れるスライド）
======================================== */
.gallery-slide {
    width: 100%;
    overflow: hidden;
    line-height: 0;
}
.gallery-track {
    display: flex;
    width: max-content;
    will-change: transform;
    animation: gallery-scroll 46s linear infinite;
}
.gallery-item {
    flex: 0 0 auto;
    width: 260px;
    height: 180px;
    margin-right: 0;
    overflow: hidden;
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
@keyframes gallery-scroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

/* ========================================
   SNS
======================================== */
.section-sns {
    padding: 70px 0;
    text-align: center;
}
.sns-links {
    display: flex;
    justify-content: center;
    gap: 22px;
    margin-top: 26px;
}
.sns-links a {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition);
}
.sns-links a:hover {
    transform: translateY(-4px);
}
.sns-links img {
    width: 26px;
    height: 26px;
}

/* ========================================
   CONTACT
======================================== */
.section-contact {
    padding: 70px 0;
    text-align: center;
}
.contact-inner h3 {
    font-size: 13px;
    color: var(--color-gold-light);
    letter-spacing: 0.2em;
    margin-bottom: 10px;
}
.contact-inner h2 {
    font-family: var(--font-title-jp);
    font-weight: 700;
    font-size: 28px;
    color: #ffffff;
    margin-bottom: 14px;
}
.contact-inner p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 30px;
}

/* ========================================
   フッター
======================================== */
footer {
    background: var(--color-navy-dark);
    padding: 46px 0 26px;
}
.footer-logo {
    text-align: center;
    margin-bottom: 32px;
}
.footer-logo img {
    width: 300px;
    max-width: 60%;
    display: inline-block;
}
.footer-nav ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 26px;
    margin-bottom: 22px;
}
.footer-nav a {
    font-size: 12.5px;
    color: rgba(255, 255, 255, 0.78);
    letter-spacing: 0.06em;
}
.footer-nav a:hover {
    color: var(--color-gold-light);
}
.footer-copy {
    text-align: center;
}
.footer-copy p {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 0.06em;
}

/* ========================================
   ページトップボタン
======================================== */
#page-top {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 48px;
    height: 48px;
    background: var(--color-navy);
    border: 2px solid var(--color-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 500;
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}
#page-top.is-visible {
    opacity: 1;
    pointer-events: all;
    transform: translateY(0);
}
#page-top svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: var(--color-gold-light);
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* ========================================
   メールフォーム（info.php / confirm.php / send.php）
   ナビは index.html と同じ #global-nav 構造を再利用
======================================== */
.form-section {
    padding: calc(90px + var(--nav-height)) 0 90px;
    min-height: 60vh;
}
@media (max-width: 768px) {
    .form-section {
        padding: calc(60px + var(--nav-height)) 0 60px;
    }
}
.form-group {
    margin-bottom: 30px;
}
.form-label {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}
.badge-required {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 2px 10px;
    background: var(--color-red);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    border-radius: 20px;
    letter-spacing: 0.06em;
    flex-shrink: 0;
}
.label-text {
    font-size: 15px;
    font-weight: 700;
    color: var(--color-text);
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.form-input,
.form-textarea {
    width: 100%;
    padding: 14px 18px;
    font-size: 15px;
    color: var(--color-text);
    background: #f7f4ee;
    border: 1.5px solid #d9cdb8;
    border-radius: var(--radius-sm);
    outline: none;
    transition: border-color 0.25s, box-shadow 0.25s, background 0.25s;
    -webkit-appearance: none;
}
.form-input::placeholder,
.form-textarea::placeholder {
    color: #a99a84;
}
.form-input:focus,
.form-textarea:focus {
    border-color: var(--color-navy);
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(27, 60, 116, 0.1);
}
.form-textarea {
    min-height: 200px;
    resize: vertical;
    line-height: 1.8;
}
.form-submit {
    text-align: center;
    margin-top: 46px;
}
.btn-back-form {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 15px 40px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: var(--color-text);
    background: #f2ece0;
    border: 1.5px solid #d9cdb8;
    border-radius: var(--radius-xl);
    cursor: pointer;
    transition: background 0.25s, transform 0.25s;
}
.btn-back-form:hover {
    background: #e6dbc7;
    transform: translateY(-2px);
}
.confirm-lead {
    text-align: center;
    font-size: 15px;
    color: var(--color-text);
    line-height: 2;
    margin-bottom: 40px;
    padding-bottom: 34px;
    border-bottom: 1.5px solid #e4dac6;
}
.confirm-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 40px;
}
.confirm-table th,
.confirm-table td {
    padding: 18px 20px;
    font-size: 14px;
    line-height: 1.9;
    border-bottom: 1px solid #ece3d2;
    text-align: left;
    vertical-align: top;
}
.confirm-table th {
    width: 32%;
    font-weight: 700;
    color: var(--color-navy);
    white-space: nowrap;
}
.confirm-table td {
    color: var(--color-text);
}
.confirm-table tr:last-child th,
.confirm-table tr:last-child td {
    border-bottom: none;
}
.confirm-message-text {
    white-space: pre-wrap;
}
.form-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-top: 46px;
    flex-wrap: wrap;
}
.error-box {
    background: #fdf0ef;
    border: 1.5px solid #f0b8b2;
    border-radius: var(--radius-sm);
    padding: 20px 24px;
    margin-bottom: 34px;
}
.error-box p {
    font-size: 14px;
    color: var(--color-red-dark);
    line-height: 2;
}
.back-to-web {
    padding: 70px 0;
    text-align: center;
}
.back-to-web-inner {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
}
.back-to-web p {
    font-size: 15px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.92);
    line-height: 1.9;
}
.thanks-card {
    max-width: 660px;
    width: 94%;
    margin: 0 auto;
    background: #ffffff;
    border-radius: var(--radius-lg);
    padding: 66px 9%;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(27, 60, 116, 0.1);
    text-align: center;
}
.thanks-icon {
    width: 70px;
    height: 70px;
    background: var(--color-navy);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 26px;
}
.thanks-icon svg,
.error-icon svg {
    width: 34px;
    height: 34px;
    fill: none;
    stroke: #fff;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.error-icon {
    width: 70px;
    height: 70px;
    background: #c0392b;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 26px;
}
.thanks-label {
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: var(--color-red);
    margin-bottom: 12px;
}
.thanks-card h1 {
    font-family: var(--font-title-jp);
    font-size: 30px;
    font-weight: 700;
    color: var(--color-navy);
    letter-spacing: 0.04em;
    margin-bottom: 26px;
}
.thanks-divider {
    width: 56px;
    height: 3px;
    background: linear-gradient(90deg, var(--color-navy), var(--color-gold));
    border-radius: 2px;
    margin: 0 auto 26px;
}
.thanks-card p {
    font-size: 15px;
    line-height: 2.1;
    color: var(--color-text);
    margin-bottom: 14px;
}
.thanks-note {
    margin-top: 30px;
    padding: 18px 20px;
    background: #eaf1fb;
    border-left: 4px solid var(--color-navy-light);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    font-size: 13px;
    color: var(--color-text-light);
    line-height: 2;
    text-align: left;
}
.thanks-btn-wrap {
    margin-top: 40px;
}
/* 改行の出し分け */
.br-sp {
    display: none;
}
@media (max-width: 768px) {
    .br-pc {
        display: none;
    }
    .br-sp {
        display: inline;
    }
}

/* ========================================
   カード縁あしらい：個別配置
======================================== */
.motif-info-pretzel {
    width: 92px;
    top: -34px;
    left: -30px;
    transform: rotate(-14deg);
}
.motif-info-mug {
    width: 78px;
    bottom: -28px;
    right: -22px;
    transform: rotate(10deg);
}
.motif-about-edelweiss {
    width: 76px;
    top: -26px;
    right: -12px;
    transform: rotate(8deg);
}
.motif-about-wheat {
    width: 70px;
    bottom: -30px;
    left: -22px;
    transform: rotate(-10deg);
}
.motif-beer-hops-a {
    width: 84px;
    top: -30px;
    left: -20px;
    transform: rotate(-12deg);
}
.motif-beer-hops-b {
    width: 76px;
    bottom: -26px;
    right: -18px;
    transform: rotate(14deg);
}
.motif-food-sausage {
    width: 86px;
    top: -30px;
    right: -22px;
    transform: rotate(16deg);
}
.motif-food-chickenleg {
    width: 90px;
    bottom: -32px;
    left: -24px;
    transform: rotate(-12deg);
}
.motif-contact-accordion {
    width: 92px;
    top: -34px;
    left: 30px;
    transform: rotate(-10deg);
}
.motif-contact-sax {
    width: 70px;
    bottom: -28px;
    right: 34px;
    transform: rotate(12deg);
}
.motif-hero-hat {
    width: 96px;
    top: 10px;
    right: 4%;
    transform: rotate(8deg);
}
.motif-gallery-garland {
    width: 130px;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
}
@media (max-width: 768px) {
    .motif-info-pretzel,
    .motif-food-sausage,
    .motif-food-chickenleg,
    .motif-contact-accordion {
        width: 62px;
    }
    .motif-info-mug,
    .motif-about-edelweiss,
    .motif-about-wheat,
    .motif-beer-hops-a,
    .motif-beer-hops-b,
    .motif-contact-sax {
        width: 52px;
    }
    .motif-hero-hat {
        display: none;
    }
    .motif-gallery-garland {
        width: 90px;
    }
    /* スマホ幅では左右にはみ出して見切れるため、内側に収める */
    .motif-info-pretzel {
        left: -8px;
    }
    .motif-info-mug {
        right: -8px;
    }
    .motif-about-edelweiss {
        right: -6px;
    }
    .motif-about-wheat {
        left: -8px;
    }
    .motif-beer-hops-a {
        left: -8px;
    }
    .motif-beer-hops-b {
        right: -8px;
    }
    .motif-food-sausage {
        right: -8px;
    }
    .motif-food-chickenleg {
        left: -8px;
    }
}

/* ========================================
   レスポンシブ
======================================== */
@media (max-width: 900px) {
    .about-wrap {
        grid-template-columns: 1fr;
    }
    .item-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    :root {
        --nav-height: var(--nav-height-sp);
    }
    .nav-logo img {
        height: 26px;
    }
    .nav-menu {
        display: none;
    }
    .nav-hamburger {
        display: flex;
    }
    .nav-drawer {
        display: block;
    }
    .section-base {
        padding: 60px 0;
    }
    .section-title {
        font-size: 24px;
    }
    .info-card {
        padding: 38px 8%;
    }
    .about-text-card {
        padding: 32px 8%;
    }
    .item-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }
    .form-row {
        grid-template-columns: 1fr;
    }
    .confirm-table th {
        width: 40%;
    }
    .thanks-card {
        padding: 50px 7%;
    }
    .footer-logo img {
        width: 170px;
    }
}

@media (max-width: 480px) {
    .item-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .gallery-item {
        width: 190px;
        height: 130px;
    }
    .info-table th {
        width: 88px;
        font-size: 13px;
    }
    .info-table td {
        font-size: 13px;
    }
}
