@charset "UTF-8";

/* =========================================================
   Contact Page Styling
   Base: main.css
========================================================= */

/* ---------------------------------------------------------
   1. Page Background & KV (Unified Design)
--------------------------------------------------------- */
.page-contact {
  /* Background is now handled in main.css (Unified Design) */
}

/* KV Styles are now handled in main.css (Unified Design) */

/* ---------------------------------------------------------
   2. Form Styles
--------------------------------------------------------- */
.container--narrow {
  max-width: 800px;
  margin: 0 auto;
}

.contact-form {
  background: #fff;
  border-radius: 24px;
  padding: clamp(24px, 5vw, 48px);
  box-shadow: 0 10px 40px rgba(20, 40, 100, .06);
  border: 1px solid #eff2f9;
}

.form-group {
  margin-bottom: 24px;
  border-bottom: 1px solid #f0f4fa;
  padding-bottom: 24px;
}

.form-group:last-of-type {
  border-bottom: none;
}

.form-group dt {
  margin-bottom: 10px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
}

.req-tag {
  background: var(--blue-2);
  color: #fff;
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 4px;
  font-weight: 700;
}

.any-tag {
  background: #e2e8f0;
  color: #64748b;
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 4px;
  font-weight: 700;
}

.input-field {
  width: 100%;
  padding: 14px 16px;
  border-radius: 8px;
  border: 1px solid #cbd5e1;
  background: #f8fafc;
  font-size: 16px;
  transition: all 0.2s;
  appearance: none;
}

.input-field:focus {
  background: #fff;
  border-color: var(--blue-2);
  box-shadow: 0 0 0 3px rgba(30, 136, 255, .15);
  outline: none;
}

.input-area {
  min-height: 180px;
  resize: vertical;
}

.select-wrap {
  position: relative;
}

.select-wrap::after {
  content: "▼";
  font-size: 12px;
  color: #64748b;
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}

.input-file {
  font-size: 14px;
}

.form-hint {
  margin-top: 8px;
  font-size: 13px;
  color: var(--muted);
}

.form-privacy {
  text-align: center;
  margin: 32px 0 24px;
  font-size: 14px;
}

.form-privacy a {
  color: var(--blue-2);
  text-decoration: underline;
}

.form-submit {
  text-align: center;
}

.btn--wide {
  min-width: 280px;
  height: 56px;
  font-size: 16px;
  padding-inline: 40px;
}

@media (min-width: 768px) {
  .form-group {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 24px;
    align-items: start;
  }

  .form-group dt {
    margin-bottom: 0;
    padding-top: 12px;
    /* 入力欄と高さを合わせる */
  }
}

/* ---------------------------------------------------------
   3. Telephone Box
--------------------------------------------------------- */
.tel-box {
  background: #fff;
  border: 2px solid var(--blue-2);
  border-radius: 16px;
  padding: clamp(24px, 4vw, 40px);
  text-align: center;
  box-shadow: 0 12px 30px rgba(30, 136, 255, .1);
}

.tel-box__title {
  font-size: 20px;
  color: var(--ink);
  margin-bottom: 12px;
  font-weight: 800;
}

.tel-box__number {
  display: inline-block;
  font-size: clamp(28px, 5vw, 42px);
  font-weight: 900;
  color: var(--blue-2);
  text-decoration: none;
  line-height: 1.2;
  margin: 16px 0 8px;
}

.tel-box__number .icon {
  font-size: 0.7em;
}

.tel-box__note {
  font-size: 13px;
  color: var(--muted);
}

/* ---------------------------------------------------------
   4. FAQ & Access
--------------------------------------------------------- */
.faq-panel,
.access-panel {
  background: #fff;
  padding: 24px;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  height: 100%;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  overflow: hidden;
}

.faq-q {
  background: #f8fafc;
  padding: 14px 18px;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
  position: relative;
  list-style: none;
}

.faq-q::after {
  content: "+";
  position: absolute;
  right: 16px;
  font-size: 18px;
  color: var(--blue-2);
}

details[open] .faq-q::after {
  content: "-";
}

.faq-a {
  padding: 16px 18px;
  font-size: 14px;
  line-height: 1.7;
  color: #334155;
  background: #fff;
  border-top: 1px solid #e2e8f0;
}

.access-panel .note {
  font-size: 14px;
  line-height: 1.8;
}

.hp-wrap {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}