/* =============================================
   ChangeTax — Supplement: Page-Level Styles
   内部ページ・市区町村ページ用追加スタイル
   ============================================= */

/* =============================================
   PAGE HERO — 内部ページ上部ビジュアル
   ============================================= */
.page-title-bar {
  background: linear-gradient(160deg, #F0F7FF 0%, #EBF3FF 100%);
  border-bottom: 1px solid var(--gray-200);
  padding: var(--s12) var(--s6) var(--s10);
  position: relative;
  overflow: hidden;
}
.page-title-bar::before {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37,99,235,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.page-title-bar h1 {
  max-width: var(--max-w);
  margin-inline: auto;
  font-family: var(--font-heading);
  font-size: clamp(1.15rem, 2.5vw, 1.75rem);
  font-weight: 800;
  color: var(--gray-900);
  letter-spacing: -0.02em;
  line-height: 1.38;
  position: relative;
}
/* タイトル左のアクセントライン */
.page-title-bar h1::before {
  content: '';
  display: block;
  width: 40px;
  height: 3px;
  background: linear-gradient(90deg, var(--navy), var(--blue));
  border-radius: 2px;
  margin-bottom: var(--s3);
}

/* パンくずリスト */
.breadcrumb-wrap {
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-200);
}
.breadcrumb {
  max-width: var(--max-w);
  margin-inline: auto;
  padding: var(--s3) var(--s6);
  font-size: var(--text-xs);
  color: var(--gray-400);
  display: flex;
  flex-wrap: wrap;
  gap: var(--s1);
  align-items: center;
}
.breadcrumb a { color: var(--blue); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb-sep { color: var(--gray-300); margin: 0 2px; }

/* =============================================
   PAGE VISUAL — ページトップ画像エリア
   ============================================= */
.page-visual {
  width: 100%;
  max-height: 280px;
  overflow: hidden;
  background: var(--gray-100);
}
.page-visual img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  object-position: center 35%;
  display: block;
}

.edu-visual {
  width: 100%;
  max-height: 220px;
  overflow: hidden;
  background: var(--gray-100);
}
.edu-visual img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: center 40%;
  display: block;
}

/* =============================================
   PAGE CONTENT — 本文エリア共通
   ============================================= */
.page-content {
  max-width: var(--max-w);
  margin-inline: auto;
  padding: var(--s10) var(--s6) var(--s20);
}

/* 見出し h2 */
.page-content h2 {
  font-family: var(--font-heading);
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 700;
  color: var(--gray-900);
  display: flex;
  align-items: center;
  gap: var(--s3);
  margin: var(--s12) 0 var(--s5);
  letter-spacing: -0.01em;
  line-height: 1.45;
}
.page-content h2::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 1.2em;
  background: linear-gradient(180deg, var(--navy), var(--blue));
  border-radius: 4px;
  flex-shrink: 0;
}
.page-content h2:first-child { margin-top: 0; }

/* 見出し h3 */
.page-content h3 {
  font-family: var(--font-heading);
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--gray-700);
  margin: var(--s8) 0 var(--s4);
  padding-left: var(--s4);
  border-left: 2px solid var(--gray-300);
  letter-spacing: -0.005em;
}

.page-content p {
  margin-bottom: var(--s5);
  line-height: 1.95;
  color: var(--gray-600);
}
.page-content ul, .page-content ol {
  padding-left: 1.4em;
  margin-bottom: var(--s5);
}
.page-content li {
  margin-bottom: var(--s2);
  color: var(--gray-600);
  line-height: 1.8;
}
.page-content a { color: var(--blue); }
.page-content a:hover { text-decoration: underline; }

/* =============================================
   NOTICE BOX — インフォメーション
   ============================================= */
.notice-box {
  background: var(--blue-pale);
  border-left: 3px solid var(--blue);
  padding: var(--s5) var(--s6);
  margin: var(--s5) 0;
  font-size: var(--text-sm);
  line-height: 1.85;
  border-radius: 0 var(--r8) var(--r8) 0;
}
.notice-box strong { color: var(--navy); font-weight: 700; }
.notice-box ul { margin: var(--s2) 0 0 1.2em; }
.notice-box h3 { font-size: var(--text-sm); font-weight: 700; color: var(--navy); margin-bottom: var(--s3); }

