/* =========================================================
   Gmap Review — sub-page styles (機能 / 運営会社 / お問い合わせ)
   Loaded after style.css. Reuses tokens from style.css :root.
   ========================================================= */

/* ---------- Sub-page hero ---------- */
.subhero {
  position: relative;
  overflow: hidden;
  padding: 78px 0 64px;
  text-align: center;
  background:
    radial-gradient(620px 320px at 80% -10%, var(--mint-200), transparent 70%),
    radial-gradient(540px 300px at 8% 0%, var(--mint-100), transparent 72%);
}
.subhero::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -1px;
  transform: translateX(-50%);
  width: 120px;
  height: 4px;
  border-radius: 4px;
  background: var(--teal);
}
.subhero .eyebrow {
  display: block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.24em;
  color: var(--teal);
  margin-bottom: 14px;
}
.subhero h1 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  line-height: 1.4;
  color: var(--ink);
}
.subhero p {
  margin: 18px auto 0;
  max-width: 640px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.9;
}

/* breadcrumb */
.crumb {
  display: flex;
  justify-content: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--muted-light);
  margin-bottom: 22px;
}
.crumb a { color: var(--teal); }
.crumb a:hover { text-decoration: underline; }

/* ---------- Feature main blocks ---------- */
.feat-main { background: #fff; }
.feat-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  margin-bottom: 64px;
}
.feat-row:last-child { margin-bottom: 0; }
.feat-row:nth-child(even) .feat-art { order: -1; }
.feat-text .feat-no {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--teal);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.feat-text .feat-no::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--teal);
}
.feat-text h2 {
  font-size: clamp(22px, 2.6vw, 28px);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.5;
}
.feat-text p {
  margin-top: 16px;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.95;
}
.feat-list {
  margin-top: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.feat-list li {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-soft);
}
.feat-list li .ck {
  flex: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--mint-100);
  color: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
}
.feat-list li .ck svg { width: 14px; height: 14px; }

/* feature artwork panel */
.feat-art {
  position: relative;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 70% 20%, var(--mint-100), transparent 60%),
    var(--mint-50);
  border: 1px solid var(--line);
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.feat-art .feat-icon {
  width: 124px;
  height: 124px;
  border-radius: 28px;
  background: #fff;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
}
.feat-art .feat-icon svg { width: 64px; height: 64px; }
.feat-art .blob {
  position: absolute;
  border-radius: 50%;
}
.feat-art .blob.o { width: 90px; height: 90px; background: rgba(245,166,35,0.14); right: 28px; bottom: 26px; }
.feat-art .blob.b { width: 60px; height: 60px; background: rgba(91,141,239,0.14); left: 34px; top: 30px; }

