/* Open Coral Network — D3「夕方の写真」 */

:root {
  --ground: #ecebe8;
  --paper: #f7f6f3;
  --ink: #161615;
  --ink2: #4b4a46;
  --rule: #c9c6bf;
  --field: #77746d;
  --error: #a1261b;
  --shade: 12, 11, 10;
  --gutter: clamp(16px, 4vw, 56px);
}

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

html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: 'Geist', 'Murecho', 'Hiragino Sans', 'Noto Sans JP', sans-serif;
  font-weight: 400;
  font-size: 17px;
  line-height: 1.9;
  letter-spacing: 0.03em;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  word-break: auto-phrase;
  line-break: strict;
}

:where(h1, h2, h3, p, dl, dd, ol, ul, figure, blockquote) { margin: 0; }
:where(ol, ul) { padding: 0; list-style: none; }
p { text-wrap: pretty; }
img { max-width: 100%; }
[id] { scroll-margin-top: 24px; }

a { color: inherit; text-underline-offset: 5px; text-decoration-thickness: 1px; }
:focus-visible { outline: 3px solid currentColor; outline-offset: 3px; }
.btn-dark:focus-visible { outline-color: var(--ink); }
.hero :focus-visible,
.topbar :focus-visible { outline-color: #fff; }

.nw { white-space: nowrap; }
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%);
  white-space: nowrap;
}

.skip {
  position: absolute; left: 16px; top: -100px; z-index: 20;
  padding: 10px 16px; background: #fff; color: var(--ink); border-radius: 2px;
}
.skip:focus { top: 16px; }

.wrap { max-width: 1280px; margin: 0 auto; padding: 0 var(--gutter); }
.h2 { font-size: 22px; font-weight: 600; line-height: 1.5; letter-spacing: 0.01em; }
.cap { font-size: 14px; line-height: 1.6; color: var(--ink2); letter-spacing: 0.04em; margin-top: 12px; }
.small { font-size: 16px; line-height: 1.8; color: var(--ink2); }

