/**
 * お問い合わせページ専用（洗練版）
 */
a,
button,
input,
select,
textarea {
  outline: none;
}
a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus {
  outline: none;
  box-shadow: none;
}

.hero.contact-page-hero {
  background: #f8f7fd;
  border-bottom: 1px solid rgba(50, 51, 57, 0.08);
  padding: calc(env(safe-area-inset-top, 0px) + clamp(88px, 12vw, 118px))
    clamp(16px, 4vw, 40px) clamp(22px, 4vw, 36px);
  text-align: center;
  box-sizing: border-box;
  width: 100%;
}

.contact-page-hero__inner {
  max-width: min(1200px, 100%);
  margin: 0 auto;
  padding: 0;
  box-sizing: border-box;
}

.hero.contact-page-hero h1 {
  font-family: "Cinzel", "Times New Roman", Georgia, serif;
  font-size: clamp(1.65rem, 5.5vw, 2.45rem);
  font-weight: 600;
  color: #323339;
  background: none;
  -webkit-text-fill-color: #323339;
  margin-bottom: 0;
  letter-spacing: 0.16em;
  line-height: 1.15;
}

.contact-container {
  width: 100%;
  max-width: min(900px, 100%);
  margin: clamp(32px, 5.5vw, 56px) auto clamp(48px, 8vw, 80px);
  padding: 0 clamp(16px, 4vw, 40px) clamp(48px, 8vw, 80px);
  box-sizing: border-box;
}

.contact-card {
  background: #fff;
  border-radius: 12px;
  padding: clamp(22px, 4.5vw, 36px);
  margin-bottom: clamp(18px, 3vw, 24px);
  box-shadow: none;
  border: 1px solid rgba(50, 51, 57, 0.1);
  transition:
    border-color 0.2s ease,
    opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  position: relative;
  overflow: hidden;
}

.contact-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: #9f91ca;
}

@media (hover: hover) {
  .contact-card:hover {
    transform: none;
    border-color: rgba(159, 145, 202, 0.45);
    box-shadow: none;
  }
}

.contact-card h3 {
  font-size: clamp(1.15rem, 3.4vw, 1.4rem);
  font-weight: 700;
  color: #323339;
  margin-bottom: 14px;
  line-height: 1.35;
}

.contact-card p {
  font-size: clamp(0.95rem, 2.8vw, 1.05rem);
  line-height: 1.8;
  color: #5c5f6a;
}

.contact-card a {
  color: #9f91ca;
  text-decoration: none;
  font-weight: 600;
  font-size: clamp(0.95rem, 2.6vw, 1.05rem);
  word-break: break-word;
  overflow-wrap: anywhere;
}

.contact-card a:hover {
  text-decoration: underline;
}

.form-notice {
  font-size: 0.95rem;
  color: #8a8d98;
  font-style: normal;
}

.contact-form {
  margin-top: 12px;
  display: grid;
  gap: 12px;
}

.contact-form__label {
  font-size: 0.88rem;
  color: #323339;
  font-weight: 700;
}

.contact-form__label span {
  color: #a62932;
}

.contact-form__control {
  width: 100%;
  border: 1px solid rgba(50, 51, 57, 0.14);
  border-radius: 8px;
  background: #fff;
  color: #323339;
  padding: 11px 12px;
  font-size: 0.95rem;
  box-sizing: border-box;
}

.contact-form__control:focus {
  border-color: rgba(159, 145, 202, 0.7);
}

textarea.contact-form__control {
  resize: vertical;
  min-height: 120px;
}

.contact-form__file {
  padding: 8px 9px;
}

.contact-form__submit {
  margin-top: 8px;
  border: 1px solid transparent;
  background: #3d3550;
  color: #fff;
  border-radius: 4px;
  padding: 12px 20px;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background 0.2s ease;
}

.contact-form__submit:hover {
  filter: none;
  background: #2e2a38;
}

.contact-form-message {
  margin: 0 0 14px;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 0.92rem;
}

.contact-form-message--success {
  background: #edf9f1;
  border: 1px solid #87c89c;
  color: #215f35;
}

.contact-form-message--error {
  background: #fff0f0;
  border: 1px solid #d9a8a8;
  color: #7f3c3c;
}

.contact-form-note {
  margin: 2px 0 0;
  font-size: 0.84rem;
  color: #6f6690;
}

.faq-section {
  margin-top: clamp(48px, 10vw, 80px);
}

.faq-title {
  font-family: "Cinzel", "Times New Roman", Georgia, serif;
  font-size: clamp(1.4rem, 4vw, 2rem);
  font-weight: 600;
  color: #323339;
  text-align: center;
  margin-bottom: clamp(28px, 6vw, 44px);
  letter-spacing: 0.12em;
  line-height: 1.2;
}

.faq-item {
  margin-bottom: 12px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: none;
  background: #fff;
  border: 1px solid rgba(50, 51, 57, 0.1);
  transition: border-color 0.2s ease;
}

.faq-item:hover {
  box-shadow: none;
  border-color: rgba(159, 145, 202, 0.35);
}

.faq-question {
  background: #fff;
  padding: clamp(16px, 3.5vw, 22px) clamp(16px, 3vw, 24px);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  border-bottom: 1px solid transparent;
  transition: background 0.2s;
  -webkit-tap-highlight-color: transparent;
}

.faq-question:hover {
  background: #faf9fc;
}

.faq-item.active .faq-question {
  border-bottom-color: rgba(50, 51, 57, 0.08);
}

.faq-question h3 {
  font-size: clamp(0.92rem, 3.2vw, 1.05rem);
  font-weight: 600;
  color: #323339;
  margin: 0;
  line-height: 1.55;
  flex: 1 1 auto;
  min-width: 0;
  text-align: left;
}

.faq-toggle {
  width: clamp(26px, 7vw, 28px);
  height: clamp(26px, 7vw, 28px);
  min-width: 26px;
  min-height: 26px;
  border-radius: 4px;
  background: #3d3550;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 700;
  transition: transform 0.25s;
  flex-shrink: 0;
  margin-top: 2px;
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer-content {
  padding: clamp(14px, 3vw, 20px) clamp(16px, 3vw, 24px)
    clamp(18px, 3.5vw, 24px);
  color: #5c5f6a;
  line-height: 1.75;
  font-size: 0.95rem;
}

.faq-answer-content a {
  color: #9f91ca;
  font-weight: 600;
  text-decoration: none;
}

.faq-answer-content a:hover {
  text-decoration: underline;
}
