/* ============================================
   経理Jobs 年収診断Pro — style.css
   純CSS + BEM / モバイルファースト
   Figma 685:505 準拠
   ============================================ */

:root {
  --color-primary: #E95513;
  --color-primary-dark: #D04A0E;
  --color-logo: #E92F12;
  --color-navy: #1A326E;
  --color-navy-dark: #00003A;
  --color-bg: #FBF5EB;
  --color-bg-white: #FFFFFF;
  --color-yellow: #FFFAD0;
  --color-text: #323232;
  --color-text-light: #666666;
  --color-text-muted: #97959F;
  --color-border: #707070;
  --color-item-bg: rgba(26, 50, 110, 0.15);
  --font-base: 'Noto Sans JP', sans-serif;
  --max-width: 530px;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
[x-cloak] { display: none !important; }
body {
  font-family: var(--font-base);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button, input, select, textarea { font-family: inherit; font-size: inherit; }

/* --- Layout --- */
.l-page {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

.l-page-inner {
  background: var(--color-bg-white);
  max-width: var(--max-width);
  width: 100%;
  margin: 0 auto;
  flex: 1 0 auto;
  overflow-x: hidden;
  /* 縦フレックスにして、中の .l-main を伸縮させフッターを最下部へ張り付ける */
  display: flex;
  flex-direction: column;
}

/* --- Header (Figma 685:508) --- */
.l-header {
  background: var(--color-bg-white);
  border-bottom: 1px solid var(--color-border);
}

.l-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
}

.l-header__logo {
  height: 28px;
  width: auto;
  display: block;
}

.l-header__title {
  font-size: 13.7px;
  font-weight: 500;
  color: var(--color-text);
  letter-spacing: 0.01em;
}

/* コンテンツが短いステップでもフッターを画面下へ押し下げるため main を伸ばす */
.l-main { padding-bottom: 40px; flex: 1 0 auto; }

.l-footer {
  background: var(--color-navy);
  padding: 20px 16px;
  text-align: center;
  flex-shrink: 0;
}

.l-footer__copy { color: #fff; font-size: 12px; letter-spacing: 0.03em; }

/* --- FV (Figma 685:516) --- */
.p-fv {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.p-fv__bg { width: 100%; display: block; }

/* --- おすすめセクション (Figma 685:518) --- */
.p-recommend { padding: 32px 16px 0; }

/* Figma 685:531 を画像化（文字＋紺三角コーナー、3x PNG）。
   CSS 再現ではなく Figma 同等の意匠を高解像度ラスターで中央表示する。 */
.p-recommend__heading {
  display: block;
  width: 100%;
  max-width: 430px;
  height: auto;
  margin: 0 auto 16px;
}

.p-recommend__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.p-recommend__item {
  background: var(--color-item-bg);
  padding: 10px 20px;
}

.p-recommend__item:first-child { border-radius: 10px 10px 0 0; }
.p-recommend__item:last-child { border-radius: 0 0 10px 10px; }
.p-recommend__item-img { width: 100%; }

/* --- 特徴セクション (Figma 685:526 + 685:535) --- */
.p-features {
  padding: 32px 16px 0;
  text-align: center;
}

/* Figma 685:526 を画像化（文字＋紺三角コーナー、3x PNG）。 */
.p-features__heading {
  display: block;
  width: 100%;
  max-width: 430px;
  height: auto;
  margin: 0 auto 16px;
}

.p-features__box {
  background: var(--color-yellow);
  border-radius: 10px;
  padding: 18px 14px;
  position: relative;
}

/* Figma 685:535: 各行頭にオレンジ丸チェック。元デザインは画像の上に白矩形＋テキストを重ねた
   ハック実装だったため、HTML テキスト＋CSS チェックで再現し税理士版の文言混入を排除する */
.p-features__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: left;
}

.p-features__item {
  position: relative;
  padding-left: 28px;
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 1.2px;
  line-height: 1.45;
  color: var(--color-text);
  white-space: nowrap;
}

.p-features__item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Ccircle cx='10' cy='10' r='10' fill='%23E95513'/%3E%3Cpath d='M5.5 10.2l2.8 2.8 6.2-6.4' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / contain;
}

.p-features__illust {
  position: absolute;
  right: 12px;
  bottom: 14px;
  width: 66px;
}

/* --- CTA 診断スタート (Figma 685:530) --- */
.p-start-cta {
  padding: 0 16px;
  margin-top: 28px;
  /* landing 限定で表示される CTA。下マージンで CTA とインライン Q1 の間隔を確保する
     （p-diagnosis 側を触らないので質問ステップの上余白には影響しない） */
  margin-bottom: 32px;
  text-align: center;
}

.p-start-cta__img {
  display: block;
  width: 100%;
  margin: 0 auto;
  cursor: pointer;
}

/* --- 診断フォームエリア --- */
.p-diagnosis {
  display: none;
  padding: 24px 16px 0;
}

.p-diagnosis.is-active { display: block; }

/* --- プログレスバー --- */
.p-progress { margin-bottom: 20px; }

.p-progress__label {
  font-size: 13px;
  color: var(--color-text-light);
  text-align: center;
  margin-bottom: 6px;
}

.p-progress__count {
  margin-left: 8px;
  font-weight: 700;
  color: var(--color-primary);
}

.p-progress__bar {
  width: 100%;
  height: 6px;
  background: #E0E0E0;
  border-radius: 3px;
  overflow: hidden;
}

.p-progress__fill {
  height: 100%;
  background: var(--color-primary);
  border-radius: 3px;
  transition: width 0.3s ease;
}

/* --- カテゴリヘッダー (Figma 685:551) --- */
.p-category {
  text-align: center;
  margin-bottom: 20px;
}

.p-category__label {
  display: inline-block;
  font-size: 18.7px;
  font-weight: 700;
  color: var(--color-text);
  letter-spacing: 0.19px;
}

.p-category__underline {
  display: block;
  max-width: 250px;
  margin: 2px auto 0;
}

/* --- 質問カード (Figma 685:555) --- */
.p-question { display: none; }
.p-question.is-active { display: block; }

/* 設問切替時のスライド+フェード。設問は index ごとに DOM 再マウントされるため、
   新しいノードのマウント時に必ずこのアニメが再生される。 */
.p-question--animate {
  animation: p-question-in 0.28s ease;
}

@keyframes p-question-in {
  from { opacity: 0; transform: translateX(16px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* モーション設定をオフにしているユーザーには動かさない */
@media (prefers-reduced-motion: reduce) {
  .p-question--animate { animation: none; }
}

.p-question__header {
  background: var(--color-navy);
  color: #fff;
  padding: 9px 16px;
  font-size: 15px;
  font-weight: 500;
  border-radius: 8px 8px 0 0;
  line-height: 1.56;
}

.p-question__number {
  font-weight: 350;
  font-size: 15.6px;
  letter-spacing: 1.09px;
}

.p-question__body {
  background: var(--color-yellow);
  padding: 19px 24px 20px;
}

/* --- 選択肢 (radio) — Figma pill ボタン (733:88) ---
   円ラジオは廃止し、塗りつぶしで選択状態を表現。テキストは左寄せ、
   長文は折り返して高さ可変（1行時は Figma の 48px に一致）。 */
/* 選択肢コンテナ：8px 間隔で縦積み。各選択肢は自身の内容に応じた高さ
   （1行=48px、複数行はその分だけ高くなる。高さの一律統一はしない）。 */
.p-options {
  display: grid;
  gap: 8px;
}

.p-option {
  display: flex;
  align-items: center;
  /* 折り返して2行以上になる選択肢は、button 既定の中央寄せではなく左揃えにする */
  text-align: left;
  min-height: 48px;
  padding: 10px 24px;
  background: #fff;
  border: 1px solid #F2F2F2;
  border-radius: 9999px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 500;
  color: var(--color-navy);
  letter-spacing: 0.8px;
  line-height: 1.5;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.p-option input { display: none; }

.p-option.is-selected {
  background: var(--color-navy);
  border-color: var(--color-navy);
  color: #fff;
  font-weight: 700;
}

/* --- 選択肢 (checkbox) — radio と同じ pill ボタン。
   複数選択であることを示すため、選択時のみ左端に ✓ を表示する（Figma 733:50 準拠）。
   ✓ は flex の先行要素なので、選択時のみテキストが右にずれる Figma の挙動と一致する。 --- */
.p-checkbox {
  display: flex;
  align-items: center;
  /* 折り返して2行以上になる選択肢は左揃え（radio と同様） */
  text-align: left;
  min-height: 48px;
  padding: 10px 24px;
  background: #fff;
  border: 1px solid #F2F2F2;
  border-radius: 9999px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 500;
  color: var(--color-navy);
  letter-spacing: 0.8px;
  line-height: 1.5;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.p-checkbox input[type="checkbox"] { display: none; }

.p-checkbox.is-selected {
  background: var(--color-navy);
  border-color: var(--color-navy);
  color: #fff;
  font-weight: 700;
}

.p-checkbox.is-selected::before {
  content: '';
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-right: 8px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20'%3E%3Cpath d='M4 10.5l4 4 8-9' stroke='%23ffffff' stroke-width='2.2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / contain;
}

/* --- セレクト (生まれ年・現年収) — ネイティブ select。
   開くと OS 標準のドロップダウン（スマホはホイールピッカー）が出るが、
   閉じた状態の見た目は他の選択肢と同じカプセルに統一する。 --- */
.p-select {
  width: 100%;
  height: 48px;
  padding: 0 44px 0 24px;
  border: 1px solid #F2F2F2;
  border-radius: 9999px;
  font-size: 16px;
  color: var(--color-navy);
  letter-spacing: 0.8px;
  background: #fff;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%231A326E' stroke-width='2' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 20px center;
  cursor: pointer;
}

.p-select:focus { border-color: var(--color-navy); outline: none; }

/* 希望勤務エリア：エリア→都道府県→市区町村のドロップダウン（top/lp01 踏襲）。
   診断は単一選択なので、top の checkbox スタイルを .is-selected ベースに置き換えている。 */
.p-area { display: flex; flex-direction: column; gap: 12px; }

.area-select { position: relative; width: 100%; }

.area-select__trigger {
  position: relative;
  width: 100%;
  padding: 12px 40px 12px 12px;
  font-size: 16px;
  line-height: 1.4;
  background: #f9fafb;
  border: 1px solid #d1d5dc;
  border-radius: 4px;
  cursor: pointer;
  color: var(--color-text);
  user-select: none;
}
.area-select__trigger::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 16px;
  width: 8px;
  height: 8px;
  border-right: 2px solid #666;
  border-bottom: 2px solid #666;
  transform: translateY(-75%) rotate(45deg);
  transition: transform .2s;
}
.area-select.is-open .area-select__trigger::after { transform: translateY(-25%) rotate(-135deg); }
.area-select.is-open .area-select__trigger {
  border-radius: 4px 4px 0 0;
  border-color: var(--color-primary);
}

.area-select__options {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  max-height: 320px;
  overflow-y: auto;
  background: #fff;
  border: 1px solid var(--color-primary);
  border-top: none;
  border-radius: 0 0 4px 4px;
  z-index: 5;
}
.area-select.is-open .area-select__options { display: block; }

.area-select__region { border-bottom: 1px solid #eee; }
.area-select__region:last-child { border-bottom: none; }

.area-select__region-header {
  padding: 12px 15px;
  background: #f0f2f5;
  cursor: pointer;
  font-weight: 700;
  font-size: 14px;
  color: var(--color-navy-dark);
  position: relative;
  user-select: none;
}
.area-select__region-header::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 16px;
  width: 7px;
  height: 7px;
  border-right: 2px solid #666;
  border-bottom: 2px solid #666;
  transform: translateY(-75%) rotate(45deg);
  transition: transform .2s;
}
.area-select__region.is-active .area-select__region-header::after { transform: translateY(-25%) rotate(-135deg); }

.area-select__pref-list { display: none; padding: 8px 10px; background: #fff; }
.area-select__region.is-active .area-select__pref-list { display: block; }

.area-select__pref-item {
  display: flex;
  align-items: center;
  padding: 8px 4px;
  cursor: pointer;
  font-size: 14px;
  color: var(--color-text);
}
.area-select__pref-item:hover { background: #f9fafb; }
.area-select__pref-item span { display: inline-flex; align-items: center; }
.area-select__pref-item span::before {
  content: '';
  display: inline-block;
  width: 18px;
  height: 18px;
  margin-right: 10px;
  border: 1px solid #ccc;
  border-radius: 3px;
  background: #fff;
  flex-shrink: 0;
}
.area-select__pref-item.is-selected span::before {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 14px 14px;
}

/* --- ナビゲーションボタン (Figma 685:581) --- */
/* --- ナビ (戻る / 次へ) — Figma 733:97 準拠のプレーンテキスト両端配置 --- */
.p-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  margin-top: 20px;
}

.p-nav__back,
.p-nav__next {
  padding: 0;
  background: none;
  border: none;
  font-size: 16px;
  font-weight: 500;
  color: #4D4848;
  cursor: pointer;
  transition: color 0.2s;
}

/* 戻る非表示時（Q1）でも「次へ」を右端に固定する */
.p-nav__next { margin-left: auto; }

/* 未回答時は薄いグレーで無効化（押下不可を表現） */
.p-nav__next:disabled {
  color: #C8C8C8;
  cursor: not-allowed;
}

/* --- GOAL (Figma 685:3221 準拠) --- */
.p-goal {
  display: none;
  padding: 40px 16px 0;
}

.p-goal.is-active {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.p-goal__card {
  background: var(--color-yellow);
  border-radius: 10px;
  padding: 18px 24px 24px;
  text-align: center;
  width: 100%;
}

.p-goal__illust { width: 96px; margin: 0 auto 4px; }

.p-goal__heading {
  font-size: 21px;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: 0.05em;
  line-height: 1.5;
  margin-bottom: 10px;
}

.p-goal__subtext {
  font-size: 13.5px;
  font-weight: 500;
  color: #000;
  line-height: 1.7;
  letter-spacing: 0.04em;
}

.p-form {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.p-form-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.p-form-group__label {
  font-size: 16px;
  font-weight: 500;
  color: #000;
  letter-spacing: 0.05em;
}

.p-form-group__input {
  width: 100%;
  height: 40px;
  padding: 0 16px;
  font-size: 16px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 4px;
}

.p-form-group__input::placeholder { color: #7D7D7D; }
.p-form-group__input:focus { border-color: var(--color-navy); outline: none; }

.p-form-group__radio-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 4px;
}

.p-form-group__radio {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 16px;
  color: var(--color-text);
}

.p-form-group__radio-circle {
  flex-shrink: 0;
  width: 20px; height: 20px;
  border: 2px solid var(--color-text-muted);
  border-radius: 50%;
  background: #fff;
  position: relative;
  transition: border-color 0.2s;
}

.p-form-group__radio.is-selected .p-form-group__radio-circle { border-color: var(--color-primary); }

.p-form-group__radio.is-selected .p-form-group__radio-circle::after {
  content: '';
  position: absolute;
  top: 3px; left: 3px;
  width: 10px; height: 10px;
  background: var(--color-primary);
  border-radius: 50%;
}

.p-form-group__radio input { display: none; }

.p-privacy {
  text-align: center;
  font-size: 12px;
  color: #666;
  line-height: 1.6;
}

.p-privacy input { width: 16px; height: 16px; vertical-align: middle; margin-right: 4px; }
.p-privacy a { color: var(--color-navy); text-decoration: underline; }

.c-submit-btn {
  width: 229px;
  height: 44px;
  margin: 0 auto;
  padding: 0;
  background: #DCDCDC;
  color: var(--color-text-muted);
  border: none;
  border-radius: 50px;
  font-size: 19.5px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.c-submit-btn:not(:disabled) {
  background: var(--color-primary);
  color: #fff;
}

.c-submit-btn:disabled { cursor: not-allowed; }

/* 表示/非表示は Alpine の x-show が制御する。
   ここで display:none を指定すると x-show が true でも CSS が勝って表示されないため指定しない
   （初期表示のチラつきは親 .l-page-inner の x-cloak が抑止する）。 */
.p-form-error {
  color: #E60000;
  font-size: 13px;
  margin-top: 2px;
}

/* --- 結果ページ (Figma 685:583) --- */
.p-result {
  text-align: center;
  padding: 24px 16px 0;
}

.p-result__card {
  background: var(--color-yellow);
  border-radius: 10px;
  padding: 18px 16px 24px;
}

.p-result__illust { width: 160px; margin: 0 auto 8px; }

.p-result__thanks {
  font-size: 13.5px;
  font-weight: 500;
  color: #000;
  line-height: 1.4;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

/* Figma 685:595: 名前＋予測ラベルは紺(#27356C)、下に実線オレンジ3px */
.p-result__name {
  font-size: 20px;
  font-weight: 700;
  color: #27356C;
  letter-spacing: 0.15em;
  margin-bottom: 0;
}

.p-result__label {
  font-size: 30px;
  font-weight: 700;
  color: #27356C;
  letter-spacing: 0.1em;
  margin-bottom: 13px;
}

.p-result__divider {
  width: 100%;
  height: 3px;
  background: var(--color-primary);
  margin-bottom: 16px;
}

/* Figma 685:599: 黄カード内に白の年収結果ボックス（枠線なし） */
.p-result__salary-box {
  background: var(--color-bg-white);
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 12px;
}

.p-result__salary-title { font-size: 15.6px; font-weight: 500; color: var(--color-text); letter-spacing: 0.01em; margin-bottom: 8px; }

.p-result__salary-value {
  font-size: 56px;
  font-weight: 900;
  color: var(--color-primary);
  line-height: 1.1;
}

.p-result__salary-unit { font-size: 17px; font-weight: 900; color: var(--color-primary); }

.p-result__note { font-size: 12px; color: #000; line-height: 1.5; margin-top: 8px; }

/* --- 結果CTA (Figma 685:3163)。黄カード内に配置するため左右paddingは持たせない --- */
.p-result-cta {
  margin-top: 28px;
  text-align: center;
}

.p-result-cta__appeal { font-size: 14px; font-weight: 700; line-height: 1.5; color: var(--color-primary); margin-bottom: 16px; }
.p-result-cta__appeal .text-orange { color: var(--color-primary); font-weight: 700; }

/* 下向き三連シェブロン矢印（Figma 685:3172 の書き出しSVG） */
.p-result-cta__arrow {
  display: block;
  width: 26px;
  height: auto;
  margin: 0 auto 14px;
}

.p-result-cta__button {
  display: block;
  width: 100%;
  height: 48px;
  padding: 0 16px;
  background: var(--color-primary);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  border: none;
  border-radius: 4px;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
  cursor: pointer;
  transition: background 0.2s;
}

.p-result-cta__button:hover { background: var(--color-primary-dark); }
.p-result-cta__button:disabled { opacity: 0.5; cursor: not-allowed; }

.p-result-cta__small { font-size: 12px; color: #000; margin-top: 8px; }

/* Figma 685:3132: 白背景・角丸4px・上下12pxのボックス（ボタンと同じ横幅で置換） */
.p-result-cta__success {
  background: #fff;
  border-radius: 4px;
  padding: 12px 0;
  text-align: center;
}

.p-result-cta__success-title { font-size: 16px; font-weight: 700; color: var(--color-primary); margin-bottom: 4px; }
.p-result-cta__success-text { font-size: 12px; color: #000; }

/* --- Q2 勤務地 地方グループ アコーディオン（pill 選択肢とカプセル統一） ---
   トリガーは .p-select と同じカプセル、都道府県チップは .p-option と同じ navy 選択。 */
.p-area { width: 100%; }
.p-area__trigger {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 48px; padding: 10px 24px; border: 1px solid #F2F2F2; border-radius: 9999px;
  background: #fff; cursor: pointer; font-size: 16px; color: var(--color-navy);
  font-weight: 500; letter-spacing: 0.8px;
}
.p-area__trigger.is-open { border-color: var(--color-navy); }
.p-area__panel {
  margin-top: 8px; border: 1px solid #F2F2F2; border-radius: 16px; overflow: hidden;
}
.p-area__region + .p-area__region { border-top: 1px solid #F2F2F2; }
.p-area__region-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 20px; background: #fff; cursor: pointer; font-weight: 700; color: var(--color-navy); font-size: 15px;
}
.p-area__region-head.is-open { background: var(--color-yellow); }
.p-area__prefs {
  display: flex; flex-wrap: wrap; gap: 8px; padding: 12px 16px; background: #fff;
}
.p-area__pref {
  border: 1px solid #F2F2F2; border-radius: 9999px; padding: 9px 16px;
  background: #fff; cursor: pointer; font-size: 14px; color: var(--color-navy); line-height: 1.4;
}
.p-area__pref.is-selected { background: var(--color-navy); border-color: var(--color-navy); color: #fff; font-weight: 700; }
.p-area__chevron {
  width: 9px; height: 9px; flex: 0 0 auto;
  border-right: 2px solid var(--color-navy); border-bottom: 2px solid var(--color-navy);
  transform: rotate(45deg); transition: transform .2s;
}
.p-area__trigger.is-open .p-area__chevron,
.p-area__region-head.is-open .p-area__chevron { transform: rotate(-135deg); }

/* --- PC対応 --- */
@media (min-width: 768px) {
  :root { --max-width: 530px; }
}
