/* Tiny Market 本番用の単独CSS。
 * 基本レイアウト、共通部品、レスポンシブ調整をこのファイルで管理する。
 * 主な境界幅は、セクションの段組みが960px、PC本文が1100px、
 * 固定サイドナビが1400px。
 */

/* デザイン共通値 */
:root {
    --paper: #fffaf0;
    --panel: #ffe09a;
    --white: #ffffff;
    --orange: #f26522;
    --mustard: #f8c957;
    --teal: #0f6f70;
    --ink: #073f4b;
    --muted: #49686b;
    --line: #bdcbc5;
    --line-dark: #2a6267;
    --coral: #ef6660;
    --leaf: #75ad68;
    --hero-paper: #fffdf7;
    --max-width: 1320px;
}
/* ページ全体の基本設定 */
*,
*::before,
*::after { box-sizing: border-box; }

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

body {
    margin: 0;
    min-width: 320px;
    color: var(--ink);
    font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif;
    font-size: 16px;
    line-height: 1.8;
    overflow-x: hidden;
}

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

a { color: inherit; }

button { color: inherit; font: inherit; }

h1,
h2,
h3,
p,
dl,
dd { margin-top: 0; }

h1,
h2,
h3 { line-height: 1.35; }

h1,
h2,
h3,
p,
dd,
li,
a { overflow-wrap: anywhere; }

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

.skip-link {
    position: fixed;
    top: 8px;
    left: 8px;
    z-index: 200;
    padding: 8px 14px;
    color: var(--white);
    background: var(--ink);
    transform: translateY(-150%);
}

.skip-link:focus { transform: translateY(0); }

/* ヘッダーとナビゲーションの基本設定 */
.site-header { position: sticky; top: 0; z-index: 40; backdrop-filter: blur(8px); }

.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; }

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }

.brand b { display: block; font-size: 16px; }

.menu-toggle,
.mobile-menu,
.desktop-rail { display: none; }

/* ヒーローの基本設定 */
.hero-stack { display: flex; flex-direction: column; }

.hero-visual-shell { position: relative; width: 100%; }

.hero-stack > *,
.gift-grid > *,
.photo-grid > *,
.seller-card > *,
.access-grid > * { min-width: 0; }

.hero-info-card { position: relative; z-index: 4; }

.eyebrow { font-weight: 800; }

.field { display: inline-block; max-width: 100%; padding: 1px 8px; font-size: .88em; font-weight: 600; }

.button {
    min-height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 22px;
    font-size: 15px;
    font-weight: 800;
    text-decoration: none;
    transition: transform .2s ease, background-color .2s ease, color .2s ease;
}

.image-placeholder {
    position: relative;
    overflow: hidden;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 8px;
    text-align: center;
}

.image-placeholder::before,
.image-placeholder::after { content: ""; position: absolute; top: 50%; left: 50%; z-index: 0; width: 150%; height: 1px; }

.image-placeholder::before { transform: translate(-50%, -50%) rotate(32deg); }

.image-placeholder::after { transform: translate(-50%, -50%) rotate(-32deg); }

.image-placeholder span,
.image-placeholder small { position: relative; z-index: 1; padding: 3px 8px; }

.image-placeholder span { font-size: 12px; font-weight: 800; letter-spacing: .12em; }

.image-placeholder small { max-width: 80%; font-size: 11px; }

.hero-motif { position: absolute; z-index: 5; display: block; animation: happy-float 3.2s ease-in-out infinite; }

.hero-motif svg { display: block; width: 100%; height: auto; overflow: visible; }

.hero-motif--bat path { fill: currentColor; stroke: var(--white); stroke-width: 3; stroke-linejoin: round; }

.hero-motif--bat circle { fill: var(--white); stroke: none; }

.hero-motif--bat svg { transform-origin: center; animation: bat-flap .9s ease-in-out infinite; }

.hero-motif--bat-two { animation-delay: -.9s; }

.hero-motif--bat-two svg { animation-delay: -.35s; }

.hero-motif--pumpkin { transform: rotate(5deg); animation-delay: -1.8s; }

/* 本文セクションの共通設定 */
.section-heading { display: flex; align-items: flex-start; gap: 18px; }

.section-heading__main { display: flex; align-items: flex-start; gap: 18px; }

.section-heading h2 { margin-bottom: 0; font-size: clamp(26px, 2.6vw, 36px); line-height: 1.5; text-wrap: pretty; }

.section-heading h2::after {
    content: "";
    display: block;
    width: min(140px, 100%);
    height: 4px;
    margin-top: 10px;
    border-bottom: 4px dashed var(--orange);
}

.section-number {
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    margin-top: 4px;
    color: var(--ink);
    background: var(--orange);
    border: 2px solid var(--ink);
    border-radius: 50%;
    box-shadow: 3px 3px 0 var(--mustard);
    font-size: 16px;
    font-weight: 800;
    line-height: 1;
}

.venue-details dt { margin-bottom: 4px; font-size: 14px; font-weight: 600; }

.venue-details dd,
.photo-details dd { margin: 0; }

.photo-details .field { padding: 0; font-size: inherit; font-weight: inherit; }

.section-heading { margin-bottom: 58px; }

.narrow-layout { max-width: 970px; }

#about { padding-block: clamp(64px, 6vw, 84px); }

#about .section-heading { margin-bottom: 36px; }

/* 開催について */
.about-content { max-width: 760px; }

.lead-copy { margin-bottom: 32px; font-size: clamp(18px, 2vw, 20px); font-weight: 700; line-height: 1.8; }

.body-copy p:last-child { margin-bottom: 0; }

/* プレゼント企画とフォトスポット */
.gift-grid,
.photo-grid {
    display: grid;
    gap: clamp(56px, 5vw, 64px);
    align-items: center;
}

.gift-grid { grid-template-columns: minmax(0, 1.05fr) minmax(340px, .95fr); }

.photo-grid { grid-template-columns: minmax(340px, .85fr) minmax(0, 1.15fr); }

.image-placeholder--gift,
.image-placeholder--photo { min-height: 430px; }

.section-heading--compact { margin-bottom: 38px; }

.gift-catch,
.photo-lead {
    margin-bottom: 30px;
    font-size: clamp(24px, 2.55vw, 32px);
    font-weight: 700;
    line-height: 1.6;
}

.gift-visual { position: relative; }

.gift-sticker {
    position: absolute;
    top: -22px;
    right: -18px;
    z-index: 2;
    width: 88px;
    height: 88px;
    display: grid;
    place-items: center;
    color: var(--orange);
    background: #fffaf0;
    border: 2px solid var(--ink);
    border-radius: 48% 52% 46% 54%;
    box-shadow: 4px 5px 0 var(--mustard);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.15;
    text-align: center;
    transform: rotate(7deg);
}

.note {
    display: inline-block;
    margin-bottom: 0;
    padding: 4px 10px;
    background: #fffaf0;
    border: 1px dashed var(--orange);
    font-size: 14px;
    font-weight: 600;
}

.photo-visual {
    position: relative;
    min-width: 0;
    padding: 10px 10px 42px;
    background: var(--white);
    border: 1px solid rgba(7, 63, 75, .32);
    border-radius: 4px;
    transform: rotate(-.35deg);
}

.photo-visual .image-placeholder--photo { min-height: 388px; border-radius: 2px; }

.photo-spot-image {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 2px;
}

