/*
Theme Name: shigoto-shinri-v2（あるある・評価カード追加版）
Theme URI: https://shigoto-shinri.com
Description: shigoto-shinri.com 用スタンドアロンWordPressテーマ（v2：診断結果ページに共感セクション＋職業比較評価を追加／あるあるは24タイプ全部やさしい言葉で対応済み／職業名と同じファイル名の画像アップロードでアイキャッチ自動設定に対応）
Version: 2.5
Author: shigoto-shinri
Text Domain: shigoto-shinri
*/

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700;900&display=swap');

/* =========================================
   DESIGN SYSTEM
   ========================================= */
:root {
  --navy: #071936;
  --text: #0b1d3a;
  --muted: #33415c;
  --amber: #f8b334;
  --amber2: #ffc24b;
  --line: #e8edf5;
  --bg: #ffffff;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;
  color: var(--text);
  background: var(--bg);
}

a { color: inherit; }

img { max-width: 100%; height: auto; display: block; }

/* =========================================
   HEADER
   ========================================= */
#site-header {
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 52px;
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,.96);
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-title {
  margin: 0;
  font-size: 32px;
  font-weight: 900;
  letter-spacing: .02em;
  color: var(--navy);
}

.site-title a { text-decoration: none; color: var(--navy); }

#site-navigation {
  display: flex;
  align-items: center;
}

#primary-menu {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 42px;
  font-size: 16px;
  font-weight: 700;
  margin: 0;
  padding: 0;
}

#primary-menu a { text-decoration: none; color: var(--navy); }

#primary-menu li.menu-cta a {
  padding: 15px 28px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--amber2), var(--amber));
  color: var(--navy);
  box-shadow: 0 8px 18px rgba(248,179,52,.25);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}

/* サイト共通のダーク/ライト切り替えボタン（ヘッダー右端）。
   ヘッダー自体の配色は現状ライト固定のまま（本体ダーク対応は今後の課題）。 */
.site-theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-left: 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--navy);
  font-size: 16px;
  cursor: pointer;
  flex: 0 0 auto;
}

.site-theme-toggle:hover { border-color: var(--amber); }

/* =========================================
   HERO
   ========================================= */
.hero {
  position: relative;
  min-height: 660px;
  display: grid;
  grid-template-columns: 44% 56%;
  align-items: center;
  padding: 62px 46px 30px 54px;
  overflow: hidden;
}

.hero-copy { z-index: 2; }

.hero h1 {
  margin: 0;
  font-size: clamp(38px, 4.6vw, 62px);
  line-height: 1.45;
  font-weight: 900;
  letter-spacing: .03em;
  color: var(--navy);
}

.hero-highlight {
  font-size: 1.1em;
  color: var(--amber);
  white-space: nowrap;
}

.hero p.hero-lead {
  margin: 18px 0 0;
  font-size: clamp(20px, 2vw, 23px);
  line-height: 1.7;
  font-weight: 700;
  color: #14233f;
}

.hero p {
  margin: 20px 0 0;
  font-size: 18px;
  line-height: 2;
  font-weight: 500;
  color: #14233f;
}

.cta {
  margin-top: 34px;
  width: 415px;
  max-width: 100%;
  height: 84px;
  border: none;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--amber2), var(--amber));
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  color: var(--navy);
  font-size: 25px;
  font-weight: 900;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(248,179,52,.28);
}

.cta-icon { font-size: 28px; }
.cta-arrow { font-size: 30px; margin-left: 10px; }

.hero-note {
  margin-top: 24px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #12213c;
  font-size: 16px;
  font-weight: 600;
}

.hero-visual {
  position: relative;
  height: 100%;
  min-height: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 58% 28%, rgba(186,222,245,.45), transparent 36%),
    linear-gradient(180deg, #eff9ff 0%, #ffffff 78%);
  border-radius: 0 0 0 120px;
  z-index: 0;
}

.hero-img {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 850px;
  height: auto;
  display: block;
}

/* =========================================
   FEATURES
   ========================================= */
.feature-wrap { padding: 0 44px 58px; }

.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 16px 36px rgba(7,25,54,.08);
  overflow: hidden;
}

.feature {
  display: grid;
  grid-template-columns: 78px 1fr;
  gap: 20px;
  padding: 34px 30px;
  min-height: 138px;
  border-right: 1px solid var(--line);
}

.feature:last-child { border-right: none; }

.feature-icon {
  width: 70px;
  height: 70px;
  border-radius: 14px;
  background: #f4f7fb;
  display: grid;
  place-items: center;
  font-size: 36px;
  color: var(--navy);
}

.feature h3 {
  margin: 0 0 10px;
  font-size: 19px;
  font-weight: 900;
  color: var(--navy);
}

.feature p {
  margin: 0;
  font-size: 14px;
  line-height: 1.8;
  font-weight: 500;
  color: var(--muted);
}

/* =========================================
   PAGE / SINGLE 汎用
   ========================================= */
.page-content, .single-content {
  max-width: 860px;
  margin: 0 auto;
  padding: 60px 24px 100px;
  line-height: 1.9;
}

.page-content h1, .single-content h1 { font-size: 32px; color: var(--navy); }

/* =========================================
   PANKUZU / JOB PAGE
   ========================================= */
