@charset "utf-8";

#zh{
    font-family: var(--font-zh);
}

.main{
    padding-top: 140px;
    width: 100%;
    max-width: 1000px;
    margin:0 auto;
}

.form_waku{
    margin:80px 0px;
}

/* ===== Contact form (追加) ===== */

/* ページ幅と余白（既存.mainは流用） */
#formWrap { max-width: 720px; margin: 32px auto 96px; padding: 0 16px; }

/* テーブルを“ブロックフォーム”風にする */
.formTable { width: 100%; border-collapse: collapse; }
.formTable tr { display: block; margin-bottom: 18px; }
.formTable th {
  display: block;
  font-family: var(--font-body);
  font-size: 14px;              /* 見出しは少し小さめ */
  color: #333;
  margin: 6px 0 8px;
  text-align: left;
}
.formTable td { display: block; padding: 0; }

/* 入力欄（テキスト/メール/電話） */
.input-text,
.formTable input[type="text"],
.formTable input[type="email"],
.formTable input[type="tel"],
.formTable select {
  width: 100%;
  height: 48px;
  padding: 12px 14px;
  border: 1px solid #e6e6ea;
  border-radius: 10px;
  background: #fff;
  font-size: 15px;              /* ※ご指定の15px基準 */
  line-height: 1.6;
  box-shadow: 0 1px 2px rgba(0,0,0,.03) inset;
  transition: box-shadow .2s, border-color .2s, background-color .2s;
}

/* テキストエリア */
.input-area,
.formTable textarea {
  width: 100%;
  min-height: 160px;
  padding: 14px;
  border: 1px solid #e6e6ea;
  border-radius: 10px;
  background: #fff;
  font-size: 15px;
  line-height: 1.8;
  resize: vertical;
  box-shadow: 0 1px 2px rgba(0,0,0,.03) inset;
}

/* フォーカスのアクセント（薄いピンクのグロー） */
.input-text:focus,
.input-area:focus,
.formTable input:focus,
.formTable textarea:focus,
.formTable select:focus {
  outline: none;
  border-color: var(--color-bg-deep-key);
  box-shadow: 0 0 0 3px rgba(255, 170, 183, .35);
  background: #fff;
}

/* チェックボックスの見やすさ */
.checkbox-list label { display: inline-block; margin: 6px 0; cursor: pointer; }
.checkbox-list input[type="checkbox"] { accent-color: var(--color-bg-deep-key); margin-right: 6px; }

/* “※必須”を右側に小さく */
.reqnote { font-size: 12px; color: #888; margin-left: 8px; }

/* 送信／リセットボタン */
.form-actions { text-align: center; margin-top: 16px; }
.button, .button2 {
  display: inline-block;
  width: 100%;
  max-width: 520px;
  height: 52px;
  border-radius: 12px;
  font-size: 16px;
  font-family: var(--font-body);
  letter-spacing: .08em;
  cursor: pointer;
  transition: transform .03s ease, opacity .2s ease;
}
.button {
  background: var(--color-bg-deep-key); /* 既存のピンク */
  color: #fff;
  border: none;
}
.button:hover { opacity: .9; }
.button:active { transform: translateY(1px); }

.button2 {
  margin-top: 10px;
  background: #fff;
  color: #333;
  border: 1px solid #d7d7db;
}
.button2:hover { background: #fafafa; }

/* スマホ余白微調整 */
@media (max-width: 767px) {
  .main { padding-top: 120px; }
  .formTable tr { margin-bottom: 14px; }
  .button, .button2 { max-width: none; }
}

/* ====== ポリシー同意ブロック（追加） ====== */
.policy-wrap { max-width: 720px; margin: 8px auto 48px; padding: 0 16px; }

.policy-card {
  border: 1px solid #e6e6ea;
  border-radius: 12px;
  background: #fff;
  padding: 14px 14px 12px;
  margin: 16px 0 28px;
}

.policy-title {
  font-family: var(--font-body);
  font-size: 15px;           /* 本文ベースに合わせて15px */
  font-weight: 700;
  color: #333;
  margin: 0 0 10px;
}

.policy-body p { margin: 8px 0; font-size: 15px; line-height: 1.9;  }
.policy-heading { font-weight: 700; }

.policy-link {
  font-weight: 700;
  color: var(--color-bg-deep-key);
  text-decoration: underline;
}

.policy-consent {
  display: flex; align-items: center; gap: 10px;
  margin-top: 10px;
  font-size: 15px;
  cursor: pointer;
}
.policy-consent input[type="checkbox"] {
  width: 20px; height: 20px; margin: 0;
  accent-color: var(--color-bg-deep-key);
}

.policy-note-title { margin-top: 10px; font-weight: 700; }
.policy-list { margin: 6px 0 0 1.2em; padding: 0; }
.policy-list li { list-style: disc; margin: 4px 0; font-size: 15px; line-height: 1.8; }

/* モバイル微調整 */
@media (max-width: 767px) {
  .policy-card { padding: 12px; }
}

/*ポップアップボタン装飾*/
.btn_zh_popup{
  padding:10px 20px;
  border-radius: 8px;
  background-color: var(--color-bg-deep-key);
  color: #fff;
}
.btn_zh_popup:hover {
  opacity: 0.8;
}

/* ===== Modal (隐私政策) ===== */
.zh-modal { position: fixed; inset: 0; display: none; z-index: 9999; }
.zh-modal[aria-hidden="false"] { display: block; }

.zh-modal__overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,.4);
}