/* ---------- Feature support grid ---------- */
.feat-support { background: var(--mint-50); }
.support-grid {
  margin-top: 52px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.support-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 30px 28px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.support-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.support-card .s-ic {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--mint-100);
  color: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.support-card .s-ic svg { width: 27px; height: 27px; }
.support-card h3 { font-size: 17.5px; font-weight: 700; color: var(--ink); }
.support-card p { margin-top: 10px; font-size: 14px; color: var(--muted); line-height: 1.9; }

/* ---------- Company ---------- */
.company { background: #fff; }
.mission {
  max-width: 860px;
  margin: 0 auto;
  background: var(--mint-50);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 44px 48px;
  position: relative;
}
.mission h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.mission h2::before {
  content: "";
  width: 6px;
  height: 24px;
  border-radius: 3px;
  background: var(--teal);
}
.mission p {
  color: var(--ink-soft);
  font-size: 15.5px;
  line-height: 2.05;
  margin-bottom: 16px;
}
.mission p:last-child { margin-bottom: 0; }

.profile {
  max-width: 860px;
  margin: 56px auto 0;
}
.profile h2 {
  text-align: center;
  font-size: clamp(22px, 2.6vw, 28px);
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 30px;
}
.profile-table {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.profile-row {
  display: grid;
  grid-template-columns: 220px 1fr;
}
.profile-row + .profile-row { border-top: 1px solid var(--line); }
.profile-row dt {
  background: var(--mint-50);
  padding: 20px 26px;
  font-weight: 700;
  color: var(--ink);
  font-size: 14.5px;
}
.profile-row dd {
  padding: 20px 26px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 14.5px;
  line-height: 1.8;
}
.profile-row dd a { color: var(--teal); }
.profile-row dd a:hover { text-decoration: underline; }

/* mid CTA (simple) */
.mid-cta {
  text-align: center;
  background: var(--mint-50);
}
.mid-cta h2 {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.5;
}
.mid-cta p {
  margin: 16px auto 0;
  max-width: 560px;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.9;
}
.mid-cta-actions {
  margin-top: 30px;
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- Contact ---------- */
.contact { background: #fff; }
.contact-grid {
  display: grid;
  grid-template-columns: 1.45fr 0.85fr;
  gap: 44px;
  align-items: start;
}
.contact-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 40px 40px 36px;
}
.form-note {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 26px;
}
.form-note .req { color: #e0584b; font-weight: 700; }
.field { margin-bottom: 22px; }
.field label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 9px;
}
.field label .req {
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  background: #e0584b;
  border-radius: 4px;
  padding: 2px 7px;
  letter-spacing: 0.04em;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
  background: var(--mint-50);
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: 14px 16px;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.field textarea { resize: vertical; min-height: 158px; line-height: 1.8; }
.field input::placeholder,
.field textarea::placeholder { color: var(--muted-light); }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  background: #fff;
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(33,160,107,0.12);
}
.field .hint { margin-top: 7px; font-size: 12px; color: var(--muted-light); }
.field.has-error input,
.field.has-error select,
.field.has-error textarea { border-color: #e0584b; background: #fff5f4; }
.field .err-msg {
  display: none;
  margin-top: 7px;
  font-size: 12.5px;
  color: #d6483b;
  font-weight: 600;
}
.field.has-error .err-msg { display: block; }

/* honeypot — visually hidden, off-screen */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px;
  overflow: hidden;
}

.recaptcha-box { margin: 6px 0 24px; }
.recaptcha-placeholder {
  width: 304px;
  max-width: 100%;
  height: 78px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f9f9f9;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 14px;
  font-size: 12.5px;
  color: var(--muted);
}
.recaptcha-placeholder .chk {
  width: 26px; height: 26px;
  border: 2px solid #c1c1c1;
  border-radius: 3px;
  background: #fff;
  flex: none;
}
.recaptcha-placeholder .rc-logo {
  margin-left: auto;
  text-align: center;
  color: var(--muted-light);
  font-size: 10px;
  line-height: 1.3;
}
.contact-form .btn { width: 100%; }

/* contact side info */
.contact-side {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.side-card {
  background: var(--mint-50);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 28px 26px;
}
.side-card.dark {
  background:
    radial-gradient(420px 220px at 90% 0%, rgba(255,255,255,0.06), transparent 60%),
    #333;
  border: none;
  color: #fff;
}
.side-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 12px;
}
.side-card.dark h3 { color: #fff; }
.side-card p { font-size: 14px; color: var(--muted); line-height: 1.9; }
.side-card.dark p { color: rgba(255,255,255,0.82); }
.side-mail {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  font-size: 16px;
  font-weight: 700;
  color: var(--teal);
}
.side-card.dark .side-mail { color: #7fe3bf; }
.side-mail svg { width: 19px; height: 19px; }

/* form result (PHP thank-you / error) */
.form-result {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 56px 48px;
}
.form-result .res-ic {
  width: 78px; height: 78px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 24px;
}
.form-result.ok .res-ic { background: var(--mint-100); color: var(--teal); }
.form-result.ng .res-ic { background: #fdecea; color: #d6483b; }
.form-result .res-ic svg { width: 40px; height: 40px; }
.form-result h2 { font-size: 26px; font-weight: 700; color: var(--ink); }
.form-result p { margin: 16px auto 0; max-width: 520px; color: var(--muted); font-size: 15px; line-height: 1.95; }
.form-result .btn { margin-top: 30px; }

/* ---------- FAQ page extras ---------- */
.faq-page { background: #fff; }
.faq-page .faq-list { margin-top: 0; }
.faq-cat + .faq-cat { margin-top: 48px; }
.faq-cat-head {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 900px;
  margin: 0 auto 22px;
}
.faq-cat-head .fc-ic {
  flex: none;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: var(--mint-100);
  color: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
}
.faq-cat-head .fc-ic svg { width: 20px; height: 20px; }
.faq-cat-head h2 {
  font-size: 19px;
  font-weight: 700;
  color: var(--ink);
}

/* ---------- Legal documents (privacy / terms) ---------- */
.legal { background: #fff; }
.legal-doc {
  max-width: 820px;
  margin: 0 auto;
}
.legal-lead {
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 2.05;
  padding-bottom: 30px;
  margin-bottom: 36px;
  border-bottom: 1px solid var(--line);
}
.legal-section { margin-bottom: 40px; }
.legal-section:last-child { margin-bottom: 0; }
.legal-section h2 {
  font-size: 19px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.6;
  margin-bottom: 16px;
  padding-left: 16px;
  border-left: 4px solid var(--teal);
}
.legal-section h3 {
  font-size: 15.5px;
  font-weight: 700;
  color: var(--ink-soft);
  margin: 24px 0 10px;
}
.legal-section p {
  color: var(--ink-soft);
  font-size: 14.5px;
  line-height: 2.05;
  margin-bottom: 14px;
}
.legal-section p:last-child { margin-bottom: 0; }
.legal-list {
  margin: 4px 0 14px;
  padding-left: 4px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.legal-list li {
  position: relative;
  padding-left: 22px;
  color: var(--ink-soft);
  font-size: 14.5px;
  line-height: 1.9;
}
.legal-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 12px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
}
.legal-list.ordered {
  counter-reset: li;
}
.legal-list.ordered li { padding-left: 30px; }
.legal-list.ordered li::before {
  counter-increment: li;
  content: counter(li);
  top: 1px;
  left: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--mint-100);
  color: var(--teal);
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.legal-updated {
  margin-top: 44px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  text-align: right;
  font-size: 13px;
  color: var(--muted-light);
}

/* table of contents for legal */
.legal-toc {
  background: var(--mint-50);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 26px 30px;
  margin-bottom: 44px;
}
.legal-toc h2 {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.04em;
  margin-bottom: 16px;
}
.legal-toc ol {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: toc;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px 28px;
}
.legal-toc ol li { counter-increment: toc; }
.legal-toc ol li a {
  display: flex;
  gap: 10px;
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.6;
  transition: color 0.2s var(--ease);
}
.legal-toc ol li a::before {
  content: counter(toc, decimal-leading-zero);
  color: var(--teal);
  font-weight: 700;
  font-size: 12.5px;
  flex: none;
}
.legal-toc ol li a:hover { color: var(--teal); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .feat-row { gap: 36px; }
  .support-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; gap: 30px; }
}

@media (max-width: 768px) {
  .subhero { padding: 56px 0 48px; }
  .feat-row { grid-template-columns: 1fr; gap: 24px; margin-bottom: 48px; }
  .feat-row:nth-child(even) .feat-art { order: 0; }
  .feat-art { aspect-ratio: 16 / 10; }
  .support-grid { grid-template-columns: 1fr; max-width: 440px; margin-left: auto; margin-right: auto; }
  .mission { padding: 32px 26px; }
  .profile-row { grid-template-columns: 1fr; }
  .profile-row dt { padding: 14px 20px; }
  .profile-row dd { padding: 14px 20px; }
  .profile-row + .profile-row { border-top: 1px solid var(--line); }
  .contact-form { padding: 28px 22px; }
  .mid-cta-actions { flex-direction: column; }
  .mid-cta-actions .btn { width: 100%; }
  .legal-toc { padding: 22px 22px; }
  .legal-toc ol { grid-template-columns: 1fr; }
  .legal-section h2 { font-size: 17.5px; }
}

@media (max-width: 480px) {
  .feat-list li { font-size: 14px; }
  .form-result { padding: 40px 24px; }
}
