@charset "UTF-8";
/* page.css — 下層固定ページ（お問い合わせ／完了／プライバシーポリシー／運営会社）専用
   トップ・料金プランと同じ意匠に揃える: 赤ヒーロー → 薄グレー背景 → 白カード＋角丸＋やわらかい影。
   全セレクタは .pg- プレフィックス（CF7 のフォーム内だけ .pg-form 配下にスコープ）。 */

/* テーマが section へ padding、section li へ margin-left を当てるので打ち消す */
.pg-hero, .pg-body { padding-left: 0; padding-right: 0; }
.pg-hero li, .pg-body li { margin-left: 0; }
.pg-hero ul, .pg-body ul { list-style: none; margin: 0; padding: 0; }

.pg-inner { max-width: 900px; margin: 0 auto; padding: 0 20px; }
.pg-inner--wide { max-width: 1000px; }

/* #container が flex(space-between) で main を伸ばすため、末尾に白が出ないよう埋める */
main { background: var(--primary-color); }

/* ── ヒーロー ────────────────────────────────── */
.pg-hero {
  background: var(--primary-color); color: #fff;
  /* header が position:absolute（PC90px / SP60px）で重なるため確保する */
  padding-top: 126px; padding-bottom: 48px;
}
.pg-crumb { font-size: 13px; opacity: .85; margin-bottom: 14px; }
.pg-crumb a { color: #fff; text-decoration: none; }
.pg-crumb a:hover { text-decoration: underline; }
.pg-hero h1 { font-size: 34px; font-weight: 800; line-height: 1.45; color: #fff; margin: 0; }
.pg-hero .pg-sub { margin-top: 14px; font-size: 16px; line-height: 1.9; opacity: .95; }

/* ── 本文 ────────────────────────────────────── */
.pg-body { background: #f7f7f7; padding-top: 60px; padding-bottom: 76px; }
.pg-card {
  background: #fff; border-radius: 16px; padding: 30px 32px; margin-bottom: 22px;
  box-shadow: 0 4px 16px rgba(0,0,0,.06);
}
.pg-card > :last-child { margin-bottom: 0; }
.pg-body p { font-size: 16.5px; line-height: 2.0; color: #3f3f3f; margin: 0 0 1.1em; }
.pg-body h2.c { margin-bottom: 26px; }
/* テーマの main h2 は英語サブタイトルを上に出すため
   display:flex; flex-direction:column-reverse; text-align:center が当たっている。
   ここでは使わないので、行方向・左寄せに戻す */
.pg-body h2.pg-sh, .pg-sh {
  display: flex; flex-direction: row; align-items: center;
  justify-content: flex-start; text-align: left; gap: 10px;
  font-size: 21px; font-weight: 800; letter-spacing: .04em;
  margin: 0 0 16px; padding: 0; background: none; border: none; color: #323232;
}
.pg-sh::before {
  content: ""; width: 6px; height: 26px; border-radius: 3px;
  background: var(--primary-color); flex: 0 0 auto;
}

/* ── 会社概要テーブル ─────────────────────────── */
.pg-table { width: 100%; border-collapse: collapse; }
.pg-table th, .pg-table td {
  text-align: left; vertical-align: top; padding: 18px 4px;
  border-bottom: 1px solid #eee; font-size: 16px; line-height: 1.9;
}
.pg-table tr:last-child th, .pg-table tr:last-child td { border-bottom: none; }
.pg-table th { width: 200px; font-weight: 800; color: var(--primary-color); }
.pg-table td { color: #3f3f3f; }
.pg-table td a { color: #3f3f3f; }

/* 本文（the_content）から流し込まれる旧テーブルも同じ見た目に寄せる */
.pg-body .company-table { width: 100%; border-collapse: collapse; }
.pg-body .company-table th, .pg-body .company-table td {
  text-align: left; vertical-align: top; padding: 18px 4px;
  border-bottom: 1px solid #eee; font-size: 16px; line-height: 1.9;
  background: none !important; color: #3f3f3f !important;
}
.pg-body .company-table th { width: 200px; font-weight: 800; color: var(--primary-color) !important; }

/* ── 規約・ポリシー本文（the_content をそのまま流す） ───────── */
.pg-legal h3, .pg-legal .subtitle03_01 {
  font-size: 19px; font-weight: 800; color: #323232;
  margin: 38px 0 14px; padding: 0 0 0 14px;
  background: none !important; border: none;
  border-left: 5px solid var(--primary-color);
  line-height: 1.6;
}
.pg-legal > :first-child { margin-top: 0; }
.pg-legal h4, .pg-legal .subtitle04_01 {
  font-size: 16.5px; font-weight: 500; line-height: 2.0; color: #3f3f3f;
  background: none !important; border: none; padding: 0; margin: 0 0 1.2em;
}
.pg-legal p {
  font-size: 16px; line-height: 2.0; color: #3f3f3f; margin: 0 0 1.2em;
  /* 条文は元データが改行区切りの箇条書きなので、改行を活かす */
  white-space: pre-line;
}
.pg-legal a { color: var(--primary-color); }

/* ── お問い合わせページ ───────────────────────── */
.pg-ways { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 30px; }
.pg-way {
  background: #fff; border-radius: 16px; padding: 26px 24px; text-align: center;
  box-shadow: 0 4px 16px rgba(0,0,0,.06); display: flex; flex-direction: column;
}
.pg-body .pg-way__t { font-size: 18px; font-weight: 800; margin: 0 0 8px; color: #323232; }
.pg-body .pg-way__d { font-size: 15px; line-height: 1.9; color: #666; margin: 0 0 18px; flex: 1; }
.pg-way__btn {
  display: inline-block; font-weight: 800; font-size: 16px; color: #fff;
  border-radius: 999px; padding: 15px 28px; text-decoration: none; transition: 0.3s;
}
.pg-way__btn--line { background: #1eb864; }
.pg-way__btn--line:hover { background: #189a53; color: #fff; }
.pg-way__btn--form { background: var(--primary-color); }
.pg-way__btn--form:hover { opacity: .85; color: #fff; }

.pg-flow { display: flex; gap: 14px; flex-wrap: wrap; counter-reset: pgf; }
.pg-flow li {
  flex: 1 1 200px; background: #fff; border-radius: 14px; padding: 20px 22px 20px 22px;
  box-shadow: 0 4px 16px rgba(0,0,0,.06); font-size: 15px; line-height: 1.9; color: #555;
}
.pg-flow li b { display: block; font-size: 16px; color: #323232; margin-bottom: 6px; }
.pg-flow li::before {
  counter-increment: pgf; content: "STEP " counter(pgf);
  display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: .1em;
  color: #fff; background: var(--primary-color);
  border-radius: 999px; padding: 4px 12px; margin-bottom: 10px;
}

.pg-flow--plain li::before { content: none; }
.pg-flow--plain li b { margin-bottom: 6px; }
.pg-flow--plain li a { color: var(--primary-color); text-decoration: none; }
.pg-flow--plain li a:hover { text-decoration: underline; }

/* ── Contact Form 7 ──────────────────────────── */
.pg-form { background: #fff; border-radius: 16px; padding: 34px 36px; box-shadow: 0 4px 16px rgba(0,0,0,.06); }
.pg-form label {
  display: block; font-size: 15px; font-weight: 800; color: #323232;
  margin: 0 0 8px; line-height: 1.6;
}
.pg-form .required { font-size: 12px; font-weight: 800; color: var(--primary-color); margin-left: 6px; }
.pg-form .wpcf7-form-control-wrap { display: block; margin-bottom: 24px; }
.pg-form input[type="text"],
.pg-form input[type="email"],
.pg-form input[type="tel"],
.pg-form input[type="url"],
.pg-form select,
.pg-form textarea {
  width: 100%; box-sizing: border-box;
  font-size: 16px; /* 16px 未満だと iOS でフォーカス時に拡大されるため下げない */
  line-height: 1.7; color: #323232; background: #fafafa;
  border: 2px solid #e6e6e6; border-radius: 10px; padding: 13px 15px;
  transition: 0.2s; -webkit-appearance: none; appearance: none;
}
.pg-form select {
  background-image: linear-gradient(45deg, transparent 50%, #999 50%), linear-gradient(135deg, #999 50%, transparent 50%);
  background-position: calc(100% - 20px) calc(50% + 1px), calc(100% - 14px) calc(50% + 1px);
  background-size: 6px 6px, 6px 6px; background-repeat: no-repeat;
}
.pg-form textarea { min-height: 190px; resize: vertical; }
.pg-form input:focus, .pg-form select:focus, .pg-form textarea:focus {
  outline: none; background: #fff; border-color: var(--primary-color);
  box-shadow: 0 0 0 4px rgba(255,49,49,.10);
}
.pg-form ::placeholder { color: #b5b5b5; }

.pg-form .privacy {
  background: #faf7f7; border-radius: 12px; padding: 16px 18px; margin: 4px 0 26px;
  font-size: 15px; line-height: 1.8;
}
.pg-form .privacy label { display: inline; font-weight: 500; }
/* 「（必須）」がチェックボックスと同じ行に並ぶよう、CF7 の list-item をインラインにする */
.pg-form .privacy .wpcf7-form-control-wrap { display: inline; margin: 0; }
.pg-form .privacy .wpcf7-list-item { display: inline; margin: 0; }
.pg-form .privacy input[type="checkbox"] {
  width: 18px; height: 18px; margin-right: 8px; vertical-align: -3px; accent-color: var(--primary-color);
}
.pg-form .privacy a { color: var(--primary-color); font-weight: 700; }

.pg-form input[type="submit"] {
  display: block; width: 100%; max-width: 380px; margin: 0 auto; cursor: pointer;
  font-size: 18px; font-weight: 800; letter-spacing: .06em; color: #fff;
  background: var(--primary-color); border: none; border-radius: 999px;
  padding: 18px 30px; transition: 0.3s; box-shadow: 0 8px 20px rgba(255,49,49,.28);
}
.pg-form input[type="submit"]:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(255,49,49,.34); }
.pg-form .wpcf7-spinner { display: block; margin: 12px auto 0; }

.pg-body .pg-form .under_txt { font-size: 12px; line-height: 1.8; color: #999; margin: 18px 0 0; text-align: center; }
.pg-form .under_txt a { color: #999; text-decoration: underline; }

.pg-form .wpcf7-not-valid-tip { font-size: 13px; font-weight: 700; color: var(--primary-color); margin-top: 6px; }
.pg-form .wpcf7-response-output {
  border-radius: 10px; border-width: 2px; font-size: 15px; line-height: 1.8;
  margin: 24px 0 0; padding: 14px 18px;
}

/* ── 送信完了ページ ───────────────────────────── */
.pg-thanks { text-align: center; }
.pg-body .pg-thanks__mark {
  width: 88px; height: 88px; margin: 0 auto 24px; border-radius: 50%;
  font-size: 46px; font-weight: 700;
  background: var(--primary-color); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 42px; line-height: 1; box-shadow: 0 10px 24px rgba(255,49,49,.28);
}
.pg-thanks h2 { font-size: 26px; font-weight: 800; margin: 0 0 18px; color: #323232; }
.pg-thanks p { text-align: left; }
.pg-thanks__btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 30px; }
.pg-btn {
  display: inline-block; font-weight: 800; font-size: 16px; text-decoration: none;
  border-radius: 999px; padding: 15px 32px; transition: 0.3s;
}
.pg-btn--line { background: #1eb864; color: #fff; }
.pg-btn--line:hover { background: #189a53; color: #fff; }
.pg-btn--ghost { background: #fff; color: var(--primary-color); border: 2px solid var(--primary-color); }
.pg-btn--ghost:hover { background: var(--primary-color); color: #fff; }

@media screen and (max-width: 700px) {
  .pg-hero { padding-top: 94px; padding-bottom: 36px; }
  .pg-hero h1 { font-size: 25px; }
  .pg-hero .pg-sub { font-size: 15px; }
  .pg-body { padding-top: 44px; padding-bottom: 54px; }
  .pg-card { padding: 22px 20px; }
  .pg-form { padding: 24px 18px; }
  .pg-ways { grid-template-columns: 1fr; gap: 14px; }
  .pg-table th, .pg-table td,
  .pg-body .company-table th, .pg-body .company-table td { display: block; width: auto; }
  .pg-table th, .pg-body .company-table th { padding-bottom: 4px; border-bottom: none; }
  .pg-table td, .pg-body .company-table td { padding-top: 0; }
  .pg-btn { width: 100%; }
}
