@charset "UTF-8";

/* ====================================
   1. 基本設定・変数
   ==================================== */
:root {
  --primary-color: #0d62ab; 
  --accent-color: #66985f; 
  --text-color: #333333;
  --gray-color: #66666622;
  --light-bg: #f8f9fa;
  --white: #ffffff;
  --border-color: #dddddd;
}

body {
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN",
    "Hiragino Sans", Meiryo, sans-serif;
  color: var(--text-color);
  line-height: 1.8;
}

/* スクロールバーを非表示にする */
html {
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE/Edge */
}

html::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}

body {
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE/Edge */
}

body::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}

/* リンクのアニメーション */
a {
  transition: 0.3s;
  cursor: pointer;
}

/* ====================================
   2. 共通クラス・レイアウト・UIパーツ
   ==================================== */
/* コンテナ (横幅制限) */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* セクション共通 */
.section {
  padding: 80px 0;
}

/* セクションタイトル */
.section-title {
  text-align: center;
  font-size: 32px;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 50px;
  position: relative;
  padding-bottom: 15px;
  z-index: 1;
}

.section-title::after {
  display: inline-block;
  position: absolute;
  top: -130%;
  left: 50%;
  transform: translateX(-50%);
  font-size: 100px;
  z-index: -1;
  letter-spacing: 0.5rem;
  background: linear-gradient(
    0deg,
    rgb(255, 255, 255),
    rgba(30, 143, 255, 0.252)
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.about-title::after {
  content: "about";
}
.service-title::after {
  content: "service";
}
.price-title::after {
  content: "price";
}
.company-title::after {
  content: "company";
}

@media screen and (max-width: 767px) {
  .section-title {
    font-size: 24px;
  }
  .section-title::after {
    letter-spacing: normal;
    font-size: 60px;
  }
}

/* ボタン共通 */
.btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 5px;
  font-weight: bold;
  text-align: center;
  line-height: 1.5;
}

.btn-primary {
  background:linear-gradient(0deg,rgb(36, 128, 0) 0%, rgb(0, 132, 110) 99%);
  color: var(--white);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
  background-color: var(--primary-color);
  transform: translateY(-2px);
}

.btn-outline {
  display: inline-block;
  padding: 10px 25px;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  border-radius: 5px;
  font-weight: bold;
  transition: 0.3s;
}

@media (hover: hover) {
  .btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--white);
  }
}

/* スマホ用 表示制御ユーティリティ */
.sp-only {
  display: none;
}
.sm_br {
  display: none;
}

@media (max-width: 768px) {
  .sp-only {
    display: block;
  }
}
@media screen and (max-width: 460px) {
  .sm_br {
    display: block;
  }
}

/* ====================================
   3. ヘッダー & ナビゲーション（位置調整版）
   ==================================== */
.header {
  background-color: var(--white);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
  height: 70px;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 24px;
  white-space: nowrap;
}

.logo a {
  color: #00539c;
  font-size: 1.5rem;
  font-weight: bold;
  font-family: "Yuji Syuku", serif;
}

/* ナビゲーション共通設定 */
.nav a {
  font-size: 0.95rem;
  font-weight: 500;
  display: block;
}

.nav a:hover {
  color: var(--primary-color);
}

