@charset "UTF-8";
/* ==========================================================================
   style.css  ―  MIWA CONTACT ページ
   1rem = 10px / レスポンシブ（PC → Tablet → SP）
   ========================================================================== */

:root {
  --color-primary: #0022a5;   /* ブランドブルー */
  --color-text:    #3b3c40;   /* 見出し・本文 */
  --color-alert:   #ff0000;   /* 必須マーク */
  --color-line:    #777777;   /* 入力枠線 */
  --color-light:   #92a1c7;   /* 補助テキスト */
  --color-contact: #e5e7f3;   /* CONTACT パネル背景 */
  --color-store:   #e1dedc;   /* STORE パネル背景 */
  --color-store-line: #392214;/* STORE パネル罫 */

  --font-en:     "Marcellus", serif;
  --font-mincho: "YuMincho", "Yu Mincho", "游明朝", "Hiragino Mincho ProN", serif;
  --font-gothic: "Noto Sans JP", "Noto Sans", "Noto Sans JP", sans-serif;

  --content-width: 1280px;     /* 1200px */
  --side-gutter: 40px;
}

main {
  position: relative;
}

main::before {
  content: "";
  position: fixed;
  inset: 0;
  background: url(../images/common/page-bg.png) center top / cover no-repeat;
  opacity: 0.5;
  z-index: -1;
}

/* ---------- 汎用レイアウト ------------------------------------------------ */
.l-container {
  width: 100%;
  max-width: var(--content-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--side-gutter);
  padding-right: var(--side-gutter);
}

.required {
  color: var(--color-alert);
}
/* ==========================================================================
   イントロ（メインビジュアル＋電話お問い合わせ）
   ========================================================================== */
.intro {
  position: relative;
  overflow: hidden;
  padding-bottom: 80px;
}

.intro__inner {
  position: relative;
  z-index: 1;
  margin-inline: auto;
  max-width: 1280px;
  padding-inline: 40px;
}

.intro__head {
  padding-top: 190px;
  padding-bottom: 138px;
}

.intro__title {
  font-family: var(--font-en);
  font-size: 70px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: .04em;
  color: #3B3C40;
  text-box-trim: trim-both;
  text-box-edge: cap alphabetic;
}

.intro__subtitle {
  margin-top: 40px;
  font-family: var(--font-mincho);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -.02em;
  color: var(--color-text);
}

/* 電話お問い合わせカード ---------------------------------------------------- */
.tel-card {
  display: flex;
  align-items: flex-start;
  gap: 190px;
  padding: 60px 40px 62px;
  background-color: #fff;
}

.tel-card__label {
  flex-shrink: 0;
  font-family: var(--font-mincho);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -.02em;
  color: var(--color-text);
}
.tel-card__body {
  text-align: center;
}
.tel-card__number {
  font-family: var(--font-en);
  font-size: 44px;
  letter-spacing: .05em;
  line-height: 1.1;
  color: var(--color-text);
}
.tel-card__number a {
  color: inherit;
}
.tel-card__number a span {
  font-size: 32px;
}
.tel-card__hours {
  margin-top: 35px;
  font-family: var(--font-gothic);
  font-size: 14px;
  color: var(--color-text);
}

/* ==========================================================================
   フォーム
   ========================================================================== */
.form-section {
  padding-bottom: 90px;
  padding-inline: 40px;
  max-width: 1280px;
  margin-inline: auto;
}

.form-section__inner {
  background-color: #fff;
  display: grid;
  grid-template-columns: 320px 1fr;
  column-gap: 64px;
  align-items: start;
  padding: 60px 60px 30px 40px;
}

.form-lead__title {
  font-family: var(--font-mincho);
  font-weight: 600;
  font-size: 18px;
  line-height: 1;
  letter-spacing: -.02em;
  color: var(--color-text);
}

.form-lead__text {
  margin-top: 68px;
  font-family: var(--font-mincho);
  font-weight: 500;
  font-size: 14px;
  line-height: 1.75;
  letter-spacing: -.02em;
  color: #000;
}

.form-lead__note {
  margin-top: 56px;
  font-family: var(--font-mincho);
  font-weight: 600;
  font-size: 12px;
  color: var(--color-alert);
}

/* フォーム本体 ------------------------------------------------------------- */
.form {
  width: 100%;
}