.info-box {
  background: var(--gray-50);
  border-left: 3px solid var(--gray-300);
  padding: var(--s4) var(--s5);
  margin: var(--s5) 0;
  font-size: var(--text-sm);
  border-radius: 0 var(--r8) var(--r8) 0;
  color: var(--gray-500);
}

/* =============================================
   EDUCATIONAL LINKS
   ============================================= */
.educational-links {
  background: var(--blue-pale);
  border-left: 3px solid var(--blue);
  padding: var(--s5) var(--s6);
  margin: var(--s8) 0;
  border-radius: 0 var(--r12) var(--r12) 0;
}
.educational-links h3 {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 var(--s3);
  border: none;
  padding: 0;
}
.educational-links ul { padding-left: 1.2em; margin: 0; }
.educational-links li { margin-bottom: var(--s2); font-size: var(--text-sm); }
.educational-links a { color: var(--blue); }

/* =============================================
   CITY CHIP — 市区町村タグリンク
   ============================================= */
.area-city-chip {
  display: inline-block;
  padding: 7px 14px;
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--r8);
  color: var(--navy);
  text-decoration: none;
  font-size: var(--text-sm);
  font-weight: 600;
  transition: all var(--t-fast) var(--ease);
  box-shadow: var(--sh-xs);
  letter-spacing: 0.01em;
}
.area-city-chip:hover {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--sh-navy);
  text-decoration: none;
}

/* =============================================
   NEARBY LINKS — 近隣エリアリンク
   ============================================= */
.nearby-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s2);
  list-style: none;
  padding: 0;
}
.nearby-links li { margin: 0; }
.nearby-links a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 14px;
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--rfull);
  color: var(--blue);
  text-decoration: none;
  font-size: var(--text-xs);
  font-weight: 600;
  transition: all var(--t-fast) var(--ease);
  box-shadow: var(--sh-xs);
}
.nearby-links a::before { content: '›'; font-weight: 700; font-size: 0.9rem; }
.nearby-links a:hover {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
  transform: translateY(-1px);
  text-decoration: none;
}

/* =============================================
   FLOW LIST — ステップリスト（内部ページ）
   ============================================= */
.flow-list { border-top: 1px solid var(--gray-200); }
.flow-item {
  display: flex;
  gap: var(--s4);
  align-items: flex-start;
  padding: var(--s5) 0;
  border-bottom: 1px solid var(--gray-100);
}
.flow-item:first-child { border-top: none; }
.flow-num {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  background: var(--navy);
  color: var(--white);
  border-radius: var(--r8);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-ui);
  font-size: var(--text-sm);
  font-weight: 800;
  box-shadow: var(--sh-navy);
}
.flow-body h3 {
  margin: 0 0 var(--s1);
  font-size: var(--text-md);
  font-weight: 700;
  color: var(--gray-800);
  letter-spacing: -0.01em;
}
.flow-body p {
  margin: 0;
  font-size: var(--text-sm);
  color: var(--gray-500);
  line-height: 1.75;
}

/* =============================================
   CHECKLIST SECTION
   ============================================= */
.checklist-section {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--r16);
  padding: var(--s6) var(--s8);
  margin: var(--s5) 0;
}
.checklist-section ul { list-style: none; padding-left: 0; margin: 0; }
.checklist-section li {
  padding: var(--s2) 0 var(--s2) var(--s6);
  position: relative;
  border-bottom: 1px solid var(--gray-100);
  font-size: var(--text-sm);
  color: var(--gray-600);
}
.checklist-section li:last-child { border-bottom: none; }
.checklist-section li::before {
  content: '☐';
  position: absolute;
  left: 0;
  color: var(--blue);
  font-size: var(--text-base);
}

/* =============================================
   ROLE BOX
   ============================================= */