.nav-cta a {
background: #0400ff;
background: linear-gradient(0deg, rgb(0, 61, 204) 0%, #005aa9 99%);
  color: var(--white);
  padding: 10px 20px;
  border-radius: 4px;
  font-weight: bold;
}

.nav-cta a:hover {
  background-color: #003366;
  color: var(--white);
}

/* --------------------------------------------------
   PC用スタイル (901px以上) 
   -------------------------------------------------- */
@media screen and (min-width: 901px) {
  .header {
  height: 80px;
}

  .logo a {
    font-size: 2rem;
  }

  .hamburger {
    display: none !important; /* PCではハンバーガー絶対非表示 */
  }

  .nav ul {
    display: flex;
    gap: 30px;
    align-items: center;
  }

  /* リンクの下線アニメーション */
  .nav ul li > a {
    position: relative;
    text-decoration: none;
  }

  .nav ul li > a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -5px; /* 下線の位置 */
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s;
  }

  .nav ul li:hover > a::after {
    width: 100%;
  }

  /* ドロップダウン (PC) */
  .nav ul li {
    position: relative;
  }

  /* PCでは強制的に非表示にする */
  .dropdown-menu {
    display: none !important;
    position: absolute;
    /* ★ここを修正：下線と被らないよう、少し下にずらす（100% + 20pxの位置へ） */
    top: calc(100% + 20px);
    left: 50%;
    transform: translateX(-50%);
    background-color: #ffffff;
    width: 180px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 8px 0;
    margin: 0;
    list-style: none;
    border-radius: 4px;
    border: 1px solid #eee;
  }

  /* 隙間埋め（マウスが離れて消えるのを防ぐ透明なエリア） */
  .dropdown-menu::before {
    content: "";
    position: absolute;
    /* ★ここを修正：ずらした分だけ判定エリアを上に広げる */
    top: -30px; /* 元の-15pxからさらに広げる */
    left: 0;
    width: 100%;
    height: 30px; /* 元の15pxからさらに広げる */
  }

  /* ホバーした時だけ強制的に表示 */
  .nav ul li:hover > .dropdown-menu {
    display: block !important;
  }

  .dropdown-menu li a {
    padding: 12px 20px;
    color: #333;
    font-size: 14px;
    text-align: center;
    transition: background 0.2s;
  }

  .dropdown-menu li a::after {
    display: none;
  }

  .dropdown-menu li a:hover {
    background-color: #f5f5f5;
    color: var(--primary-color);
  }
}

/* --------------------------------------------------
   スマホ・タブレット用スタイル (900px以下)
   -------------------------------------------------- */
@media screen and (max-width: 900px) {
  .header-container {
    justify-content: space-between;
    gap: 15px;
  }

  /* ハンバーガーボタン表示 */
  .hamburger {
    display: block;
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 24px;
    position: relative;
    padding: 0;
    margin-left: auto;
    z-index: 2000;
  }

  .hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
    position: absolute;
    left: 0;
    transition: 0.3s;
    border-radius: 2px;
  }

  .hamburger span:nth-child(1) {
    top: 0;
  }
  .hamburger span:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
  }
  .hamburger span:nth-child(3) {
    bottom: 0;
  }

  /* ナビゲーション（スライドメニュー） */
  .nav {
    position: fixed;
    top: 70px;
    right: -100%;
    width: 100%;
    height: 100vh;
    overflow-y: auto;
    background-color: var(--white);
    transition: 0.4s ease-in-out;
    z-index: 1500;
    padding-top: 5px;
    padding-bottom: 50px;
    border-top: 1px solid #eee;
    box-sizing: border-box;
  }

  .nav.active {
    right: 0;
  }

  .nav ul {
    display: block;
    padding: 0 20px;
    gap: 0;
  }

  .nav li {
    width: 100%;
    border-bottom: 1px solid #eee;
  }

  .nav li a {
    padding: 15px 0;
    text-align: center;
    color: var(--text-color);
  }

  /* ドロップダウン (スマホ) - 常に表示 */
  .dropdown-menu {
    display: block !important; /* ★スマホは常に表示 */
    position: static !important;
    box-shadow: none !important;
    border: none !important;
    padding: 0 !important;
    background-color: #f9f9f9 !important;
    width: 100% !important;
    margin: 0 !important;
    transform: none !important;
  }

  .dropdown-menu li {
    border-bottom: 1px solid #fff !important;
    text-align: left !important;
  }

  .dropdown-menu li a {
    font-size: 0.95rem !important;
    padding: 15px 0 !important;
    color: #666 !important;
  }

  /* CTAボタン */
  .nav-cta {
    margin-top: 30px;
    border-bottom: none !important;
    padding: 0;
    text-align: center;
  }

  .nav-cta a {
    display: inline-block;
    width: 70%;
    background-color: var(--primary-color);
    color: #fff !important;
    border-radius: 5px;
    font-weight: bold;
  }

  /* ハンバーガーのアニメーション */
  .hamburger.active span:nth-child(1) {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
  }
  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }
  .hamburger.active span:nth-child(3) {
    bottom: 50%;
    transform: translateY(50%) rotate(-45deg);
  }
}

/* ====================================
   4. ヒーローセクション
   ==================================== */
.hero {
  background-color: var(--primary-color);
  background-image: linear-gradient(rgb(151 201 255 / 71%), rgb(6 10 14 / 50%)), url(../img/top-kv2.jpg);
  background-size: cover;
  background-position: center;
  height: 70vh;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  padding: 0 20px;
}