.photo-frame-label {
    position: absolute;
    bottom: 8px;
    left: 18px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--teal);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .12em;
}

.photo-frame-label svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.photo-details {
    margin-bottom: 0;
    border-top: 2px dotted rgba(15, 111, 112, .42);
}

.photo-details > div {
    display: grid;
    grid-template-columns: 100px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
    padding-block: 14px;
    border-bottom: 2px dotted rgba(15, 111, 112, .3);
}

.photo-details > div + div { margin-top: 0; }

.photo-details dt { margin-bottom: 4px; font-size: 14px; font-weight: 600; }

.photo-details dt span {
    display: block;
    margin-bottom: 2px;
    color: var(--orange);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .13em;
}

.photo-details dd { font-size: 16px; font-weight: 500; }

.photo-details .field {
    display: inline-block;
    padding: 2px 10px;
    background: #fff8df;
    border: 1px solid rgba(15, 111, 112, .34);
    font-weight: 600;
}

/* 出店者一覧 */
.section-heading--between { justify-content: space-between; }

.section-summary { margin-bottom: 0; font-size: 14px; text-align: right; }

.seller-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 34px;
    row-gap: 82px;
    padding-top: 48px;
}

.seller-card {
    position: relative;
    isolation: isolate;
    min-width: 0;
    display: grid;
    grid-template-columns: 42% 58%;
    min-height: 270px;
}

.image-placeholder--card,
.seller-card__photo { position: relative; min-height: 268px; overflow: hidden; }

.seller-card__photo img { width: 100%; height: 100%; min-height: 268px; object-fit: cover; }

.seller-card--centered { grid-column: 1 / -1; width: calc((100% - 34px) / 2); justify-self: center; }

.seller-card__content {
    position: relative;
    align-self: stretch;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 28px;
}

.seller-card__content h3 { margin-bottom: 14px; font-size: clamp(21px, 2.1vw, 27px); font-weight: 700; }

.seller-card__content p { margin-bottom: 8px; font-size: 16px; }

.seller-card__content p:last-child { margin-bottom: 0; }

.seller-card__content .category {
    min-height: 25px;
    margin-bottom: 10px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .08em;
    line-height: 1.6;
}

.seller-description { font-weight: 500; line-height: 1.8; }

.peek-mascot {
    position: absolute;
    top: -47px;
    right: 24px;
    width: 82px;
    height: 76px;
    transform: translateY(39px) rotate(5deg);
    transform-origin: 50% 100%;
    transition: transform .38s cubic-bezier(.2, .9, .25, 1.35);
}

.peek-mascot--left { right: auto; left: 24px; transform: translateY(39px) rotate(-5deg); }

.seller-card:hover .peek-mascot,
.seller-card:focus-within .peek-mascot { transform: translateY(0) rotate(4deg); }

.seller-card:hover .peek-mascot--left,
.seller-card:focus-within .peek-mascot--left { transform: translateY(0) rotate(-4deg); }

.peek-mascot__face { position: absolute; inset: 10px 5px 0; display: block; border: 3px solid var(--ink); border-radius: 50%; }

.peek-mascot__face i { position: absolute; top: 23px; width: 6px; height: 6px; border-radius: 50%; }

.peek-mascot__face i:first-child { left: 18px; }

.peek-mascot__face i:nth-child(2) { right: 18px; }

.peek-mascot__face small {
    position: absolute;
    left: 50%;
    bottom: 8px;
    translate: -50% 0;
    font-family: Georgia, serif;
    font-size: 7px;
    font-style: normal;
    font-weight: 700;
    letter-spacing: .08em;
}

.peek-mascot--rabbit::before,
.peek-mascot--rabbit::after { content: ""; position: absolute; z-index: -1; }

.peek-mascot--cat::before,
.peek-mascot--cat::after { content: ""; position: absolute; }

.peek-mascot--bat::before,
.peek-mascot--bat::after { content: ""; position: absolute; z-index: -1; }

.peek-mascot--rabbit::before,
.peek-mascot--rabbit::after { top: -19px; width: 22px; height: 48px; border: 3px solid var(--ink); border-radius: 70% 70% 35% 35%; }

.peek-mascot--rabbit::before { left: 15px; transform: rotate(-12deg); }

.peek-mascot--rabbit::after { right: 15px; transform: rotate(12deg); }

.peek-mascot--cat::before,
.peek-mascot--cat::after { clip-path: polygon(50% 0, 100% 100%, 0 100%); }

.peek-mascot--ghost .peek-mascot__face { border-radius: 52% 52% 22% 22%; }

.peek-mascot--ghost .peek-mascot__face::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: -7px;
    left: 0;
    height: 15px;
    clip-path: polygon(0 0, 18% 100%, 36% 0, 54% 100%, 72% 0, 90% 100%, 100% 0);
}

.peek-mascot--bat::before,
.peek-mascot--bat::after { top: 18px; width: 36px; height: 42px; border: 3px solid var(--ink); }

.peek-mascot--bat::before { left: -18px; border-radius: 80% 15% 80% 20%; transform: rotate(-22deg); }

.peek-mascot--bat::after { right: -18px; border-radius: 15% 80% 20% 80%; transform: rotate(22deg); }

/* 会場・アクセス */
.access-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(330px, .8fr); gap: 70px; align-items: start; }

.venue-details dl { margin-bottom: 0; }

.venue-details dl > div { position: relative; padding-left: 40px; }

.venue-details dl > div + div { margin-top: 24px; }

.venue-details dd { font-size: 16px; font-weight: 500; }

