/* =========================================================
   resortinn contact page
========================================================= */
.resortinn-contact-page {
  background: #fff;
  color: #22323a;
}

/* =========================================================
   hero
========================================================= */
.resortinn-contact-hero {
  position: relative;
  padding: clamp(15px, 3vw, 40px) 0 clamp(20px, 1vw, 40px);
  background:
    radial-gradient(
      circle at right top,
      rgba(181, 151, 104, 0.1),
      transparent 36%
    ),
    #fff;
}

.resortinn-contact-hero__inner {
  width: min(1080px, calc(100% - 40px));
  margin: 0 auto;
  text-align: center;
}

.resortinn-contact-hero__eyebrow,
.resortinn-contact-section-head__eyebrow {
  margin: 0 0 16px;
  color: rgba(34, 50, 58, 0.42);
  font-size: 0.72rem;
  line-height: 1.5;
  letter-spacing: 0.3em;
  font-weight: 700;
}

.resortinn-contact-hero__title {
  margin: 0;
  font-family: 'Shippori Mincho', 'Noto Serif JP', serif;
  font-size: clamp(2.4rem, 5vw, 5.2rem);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0.18em;
  color: #22323a;
}

.resortinn-contact-hero__lead {
  width: min(760px, 100%);
  margin: clamp(24px, 3vw, 38px) auto 0;
  font-family: 'Shippori Mincho', 'Noto Serif JP', serif;
  font-size: clamp(0.92rem, 1vw, 1rem);
  line-height: 2.1;
  letter-spacing: 0.06em;
  color: rgba(34, 50, 58, 0.7);
}

/* =========================================================
   main
========================================================= */
.resortinn-contact-main {
  background: #fff;
}

.resortinn-contact-info {
  padding: clamp(70px, 4vw, 100px) 0 clamp(100px, 12vw, 170px);
}

.resortinn-contact-info__inner {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.resortinn-contact-section-head {
  margin-bottom: clamp(34px, 5vw, 64px);
  text-align: center;
}

.resortinn-contact-section-head__title {
  margin: 0;
  font-family: 'Shippori Mincho', 'Noto Serif JP', serif;
  font-size: clamp(1.55rem, 2.4vw, 2.8rem);
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: 0.1em;
  color: #22323a;
}

.resortinn-contact-section-head__lead {
  width: min(720px, 100%);
  margin: 20px auto 0;
  font-family: 'Shippori Mincho', 'Noto Serif JP', serif;
  font-size: clamp(0.9rem, 1vw, 0.98rem);
  line-height: 2.05;
  letter-spacing: 0.06em;
  color: rgba(34, 50, 58, 0.72);
}

/* =========================================================
   layout
========================================================= */
.resortinn-contact-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.36fr) minmax(0, 0.64fr);
  gap: clamp(30px, 5vw, 72px);
  align-items: start;
}

.resortinn-contact-side,
.resortinn-contact-form-wrap {
  min-width: 0;
}

/* =========================================================
   side
========================================================= */
.resortinn-contact-tel-card {
  padding: clamp(28px, 3.5vw, 44px);
  border: 1px solid rgba(34, 50, 58, 0.12);
  background: #fff;
}

.resortinn-contact-tel-card__label {
  margin: 0 0 12px;
  color: rgba(155, 122, 66, 0.84);
  font-family: 'Roboto', 'Noto Sans JP', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  font-weight: 700;
}

.resortinn-contact-tel-card__tel {
  display: inline-block;
  color: #22323a;
  text-decoration: none;
  font-family: 'Roboto', 'Noto Sans JP', sans-serif;
  font-size: clamp(1.7rem, 2vw, 3rem);
  line-height: 1.1;
  letter-spacing: 0.05em;
}

.resortinn-contact-tel-card__fax {
  margin: 16px 0 0;
  color: rgba(34, 50, 58, 0.62);
  font-size: 0.92rem;
  line-height: 1.8;
  letter-spacing: 0.06em;
}

.resortinn-contact-list {
  margin: clamp(24px, 3vw, 34px) 0 0;
  padding: 0;
  border-top: 1px solid rgba(34, 50, 58, 0.14);
}

.resortinn-contact-list div {
  display: grid;
  gap: 4px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(34, 50, 58, 0.14);
}