.ss-breadcrumb {
  max-width: 860px;
  margin: 24px auto 0;
  padding: 0 24px;
  font-size: 13px;
  color: var(--muted);
}
.ss-breadcrumb a { color: var(--muted); text-decoration: none; }

.ss-job-tier {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px 5px 10px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 8px;
  background: #eef2f8;
  color: var(--navy);
}
.ss-tier-icon { flex-shrink: 0; }
/* 光の玉(ss-tier-glow)の不透明度で「知られている度合い」を表現。優劣ではなく認知度の目安。 */
.ss-job-tier--general { background: #e6f4ea; color: #1e7b3c; }
.ss-job-tier--general .ss-tier-glow { opacity: 1; }
.ss-job-tier--niche { background: #f2ecfb; color: #6a3fc4; }
.ss-job-tier--niche .ss-tier-glow { opacity: .5; }
.ss-job-tier--super_niche { background: #fdeee0; color: #b8560c; }
.ss-job-tier--super_niche .ss-tier-glow { opacity: .15; }

.ss-job-tier-note {
  font-size: 12px;
  color: var(--muted);
  margin: 0 0 16px;
}

.ss-job-hook {
  font-size: 18px;
  font-weight: 700;
  color: var(--muted);
  margin: 8px 0 24px;
}

.ss-job-ad { margin: 40px 0; text-align: center; }

/* =========================================
   診断ページ (ss-quiz)
   ========================================= */
.ss-quiz-page {
  padding: 48px 0 110px;
  background:
    radial-gradient(circle at 15% 0%, rgba(248,179,52,.10), transparent 42%),
    radial-gradient(circle at 85% 100%, rgba(186,222,245,.35), transparent 46%),
    #fbfcfe;
  min-height: 70vh;
}

.ss-quiz {
  max-width: 620px;
  margin: 0 auto;
  padding: 0 20px;
}

/* 結果画面は職業カードを横に並べるため質問画面より広く使う */
.ss-quiz.ss-quiz--result {
  max-width: 1040px;
}

.ss-quiz-hero-image {
  margin: 0 0 28px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 14px 32px rgba(7,25,54,.10);
}

.ss-quiz-hero-image img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.ss-quiz-about {
  margin: 0 0 26px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  overflow: hidden;
}

.ss-quiz-about summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 26px 28px;
  cursor: pointer;
  list-style: none;
}

.ss-quiz-about summary::-webkit-details-marker {
  display: none;
}

.ss-quiz-about-head {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.ss-quiz-about-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 12px;
}

.ss-quiz-about-eyebrow-bar {
  width: 22px;
  height: 2px;
  background: var(--amber);
  flex-shrink: 0;
}

.ss-quiz-about-title {
  display: block;
  font-size: 20px;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: .01em;
  margin-bottom: 8px;
}

.ss-quiz-about-teaser {
  display: block;
  font-size: 15px;
  color: var(--muted);
  line-height: 1.85;
  max-width: 520px;
}

.ss-quiz-about-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  padding-top: 3px;
}

.ss-quiz-about-toggle-text {
  font-size: 13px;
  font-weight: 700;
  color: var(--amber);
  white-space: nowrap;
}

.ss-quiz-about-toggle-text .is-open { display: none; }
.ss-quiz-about[open] .ss-quiz-about-toggle-text .is-closed { display: none; }
.ss-quiz-about[open] .ss-quiz-about-toggle-text .is-open { display: inline; }

.ss-quiz-about-chevron {
  flex-shrink: 0;
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--amber);
  border-bottom: 2px solid var(--amber);
  transform: rotate(45deg);
  transition: transform .15s ease;
}

.ss-quiz-about[open] .ss-quiz-about-chevron {
  transform: rotate(-135deg);
}

.ss-quiz-about-body {
  padding: 22px 28px 28px;
  border-top: 1px solid var(--line);
}

.ss-quiz-about-body p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.9;
}

.ss-quiz-about-body p:last-child {
  margin-bottom: 0;
}

.ss-quiz-intro {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 22px 0 0;
  margin-bottom: 30px;
  border-top: 1px solid var(--line);
}

.ss-quiz-intro-label {
  flex-shrink: 0;
  padding-top: 2px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--amber);
}

.ss-quiz-instruction {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.75;
  color: var(--navy);
}

.ss-quiz-instruction-sub {
  font-weight: 500;
  color: var(--muted);
}

.ss-quiz-progress-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 8px;
}

.ss-quiz-progress {
  flex: 1;
  height: 8px;
  background: #e8edf5;
  border-radius: 999px;
  overflow: hidden;
}

.ss-quiz-progress-bar {
  height: 100%;
  width: 0%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--amber2), var(--amber));
  box-shadow: 0 0 10px rgba(248,179,52,.55);
  transition: width .35s cubic-bezier(.4,0,.2,1);
}

.ss-quiz-progress-text {
  margin: 0 0 30px;
  font-size: 13px;
  font-weight: 800;
  color: var(--muted);
  white-space: nowrap;
}

.ss-quiz-card-wrap { position: relative; }

.ss-quiz-card {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 20px 44px rgba(7,25,54,.09);
  padding: 40px 32px;
  opacity: 0;
  transition: opacity .22s ease;
  min-height: 300px;
}

.ss-quiz-card.is-visible {
  opacity: 1;
}

.ss-quiz-question-image {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 14px;
  margin-bottom: 18px;
}