.hero-title {
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 20px;
  line-height: 1.3;
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.hero-title.animate {
  opacity: 1;
  transform: translateY(0);
}

.hero-subtitle {
  font-size: 1.2rem;
  margin-bottom: 40px;
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
  transition-delay: 0.2s;
}

.hero-subtitle.animate {
  opacity: 1;
  transform: translateY(0);
}

.hero .btn-primary {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
  transition-delay: 0.4s;
}

.hero .btn-primary.animate {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2rem;
  }
}

/* ====================================
   5. 事務所について (About)
   ==================================== */
.about {
  background-color: #f9fbfd;
}

.about-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
}

/* テキストエリア */
.about-text {
  max-width: 650px;
  flex: 1;
}

.about-text h3 {
  font-size: 1.8rem;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 25px;
  line-height: 1.4;
  text-align: center;
}

.about-text p {
  margin-bottom: 20px;
  line-height: 1.8;
  color: var(--text-color);
  text-align: left;
}

.about-text .representative-name {
  margin-top: 30px;
  font-weight: bold;
  font-size: 1.1rem;
  text-align: right;
  color: var(--primary-color);
}

/* 画像エリア */
/* .about-image {
  flex: 1;
  position: relative;
}

.about-image img {
  width: 100%;
  max-width: 300px;
  height: auto;
  border-radius: 10px;
  box-shadow: 20px 20px 0px rgba(0, 64, 133, 0.1);
  display: block;
  margin: 0 auto;
} */

@media (max-width: 768px) {
  .about-content {
    flex-direction: column;
    gap: 30px;
  }
  .about-text h3 {
    font-size: 1.4rem;
  }
  /* .about-image img {
    max-width: 200px;
    box-shadow: 10px 10px 0px rgba(0, 64, 133, 0.1);
  } */
  .about-text .representative-name {
    text-align: left;
  }
}

/* ====================================
   6. サービス (ジグザグレイアウト)
   ==================================== */
.service-list-zigzag {
  display: flex;
  flex-direction: column;
  gap: 80px;
}

.service-row {
  display: flex;
  align-items: center;
  gap: 50px;
}

/* 偶数番目の左右反転 */
.service-row:nth-child(even) {
  flex-direction: row-reverse;
}

.service-img {
  flex: 1;
  height: 300px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.service-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-text {
  flex: 1;
}

.service-text h3 {
  font-size: 1.8rem;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 20px;
  position: relative;
  padding-left: 20px;
}

.service-text h3::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  bottom: 5px;
  width: 5px;
  background-color: var(--accent-color);
}

.service-desc {
  margin-bottom: 20px;
  line-height: 1.8;
}

.service-points {
  margin-bottom: 25px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.service-points li {
  background-color: var(--white);
  border: 1px solid var(--primary-color);
  color: var(--primary-color);
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: bold;
}

/* スマホ対応 */
@media (max-width: 768px) {
  .service-row {
    flex-direction: column;
    gap: 30px;
  }
  .service-row:nth-child(even) {
    flex-direction: column;
  }
  .service-img {
    width: 100%;
    height: 200px !important; /* 強制的に高さ確保 */
    flex: none;
  }
  .service-text h3 {
    font-size: 1.5rem;
  }
  .servise-btn_wrapper {
    text-align: center;
  }
}

/* ====================================
   8. CTA & 会社概要 & フッター
   ==================================== */
.cta-section {
  background-color: #eef4fa;
  text-align: center;
  padding: 80px 20px;
}

.cta-section h2 {
  color: var(--primary-color);
  font-size: 1.8rem;
  font-weight: bold;
  margin-bottom: 20px;
}

.cta-section p {
  margin-bottom: 1em;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 30px 0;
  flex-wrap: wrap;
}

.btn-large {
  font-size: 1.1rem;
  padding: 15px 40px;
}

.btn-tel {
  background-color: var(--white);
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  font-size: 1.2rem;
  padding: 13px 40px;
}

.btn-tel:hover {
  background-color: var(--primary-color);
  color: var(--white);
}

.hours {
  font-size: 0.9rem;
  color: #666;
}

/* 会社概要 & マップ */
.company-wrapper {
  display: flex;
  gap: 40px;
}

.company-info {
  flex: 1;
}
.company-map {
  flex: 1;
}

.company-map iframe {
  border: 0;
  display: block;
}

.company-info dl {
  display: flex;
  flex-wrap: wrap;
}

.company-info dt {
  width: 30%;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-color);
  font-weight: bold;
  color: var(--primary-color);
}

