
:root {
  --ink: #222;
  --sub: #4a4a4a;
  --line: #d8d4cc;
  --bg: #faf8f4;
  --accent: #1b2a44;
  --accent-soft: #e3e9f2;
  --alert: #a3262a;
  --red: #a3262a;
  --green: #0e6825;
  --green-dark: #0a521c;
  --navy-btn: #062c5f;
  --serif: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", "Noto Serif JP", "Noto Serif CJK JP", serif;
}
* { box-sizing: border-box; }
html { background: var(--bg); }
body {
  margin: 0; background: transparent; color: var(--ink);

  font-family: "BIZ UDGothic", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Meiryo", "Yu Gothic Medium", "YuGothic", "Noto Sans JP", "Noto Sans CJK JP", sans-serif;
  font-weight: 500; font-size: 18px; line-height: 1.85;
}
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1;
  background:
    linear-gradient(to bottom, rgba(250,248,244,.85) 0%, rgba(250,248,244,.35) 45%, rgba(250,248,244,.15) 100%),
    url("hero-s.jpg") 12% 40% / cover no-repeat;
  opacity: .30; filter: saturate(.75); pointer-events: none;
}
.wrap {
  max-width: 720px; margin: 0 auto; padding: 0 20px 72px;
  background: rgba(250,248,244,.74); box-shadow: 0 0 80px 40px rgba(250,248,244,.74);
}
a { color: var(--accent); }
p { margin: 0 0 14px; }
header { padding: 40px 0 4px; }
.org { font-weight: bold; font-size: 16px; margin: 0 0 12px; }
.org a { text-decoration: none; display: inline-flex; align-items: center; gap: 12px; color: var(--accent); }
.org b { display: block; font-size: 22px; letter-spacing: .06em; line-height: 1.15; }
.org i { display: block; font-style: normal; font-weight: normal; font-family: Georgia, "Times New Roman", serif; font-size: 12.5px; letter-spacing: .03em; line-height: 1.3; margin-top: 3px; }
.mark { width: 60px; height: 42px; flex: none; color: var(--accent); }
.crumb { font-size: 14.5px; color: var(--sub); margin: 0 0 18px; }
h1 { font-family: var(--serif); color: var(--accent); font-size: 34px; line-height: 1.45; margin: 0 0 14px; letter-spacing: .03em; }
.lead { font-size: 19px; margin: 0 0 8px; }
h2 {
  font-size: 22px; margin: 44px 0 16px; padding-left: 12px;
  border-left: 6px solid var(--red); line-height: 1.5; font-family: var(--serif); color: var(--accent);
}
h3 { font-size: 19px; color: var(--accent); margin: 26px 0 8px; }

