/* チーム成田かずよし 共通スタイル */
:root {
  --blue-900: #072f57;   /* 夜の陸奥湾 */
  --blue-700: #0b4f8c;   /* メインの青 */
  --blue-500: #2a7fc4;
  --blue-100: #e6f0f9;
  --blue-50:  #f3f8fc;
  --ink: #1b2733;
  --ink-sub: #50606f;
  --line: #d5e0ea;
  --error: #c0392b;
  --white: #fff;
  --radius: 10px;
  --font: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans JP", "Yu Gothic", "YuGothic", Meiryo, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--white); line-height: 1.85; font-size: 16px; }
img { max-width: 100%; display: block; }
a { color: var(--blue-700); }
h1, h2, h3 { line-height: 1.4; margin: 0 0 .6em; }
p { margin: 0 0 1em; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.wrap.narrow { max-width: 760px; }

/* header */
.site-header { background: var(--white); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 10; }
.site-header .wrap { display: flex; align-items: center; height: 60px; }
.logo { font-weight: 700; font-size: 1.15rem; color: var(--blue-900); text-decoration: none; letter-spacing: .04em; }

/* hero */
.hero { background: linear-gradient(160deg, var(--blue-900) 0%, var(--blue-700) 55%, var(--blue-500) 100%); color: var(--white); }
.hero-inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; padding-top: 64px; padding-bottom: 64px; }
.hero-kicker { display: inline-block; font-size: .85rem; font-weight: 700; letter-spacing: .08em; border: 1px solid rgba(255,255,255,.6); border-radius: 999px; padding: 2px 14px; margin-bottom: 18px; }
.hero h1 { font-size: clamp(1.9rem, 4.2vw, 2.8rem); letter-spacing: .04em; }
.hero-lead { color: rgba(255,255,255,.9); max-width: 32em; }
.hero-photo { aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: rgba(255,255,255,.12); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo.is-empty { display: grid; place-items: center; border: 2px dashed rgba(255,255,255,.45); }
.hero-photo.is-empty span { color: rgba(255,255,255,.75); font-size: .95rem; letter-spacing: .1em; }

/* buttons */
.btn { display: inline-block; font: inherit; font-weight: 700; text-decoration: none; text-align: center; border-radius: 999px; padding: 14px 36px; border: 2px solid transparent; cursor: pointer; transition: background .15s, color .15s; }
.btn-primary { background: var(--white); color: var(--blue-700); }
.btn-primary:hover { background: var(--blue-100); }
.section .btn-primary, .form .btn-primary { background: var(--blue-700); color: var(--white); }
.section .btn-primary:hover, .form .btn-primary:hover { background: var(--blue-900); }
.btn-ghost { background: var(--white); color: var(--blue-700); border-color: var(--blue-700); }
.btn-ghost:hover { background: var(--blue-50); }
.btn-wide { width: 100%; max-width: 420px; }

/* sections */
.section { padding: 64px 0; }
.section-tint { background: var(--blue-50); }
.section-dark { background: var(--blue-900); color: var(--white); }
.section-dark a { color: #cfe4f7; }
.section h2 { font-size: 1.5rem; color: var(--blue-900); padding-bottom: 12px; margin-bottom: 24px; border-bottom: 3px solid var(--blue-700); display: inline-block; }
.section-dark h2 { color: var(--white); border-color: var(--blue-500); }
.signature { text-align: right; font-weight: 700; margin-top: 1.5em; }
.page-title { font-size: 1.6rem; color: var(--blue-900); }
h2.sub { font-size: 1.2rem; border-bottom-width: 2px; margin-top: 32px; }

.notes { padding-left: 1.2em; margin: 0; }
.notes li { margin-bottom: .7em; }
.notes strong { color: var(--blue-900); }
.notes.small { font-size: .95rem; }
.muted { color: var(--ink-sub); font-size: .9rem; }

/* steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.steps li { display: flex; gap: 18px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.steps h3 { font-size: 1.05rem; margin-bottom: .3em; color: var(--blue-900); }
.steps p { margin: 0; color: var(--ink-sub); }
.step-no { flex: 0 0 40px; height: 40px; border-radius: 50%; background: var(--blue-700); color: var(--white); font-weight: 700; display: grid; place-items: center; }

/* form */
.form { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; }
.field { margin: 0 0 24px; border: 0; padding: 0; }
.field > label, .field legend { display: block; font-weight: 700; margin-bottom: 6px; }
.req, .opt { display: inline-block; font-size: .72rem; font-weight: 700; border-radius: 4px; padding: 1px 7px; margin-left: 8px; vertical-align: 2px; }
.req { background: var(--blue-700); color: var(--white); }
.opt { background: var(--line); color: var(--ink-sub); }
input[type=text], input[type=email], input[type=tel], input[type=date], select, textarea {
  width: 100%; font: inherit; color: var(--ink); background: var(--white);
  border: 1px solid #b8c7d5; border-radius: 6px; padding: 11px 12px; min-height: 48px;
}
input:focus, select:focus, textarea:focus { outline: 3px solid rgba(42,127,196,.3); border-color: var(--blue-500); }
[aria-invalid=true] { border-color: var(--error); background: #fff6f5; }
.w-short { max-width: 12em; }
.mt { margin-top: 8px; }
.input-suffix { display: flex; align-items: center; gap: 8px; max-width: 16em; }
.hint { font-size: .85rem; color: var(--ink-sub); margin: 6px 0 0; }
.field-error { color: var(--error); font-size: .88rem; font-weight: 700; margin: 6px 0 0; }
.form-alert { background: #fff1ef; border: 1px solid #f0c4be; color: var(--error); font-weight: 700; border-radius: 6px; padding: 12px 16px; }
.agreements { background: var(--blue-50); border-radius: var(--radius); padding: 20px; }
.agreements.has-error { outline: 2px solid var(--error); }
.agreements legend { float: left; width: 100%; }
.check { display: flex; gap: 10px; align-items: flex-start; margin-top: 12px; font-size: .95rem; cursor: pointer; }
.check input { width: 20px; height: 20px; flex: 0 0 20px; margin-top: 4px; accent-color: var(--blue-700); }
.form-actions { text-align: center; margin-top: 32px; }
.form-actions.two { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.form-actions.two form { margin: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* confirm / done */
.confirm-list { display: grid; grid-template-columns: 9em 1fr; border-top: 1px solid var(--line); margin: 0 0 24px; }
.confirm-list dt, .confirm-list dd { padding: 12px 8px; border-bottom: 1px solid var(--line); margin: 0; }
.confirm-list dt { font-weight: 700; color: var(--blue-900); background: var(--blue-50); }
.confirm-list dd.strong { font-weight: 700; font-size: 1.1rem; }
.ticket { text-align: center; background: var(--blue-700); color: var(--white); border-radius: var(--radius); padding: 20px; margin: 24px 0; }
.ticket-label { margin: 0; font-size: .9rem; letter-spacing: .1em; }
.ticket-no { margin: 0; font-size: 2.6rem; font-weight: 700; letter-spacing: .12em; }
.callout { border: 2px solid var(--blue-700); border-radius: var(--radius); padding: 20px; margin: 0 0 20px; background: var(--blue-50); }
.callout h3 { font-size: 1rem; color: var(--blue-900); }
.transfer-name { font-size: 1.5rem; font-weight: 700; letter-spacing: .06em; background: var(--white); border-radius: 6px; padding: 8px 14px; display: inline-block; }

/* org */
.org { display: grid; grid-template-columns: 8em 1fr; gap: 8px 16px; margin: 0; }
.org dt { color: #a9c8e6; }
.org dd { margin: 0; }

/* footer */
.site-footer { background: #041f3a; color: #a9c8e6; font-size: .85rem; padding: 24px 0; text-align: center; }
.site-footer a { color: #cfe4f7; }
.site-footer p { margin: 8px 0 0; }

/* privacy */
.doc h1 { font-size: 1.6rem; color: var(--blue-900); }
.doc h2 { font-size: 1.15rem; color: var(--blue-900); margin-top: 2em; }

@media (max-width: 760px) {
  .hero-inner { grid-template-columns: 1fr; padding-top: 40px; padding-bottom: 44px; gap: 28px; }
  .hero-photo { max-width: 280px; width: 70%; margin: 0 auto; order: -1; }
  .hero-text { text-align: center; }
  .hero-lead { margin-left: auto; margin-right: auto; }
  .section { padding: 48px 0; }
  .form { padding: 20px 16px; }
  .confirm-list { grid-template-columns: 1fr; }
  .confirm-list dt { border-bottom: 0; padding-bottom: 4px; }
  .org { grid-template-columns: 1fr; gap: 0; }
  .org dd { margin-bottom: 10px; }
  .form-actions.two { flex-direction: column-reverse; align-items: stretch; }
  .form-actions.two .btn { width: 100%; }
}

/* 口座名義ブロック */
.account-block { border-top: 1px dashed var(--line); padding-top: 20px; }
.same-check { margin-top: 0; font-weight: 700; font-size: 1rem; }
#account-fields { margin-top: 20px; }
#account-fields[hidden] { display: none; }
#account-fields .field:last-child { margin-bottom: 0; }
.same-note { color: var(--ink-sub); margin-left: .5em; }

/* ヘッダーのメニュー */
.site-header .wrap { justify-content: space-between; gap: 12px; }
.site-nav { display: flex; gap: 4px; }
.site-nav a { text-decoration: none; color: var(--blue-900); font-weight: 700; font-size: .92rem; padding: 6px 12px; border-radius: 999px; }
.site-nav a:hover { background: var(--blue-50); }
.site-nav a[aria-current=page] { background: var(--blue-100); }
@media (max-width: 420px) { .logo { font-size: 1rem; } .site-nav a { padding: 6px 8px; font-size: .85rem; } }