.zh-modal__dialog {
  position: relative;
  max-width: 880px;
  width: calc(100% - 40px);
  max-height: calc(100dvh - 80px);
  margin: 40px auto;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 20px 50px rgba(0,0,0,.15);
  overflow: auto;
  padding: 24px 22px 26px;
}

.zh-modal__close {
  position: sticky; top: 0; float: right;
  width: 36px; height: 36px; margin: -10px -10px 0 0;
  border: none; border-radius: 50%;
  background: #f2f2f4; color: #333; font-size: 22px; cursor: pointer;
}
.zh-modal__close:hover { background: #ececef; }

.zh-modal__title {
  font-size: 20px; font-weight: 700; margin: 4px 0 10px;
}
.zh-modal__body p, .zh-modal__body li { font-size: 15px; line-height: 1.85; }
.zh-modal__body h3 { font-size: 16px; margin: 16px 0 6px; font-weight: 700; }
.zh-modal__body ul { padding-left: 1.2em; }

/* どちらの系統でも開く/閉じるが効くようにフォールバック */
.modal[aria-hidden="true"],
.zh-modal[aria-hidden="true"] { display: none; }

.modal.is-open,
.modal[aria-hidden="false"],
.zh-modal.is-open,
.zh-modal[aria-hidden="false"] { display: block; }

/* レイヤー順を明示 */
.zh-modal { position: fixed; inset: 0; z-index: 9999; }
.zh-modal__overlay { position: absolute; inset: 0; background: rgba(0,0,0,.4); z-index: 0; }
.zh-modal__dialog { position: relative; z-index: 1; }

/* モーダル表示中は背面をスクロールさせない */
html.is-modal-open,
body.is-modal-open { overflow: hidden; }

/* ===== Modal (取消政策) ===== */
/* zh-modal と同じレイヤー＆レイアウトを .modal 系にも付与 */
.modal { position: fixed; inset: 0; z-index: 9999; display: none; }
.modal__overlay { position: absolute; inset: 0; background: rgba(0,0,0,.4); }
.modal__dialog {
  position: relative;
  max-width: 880px;
  width: calc(100% - 40px);
  max-height: calc(100dvh - 80px);
  margin: 40px auto;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 20px 50px rgba(0,0,0,.15);
  overflow: auto;
  padding: 24px 22px 26px;
}
.modal__close {
  position: sticky; top: 0; float: right;
  width: 36px; height: 36px; margin: -10px -10px 0 0;
  border: none; border-radius: 50%;
  background: #f2f2f4; color: #333; font-size: 22px; cursor: pointer;
}
.modal__close:hover { background: #ececef; }
.modal__title { font-size: 20px; font-weight: 700; margin: 4px 0 10px; }
.modal__subtitle { font-size: 16px; margin: 16px 0 6px; font-weight: 700; }
.modal__body p, .modal__body li { font-size: 15px; line-height: 1.85; }
.modal__body ul { padding-left: 1.2em; }

/* 表示トグル（既に入っているものと整合） */
.modal[aria-hidden="true"], .zh-modal[aria-hidden="true"] { display: none; }
.modal.is-open, .modal[aria-hidden="false"],
.zh-modal.is-open, .zh-modal[aria-hidden="false"] { display: block; }

/* モーダル表示中は背面スクロール無効（既存ルールと合わせてOK） */
html.is-modal-open, body.is-modal-open { overflow: hidden; }