.company-info dd {
  width: 70%;
  margin: 0;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-color);
}

@media (max-width: 768px) {
  .company-wrapper {
    flex-direction: column;
  }
}

/* フッター */
.footer {
  background-color: #222;
  color: #bbb;
  padding: 50px 0 20px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--white);
}

.footer-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-links a:hover {
  color: var(--white);
}

.copyright {
  text-align: center;
  font-size: 0.8rem;
  border-top: 1px solid #444;
  padding-top: 20px;
}

/* ====================================
   9. 下層ページ共通 (ヘッダー/パンくず)
   ==================================== */
.page-header {
  color: var(--white);
  padding: 120px 0;
  text-align: center;
  background-color: var(--primary-color);
  background-image: linear-gradient(
      rgba(0, 64, 133, 0.5),
      rgba(0, 64, 133, 0.5)
    ),
    url("../img/car.jpg");
  background-size: cover;
  background-position: center 60%;
}

.permit .page-header {
  background-image: linear-gradient(
      rgba(0, 64, 133, 0.5),
      rgba(0, 64, 133, 0.5)
    ),
    url("../img/service04.jpg");
}

.car .page-header {
  background-image: linear-gradient(
      rgba(0, 64, 133, 0.5),
      rgba(0, 64, 133, 0.5)
    ),
    url("../img/service03.jpg");
}

.subsidy .page-header {
  background-image: linear-gradient(
      rgba(0, 64, 133, 0.5),
      rgba(0, 64, 133, 0.5)
    ),
    url("../img/service02.jpg");
}

.inheritance .page-header {
  background-image: linear-gradient(
      rgba(0, 64, 133, 0.5),
      rgba(0, 64, 133, 0.5)
    ),
    url("../img/service01.jpg");
}

.page-title {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 10px;
}

.page-subtitle {
  font-size: 1rem;
  opacity: 0.8;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.breadcrumb {
  background-color: #f0f0f0;
  padding: 15px 0;
  font-size: 0.9rem;
  color: #666;
}

.breadcrumb a {
  color: var(--primary-color);
}
.breadcrumb i {
  font-size: 0.8rem;
  margin: 0 10px;
  color: #999;
}

/* ====================================
   10. 詳細ページ コンテンツパーツ
   ==================================== */
.detail-block {
  margin-bottom: 80px;
}

.detail-heading {
  font-size: 1.6rem;
  font-weight: bold;
  color: var(--primary-color);
  border-bottom: 2px solid var(--border-color);
  padding-bottom: 10px;
  margin-bottom: 30px;
  position: relative;
}

.detail-heading::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 60px;
  height: 2px;
  background-color: var(--accent-color);
}

/* チェックリスト */
.check-list {
  background-color: #f9fbfd;
  padding: 30px;
  border-radius: 8px;
  border: 1px solid #e1e8ed;
}

.check-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 15px;
  font-weight: bold;
  color: var(--text-color);
}

.check-list li:last-child {
  margin-bottom: 0;
}

.check-list li::before {
  font-family: "Font Awesome 6 Free";
  content: "\f00c";
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 2px;
  color: var(--accent-color);
  font-size: 1.1em;
}

/* サービスアイテム（枠付きグリッド） */
.service-items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.service-item {
  border: 1px solid var(--border-color);
  padding: 20px;
  border-radius: 5px;
}

.service-item h4 {
  color: var(--primary-color);
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 10px;
  border-bottom: 1px dashed var(--border-color);
  padding-bottom: 10px;
}

.service-item p {
  font-size: 0.95rem;
}

/* 目次ボックス */
.toc-box {
  background-color: #f8f9fa;
  border: 1px solid #ddd;
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 40px;
}
.toc-title {
  font-size: 1.1rem;
  font-weight: bold;
  text-align: center;
  margin-bottom: 15px;
  color: var(--text-color);
}
.toc-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.toc-list li a {
  display: block;
  padding: 8px 15px;
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  color: var(--primary-color);
  font-size: 0.9rem;
  transition: 0.3s;
  text-decoration: none;
}
.toc-list li a:hover {
  background: var(--primary-color);
  color: var(--white);
  border-color: var(--primary-color);
}

/* サービス詳細カード */
.service-detail-card {
  background: var(--white);
  border: 1px solid #eee;
  border-radius: 10px;
  padding: 30px;
  margin-bottom: 40px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
  position: relative;
  overflow: hidden;
}