.photo {
  display: block; width: 100%; height: auto;
  aspect-ratio: 3 / 2; object-fit: cover; background: #2a2826;
}
picture { display: block; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 56px; padding: 0 30px;
  border: 0; border-radius: 2px;
  font: inherit; font-size: 17px; font-weight: 500; letter-spacing: 0.04em;
  text-decoration: none; cursor: pointer;
}
.btn .arw { font-family: 'Geist', sans-serif; font-weight: 400; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #383733; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: #e6e3dc; }
.btn[disabled] { opacity: .6; cursor: progress; }

/* top bar (over the hero) */
.topbar {
  position: absolute; top: 0; left: 0; right: 0; z-index: 2;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 22px var(--gutter);
  color: #fff;
}
.mark {
  display: inline-flex; align-items: baseline; min-height: 44px; padding-top: 10px;
  font-family: 'Geist', sans-serif; font-weight: 500; font-size: 18px; letter-spacing: 0.005em;
  text-decoration: none;
}
.mark-kind { font-family: 'Murecho', sans-serif; font-size: 13px; font-weight: 400; letter-spacing: 0.04em; margin-right: 10px; }
.topbar a { color: #fff; text-shadow: 0 0 14px rgba(var(--shade), .6); }
.nav { display: flex; gap: 4px 28px; align-items: center; }
.nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: 15px; text-decoration: none; letter-spacing: 0.06em; }
.nav a:hover { text-decoration: underline; }

/* hero */
.hero {
  position: relative; isolation: isolate;
  min-height: 900px;
  min-height: clamp(600px, 100svh, 1000px);
  display: flex; flex-direction: column; justify-content: flex-end;
  color: #fff;
}
.hero picture,
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-img { object-fit: cover; object-position: 42% 62%; z-index: -2; }
.hero .shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(to top, rgba(var(--shade), .78) 0, rgba(var(--shade), .5) 270px, rgba(var(--shade), 0) 504px),
    linear-gradient(to bottom, rgba(var(--shade), .62) 0, rgba(var(--shade), 0) 180px);
}
.hero-body {
  display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap;
  gap: 24px 48px;
  padding: 0 var(--gutter) 64px;
}
.hero-text { max-width: 820px; display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.hero h1 { font-weight: 600; font-size: clamp(34px, 4.7vw, 64px); line-height: 1.32; letter-spacing: -0.02em; }
.hero h1 > span { display: block; }
.hero h1 .pt { margin-right: -0.42em; }
.hero .sub { font-size: 18px; line-height: 1.8; color: #f3f1ec; }
.hero-cap { font-size: 14px; line-height: 1.6; letter-spacing: 0.06em; color: #f3f1ec; padding-bottom: 6px; }

/* sections */
.sec { padding: 128px 0; }
.sec + .sec { padding-top: 0; }
.split { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; }
.split > .h2 { grid-column: 1 / span 3; }
.split > .body { grid-column: 4 / span 8; }

.mission .stmt { font-size: 30px; line-height: 1.8; font-weight: 500; letter-spacing: 0.01em; }
.mission .op { font-size: 15px; color: var(--ink2); margin-top: 20px; }

.meet { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; align-items: start; }
.meet figure { grid-column: 1 / span 7; }
.meet-text { grid-column: 9 / span 4; display: flex; flex-direction: column; gap: 24px; }
#meetup-title { font-size: 32px; line-height: 1.35; letter-spacing: -0.005em; }
.details { border-top: 1px solid var(--rule); }
.details div { display: grid; grid-template-columns: 5.5em 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--rule); }
.details dt { font-size: 15px; color: var(--ink2); }
.details dd { font-size: 17px; font-weight: 500; }

.acts-head { margin-bottom: 56px; }
.act { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; align-items: end; margin-bottom: 112px; }
.act:last-child { margin-bottom: 0; }
.act figure { grid-column: 1 / span 7; }
.act-text { grid-column: 9 / span 4; padding-bottom: 40px; }
.act.flip figure { grid-column: 6 / span 7; grid-row: 1; }
.act.flip .act-text { grid-column: 1 / span 4; grid-row: 1; }
.act.wide figure { grid-column: 1 / span 12; }
.act.wide .photo { aspect-ratio: 21 / 9; object-position: 50% 55%; }
.act.wide .act-text { grid-column: 1 / span 6; padding-bottom: 0; }
.act h3 { font-size: 28px; font-weight: 600; line-height: 1.4; margin-bottom: 14px; letter-spacing: 0; }

.steps { border-top: 1px solid var(--rule); }
.steps li { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 8px 24px; padding: 22px 0; border-bottom: 1px solid var(--rule); }
.steps h3 { font-size: 20px; font-weight: 600; line-height: 1.55; }

.promise ul { border-top: 1px solid var(--rule); }
.promise li { font-size: 24px; line-height: 1.7; font-weight: 500; padding: 22px 0; border-bottom: 1px solid var(--rule); letter-spacing: 0.01em; }
.voice { margin-top: 48px; display: flex; flex-direction: column; gap: 14px; }
.voice p { font-size: 19px; line-height: 1.95; }
.voice figcaption { font-size: 15px; color: var(--ink2); }

.faq .qa { border-top: 1px solid var(--rule); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  min-height: 64px; padding: 12px 0;
  font-size: 18px; font-weight: 500;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; content: '+' / ''; font-family: 'Geist', sans-serif; font-weight: 400; font-size: 24px; line-height: 1; color: var(--ink2); }
.faq details[open] summary::after { content: '−'; content: '−' / ''; }
.faq details p { padding: 0 0 22px; color: var(--ink2); max-width: 38em; }

/* sign-up */
.join { background: var(--paper); border-top: 1px solid var(--rule); }
.sec.join { padding-top: 112px; }
.join-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; }
.join-lead { grid-column: 1 / span 4; display: flex; flex-direction: column; gap: 18px; }
.join-lead .big { font-size: 30px; font-weight: 600; line-height: 1.45; letter-spacing: -0.01em; }
.form { grid-column: 6 / span 6; display: flex; flex-direction: column; gap: 28px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label,
.field legend { font-size: 16px; font-weight: 500; }
.req { font-size: 14px; color: var(--ink2); font-weight: 400; margin-left: 8px; }
.field input[type=text],
.field input[type=email] {
  font: inherit; font-size: 17px;
  min-height: 56px; padding: 0 16px;
  border: 1px solid var(--field); border-radius: 2px;
  background: #fff; color: var(--ink);
}
.field input[aria-invalid="true"] { border: 2px solid var(--error); padding: 0 15px; }
.err { font-size: 15px; line-height: 1.6; color: var(--error); font-weight: 500; }
.err:empty { display: none; }
fieldset.field { border: 0; padding: 0; margin: 0; min-width: 0; }
.opts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 8px; margin-top: 4px; }
.opt {
  display: flex; align-items: center; gap: 12px;
  min-height: 52px; padding: 0 16px;
  border: 1px solid var(--rule); border-radius: 2px; background: #fff;
  font-size: 16px; cursor: pointer;
}
.opt:has(input:checked) { border-color: var(--ink); }
.opt input,
.consent input { width: 20px; height: 20px; accent-color: var(--ink); flex: none; margin: 0; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; line-height: 1.8; color: var(--ink2); cursor: pointer; }
.consent input { margin-top: 5px; }
.consent .req { margin-left: 6px; }
.agree { display: flex; flex-direction: column; gap: 8px; } /* 同意のチェックとエラーの行（2026-11-07） */
.form .note { font-size: 14px; line-height: 1.7; color: var(--ink2); margin-bottom: -14px; }
.form .btn { width: 100%; }
.form-status { font-size: 15px; line-height: 1.7; }
.form-status:empty { display: none; }
.form-status.is-error { color: var(--error); font-weight: 500; }

.done { display: flex; flex-direction: column; gap: 16px; padding: 32px; background: #fff; border: 1px solid var(--rule); border-radius: 2px; }
.done[hidden] { display: none; }
.done h3 { font-size: 22px; font-weight: 600; line-height: 1.5; }

/* footer */
.foot { padding: 48px 0 56px; }
.foot-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 32px; font-size: 14px; line-height: 1.7; color: var(--ink2); }
.foot nav { display: flex; flex-wrap: wrap; gap: 4px 24px; }
.foot nav a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); }
.foot .mark { color: var(--ink); font-size: 17px; padding-top: 0; align-items: center; }
.credits { margin-top: 24px; font-size: 13px; line-height: 1.7; color: var(--ink2); }
.credits summary { cursor: pointer; min-height: 44px; display: inline-flex; align-items: center; }
.credits ul { margin-top: 4px; display: flex; flex-direction: column; gap: 4px; }

