:root {
  /* ===== ブランドカラー ===== */
  --color-brand-01: #FFD12D;
  --color-brand-02: #345F55;

  /* ===== アクセント ===== */
  --color-strong: #FFA600;

  /* ===== 状態を示す色 ===== */
  --color-success: #28a745;
  --color-warning: #ffc107;
  --color-error: #dc3545;

  /* ===== 背景・枠線 ===== */
  --color-bg-white: #ffffff;
  --color-bg-yellow-01: #FFDD65;
  --color-bg-yellow-02: #FEF5D5;
  --color-bg-yellow-03: #FFE197;
  --color-bg-yellow-04: #FDC04E;
  --color-bg-light-red-01: #FD6C6F;
  --color-bg-brown: #664f00;
  --color-bg-line: #06C755;
  --color-dot: #231815;
  --color-border: #D9D9D9;

  /* ===== テキスト ===== */
  --color-text: #231815;
  --color-text-white: #ffffff;
  --color-text-brown: #664f00;
  --color-text-light-red-01: #FD6C6F;

  /* ヘッダー高さ */
  --height-header: 118px;
  --height-footer: 58px;
}

/* ================================================================ */

html {
  font-size: 62.5%;
  scroll-padding-top: 0;
  /* wordpress管理画面でアンカーリンクの遷移先がずれるのを防止 */
}

body {
  font-family: "Noto Sans JP", sans-serif;
}

/* =============
  ヘッダー
============= */
.header-contact {
  background-color: var(--color-brand-01);
  height: var(--height-header);
}

.header-contact__content {
  max-width: 91vw;
  margin: 0 auto;
  padding: 32px 0 20px;
}

.header-contact__logo {
  margin: 0;
  width: 148px;
}

/* =============
  メイン
============= */

.main-contact {
  background-color: var(--color-bg-white);
  padding: 24px 24px 40px;
  min-height: calc(100svh - var(--height-header) - var(--height-footer));
}

@media screen and (min-width: 768px) {
  .main-contact__content {
    max-width: 656px;
    padding: 40px 24px;
    margin: 0 auto;
  }
}

.main-section>p {
  font-size: 1.4rem;
  color: var(--color-text);
}

.main-section .btn.flat1 {
  width: 214px;
  max-width: 100%;
  background-color: var(--color-strong);
  color: var(--color-text-white);
  border: none;
  border-radius: 30px;
  font-size: 1.6rem;
  font-weight: bold;
  line-height: 1;
  padding: 16px 24px;
  box-shadow: 4px 4px 4px #00000040;
}

@media (hover: hover) {
  .main-section .btn.flat1 {
    transition: filter 0.3s ease-in-out;
  }

  .main-section .btn.flat1:hover {
    filter: brightness(1.15);
  }
}

.main-heading {
  color: var(--color-text);
  font-size: 2rem;
  text-align: center;
  margin: 0 0 32px;
}

/* =============
  アイコン装飾
============= */
.icon-required {
  color: var(--color-text-light-red-01);
}

/* =============
  確認画面用
============= */

.confirm-content {
  margin-bottom: 64px;
}

.confirm-content__item:not(:last-child) {
  margin-bottom: 24px;
}

.confirm-content__item_label {
  margin: 0 0 8px;
  font-size: 1.6rem;
  font-weight: bold;
  color: var(--color-text);
}

.confirm-content__item_label+p {
  margin: 0;
  font-size: 1.4rem;
  color: var(--color-text);
  line-height: 1.2;
}

.confirm-buttons__submit {
  margin-bottom: 16px;
}

.confirm-buttons__submit p {
  margin: 0;
  text-align: center;
}

/* プラグインにより追加される要素調整 */
.confirm-buttons__submit .wpcf7-spinner {
  display: none;
}

.confirm-buttons__submit [type="submit"] {
  width: 214px;
  max-width: 100%;
  background-color: var(--color-strong);
  color: var(--color-text-white);
  border: none;
  border-radius: 30px;
  font-size: 1.6rem;
  font-weight: bold;
  line-height: 1;
  padding: 16px 24px;
  box-shadow: 4px 4px 4px #00000040;
}

@media (hover: hover) {
  .confirm-buttons__submit [type="submit"] {
    transition: filter 0.3s ease-in-out;
  }

  .confirm-buttons__submit [type="submit"]:hover {
    filter: brightness(1.15);
  }
}

.confirm-buttons__previous p {
  margin: 0;
  text-align: center;
}

.confirm-buttons__previous [type="button"] {
  width: 214px;
  max-width: 100%;
  background-color: #ccc;
  color: var(--color-text);
  border: none;
  border-radius: 30px;
  font-size: 1.6rem;
  font-weight: bold;
  line-height: 1;
  padding: 16px 24px;
  box-shadow: 4px 4px 4px #00000040;
}

@media (hover: hover) {
  .confirm-buttons__previous [type="button"] {
    transition: filter 0.3s ease-in-out;
  }

  .confirm-buttons__previous [type="button"]:hover {
    filter: brightness(0.85);
  }
}

/* =============
  フッター
============= */
.footer-contact {
  background-color: var(--color-brand-02);
  height: var(--height-footer);
}

.footer-contact__content {
  max-width: 91vw;
  margin: 0 auto;
  padding: 16px 0 20px;
}

.footer-contact__copy {
  display: block;
  color: var(--color-text-white);
  font-size: 1.2rem;
  text-align: center;
}