:root {
  --paper: #f6f2e9;
  --paper-deep: #eee7da;
  --ink: #292a25;
  --muted: #66675f;
  --line: rgba(41, 42, 37, 0.16);
  --green: #3f8f2d;
  --green-dark: #2f6f24;
  --blue: #1686b2;
  --yellow: #d6ae28;
  --content: 1120px;
  --radius: 1.4rem;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5rem; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 16% 10%, rgba(255,255,255,.7), transparent 24rem),
    radial-gradient(circle at 85% 45%, rgba(216,200,165,.16), transparent 28rem),
    var(--paper);
  font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
  font-size: 1rem;
  line-height: 1.9;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .18;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.12'/%3E%3C/svg%3E");
  z-index: 20;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 100; padding: .6rem 1rem; background: var(--ink); color: white; border-radius: .4rem; }
.skip-link:focus { top: 1rem; }

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 30;
  height: 4.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .55rem 1rem;
  background: rgba(246,242,233,.92);
  border-bottom: 1px solid rgba(41,42,37,.08);
  backdrop-filter: blur(12px);
}
.header-logo { width: 8.8rem; }
.header-logo img { filter: url(#header-logo-white-knockout); }
.menu-button { width: 2.8rem; height: 2.8rem; display: grid; place-content: center; gap: 5px; border: 0; border-radius: 50%; background: transparent; cursor: pointer; }
.menu-line { display: block; width: 1.45rem; height: 2px; background: var(--ink); transition: transform .25s, opacity .25s; }
.menu-button[aria-expanded="true"] .menu-line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-button[aria-expanded="true"] .menu-line:nth-child(2) { opacity: 0; }
.menu-button[aria-expanded="true"] .menu-line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.global-nav { position: absolute; top: 4.5rem; left: 0; right: 0; display: grid; padding: 1rem 1.5rem 1.5rem; background: var(--paper); box-shadow: 0 12px 30px rgba(55,48,36,.12); transform: translateY(-130%); opacity: 0; visibility: hidden; transition: .3s ease; }
.global-nav.is-open { transform: translateY(0); opacity: 1; visibility: visible; }
.global-nav a { padding: .75rem 0; border-bottom: 1px solid var(--line); text-decoration: none; font-weight: 600; }

.hero { position: relative; padding: 7rem 1.25rem 3rem; background: var(--paper); }
.paper-panel { background: var(--paper); }
.hero-copy { width: min(100%, 43rem); margin-inline: auto; display: flex; flex-direction: column; align-items: center; gap: .75rem; }
.hero-logo { width: min(36rem, calc(100% + 1rem)); margin-inline: -.5rem; mix-blend-mode: multiply; }
.hero-text { width: min(100%, 34rem); padding-top: 0; }
.hero h1 { margin: 0 0 1.15rem; text-align: center; font-family: "Yu Mincho", "Hiragino Mincho ProN", serif; font-size: clamp(1.4rem, 5.8vw, 1.8rem); line-height: 1.5; letter-spacing: .1em; font-weight: 600; }
.hero p { width: fit-content; margin: 0 auto; font-size: clamp(.96rem, 3.8vw, 1.05rem); line-height: 2.05; letter-spacing: .045em; }
.hero-town { height: 78px; margin: 1.5rem -1.25rem -3rem; overflow: hidden; pointer-events: none; }
.hero-town svg { display: block; width: max(100%, 650px); height: 100%; position: relative; left: 50%; transform: translateX(-50%); mask-image: linear-gradient(to right, transparent, #000 14%, #000 86%, transparent); }
.hero-people { display: none; position: absolute; height: auto; fill: none; stroke: var(--green-dark); stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; opacity: .43; pointer-events: none; }
.people-ground { opacity: .45; }
@media (min-width: 80rem) {
  .hero-people-left { display: block; width: clamp(130px, 9vw, 164px); right: calc(50% + clamp(370px, 26vw, 490px)); top: 53%; }
  .hero-people-right { display: block; width: clamp(112px, 8vw, 145px); left: calc(50% + clamp(390px, 28vw, 540px)); top: 35%; }
}
.town-wash { fill: var(--green); opacity: .055; }
.town-line { fill: none; stroke: var(--green-dark); stroke-width: 1.15; stroke-linecap: round; stroke-linejoin: round; opacity: .34; }
.town-leaves { fill: var(--green); fill-opacity: .12; }
.town-extra { display: none; }
@media (min-width: 48rem) {
  .hero-town { height: 100px; margin: 1.75rem -2rem -3.5rem; }
  .town-extra { display: inline; }
}
@media (min-width: 72rem) {
  .hero-town { margin-bottom: -4rem; }
}

.section { padding: 5.5rem 1.25rem; }
.section-inner { width: min(100%, var(--content)); margin-inline: auto; }
.eyebrow { margin: 0 0 1rem; color: var(--green-dark); font-size: .78rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.eyebrow span { display: inline-block; width: .7rem; height: .7rem; margin-right: .55rem; border-radius: 65% 35% 60% 40%; background: linear-gradient(135deg, var(--green) 50%, var(--blue) 50%); transform: rotate(18deg); }
h2 { margin: 0 0 2rem; font-family: "Yu Mincho", "Hiragino Mincho ProN", serif; font-size: clamp(1.8rem, 7vw, 3.2rem); line-height: 1.55; letter-spacing: .06em; font-weight: 600; }
.body-copy p { margin: 0 0 1.25rem; }
.about-copy .about-detail-link { display: inline-block; max-width: 100%; min-height: 44px; padding-block: .45rem; color: var(--green-dark); font-size: .95rem; line-height: 1.8; text-decoration: underline; text-underline-offset: .25em; text-decoration-thickness: 1px; }
.about-detail-link span { display: inline-block; }
.past-detail-link { display: inline-block; max-width: 100%; min-height: 44px; margin-top: 1.75rem; padding-block: .45rem; color: var(--green-dark); font-size: .95rem; line-height: 1.8; text-decoration: underline; text-underline-offset: .25em; text-decoration-thickness: 1px; }
.split-layout { display: grid; gap: 3rem; }
.photo-frame { margin: 0; padding: .55rem; background: #fffdf8; border-radius: .35rem; box-shadow: 0 14px 40px rgba(70,60,42,.13); transform: rotate(1deg); }
.photo-frame img { width: 100%; height: 100%; object-fit: cover; border-radius: .15rem; }
.about-photo { aspect-ratio: 4 / 3; }

.next-section { background: rgba(255,255,255,.4); }
.next-event-card { display: grid; align-items: center; gap: 1.6rem; padding: 1.25rem; border-radius: .3rem; background: rgba(255,253,249,.65); box-shadow: 0 3px 16px rgba(62,52,36,.035); }
.next-image-wrap { display: flex; align-items: center; min-width: 0; background: transparent; }
.next-image-wrap img { display: block; width: 100%; height: auto; object-fit: contain; }
.next-details { min-width: 0; padding: 0; }
.event-topline, .event-card-meta { display: flex; align-items: center; gap: .8rem; }
.round-label { display: inline-flex; align-items: center; min-height: 2.4rem; padding: .3rem .9rem; background: var(--round-color); color: white; font-weight: 700; letter-spacing: .04em; }
.event-date { font-size: 1.05rem; font-weight: 700; }
.guest-list { margin: 1.5rem 0; padding-bottom: .5rem; border-bottom: 1px solid var(--line); }
.guest-row { margin-bottom: 1rem; }
.guest-name { margin: 0; font-size: 1.15rem; font-weight: 700; }
.guest-role { margin: .15rem 0 0; color: var(--muted); font-size: .9rem; line-height: 1.6; }
.event-facts { display: grid; margin: 0 0 1.5rem; }
.event-facts div { display: grid; grid-template-columns: 5rem 1fr; padding: .55rem 0; border-bottom: 1px dotted var(--line); }
.event-facts dt { color: var(--muted); font-size: .86rem; font-weight: 700; }
.event-facts dd { margin: 0; font-weight: 600; line-height: 1.6; }
.event-facts dd span { color: var(--muted); font-size: .88rem; font-weight: 400; }
.primary-button, .outline-button { min-height: 3.25rem; display: flex; align-items: center; justify-content: center; gap: .8rem; padding: .75rem 1.2rem; border-radius: 999px; font-weight: 700; text-decoration: none; transition: transform .2s, box-shadow .2s, background .2s; }
.primary-button { color: white; background: var(--green-dark); box-shadow: 0 8px 24px rgba(63,143,45,.2); }
.outline-button { border: 1px solid currentColor; }
.primary-button:hover, .outline-button:hover { transform: translateY(-2px); }

.past-section { background: var(--paper-deep); }
.section-heading-row { margin-bottom: 2.2rem; }
.section-heading-row h2 { margin-bottom: .5rem; }
.section-note { margin: 0; color: var(--muted); }
.event-grid { display: grid; gap: 1.4rem; }
.event-card { overflow: hidden; background: #fffdf9; border-radius: 1rem; box-shadow: 0 10px 28px rgba(62,52,36,.08); border-top: 5px solid var(--round-color); }
.event-card-image { aspect-ratio: 1.91 / 1; overflow: hidden; }
.event-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.event-card:hover img { transform: scale(1.02); }
.event-card-body { padding: 1.2rem; }
.event-card-meta { margin-bottom: 1rem; }
.event-card-meta .round-label { min-height: 2rem; font-size: .86rem; }
.event-card-meta time { color: var(--muted); font-size: .88rem; }
.event-card h3 { margin: 0 0 .3rem; font-size: 1.15rem; }
.event-card p { margin: 0; color: var(--muted); font-size: .9rem; line-height: 1.65; }

.watashi-section { position: relative; background: #faf8f2; }
.watashi-section::before { content: ""; position: absolute; inset: 0 0 auto; height: 4rem; background: var(--paper-deep); clip-path: polygon(0 0, 100% 0, 100% 35%, 84% 55%, 66% 32%, 48% 63%, 25% 30%, 0 60%); }
.watashi-inner { display: grid; gap: 2.5rem; padding-top: 2rem; }
.watashi-logo { width: min(26rem, 85vw); margin-inline: auto; mix-blend-mode: multiply; }
.watashi-copy { max-width: 42rem; }
.watashi-copy h2 { font-size: clamp(1.7rem, 6.5vw, 2.8rem); }
.watashi-copy p { margin: 0 0 1.1rem; }
.watashi-message { font-family: "Yu Mincho", "Hiragino Mincho ProN", serif; font-size: 1.25rem; font-weight: 600; line-height: 1.8; }
.empty-gallery { min-height: 12rem; position: relative; display: grid; place-items: center; padding: 2rem; border: 1px dashed rgba(41,42,37,.22); border-radius: 50% 45% 48% 42% / 42% 51% 44% 52%; text-align: center; color: var(--muted); }
.empty-gallery p { margin: 0; }
.small-shape { position: absolute; width: 1.2rem; height: .7rem; border-radius: 60% 40%; transform: rotate(-18deg); }
.shape-red { left: 16%; top: 20%; background: #c95b53; }
.shape-blue { right: 15%; top: 28%; background: #55a8ca; }
.shape-green { right: 28%; bottom: 16%; background: #58a548; }

.instagram-section { background: var(--paper); }
.instagram-grid { display: grid; gap: 2.7rem; align-items: center; }
.connection-photo { aspect-ratio: 4 / 3; transform: rotate(-1deg); }
.instagram-copy p { margin: 0 0 1.7rem; }
.instagram-copy .outline-button { width: 100%; }

.closing-section { position: relative; padding: clamp(4rem, 7vw, 6rem) 1.5rem 9rem; overflow: hidden; background: var(--paper); text-align: center; }
.closing-copy { position: relative; z-index: 2; width: min(100%, 35rem); margin: auto; font-family: "Yu Mincho", "Hiragino Mincho ProN", serif; font-size: clamp(1.15rem, 4.8vw, 1.55rem); font-weight: 600; line-height: 2.15; letter-spacing: .06em; }
.closing-copy p { margin: 0 0 1.8rem; }
.closing-copy p:last-child { margin-bottom: 0; }
.closing-landscape { position: absolute; left: 50%; bottom: 0; width: max(100%, 650px); height: 100px; transform: translateX(-50%); pointer-events: none; mask-image: linear-gradient(to right, transparent, #000 14%, #000 86%, transparent); }

.news-section { padding-block: 3.5rem; }
.news-inner { display: flex; align-items: baseline; justify-content: space-between; gap: 2rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--line); }
.news-inner h2 { margin: 0; font-size: 1.35rem; }
.news-inner p { margin: 0; color: var(--muted); }

.site-footer { padding: 3.5rem 1.25rem; background: var(--paper-deep); }
.footer-inner { width: min(100%, var(--content)); margin: auto; display: grid; gap: 2rem; }
.footer-inner > img { width: 12rem; mix-blend-mode: multiply; }
.footer-inner nav { display: grid; }
.footer-inner nav a { padding: .55rem 0; text-decoration: none; border-bottom: 1px solid var(--line); }
.footer-contact { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding-top: 1rem; }
.footer-contact span { color: var(--muted); font-size: .85rem; }
.footer-contact a { font-weight: 700; }
.load-error { padding: 2rem; }

@media (min-width: 48rem) {
  .hero { padding: 8rem 2rem 3.5rem; }
  .hero-copy { gap: 1rem; }
  .hero-logo { width: min(40rem, calc(100% + 2rem)); margin-inline: -1rem; }
  .hero-text { padding-top: 0; }
  .hero h1 { font-size: clamp(1.65rem, 2.1vw, 1.9rem); }
  .section { padding: 7rem 2rem; }
  .split-layout { grid-template-columns: 1fr 1.05fr; align-items: center; gap: 5rem; }



  .event-grid { grid-template-columns: repeat(3, 1fr); }
  .watashi-inner { grid-template-columns: .85fr 1.15fr; align-items: center; }
  .watashi-logo { grid-row: span 2; }
  .empty-gallery { min-height: 10rem; }
  .instagram-grid { grid-template-columns: 1.1fr .9fr; gap: 5rem; }
  .instagram-copy .outline-button { width: fit-content; min-width: 19rem; }

  .footer-inner { grid-template-columns: 1fr 1fr; align-items: start; }
  .footer-contact { grid-column: 2; }
}

@media (min-width: 60rem) {
  .site-header { height: 5rem; padding-inline: 2rem; }
  .header-logo { width: 10rem; }
  .menu-button { display: none; }
  .global-nav { position: static; display: flex; gap: 1.5rem; padding: 0; background: transparent; box-shadow: none; transform: none; opacity: 1; visibility: visible; }
  .global-nav a { padding: .4rem 0; border: 0; font-size: .85rem; }
}

@media (min-width: 72rem) {
  .hero { padding-block: 8.5rem 4rem; }
  .section-heading-row { display: flex; align-items: end; justify-content: space-between; }
  .footer-inner { grid-template-columns: 1fr 1fr 1fr; }
  .footer-contact { grid-column: auto; padding-top: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

/* Next event: a quiet editorial spread, with the full announcement image. */
.next-details .event-topline { flex-wrap: wrap; gap: .6rem .8rem; }
.next-details .round-label { min-height: 2rem; padding: .2rem .65rem; font-size: .9rem; }
.next-details .event-date { font-size: 1rem; font-weight: 600; }
.next-details .guest-list { margin: 1rem 0; padding: 0; border: 0; }
.next-details .guest-row { margin-bottom: .7rem; }
.next-details .guest-row:last-child { margin-bottom: 0; }
.next-details .guest-name { font-size: 1.05rem; line-height: 1.6; }
.next-details .guest-role { font-size: .86rem; line-height: 1.6; }
.next-details .event-facts { grid-template-columns: 1fr 1fr; gap: .75rem 1.25rem; margin: 0; padding-top: .9rem; border-top: 1px solid var(--line); }
.next-details .event-facts div { display: block; padding: 0; border: 0; }
.next-details .event-facts div:nth-child(-n+2) { grid-column: 1 / -1; }
.next-details .event-facts dt { font-size: .78rem; margin-bottom: .1rem; }
.next-details .event-facts dd { font-size: .94rem; }
.next-details .event-facts dd span { font-size: .8rem; }
.next-application { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; margin-top: 1rem; }
.next-application > span { color: var(--muted); font-size: .8rem; }
.next-application .primary-button { min-height: 2.75rem; padding: .55rem 1.3rem; font-size: .9rem; box-shadow: none; }
@media (min-width: 40rem) {
  .next-event-card { padding: 2rem; gap: 2rem; }
  .next-details .event-facts { grid-template-columns: 1fr 1.7fr; }
  .next-details .event-facts div:nth-child(-n+2) { grid-column: auto; }
}
@media (min-width: 72rem) {
  .next-event-card { grid-template-columns: 1fr 1.08fr; gap: 2.5rem; }
}
.next-footer { margin-top: 1rem; }
.event-costs { display: flex; gap: 1.5rem; margin: 0; }
.event-costs > div { display: flex; align-items: baseline; gap: .5rem; }
.event-costs dt { color: var(--muted); font-size: .8rem; }
.event-costs dd { margin: 0; font-size: .94rem; font-weight: 600; }
@media (min-width: 72rem) {
  .next-event-card { grid-template-columns: 1fr 1.08fr; gap: 2rem; padding: 1.6rem; }
  .next-details .guest-list { margin: .65rem 0; }
  .next-details .guest-row { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: .7rem; margin-bottom: .4rem; }
  .next-details .guest-role { margin: 0; }
  .next-details .event-facts { grid-template-columns: 1fr 2fr; gap: .7rem; padding-top: .65rem; }
  .next-details .event-facts div { display: flex; align-items: baseline; gap: .55rem; }
  .next-details .event-facts dt { flex-shrink: 0; }
  .next-footer { display: flex; align-items: center; justify-content: space-between; gap: .7rem; margin-top: .75rem; }
  .event-costs { gap: 1rem; }
  .next-application { flex-direction: column; align-items: center; gap: .15rem; margin: 0; }
  .next-application > span { font-size: .72rem; }
  .next-application .primary-button { padding: .45rem 1.1rem; }
}

/* 金継ぎ診断で確認した、文字と表示色の調整。 */
.global-nav a,
.next-application .primary-button,
.next-details .guest-name,
.next-details .event-facts dd,
.event-costs dd,
.event-card p,
.next-details .guest-role,
.next-details .round-label,
.event-card-meta .round-label,
.footer-contact span { font-size: 1rem; }

.eyebrow,
.next-details .event-facts dt { font-size: .8rem; }

.next-application > span { font-size: .75rem; }
.event-card p { word-break: auto-phrase; }
.photo-frame img,
.next-event-card { border-radius: .35rem; }
#past-event-list > article:nth-child(2) .round-label { background: #586a31; }
#past-event-list > article:nth-child(3) .round-label { background: #786200; }

/* Alternating paper layers keep the same two warm background tones throughout. */
main:not(.about-main) > section:nth-of-type(odd) { background: var(--paper); }
main:not(.about-main) > section:nth-of-type(even) { background: var(--paper-deep); }
.watashi-section::before { background: transparent; }

.next-info-link { display: inline-block; min-height: 44px; padding-block: .5rem; margin-top: .75rem; color: var(--green-dark); font-size: .9rem; text-underline-offset: .25em; }

.not-found-main { padding-top: 5rem; }
.not-found-main .section-inner { max-width: 42rem; padding-block: 2rem; }
.not-found-main h1 { font-family: "Yu Mincho", "Hiragino Mincho ProN", serif; font-size: clamp(1.6rem, 4vw, 2.25rem); font-weight: 600; line-height: 1.6; }
.not-found-main .outline-button { width: fit-content; margin-top: 2rem; }