.ss-quiz-theme {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 800;
  color: #b8720c;
  background: #fff3d9;
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.ss-quiz-text {
  font-size: 23px;
  font-weight: 900;
  line-height: 1.6;
  color: var(--navy);
  margin: 0 0 30px;
}

.ss-quiz-choices {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ss-quiz-choice {
  display: flex;
  align-items: center;
  gap: 14px;
  text-align: left;
  padding: 16px 20px;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  background: #fff;
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  cursor: pointer;
  transition: border-color .15s ease, background .15s ease, transform .1s ease, box-shadow .15s ease;
}

.ss-quiz-choice-badge {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #f2f5fa;
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 900;
  transition: background .15s ease, color .15s ease;
}

.ss-quiz-choice:hover {
  border-color: var(--amber);
  background: #fffaf0;
  box-shadow: 0 8px 18px rgba(248,179,52,.14);
  transform: translateY(-1px);
}

.ss-quiz-choice:hover .ss-quiz-choice-badge { background: var(--amber); color: #fff; }

.ss-quiz-choice:active { transform: scale(.98); }

.ss-quiz-choice.is-selected {
  border-color: var(--amber);
  background: #fff3d9;
}

.ss-quiz-choice.is-selected .ss-quiz-choice-badge { background: var(--amber); color: #fff; }

.ss-quiz-choice--unsure {
  border-style: dashed;
  color: var(--muted);
  font-weight: 600;
}

.ss-quiz-finish-early {
  display: block;
  margin: 26px auto 0;
  background: none;
  border: none;
  color: var(--muted);
  font-size: 13px;
  text-decoration: underline;
  cursor: pointer;
}

.ss-quiz-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding: 120px 0;
  font-size: 15px;
  font-weight: 800;
  color: var(--muted);
}

.ss-spinner {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 4px solid #eef2f8;
  border-top-color: var(--amber);
  animation: ss-spin .8s linear infinite;
}

@keyframes ss-spin { to { transform: rotate(360deg); } }

/* =========================================
   結果表示 (ss-result)
   ========================================= */
.ss-result { max-width: 1000px; margin: 0 auto; animation: ss-fade-up .5s ease; }

@keyframes ss-fade-up {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

.ss-result-hero {
  text-align: center;
  margin-bottom: 44px;
}

.ss-result-hero-badge {
  display: inline-block;
  font-size: 13px;
  font-weight: 800;
  color: #b8720c;
  background: #fff3d9;
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.ss-result-lead {
  font-size: 19px;
  font-weight: 900;
  color: var(--navy);
  margin: 0;
  line-height: 1.7;
}

/* メイン宣言カード：扉のビジュアル + タイプ宣言（ダーク） */
.ss-result-main {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 18px 46px rgba(7,25,54,.16);
  margin-bottom: 30px;
}

.ss-result-hero-card {
  position: relative;
  aspect-ratio: 1694 / 850;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px 40px 40px 46%;
  background-color: #071936;
  background-image: url('assets/images/quiz/result-hero-door-dark.webp');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: left 38%;
}

.ss-result-main-lead {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: .04em;
  color: var(--amber2);
  margin: 0 0 10px;
  text-shadow: 0 2px 12px rgba(0,0,0,.45);
}

.ss-result-main-catch {
  font-size: 28px;
  font-weight: 900;
  color: #fff;
  line-height: 1.55;
  margin: 0;
  text-shadow: 0 2px 14px rgba(0,0,0,.5);
}

.ss-result-main-type {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: rgba(255,255,255,.72);
  margin-top: 6px;
  text-shadow: 0 2px 10px rgba(0,0,0,.4);
}

/* 「タイプ」などが行末で変な位置から改行されないようにする */
.ss-result-nowrap { white-space: nowrap; }

.ss-result-hero-divider {
  position: relative;
  width: 100%;
  max-width: 320px;
  height: 1px;
  margin: 22px 0;
  background: linear-gradient(90deg, var(--amber), rgba(248,179,52,.5), transparent);
}

.ss-result-hero-divider i {
  position: absolute;
  left: 40%;
  top: 50%;
  width: 6px;
  height: 6px;
  background: var(--amber);
  transform: translate(-50%, -50%) rotate(45deg);
}

.ss-result-hero-desc {
  margin: 0;
  max-width: 420px;
  color: rgba(255,255,255,.88);
  font-size: 15.5px;
  font-weight: 500;
  line-height: 1.85;
  text-shadow: 0 2px 10px rgba(0,0,0,.4);
}

/* ===== ■ あなたの本質（共感セクション） ===== */
.ss-empathy {
  background: #f8f9fb;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px 26px 32px;
  margin-bottom: 30px;
}

.ss-empathy-eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .06em;
  color: #b8720c;
  margin-bottom: 14px;
}
.ss-empathy-eyebrow .mark { color: var(--amber); }

.ss-empathy-catch {
  font-size: 22px;
  font-weight: 900;
  color: var(--navy);
  margin: 0 0 6px;
  line-height: 1.5;
}

.ss-empathy-sub {
  font-size: 13px;
  color: var(--muted);
  margin: 0 0 22px;
  line-height: 1.7;
}

.ss-empathy-group { margin-bottom: 20px; }
.ss-empathy-group:last-child { margin-bottom: 0; }

.ss-empathy-group-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  color: #b8560c;
  background: #fff3d9;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.ss-empathy-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ss-empathy-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 15px;
  line-height: 1.75;
  color: var(--text);
  font-weight: 500;
}
.ss-empathy-list li::before {
  content: "";
  flex: 0 0 auto;
  width: 6px;
  height: 6px;
  margin-top: 9px;
  border-radius: 50%;
  background: var(--amber);
}

@media (max-width: 640px) {
  .ss-empathy { padding: 22px 18px 26px; }
  .ss-empathy-catch { font-size: 20px; }
}

.ss-result-jobs-panel {
  background: #fff;
  padding: 26px 26px 30px;
}

.ss-result-jobs-panel .ss-result-jobs { text-align: left; }

/* 業種マッチ広告（コードが無い場合はブロック自体がHTMLに出力されないので、常に非表示分のスペースは残らない） */
.ss-result-ad-block {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 18px;
  padding: 0 26px;
}
.ss-result-ad-block .ss-result-ad {
  display: flex;
  justify-content: center;
  overflow: hidden;
}

/* 「このタイプに向いている仕事」見出し（扉アイコン + 見出し + 導線テキスト） */
.ss-result-jobs-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin: 0 0 22px;
}

.ss-result-jobs-heading h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 900;
  color: var(--navy);
}

.ss-result-jobs-heading-line {
  width: 26px;
  height: 1px;
  background: var(--line);
}

.ss-result-jobs-heading p {
  flex: 1 1 100%;
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  color: #8a5a00;
  line-height: 1.6;
}

.ss-result-jobs-heading p strong { color: #b8720c; }

.ss-result-door-mark {
  position: relative;
  display: inline-block;
  flex: 0 0 auto;
  width: 20px;
  height: 27px;
  border: 1.6px solid var(--amber);
  border-bottom: 0;
  border-radius: 11px 11px 0 0;
}

.ss-result-door-mark::before {
  content: "";
  position: absolute;
  inset: 4px 4px 0;
  border: 1px solid rgba(248,179,52,.7);
  border-bottom: 0;
  border-radius: 7px 7px 0 0;
}

.ss-result-door-mark::after {
  content: "";
  position: absolute;
  right: 3px;
  top: 13px;
  width: 2.5px;
  height: 2.5px;
  border-radius: 50%;
  background: var(--amber);
}

@media (max-width: 820px) {
  .ss-result-hero-card {
    aspect-ratio: auto;
    min-height: 0;
    padding: 168px 22px 26px;
    background-size: auto 160px;
    background-position: left 8px top 0;
  }

  .ss-result-main-lead { font-size: 14px; }
  .ss-result-main-catch { font-size: 25px; line-height: 1.5; }
  .ss-result-main-type { font-size: 13px; }
  .ss-result-hero-desc { max-width: none; font-size: 14.5px; }
}

/* サブ（もう一つの適性をちょっと覗いてみると） 控えめトーン */
.ss-result-sub {
  background: #f8f9fb;
  border-radius: 18px;
  padding: 26px 24px;
  margin-bottom: 26px;
}

.ss-result-sub-label {
  font-size: 15px;
  font-weight: 800;
  color: var(--muted);
  margin: 0 0 6px;
}

.ss-result-sub-type {
  font-size: 17px;
  font-weight: 900;
  color: var(--navy);
  margin: 0 0 18px;
}

.ss-result-sub-typename {
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
}

.ss-result-jobs--sub .ss-job-card { background: #fff; }

.ss-result-jobs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

@media (max-width: 820px) {
  .ss-result-jobs { grid-template-columns: repeat(2, 1fr); }
}

.ss-job-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px;
  border-radius: 14px;
  border: 1px solid var(--line);
  text-decoration: none;
  color: var(--text);
  background: #fbfcfe;
  transition: box-shadow .15s ease, transform .1s ease, border-color .15s ease;
}

.ss-job-card:hover { box-shadow: 0 12px 26px rgba(7,25,54,.12); transform: translateY(-3px); border-color: var(--amber); }

.ss-job-card-tier {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  align-self: flex-start;
  font-size: 11px;
  font-weight: 800;
  padding: 2px 10px 2px 6px;
  border-radius: 999px;
  background: #e6f4ea;
  color: #1e7b3c;
}
.ss-job-card-tier .ss-tier-glow { opacity: 1; }

.ss-job-card--niche .ss-job-card-tier { background: #f2ecfb; color: #6a3fc4; }
.ss-job-card--niche .ss-tier-glow { opacity: .5; }
.ss-job-card--super_niche .ss-job-card-tier { background: #fdeee0; color: #b8560c; }
.ss-job-card--super_niche .ss-tier-glow { opacity: .15; }

.ss-job-card-title { font-size: 16px; font-weight: 900; color: var(--navy); }
.ss-job-card-hook { font-size: 13px; color: var(--muted); line-height: 1.5; }

/* ===== 職業カード内：比較評価（AI推定・5段階） ===== */
.ss-job-card-ratings {
  display: grid;
  gap: 5px;
  margin-top: 8px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}
.rating-row {
  display: grid;
  grid-template-columns: 62px 1fr;
  align-items: center;
  gap: 8px;
}
.rating-label { font-size: 10.5px; font-weight: 700; color: var(--muted); }
.rating-dots { display: flex; gap: 3px; }
.rating-dots span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--line);
}
.rating-dots span.filled { background: var(--amber); }
.ss-job-card-ai-note {
  display: block;
  margin-top: 6px;
  font-size: 10px;
  color: #8a97ab;
  line-height: 1.5;
}

.ss-result-footer { text-align: center; margin-top: 44px; }

@media (max-width: 640px) {
  .ss-quiz-card { padding: 30px 22px; }
  .ss-quiz-text { font-size: 19px; }
  .ss-result-jobs { grid-template-columns: 1fr; }
  .ss-result-block { padding: 24px 18px; }
  .ss-quiz-about summary { flex-direction: column; gap: 14px; padding: 22px 20px; }
  .ss-quiz-about-toggle { align-self: flex-start; }
  .ss-quiz-about-title { font-size: 18px; }
  .ss-quiz-about-body { padding: 18px 20px 24px; }
  .ss-quiz-instruction { font-size: 15px; }
}

/* =========================================
   FOOTER
   ========================================= */
#site-footer {
  border-top: 1px solid var(--line);
  background: #f8fafc;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
}

.footer-nav__list {
  list-style: none;
  display: flex;
  gap: 24px;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-nav__list a { text-decoration: none; color: var(--navy); font-weight: 700; }

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 900px) {
  #site-header { height: 72px; padding: 0 20px; }
  .site-title { font-size: 26px; }

  .menu-toggle { display: block; }

  #site-navigation { position: relative; }

  #primary-menu {
    display: none;
    position: absolute;
    top: 56px;
    right: 0;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: 0 12px 24px rgba(7,25,54,.12);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 8px 0;
    min-width: 200px;
  }

  #primary-menu.is-open { display: flex; }

  #primary-menu li { width: 100%; }

  #primary-menu li a {
    display: block;
    padding: 12px 20px;
  }

  #primary-menu li.menu-cta { padding: 8px 16px; }
  #primary-menu li.menu-cta a { text-align: center; }

  .hero { display: block; padding: 38px 20px 24px; }
  .hero h1 { font-size: 34px; line-height: 1.45; }
  .hero p.hero-lead { font-size: 17px; line-height: 1.6; margin-top: 14px; }
  .hero p { font-size: 15px; line-height: 1.9; }
  .cta { width: 100%; height: 66px; font-size: 21px; }

  .hero-visual { margin-top: 34px; min-height: auto; }
  .hero-visual::before { border-radius: 24px; }

  .feature-wrap { padding: 0 20px 36px; }
  .features { grid-template-columns: 1fr; }
  .feature { border-right: none; border-bottom: 1px solid var(--line); }
  .feature:last-child { border-bottom: none; }
}