.role-box {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  padding: var(--s6) var(--s8);
  border-radius: var(--r16);
}
.role-box ul { list-style: none; padding: 0; margin: 0; }
.role-box li {
  padding: var(--s2) 0 var(--s2) var(--s6);
  position: relative;
  font-size: var(--text-sm);
  border-bottom: 1px solid var(--gray-100);
  color: var(--gray-600);
}
.role-box li:last-child { border-bottom: none; }
.role-box li::before { content: '✓'; position: absolute; left: 0; color: var(--green); font-weight: 700; }

/* =============================================
   DISCLAIMER NOTE
   ============================================= */
.disclaimer-note {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--r12);
  padding: var(--s5) var(--s6);
  font-size: var(--text-xs);
  color: var(--gray-400);
  line-height: 1.85;
  margin-top: var(--s10);
}

/* =============================================
   FAQ SECTION — 内部ページ用（details なし）
   ============================================= */
.faq-section { margin-top: var(--s5); }
.faq-section .faq-item {
  border-bottom: 1px solid var(--gray-100);
  padding: var(--s5) 0;
}
.faq-section .faq-q {
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--gray-800);
  line-height: 1.55;
  margin-bottom: var(--s3);
  padding-left: 36px;
  position: relative;
  letter-spacing: -0.01em;
}
.faq-section .faq-q::before {
  content: 'Q';
  position: absolute; left: 0; top: 0;
  color: var(--white); background: var(--navy);
  width: 26px; height: 26px;
  border-radius: var(--r6);
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-ui); font-size: 11px; font-weight: 800;
}
.faq-section .faq-a {
  font-size: var(--text-sm);
  color: var(--gray-500);
  line-height: 1.9;
  padding-left: 36px;
  position: relative;
}
.faq-section .faq-a::before {
  content: 'A';
  position: absolute; left: 0; top: 0;
  color: var(--white); background: var(--teal);
  width: 26px; height: 26px;
  border-radius: var(--r6);
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-ui); font-size: 11px; font-weight: 800;
}
.faq-section .faq-a a { color: var(--blue); }

/* =============================================
   QUICK LINKS — サービス概要リスト
   ============================================= */
.quick-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--s4);
}
.quick-link-card {
  display: flex;
  align-items: center;
  gap: var(--s3);
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  padding: var(--s5);
  text-decoration: none;
  color: var(--gray-700);
  font-weight: 600;
  font-size: var(--text-sm);
  transition: all var(--t-base) var(--ease);
  border-radius: var(--r16);
  box-shadow: var(--sh-xs);
  letter-spacing: -0.005em;
}
.quick-link-card::before {
  content: '';
  width: 8px; height: 8px;
  background: var(--blue);
  border-radius: 50%;
  flex-shrink: 0;
  transition: transform var(--t-base) var(--ease);
}
.quick-link-card:hover {
  box-shadow: var(--sh-md);
  border-color: var(--navy);
  color: var(--navy);
  transform: translateY(-3px);
  text-decoration: none;
}
.quick-link-card:hover::before { transform: scale(1.5); }

/* =============================================
   WORRY TAGS — お悩みタグ
   ============================================= */
.worry-tags { display: flex; flex-wrap: wrap; gap: var(--s2); }
.worry-tag {
  display: inline-block;
  padding: var(--s2) var(--s4);
  border: 1.5px solid var(--gray-200);
  background: var(--white);
  color: var(--gray-600);
  font-size: var(--text-sm);
  border-radius: var(--rfull);
  text-decoration: none;
  transition: all var(--t-fast) var(--ease);
  box-shadow: var(--sh-xs);
  font-weight: 500;
}
.worry-tag:hover {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--sh-navy);
  text-decoration: none;
}

/* =============================================
   INDUSTRY TAG — 業種タグ
   ============================================= */
.industry-tag-grid { display: flex; flex-wrap: wrap; gap: var(--s2); }
.industry-tag {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  padding: var(--s2) var(--s4);
  border: 1.5px solid var(--gray-200);
  background: var(--white);
  color: var(--gray-700);
  font-size: var(--text-sm);
  text-decoration: none;
  border-radius: var(--r12);
  transition: all var(--t-fast) var(--ease);
  box-shadow: var(--sh-xs);
  font-weight: 500;
}
.industry-tag::before { content: '›'; color: var(--blue); font-weight: 700; }
.industry-tag:hover {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--sh-navy);
  text-decoration: none;
}
.industry-tag:hover::before { color: rgba(255,255,255,0.6); }
.industry-tag.is-disabled {
  color: var(--gray-300);
  border-style: dashed;
  pointer-events: none;
  box-shadow: none;
}