.flow { display: grid; gap: 10px; margin: 22px 0 8px; }
.flow div { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 10px 16px; font-size: 16px; }
.flow b { color: var(--accent); margin-right: 8px; }
.attention { background: #fff; border-left: 5px solid var(--red); border-radius: 6px; padding: 12px 16px; font-size: 16.5px; margin: 14px 0 0; }

.box { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 8px 24px 20px; margin-top: 18px; }
.box ul, .box ol { padding-left: 1.3em; }
.box li { margin-bottom: 6px; }

form { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 8px 24px 28px; margin-top: 22px; }
.field { margin-top: 24px; }
.field > label, .field > .q { display: block; font-weight: bold; margin-bottom: 6px; }
.req, .opt { font-size: 13px; font-weight: normal; border-radius: 4px; padding: 1px 7px; margin-left: 8px; vertical-align: 2px; white-space: nowrap; }
.req { background: var(--alert); color: #fff; }
.opt { background: #eee; color: #555; }
.hint { font-size: 15px; color: var(--sub); margin: 4px 0 0; }
input[type=text], input[type=email], input[type=tel], select, textarea {
  width: 100%; font: inherit; color: inherit;
  padding: 12px 14px; border: 1.5px solid #b9b4aa; border-radius: 8px; background: #fff;
}
textarea { min-height: 110px; resize: vertical; }
textarea.short { min-height: 70px; }
input:focus, select:focus, textarea:focus { outline: 3px solid var(--accent-soft); border-color: var(--accent); }
.choices { display: grid; gap: 8px; }
.choices label, .agree label {
  display: flex; gap: 12px; align-items: flex-start; font-weight: normal;
  border: 1.5px solid var(--line); border-radius: 8px; padding: 10px 14px; cursor: pointer;
}
.choices input, .agree input { width: 22px; height: 22px; margin-top: 6px; flex: none; accent-color: var(--accent); }
.agree { display: grid; gap: 8px; margin-top: 28px; }
.agree a { font-weight: bold; }
.cond { border-left: 4px solid var(--accent-soft); padding-left: 14px; }

.btn {
  display: inline-block; border: 0; cursor: pointer; font: inherit;
  padding: 18px 44px; border-radius: 6px;
  background: linear-gradient(#1f8a38, var(--green)); color: #fff; text-decoration: none;
  font-size: 21px; font-weight: bold; letter-spacing: .03em;
  box-shadow: 0 8px 22px rgba(14,104,37,.3);
}
.btn:hover { background: var(--green-dark); }
.btn.navy { background: linear-gradient(#1b4a86, var(--navy-btn)); box-shadow: 0 8px 22px rgba(6,44,95,.28); }
.btn.navy:hover { background: #041f45; }
.btn.sub { background: #fff; color: var(--accent); border: 1.5px solid var(--accent); box-shadow: none; font-size: 17px; font-weight: normal; padding: 12px 24px; }
.btn.sub:hover { background: var(--accent-soft); }
.actions { text-align: center; margin-top: 30px; }
.actions .btn { margin: 6px; }
.btn[disabled] { opacity: .6; cursor: wait; }

#confirm, #done { display: none; background: #fff; border: 2px solid var(--accent); border-radius: 14px; padding: 8px 24px 28px; margin-top: 22px; }
#confirm h2, #done h2 { margin-top: 26px; }
#confirm pre {
  white-space: pre-wrap; word-break: break-word; font: inherit; font-size: 16px;
  background: var(--bg); border: 1px dashed #aaa; border-radius: 8px; padding: 14px 16px; margin: 0 0 8px;
}
#done .no { font-size: 22px; letter-spacing: .04em; }
#msg { font-size: 16px; color: var(--accent); min-height: 1.6em; margin: 10px 0 0; }
#msg.err { color: var(--alert); font-weight: bold; }
.note { font-size: 16px; color: var(--sub); }
.ph { background: #fff0b3; color: #222; padding: 0 4px; border-radius: 3px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.privacy-sum { font-size: 16px; }
.privacy-sum ul { padding-left: 1.3em; margin: 0; }

.links { display: grid; gap: 10px; margin: 16px 0 0; padding: 0; list-style: none; }
.links a { display: block; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 12px 16px; text-decoration: none; font-weight: bold; }
.links a:hover { background: var(--accent-soft); }
.links small { display: block; font-weight: normal; color: var(--sub); font-size: 14.5px; }

table.plain { width: 100%; border-collapse: collapse; font-size: 16px; background: #fff; }
table.plain th, table.plain td { border: 1px solid var(--line); padding: 8px 12px; text-align: left; vertical-align: top; }
table.plain th { background: #f3f1ec; width: 30%; font-weight: bold; }

footer { margin-top: 48px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 14.5px; color: var(--sub); }
footer a { margin-right: 4px; }

@media (min-width: 640px) {
  .flow.three { grid-template-columns: 1fr 1fr 1fr; }
  .flow.four { grid-template-columns: 1fr 1fr; }
  .choices.two { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 639px) {
  .wrap { background: rgba(250,248,244,.55); box-shadow: none; }
  h1 { font-size: 27px; }
  form, #confirm, #done, .box { padding: 4px 16px 24px; }
  .btn { display: block; width: 100%; padding: 16px; }
  table.plain th { width: 38%; }
}

.mail-box { background: #fff; border: 1.5px solid var(--green, #0e6825); border-radius: 8px; padding: 12px 16px; margin: 14px 0 0; font-size: 16px; line-height: 1.8; }
.mail-box .mail-addr, footer .f-contact a { font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif; }
.mail-box .mail-addr { display: inline-block; margin: 2px 0 2px 4px; font-size: 19px; font-weight: bold; word-break: break-all; }
.mail-box small { display: block; font-size: 14px; color: var(--sub); }
footer .f-contact { font-size: 16px; color: var(--ink, #1f2633); }
footer .f-contact a { display: inline-block; font-weight: bold; font-size: 17px; }
footer .f-copy { font-size: 13px; line-height: 1.8; }

.press-msg { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 6px 28px 18px; margin: 22px 0 18px; }
.press-msg h2 { margin: 18px 0 18px; }
.press-msg h2 .nb { display: inline-block; }
.press-msg p { font-size: 18px; line-height: 2; margin: 0 0 16px; }
.press-msg p.sign { text-align: right; margin: 22px 0 4px; }
@media (max-width: 639px) { .press-msg { padding: 4px 18px 14px; } .press-msg p { font-size: 17px; } }

  .to-top { position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 15; width: 60px; height: 60px; border-radius: 50%;
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0; background: #1b2a44; color: #fff; text-decoration: none;
    box-shadow: 0 6px 18px rgba(27,42,68,.28); border: 2px solid #fff; opacity: 0; visibility: hidden; transform: translateY(10px);
    transition: opacity .25s, transform .25s, visibility .25s; }
  .to-top.show { opacity: 1; visibility: visible; transform: none; }
  .to-top svg { width: 22px; height: 22px; }
  .to-top span { font-size: 13px; font-weight: bold; line-height: 1.1; letter-spacing: .05em; }
  .to-top:hover { background: #2b3d5e; }
  .to-top:focus-visible { outline: 3px solid #f2c94c; outline-offset: 2px; }
  .page-end { text-align: center; margin: 48px auto 0; padding: 0 16px; }
  .page-end .pe-home { display: inline-flex; align-items: center; gap: 10px; padding: 14px 30px; border: 2px solid #1b2a44; border-radius: 999px; background: #fff;
    color: #1b2a44; font-weight: bold; font-size: 17px; text-decoration: none; line-height: 1.4; }
  .page-end .pe-home svg { width: 22px; height: 22px; flex: none; }
  .page-end .pe-home:hover { background: #eef2f7; }
  @media (max-width: 960px) {
    .to-top { width: 56px; height: 56px; right: 12px; }
  }
@media (max-width: 960px) { footer { padding-bottom: 80px; } }

  .to-top { width: 76px; height: 76px; right: 20px; bottom: calc(20px + env(safe-area-inset-bottom, 0px));
    background: linear-gradient(#e12a26, #b01414); border: 3px solid #fff;
    box-shadow: 0 8px 22px rgba(120,10,10,.38), 0 0 0 1px rgba(0,0,0,.08); }
  .to-top svg { width: 28px; height: 28px; }
  .to-top span { font-size: 16px; letter-spacing: .08em; }
  .to-top:hover { background: linear-gradient(#ee3a35, #c01a1a); }
  .to-top.show { animation: totop-in .35s ease-out; }
  @keyframes totop-in { from { transform: translateY(14px) scale(.9); } to { transform: none; } }
  @media (prefers-reduced-motion: reduce) { .to-top.show { animation: none; } }
  @media (max-width: 960px) {
    .to-top { width: 68px; height: 68px; right: 14px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); }
    .to-top svg { width: 26px; height: 26px; }
    .to-top span { font-size: 15px; }
  }
@media (max-width: 960px) { footer { padding-bottom: 96px; } }

footer .f-about { font-size: 15.5px; color: var(--ink, #1f2633); margin: 0 0 10px; }