/* =========================================
   JOBS ARCHIVE（/jobs/ 仕事をさがす）
   ========================================= */
.jobs-archive { max-width: 1040px; }

.jobs-archive__head { margin-bottom: 40px; }

.jobs-archive__head h1 { margin: 8px 0 16px; }

.jobs-archive__head p {
  margin: 0 0 8px;
  color: var(--muted);
  font-weight: 500;
}

.jobs-archive__shindan-note a {
  color: var(--navy);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: var(--amber);
  text-underline-offset: 4px;
}

/* --- 24タイプのカード --- */
.type-card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.type-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  text-decoration: none;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}

.type-card:hover {
  border-color: var(--amber);
  box-shadow: 0 10px 24px rgba(7,25,54,.08);
  transform: translateY(-2px);
}

.type-card__no {
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: linear-gradient(180deg, #f2f6fc, #e8edf5);
  color: var(--navy);
  font-size: 17px;
  font-weight: 900;
  letter-spacing: .04em;
}

.type-card__body { flex: 1 1 auto; min-width: 0; }

.type-card__name {
  display: block;
  font-size: 17px;
  font-weight: 900;
  color: var(--navy);
  line-height: 1.4;
}

.type-card__catch {
  display: block;
  margin-top: 3px;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
}

.type-card__count {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  white-space: nowrap;
}

.type-card__arrow { font-size: 18px; color: var(--amber); font-weight: 900; }

/* --- タイプ別ページ --- */
.jobs-type__no {
  margin: 8px 0 0;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: .14em;
  color: var(--amber);
}

.jobs-type h1 { margin: 6px 0 10px; }

.jobs-type__catch {
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
}

.tier-section { margin-bottom: 44px; }

.tier-section__title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--line);
  font-size: 20px;
  font-weight: 900;
  color: var(--navy);
}

