/* ======================================
COMMON
====================================== */

:root {
  --site-width: 520px;
  --green: #003333;
  --nav-green: #e3e37e;
  --gold: #929248;
  --orange: #c48a4d;
  --business-bg: #faf8f4;
  --line-gray: #b4b4b4;
  --sub-green: #0b6c4c;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #f2f2f2;
  color: #000;
  font-family: "Shippori Mincho", "Yu Mincho", "YuMincho", serif;
  line-height: 1.8;
  letter-spacing: 0.05em;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-wrap {
  width: 100%;
  max-width: var(--site-width);
  margin: 0 auto;
  background: #fff;
  overflow: hidden;
}

/* ======================================
CONTACT PAGE
====================================== */

.contact-page {
  background: #fff;
}

/* ======================================
CONTACT HERO
====================================== */

.contact-hero {
  padding: 56px 28px 48px;
  background: #fff;
  text-align: center;
}

.contact-hero .section-heading {
  margin-bottom: 24px;
}

.contact-hero .section-heading h1 {
  margin: 0;
  color: #000;
  font-size: 24px;
  line-height: 1.6;
  font-weight: 700;
}

.contact-hero__lead {
  margin: 0;
  color: #000;
  font-size: 15px;
  line-height: 1.9;
  font-weight: 500;
  letter-spacing: 0.12em;
}

/* ======================================
STEP COMMON
====================================== */

.contact-step {
  background: #fff;
  text-align: center;
}

.contact-step--01 {
  padding: 44px 24px 54px;
}

.contact-step--02 {
  padding: 44px 24px 56px;
}

.contact-step .section-heading {
  margin-bottom: 28px;
}

.contact-step .section-heading h2 {
  margin: 0;
  color: #000;
  font-size: 21px;
  line-height: 1.7;
  font-weight: 700;
  letter-spacing: 0.08em;
}

/* ======================================
STEP 01 TYPE CARD
====================================== */

.contact-type-list {
  display: grid;
  gap: 14px;
}

.contact-type-card {
  display: block;
  cursor: pointer;
}

.contact-type-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.contact-type-card__inner {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 14px;
  align-items: center;
  min-height: 110px;
  padding: 14px 18px 14px 14px;
  border: 2px solid #b4b4b4;
  border-radius: 14px;
  background: #fff;
  text-align: left;
}

.contact-type-card input:checked + .contact-type-card__inner {
  border-color: var(--orange);
  background: #fffaf2;
}

.contact-type-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-type-card__icon img {
  width: 58px;
}

.contact-type-card__title {
  display: block;
  margin-bottom: 8px;
  color: #5c693a;
  font-size: 22px;
  line-height: 1.35;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.contact-type-card__text {
  display: block;
  color: #000;
  font-size: 14px;
  line-height: 1.65;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.contact-type-card__response {
  display: block;
  color: var(--orange);
  font-size: 14px;
  line-height: 1.5;
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* ======================================
STEP 02 FORM
====================================== */

.contact-form {
  text-align: left;
}

.contact-field {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 16px;
  align-items: start;
  margin-bottom: 22px;
}

.contact-field__icon img {
  width: 42px;
}

.contact-field__body {
  width: 100%;
}

.contact-field__label {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
  color: #000;
  font-size: 17px;
  line-height: 1.5;
  font-weight: 700;
}

.contact-field__example {
  color: #b6b6b6;
  font-size: 14px;
  font-weight: 600;
}

.contact-field__note {
  margin: -2px 0 8px;
  color: #666;
  font-size: 13px;
  line-height: 1.6;
}

.contact-label {
  display: inline-block;
  padding: 2px 9px;
  border-radius: 999px;
  font-size: 11px;
  line-height: 1.2;
  font-weight: 700;
}

.contact-label--required {
  border: 1px solid var(--orange);
  color: var(--orange);
}

.contact-label--optional {
  border: 1px solid #7d8d39;
  color: #7d8d39;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 2px solid #93a59a;
  border-radius: 12px;
  background: #fff;
  font-family: inherit;
  font-size: 16px;
  padding: 11px 14px;
  outline: none;
}

.contact-form input {
  height: 46px;
}

.contact-form textarea {
  min-height: 118px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--sub-green);
}

/* 送信ボタン */
.contact-submit {
  display: block;
  width: 100%;
  margin-top: 10px;
  padding: 17px;
  border: none;
  border-radius: 999px;
  background: #b55133;
  color: #fff;
  font-family: inherit;
  font-size: 22px;
  line-height: 1.2;
  font-weight: 700;
  cursor: pointer;
}

.contact-submit span {
  margin-left: 22px;
}

/* 注意書き */
.contact-form__notice {
  margin: 22px 0 0;
  padding-left: 1.2em;
  color: #666;
  font-size: 13px;
  line-height: 1.9;
}

.contact-form__notice li {
  margin-bottom: 6px;
}

.contact-form__notice li:last-child {
  margin-bottom: 0;
}

/* ======================================
RESPONSIVE
====================================== */

@media (max-width: 430px) {
  .contact-hero {
    padding: 50px 24px 42px;
  }

  .contact-hero .section-heading h1 {
    font-size: 22px;
  }

  .contact-hero__lead {
    font-size: 13px;
    line-height: 1.9;
  }

  .contact-step--01 {
    padding: 38px 20px 48px;
  }

  .contact-step--02 {
    padding: 38px 20px 52px;
  }

  .contact-step .section-heading h2 {
    font-size: 18px;
  }

  .contact-type-card__inner {
    grid-template-columns: 58px 1fr;
    gap: 12px;
    min-height: 96px;
    padding: 12px 14px 12px 12px;
  }

  .contact-type-card__icon img {
    width: 48px;
  }

  .contact-type-card__title {
    font-size: 18px;
    margin-bottom: 5px;
  }

  .contact-type-card__text {
    font-size: 12px;
    line-height: 1.55;
  }

  .contact-type-card__response {
    font-size: 12px;
  }

  .contact-field {
    grid-template-columns: 36px 1fr;
    gap: 12px;
    margin-bottom: 18px;
  }

  .contact-field__icon img {
    width: 36px;
  }

  .contact-field__label {
    font-size: 15px;
  }

  .contact-field__example {
    font-size: 12px;
  }

  .contact-field__note {
    font-size: 12px;
  }

  .contact-form input {
    height: 42px;
    font-size: 14px;
  }

  .contact-form textarea {
    min-height: 96px;
    font-size: 14px;
  }

  .contact-submit {
    font-size: 18px;
    padding: 15px;
  }

  .contact-form__notice {
    font-size: 11px;
    line-height: 1.8;
  }
}