.service-detail-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 6px;
  background: var(--accent-color);
}

.card-title {
  font-size: 1.4rem;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid #eee;
  padding-bottom: 10px;
}

.card-desc {
  margin-bottom: 20px;
  line-height: 1.8;
}

/* カード内レイアウト（画像とテキスト） */
.card-flex {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  align-items: flex-start;
}

.card-info {
  flex: 1;
}

.card-img-thumb {
  width: 280px;
  height: 200px;
  background-color: #eee;
  border-radius: 8px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #bbb;
  font-size: 0.8rem;
  overflow: hidden;
}
.card-img-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* おすすめリスト */
.recommend-box {
  background: #fdfdfd;
  border: 1px dashed #ccc;
  padding: 15px;
  border-radius: 5px;
}
.recommend-title {
  font-size: 0.9rem;
  font-weight: bold;
  color: #555;
  margin-bottom: 10px;
  display: block;
}
.recommend-list li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 5px;
  font-size: 0.95rem;
}
.recommend-list li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: var(--accent-color);
  font-weight: bold;
}

@media (max-width: 768px) {
  .service-detail-card {
    padding: 20px;
  }
  .card-title {
    font-size: 1.2rem;
    flex-direction: column;
    align-items: flex-start;
  }
  .card-flex {
    flex-direction: column-reverse;
  }
  .card-img-thumb {
    width: 100%;
    height: 180px;
    margin-bottom: 15px;
  }
}

/* ページ内メイン画像枠 */
.page-img-frame {
  width: 100%;
  height: 350px;
  background-color: #f0f0f0;
  border-radius: 10px;
  margin-bottom: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #aaa;
  font-weight: bold;
  overflow: hidden;
}
.page-img-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 768px) {
  .page-img-frame {
    height: 200px;
  }
}

/* 業務フロー (Steps) */
.process-flow {
  margin-top: 30px;
  margin-bottom: 50px;
}

.process-step {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 20px 20px 20px 80px;
  margin-bottom: 20px;
  position: relative;
}

.process-step:not(:last-child)::after {
  content: "▼";
  position: absolute;
  bottom: -22px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--accent-color);
  font-size: 1.2rem;
}

.step-number {
  position: absolute;
  top: 50%;
  left: 20px;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background: var(--primary-color);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-family: sans-serif;
}

.process-step h4 {
  font-size: 1.1rem;
  color: var(--primary-color);
  font-weight: bold;
}

.process-step p {
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
  margin-top: 8px;
}

/* 横並びフロー図 */
.flow-wrapper {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.flow-box {
  flex: 1;
  background-color: var(--light-bg);
  padding: 20px;
  border-radius: 5px;
  position: relative;
  text-align: center;
}

.flow-box:not(:last-child)::after {
  font-family: "Font Awesome 6 Free";
  content: "\f054"; /* 右矢印 */
  font-weight: 900;
  position: absolute;
  right: -15px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--primary-color);
  font-size: 1.2rem;
  z-index: 1;
}

.step-num {
  display: block;
  color: var(--primary-color);
  font-weight: bold;
  font-size: 1.2rem;
  margin-bottom: 5px;
  font-family: Arial, sans-serif;
}

.flow-box h4 {
  font-weight: bold;
  margin-bottom: 10px;
}
.flow-box p {
  font-size: 0.9rem;
  text-align: left;
}

@media (max-width: 768px) {
  .flow-wrapper {
    flex-direction: column;
    gap: 30px;
  }
  .flow-box:not(:last-child)::after {
    content: "\f078"; /* 下矢印 */
    right: 50%;
    top: auto;
    bottom: -25px;
    transform: translateX(50%);
  }
}

/* Q&A アコーディオン */
.qa-section {
  margin-top: 60px;
  margin-bottom: 60px;
}

.qa-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.qa-item {
  background-color: var(--white);
  border: 1px solid #eee;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.03);
  overflow: hidden;
}

.qa-question {
  display: flex;
  align-items: center;
  gap: 15px;
  font-weight: bold;
  color: var(--primary-color);
  font-size: 1.05rem;
  padding: 20px 55px 20px 20px;
  cursor: pointer;
  position: relative;
  transition: background-color 0.3s;
}

.qa-question:hover {
  background-color: #fcfcfc;
}

.qa-question::before {
  content: "Q";
  background-color: var(--accent-color);
  color: #fff;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-family: sans-serif;
}