.tier-section__title .ss-tier-icon { color: var(--amber); }

.tier-section__count {
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
}

/* ティアが進むほど「知られていない扉」感を出す（光の玉の見え方だけ変える） */
.tier-section--general     .ss-tier-glow { opacity: .35; }
.tier-section--niche       .ss-tier-glow { opacity: .7; }
.tier-section--super_niche .ss-tier-glow { opacity: 1; }

.job-card-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.job-card {
  position: relative;
  display: block;
  padding: 18px 44px 16px 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  text-decoration: none;
  transition: border-color .2s, box-shadow .2s;
}

.job-card:hover {
  border-color: var(--amber);
  box-shadow: 0 8px 18px rgba(7,25,54,.07);
}

.job-card__title {
  display: block;
  font-size: 16px;
  font-weight: 900;
  color: var(--navy);
  line-height: 1.5;
}

.job-card__hook {
  display: block;
  margin-top: 5px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.7;
  color: var(--muted);
}

.job-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 10px;
}

.job-card__tag {
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  background: #f7f8fb;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px 10px;
}

.job-card__arrow {
  position: absolute;
  right: 18px;
  top: 18px;
  font-size: 20px;
  font-weight: 900;
  color: var(--amber);
}

.jobs-type__back { margin-top: 20px; }

