@charset "utf-8";
/* Chill Summoners 公式サイト（下層ページ）
   型は五等分の花嫁アラームの下層ページ。色と飾りはアプリのアイコン（草原の緑・空・金の飾り文字）に合わせる。 */

:root {
  --bg-deep: #0b1d14;
  --bg-mid: #12301f;
  --bg-sky: #1d3e52;
  --panel: rgba(9, 22, 16, 0.86);
  --panel-line: rgba(232, 200, 120, 0.42);
  --gold-1: #fff3c4;
  --gold-2: #e9c877;
  --gold-3: #b98a35;
  --text: #ece6d6;
  --text-sub: #b9b29f;
  --link: #f2d58a;
  --rule: rgba(232, 200, 120, 0.22);
  --font-body: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  --font-head: "Shippori Mincho B1", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --font-latin: "Cinzel", "Shippori Mincho B1", serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: 0.02em;
  background-color: var(--bg-deep);
  background-image:
    radial-gradient(ellipse 120% 60% at 50% 0%, rgba(120, 170, 200, 0.28), transparent 70%),
    linear-gradient(180deg, var(--bg-sky) 0, var(--bg-mid) 420px, var(--bg-deep) 1200px);
  background-repeat: no-repeat;
  min-height: 100vh;
}
html[lang="en"] body { letter-spacing: 0; line-height: 1.75; }

a { color: var(--link); text-underline-offset: 3px; }
a:hover { color: var(--gold-1); }
img { max-width: 100%; height: auto; }

/* ---------- header ---------- */
.site-header {
  position: relative;
  max-width: 960px;
  margin: 0 auto;
  padding: 20px 16px 0;
  text-align: center;
}
.site-logo { display: inline-block; margin: 8px auto 0; }
.site-logo img { width: min(320px, 72vw); filter: drop-shadow(0 4px 14px rgba(0, 0, 0, 0.55)); }

.lang-switch {
  position: absolute;
  top: 16px;
  right: 16px;
  display: flex;
  border: 1px solid var(--panel-line);
  border-radius: 999px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.35);
  font-size: 14px;
  line-height: 1;
}
.lang-switch a, .lang-switch span {
  display: block;
  padding: 9px 14px;
  text-decoration: none;
  color: var(--text-sub);
}
.lang-switch [aria-current="true"] {
  color: #1a1408;
  background: linear-gradient(180deg, var(--gold-1), var(--gold-2));
  font-weight: 700;
}
.lang-switch a:hover { color: var(--gold-1); }

/* ---------- content ---------- */
#l-content { padding: 24px 16px 64px; }
.content-page {
  position: relative;
  max-width: 880px;
  margin: 0 auto;
  padding: 48px 56px 56px;
  background: var(--panel);
  border: 1px solid var(--panel-line);
  border-radius: 6px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45), inset 0 0 0 4px rgba(0, 0, 0, 0.25), inset 0 0 0 5px rgba(232, 200, 120, 0.14);
}
/* 四隅の飾り（ロゴの ✦ にならう） */
.content-page::before, .content-page::after {
  content: "";
  position: absolute;
  width: 14px; height: 14px;
  background: var(--gold-2);
  clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%);
  top: -7px;
}
.content-page::before { left: -7px; }
.content-page::after { right: -7px; }

