@charset "UTF-8";
/* CSS Document */


body {
  font-family: 'M PLUS Rounded 1c';
  font-weight: 400;
  font-style: normal;
}

:root {
  --color-brand-yl: #ebc900;  /* yellow */
  --color-brand-bl: #1695d4;  /* blue */
  --color-brand-gr: #63a431;  /* green */
  --color-brand-pk: #eb6d7b;  /* pink */
  --color-brand-gy: #727171;  /* gray */
  --color-brand-pp: #8054a0;  /* purple */
  --color-brand-fbg: #fdfce7;  /* footer-bg */
  --color-brand-bl-u: #f3f9fe;  /* 薄水色 */
}

#mobile-menu a {
  pointer-events: auto;
}
#menu-overlay.hidden {
  display: none !important;
}



/* 波ヘッダー共通 */
.c-namiHeader{
  position: relative;
  width: 100%;
  height: var(--nami-h, 80px);     /* 高さ(デフォ80px) */
  overflow: hidden;
  background: var(--nami-bg, transparent);
}

/* SVGを親サイズにフィット */
.c-namiHeader > svg{
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
}

/* 波の色(デフォ #f3f9fe) */
.c-namiHeader path{
  fill: var(--nami-fill, #f3f9fe);
}

/* ぼかしの効いた濃い影：右下15px */
.text-outline{
  color:#fff;
  text-shadow: 5px 5px 10px rgba(0,0,0,.55); /* 右下15px、ぼかし20px、濃いめ */
}

#menu-overlay.hidden {
  display: none !important;
}



/* ヘッダー */


/* 下層ナビ */
ul.sub {
	display: grid;
	grid-template-columns: repeat(6,1fr);
}

ul.sub li.icon {
  width: 16px;       /* アイコンサイズ */
  height: 16px;
  margin-right: 15px; /* テキストとの余白 */
  vertical-align: middle; /* テキストと縦位置を揃える */
}



/* フッター */


/* TOPコンテンツ */


.accordion-content {
  transition: max-height 0.3s ease, opacity 0.3s ease;
  max-height: 0;
  opacity: 0;
}

.accordion-content.open {
  opacity: 1;
}


/* ========== MW WP Form TABLE レイアウト ========== */
.contact-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid #bdbdbd;
  font-size: 16px;
}
.contact-table th,
.contact-table td {
  border: 1px solid #bdbdbd;
  padding: 12px 15px;
  vertical-align: middle;
}
.contact-table th {
  width: 30%;
  background-color: #efefef;
  text-align: left;
  font-weight: 500;
}
.contact-table td {
  width: 70%;
  background-color: #fff;
}

/* ========== 入力欄（共通） ========== */
.contact-table input[type="text"],
.contact-table input[type="email"],
.contact-table input[type="tel"],
.contact-table input[type="number"],
.contact-table select,
.contact-table textarea {
  width: 100%;
  background-color: #f5f5f5;
  border: 1px solid #ccc;
  padding: 10px 12px;
  border-radius: 4px;
  box-sizing: border-box;
  font-size: 16px;
}

/* テキストエリア高さ */
.contact-table textarea {
  min-height: 120px;
}

/* ========== 生年月日エリア ========== */
.birth-flex {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.8em;
}
.birth-item {
  display: flex;
  align-items: center;
  gap: 0.3em;
}
.birth-item input[type="text"],
.birth-item input[type="number"] {
  width: 5.5rem;
  max-width: 100%;
  background-color: #f5f5f5;
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 8px 10px;
  font-size: 16px;
  box-sizing: border-box;
}
.birth-item:nth-child(2) input,
.birth-item:nth-child(3) input {
  width: 3.5rem;
}
.birth-item span {
  color: #727171;
  font-size: 15px;
}

/* ========== ボタンエリア ========== */
.contact-form__actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
}
.contact-form__actions .btn,
.contact-form__actions button.btn,
.contact-form__actions input.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  font-size: 16px;
  line-height: 1;
  color: #444;
  background: #fff;
  border: 1px solid #bdbdbd;
  border-radius: 9999px;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .15s ease, opacity .15s ease, box-shadow .15s ease;
}
.contact-form__actions .btn:hover,
.contact-form__actions button.btn:hover,
.contact-form__actions input.btn:hover {
  background: #f7f7f7;
}
.contact-form__actions .btn:focus-visible,
.contact-form__actions button.btn:focus-visible,
.contact-form__actions input.btn:focus-visible {
  outline: 2px solid #1695d4;
  outline-offset: 2px;
}
.contact-form__actions .btn[disabled],
.contact-form__actions button.btn[disabled],
.contact-form__actions input.btn[disabled] {
  opacity: .55;
  cursor: not-allowed;
}

/* ========== 規約同意 ========== */
.contact-form__agree {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1em; /* ← 最終的な間隔 */
  color: #555;
  font-size: 15px;
  margin: 16px 0 8px;
}
.contact-form__agree > * {
  margin: 0 !important;
  padding: 0;
}
.contact-form__agreeLink {
  color: inherit;
  text-decoration: underline;
  order: 0;
}
.contact-form__agreeLabel {
  cursor: pointer;
  order: 1;
  display: flex;
  align-items: center;
  gap: .5em;
}
.contact-form__agree input[type="checkbox"] {
  accent-color: #9ca3af;
}
.contact-form__agree input[type="checkbox"]:focus-visible {
  outline: 2px solid #1695d4;
  outline-offset: 2px;
}

/* 確認画面では非表示 */
.mw_wp_form_confirm .contact-form__agree {
  display: none !important;
}

/* MW WP Form が出力する <br> を非表示に */
.contact-form__agree br {
  display: none !important;
}

/* 送信完了画面 */
.complete-msg {
  color: #727171;
  font-size: 22px;
  text-align: center;
  line-height: 1.6rem;
}

/* ===== SPだけ1カラム表示（～640px） ===== */
@media (max-width: 640px) {
  /* テーブルをブロック化して th → td の縦並びに */
  .contact-table {
    border: 0; /* 外枠は消して各行に枠を持たせる */
  }
  .contact-table,
  .contact-table tbody,
  .contact-table tr,
  .contact-table th,
  .contact-table td {
    display: block;
    width: 100%;
  }

  /* 行ごとにカード風の枠 */
  .contact-table tr {
    border: 1px solid #bdbdbd;
    margin-bottom: 12px;
    background: #fff;
  }

  /* 見出し（ラベル）→ 上段 */
  .contact-table th {
    background-color: #efefef;
    border-bottom: 1px solid #bdbdbd;
    border-right: 0;
    padding: 10px 12px;
    width: 100%;
  }

  /* 入力（フィールド）→ 下段 */
  .contact-table td {
    background-color: #fff;
    border: 0;
    padding: 10px 12px 12px;
    width: 100%;
  }

  /* インプットは100%幅のまま（既存指定を活かす） */
  .contact-table input[type="text"],
  .contact-table input[type="email"],
  .contact-table input[type="tel"],
  .contact-table input[type="number"],
  .contact-table select,
  .contact-table textarea {
    width: 100%;
  }
}