.access-icon {
    flex: 0 0 auto;
    width: 24px;
    height: 24px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.venue-details dt .access-icon { position: absolute; top: 2px; left: 0; }

.access-note {
    margin: 26px 0 28px;
    padding-left: 40px;
}

.access-note__label { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; font-size: 14px; font-weight: 700; }

.access-note__icon { flex: 0 0 auto; width: 18px; height: 18px; fill: none; stroke: var(--orange); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.access-note p:last-child { margin-bottom: 0; font-size: 14px; line-height: 1.7; }

/* 主催者 */
.organizer-layout {
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
    gap: clamp(48px, 5vw, 72px);
    align-items: start;
}

.organizer-layout > * { min-width: 0; }

.organizer-section { padding-block: clamp(64px, 6vw, 84px); }

.organizer-section .section-heading { margin-bottom: clamp(34px, 3.5vw, 42px); }

.organizer-logo { width: min(300px, 68%); height: auto; margin-bottom: 18px; }

.organizer-store-name { margin-bottom: 6px; color: var(--ink); font-size: 20px; font-weight: 700; line-height: 1.5; }

.organizer-description {
    max-width: 620px;
    margin-bottom: 24px;
    padding-left: 14px;
    font-size: 17px;
    font-weight: 700;
    border-left: 4px solid var(--mustard);
}

.organizer-features { display: grid; gap: 10px; margin: 0; }

.organizer-features > div { display: grid; grid-template-columns: 116px minmax(0, 1fr); gap: 16px; }

.organizer-features dt { color: var(--orange); font-size: 14px; font-weight: 700; }

.organizer-features dd { margin: 0; font-size: 15px; line-height: 1.65; }

.organizer-contact { margin: 0; padding-left: 32px; border-left: 3px dashed var(--orange); }

.organizer-contact p { margin-bottom: 12px; }

.organizer-contact__eyebrow {
    margin-bottom: 5px;
    color: var(--orange);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .16em;
}

.organizer-contact .organizer-contact__label {
    margin-bottom: 12px;
    color: var(--ink);
    font-size: clamp(19px, 1.7vw, 23px);
    font-weight: 700;
    line-height: 1.5;
}

.organizer-contact__links { margin: 20px 0 0; padding: 0; list-style: none; }

.organizer-contact__links li { display: flex; align-items: baseline; gap: 14px; }

.organizer-contact__links li + li { margin-top: 10px; }

.organizer-contact__links span { flex: 0 0 38px; color: var(--orange); font-size: 10px; font-weight: 800; letter-spacing: .12em; }

.organizer-contact__link {
    display: inline;
    color: var(--teal);
    font-weight: 700;
    text-decoration-line: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
}

.copyright {
    min-height: 72px;
    display: grid;
    place-items: center;
    margin-bottom: 0;
    padding: 16px 24px;
    font-size: 12px;
    text-align: center;
}

:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }

/* モーション */
@keyframes happy-float {
    0%, 100% { translate: 0 0; }
    50% { translate: 0 -10px; }
}

@keyframes bat-flap {
    0%, 100% { transform: scaleY(1) rotate(0); }
    50% { transform: scaleY(.72) rotate(-2deg); }
}

/* 固定サイドナビは幅の広いPC画面だけで使用する */
@media (min-width: 1400px) {
    html { scroll-padding-top: 24px; }

    body { padding-left: 200px; }

    .site-header { display: none; }

    .desktop-rail { position: fixed; inset: 0 auto 0 0; z-index: 60; display: flex; flex-direction: column; }

    .rail-brand { display: block; text-decoration: none; }

    .rail-nav { display: grid; }

    .rail-nav a {
        display: grid;
        padding: 10px 2px;
        font-size: 14px;
        font-weight: 700;
        line-height: 1.5;
        text-decoration: none;
        transition: color .2s ease, padding-left .2s ease, background-color .2s ease;
    }

    .rail-nav a span { font-family: Georgia, serif; }

    .rail-nav a .rail-link-text { font-family: inherit; font-size: inherit; line-height: 1.45; }

    .rail-note { margin: auto 0 0; font-family: Georgia, serif; font-size: 9px; line-height: 1.6; letter-spacing: .12em; }
}

@media (max-width: 960px) {
    .gift-grid,
    .photo-grid { grid-template-columns: 1fr; gap: 32px; }

    .organizer-layout { grid-template-columns: 1fr; gap: 34px; }

    .organizer-contact { padding: 26px 0 0; border-top: 3px dashed var(--orange); border-left: 0; }

    .seller-card { grid-template-columns: 1fr; }

    .access-grid { gap: 45px; }
}

@media (max-width: 1399px) {
    html { scroll-padding-top: 82px; }

    .header-inner { min-height: 64px; }

    .menu-toggle {
        display: flex;
        align-items: center;
        gap: 8px;
        padding: 8px 0;
        background: transparent;
        border: 0;
        font-size: 12px;
        font-weight: 800;
    }

    .menu-toggle__icon,
    .menu-toggle__icon::before,
    .menu-toggle__icon::after { width: 22px; height: 1px; display: block; background: var(--ink); }

    .menu-toggle__icon { position: relative; }

    .menu-toggle__icon::before,
    .menu-toggle__icon::after { content: ""; position: absolute; left: 0; }

    .menu-toggle__icon::before { top: -6px; }

    .menu-toggle__icon::after { top: 6px; }

    .menu-toggle[aria-expanded="true"] .menu-toggle__icon { background: transparent; }

    .menu-toggle[aria-expanded="true"] .menu-toggle__icon::before { top: 0; transform: rotate(45deg); }

    .menu-toggle[aria-expanded="true"] .menu-toggle__icon::after { top: 0; transform: rotate(-45deg); }

    .mobile-menu { top: 100%; right: 0; left: 0; display: grid; grid-template-columns: repeat(2, 1fr); }

    .mobile-menu[hidden] { display: none; }

    .mobile-menu a {
        border-color: rgba(23,63,69,.2);
        font-size: 14px;
        font-weight: 700;
        text-decoration: none;
    }

    .mobile-menu a[aria-current="true"] { background: #ffe09a; }
}

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

    .section { padding-block: 64px; }

    .section-heading { margin-bottom: 32px; }

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

    .access-grid { grid-template-columns: 1fr; gap: 35px; }

    .lead-copy { font-size: 19px; }

    .image-placeholder--gift,
    .image-placeholder--photo { min-height: 300px; }

    .section-heading--between { align-items: flex-start; }

    .section-summary { display: none; }

    .section-heading--announcement { flex-direction: column; gap: 24px; }

    .section-summary--announcement { display: block; text-align: left; }

    .seller-grid { grid-template-columns: 1fr; row-gap: 68px; padding-top: 40px; }

    .seller-card { grid-template-columns: 41% 59%; min-height: 200px; }

    .seller-card--centered { grid-column: auto; width: 100%; }

    .image-placeholder--card,
    .seller-card__photo,
    .seller-card__photo img { min-height: 198px; }

    .seller-card__content { padding: 18px; }

    .seller-card__content h3 { font-size: 20px; }
}

@media (max-width: 700px) {
    .seller-card__content { border-radius: 0 0 7px 7px; }
}

@media (hover: none) {
    .peek-mascot,
    .peek-mascot--left { transform: translateY(5px) rotate(0); }
}

@media (max-width: 430px) {
    .seller-card { grid-template-columns: 1fr; }

    .image-placeholder--card,
    .seller-card__photo,
    .seller-card__photo img { min-height: 190px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }

    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}

/* 共通部品の配色と装飾 */
.brand b,
.rail-brand b { color: var(--ink); font-weight: 900; }

.desktop-rail { border-right: 3px solid var(--ink); }

.rail-nav { border-top: 2px solid var(--ink); }

.rail-nav a { border-bottom-color: rgba(23,63,69,.25); }

.rail-nav a:hover,
.rail-nav a:focus-visible,
.rail-nav a[aria-current="true"] { color: var(--ink); background: var(--white); }

.rail-nav a[aria-current="true"] { padding-left: 14px; box-shadow: inset 6px 0 0 var(--orange); }

.rail-note { color: var(--teal); font-weight: 800; }

.hero h1 { color: var(--ink); font-family: Georgia, "Times New Roman", serif; font-weight: 900; }

.button { border: 2px solid var(--ink); }

.button--primary { color: var(--white); background: var(--teal); }

.button--primary:hover { color: var(--ink); background: var(--mustard); }

.hero-motif { filter: drop-shadow(5px 6px 0 rgba(23,63,69,.2)); }

.hero-motif--pumpkin img { display: block; width: 100%; height: auto; }

.section { position: relative; font-size: 16px; font-weight: 500; }

.photo-section,
.shops-section,
.access-section,
.organizer-section { background: var(--hero-paper); }

.gift-section,
.photo-section {
    --section-stripe-angle: 135deg;
    --section-stripe-color: rgba(242, 101, 34, .028);
    --section-stripe-width: 12px;
    background-color: #fff0c9;
    background-image: repeating-linear-gradient(
        var(--section-stripe-angle),
        var(--section-stripe-color) 0 var(--section-stripe-width),
        transparent var(--section-stripe-width) calc(var(--section-stripe-width) * 2)
    );
}

.photo-section {
    --section-stripe-angle: 45deg;
    --section-stripe-color: rgba(15, 111, 112, .022);
    background-color: var(--hero-paper);
}

.section-heading h2 { color: var(--ink); }

.image-placeholder {
    color: var(--ink);
    background-color: #f4dca3;
    border: 3px solid var(--ink);
    border-radius: 8px;
}

.image-placeholder::before,
.image-placeholder::after { background: rgba(23,63,69,.28); }

.image-placeholder span,
.image-placeholder small { color: var(--ink); background: #fff8e8; border: 1px solid var(--ink); }

.image-placeholder--gift,
.image-placeholder--gift span,
.image-placeholder--gift small { background-color: #f7c971; }

.image-placeholder--photo,
.image-placeholder--photo span,
.image-placeholder--photo small { background-color: #b9dec3; }

.photo-section .container { position: relative; }

.photo-section .section-heading { position: relative; z-index: 2; min-height: 148px; margin-bottom: 0; padding-right: 230px; }

.photo-balloons {
    position: absolute;
    top: -24px;
    right: clamp(22px, 4vw, 60px);
    z-index: 1;
    width: 210px;
    height: 156px;
    overflow: hidden;
    pointer-events: none;
}

.photo-balloons__cluster { position: relative; width: 100%; height: 100%; }

.js .photo-balloons__cluster {
    opacity: 0;
    transform: translateY(72px);
    transition: opacity .36s .34s ease-out, transform 1.05s cubic-bezier(.18,.76,.25,1);
}

.js .photo-balloons.is-visible .photo-balloons__cluster { opacity: 1; transform: translateY(0); }

.photo-balloon {
    position: absolute;
    width: 64px;
    overflow: visible;
    color: #ff8faa;
    filter: drop-shadow(2px 3px 2px rgba(23,63,69,.14));
    transform-origin: 50% 70%;
    animation: photo-balloon-float 5.8s ease-in-out infinite;
}

.photo-balloon--pink { top: 25px; left: 5px; }

.photo-balloon--yellow { top: 12px; left: 73px; width: 70px; color: #ffd66f; animation-duration: 6.4s; animation-delay: -2.1s; }

.photo-balloon--mint { top: 30px; right: 0; width: 61px; color: #79d6c7; animation-duration: 5.3s; animation-delay: -3.4s; }

.photo-balloon__body,
.photo-balloon__knot { fill: currentColor; stroke: var(--ink); stroke-width: 2.2; stroke-linejoin: round; }

.photo-balloon__string {
    fill: none;
    stroke: var(--ink);
    stroke-width: 1.35;
    stroke-linecap: round;
    opacity: .78;
    transform-box: fill-box;
    transform-origin: 50% 0;
    animation: photo-balloon-string-sway 3.6s ease-in-out infinite alternate;
}

.photo-balloon--yellow .photo-balloon__string { animation-duration: 4.1s; animation-delay: -1.3s; }

.photo-balloon--mint .photo-balloon__string { animation-duration: 3.8s; animation-delay: -2.1s; }

.photo-balloon__shine { fill: none; stroke: rgba(255,255,255,.82); stroke-width: 3.2; stroke-linecap: round; }

@keyframes photo-balloon-float {
    0%, 100% { transform: translateY(0) rotate(-.8deg); }
    50% { transform: translateY(-5px) rotate(.8deg); }
}

@keyframes photo-balloon-string-sway {
    from { transform: rotate(-1.2deg); }
    to { transform: rotate(1.2deg); }
}

.seller-card { background: var(--white); border: 3px solid var(--ink); border-radius: 10px; box-shadow: 8px 8px 0 #f0bd67; }

.seller-card::after {
    content: "";
    position: absolute;
    inset: -3px;
    z-index: 3;
    pointer-events: none;
    border: 3px solid var(--ink);
    border-radius: 10px;
}

.seller-card:nth-child(even) { box-shadow: 8px 8px 0 #8dc8bc; }

.seller-card__content { background: #fffdf6; border-radius: 0 7px 7px 0; }

.seller-card__content .category { color: var(--teal); border-bottom: 2px dotted var(--mustard); }

.image-placeholder--card,
.seller-card__photo { border-right: 3px solid var(--ink); border-radius: 7px 0 0 7px; box-shadow: none; }

.image-placeholder--card,
.image-placeholder--card span { background-color: #f7d893; }

.seller-card:nth-child(2) .image-placeholder--card,
.seller-card:nth-child(2) .image-placeholder--card span { background-color: #b9ddd7; }

.seller-card:nth-child(3) .image-placeholder--card,
.seller-card:nth-child(3) .image-placeholder--card span { background-color: #f6beb2; }

.seller-card:nth-child(4) .image-placeholder--card,
.seller-card:nth-child(4) .image-placeholder--card span { background-color: #cfe3ab; }

.seller-card:nth-child(6) .image-placeholder--card,
.seller-card:nth-child(6) .image-placeholder--card span { background-color: #b9ddd7; }

.seller-card__photo img { filter: none; }

.peek-mascot { z-index: 1; color: var(--orange); }

.image-placeholder--card,
.seller-card__photo,
.seller-card__content { z-index: 2; }

.seller-card:nth-child(2) .peek-mascot { color: var(--teal); }

.seller-card:nth-child(3) .peek-mascot { color: var(--coral); }

.seller-card:nth-child(4) .peek-mascot { color: var(--leaf); }

.seller-card:nth-child(5) .peek-mascot { color: var(--mustard); }

.peek-mascot__face,
.peek-mascot--rabbit::before,
.peek-mascot--rabbit::after { background: currentColor; border-color: var(--ink); }

.peek-mascot--cat::before,
.peek-mascot--cat::after { border-color: var(--ink); }

.peek-mascot--bat::before,
.peek-mascot--bat::after { background: currentColor; border-color: var(--ink); }

.peek-mascot--ghost .peek-mascot__face::after { background: currentColor; }

.peek-mascot__face { box-shadow: 3px 4px 0 var(--ink); }

.peek-mascot__face i { background: var(--ink); }

.peek-mascot__face small { color: var(--ink); }

.peek-mascot--cat::before,
.peek-mascot--cat::after { top: -7px; z-index: -1; width: 34px; height: 38px; background: var(--ink); border: 0; }

.peek-mascot--cat::before { left: 6px; transform: rotate(-12deg); }

.peek-mascot--cat::after { right: 6px; transform: rotate(12deg); }

.peek-mascot--cat .peek-mascot__face { inset: 14px 4px 0; border-radius: 48% 48% 46% 46% / 44% 44% 56% 56%; }

.peek-mascot--cat .peek-mascot__face::before,
.peek-mascot--cat .peek-mascot__face::after {
    content: "";
    position: absolute;
    top: -17px;
    width: 26px;
    height: 30px;
    background: currentColor;
    clip-path: polygon(50% 0, 100% 100%, 0 100%);
}

.peek-mascot--cat .peek-mascot__face::before { left: 4px; transform: rotate(-12deg); }

.peek-mascot--cat .peek-mascot__face::after { right: 4px; transform: rotate(12deg); }

.peek-mascot--cat .peek-mascot__face i { top: 21px; }

.peek-mascot--cat .peek-mascot__face i:first-child { left: 19px; }

.peek-mascot--cat .peek-mascot__face i:nth-child(2) { right: 19px; }

.map-embed { min-height: 440px; overflow: hidden; background: var(--white); border: 1px solid rgba(7, 63, 75, .24); border-radius: 8px; }

.map-embed iframe { width: 100%; height: 440px; display: block; border: 0; }

.site-footer { background: var(--ink); }

.copyright { color: #e3f1ed; }

:focus-visible { outline-color: var(--orange); }

@media (max-width: 1099px) {
    .map-embed { min-height: 310px; }

    .map-embed iframe { height: 310px; }

    .photo-section .section-heading { padding-right: 190px; }

    .photo-balloons { right: 22px; width: 175px; }

    .photo-balloon { width: 55px; }

    .photo-balloon--pink { left: 3px; }

    .photo-balloon--yellow { left: 58px; width: 61px; }

    .photo-balloon--mint { width: 52px; }
}

@media (max-width: 700px) {
    .hero-visual-shell { box-shadow: 7px 8px 0 var(--teal); }
}

@media (max-width: 430px) {
    .header-inner { gap: 12px; }

    .brand { gap: 6px; }

    .brand b { white-space: nowrap; }

    .seller-card__content { border-radius: 0 0 7px 7px; }

    .image-placeholder--card,
    .seller-card__photo { border-right: 0; border-bottom: 3px solid var(--ink); border-radius: 7px 7px 0 0; }

    .photo-section .section-heading { min-height: 112px; padding-right: 58px; }

    .photo-balloons { top: -16px; right: 4px; width: 58px; height: 112px; }

    .photo-balloon--pink { top: 17px; left: 9px; width: 45px; }

    .photo-balloon--yellow,
    .photo-balloon--mint { display: none; }

    .js .photo-balloons__cluster { transform: translateY(48px); }
}

@media (prefers-reduced-motion: reduce) {
    .js .photo-balloons__cluster { opacity: 1; transform: none; transition: none; }

    .photo-balloon,
    .photo-balloon__string { animation: none; }
}

/* 本番テーマと画像素材の配置 */
body.theme-market-editorial {
    background-color: var(--paper);
}

#about { background: var(--hero-paper); }

.access-section {
    background-color: var(--paper);
    background-image: radial-gradient(circle at 18% 24%, rgba(242, 101, 34, .025) 0 1px, transparent 1.5px),
        linear-gradient(90deg, rgba(7, 63, 75, .018) 1px, transparent 1px),
        linear-gradient(rgba(7, 63, 75, .018) 1px, transparent 1px);
    background-size: 19px 19px, 32px 32px, 32px 32px;
}

.brand,
.rail-brand { color: var(--ink); }

.brand-lockup { display: grid; flex: 0 1 auto; justify-items: center; line-height: 0; }

.brand .brand-lockup { display: flex; align-items: center; gap: 10px; }

.brand-copy { display: grid; justify-items: center; gap: 3px; line-height: normal; }

.brand-lockup img { display: block; max-width: none; height: auto; object-fit: contain; }

.brand .brand-tent { width: 58px; margin-bottom: 0; }

.brand .brand-wordmark { width: 205px; }

.brand-theme,
.rail-theme {
    display: block;
    min-height: 0;
    padding: 0;
    color: var(--orange);
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .16em;
    line-height: 1.2;
    white-space: nowrap;
}

.site-header {
    background: rgba(255, 250, 240, .97);
    border-bottom: 1px solid rgba(7, 63, 75, .42);
    box-shadow: 0 5px 18px rgba(44, 64, 58, .05);
}

.header-inner { min-height: 88px; }

.menu-toggle { min-width: 88px; min-height: 52px; justify-content: center; border-left: 1px solid rgba(7, 63, 75, .32); }

.menu-toggle__label { font-family: Georgia, "Times New Roman", serif; font-size: 15px; letter-spacing: .12em; }

.mobile-menu a {
    position: relative;
    grid-template-columns: 38px minmax(0, 1fr) 18px;
    align-items: center;
    gap: 12px;
    min-height: 88px;
}

.mobile-menu a > span { font-family: Georgia, "Times New Roman", serif; font-size: 16px; font-weight: 800; }

.mobile-menu a > b { font-size: clamp(15px, 2.3vw, 22px); line-height: 1.35; }

.mobile-menu a > i { color: var(--orange); font-size: 34px; font-style: normal; font-weight: 400; line-height: 1; }

.desktop-rail { background: #fffaf0; }

.rail-brand { display: grid; justify-items: center; gap: 12px; }

.rail-brand .brand-lockup { width: 100%; min-width: 0; }

.rail-brand .brand-lockup img { max-width: 100%; }

.rail-brand .brand-tent { width: 90px; margin-bottom: -3px; }

.rail-brand .brand-wordmark { width: 210px; }

.rail-theme { width: auto; }

.rail-nav a { position: relative; align-items: center; min-height: 64px; padding: 11px 14px; }

.rail-nav a::after {
    content: "";
    position: absolute;
    right: 14px;
    width: 8px;
    height: 8px;
    border-top: 2px solid var(--orange);
    border-right: 2px solid var(--orange);
    transform: rotate(45deg);
    opacity: 0;
}

.rail-nav a:hover::after,
.rail-nav a:focus-visible::after,
.rail-nav a[aria-current="true"]::after { opacity: 1; }

.rail-footer { margin-top: auto; padding-top: 24px; text-align: center; }

.rail-footer img { width: 126px; height: auto; margin: 0 auto 18px; }

.rail-footer .rail-note { margin: 0 0 18px; }

.rail-message {
    margin: 0;
    color: var(--ink);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .19em;
    line-height: 1.8;
}

/* ヒーローの装飾と開催情報 */
.hero {
    position: relative;
    isolation: isolate;
    overflow: clip;
    padding-block: 26px 76px;
    background-color: var(--hero-paper);
    background-image: url("../images/hero-frame.png");
    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: cover;
    border-bottom: 0;
}

.hero-stack { position: relative; z-index: 2; align-items: stretch; }

.hero-visual-shell {
    display: flex;
    flex-direction: column;
    gap: 16px;
    height: auto;
    min-height: 0;
    overflow: visible;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.hero--stacked .hero-image,
.hero-image {
    position: relative;
    inset: auto;
    z-index: 1;
    width: 100%;
    height: auto;
    aspect-ratio: 2.45 / 1;
    object-fit: cover;
    object-position: center 54%;
    border: 8px solid var(--hero-paper);
    border-radius: 28px;
    box-shadow: 0 8px 22px rgba(45, 37, 25, .16);
}

.hero-frame-accent {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    width: clamp(260px, 23vw, 358px);
    height: auto;
    pointer-events: none;
}

.hero--stacked .hero-info-card,
.hero-info-card {
    width: calc(100% - 28px);
    margin-inline: auto;
    padding: clamp(30px, 4vw, 54px) clamp(28px, 5vw, 64px);
    overflow: hidden;
    background: transparent;
    transform: none;
}

.eyebrow {
    position: relative;
    z-index: 1;
    margin-bottom: 4px;
    color: var(--ink);
    font-size: clamp(12px, 1.3vw, 17px);
    letter-spacing: .17em;
}

.hero h1 {
    position: relative;
    z-index: 1;
    margin-bottom: 4px;
    font-size: clamp(60px, 8.2vw, 116px);
    line-height: .98;
    letter-spacing: -.055em;
    white-space: nowrap;
}

.hero-tagline {
    position: relative;
    z-index: 1;
    margin-bottom: 22px;
    font-size: clamp(14px, 1.4vw, 19px);
    font-weight: 800;
    letter-spacing: .075em;
}

.hero-event-details { position: relative; z-index: 1; display: grid; gap: 16px; width: min(760px, 100%); }

.hero-date,
.hero-time,
.hero-location,
.hero-location p { margin: 0; }

.hero-date,
.hero-time,
.hero-location { display: flex; align-items: center; min-width: 0; }

.hero-date { gap: 12px; padding: 0; border: 0; }

.hero-date time {
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(46px, 6vw, 76px);
    line-height: .95;
    letter-spacing: -.045em;
    white-space: nowrap;
}

.hero-date span {
    flex: 0 0 auto;
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    color: #fff;
    background: var(--orange);
    border-radius: 50%;
    font-size: 16px;
    font-weight: 900;
    line-height: 1;
}

.hero-time,
.hero-location { gap: 12px; }

.hero-time strong { font-size: clamp(21px, 2.8vw, 32px); letter-spacing: .035em; white-space: nowrap; }

.hero-location p { display: grid; gap: 6px; min-width: 0; }

.hero-location strong { font-size: clamp(16px, 1.8vw, 20px); line-height: 1.5; }

.hero-location span { color: var(--muted); font-size: clamp(13px, 1.15vw, 14px); font-weight: 600; line-height: 1.6; }

.hero-fact-icon {
    flex: 0 0 auto;
    width: 28px;
    height: 28px;
    fill: none;
    stroke: var(--ink);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.hero-motif--bat-one {
    top: clamp(65px, 7vw, 108px);
    left: clamp(16px, 1.5vw, 24px); z-index: 6; width: clamp(82px, 8vw, 124px);
    transform: rotate(-8deg);
}

.hero-motif--bat-two {
    top: auto;
    right: 4%;
    bottom: clamp(318px, 27vw, 392px);
    z-index: 6;
    width: clamp(66px, 6vw, 92px);
    opacity: .82;
    transform: rotate(10deg);
}

.hero-motif--bat-one { color: var(--teal); }
.hero-motif--bat-two { color: var(--coral); }

.hero-motif--pumpkin {
    top: auto;
    right: clamp(28px, 5vw, 82px);
    bottom: -22px;
    z-index: 7;
    width: clamp(76px, 8vw, 112px);
}

.button { border-radius: 999px; box-shadow: 5px 6px 0 var(--ink); }

.button:not(.button--disabled):hover { transform: translateY(-3px); box-shadow: 5px 9px 0 var(--ink); }

.section { padding-block: clamp(76px, 8vw, 112px); }

.section-heading h2 {
    font-family: "Yu Gothic Medium", "Yu Gothic", YuGothic, "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
    font-weight: 700;
    letter-spacing: .015em;
}

.image-placeholder:not(.image-placeholder--card) { border: 1px solid rgba(7, 63, 75, .24); }

/* フッター */
.site-footer {
    position: relative;
    isolation: isolate;
    display: grid;
    min-height: clamp(300px, 27vw, 365px);
    place-items: start center;
    padding: clamp(54px, 4.5vw, 64px) 24px 64px;
    overflow: hidden;
    color: var(--ink);
    border-top: 0;
    background-color: var(--hero-paper);
}

.site-footer::before {
    content: "";
    position: absolute;
    top: 11px;
    right: 18px;
    left: 18px;
    z-index: 4;
    height: 0;
    border-top: 3px dotted #f3b82f;
}

.site-footer::after {
    content: "";
    position: absolute;
    top: 16px;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 0;
    background-image: url("../images/footer.png");
    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: cover;
}

.footer-inner {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 13px;
    width: min(760px, 100%);
    text-align: center;
}

.footer-brand { display: flex; align-items: center; justify-content: center; }

.footer-brand { gap: 13px; }

.footer-brand-main { display: grid; justify-items: center; gap: 5px; }

.footer-tent,
.footer-logo { display: block; max-width: none; height: auto; }

.footer-tent { width: 92px; }

.footer-logo { width: 245px; }

.footer-theme {
    display: block;
    color: var(--orange);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .16em;
    line-height: 1.2;
    white-space: nowrap;
}

.footer-social {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: var(--ink);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 24px;
    line-height: 1;
}

.footer-social a { display: grid; width: 32px; height: 32px; place-items: center; color: inherit; border-radius: 50%; }

.footer-social a:hover,
.footer-social a:focus-visible { color: var(--orange); }

.footer-social svg {
    width: 30px;
    height: 30px;
    overflow: visible;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.footer-social .footer-instagram-dot { fill: currentColor; stroke: none; }

.site-footer .copyright {
    min-height: 0;
    margin: 0;
    padding: 0;
    color: var(--ink);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .02em;
}

.footer-bats {
    position: absolute;
    top: 66px;
    left: calc(50% + 260px);
    z-index: 2;
    width: 35px;
    height: 20px;
    color: var(--ink);
    pointer-events: none;
}

.footer-bat { position: absolute; display: block; fill: currentColor; }

.footer-bat--small { top: 0; left: 0; width: 35px; transform: rotate(-16deg); }

/* 幅の広いPC向けナビゲーション */
@media (min-width: 1400px) {
    body.theme-market-editorial { padding-left: 260px; }

    .desktop-rail {
        width: 260px;
        padding: 24px 24px 26px;
        overflow-x: hidden;
        overflow-y: auto;
        scrollbar-color: #376a70 #faf7ef;
        background: #faf7ef;
        border-right: 2px solid #376a70;
    }

    /* 低い画面でもロゴとナビを縮めず、レール内で末尾までスクロールできるようにする。 */
    .rail-brand,
    .rail-nav,
    .rail-footer { flex-shrink: 0; }

    .rail-brand { margin-bottom: clamp(24px, 4vh, 40px); }

    .rail-nav a { grid-template-columns: 30px minmax(0, 1fr); gap: 10px; }

    .rail-nav a span { font-size: 13px; }

    .rail-nav { border-top: 0; }

    .rail-nav a { min-height: 64px; color: var(--ink); border-bottom: 1px solid #f1eee5; }

    .rail-nav a:first-child { border-top: 1px solid #f1eee5; }

    .rail-nav a:hover,
    .rail-nav a:focus-visible,
    .rail-nav a[aria-current="true"] { padding-left: 14px; color: var(--ink); background: #f1eee5; }

    .rail-nav a[aria-current="true"] { border-radius: 1px; box-shadow: inset 7px 0 0 var(--orange); }

    .rail-nav a::after { content: none; }
}

/* PCヒーローの境界幅はナビゲーションの境界幅と分けて管理する */
@media (min-width: 1100px) {
    .hero { padding-top: 26px; padding-bottom: 68px; }

    .hero--stacked .hero-image,
    .hero-image { aspect-ratio: 2.58 / 1; }

    .hero--stacked .hero-image,
    .hero-image { border-width: 7px; border-radius: 25px; }

    .hero--stacked .hero-info-card,
    .hero-info-card {
        display: grid;
        grid-template-columns: repeat(12, minmax(0, 1fr));
        grid-template-rows: auto auto auto auto;
        column-gap: 20px;
        width: 100%;
        margin-top: 0;
        padding: 22px 34px 34px;
        overflow: visible;
        border: 0;
    }

    .hero-info-card .eyebrow { grid-column: 1 / 8; grid-row: 1; align-self: end; margin: 0 0 2px; }

    .hero-info-card h1 { grid-column: 1 / 13; grid-row: 2; margin: 0; font-size: clamp(74px, 7vw, 108px); }

    .hero-tagline { grid-column: 1 / 9; grid-row: 3; margin: 6px 0 18px; }

    .hero-event-details {
        grid-column: 1 / 13;
        grid-row: 4;
        grid-template-columns: auto auto minmax(0, 1fr);
        align-items: center;
        gap: 0;
        width: 100%;
        margin-top: 2px;
    }

    .hero-date { padding: 10px clamp(12px, 1.3vw, 24px) 10px 0; }

    .hero-date time { font-size: clamp(44px, 3.8vw, 58px); }

    .hero-date span { width: 42px; height: 42px; }

    .hero-time,
    .hero-location { align-self: stretch; min-height: 66px; padding: 10px clamp(12px, 1.3vw, 24px); border-left: 1px solid rgba(7, 63, 75, .34); }

    .hero-location { padding-right: 0; }

    .hero-time strong { font-size: clamp(18px, 1.55vw, 23px); }

    .hero-location strong { font-size: clamp(16px, 1.25vw, 18px); }

    .hero-location span { font-size: 13px; }

    .hero-motif--bat-one { top: 124px; left: -14px; }

    .hero-motif--bat-two { right: 5%; bottom: 184px; opacity: .86; }

    .hero-motif--pumpkin { right: -8px; bottom: -40px; width: 82px; }
}

/* 固定サイドナビへ切り替わるまでは上部ヘッダーを使用する */
@media (max-width: 1399px) {
    .mobile-menu { position: static; background: #fffaf0; border-bottom: 3px solid var(--teal); }

    .mobile-menu a { display: grid; padding: 16px 26px; }
}

/* タブレット・スマホのヒーロー調整 */
@media (max-width: 1099px) {
    .hero { padding-top: 22px; }

    .hero--stacked .hero-image,
    .hero-image { aspect-ratio: 2.05 / 1; }

    .hero-frame-accent { width: clamp(210px, 32vw, 300px); }

    .hero-event-details { width: min(720px, 82%); }

    .hero-motif--bat-two { bottom: 330px; }
}

@media (min-width: 701px) and (max-width: 1399px) {
    .header-inner { min-height: 80px; padding-block: 12px; }

    .menu-toggle { gap: 14px; padding: 8px 16px 8px 20px; }
}

@media (max-width: 700px) {
    .header-inner { position: relative; min-height: 70px; gap: 10px; padding-right: 72px; }

    .brand { gap: 7px; }

    .brand .brand-tent { width: 50px; }

    .brand .brand-wordmark { width: 184px; }

    .brand-theme { font-size: 9px; letter-spacing: .14em; }

    .menu-toggle {
        position: absolute;
        top: 50%;
        right: 0;
        min-width: 70px;
        min-height: 44px;
        gap: 7px;
        transform: translateY(-50%);
        padding-left: 10px;
    }

    .mobile-menu a { grid-template-columns: 28px minmax(0, 1fr) 14px; gap: 8px; min-height: 68px; padding: 12px 14px; }

    .hero { padding-block: 16px 62px; background-position: left bottom; }

    .hero-visual-shell { width: 100%; margin-inline: 0; gap: 16px; }

    .hero--stacked .hero-image,
    .hero-image {
        aspect-ratio: 1.55 / 1;
        object-position: 48% center;
    }

    .hero-frame-accent { width: clamp(190px, 54vw, 245px); }

    .hero--stacked .hero-info-card,
    .hero-info-card { max-width: 100%; min-width: 0; width: 100%; padding: 34px 24px 38px; }

    .hero h1 { margin-bottom: 14px; font-size: clamp(38px, 10.4vw, 64px); }

    .hero-tagline { max-width: 100%; margin-bottom: 18px; font-size: 13px; line-height: 1.65; }

    .hero-event-details { width: 100%; gap: 0; }

    .hero-date { padding-bottom: 16px; }

    .hero-date time { font-size: clamp(43px, 12.5vw, 63px); }

    .hero-date span { width: 38px; height: 38px; font-size: 14px; }

    .hero-time,
    .hero-location { padding-block: 14px; border-top: 1px solid rgba(7, 63, 75, .26); }

    .hero-time strong { font-size: clamp(20px, 6vw, 27px); }

    .hero-location strong { font-size: 16px; }

    .hero-fact-icon { width: 25px; height: 25px; }

    .hero-motif--bat-one { top: 52px; left: -13px; width: 72px; }

    .hero-motif--bat-two { top: clamp(230px, 30vw, 190px); right: 18px; bottom: auto; width: 52px; opacity: .82; }

    .hero-motif--pumpkin { right: 18px; bottom: -50px; width: 78px; }

    .section { padding-block: 72px; }

    #about { padding-block: 52px 56px; }

    #about .section-heading { margin-bottom: 28px; }

    .section-heading > div { min-width: 0; }

    .section-heading,
    .section-heading__main { gap: 14px; }

    .section-number { width: 36px; height: 36px; margin-top: 0; font-size: 14px; }

    .section-heading h2 { font-size: 24px; word-break: normal; }

    .organizer-logo { width: min(270px, 78%); margin-bottom: 18px; }

    .organizer-features > div { grid-template-columns: 106px minmax(0, 1fr); gap: 12px; }

    .gift-sticker { top: -16px; right: -6px; width: 72px; height: 72px; font-size: 12px; box-shadow: 3px 4px 0 var(--mustard); }

    .photo-visual { padding: 8px 8px 38px; transform: none; }

    .photo-visual .image-placeholder--photo { min-height: 280px; }

    .photo-frame-label { bottom: 7px; left: 14px; font-size: 11px; }

    .site-footer { min-height: 245px; padding: 48px 14px 54px; }

    .footer-brand { gap: 8px; }

    .footer-tent { width: 64px; }

    .footer-logo { width: 180px; }

    .footer-theme { font-size: 9px; }

    .footer-bats { top: 96px; right: 74px; left: auto; width: 27px; }

    .footer-bat--small { width: 27px; }
}

@media (max-width: 520px) {
    .brand .brand-tent { width: 46px; }

    .brand .brand-wordmark { width: 168px; }

    .brand-theme { font-size: 8px; }

    .menu-toggle { min-width: 58px; padding-left: 9px; }

    .menu-toggle__label { font-size: 11px; }

    .menu-toggle__icon,
    .menu-toggle__icon::before,
    .menu-toggle__icon::after { width: 20px; }

    .footer-tent { width: 58px; }

    .footer-logo { width: 164px; }

    .footer-theme { font-size: 8px; }

    .footer-social { gap: 8px; }

    .site-footer .copyright { font-size: 11px; }
}

@media (max-width: 390px) {
    .brand .brand-tent { width: 50px; }

    .brand .brand-wordmark { width: 150px; }

    .brand-theme { font-size: 8px; letter-spacing: .1em; }

    .hero h1 { font-size: clamp(30px, 9.5vw, 38px); }

    .footer-brand { gap: 6px; }

    .footer-tent { width: 49px; }

    .footer-logo { width: 140px; }

    .footer-theme { font-size: 8px; letter-spacing: .1em; }

    .footer-bats { top: 105px; right: 62px; }
}

/* 本文幅と企画セクションの調整 */
.gift-section,
.photo-section { padding-block: clamp(72px, 6vw, 88px); }

.section > .container {
    width: min(1180px, calc(100% - clamp(48px, 5vw, 80px)));
}

@media (max-width: 700px) {
    .section > .container { width: calc(100% - 32px); }
}

.gift-section .section-heading { margin-bottom: clamp(36px, 3.5vw, 44px); }

@media (min-width: 961px) {
    .photo-section .section-heading {
        min-height: 0;
        margin-bottom: clamp(36px, 3.5vw, 44px);
        padding-right: 0;
    }

    .photo-section .photo-content {
        grid-column: 1;
        grid-row: 1;
    }

    .photo-section .photo-visual {
        grid-column: 2;
        grid-row: 1;
    }

    .photo-section .photo-balloons {
        top: 88px;
        right: 0;
        z-index: 4;
        width: 150px;
        height: 120px;
    }

    .photo-section .photo-balloon { width: 48px; }

    .photo-section .photo-balloon--pink { left: 2px; }

    .photo-section .photo-balloon--yellow { left: 49px; width: 53px; }

    .photo-section .photo-balloon--mint { width: 46px; }
}

/* 本文レイアウトを変えずに配置するヒーローの2枚写真 */
.hero--photo-pair .hero-visual-shell {
    display: grid;
    grid-template-columns: minmax(0, .92fr) minmax(440px, 1.08fr);
    gap: clamp(36px, 4vw, 68px);
    align-items: center;
}

.hero-photo-pair {
    position: relative;
    grid-column: 2;
    grid-row: 1;
    width: 100%;
    min-height: clamp(470px, 42vw, 610px);
}

.hero-photo-card {
    position: absolute;
    z-index: 1;
    margin: 0;
    padding: 10px 10px 36px;
    background: #fffdf8;
    border: 1px solid rgba(7, 63, 75, .1);
    box-shadow: 0 12px 28px rgba(45, 37, 25, .16);
}

.hero-photo-card img {
    display: block;
    width: 100%;
    object-fit: cover;
}

.hero-photo-card figcaption {
    position: absolute;
    right: 14px;
    bottom: 10px;
    left: 14px;
    overflow: hidden;
    color: var(--ink);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .12em;
    line-height: 1;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hero-photo-card figcaption span {
    margin-left: .5em;
    color: var(--muted);
    font-family: "Yu Gothic Medium", "Yu Gothic", YuGothic, "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .04em;
}

.hero-photo-card--main {
    top: 2%;
    left: 0;
    width: 82%;
    transform: rotate(-2.4deg);
}

.hero-photo-card--main img { height: clamp(330px, 30vw, 430px); }

.hero-photo-card--sub {
    right: 0;
    bottom: 1%;
    z-index: 2;
    width: 46%;
    transform: rotate(5deg);
}

.hero-photo-card--sub img { height: clamp(260px, 25vw, 360px); }

.hero--photo-pair .hero-info-card {
    grid-column: 1;
    grid-row: 1;
    width: 100%;
    margin: 0;
    padding: clamp(24px, 3vw, 46px) 0;
    padding-left: clamp(28px, 2.5vw, 40px);
    overflow: visible;
}

.hero--photo-pair .hero-info-card h1 {
    margin: 10px 0 18px;
    font-size: clamp(54px, 5.35vw, 82px);
    line-height: .86;
    letter-spacing: -.055em;
    white-space: normal;
}

.hero--photo-pair .hero-info-card h1 span { display: block; }

.hero--photo-pair .hero-tagline {
    max-width: 32em;
    margin-bottom: 26px;
    line-height: 1.85;
}

.hero--photo-pair .hero-event-details {
    grid-template-columns: 1fr;
    gap: 0;
    width: min(460px, 100%);
}

.hero--photo-pair .hero-date,
.hero--photo-pair .hero-time,
.hero--photo-pair .hero-location {
    min-height: 0;
    padding: 14px 0;
    border: 0;
    border-top: 1px solid rgba(7, 63, 75, .26);
}

.hero--photo-pair .hero-date { border-top: 0; }

.hero--photo-pair .hero-date time { font-size: clamp(42px, 4vw, 58px); }

.hero--photo-pair .hero-motif--bat-one {
    top: 15%;
    right: 48%;
    left: auto;
}

.hero--photo-pair .hero-motif--pumpkin {
    right: 0;
    bottom: -34px;
}

@media (max-width: 1099px) {
    .hero--photo-pair .hero-visual-shell {
        display: flex;
        flex-direction: column;
        gap: clamp(18px, 4vw, 34px);
    }

    .hero-photo-pair {
        width: min(720px, 100%);
        min-height: clamp(380px, 62vw, 520px);
        margin-inline: auto;
    }

    .hero-photo-card--main img { height: clamp(280px, 42vw, 390px); }

    .hero-photo-card--sub img { height: clamp(230px, 34vw, 310px); }

    .hero--photo-pair .hero-info-card {
        width: min(720px, 100%);
        margin-inline: auto;
        padding: 20px 20px 38px;
    }

    .hero--photo-pair .hero-info-card h1 {
        font-size: clamp(50px, 9vw, 76px);
    }

    .hero--photo-pair .hero-event-details { width: 100%; }

    .hero--photo-pair .hero-motif--bat-one {
        top: 8%;
        right: 2%;
        left: auto;
    }

}

@media (max-width: 700px) {
    .hero--photo-pair { padding-block: 12px 52px; }

    .hero--photo-pair .hero-visual-shell { gap: 18px; }

    .hero-photo-pair { min-height: clamp(245px, 72vw, 340px); }

    .hero-photo-card {
        padding: 6px 6px 27px;
        border-radius: 10px;
        box-shadow: 0 8px 18px rgba(45, 37, 25, .16);
    }

    .hero-photo-card img { border-radius: 6px; }

    .hero-photo-card figcaption {
        right: 9px;
        bottom: 8px;
        left: 9px;
        font-size: 9px;
    }

    .hero-photo-card figcaption span { display: none; }

    .hero-photo-card--main { top: 1%; left: 0; width: 79%; transform: rotate(-2deg); }

    .hero-photo-card--sub { right: 0; bottom: 0; width: 45%; transform: rotate(5deg); }

    .hero-photo-card--main img { height: clamp(190px, 54vw, 245px); }

    .hero-photo-card--sub img { height: clamp(155px, 42vw, 200px); }

    .hero--photo-pair .hero-info-card { padding: 22px 4px 34px; }

    .hero--photo-pair .eyebrow { font-size: 10px; letter-spacing: .14em; }

    .hero--photo-pair .hero-info-card h1 {
        margin: 8px 0 14px;
        font-size: clamp(42px, 13vw, 58px);
        line-height: .88;
    }

    .hero--photo-pair .hero-tagline { margin-bottom: 20px; font-size: 13px; }

    .hero--photo-pair .hero-date time { font-size: clamp(36px, 11vw, 48px); }

    .hero--photo-pair .hero-motif--bat-one { top: 9%; right: 1%; width: 58px; }

    .hero--photo-pair .hero-motif--pumpkin { right: 8px; bottom: -42px; width: 70px; }
}