.page-ttl {
  margin: 0 0 8px;
  text-align: center;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 32px;
  line-height: 1.4;
  letter-spacing: 0.12em;
  background: linear-gradient(180deg, var(--gold-1) 10%, var(--gold-2) 55%, var(--gold-3) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
html[lang="en"] .page-ttl { font-family: var(--font-latin); letter-spacing: 0.06em; }
.page-ttl-sub {
  margin: 0 0 36px;
  text-align: center;
  font-family: var(--font-latin);
  font-size: 13px;
  letter-spacing: 0.3em;
  color: var(--gold-3);
}
.page-ttl-sub::before, .page-ttl-sub::after {
  content: "";
  display: inline-block;
  width: 48px; height: 1px;
  margin: 0 14px;
  vertical-align: middle;
  background: linear-gradient(90deg, transparent, var(--gold-2), transparent);
}

.page-intro { margin: 0 0 32px; }

.page-ttl2, .sec-ttl {
  position: relative;
  margin: 48px 0 16px;
  padding: 0 0 10px 26px;
  font-family: var(--font-head);
  font-size: 20px;
  line-height: 1.5;
  color: var(--gold-1);
  border-bottom: 1px solid var(--rule);
}
html[lang="en"] .page-ttl2, html[lang="en"] .sec-ttl { font-family: var(--font-body); font-weight: 700; }
.page-ttl2::before, .sec-ttl::before {
  content: "";
  position: absolute;
  left: 2px; top: 0.42em;
  width: 13px; height: 13px;
  background: var(--gold-2);
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
}
.page-ttl2::after, .sec-ttl::after {
  content: "";
  position: absolute;
  left: 0; bottom: -1px;
  width: 96px; height: 1px;
  background: var(--gold-2);
}

.sub-ttl {
  margin: 28px 0 8px;
  font-size: 17px;
  color: var(--gold-2);
}

.page-p { margin: 0 0 14px; }
.page-att {
  display: flex;
  gap: 4px;
  margin: 0 0 8px;
  font-size: 15px;
  color: var(--text-sub);
}
.att-icon { flex: none; }
.page-date { margin: 48px 0 0; text-align: right; color: var(--text-sub); font-size: 15px; }

.page-list, .steps { margin: 0 0 14px; padding-left: 1.6em; }
.page-list li, .steps li { margin: 0 0 6px; }
.page-list li::marker, .steps li::marker { color: var(--gold-2); font-weight: 700; }
.page-list-plain { list-style: none; padding-left: 0; }

.help-sec strong { color: var(--gold-1); }

/* ヘルプの画面の画像 */
.help-fig { margin: 4px 0 20px; }
.help-fig img {
  display: block;
  width: 100%;
  border: 1px solid var(--panel-line);
  border-radius: 6px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}
.help-fig figcaption { margin: 6px 0 0; font-size: 13px; color: var(--text-sub); text-align: center; }

/* 表（プライバシーポリシーの外部の仕組みなど） */
.page-table-wrap { margin: 0 0 18px; overflow-x: auto; }
.page-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.page-table th, .page-table td {
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--rule);
}
.page-table th { color: var(--gold-2); font-weight: 700; white-space: nowrap; }

/* ---------- 目次 ---------- */
.toc {
  margin: 0 0 36px;
  padding: 18px 22px;
  border: 1px solid var(--rule);
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.22);
}
.toc ul { display: flex; flex-wrap: wrap; gap: 8px 10px; margin: 0; padding: 0; list-style: none; }
.toc a {
  display: inline-block;
  padding: 6px 14px;
  border: 1px solid var(--panel-line);
  border-radius: 999px;
  font-size: 15px;
  line-height: 1.4;
  text-decoration: none;
}
.toc a:hover { background: rgba(232, 200, 120, 0.12); }