.qa-question::after {
  content: "\f078";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  right: 20px;
  color: #ccc;
  transition: transform 0.3s ease;
}

.qa-question.open {
  background-color: #f9f9f9;
  border-bottom: 1px dashed #ddd;
}
.qa-question.open::after {
  transform: rotate(180deg);
}

.qa-answer {
  display: none;
  align-items: flex-start;
  gap: 15px;
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--text-color);
  padding: 20px;
  border-top: 1px solid transparent;
}

.qa-answer::before {
  content: "A";
  background-color: var(--primary-color);
  color: #fff;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-family: sans-serif;
  font-weight: bold;
  margin-top: -2px;
}

/* ====================================
   11. お問い合わせページ・フォーム
   ==================================== */
.contact-intro {
  text-align: center;
  margin-bottom: 50px;
}

.tel-box {
  background-color: var(--light-bg);
  padding: 20px;
  margin-top: 20px;
  display: inline-block;
  border-radius: 8px;
  min-width: 300px;
}

.tel-number {
  font-size: 1.8rem;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 5px;
}

.tel-hours {
  font-size: 0.85rem;
  color: #666;
}

.form-container {
  max-width: 700px;
  margin: 0 auto;
  background-color: var(--white);
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--border-color);
}

.form-group {
  margin-bottom: 25px;
}

.form-label {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
  color: var(--text-color);
}

.badge-required {
  background-color: #e63946;
  color: #fff;
  font-size: 0.75rem;
  padding: 2px 6px;
  border-radius: 3px;
  vertical-align: middle;
  margin-left: 5px;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1rem;
  background-color: #fcfcfc;
  transition: 0.3s;
}

.form-input:focus,
.form-textarea:focus {
  border-color: var(--primary-color);
  background-color: #fff;
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 64, 133, 0.1);
}

/* セレクトボックス装飾 */
.select-wrapper {
  position: relative;
}

.select-wrapper::after {
  content: "\f078";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  top: 50%;
  right: 15px;
  transform: translateY(-50%);
  pointer-events: none;
  font-size: 0.8rem;
  color: #666;
}

select.form-input {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}

/* プライバシーポリシー同意チェック */
.privacy-check {
  margin: 30px 0;
  text-align: center;
}

.privacy-check label {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  user-select: none;
}

.privacy-check input[type="checkbox"] {
  -webkit-appearance: checkbox;
  appearance: auto;
  width: 20px;
  height: 20px;
  cursor: pointer;
  accent-color: var(--primary-color);
  background-color: #fff;
  border: 1px solid #ccc;
  margin: 0;
}

.privacy-text {
  font-size: 0.95rem;
}
.privacy-text a {
  color: var(--primary-color);
  text-decoration: underline;
  font-weight: bold;
}

.form-submit {
  text-align: center;
}
.form-submit button {
  cursor: pointer;
  min-width: 200px;
}

@media (max-width: 768px) {
  .form-container {
    padding: 20px;
  }
  .privacy-check label {
    align-items: flex-start;
    text-align: left;
  }
  .privacy-check input[type="checkbox"] {
    margin-top: 3px;
  }
}

/* ====================================
   3. 報酬額ページ専用スタイル
   ==================================== */
.l-container {
  max-width: 960px;
  margin: 0 auto;
  padding: 60px 30px;
  background-color: var(--white);
  min-height: 100vh;
}

/* ▼ ページタイトル (クラス名を変更しました) */
.price-title {
  text-align: center;
  font-size: 1.75rem;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 50px;
  position: relative;
  padding-bottom: 15px;
}
.price-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background-color: var(--accent-color);
  margin: 15px auto 0;
}

/* セクション */
.price-section {
  margin-bottom: 60px;
}

/* カテゴリ見出し (h2) */
.category-title {
  font-size: 1.4rem;
  font-weight: bold;
  color: var(--primary-color);
  border-left: 6px solid var(--primary-color);
  padding: 8px 0 8px 15px;
  margin-bottom: 25px;
  background: linear-gradient(to right, var(--gray-color), transparent);
}

/* 横スクロール注意喚起 */
.scroll-notice {
  display: none; /* PC表示では非表示 */
  font-size: 10px;
  color: var(--text-color);
  padding-left: 10px;
}

/* --- テーブル基本設定 --- */
.price-table {
  width: 100%;
  border-top: 2px solid var(--primary-color);
  border-bottom: 1px solid var(--border-color);
  min-width: 600px; /* スクロールさせるため、最低幅を指定 */
}

