:root {
  color-scheme: light;
  --ink: #203346;
  --navy: #1b3853;
  --muted: #506571;
  --blue: #e8f0f6;
  --paper: #fbfaf7;
  --line: #cfdae1;
  --red: #a03739;
  color: var(--ink);
  background: #e9eef2;
  font-family: "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
body { max-width: 490px; margin: auto; background: var(--paper); line-height: 1.65; }
img { display: block; max-width: 100%; }
h1, h2, h3, p, ul, figure { margin: 0; }
.wrap { width: calc(100% - 40px); margin-inline: auto; }
.masthead { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 6px 5%; min-height: 41px; border-top: 3px solid #15344f; border-bottom: 1px solid #d7dfe4; background: white; color: #1b3650; }
.publisher { display: flex; align-items: center; gap: 6px; font-size: .8125rem; font-weight: 650; }
.publisher img { width: 56px; height: auto; }
.service-name { font-size: .75rem; letter-spacing: .03em; }
.hero { container-type: inline-size; text-align: center; }
.hero-scene { position: relative; isolation: isolate; min-height: max(365px, 117cqw); padding: 18px 9px 0; }
.hero-image { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.hero-scene::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, #fffdf8db, #fffdf880 32%, transparent 53%); }
.hero-image { z-index: -2; }
.hero-lead { font-size: .9375rem; font-weight: 600; line-height: 1.5; letter-spacing: .04em; }
h1, h2, .feature h3 { font-family: "Hiragino Mincho ProN", "Yu Mincho", serif; color: var(--navy); font-weight: 700; }
h1 { font-size: clamp(2.5rem, 13.25cqw, 3.9rem); line-height: 1.12; margin-top: 12px; letter-spacing: -.045em; color: #102d47; font-weight: 800; }
h1 span { display: flex; align-items: center; justify-content: center; gap: .5em; font-size: .58em; letter-spacing: .05em; margin-bottom: 6px; }
h1 span::before, h1 span::after { content: ""; width: .95em; height: 1px; background: #a18a66; }
.hero-action { position: relative; margin: -10px auto 0; width: calc(100% - 20px); padding: 14px 10px 0; border-top: 2px solid #a48c65; background: var(--paper); }
.terms { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; max-width: 361px; margin: 0 auto; list-style: none; padding: 0; }
.terms li { display: grid; place-content: center; gap: 4px; padding: 9px 2px; min-height: 62px; background: linear-gradient(120deg, #274a66, #152e48); border-radius: 4px; outline: 1px solid #c2b393; outline-offset: -4px; color: white; font-family: "Hiragino Mincho ProN", "Yu Mincho", serif; line-height: 1.13; }
.terms span { font-size: .85rem; letter-spacing: .12em; color: #ffebc7; font-weight: 600; }
.terms strong { font-size: clamp(1rem, 4.6cqw, 1.25rem); font-weight: 700; white-space: nowrap; }
.button { position: relative; display: grid; place-items: center; width: 100%; min-height: 52px; color: white; background: #953e3c; border: 0; border-radius: 5px; padding: 10px 32px; font: inherit; font-size: 1.125rem; font-weight: 650; letter-spacing: .045em; text-decoration: none; cursor: pointer; }
.button::after { position: absolute; right: 22px; content: ""; width: 8px; height: 8px; border-top: 1.5px solid; border-right: 1.5px solid; transform: rotate(45deg); }
.button:hover { background: #803432; }
.hero .button { margin: 12px auto 0; max-width: 361px; }
:focus-visible { outline: 3px solid #2d729a; outline-offset: 3px; }
.intro { text-align: center; padding-block: 34px 30px; }

h2 { font-size: clamp(1.45rem, 6.9vw, 1.9rem); line-height: 1.38; letter-spacing: -.025em; }
.intro p { margin-top: 12px; font-size: .9375rem; }
.work { padding-bottom: 28px; }
.work > h2 { display: flex; align-items: center; gap: 14px; margin-bottom: 17px; font-size: 1.28rem; letter-spacing: .07em; }
.work > h2::after { content: ""; flex: 1; height: 1px; background: #c4b7a2; }
.feature { margin-bottom: 9px; }
.feature figure img { width: 100%; height: auto; aspect-ratio: 2.05; object-fit: cover; object-position: center 55%; }
.feature-copy { position: relative; margin: -15px 0 0 14px; padding: 13px 0 9px 14px; border-left: 2px solid #a99270; background: var(--paper); }
.feature .kind { color: #675744; }
.feature .kind span { margin-left: 10px; padding-left: 10px; border-left: 1px solid #b9ac97; }
.feature h3 { font-size: clamp(1.45rem, 6.5vw, 1.85rem); margin: 6px 0; }
.feature-copy > p:not(.kind) { font-size: .9375rem; }
.source-link { display: inline-block; padding-block: 6px; font-size: .8125rem; color: #365970; text-underline-offset: 3px; }
.feature + .story { border-top: 1px solid var(--line); }
.story { display: grid; grid-template-columns: minmax(84px, 32%) minmax(0, 1fr); gap: 14px; align-items: center; padding-block: 15px; border-bottom: 1px solid var(--line); }
.story figure { height: auto; aspect-ratio: 1.22; background: #fff; display: grid; place-items: center; overflow: hidden; }
.story figure img { width: 100%; height: 100%; object-fit: contain; }
.story .club-mark { background: #252b34; }
.story .club-mark img { width: 63%; height: auto; }
.kind { color: var(--muted); font-size: .8125rem; font-weight: 650; }
h3 { color: var(--navy); font-size: 1.05rem; line-height: 1.4; margin: 2px 0 3px; }
.story div > p:last-child { font-size: .9rem; }
small { display: inline-block; font-size: .75rem; color: var(--muted); }
.consult { background: var(--blue); padding-block: 23px 28px; border-top: 3px solid var(--navy); }
.consult h2 { margin-bottom: 8px; }
.consult p + p { margin-top: 4px; }
form { margin-top: 14px; padding: 14px; display: grid; gap: 5px; background: #fff; border: 1px solid var(--line); }
label { font-weight: 650; }
input, select { min-height: 46px; width: 100%; min-width: 0; padding: 6px 9px; margin-bottom: 7px; font: inherit; color: inherit; background: #fff; border: 1px solid #6e8697; border-radius: 3px; }
.preview-note { font-size: .875rem; }
footer { min-height: 64px; display: flex; justify-content: space-between; align-items: center; font-size: .875rem; }
footer a { color: var(--navy); }