/* --- シゴト経験談カード一覧 --- */
.keiken-card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.keiken-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  overflow: hidden;
  text-decoration: none;
  color: var(--text);
  transition: box-shadow .15s ease, transform .1s ease, border-color .15s ease;
}

.keiken-card:hover {
  box-shadow: 0 12px 26px rgba(7,25,54,.1);
  transform: translateY(-3px);
  border-color: var(--amber);
}

.keiken-card-thumb {
  display: block;
  overflow: hidden;
}

.keiken-card-thumb img {
  display: block;
  width: 100%;
  height: 170px;
  object-fit: cover;
  transition: transform .25s ease;
}

.keiken-card:hover .keiken-card-thumb img { transform: scale(1.04); }

.keiken-card-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px 18px 20px;
}

.keiken-card-title {
  font-size: 16px;
  font-weight: 900;
  color: var(--navy);
  line-height: 1.5;
}

.keiken-card-excerpt {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
}

@media (max-width: 720px) {
  .keiken-card-grid { grid-template-columns: 1fr; }
}

.jobs-type__back a {
  font-size: 14px;
  font-weight: 700;
  color: var(--muted);
  text-decoration: none;
}

.jobs-type__back a:hover { color: var(--navy); }

@media (max-width: 720px) {
  .type-card-grid,
  .job-card-list { grid-template-columns: 1fr; }
}

/* =========================================
   JOB SEARCH（/jobs/ 検索窓・検索結果）
   ========================================= */
.job-search {
  display: flex;
  gap: 10px;
  margin-top: 20px;
  max-width: 520px;
}

.job-search__input {
  flex: 1 1 auto;
  min-width: 0;
  padding: 13px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 15px;
  font-family: inherit;
  color: var(--text);
}

.job-search__input:focus {
  outline: none;
  border-color: var(--amber);
  box-shadow: 0 0 0 3px rgba(248,179,52,.18);
}

.job-search__btn {
  flex: 0 0 auto;
  padding: 0 26px;
  border: none;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--amber2), var(--amber));
  color: var(--navy);
  font-size: 15px;
  font-weight: 900;
  font-family: inherit;
  cursor: pointer;
}

/* --- 絞り込みパネル --- */
.job-filter-panel {
  margin-top: 20px;
  padding: 24px 26px 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}

.job-filter-group { margin-bottom: 22px; }
.job-filter-group:last-of-type { margin-bottom: 0; }

.job-filter-group__title {
  margin: 0 0 12px;
  font-size: 14px;
  font-weight: 900;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 8px;
}

.job-filter-group__title::before {
  content: "";
  width: 4px;
  height: 14px;
  border-radius: 2px;
  background: var(--amber);
  display: inline-block;
}

.job-filter-chips { display: flex; flex-wrap: wrap; gap: 8px; }

.filter-chip-input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.filter-chip {
  display: inline-block;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  background: #f7f8fb;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 16px;
  cursor: pointer;
  transition: border-color .15s, background .15s, color .15s;
}

.filter-chip:hover { border-color: var(--amber); }

.filter-chip-input:checked + .filter-chip {
  background: linear-gradient(180deg, var(--amber2), var(--amber));
  border-color: var(--amber);
  color: var(--navy);
}

.filter-chip-input:focus-visible + .filter-chip {
  outline: 2px solid var(--amber);
  outline-offset: 2px;
}

.job-filter-panel__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.job-filter-count { font-size: 13px; font-weight: 700; color: var(--muted); }
.job-filter-count b { color: var(--navy); font-size: 15px; }

.job-filter-panel__actions { display: flex; align-items: center; gap: 16px; }

.job-filter-reset {
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.job-filter-reset:hover { color: var(--navy); }

.job-filter-apply { padding: 0 22px; height: 40px; }

/* --- 結果見出し・空状態 --- */
.jobs-result-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  margin: 32px 0 16px;
}

.jobs-result-head h2 { margin: 0; font-size: 17px; font-weight: 900; color: var(--navy); }
.jobs-result-head span { font-size: 13px; font-weight: 700; color: var(--muted); }

.jobs-empty {
  padding: 40px 20px;
  text-align: center;
  color: var(--muted);
  font-weight: 500;
  border: 1px dashed var(--line);
  border-radius: 14px;
}

#jobsResults {
  transition: opacity .15s ease;
}

#jobsResults.is-loading {
  opacity: .45;
  pointer-events: none;
}

@media (max-width: 720px) {
  .job-filter-panel { padding: 20px 18px 16px; }
  .job-filter-panel__footer { flex-direction: column; align-items: flex-start; }
}

.jobs-type__desc {
  margin-top: 14px;
  max-width: 720px;
}

/* =========================================
   404 NOT FOUND
   ========================================= */
.ss-404-body {
  max-width: 560px;
  margin: 80px auto;
  padding: 0 20px;
  text-align: center;
}

.ss-404-eyebrow {
  margin: 0;
  color: var(--amber);
  font-size: 20px;
  font-weight: 900;
  letter-spacing: .08em;
}