/* セル共通 */
.price-table th,
.price-table td {
  padding: 15px 15px;
  border-bottom: 1px solid var(--border-color);
  vertical-align: middle;
}

/* ------------------------------------------
   左端項目の背景色制御 (tbody単位)
   ------------------------------------------
*/
/* 奇数番目のグループ (1, 3, 5...) は薄い青 */
.price-table tbody:nth-of-type(odd) th {
  background-color: var(--th-bg-color);
  font-weight: bold;
  color: var(--primary-color);
  text-align: left;
  border-right: 1px solid var(--border-color);
}

/* 偶数番目のグループ (2, 4, 6...) は白 */
.price-table tbody:nth-of-type(even) th {
  background-color: #ffffff;
  font-weight: bold;
  color: var(--primary-color);
  text-align: left;
  border-right: 1px solid var(--border-color);
}

/* 2列目: 内容 */
.price-table td {
  color: var(--text-color);
  font-weight: normal;
}

/* 3列目: 金額 */
.price-table td.price {
  text-align: right;
  font-weight: bold;
  color: var(--text-color);
  white-space: nowrap; /* 金額の折り返し防止 */
  font-size: 1.05rem;
}

/* テーブル見出し (thead) */
.price-table thead th {
  background-color: var(--primary-color);
  color: #fff;
  text-align: center;
  font-size: 0.9rem;
  padding: 10px;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
}

/* 補足 (※印など) */
.note {
  display: block;
  font-size: 0.8rem;
  color: #666;
  font-weight: normal;
  margin-top: 5px;
  line-height: 1.3;
}

/* ====================================
   4. レスポンシブ対応 (横スクロール)
   ==================================== */
@media screen and (max-width: 640px) {
  .l-container {
    padding: 30px;
  }

  /* タイトルも変更したクラス名に対応 */
  .price-title {
    font-size: 1.4rem;
    margin-bottom: 30px;
  }

  .category-title {
    font-size: 1.2rem;
    padding: 6px 0 6px 10px;
    margin-bottom: 15px;
  }

  /* 横スクロール注意喚起をスマホ表示で表示 */
  .scroll-notice {
    display: block;
  }

  /* --- 横スクロール用ラッパー --- */
  .scroll-wrap {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 20px;
    /* 右端にうっすら影をつけて、スクロールできることを示唆 */
    box-shadow: inset -10px 0 10px -10px rgba(0, 0, 0, 0.1);
  }

  .price-table {
    min-width: 550px; /* スマホでもこれ以上縮めずスクロールさせる */
  }

  .price-table th,
  .price-table td {
    padding: 12px 10px;
    font-size: 0.9rem;
  }

  .price-table td.price {
    font-size: 1rem;
  }
}

/* ====================================
   3. プライバシーポリシー専用スタイル
   ==================================== */

.policy-section {
  margin-bottom: 50px;
}

.policy-text {
  margin-bottom: 1.5em;
  text-align: justify;
}

/* リンク（Googleフォーム等）のスタイルを追加 */
.policy-text a,
.policy-list a {
  color: #1e76c2; /* メインカラー（青）と同じ */
  text-decoration: underline;
}
.policy-text a:hover,
.policy-list a:hover {
  opacity: 0.6;
}

.u-mb-20 {
  margin-bottom: 20px;
}

/* --- 箇条書きリスト (・) --- */
.policy-list {
  margin-bottom: 20px;
  padding-left: 0;
}

.policy-list li {
  position: relative;
  padding-left: 1.2em; /* 字下げ */
  text-indent: -1em;   /* ぶら下げ */
  margin: 10px 0;
  line-height: 1.8;
}

/* --- 小見出し (h3) --- */
/* 「顧客情報」「従業者情報」などの見出し */
.policy-sub-title {
  font-size: 1.15rem;
  font-weight: bold;
  color: var(--text-color);
  background-color: #f4f4f4; /* 背景色で区切りを明確に */
  padding: 8px 15px;
  border-left: 4px solid var(--accent-color); /* 左にアクセント色 */
  margin-top: 30px;
  margin-bottom: 15px;
}

.policy-group {
  margin-bottom: 30px;
}

/* --- 注釈ブロック --- */
.policy-note-block {
  margin-top: 10px;
  padding: 15px;
  background-color: #fafafa;
  border: 1px dashed #ddd;
  font-size: 0.9rem;
  color: #555;
}
.policy-note-block p {
  margin-bottom: 0.5em;
}
.policy-note-block p:last-child {
  margin-bottom: 0;
}