.form__row {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 20px 24px;
  padding-bottom: 30px;
  align-items: start;
}
.form__row.form__row-narrow {
  grid-template-columns: 140px 1fr;
}
.form__row.form__row--kana.form__row-narrow {
  padding-bottom: 60px;
}
.form__row.form__row--email2 {
  padding-bottom: 30px;
}
.form__row.form__row--answer {
  padding-bottom: 54px;
}
.form__row.form__row--textarea {
  padding-bottom: 40px;
}

.form__label {
  font-family: var(--font-gothic);
  font-size: 14px;
  line-height: 1.5;
  color: #000;
  padding-top: 16px;
}

.form__label .required {
  display: block;
  font-size: 14px;
  line-height: 1.4;
  margin-top: 8px;
}

.form__field {
  min-width: 0;
}
.form__row--answer .form__field {
  margin-top: 36px;
}

/* 入力欄 */
.form-input {
  width: 100%;
  height: 53px;
  padding: 0 16px;
  border-radius: 5px;
  background-color: #fff;
  box-shadow: inset 0 0 0 1px var(--color-line);
  font-family: var(--font-gothic);
  font-size: 16px;
  color: #000;
}

.form-textarea {
  width: 100%;
  height: 136px;
  padding: 16px;
  border-radius: 5px;
  background-color: #fff;
  box-shadow: inset 0 0 0 1px var(--color-line);
  font-family: var(--font-gothic);
  font-size: 16px;
  line-height: 1.6;
  color: #000;
  resize: vertical;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: #bbb;
}

/* 姓名・セイメイの2分割 */
.form-name {
  display: flex;
  align-items: center;
  gap: 16px 20px;
  flex-wrap: wrap;
}

.form-name__set {
  display: flex;
  align-items: center;
  gap: 20px;
  flex: 1 1 220px;
}

.form-name__set .wpcf7-form-control-wrap {
  text-box-trim: unset;
  text-box-edge: unset;
}

.form-name__tag {
  flex-shrink: 0;
  font-family: var(--font-gothic);
  font-size: 14px;
  color: #000;
  text-align: right;
  width: 36px;
}

.form-name__set .form-input {
  flex: 1 1 auto;
}

.form-radio input[type="radio"] {
  margin: 0;
}
.form-radio .wpcf7-list-item {
  margin-left: 0;
}
.form-radio .wpcf7-list-item.last {
  margin-left: 100px;
}
.form-radio .wpcf7-list-item-label {
  position: relative;
  flex-shrink: 0;
  padding-left: 40px;
  font-family: 'Noto Sans';
  font-style: normal;
  font-weight: 400;
  font-size: 14px;
  line-height: 28px;
  color: #000000;
}
.form-radio .wpcf7-list-item-label::before {
  position: absolute;
  content:"";
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  border: 2px solid #666;
  border-radius: 4px;
  background-color: #fff;
  transition: all .15s ease-out;
}

.form-radio .wpcf7-list-item-label::after {
  content: "";
  position: absolute;
  top: 45%;
  left: 17px;
  width: 8px;
  height: 14px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: translate(-50%, -55%) rotate(45deg) scale(0);
  transition: transform .15s ease-out;
}

.form-radio input:checked + .wpcf7-list-item-label::before {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
}
.form-radio input:checked + .wpcf7-list-item-label::after {
  transform: translate(-50%, -55%) rotate(45deg) scale(1);
}