.ss-404-body h1 {
  margin: 8px 0 16px;
  font-size: 28px;
}

.ss-404-body > p {
  color: var(--muted);
  line-height: 1.9;
}

.ss-404-search {
  margin: 28px auto 0;
  justify-content: center;
}

.ss-404-links {
  margin-top: 40px;
}

.ss-404-links .cta {
  margin-left: auto;
  margin-right: auto;
}

.ss-404-secondary-links {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  gap: 24px;
  font-size: 15px;
  font-weight: 500;
}

.ss-404-secondary-links a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 560px) {
  .ss-404-body { margin: 56px auto; }
  .ss-404-secondary-links { flex-direction: column; gap: 12px; }
}

.jobs-type__desc p {
  margin: 0 0 8px;
  font-size: 15px;
  line-height: 1.9;
  font-weight: 500;
  color: var(--muted);
}

/* =========================================
   RESULT SHARE（診断結果のシェア）
   ========================================= */
.ss-result-share {
  margin: 36px 0 8px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #f8fafd;
  text-align: center;
}

.ss-result-share-lead {
  margin: 0 0 16px;
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
}

.ss-result-share-buttons {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.ss-share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border: none;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 900;
  font-family: inherit;
  text-decoration: none;
  cursor: pointer;
  transition: opacity .2s;
}

.ss-share-btn:hover { opacity: .85; }