.resortinn-contact-list dt {
  color: #22323a;
  font-weight: 600;
  line-height: 1.8;
  letter-spacing: 0.06em;
}

.resortinn-contact-list dd {
  margin: 0;
  color: rgba(34, 50, 58, 0.72);
  font-size: 0.9rem;
  line-height: 1.95;
  letter-spacing: 0.05em;
}

/* =========================================================
   form
========================================================= */
.resortinn-contact-form-wrap {
  padding: clamp(28px, 4vw, 54px);
  border: 1px solid rgba(34, 50, 58, 0.12);
  background: #fff;
}

.resortinn-contact-form__hidden {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.resortinn-contact-form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 2.4vw, 28px);
}

.resortinn-contact-field {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.resortinn-contact-field--full {
  margin-top: clamp(18px, 2.4vw, 28px);
}

.resortinn-contact-field__label {
  color: #22323a;
  font-size: 0.86rem;
  line-height: 1.7;
  letter-spacing: 0.08em;
  font-weight: 600;
}

.resortinn-contact-field__label em {
  display: inline-flex;
  align-items: center;
  margin-left: 8px;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(155, 122, 66, 0.12);
  color: #9b7a42;
  font-style: normal;
  font-size: 0.68rem;
  line-height: 1.4;
  letter-spacing: 0.06em;
}

.resortinn-contact-field input,
.resortinn-contact-field select,
.resortinn-contact-field textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid rgba(34, 50, 58, 0.18);
  border-radius: 0;
  background: #fff;
  color: #22323a;
  font: inherit;
  font-size: 0.95rem;
  line-height: 1.7;
  letter-spacing: 0.04em;
}

.resortinn-contact-field textarea {
  resize: vertical;
  min-height: 180px;
}

.resortinn-contact-field input:focus,
.resortinn-contact-field select:focus,
.resortinn-contact-field textarea:focus {
  outline: 2px solid rgba(155, 122, 66, 0.22);
  border-color: rgba(155, 122, 66, 0.5);
}

.resortinn-contact-form__note {
  margin: clamp(18px, 2.4vw, 28px) 0 0;
  font-size: 0.84rem;
  line-height: 1.9;
  letter-spacing: 0.05em;
  color: rgba(34, 50, 58, 0.62);
}

.resortinn-contact-form__submit {
  margin-top: clamp(28px, 3.5vw, 44px);
  text-align: center;
}

.resortinn-contact-submit,
.resortinn-contact-button {
  min-width: 210px;
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 14px 28px;
  border: 1px solid #22323a;
  border-radius: 999px;
  background: #22323a;
  color: #fff;
  text-decoration: none;
  font: inherit;
  font-size: 0.86rem;
  line-height: 1;
  letter-spacing: 0.12em;
  cursor: pointer;
}

.resortinn-contact-submit span,
.resortinn-contact-button span {
  transition: transform 0.3s ease;
}

.resortinn-contact-submit:hover span,
.resortinn-contact-button:hover span {
  transform: translateX(5px);
}

/* =========================================================
   errors / complete
========================================================= */
.resortinn-contact-errors {
  margin-bottom: clamp(22px, 3vw, 34px);
  padding: 20px 22px;
  border: 1px solid rgba(160, 52, 52, 0.24);
  background: rgba(160, 52, 52, 0.04);
  color: #823434;
}

.resortinn-contact-errors p {
  margin: 0 0 8px;
  font-weight: 600;
}

.resortinn-contact-errors ul {
  margin: 0;
  padding-left: 1.3em;
  line-height: 1.8;
}

.resortinn-contact-complete {
  text-align: center;
  padding: clamp(30px, 5vw, 70px) 0;
}

.resortinn-contact-complete__label {
  margin: 0 0 16px;
  color: rgba(155, 122, 66, 0.84);
  font-family: 'Roboto', 'Noto Sans JP', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  font-weight: 700;
}

.resortinn-contact-complete h2 {
  margin: 0;
  font-family: 'Shippori Mincho', 'Noto Serif JP', serif;
  font-size: clamp(1.55rem, 2.4vw, 2.8rem);
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: 0.1em;
  color: #22323a;
}