.form-radio input:focus-visible + .wpcf7-list-item-label {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

/* チェックボックス（返答方法など） */
.form-check-group {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 32px;
}

.form-check {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  font-family: var(--font-gothic);
  font-size: 16px;
  color: #000;
}
.form-check .wpcf7-list-item {
  margin-left: 0;
}
.form-check .wpcf7-list-item input[type="checkbox"] {
  margin-left: 0;
}

.form-check .wpcf7-list-item-label {
  position: relative;
  flex-shrink: 0;
  padding-left: 50px;
}
.form-check__text {
  font-family: 'Noto Sans';
  font-style: normal;
  font-weight: 400;
  font-size: 14px;
  line-height: 28px;
}

.form-check input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.form-check input:checked + .wpcf7-list-item-label::before {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
}

.wpcf7-list-item-label::before {
  content: "";
  position: absolute;
  top: -2px;
  left: 0;
  width: 28px;
  height: 28px;
  border: 2px solid #666;
  border-radius: 4px;
  background-color: #fff;
  transition: all .15s ease-out;
}
.wpcf7-list-item-label::after {
  content: "";
  position: absolute;
  top: 12px;
  left: 17px;
  width: 8px;
  height: 14px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: translate(-50%, -55%) rotate(45deg) scale(0);
  transition: transform .15s ease-out;
}

.form-check input:checked + .wpcf7-list-item-label::after {
  transform: translate(-50%, -55%) rotate(45deg) scale(1);
}

.form-check input:focus-visible + .wpcf7-list-item-label::before {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

.form__note {
  margin-top: 39px;
  font-family: var(--font-gothic);
  font-size: 11.5px;
  color: var(--color-text);
}

.form__note .required {
  margin-right: .3em;
}

/* プライバシー同意 */
.form__row-agree {
  margin-top: 20px;
  padding-bottom: 70px;
}

.form__agree .form-check {
  font-family: var(--font-gothic);
  font-size: 16px;
}

.form__agree-link {
  color: #000;
  text-decoration: underline;
  text-underline-offset: .2em;
  text-decoration: none;
}

/* 送信ボタン */
.form__btn {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px 25px;
  width: 280px;
  background: #FFFFFF;
  border: 1px solid #0022A5;
  font-family: 'Noto Sans JP';
  font-style: normal;
  font-weight: 500;
  font-size: 14px;
  line-height: 30px;
  color: #0022A5;
  transition: all .3s ease;
  cursor: pointer;
}

.form__btn:hover {
  opacity: 1;
  background: #0022A5;
  color: #fff;
}

/* ==========================================================================
   下部パネル（CONTACT / STORE）
   ========================================================================== */
.guide {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.guide__panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 40px 50px;
  text-align: center;
}

.guide__panel--contact {
  background-color: var(--color-contact);
  border-top: 2px solid var(--color-primary);
}

.guide__panel--store {
  background-color: var(--color-store);
  border-top: 2px solid var(--color-store-line);
}

.guide__title {
  font-family: var(--font-en);
  font-size: 44px;
  letter-spacing: .05em;
  line-height: 1.1;
}

.guide__panel--contact .guide__title {
  color: var(--color-primary);
}

.guide__panel--store .guide__title {
  color: var(--color-text);
}

.guide__text {
  margin-top: 20px;
  font-family: var(--font-mincho);
  font-weight: 500;
  font-size: 14px;
  line-height: 1.75;
  letter-spacing: -.02em;
  color: #000;
}

.guide__tel {
  margin-top: 24px;
  font-family: var(--font-en);
  font-size: 44px;
  letter-spacing: .05em;
  color: var(--color-text);
}

.guide__tel a {
  color: inherit;
}

.guide__info {
  margin-top: 20px;
  font-family: var(--font-gothic);
  font-size: 13px;
  line-height: 1.7;
  color: var(--color-text);
}

.guide__btn {
  margin-top: 30px;
}

.wpcf7-not-valid-tip {
  font-size: 14px;
  margin-top: 8px;
}

.wpcf7-spinner {
  display: none;
}

/* ==========================================================================
   レスポンシブ ― Tablet
   ========================================================================== */
@media screen and (max-width: 1024px) {
  .intro__title { font-size: 62px; }
  .intro__head { padding-top: 110px; padding-bottom: 90px; }

  .tel-card { gap: 30px; padding: 40px; flex-direction: column; align-items: flex-start; }
  .tel-card__body { width: 100%; }

  .form-section__inner { grid-template-columns: 1fr; gap: 40px; }
  .form-lead__text { max-width: 500px; }
}

/* ==========================================================================
   レスポンシブ ― SP
   ========================================================================== */
@media screen and (max-width: 767px) {
  :root { --side-gutter: 20px; }
  
  .intro { padding-bottom: 80px; }
  .intro__inner {
    padding-inline: 25px;
    margin-inline: auto;
  }
  .form-section {
    padding-bottom: 80px;
    padding-inline: 25px;
    margin-inline: auto;
  }
  .form-section__inner {
    padding: 40px 25px;
    display: block;
  }
  .form-lead__title {
    font-size: 16px;
  }
  .form-lead__text {
    margin-top: 30px;
    font-size: 14px;
    line-height: 28px;
  }
  .intro__head {
    padding-top: 60px;
    padding-bottom: 90px;
  }
  .intro__title { font-size: 46px; }
  .intro__subtitle {
    margin-top: 35px;
    font-size: 18px;
  }

  .tel-card { padding: 30px 20px; gap: 20px; }
  .tel-card__number {
    font-size: 32px;
    text-align: left;
  }
  .tel-card__hours { font-size: 12px; }

  .form__row {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(2, auto);
    gap: 12px;
    padding-top: 26px;
    padding-bottom: 0;
  }
  .form__row.form__row-narrow {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(2, auto);
    row-gap: 8px;
  }
  .form__row.form__row--kana.form__row-narrow {
    padding-bottom: 5px;
  }
  .form__row.form__row--email2 {
    padding-bottom: 11px;
  }
  .form__row-agree {
    margin-top: 0;
    padding-top: 16px;
}
.form__note {
  margin-top: 20px;
}
  .form__row--answer .form__field {
    margin-top: 0;
    margin-top: 8px;
  }
  .form__row.form__row--textarea {
    padding-bottom: 0px;
}
  .form__row.form__row--answer {
    padding-bottom: 0px;
  }
  .form__row:last-child {
    margin-top: 20px;
  }
  .form__label .required {
    display: inline-block;
    margin-left: 4px;
  }
  .form__label { padding-top: 0; }
  .form-input { height: 48px; font-size: 14px; }
  .form-textarea { font-size: 14px; }
  .form-name {
    gap: 14px;
    flex-wrap: nowrap;
  }
  .form-name__set {
    flex: 1 1 50%;
    flex-direction: column;
    align-items: start;
    row-gap: 4px;
  }
  .form-name__tag {
    text-align: left;
    width: initial;
}
  .btn { width: 100%; min-width: 0; }

  .guide { grid-template-columns: 1fr; }
  .guide__title { font-size: 36px; }
  .guide__tel { font-size: 32px; }
  .tel-card {
    padding: 36px 25px;
    gap: 40px;
  }
  .tel-card__label {
    font-size: 16px;
  }
  .tel-card__number a {
    font-family: 'Marcellus';
    font-style: normal;
    font-weight: 400;
    font-size: 30px;
    line-height: 1;
    letter-spacing: 0.05em;
    color: #3B3C40;
  }
  .tel-card__number a span {
    font-size: 22px;
  }
  .tel-card__hours {
    font-size: 14px;
    text-align: left;
    margin-top: 30px;
  }
  .form-lead__note {
    margin-top: 30px;
  }
  .form__row-agree {
    margin-top: 0;
  }
  .form-radio .wpcf7-list-item.last {
    margin-left: 40px;
  }
  .form-check {
    font-size: 14px;
  }
  .form-check label {
    display: flex;
  }
  .form-check .wpcf7-list-item input[type="checkbox"] {
    flex: 0 1 50px;
  }
  .form-check .wpcf7-list-item-label {
    flex: 1;
  }
}

/* ==========================================================================
確認画面
   ========================================================================== */
.confirm .intro__head {
  padding-bottom: 0;
}
.confirm .form-section__inner {
  display: block;
}
.confirm .form__label {
  padding-top: 0;
}
.confirm .form-name__tag,
.confirm .form__label {
  font-weight: 700;
}
.confirm .form__description,
.confirm .form-name__description {
  font-family: 'Noto Sans';
  font-style: normal;
  font-weight: 400;
  font-size: 14px;
  line-height: 28px;
  color: #000000;
}
.form__row-btns {
  display: flex;
  column-gap: 40px;
  margin-top: 40px;
}
.confirm .form__back-btn a {
  display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 25px;
    width: 280px;
    background: #FFFFFF;
    border: 1px solid #0022A5;
    font-family: 'Noto Sans JP';
    font-style: normal;
    font-weight: 500;
    font-size: 14px;
    line-height: 30px;
    color: #0022A5;
    transition: all .3s ease;
}
.form__back-btn a:hover {
  opacity: 1;
  background: #0022A5;
  color: #fff;
}


/* ==========================================================================
完了
   ========================================================================== */
.complete .form-section__inner {
  display: block;
}
.complete .intro__head {
  padding-bottom: 0;
}
.complete .form__top-btn {
  margin-top: 60px;
}
.complete .form__top-btn a {
  display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 25px;
    width: 280px;
    background: #FFFFFF;
    border: 1px solid #0022A5;
    font-family: 'Noto Sans JP';
    font-style: normal;
    font-weight: 500;
    font-size: 14px;
    line-height: 30px;
    color: #0022A5;
    transition: all .3s ease;
}
.complete .form__top-btn a:hover {
  opacity: 1;
  background: #0022A5;
  color: #fff;
}
