/* ===== Sub-page shared styles (page hero / form / sidebar / FAQ) ===== */
.page-hero {
  background:
    linear-gradient(180deg, var(--fv-bg-soft) 0%, var(--fv-bg) 100%);
  color: var(--fv-text);
  position: relative;
  overflow: hidden;
  /* 全下層ページで見出しエリアの高さを統一（中身は上下中央） */
  min-height: 380px;
  padding: 56px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--fv-line);
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 18% 25%, rgba(31, 111, 184, 0.10) 0%, transparent 45%),
    radial-gradient(circle at 82% 75%, rgba(21, 53, 92, 0.06) 0%, transparent 45%);
  pointer-events: none;
}
.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(21, 53, 92, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(21, 53, 92, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(circle at 50% 50%, rgba(0,0,0,0.5), transparent 75%);
  -webkit-mask-image: radial-gradient(circle at 50% 50%, rgba(0,0,0,0.5), transparent 75%);
  pointer-events: none;
}
.page-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  text-align: center;
  width: 100%;
}
.page-hero .section-eyebrow { color: var(--fv-accent); }
.page-hero-title {
  font-family: var(--font-mincho);
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 700;
  color: var(--fv-trust-dark);
  line-height: 1.35;
  letter-spacing: 0.02em;
  margin-top: 4px;
}
.page-hero-lead {
  margin: 28px auto 0;
  max-width: 800px;
  font-size: 16px;
  line-height: 2;
  color: var(--fv-text-sub);
}

/* ===== Contact section ===== */
.contact-section {
  background: var(--cream);
  padding: 100px 0;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 48px;
  align-items: start;
}

/* ===== Form ===== */
.contact-form {
  background: var(--paper);
  border: 1px solid var(--fv-line);
  box-shadow: 0 14px 40px rgba(21, 53, 92, 0.07);
  padding: 48px 44px;
  position: relative;
}
.contact-form::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: var(--fv-trust);
}
.form-eyebrow {
  font-family: var(--font-latin);
  font-style: italic;
  font-size: 13px;
  letter-spacing: 0.2em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.form-heading {
  font-family: var(--font-mincho);
  font-size: 26px;
  font-weight: 700;
  color: var(--navy-deep);
  margin-bottom: 32px;
  letter-spacing: 0.04em;
}
.form-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
}
.form-row-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 24px;
}
.form-row-2col .form-row { margin-bottom: 0; }
.form-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--navy-deep);
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  gap: 10px;
}
.form-required {
  background: var(--fv-trust);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  letter-spacing: 0.08em;
}
.form-optional {
  background: transparent;
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border: 1px solid var(--line-strong);
  letter-spacing: 0.08em;
}
.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 14px 16px;
  font-family: inherit;
  font-size: 15px;
  color: var(--text-primary);
  background: var(--cream);
  border: 1px solid var(--line-strong);
  border-radius: 0;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
  -webkit-appearance: none;
  appearance: none;
}
.form-textarea {
  min-height: 180px;
  resize: vertical;
  line-height: 1.7;
}
.form-select {
  background-image:
    linear-gradient(45deg, transparent 50%, var(--navy-deep) 50%),
    linear-gradient(135deg, var(--navy-deep) 50%, transparent 50%);
  background-position:
    calc(100% - 20px) 50%,
    calc(100% - 14px) 50%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 44px;
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--fv-accent);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(31, 111, 184, 0.12);
}
.form-hint {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.6;
}
.form-consent {
  background: var(--cream-warm);
  border: 1px solid var(--line);
  padding: 20px 22px;
  margin: 8px 0 32px;
  font-size: 13px;
  line-height: 1.8;
  color: var(--text-secondary);
}
.form-consent a {
  color: var(--fv-accent);
  text-decoration: underline;
}
.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 12px;
  cursor: pointer;
  font-size: 14px;
  color: var(--navy-deep);
  font-weight: 600;
}
.form-checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--fv-trust);
  cursor: pointer;
  flex-shrink: 0;
}
.form-submit {
  text-align: center;
  margin-top: 8px;
}
.form-submit .btn-primary {
  min-width: 280px;
  justify-content: center;
}
.form-note {
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
  margin-top: 16px;
  line-height: 1.7;
}