.ss-share-btn--x { background: #0f1419; color: #fff; }
.ss-share-btn--line { background: #06c755; color: #fff; }
.ss-share-btn--copy { background: #fff; color: var(--navy); border: 1px solid var(--navy); }

.ss-result-retry {
  display: inline-block;
  margin-bottom: 14px;
  font-size: 14px;
  font-weight: 700;
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.ss-result-footer { text-align: center; }
.ss-result-footer .cta { margin: 0 auto; }

/* =========================================
   RESULT JOB CARD サムネイル
   ========================================= */
.ss-job-card-thumb {
  display: block;
  margin: -18px -18px 10px; /* カードのパディングを打ち消して上部いっぱいに */
  border-radius: 14px 14px 0 0;
  overflow: hidden;
}

.ss-job-card-thumb img {
  display: block;
  width: 100%;
  height: 152px;
  object-fit: cover;
  transition: transform .25s ease;
}

.ss-job-card:hover .ss-job-card-thumb img { transform: scale(1.04); }

/* =========================================
   診断ページ ダークモード（デフォルト）
   html に data-theme="light" が付いていない状態＝ダークがデフォルト表示。
   上の各ルールは「ライトを選んだ時」の見た目としてそのまま使う。
   ※ 現時点でダーク対応済みなのは診断ページ（.ss-quiz-page）のみ。
     ヘッダー／フッター／トップページ／職業一覧／ブログ記事など他ページは
     まだライト固定（今後の対応課題）。
   ========================================= */
html:not([data-theme="light"]) .ss-quiz-page {
  background:
    radial-gradient(circle at 15% 0%, rgba(248,179,52,.08), transparent 42%),
    radial-gradient(circle at 85% 100%, rgba(70,100,150,.22), transparent 46%),
    #050d1f;
}

html:not([data-theme="light"]) .ss-quiz-about,
html:not([data-theme="light"]) .ss-quiz-card,
html:not([data-theme="light"]) .ss-result-jobs-panel,
html:not([data-theme="light"]) .ss-result-sub,
html:not([data-theme="light"]) .ss-job-card,
html:not([data-theme="light"]) .ss-empathy,
html:not([data-theme="light"]) .ss-result-share {
  background: #0d2140;
  border-color: rgba(175,218,255,.18);
}

html:not([data-theme="light"]) .ss-result-jobs--sub .ss-job-card { background: #0d2140; }

html:not([data-theme="light"]) .ss-quiz-text,
html:not([data-theme="light"]) .ss-result-lead,
html:not([data-theme="light"]) .ss-result-jobs-heading h3,
html:not([data-theme="light"]) .ss-result-sub-type,
html:not([data-theme="light"]) .ss-job-card-title,
html:not([data-theme="light"]) .ss-empathy-catch,
html:not([data-theme="light"]) .ss-result-share-lead,
html:not([data-theme="light"]) .ss-quiz-about-title,
html:not([data-theme="light"]) .ss-quiz-choice {
  color: #eaf4ff;
}

/* 「深く考えず、直感で選んでください」の帯：エディトリアル型（枠なし・上罫線区切り）に合わせてダーク用の罫線・文字色を調整 */
html:not([data-theme="light"]) .ss-quiz-intro {
  border-top-color: rgba(175,218,255,.14);
}

html:not([data-theme="light"]) .ss-quiz-instruction {
  color: #eaf4ff;
}

html:not([data-theme="light"]) .ss-quiz-instruction-sub {
  color: #a8bdd6;
}

html:not([data-theme="light"]) .ss-job-card-hook,
html:not([data-theme="light"]) .ss-result-sub-label,
html:not([data-theme="light"]) .ss-result-sub-typename,
html:not([data-theme="light"]) .ss-quiz-about-teaser,
html:not([data-theme="light"]) .ss-quiz-about-body p,
html:not([data-theme="light"]) .ss-result-jobs-heading-line,
html:not([data-theme="light"]) .ss-empathy-sub,
html:not([data-theme="light"]) .ss-empathy-list li,
html:not([data-theme="light"]) .rating-label,
html:not([data-theme="light"]) .ss-quiz-progress-bar {
  color: #a8bdd6;
}

html:not([data-theme="light"]) .ss-job-card-ratings { border-top-color: rgba(175,218,255,.18); }
html:not([data-theme="light"]) .rating-dots span { background: rgba(175,218,255,.18); }
html:not([data-theme="light"]) .ss-job-card-ai-note { color: #6d84a3; }

html:not([data-theme="light"]) .ss-quiz-about-body {
  border-color: rgba(175,218,255,.14);
}

html:not([data-theme="light"]) .ss-quiz-choice {
  background: #0d2140;
  border-color: rgba(175,218,255,.18);
}

html:not([data-theme="light"]) .ss-quiz-choice:hover,
html:not([data-theme="light"]) .ss-quiz-choice.is-selected {
  border-color: var(--amber);
  background: rgba(248,179,52,.1);
}

html:not([data-theme="light"]) .ss-result-retry {
  color: #a8bdd6;
}

html:not([data-theme="light"]) .ss-share-btn--copy {
  background: #0d2140;
  color: #eaf4ff;
  border-color: rgba(175,218,255,.3);
}

/* メインの扉カードは元からダークが基本形なので、ライトモードの時だけ上書きする */
html[data-theme="light"] .ss-result-hero-card {
  background-image: url('assets/images/quiz/result-hero-door-light.webp');
  background-color: #fdfaf3;
}

html[data-theme="light"] .ss-result-main-lead { color: #b8720c; text-shadow: none; }
html[data-theme="light"] .ss-result-main-catch { color: var(--navy); text-shadow: none; }
html[data-theme="light"] .ss-result-main-type { color: var(--muted); text-shadow: none; }
html[data-theme="light"] .ss-result-hero-desc { color: var(--muted); text-shadow: none; }

/* ヘッダーのダーク対応（診断ページ内でヘッダーだけ白く浮いていた問題を修正） */
html:not([data-theme="light"]) #site-header {
  background: rgba(5,13,31,.96);
  border-bottom-color: rgba(175,218,255,.18);
}

html:not([data-theme="light"]) .site-title,
html:not([data-theme="light"]) .site-title a,
html:not([data-theme="light"]) #primary-menu a {
  color: #eaf4ff;
}

html:not([data-theme="light"]) .site-theme-toggle {
  background: #0d2140;
  border-color: rgba(175,218,255,.3);
  color: #eaf4ff;
}

/* フッターのダーク対応 */
html:not([data-theme="light"]) #site-footer {
  background: #050d1f;
  border-top-color: rgba(175,218,255,.18);
}

html:not([data-theme="light"]) .footer-inner {
  color: #a8bdd6;
}

html:not([data-theme="light"]) .footer-nav__list a {
  color: #eaf4ff;
}

/* =========================================
   CONTACT FORM
   ========================================= */
.contact-wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 62px 24px 80px;
}

.contact-inner h1 {
  font-size: 32px;
  font-weight: 900;
  color: var(--navy);
  margin: 0 0 18px;
}

.contact-inner > p {
  font-size: 16px;
  line-height: 1.9;
  color: #14233f;
  margin: 0 0 32px;
}

.contact-notice {
  padding: 16px 20px;
  border-radius: 10px;
  margin-bottom: 28px;
  font-size: 15px;
  line-height: 1.8;
}

.contact-notice--success {
  background: #eaf7ee;
  border: 1px solid #8fd6a4;
  color: #1c6b34;
}

.contact-notice--error {
  background: #fdecec;
  border: 1px solid #f0a5a5;
  color: #a12626;
}

.contact-notice--error ul { margin: 0; padding-left: 20px; }

.contact-form .form-row {
  margin: 0 0 22px;
}

.contact-form label {
  display: block;
  font-weight: 700;
  font-size: 14px;
  color: var(--navy);
  margin-bottom: 8px;
}

.contact-form .req {
  display: inline-block;
  margin-left: 8px;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  background: var(--amber);
  padding: 2px 8px;
  border-radius: 4px;
  vertical-align: middle;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
  width: 100%;
  font-size: 15px;
  padding: 12px 14px;
  border: 1px solid #d6dee8;
  border-radius: 8px;
  font-family: inherit;
  color: #14233f;
  background: #fff;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--amber);
}

.contact-form textarea { resize: vertical; }

.contact-form button.cta {
  border: none;
  cursor: pointer;
  font-size: 16px;
}

/* ハニーポット: 画面上には見えないが、display:noneより検知されにくい隠し方 */
.ss-hp-wrap {
  position: absolute;
  left: -9999px;
  top: -9999px;
  height: 0;
  overflow: hidden;
}

html:not([data-theme="light"]) .contact-inner h1,
html:not([data-theme="light"]) .contact-inner > p,
html:not([data-theme="light"]) .contact-form label {
  color: #eaf4ff;
}

html:not([data-theme="light"]) .contact-form input[type="text"],
html:not([data-theme="light"]) .contact-form input[type="email"],
html:not([data-theme="light"]) .contact-form textarea {
  background: #0d2140;
  border-color: rgba(175,218,255,.3);
  color: #eaf4ff;
}