/* --- 署名欄 --- */
.policy-signature {
  margin-top: 60px;
  text-align: right;
  border-top: 1px solid #ddd;
  padding-top: 30px;
}
.policy-signature p {
  margin-bottom: 5px;
}
.office-name {
  font-size: 1.2rem;
  font-weight: bold;
}

/* --- スマホ対応 --- */
@media screen and (max-width: 640px) {
  .l-container {
    padding: 30px;
  }
  .page-title {
    font-size: 1.4rem;
  }
  .category-title {
    font-size: 1.2rem;
  }
  .policy-sub-title {
    font-size: 1.05rem;
  }
}

/* ====================================
   報酬額誘導セクション
   ==================================== */

.price-link-section {
  margin-bottom: 60px;
}

/* 少し背景色をつけてエリアを目立たせる */
.price-link-inner {
  padding: 40px;
  text-align: center; /* 中央揃え */
}

.price-link-title {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.price-link-text {
  margin-bottom: 30px;
  font-size: 1rem;
}

/* --- ボタンのデザイン --- */
.price-btn-wrapper {
  margin-top: 20px;
}

.btn-price {
  display: inline-block;
  background-color: var(--primary-color); /* メインカラー */
  color: #fff;
  font-weight: bold;
  text-decoration: none;
  padding: 16px 60px;
  border-radius: 50px; /* 丸みのあるボタン */
  box-shadow: 0 4px 10px rgba(30, 118, 194, 0.3); /* 影をつけて浮かせる */
  transition: all 0.3s ease;
  position: relative;
}

/* ボタンのホバー時（マウスを乗せた時） */
.btn-price:hover {
  background-color: #165e9a; /* 少し濃くする */
  transform: translateY(-2px); /* 少し上に浮く */
  box-shadow: 0 6px 15px rgba(30, 118, 194, 0.4);
}

/* ボタン右側の矢印（>） */
.btn-price::after {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  transform: rotate(45deg);
  margin-left: 10px;
  vertical-align: 1px;
}


/* --- スマホ対応 --- */
@media screen and (max-width: 640px) {
  .price-link-inner {
    padding: 30px 20px;
  }
  .price-link-title {
    font-size: 1.3rem;
  }
  .price-link-text {
    text-align: left; /* スマホでは文章は左寄せの方が読みやすい場合が多い */
    font-size: 0.95rem;
  }
  .btn-price {
    display: block; /* 幅いっぱいに */
    width: 100%;
    padding: 15px;
  }
}/* ====================================
   報酬額誘導セクション
   ==================================== */

.price-link-section {
  margin-bottom: 60px;
}

/* 少し背景色をつけてエリアを目立たせる */
.price-link-inner {
  padding: 40px;
  text-align: center; /* 中央揃え */
}

.price-link-title {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.price-link-text {
  margin-bottom: 30px;
  font-size: 1rem;
}

/* --- ボタンのデザイン --- */
.price-btn-wrapper {
  margin-top: 20px;
}

.btn-price {
  display: inline-block;
  background-color: var(--primary-color); /* メインカラー */
  color: #fff;
  font-weight: bold;
  text-decoration: none;
  padding: 16px 60px;
  border-radius: 50px; /* 丸みのあるボタン */
  box-shadow: 0 4px 10px rgba(30, 118, 194, 0.3); /* 影をつけて浮かせる */
  transition: all 0.3s ease;
  position: relative;
}

/* ボタンのホバー時（マウスを乗せた時） */
.btn-price:hover {
  background-color: #165e9a; /* 少し濃くする */
  transform: translateY(-2px); /* 少し上に浮く */
  box-shadow: 0 6px 15px rgba(30, 118, 194, 0.4);
}

/* ボタン右側の矢印（>） */
.btn-price::after {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  transform: rotate(45deg);
  margin-left: 10px;
  vertical-align: 1px;
}


/* --- スマホ対応 --- */
@media screen and (max-width: 640px) {
  .price-link-inner {
    padding: 30px 20px;
  }
  .price-link-title {
    font-size: 1.3rem;
  }
  .price-link-text {
    text-align: left; /* スマホでは文章は左寄せの方が読みやすい場合が多い */
    font-size: 0.95rem;
  }
  .btn-price {
    display: block; /* 幅いっぱいに */
    width: 100%;
    padding: 15px;
  }
}