/* =============================================
   AREA LIST — エリア一覧カード
   ============================================= */
.area-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: var(--s3);
}
.area-item {
  border: 1.5px solid var(--gray-200);
  border-radius: var(--r16);
  padding: var(--s5) var(--s5);
  background: var(--white);
  transition: all var(--t-base) var(--ease);
  box-shadow: var(--sh-xs);
}
.area-item:hover { box-shadow: var(--sh-md); transform: translateY(-3px); }
.area-item .area-name {
  font-weight: 700;
  font-size: var(--text-md);
  color: var(--gray-800);
  margin-bottom: var(--s1);
  letter-spacing: -0.01em;
}
.area-item .area-status { font-size: var(--text-xs); color: var(--gray-400); }
.area-item.is-active {
  border-color: var(--navy);
  border-top: 3px solid var(--navy);
  background: var(--blue-pale);
}
.area-item.is-active .area-status { color: var(--blue); font-weight: 600; }
.area-links {
  margin-top: var(--s3);
  display: flex;
  flex-direction: column;
  gap: var(--s1);
}
.area-links a {
  font-size: var(--text-xs);
  color: var(--blue);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.area-links a::before { content: '›'; font-weight: 700; }
.area-links a:hover { text-decoration: underline; }

/* =============================================
   SECTION UTILITY
   ============================================= */
.section { padding: var(--s16) 0; }
.section + .section { border-top: 1px solid var(--gray-200); }
.section-title {
  font-size: var(--text-xl);
  font-weight: 900;
  color: var(--gray-900);
  margin-bottom: var(--s6);
  letter-spacing: -0.02em;
}

/* NEWS LIST — 更新履歴 */
.news-list { border-top: 1px solid var(--gray-200); }
.news-item {
  display: flex;
  gap: var(--s4);
  align-items: baseline;
  padding: var(--s3) 0;
  border-bottom: 1px solid var(--gray-100);
  font-size: var(--text-sm);
}
.news-date {
  color: var(--gray-400);
  font-family: var(--font-ui);
  font-size: var(--text-xs);
  white-space: nowrap;
  min-width: 80px;
}
.news-item a { color: var(--gray-700); text-decoration: none; }
.news-item a:hover { color: var(--navy); text-decoration: underline; }

/* IMAGE PLACEHOLDER */
.image-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: var(--s2);
  background: linear-gradient(135deg, var(--blue-pale), var(--blue-ultra));
  border: 1.5px dashed var(--gray-300);
  border-radius: var(--r12);
  color: var(--gray-400);
  font-size: var(--text-xs);
  text-align: center;
  padding: var(--s8);
  min-height: 160px;
}
.image-placeholder::before { content: '🖼'; font-size: 2rem; opacity: 0.3; }

/* =============================================
   CONTACT PAGE
   ============================================= */
.contact-form-area {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--r16);
  padding: var(--s8) var(--s8);
}

/* =============================================
   THANKS PAGE
   ============================================= */
.thanks-block {
  text-align: center;
  padding: var(--s20) var(--s6);
}
.thanks-block h2 {
  font-size: var(--text-2xl);
  font-weight: 900;
  color: var(--navy);
  margin-bottom: var(--s4);
}
.thanks-block p { color: var(--gray-500); max-width: 480px; margin: 0 auto var(--s4); }

/* =============================================
   RESPONSIVE SUPPLEMENT
   ============================================= */
@media (max-width: 600px) {
  .page-content { padding: var(--s6) var(--s4) var(--s12); }
  .page-title-bar { padding: var(--s8) var(--s4) var(--s6); }
  .quick-links { grid-template-columns: 1fr; }
  .area-list { grid-template-columns: repeat(2, 1fr); }
  .checklist-section { padding: var(--s5) var(--s5); }
  .flow-num { width: 32px; height: 32px; font-size: var(--text-xs); }
}