/* plain pages (お礼ページなど) */
.page-plain .topbar { position: static; color: var(--ink); }
.page-plain .topbar a { color: var(--ink); text-shadow: none; }
.page-plain .topbar :focus-visible { outline-color: var(--ink); }
.thanks { padding: 96px 0 128px; }
.thanks .body { display: flex; flex-direction: column; gap: 20px; max-width: 40em; }
.thanks h1 { font-size: clamp(28px, 4vw, 44px); font-weight: 600; line-height: 1.4; letter-spacing: -0.01em; }

/* sticky sign-up bar (phones) */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 10;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(236, 235, 232, .96);
  border-top: 1px solid var(--rule);
  transform: translateY(110%);
  visibility: hidden;
  transition: transform .2s ease, visibility 0s linear .2s;
}
.sticky-cta.is-on { transform: none; visibility: visible; transition: transform .2s ease; }
.sticky-cta .btn { width: 100%; min-height: 52px; }
@media (prefers-reduced-motion: reduce) {
  .sticky-cta, .sticky-cta.is-on { transition: none; }
}

/* tablet */
@media (min-width: 761px) and (max-width: 1023px) {
  .meet figure,
  .act figure { grid-column: 1 / span 6; }
  .meet-text,
  .act-text { grid-column: 7 / span 6; }
  .act.flip figure { grid-column: 7 / span 6; }
  .act.flip .act-text { grid-column: 1 / span 6; }
  .join-lead { grid-column: 1 / span 5; }
  .form { grid-column: 6 / span 7; }
}

/* phone */
@media (min-width: 761px) {
  .sticky-cta { display: none; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .hero { min-height: 760px; min-height: clamp(560px, 100svh, 844px); }
  .hero-img { object-position: 50% 50%; }
  .nav .nav-x { display: none; }
  .hero-body { padding-bottom: 28px; gap: 18px; }
  .hero-text { gap: 18px; }
  .hero h1 { font-size: min(34px, 8.9vw); }
  .hero .sub { font-size: 16px; }
  .hero .btn { width: 100%; }
  .hero-cap { width: 100%; text-align: right; padding: 0; }
  .sec { padding: 80px 0; }
  .sec.join { padding-top: 64px; padding-bottom: 96px; }
  .split,
  .meet,
  .act,
  .join-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .split > *,
  .meet > *,
  .act > *,
  .act.flip > *,
  .join-grid > * { grid-column: 1 / -1 !important; grid-row: auto !important; }
  .h2 { font-size: 18px; }
  #meetup-title { font-size: 26px; }
  .act h3 { font-size: 22px; }
  .mission .stmt { font-size: 22px; line-height: 1.85; }
  .meet-text { gap: 20px; }
  .act { margin-bottom: 72px; }
  .act-text { padding-bottom: 0; }
  .act.wide .photo { aspect-ratio: 3 / 2; }
  .acts-head { margin-bottom: 32px; }
  .steps li { grid-template-columns: minmax(0, 1fr); padding: 18px 0; }
  .promise li { font-size: 19px; padding: 18px 0; }
  .voice { margin-top: 24px; }
  .voice p { font-size: 17px; }
  .faq summary { font-size: 16px; }
  .join-lead .big { font-size: 24px; }
  .form { gap: 24px; }
  .photo { aspect-ratio: 4 / 3; }
  .foot { padding-bottom: 96px; }
}