.resortinn-contact-complete p:not(.resortinn-contact-complete__label) {
  margin: 22px auto 0;
  color: rgba(34, 50, 58, 0.72);
  line-height: 2;
  letter-spacing: 0.05em;
}

.resortinn-contact-complete .resortinn-contact-button {
  margin-top: 34px;
}

/* =========================================================
   responsive
========================================================= */
@media (max-width: 991.98px) {
  .resortinn-contact-layout {
    grid-template-columns: 1fr;
  }

  .resortinn-contact-side {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: 24px;
  }

  .resortinn-contact-list {
    margin-top: 0;
  }
}

@media (max-width: 767.98px) {
  .resortinn-contact-hero {
    padding: 130px 0 70px;
  }

  .resortinn-contact-hero__inner,
  .resortinn-contact-info__inner {
    width: min(100% - 28px, 1180px);
  }

  .resortinn-contact-hero__title {
    font-size: clamp(2.4rem, 14vw, 4.4rem);
  }

  .resortinn-contact-section-head {
    text-align: left;
  }

  .resortinn-contact-side {
    grid-template-columns: 1fr;
  }

  .resortinn-contact-form-wrap {
    padding: 26px 18px;
  }

  .resortinn-contact-form__grid {
    grid-template-columns: 1fr;
  }

  .resortinn-contact-submit,
  .resortinn-contact-button {
    width: 100%;
  }
}

/* =========================================================
   contact thanks page
========================================================= */
.resortinn-contact-thanks {
  padding: 0 0 clamp(100px, 12vw, 170px);
  background: #fff;
}

.resortinn-contact-thanks__inner {
  width: min(900px, calc(100% - 40px));
  margin: 0 auto;
}

.resortinn-contact-thanks__card {
  padding: clamp(36px, 6vw, 80px);
  border: 1px solid rgba(34, 50, 58, 0.12);
  background: #fff;
  text-align: center;
}

.resortinn-contact-thanks__label {
  margin: 0 0 16px;
  color: rgba(155, 122, 66, 0.84);
  font-family: 'Roboto', 'Noto Sans JP', sans-serif;
  font-size: 0.72rem;
  line-height: 1.5;
  letter-spacing: 0.22em;
  font-weight: 700;
}

.resortinn-contact-thanks__card h2 {
  margin: 0;
  font-family: 'Shippori Mincho', 'Noto Serif JP', serif;
  font-size: clamp(1.55rem, 2.4vw, 2.8rem);
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: 0.1em;
  color: #22323a;
}

.resortinn-contact-thanks__card p:not(.resortinn-contact-thanks__label) {
  margin: 22px auto 0;
  color: rgba(34, 50, 58, 0.72);
  line-height: 2;
  letter-spacing: 0.05em;
}

.resortinn-contact-thanks__tel {
  margin: clamp(26px, 4vw, 44px) auto 0;
  padding-top: clamp(22px, 3vw, 34px);
  border-top: 1px solid rgba(34, 50, 58, 0.12);
}

.resortinn-contact-thanks__tel a {
  display: inline-block;
  margin-top: 10px;
  color: #22323a;
  text-decoration: none;
  font-family: 'Roboto', 'Noto Sans JP', sans-serif;
  font-size: clamp(1.3rem, 2.6vw, 2.2rem);
  line-height: 1.2;
  letter-spacing: 0.05em;
}

.resortinn-contact-thanks__actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: clamp(32px, 5vw, 56px);
}

.resortinn-contact-button--outline {
  background: #fff;
  color: #22323a;
}

@media (max-width: 767.98px) {
  .resortinn-contact-thanks__inner {
    width: min(100% - 28px, 900px);
  }

  .resortinn-contact-thanks__card {
    padding: 32px 20px;
  }

  .resortinn-contact-thanks__actions {
    display: grid;
  }
}

.resortinn-contact-tel-card__note {
  margin: 18px 0 0;
  padding-top: 16px;
  border-top: 1px solid rgba(34, 50, 58, 0.12);
  color: rgba(34, 50, 58, 0.68);
  font-size: 0.86rem;
  line-height: 1.9;
  letter-spacing: 0.05em;
}

.resortinn-contact-field--wide {
  grid-column: 1 / -1;
}