/* ---------- Q&A ---------- */
.faq-group-ttl { margin-top: 56px; }
.qa { margin: 0 0 12px; border: 1px solid var(--rule); border-radius: 4px; background: rgba(0, 0, 0, 0.2); }
.qa-head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 0;
  padding: 14px 16px 10px;
  font-size: inherit;
  font-weight: 700;
  color: var(--gold-1);
}
.qa-icon, .answer-icon {
  flex: none;
  display: inline-grid;
  place-items: center;
  width: 30px; height: 30px;
  border-radius: 50%;
  font-family: var(--font-latin);
  font-weight: 700;
  font-size: 16px;
  line-height: 1;
}
.qa-icon { color: #1a1408; background: linear-gradient(180deg, var(--gold-1), var(--gold-3)); }
.answer-icon { color: var(--gold-2); border: 1px solid var(--gold-2); }
.qa-q { padding-top: 2px; }
.page-answer { display: flex; gap: 12px; padding: 4px 16px 14px; }
.page-answer-body { min-width: 0; padding-top: 2px; }
.page-answer-body > :last-child { margin-bottom: 0; }
.platform { display: block; margin: 10px 0 2px; font-weight: 700; color: var(--gold-2); }
.platform:first-child { margin-top: 0; }

/* お問い合わせ */
.contact {
  margin: 64px 0 0;
  padding: 28px 24px;
  text-align: center;
  border: 1px solid var(--panel-line);
  border-radius: 6px;
  background: radial-gradient(ellipse at 50% 0, rgba(232, 200, 120, 0.12), transparent 70%), rgba(0, 0, 0, 0.25);
}
.contact .sec-ttl { margin-top: 0; display: inline-block; padding-right: 4px; }
.contact-notes { max-width: 600px; margin: 0 auto 20px; }
.btn-gold {
  display: inline-block;
  min-width: 260px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  color: #1a1408;
  text-decoration: none;
  background: linear-gradient(180deg, var(--gold-1), var(--gold-2) 60%, var(--gold-3));
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
}
.btn-gold:hover { color: #1a1408; filter: brightness(1.08); }
/* お問い合わせのページ */
.mail-form { margin: 8px 0 0; }
.form-row { display: block; margin: 0 0 20px; }
.form-label { display: block; margin: 0 0 6px; font-weight: 700; color: var(--gold-2); }
.form-ex { margin-left: 8px; font-weight: 400; font-size: 14px; color: var(--text-sub); }
.mail-form input, .mail-form textarea {
  display: block;
  width: 100%;
  padding: 12px 14px;
  font: inherit;
  font-size: 16px;
  color: var(--text);
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--panel-line);
  border-radius: 4px;
}
.mail-form textarea { resize: vertical; min-height: 180px; line-height: 1.7; }
.mail-form input:focus, .mail-form textarea:focus { outline: 2px solid var(--gold-2); outline-offset: 1px; }
.mail-form input[readonly] { color: var(--text-sub); background: rgba(255, 255, 255, 0.04); }
.form-error { margin: 0 0 16px; padding: 10px 14px; border: 1px solid #d98a6a; border-radius: 4px; color: #ffcfbd; background: rgba(160, 60, 30, 0.25); }
.form-notes { margin: 28px 0 24px; }
.form-submit { text-align: center; }
.btn-gold { border: 0; font: inherit; font-weight: 700; cursor: pointer; }

.contact-mail { margin: 12px 0 0; font-size: 15px; color: var(--text-sub); word-break: break-all; }

/* ---------- footer ---------- */
#l-footer { position: relative; padding: 40px 16px 32px; text-align: center; border-top: 1px solid var(--rule); background: rgba(0, 0, 0, 0.35); }
.footer-ptop { position: absolute; right: 16px; top: -28px; }
.footer-ptop a {
  display: grid; place-items: center;
  width: 52px; height: 52px;
  border-radius: 50%;
  border: 1px solid var(--panel-line);
  background: var(--bg-deep);
  text-decoration: none;
}
.footer-ptop a::before {
  content: "";
  width: 12px; height: 12px;
  margin-top: 6px;
  border-left: 2px solid var(--gold-2);
  border-top: 2px solid var(--gold-2);
  transform: rotate(45deg);
}
.footer-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 0; margin: 0 0 24px; padding: 0; list-style: none; font-size: 15px; }
.footer-nav li + li::before { content: "|"; margin: 0 14px; color: var(--rule); }
.footer-nav a { color: var(--text); text-decoration: none; }
.footer-nav a:hover, .footer-nav a[aria-current="page"] { color: var(--gold-1); }
.footer-logo { margin: 0 0 16px; }
.footer-logo img { width: 180px; }
.footer-copy { margin: 0; font-size: 13px; color: var(--text-sub); }

.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- smartphone ---------- */
@media (max-width: 680px) {
  body { font-size: 15px; }
  .site-header { padding-top: 64px; }
  .lang-switch { top: 14px; right: 50%; transform: translateX(50%); }
  #l-content { padding: 16px 12px 56px; }
  .content-page { padding: 32px 20px 40px; }
  .page-ttl { font-size: 25px; }
  .page-ttl2, .sec-ttl { font-size: 18px; margin-top: 40px; }
  .qa-head { padding: 12px 12px 8px; gap: 10px; }
  .page-answer { padding: 2px 12px 12px; gap: 10px; }
  .qa-icon, .answer-icon { width: 26px; height: 26px; font-size: 14px; }
  .btn-gold { min-width: 0; width: 100%; }
  .form-ex { display: block; margin: 2px 0 0; }
  .footer-nav { flex-direction: column; }
  .footer-nav li + li::before { display: none; }
  .page-table th { white-space: normal; }
}

/* メーラーが起動しないときの欄(送ったあとに出す) */
.mail-fallback { margin: 40px 0 0; padding: 24px 20px; border: 1px solid var(--gold-2); border-radius: 6px; background: rgba(0, 0, 0, 0.25); }
.fallback-row { margin: 0 0 20px; }
.fallback-value { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 0; word-break: break-all; }
.mail-fallback textarea { width: 100%; min-height: 220px; margin: 0 0 16px; padding: 10px 12px; border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 4px; color: inherit; background: rgba(255, 255, 255, 0.04); font: inherit; font-size: 14px; line-height: 1.7; resize: vertical; }
.btn-copy { padding: 4px 14px; border: 1px solid var(--gold-2); border-radius: 999px; color: var(--gold-2); background: transparent; font: inherit; font-size: 14px; cursor: pointer; }
.btn-copy:hover { background: rgba(255, 255, 255, 0.06); }