/* ===== Sidebar / Info ===== */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: sticky;
  top: 110px;
}
.info-card {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 32px 28px;
  box-shadow: 0 4px 16px rgba(21, 53, 92, 0.06);
  position: relative;
}
.info-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: var(--gold);
}
.info-card-eyebrow {
  font-family: var(--font-latin);
  font-style: italic;
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.info-card-title {
  font-family: var(--font-mincho);
  font-size: 20px;
  font-weight: 700;
  color: var(--navy-deep);
  margin-bottom: 16px;
  letter-spacing: 0.04em;
}
.info-card-text {
  font-size: 14px;
  line-height: 1.9;
  color: var(--text-secondary);
  margin-bottom: 16px;
}
.info-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.info-list li {
  padding: 12px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}
.info-list li:last-child { border-bottom: none; }
.info-list strong {
  display: block;
  color: var(--navy-deep);
  font-weight: 700;
  margin-bottom: 4px;
  font-size: 13px;
  letter-spacing: 0.04em;
}
.info-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--fv-accent);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: gap 0.2s;
}
.info-link:hover { gap: 12px; }
.info-portrait {
  width: 100%;
  aspect-ratio: 4/5;
  overflow: hidden;
  margin-bottom: 20px;
  border: 1px solid var(--fv-line);
}
.info-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ===== FAQ ===== */
.faq-section {
  background: var(--paper);
  padding: 100px 0;
  border-top: 1px solid var(--fv-line);
}
.faq-list {
  max-width: 880px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.faq-item {
  background: var(--cream);
  border: 1px solid var(--line);
  transition: border-color 0.3s, box-shadow 0.3s;
}
.faq-item[open] {
  border-color: var(--fv-accent);
  box-shadow: 0 6px 20px rgba(21, 53, 92, 0.08);
}
.faq-summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 28px;
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 16px;
  font-weight: 700;
  color: var(--navy-deep);
  letter-spacing: 0.02em;
  position: relative;
}
.faq-summary::-webkit-details-marker { display: none; }
.faq-q-mark {
  font-family: var(--font-latin);
  color: var(--gold);
  font-weight: 700;
  font-size: 18px;
  flex-shrink: 0;
}
.faq-toggle {
  margin-left: auto;
  width: 28px;
  height: 28px;
  border: 1px solid var(--line-strong);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  flex-shrink: 0;
  transition: transform 0.3s, background 0.3s, border-color 0.3s;
}
.faq-toggle::before,
.faq-toggle::after {
  content: '';
  position: absolute;
  background: var(--navy-deep);
  transition: transform 0.3s;
}
.faq-toggle::before { width: 12px; height: 1px; }
.faq-toggle::after { width: 1px; height: 12px; }
.faq-item[open] .faq-toggle {
  background: var(--fv-trust);
  border-color: var(--fv-trust);
}
.faq-item[open] .faq-toggle::before,
.faq-item[open] .faq-toggle::after { background: #fff; }
.faq-item[open] .faq-toggle::after { transform: scaleY(0); }
.faq-body {
  padding: 0 28px 24px;
  font-size: 14px;
  line-height: 1.9;
  color: var(--text-secondary);
}
.faq-body a {
  color: var(--fv-accent);
  text-decoration: underline;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .contact-info { position: static; }
}
@media (max-width: 640px) {
  .page-hero { min-height: 420px; padding: 40px 0; }
  .contact-section { padding: 64px 0; }
  .faq-section { padding: 64px 0; }
  .contact-form { padding: 32px 22px; }
  .form-row-2col { grid-template-columns: 1fr; gap: 0; }
  .form-row-2col .form-row { margin-bottom: 24px; }
  .form-submit .btn-primary { min-width: 100%; }
  .faq-summary { padding: 18px 20px; font-size: 15px; }
  .faq-body { padding: 0 20px 20px; }
}
