/* 基本設定 */
:root {
    --primary: #1a365d;
    --accent: #e67e22;
    --bg-light: #fdfcf9;
    --text: #333;
}
.no-hero {
    padding-top: 100px;
}

body {
    font-family: 'Yu Gothic', 'Meiryo', sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}

h1, h2, h3, h4 {
    font-family: 'Yu Gothic UI', 'Meiryo', sans-serif;
    color: #1a237e;
}

a {
    color: #1a237e;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* 共通セクションのパディング */
.section-padding {
    padding: 60px 5%;
    max-width: 1200px;
    margin: 0 auto;
    box-sizing: border-box;
}

.bg-light {
    background-color: #f0f4f8;
}

/* ボタン */
.btn-primary {
    display: inline-block;
    background-color: #1a237e;
    color: #fff;
    padding: 12px 25px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.btn-primary:hover {
    background-color: #0d1257;
}

.btn-secondary {
    display: inline-block;
    border: 1px solid #1a237e;
    color: #1a237e;
    padding: 12px 25px;
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.btn-secondary:hover {
    background-color: #1a237e;
    color: #fff;
}

.read-more {
    display: inline-block;
    margin-top: 15px;
    color: #1a237e;
    font-weight: bold;
}

.read-more::after {
    content: ' >';
}

#breadcrumb-container {
    background-color: #fff;
    padding: 3px 5%;
    margin-top: 55px;
    position: relative;
    z-index: 700;
    margin-bottom: 0;
    padding-bottom: 0px;
}

#breadcrumb-container .section-padding {
    padding: 0 !important;
    margin: 0 !important;
}

#breadcrumb {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
    align-items: center;
    line-height: 1;
}

#breadcrumb li {
    font-size: 0.85em;
    color: #555;
    line-height: 1;
}

#breadcrumb li + li::before {
    content: ' > ';
    padding: 0 5px;
    color: #999;
}

#breadcrumb a {
    color: #1a237e;
    text-decoration: none;
    display: inline;
    margin: 0;
    padding: 0;
    line-height: 1;
}
#breadcrumb a:hover {
    text-decoration: underline;
}

/* =======================================================
    ヘッダー
    ======================================================= */
#mainHeader {
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    padding: 15px 5% 5px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 800;
    box-sizing: border-box;
}

/* ヘッダー内コンテンツ配置 */
.header-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

/* 左側：ブランドブロック */
.brand-block {
    display: flex;
    align-items: center;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.brand-hanawa {
    font-size: 32px;
    font-weight: bold;
    color: #d63384;
    margin-right: 20px;
}

.brand-hanawa a {
    font-size: 24px;
    font-weight: bold;
    color: #1a237e;
    text-decoration: none;
    white-space: nowrap;
}

.brand-labels {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.anshin {
    font-size: 22px;
    font-weight: bold;
    color: #333;
}

.mirai {
    font-size: 16px;
    color: #666;
}

/* 右側：インフォメーション */
.header-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
}

.header-right p {
    margin: 0px 0;
    font-size: 14px;
    color: #333;
}

.header-right .tel {
    font-weight: bold;
    font-size: 18px;
}

.header-right .contact-link a {
    color: #007bff;
    text-decoration: none;
    font-size: 14px;
}

.header-right .contact-link a:hover {
    text-decoration: underline;
}

/* =======================================================
    ナビゲーション
    ======================================================= */
#mainNav {
    background-color: #1a237e;
    position: fixed;
    width: 100%;
    top: 80px;
    left: 0;
    z-index: 999;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.main-nav-container {
    max-width: 1200px;
    margin: 0 auto;
}

#mainNav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
}

#mainNav ul li {
    flex: 1 1 auto;
    min-width: 160px;
    text-align: center;
}

#mainNav ul li a {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    padding: 10px 10px;
    font-weight: bold;
    height: 100%;
    text-decoration: none;
    transition: background-color 0.3s ease;
    box-sizing: border-box;
    line-height: 1.35;
    word-break: keep-all;
    font-size: 0.9rem;
}

#mainNav ul li a:hover,
#mainNav ul li a.active {
    background-color: #0d1257;
    text-decoration: none;
}

/* PC用ナビゲーションのドロップダウンメニュー */
.desktop-nav .has-dropdown {
    position: relative;
}

/* --- 親幅にフィット & 視認制御の安定化 --- */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    min-width: 100%;
    box-sizing: border-box;
    background-color: #1a237e;
    list-style: none;
    padding: 0;
    margin: 0;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    z-index: 1000;
    display: block;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.has-dropdown:hover > .dropdown-menu,
.has-dropdown:focus-within > .dropdown-menu {
    opacity: 1;
    visibility: visible;
}

.dropdown-menu li a {
    padding: 10px 15px;
    color: #fff;
    background-color: #1a237e;
    text-align: left;
    white-space: nowrap;
    justify-content: flex-start;
}

.dropdown-menu li a:hover,
.dropdown-menu li a:focus {
    background-color: #0d1257;
}

/* =========================
   ドロップダウン縦並び 修正
   ========================= */

/* トップ階層だけ flex を維持（明示スコープ） */
#mainNav .desktop-nav {
  display: flex;
  justify-content: center;
}

/* トップ階層 <li> だけ等分割 */
#mainNav .desktop-nav > li {
  flex: 1 1 auto;
  min-width: 160px;
  text-align: center;
}

/* --- ドロップダウンは縦積みに戻す --- */
#mainNav .dropdown-menu {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
}

/* ドロップダウン内の <li> は等分割を解除して横幅100% */
#mainNav .dropdown-menu > li {
  flex: 0 0 auto;
  min-width: auto;
  width: 100%;
  text-align: left;
}

/* ドロップダウン内のリンク体裁（左寄せ・横幅いっぱい） */
#mainNav .dropdown-menu > li > a {
  display: block;
  justify-content: flex-start;
  white-space: nowrap;
}

/* =======================================================
    メインコンテンツ
    ======================================================= */
#mainContent {
    padding-top: 140px;
}

/* ヒーローセクション */
.hero-section {
    color: #fff;
    text-align: center;
    padding: 100px 5%;
    height: 350px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}

.hero-section h2 {
    font-size: 3em;
    margin-bottom: 20px;
    color: #fff;
}

.hero-section p {
    font-size: 1.2em;
    margin-bottom: 30px;
}

/* サポート概要 */
.overview-points {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
    padding: 0 20px;
    box-sizing: border-box;
}

.overview-points > div {
    background-color: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    height: 300px;
    flex: 1 1 calc(50% - 30px);
    min-width: 280px;
    max-width: 450px;
    text-align: center;
    box-sizing: border-box;
}

.overview-points > div h4 {
    font-size: 1.4em;
    margin-top: 0;
    color: #1a237e;
}

/* overview-points / reason-item の中身は左寄せ */
.overview-points > div,
.reason-item {
    text-align: left;
}

/* 中の見出しだけ中央寄せ */
.overview-points > div h4,
.reason-item h4 {
    text-align: center;
}

/* 選ばれる理由 */
.reason-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
    padding: 0 20px;
    box-sizing: border-box;
}

.reason-item {
    background-color: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    height: 320px;
    flex: 1 1 calc(50% - 30px);
    min-width: 280px;
    max-width: 450px;
    text-align: center;
    box-sizing: border-box;
}

.reason-item .icon {
    font-size: 3em;
    margin-bottom: 15px;
    color: #1a237e;
}

/* フォーム */
.contact-form {
    max-width: 600px;
    margin: 40px auto;
    background-color: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #333;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group select,
.form-group textarea {
    width: calc(100% - 20px);
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
}

.form-group textarea {
    resize: vertical;
}

.form-group .required {
    color: #e53935;
    font-size: 0.9em;
    margin-left: 5px;
}

.contact-form button[type="submit"] {
    width: 100%;
    padding: 15px;
    font-size: 1.1em;
    cursor: pointer;
    border: none;
    background-color: #1a237e;
    color: #fff;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.contact-form button[type="submit"]:hover {
    background-color: #0d1257;
}

/* 各サービス詳細ページヒーロー */
.page-hero {
    background-color: #e0f2f7;
    padding: 100px 5%;
    text-align: center;
    margin-bottom: 40px;
}

.page-hero h2 {
    font-size: 2.5em;
    color: #1a237e;
    margin-bottom: 20px;
}

.page-hero p {
    font-size: 1.1em;
    max-width: 800px;
    margin: 0 auto;
    color: #333;
}

/* サービス内容リスト */
#service-details ul {
    list-style: none;
    padding: 0;
    margin-top: 30px;
}

#service-details ul li {
    background-color: #fff;
    padding: 20px;
    margin-bottom: 15px;
    border-left: 5px solid #1a237e;
    border-radius: 5px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

#service-details ul li strong {
    font-size: 1.1em;
    color: #1a237e;
}

/* フローリスト */
.flow-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
    counter-reset: flow-step;
}

.flow-list li {
    position: relative;
    padding: 20px 20px 20px 60px;
    margin-bottom: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.flow-list li::before {
    counter-increment: flow-step;
    content: counter(flow-step);
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    background-color: #1a237e;
    color: #fff;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    font-size: 1.2em;
}

/* FAQ */
.faq-item {
    background-color: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    margin-bottom: 15px;
    padding: 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.03);
}

.faq-item h4 {
    margin-top: 0;
    color: #1a237e;
    cursor: pointer;
}

.faq-item p {
    margin-bottom: 0;
}

/* =======================================================
    フッター
    ======================================================= */
#mainFooter {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 25px 5%;
    font-size: 0.9em;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

#mainFooter .footer-links a {
    color: #fff;
    margin: 0 10px;
}

#mainFooter .footer-links a:hover {
    text-decoration: underline;
}

.card-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.card-item {
    background-color: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.03);
    text-align: center;
}

.card-list2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.card-link2 {
    text-decoration: none;
    color: inherit;
}

.card-item2 {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    text-align: center;
    padding: 20px;
    transition: transform 0.3s ease;
}

.card-item2 img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    margin-bottom: 15px;
}

.card-item2 h3 {
    color: #1a237e;
    font-size: 1.4em;
    margin-bottom: 10px;
}

.card-item2 p {
    font-size: 1em;
    color: #555;
}

.card-item2:hover {
    transform: translateY(-5px);
}

/* カード全体は左寄せにする */
.card-item,
.card-item2 {
    text-align: left;
}

/* 見出しだけ中央寄せにする */
.card-item h3,
.card-item2 h3 {
    text-align: center;
}

.floating-cv { position: fixed; left:0; right:0; bottom: 0; width: 100%; display: flex; z-index: 2000; }
.floating-cv a { flex: 1; text-align: center; padding: 20px; color: #fff; text-decoration: none; font-weight: bold; }
.cv-form { background: var(--accent); }
.cv-tel { background: #00529b; }
.cv-mail { background: #0f172a; }
.cv-line { background: #06C755; }

/* =======================================================
    ハンバーガーメニューとサイドメニュー
    ======================================================= */
.hamburger {
    position: relative;
    width: 40px;
    height: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    position: relative;
    z-index: 999;
}

.hamburger span {
    display: block;
    width: 30px;
    height: 3px;
    background-color: #333;
    border-radius: 3px;
    transition: all 0.3s ease-in-out;
    margin: 3px 0;
}

/* ハンバーガーボタンがアクティブになった時のスタイル */
.hamburger.is-active span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}
.hamburger.is-active span:nth-child(2) {
    opacity: 0;
}
.hamburger.is-active span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

/* サイドメニューのスタイル */
.side-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 280px;
    height: 100vh;
    background-color: #fff;
    box-shadow: 2px 0 10px rgba(0,0,0,0.2);
    transition: left 0.3s ease-in-out;
    z-index: 950;
    overflow-y: auto;
}

.side-menu.is-open {
    left: 0;
}

.side-menu-header {
    padding: 20px;
    font-size: 1.2em;
    font-weight: bold;
    background-color: #1a237e;
    color: #fff;
}

.side-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.side-menu li a {
    display: block;
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
    color: #333;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.side-menu li a:hover {
    background-color: #f0f0f0;
}

/* オーバーレイのスタイル */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 900;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.overlay.is-active {
    opacity: 1;
    visibility: visible;
}

.logo-pc-only {
    display: none;
}

.bg-accent {
    background-color: #f0f8ff;
}
.highlight {
    border-left: 6px solid #007acc;
    padding-left: 1.5rem;
}
.fee-banner {
    background: linear-gradient(90deg, #007acc 0%, #00b7ff 100%);
    color: #fff;
    text-align: center;
    padding: 1.5rem 1rem;
    margin-top: -1rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.fee-banner-inner {
    max-width: 1000px;
    margin: 0 auto;
}

.fee-highlight {
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.fee-note {
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ボックスレイアウト */
.blog-table {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.blog-table th,
.blog-table td {
    padding: 10px;
    border: 1px solid #ccc;
    text-align: left;
}

.blog-table th {
    background-color: #f2f2f2;
}

/* ...（以下、現行踏襲：省略不可のため全文継続） */

.blog-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #fff;
    transition: background 0.3s, box-shadow 0.3s;
    text-decoration: none;
    color: inherit;
}

.blog-row:hover {
    background: #f9f9f9;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.clickable-row:hover {
    background-color: #f9f9f9;
}
.blog-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.btn-list {
    padding: 6px 12px;
    background-color: #007bff;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-size: 0.9rem;
}

.blog-list-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.blog-list-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    border: 1px solid #ccc;
    border-radius: 6px;
    text-decoration: none;
    background-color: #fff;
    transition: background-color 0.2s;
    color: inherit;
}

.blog-list-item:hover {
    background-color: #f5f5f5;
}

.blog-category {
    background: #4caf50;
    color: white;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.8rem;
    min-width: 90px;
    text-align: center;
}

.blog-title {
    flex: 1;
    font-weight: bold;
    padding: 0 16px;
}

.blog-date {
    font-size: 0.85rem;
    color: #666;
    min-width: 110px;
    text-align: right;
}

.blog-list-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1em;
}

.blog-list-header h2 {
    margin: 0;
}

.blog-search-form {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 24px;
    align-items: center;
}

.blog-search-form input[type="text"],
.blog-search-form select,
.blog-search-form input[type="date"] {
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 6px;
}

.blog-search-form button {
    background: #4caf50;
    color: white;
    padding: 8px 14px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}

.blog-search-form button:hover {
    background: #45a047;
}

.sp-only {
  display: none;
}

/*==================================================
  お客様の声セクション
==================================================*/
.testimonials-section {
  padding: 60px 20px;
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.testimonials-section h2 {
  font-size: 2.5rem;
  color: #333;
  margin-bottom: 10px;
  letter-spacing: 0.05em;
}

.testimonials-section p {
  font-size: 1rem;
  color: #666;
  line-height: 1.8;
  margin-bottom: 40px;
}

/*==================================================
  口コミウィジェットのコンテナ
==================================================*/
.review-widget-container {
  margin-bottom: 40px;
}

/*==================================================
  CTAボタン
==================================================*/
.cta-button-wrapper {
  margin-top: 20px;
}

.call-to-action-button {
  display: inline-block;
  padding: 15px 30px;
  background-color: #007bff;
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  border-radius: 8px;
  transition: background-color 0.3s ease;
  font-size: 1.1rem;
}

.call-to-action-button:hover {
  background-color: #0056b3;
}

/* =========================================
   特設ページへの横長オレンジボタン
   ========================================= */

.hub-big-button-wrapper {
  text-align: center;
  margin: 40px auto 50px;
}

.hub-big-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  padding: 16px 40px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff9800, #ffb74d);
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.03em;

  text-decoration: none;
  box-shadow: 0 4px 12px rgba(255, 152, 0, 0.35);

  transition: transform 0.15s ease-out,
              box-shadow 0.15s ease-out,
              background 0.2s ease-out;
}

.hub-big-button-icon {
  font-size: 1.3rem;
  display: inline-block;
  transform: translateY(-1px);
}

.hub-big-button:hover {
  transform: translateY(-3px);
  background: linear-gradient(135deg, #ffa726, #ffcc80);
  box-shadow: 0 6px 16px rgba(255, 152, 0, 0.45);
}

/* ===== Footer ===== */
footer{background:#1a1a1a;color:#999;padding:5px 40px 5px;text-align:center;font-size:13px}
.footer-content{max-width:1200px;margin:0 auto;display:grid;grid-template-columns:repeat(4,1fr);gap:30px;margin-bottom:5px;text-align:left}
.footer-section h4{color:#fff;font-size:14px;font-weight:600;margin-bottom:15px}
.footer-section ul{list-style:none}
.footer-section ul li{margin-bottom:8px}
.footer-section a{color:#999;text-decoration:none;transition:.3s}
.footer-section a:hover{color:#C6A885}
.footer-divider{border-top:1px solid #333;padding-top:5px}
.footer-bottom{display:flex;justify-content:space-between;align-items:center;font-size:12px}

/* =======================================================
    レスポンシブデザイン
    ======================================================= */
@media (min-width: 769px) {
    .hamburger {
        display: none;
    }
    .side-menu,
    .overlay {
        display: none;
    }
    .logo-pc-only {
        display: block;
        margin-left: 10px;
    }
    .logo-pc-only img {
        height: 40px;
        vertical-align: middle;
    }
}

@media (max-width: 768px) {
    #mainHeader {
        padding: 5px 5%;
    }
    .header-content .logo h1 {
        font-size: 20px;
    }
    .header-content .contact-info p {
        font-size: 14px;
    }

    .brand-hanawa a {
        font-size: 16px;
        line-height: 1;
        display: inline-block;
    }

    .brand-hanawa br.sp-only {
        line-height: 0;
        margin: 0;
        padding: 0;
    }
    .header-right p,
    .header-right .tel,
    .anshin,
    .mirai {
        font-size: 12px;
    }

    .header-content {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
        gap: 10px;
    }

    .brand-block,
    .header-right {
        flex: 1 1 45%;
    }

    .header-left {
        align-self: flex-start;
    }

    .brand-block {
        flex-direction: column;
        align-items: flex-start;
        gap: 0px;
    }

    .brand-hanawa {
        margin-right: 0;
    }

    .brand-labels {
        flex-direction: column;
        justify-content: flex-start;
        margin-left: 0;
        align-items: flex-start;
    }

    .anshin,
    .mirai {
        writing-mode: horizontal-tb;
        text-orientation: mixed;
        white-space: nowrap;
    }

    .section-padding {
        padding: 40px 15px;
    }

    #mainNav {
        position: relative !important;
        top: auto !important;
        transform: none !important;
        z-index: auto !important;
        padding: 0;
    }
    .main-nav-container {
        display: none;
    }

    #mainContent {
        padding-top: 120px;
    }

    #breadcrumb-container {
        margin-top: 30px;
    }

    .hero-section h2 {
        font-size: 1.6em;
    }
    .hero-section p {
        font-size: 1em;
    }
    .page-hero h2 {
        font-size: 1.6em;
    }
    .overview-points, .reason-list {
        flex-direction: column;
        align-items: center;
        padding: 0 15px;
        gap: 20px;
    }
    .overview-points > div, .reason-item {
        width: 100%;
        max-width: none;
        padding: 20px;
        height: auto;
    }

    .flow-list li {
        padding-left: 45px;
    }
    .flow-list li::before {
        left: 10px;
        width: 25px;
        height: 25px;
        font-size: 1em;
    }

    .card-list {
        display: flex;
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }
    .card-item {
        width: 90%;
        max-width: 400px;
    }

    .card-list2 {
        display: flex;
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }
    .card-link2 {
        width: 90%;
        max-width: 400px;
        text-decoration: none;
        box-sizing: border-box;
    }
    .card-item2 {
        width: 90%;
    }

    #support-reasons {
      display: flex;
      flex-direction: column;
      gap: 20px;
      align-items: center;
    }
    #support-reasons {
      width: 100%;
      max-width: 400px;
    }

    #support-service {
      display: flex;
      flex-direction: column;
      gap: 20px;
      align-items: center;
    }
    #support-service {
      width: 100%;
      max-width: 400px;
      text-decoration: none;
    }
    #support-service {
      width: 100%;
    }

    .desktop-nav {
        display: none !important;
    }

    .hamburger {
        display: flex !important;
        position: relative;
        width: 40px;
        height: 40px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        background: none;
        border: none;
        cursor: pointer;
        padding: 0;
    }
    #mainNav.scrolled {
        position: relative !important;
        top: auto !important;
        transform: none !important;
    }
    .blog-body-pc,
    .blog-date-pc {
        display: none;
    }

    .blog-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .blog-category,
    .blog-date {
        display: none;
    }

    .blog-title {
        padding: 0;
    }

    .btn-list {
        font-size: 1em;
        width: 100%;
        text-align: center;
        margin-top: 1em;
    }

    .blog-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    .sp-only {
      display: block;
    }

    .testimonials-section h2 {
      font-size: 1.5rem;
    }

    .testimonials-section p {
      font-size: 0.9rem;
    }

    .call-to-action-button {
      width: 100%;
      padding: 12px 20px;
      font-size: 1rem;
      box-sizing: border-box;
    }

  footer {
    background-color: #111;
    color: #ccc;
    padding: 25px 15px;
    font-size: 14px;
    line-height: 1.6;
  }

  .footer-content {
    display: flex;
    flex-direction: column;
    gap: 25px;
  }

  .footer-section {
    border-top: 1px solid #333;
    padding-top: 15px;
  }

  .footer-section h4 {
    font-size: 16px;
    margin-bottom: 10px;
    color: #fff;
    position: relative;
  }

  .footer-section h4::after {
    content: "＋";
    position: absolute;
    right: 0;
    color: #bbb;
  }

  .footer-section ul {
    display: none;
    margin-top: 8px;
  }

  .footer-section:focus-within ul,
  .footer-section:hover ul {
    display: block;
  }

  .footer-section ul li {
    list-style: none;
    margin: 5px 0;
  }

  .footer-section a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
  }

  .footer-section a:hover {
    color: #fff;
  }

  .footer-content > .footer-section:first-child p {
    font-size: 15px;
    color: #eee;
  }

  .footer-section:last-child p {
    font-size: 14px;
    margin: 8px 0;
  }
  .footer-section:last-child a {
    color: #fff;
    font-weight: bold;
  }

  .footer-divider {
    border-top: 1px solid #333;
    margin-top: 30px;
    padding-top: 15px;
    text-align: center;
  }

  .footer-bottom p {
    font-size: 12px;
    color: #aaa;
    margin-bottom: 10px;
  }

  .footer-links {
    font-size: 12px;
  }

  .footer-links a {
    color: #bbb;
    text-decoration: none;
  }
  .footer-links a:hover {
    color: #fff;
  }
  .hub-big-button {
    width: 92%;
    padding: 14px 20px;
    font-size: 1rem;
    white-space: normal;
    line-height: 1.6;
  }
}

/* =======================================================
   不服申立て等（/toku-gyo/）ページ専用（他ページへ影響させない）
   ======================================================= */
.page-fufuku .hero-section.hero-fufuku {
  position: relative;
  height: auto;
  min-height: 420px;
  padding: 140px 5% 70px;
  overflow: hidden;
}
.page-fufuku .hero-section.hero-fufuku::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
}
.page-fufuku .hero-section.hero-fufuku .hero-text {
  position: relative;
  max-width: 980px;
  width: 100%;
  margin: 0 auto;
  text-align: left;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 14px;
  padding: 22px 22px 18px;
  backdrop-filter: blur(2px);
}
.page-fufuku .hero-section.hero-fufuku h1,
.page-fufuku .hero-section.hero-fufuku h2,
.page-fufuku .hero-section.hero-fufuku h3 {
  color: #fff;
  margin-top: 0;
}
.page-fufuku .hero-kicker {
  margin: 0 0 8px;
  font-size: 0.95rem;
  opacity: 0.95;
}
.page-fufuku .hero-lead {
  margin: 10px 0 14px;
  font-size: 1.05rem;
}
.page-fufuku .hero-points {
  margin: 0 0 14px;
  padding-left: 1.2rem;
}
.page-fufuku .hero-points li { margin: 6px 0; }
.page-fufuku .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 14px;
}
.page-fufuku .hero-actions a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  line-height: 1.2;
}
.page-fufuku .hero-note {
  margin: 12px 0 0;
  font-size: 0.9rem;
  opacity: 0.95;
}

.btn-line {
  display: inline-block;
  background-color: #06C755;
  color: #fff;
  padding: 12px 25px;
  border-radius: 5px;
  transition: filter 0.2s ease;
}
.btn-line:hover { filter: brightness(0.92); text-decoration: none; color: #fff; }

.btn-ghost {
  display: inline-block;
  background: rgba(255,255,255,0.18);
  color: #fff;
  padding: 12px 25px;
  border-radius: 5px;
  border: 1px solid rgba(255,255,255,0.35);
  transition: background-color 0.2s ease;
}
.btn-ghost:hover { background: rgba(255,255,255,0.28); text-decoration: none; color: #fff; }

.page-fufuku .tldr-box {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 22px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.04);
}
.page-fufuku .tldr-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 14px;
}
.page-fufuku .tldr-item {
  background: #fafafa;
  border: 1px solid #eee;
  border-radius: 10px;
  padding: 14px 14px 10px;
}
.page-fufuku .tldr-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 14px;
}
.page-fufuku .tldr-note,
.page-fufuku .note { font-size: 0.92rem; color: #555; margin-top: 10px; }

.page-fufuku .scope-box {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.03);
}
.page-fufuku .deadline-points,
.page-fufuku .fee-points,
.page-fufuku .pitfall-list { padding-left: 1.2rem; }
.page-fufuku .center-cta { text-align:center; margin-top: 20px; }

.page-fufuku .cta-box {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 22px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.04);
}
.page-fufuku .cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 12px;
}

.page-fufuku .faq-item {
  padding: 0;
  overflow: hidden;
}
.page-fufuku .faq-item details {
  padding: 16px 18px;
}
.page-fufuku .faq-item summary {
  cursor: pointer;
  font-weight: bold;
  color: #1a237e;
  list-style: none;
}
.page-fufuku .faq-item summary::-webkit-details-marker { display: none; }
.page-fufuku .faq-body { margin-top: 10px; }

@media (max-width: 768px) {
  .page-fufuku .hero-section.hero-fufuku { padding: 120px 5% 55px; }
  .page-fufuku .tldr-grid { grid-template-columns: 1fr; }
  .page-fufuku .hero-actions a,
  .page-fufuku .tldr-cta a,
  .page-fufuku .cta-actions a { width: 100%; box-sizing: border-box; }
}

/* ===== 2026 refinement overrides ===== */
#mainHeader{padding:12px 4% 6px;}
.header-content{gap:16px;}
.brand-hanawa a{font-size:22px;line-height:1.2;}
#mainNav{top:72px;background:#172554;box-shadow:0 6px 18px rgba(15,23,42,.12);}
#mainNav .desktop-nav{gap:0;align-items:stretch;}
#mainNav .desktop-nav > li{min-width:120px;max-width:none;}
#mainNav ul li a{padding:12px 12px;font-size:.95rem;}
#mainNav .dropdown-menu{background:#172554;border-top:1px solid rgba(255,255,255,.12);}
#mainNav .dropdown-menu li a{font-size:.88rem;line-height:1.5;padding:12px 14px;}
#mainNav .nav-contact-link{background:#0f766e;}
#mainContent{padding-top:128px;}
.hero-section{height:auto;min-height:320px;padding:86px 5% 72px;}
.hero-section h1{font-size:clamp(2rem,4vw,3.1rem);margin:0 0 18px;color:#fff;line-height:1.25;}
.hero-section p{max-width:860px;margin:0 auto 24px;}
.btn-primary,.btn-secondary,.call-to-action-button{border-radius:999px;padding:14px 24px;font-weight:700;}
.btn-primary{background:#0f766e;}
.btn-primary:hover{background:#115e59;text-decoration:none;}
.btn-secondary{border-color:#0f766e;color:#0f766e;}
.btn-secondary:hover{background:#0f766e;color:#fff;text-decoration:none;}
.call-to-action-button{background:#0f766e;}
.call-to-action-button:hover{background:#115e59;}
.section-intro{max-width:840px;margin:12px auto 0;color:#475569;text-align:center;}
.service-guide-section{padding-top:72px;padding-bottom:72px;}
.audience-split{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin-top:32px;}
.audience-entry{display:block;background:#fff;border:1px solid #dbe3ee;border-radius:18px;padding:28px;box-shadow:0 14px 32px rgba(15,23,42,.08);color:#0f172a;text-decoration:none;transition:transform .2s ease, box-shadow .2s ease,border-color .2s ease;}
.audience-entry:hover{transform:translateY(-3px);box-shadow:0 18px 36px rgba(15,23,42,.12);text-decoration:none;}
.audience-entry__eyebrow{display:inline-block;padding:6px 12px;border-radius:999px;background:#e2e8f0;color:#0f172a;font-size:.82rem;font-weight:700;margin-bottom:14px;}
.audience-entry--business .audience-entry__eyebrow{background:#dcfce7;color:#166534;}
.audience-entry--personal .audience-entry__eyebrow{background:#dbeafe;color:#1d4ed8;}
.audience-entry h3{margin:0 0 10px;font-size:1.5rem;color:#172554;text-align:left;}
.audience-entry p{margin:0;color:#475569;}
.audience-entry__link{display:inline-flex;align-items:center;gap:6px;margin-top:18px;font-weight:700;color:#0f766e;}
.service-group{margin-top:42px;}
.service-group h3{font-size:1.55rem;margin-bottom:18px;text-align:left;}
.service-card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;}
.service-card-grid--personal{grid-template-columns:repeat(2,minmax(0,1fr));}
.service-card{display:block;background:#fff;border:1px solid #dbe3ee;border-radius:18px;padding:24px;box-shadow:0 12px 28px rgba(15,23,42,.07);text-decoration:none;color:#0f172a;transition:transform .2s ease, box-shadow .2s ease,border-color .2s ease;}
.service-card:hover{transform:translateY(-3px);box-shadow:0 18px 32px rgba(15,23,42,.11);text-decoration:none;}
.service-card__icon{display:inline-flex;align-items:center;justify-content:center;width:48px;height:48px;border-radius:14px;background:linear-gradient(135deg,#172554,#1d4ed8);color:#fff;font-weight:800;font-size:1.15rem;margin-bottom:16px;}
.service-card__label{display:block;font-size:1.2rem;font-weight:800;color:#172554;margin-bottom:10px;}
.service-card p{margin:0;color:#475569;line-height:1.8;}
.hub-big-button{background:linear-gradient(135deg,#1d4ed8,#3b82f6);box-shadow:0 8px 20px rgba(37,99,235,.25);}
.hub-big-button:hover{background:linear-gradient(135deg,#1e40af,#2563eb);}
.card-list,.card-list2{gap:24px;}
.card-item,.card-item2{border-radius:16px;box-shadow:0 14px 30px rgba(15,23,42,.08);padding:24px;border:1px solid #dbe3ee;}
.card-item2 img{display:none;}
footer{background:#0f172a;color:#cbd5e1;padding:38px 24px 18px;}
.footer-content{max-width:1200px;margin:0 auto;display:grid;grid-template-columns:1.2fr 1fr 1fr 1fr;gap:28px;align-items:start;}
.footer-section{border:0;padding-top:0;}
.footer-section h4{font-size:1rem;margin-bottom:14px;color:#fff;}
.footer-section h4::after{display:none;}
.footer-section ul{display:block;margin:0;padding:0;}
.footer-section ul li{list-style:none;margin:0 0 10px;}
.footer-section a{color:#e2e8f0;}
.footer-section a:hover{color:#ffffff;}
.footer-section--intro p{margin:0 0 10px;color:#cbd5e1;}
.footer-divider{margin-top:18px;padding-top:14px;border-top:1px solid rgba(255,255,255,.12);}
.footer-bottom{max-width:1200px;margin:0 auto;display:flex;justify-content:space-between;gap:16px;align-items:center;flex-wrap:wrap;}
.floating-cv a{padding:16px 12px;}
@media (max-width: 900px){
  #mainNav .desktop-nav > li{min-width:0;}
  #mainNav ul li a{font-size:.86rem;padding:12px 8px;}
  .audience-split,.service-card-grid,.service-card-grid--personal{grid-template-columns:1fr;}
  .footer-content{grid-template-columns:1fr 1fr;}
}
@media (max-width: 768px){
  #mainHeader{padding:8px 4%;}
  #mainNav{top:64px;overflow-x:auto;}
  #mainNav .main-nav-container{min-width:760px;}
  #mainContent{padding-top:118px;}
  .hero-section{padding:68px 5% 56px;}
  .hero-section h1{font-size:1.9rem;}
  .service-guide-section{padding-top:56px;padding-bottom:56px;}
  .audience-entry,.service-card{padding:22px;}
  .footer-content{grid-template-columns:1fr;}
  .floating-cv a{padding:14px 6px;font-size:.92rem;}
}

/* =======================================================
   Phase 2: root top rebuild
   ======================================================= */
body.rebuild-home {
    --home-header-height: 122px;
    background: #f4f7fb;
    color: #1d2735;
}
body.rebuild-home a:hover { text-decoration: none; }
body.rebuild-home #mainContent {
    padding-top: var(--home-header-height);
}
body.rebuild-home main section[id] {
    scroll-margin-top: calc(var(--home-header-height) + 24px);
}
body.rebuild-home .section-padding {
    max-width: 1180px;
    padding: 72px 24px;
}
.site-header-modern {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 1100;
    background: rgba(255,255,255,.96);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(26,54,93,.08);
}
body.rebuild-home #mainHeader{padding:0 !important;}
.site-header-modern.is-scrolled { box-shadow: 0 10px 30px rgba(18,38,63,.10); }
.site-header-modern__inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: 14px 24px 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}
.site-header-modern__brand {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
    color: #123056;
}
.site-header-modern__brand img { width: 56px; height: 56px; object-fit: contain; flex: 0 0 auto; }
.site-header-modern__titles { display: flex; flex-direction: column; min-width: 0; }
.site-header-modern__title { font-size: 1.25rem; font-weight: 800; line-height: 1.2; color: #123056; }
.site-header-modern__tag { font-size: .82rem; color: #4b5b70; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.site-header-modern__actions { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.site-header-modern__tel { font-size: 1.1rem; font-weight: 800; color: #123056; }
.site-header-modern__hours { font-size: .75rem; color: #526579; text-align: right; max-width: 340px; }
.site-header-modern__toggle {
    display: none; border: 1px solid rgba(18,48,86,.2); background: #fff; color: #123056; border-radius: 999px;
    padding: 10px 16px; font-weight: 700; cursor: pointer;
}
.global-nav-modern {
    width: 100%;
    margin: 0;
    border-top: 1px solid rgba(18,54,93,.08);
    background: #123056;
}
.global-nav-modern__inner { max-width: 100%; margin: 0 auto; padding: 0 16px; }
.global-nav-modern__list {
    display: flex; align-items: center; justify-content: center; gap: 8px; list-style: none; margin: 0; padding: 10px 0;
}
.global-nav-modern__list li { margin: 0; }
.global-nav-modern__list a {
    display: inline-flex; align-items: center; justify-content: center; padding: 10px 14px; color: #fff; border-radius: 999px;
    font-weight: 700; font-size: .94rem; transition: background-color .2s ease, transform .2s ease;
}
.global-nav-modern__list a:hover,
.global-nav-modern__list a:focus-visible { background: rgba(255,255,255,.14); transform: translateY(-1px); }
.global-nav-modern__contact { background: #e4a941; color: #123056 !important; }
.home-hero {
    background: linear-gradient(135deg, #0f2748 0%, #143a6b 45%, #0d6b63 100%);
    color: #fff; position: relative; overflow: hidden;
}
.home-hero::before {
    content: ''; position: absolute; inset: 0; background: radial-gradient(circle at top right, rgba(255,255,255,.18), transparent 42%);
}
.home-hero__inner {
    position: relative; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr); gap: 36px; align-items: center;
}
.home-hero__eyebrow { font-size: .88rem; letter-spacing: .08em; text-transform: uppercase; margin: 0 0 16px; color: #d7e6ff; font-weight: 700; }
.home-hero h1 { font-size: clamp(2rem, 4vw, 3.5rem); line-height: 1.15; margin: 0 0 18px; color: #fff; }
.home-hero__lead { font-size: 1.05rem; line-height: 1.9; margin: 0; color: rgba(255,255,255,.92); }
.home-hero__visual {
    margin: 0; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); border-radius: 24px; overflow: hidden; box-shadow: 0 24px 48px rgba(0,0,0,.22);
}
.home-hero__visual img { display: block; width: 100%; height: 100%; min-height: 380px; object-fit: cover; }
.home-hero__visual figcaption { padding: 14px 18px; font-size: .92rem; background: rgba(6,18,35,.72); }
.hero-cta-group { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 24px; }
.hero-cta-group--secondary{display:none;}
.hero-cta, .contact-cta {
    display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 22px; border-radius: 999px; font-weight: 800;
    box-sizing: border-box; transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.hero-cta-group--primary .hero-cta{min-width: 240px;}
.hero-cta { background: #e4a941; color: #123056; box-shadow: 0 12px 24px rgba(0,0,0,.16); }
.hero-cta--sub { background: #fff; color: #123056; }
.hero-cta--ghost { background: rgba(255,255,255,.12); color: #fff; border: 1px solid rgba(255,255,255,.28); }
.contact-cta { background: rgba(255,255,255,.10); color: #fff; border: 1px solid rgba(255,255,255,.2); font-size: .95rem; }
.contact-cta--form{background:#ea8620;border-color:#ea8620;color:#fff;}
.contact-cta--tel{background:#165ea8;border-color:#165ea8;color:#fff;}
.contact-cta--line{background:#17b64b;border-color:#17b64b;color:#fff;}
.hero-cta:hover, .contact-cta:hover { transform: translateY(-1px); }
.home-section { position: relative; }
.section-heading { max-width: 760px; margin-bottom: 28px; }
.section-heading__eyebrow { margin: 0 0 10px; color: #0f6b63; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; font-size: .82rem; }
.section-heading h2 { margin: 0 0 14px; font-size: clamp(1.6rem, 2.5vw, 2.5rem); line-height: 1.28; color: #123056; }
.section-heading p { margin: 0; color: #4d5f74; line-height: 1.85; }
.section-heading--center { text-align: center; margin-left: auto; margin-right: auto; }
.feature-grid,
.audience-grid,
.about-grid { display: grid; gap: 22px; }
.feature-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.feature-card,
.audience-card,
.about-card,
.faq-card,
.service-card,
.blog-row {
    background: #fff; border: 1px solid rgba(18,48,86,.08); border-radius: 22px; box-shadow: 0 18px 40px rgba(18,48,86,.08);
}
.feature-card, .about-card, .faq-card { padding: 24px; }
.feature-card h3, .about-card h3, .faq-card h3 { margin: 0 0 12px; font-size: 1.08rem; color: #123056; }
.feature-card p, .about-card p, .faq-card p { margin: 0; color: #54677d; line-height: 1.85; }
.audience-grid { grid-template-columns: repeat(2, minmax(0,1fr)); margin-bottom: 30px; }
.audience-card { display: block; padding: 28px; color: #1d2735; }
.audience-card--business { background: linear-gradient(180deg, rgba(19,58,107,.06), rgba(19,58,107,.02)); }
.audience-card--personal { background: linear-gradient(180deg, rgba(15,107,99,.06), rgba(15,107,99,.02)); }
.audience-card__eyebrow { display: inline-flex; margin-bottom: 12px; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 800; color: #0f6b63; }
.audience-card h3 { margin: 0 0 12px; font-size: 1.35rem; color: #123056; }
.audience-card p { margin: 0 0 16px; color: #54677d; line-height: 1.8; }
.audience-card__link { color: #123056; font-weight: 800; }
.service-columns { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 28px; }
.service-columns h3 { margin: 0 0 16px; font-size: 1.2rem; color: #123056; }
.service-card-grid { display: grid; gap: 16px; }
.service-card-grid--business{grid-template-columns:repeat(2,minmax(0,1fr));}
.service-card { display: block; padding: 22px; color: #1d2735; }
.service-card span { display: block; margin-bottom: 8px; font-size: 1.02rem; font-weight: 800; color: #123056; }
.service-card p { margin: 0; color: #54677d; line-height: 1.8; }
.about-card__links{display:flex;flex-wrap:wrap;gap:10px;margin-top:16px;}
.about-card__links--compact a{min-height:38px;padding:0 14px;font-size:.94rem;}
.about-card__links a{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:0 16px;border-radius:999px;border:1px solid rgba(18,48,86,.12);background:#f7f9fc;color:#123056;font-weight:700;}
.about-card__links a:hover{background:#eef3fb;}
body.rebuild-home #latest-blogs { padding-top: 0; }
body.rebuild-home .blog-header {
    display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px;
}
body.rebuild-home .blog-header h2 { margin: 0; font-size: clamp(1.4rem, 2.2vw, 2rem); color: #123056; }
body.rebuild-home .btn-list {
    display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 16px; border-radius: 999px; background: #123056; color: #fff; font-weight: 700;
}
body.rebuild-home .blog-table { display: grid; gap: 14px; }
body.rebuild-home .blog-row {
    display: grid; grid-template-columns: 140px minmax(0,1fr) 120px; align-items: center; gap: 18px; padding: 18px 20px;
}
body.rebuild-home .blog-category {
    display: inline-flex; align-items: center; justify-content: center; min-height: 34px; padding: 0 12px; background: rgba(19,58,107,.08); border-radius: 999px; color: #123056; font-weight: 700; font-size: .85rem;
}
body.rebuild-home .blog-title { min-width: 0; font-weight: 700; color: #1d2735; }
body.rebuild-home .blog-date { text-align: right; color: #667789; font-size: .9rem; }
.about-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
.about-card--map iframe { width: 100%; min-height: 260px; border: 0; border-radius: 14px; }
.faq-list-modern { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; }
.contact-shell {
    max-width: 860px; margin: 0 auto; background: #fff; border: 1px solid rgba(18,48,86,.08); border-radius: 26px; box-shadow: 0 18px 40px rgba(18,48,86,.08); padding: 28px;
}
body.rebuild-home .contact-form h2 { display: none; }
body.rebuild-home .contact-form { margin: 0; }
.home-cross-links{background:#f5f7fb;border-top:1px solid rgba(18,48,86,.08);border-bottom:1px solid rgba(18,48,86,.08);}
.home-cross-links__inner{display:flex;align-items:flex-start;gap:18px;padding-top:16px !important;padding-bottom:16px !important;}
.home-cross-links__heading{flex:0 0 auto;margin:0;color:#123056;font-size:1rem;font-weight:800;}
.home-cross-links__list{display:grid;gap:10px 16px;}
.home-cross-links__list a{display:inline;color:#123056;font-weight:700;line-height:1.7;text-decoration:underline;text-underline-offset:2px;}
.home-cross-links__list a:hover{color:#0b1f3a;}
.site-footer-modern { background: #0f2748; color: rgba(255,255,255,.82); margin-top: 0; }
.site-footer-modern__inner { max-width: 1120px; margin: 0 auto; padding: 28px 24px 28px; }
.site-footer-modern__intro { max-width: 760px; margin: 0 auto 24px; text-align: center; }
.site-footer-modern__intro h2 { margin: 0 0 8px; color: #fff; font-size: 1.5rem; }
.site-footer-modern__intro p { margin: 0; line-height: 1.75; color: rgba(255,255,255,.78); }
.site-footer-modern__grid { display: grid; grid-template-columns: 1fr 1fr 1fr 1fr; gap: 22px; align-items: start; }
.site-footer-modern__grid h3 { margin: 0 0 10px; color: #fff; font-size: 1rem; }
.site-footer-modern__grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer-modern__grid li, .site-footer-modern__grid a { color: rgba(255,255,255,.78); line-height: 1.65; }
.site-footer-modern__grid a:hover{color:#fff;}
.site-footer-modern__bottom { margin-top: 18px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.12); font-size: .88rem; text-align:center; }
.mobile-cta-bar {
    display: none; position: fixed; left: 12px; right: 12px; bottom: 10px; z-index: 1200; background: rgba(15,39,72,.94); border-radius: 14px; padding: 6px; gap: 6px;
    box-shadow: 0 14px 30px rgba(0,0,0,.18);
}
.mobile-cta-bar a {
    flex: 1 1 0; display: inline-flex; align-items: center; justify-content: center; min-height: 38px; border-radius: 10px; color: #fff; font-weight: 800; font-size: .84rem;
}
.mobile-cta-bar__form{background:#ea8620;}
.mobile-cta-bar__tel{background:#165ea8;}
.mobile-cta-bar__line{background:#17b64b;}
@media (max-width: 980px) {
    body.rebuild-home { --home-header-height: 110px; }
    .site-header-modern__inner { padding: 12px 18px 10px; }
    .site-header-modern__tag { display: none; }
    .site-header-modern__actions { align-items: flex-end; }
    .site-header-modern__hours { max-width: 240px; }
    .feature-grid, .faq-list-modern, .about-grid, .service-columns, .audience-grid, .home-hero__inner { grid-template-columns: 1fr; }
    body.rebuild-home .blog-row { grid-template-columns: 1fr; align-items: start; }
    body.rebuild-home .blog-date { text-align: left; }
}
@media (max-width: 767px) {
    body.rebuild-home { --home-header-height: 82px; }
    body.rebuild-home .section-padding { padding: 56px 18px; }
    .site-header-modern__inner { padding: 10px 16px; gap: 12px; }
    .site-header-modern__brand img { width: 44px; height: 44px; }
    .site-header-modern__title { font-size: 1rem; }
    .site-header-modern__hours,
    .site-header-modern__tel { display: none; }
    .site-header-modern__toggle { display: inline-flex; }
    .global-nav-modern { display: none; border-top: 0; }
    .global-nav-modern.is-open { display: block; }
.global-nav-modern__inner { padding: 0 16px 12px; }
    .global-nav-modern__list { flex-direction: column; align-items: stretch; gap: 6px; padding: 10px 0 0; }
    .global-nav-modern__list a { width: 100%; justify-content: center; padding: 10px 12px; }
    .home-hero h1 { font-size: 1.9rem; }
    .home-hero__lead { font-size: 1rem; }
    .home-hero__visual img { min-height: 250px; }
    .hero-cta-group { flex-direction: column; gap: 10px; }
    .hero-cta, .contact-cta { width: 100%; min-height: 46px; padding: 0 18px; }
    .home-cross-links__inner{flex-direction:column;align-items:flex-start;gap:10px;}
    .home-cross-links__list{width:100%;}
    .home-cross-links__list a{width:auto;display:block;}
    body.rebuild-home #latest-blogs .blog-header { flex-direction: column; align-items: stretch; }
    .site-footer-modern__inner { padding: 28px 18px 76px; }
    .site-footer-modern__grid { grid-template-columns: 1fr 1fr; }
    .service-card-grid--business, .service-card-grid--personal { grid-template-columns: 1fr 1fr; }
    .service-card { padding: 16px; border-radius: 18px; }
    .service-card span { font-size: .96rem; }
    .service-card p { font-size: .92rem; line-height: 1.65; }
    .mobile-cta-bar { display: flex; }
}
@media (max-width: 520px) {
    .site-footer-modern__grid { grid-template-columns: 1fr; }
    .service-card-grid--business, .service-card-grid--personal { grid-template-columns: 1fr; }
    .home-cross-links__list a{width:100%;}
    .mobile-cta-bar { left: 10px; right: 10px; bottom: 8px; }
}
body.rebuild-home .blog-empty-state {
    background: #fff;
    border: 1px solid rgba(18,48,86,.08);
    border-radius: 22px;
    box-shadow: 0 18px 40px rgba(18,48,86,.08);
    padding: 28px;
    color: #54677d;
}
body.rebuild-home .blog-empty-state p { margin: 0 0 14px; }

body.rebuild-home .site-header-modern .global-nav-modern__list{margin:0;}

/* =======================================================
   Root representative pages rebuilt shell
   ======================================================= */
body.rebuild-root {
    --root-header-height: 110px;
    background: #f4f7fb;
    color: #1d2735;
}
body.rebuild-root #mainContent { padding-top: var(--root-header-height); }
body.rebuild-root main section[id] { scroll-margin-top: calc(var(--root-header-height) + 24px); }
body.rebuild-root .section-padding { max-width: 1180px; padding: 72px 24px; }
body.rebuild-root #mainHeader{padding:0 !important;}
body.rebuild-root a:hover { text-decoration: none; }
body.rebuild-root .root-shell-main {
    padding-top: var(--root-header-height);
}
body.rebuild-root .root-breadcrumb {
    padding-top: 18px;
    padding-bottom: 0;
}
body.rebuild-root .root-breadcrumb ol {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    padding: 0;
    margin: 0;
    color: #667789;
    font-size: .88rem;
}
body.rebuild-root .root-breadcrumb li + li::before {
    content: '›';
    margin: 0 8px;
    color: #97a5b5;
}
body.rebuild-root .root-page-hero {
    padding-top: 28px;
    padding-bottom: 32px;
}
body.rebuild-root .root-page-hero__inner {
    background: linear-gradient(135deg, #123056 0%, #264f7f 100%);
    color: #fff;
    border-radius: 28px;
    padding: 42px 40px;
    box-shadow: 0 20px 40px rgba(17, 39, 72, .16);
}
body.rebuild-root .root-page-hero__eyebrow,
body.rebuild-root .section-heading__eyebrow {
    margin: 0 0 12px;
    font-size: .85rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #8da6c5;
    font-weight: 700;
}
body.rebuild-root .root-page-hero__inner .root-page-hero__eyebrow { color: #d5e5fb; }
body.rebuild-root .root-page-hero h1 {
    margin: 0 0 14px;
    font-size: clamp(1.9rem, 3vw, 2.8rem);
    line-height: 1.25;
    color: #fff;
}
body.rebuild-root .root-page-hero__lead {
    margin: 0;
    max-width: 860px;
    font-size: 1rem;
    line-height: 1.9;
    color: rgba(255,255,255,.9);
}
body.rebuild-root .root-page-section {
    padding-top: 28px;
    padding-bottom: 28px;
}
body.rebuild-root .section-heading { max-width: 860px; margin-bottom: 22px; }
body.rebuild-root .section-heading--compact { margin-bottom: 18px; }
body.rebuild-root .section-heading h2 { margin: 0 0 10px; color: #123056; font-size: clamp(1.5rem, 2.5vw, 2.1rem); }
body.rebuild-root .section-heading p { margin: 0; color: #526171; line-height: 1.8; }

body.rebuild-root .blog-filter-modern,
body.rebuild-root .blog-list-modern,
body.rebuild-root .blog-article-modern,
body.rebuild-root .sitemap-modern__grid {
    width: 100%;
}
body.rebuild-root .blog-filter-modern {
    background: #fff;
    border: 1px solid #dde6f0;
    border-radius: 22px;
    padding: 24px;
    box-shadow: 0 12px 28px rgba(18, 48, 86, .06);
}
body.rebuild-root .blog-filter-modern__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}
body.rebuild-root .blog-filter-modern label span {
    display: block;
    margin-bottom: 8px;
    font-size: .9rem;
    font-weight: 700;
    color: #123056;
}
body.rebuild-root .blog-filter-modern input,
body.rebuild-root .blog-filter-modern select {
    width: 100%;
    height: 48px;
    border: 1px solid #cdd8e5;
    border-radius: 12px;
    padding: 0 14px;
    box-sizing: border-box;
    background: #fbfdff;
    color: #1d2735;
}
body.rebuild-root .blog-filter-modern__actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 18px;
}
body.rebuild-root .blog-filter-modern__actions .hero-cta { min-width: 160px; }
body.rebuild-root .blog-filter-modern__reset {
    display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 18px; border-radius: 999px;
    border: 1px solid #c6d3e2; background: #fff; color: #123056; font-weight: 700;
}
body.rebuild-root .blog-filter-modern__reset:hover { background: #edf4fb; color: #123056; }
body.rebuild-root .blog-list-modern {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    align-items: stretch;
}
body.rebuild-root .blog-card-modern {
    background: #fff;
    border: 1px solid #dde6f0;
    border-radius: 20px;
    padding: 22px;
    box-shadow: 0 10px 24px rgba(18, 48, 86, .05);
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-width: 0;
    overflow: hidden;
}
body.rebuild-root .blog-card-modern__meta {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    align-items: flex-start;
    flex-wrap: wrap;
    font-size: .88rem;
    color: #6b7a8a;
}
body.rebuild-root .blog-card-modern__meta time { white-space: nowrap; flex: 0 0 auto; }
body.rebuild-root .blog-card-modern__category {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    background: #eef5ff;
    color: #123056;
    font-weight: 700;
}
body.rebuild-root .blog-card-modern h3 {
    margin: 0;
    font-size: 1.15rem;
    line-height: 1.55;
    color: #123056;
    min-width: 0;
}
body.rebuild-root .blog-card-modern h3 a {
    color: inherit;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    word-break: break-word;
}
body.rebuild-root .blog-card-modern p {
    margin: 0;
    color: #556474;
    line-height: 1.8;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    word-break: break-word;
}
body.rebuild-root .blog-card-modern__link,
body.rebuild-root .btn-list {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: flex-start;
    min-width: 132px;
    min-height: 44px;
    padding: 0 18px;
    border-radius: 999px;
    background: #123056;
    color: #fff;
    font-weight: 700;
    margin-top: auto;
    box-sizing: border-box;
}
body.rebuild-root .blog-empty-state {
    background: #fff;
    border: 1px dashed #cad6e3;
    border-radius: 20px;
    padding: 24px;
    color: #526171;
    display: grid;
    gap: 14px;
}
body.rebuild-root .blog-empty-state p { margin: 0; line-height: 1.8; }
body.rebuild-root .blog-article-modern {
    background: #fff;
    border: 1px solid #dde6f0;
    border-radius: 24px;
    padding: 30px;
    box-shadow: 0 14px 28px rgba(18, 48, 86, .06);
}
body.rebuild-root .blog-article-modern__header {
    border-bottom: 1px solid #e5edf6;
    padding-bottom: 22px;
    margin-bottom: 24px;
}
body.rebuild-root .blog-article-modern__category {
    margin: 0 0 10px;
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    background: #eef5ff;
    color: #123056;
    font-size: .88rem;
    font-weight: 700;
}
body.rebuild-root .blog-article-modern__header h1 {
    margin: 0 0 10px;
    font-size: clamp(1.7rem, 2.7vw, 2.4rem);
    line-height: 1.4;
    color: #123056;
}
body.rebuild-root .blog-article-modern__header time,
body.rebuild-root .blog-article-modern__lead {
    color: #617284;
}
body.rebuild-root .blog-article-modern__lead {
    margin: 14px 0 0;
    line-height: 1.85;
}
body.rebuild-root .blog-article-modern__content {
    line-height: 1.9;
    color: #1f2a36;
}
body.rebuild-root .blog-article-modern__content > :first-child { margin-top: 0; }
body.rebuild-root .blog-article-modern__content pre { white-space: pre-wrap; word-break: break-word; overflow-x: auto; background: #f6f8fb; padding: 16px; border-radius: 14px; }
body.rebuild-root .blog-article-modern__content code { word-break: break-word; }
body.rebuild-root .blog-article-modern__content p,
body.rebuild-root .blog-article-modern__content li,
body.rebuild-root .blog-article-modern__content blockquote { color:#334155; line-height:1.95; }
body.rebuild-root .blog-article-modern__content a { color:#165ea8; text-decoration:underline; text-underline-offset:2px; }
body.rebuild-root .blog-article-modern__content h2,
body.rebuild-root .blog-article-modern__content h3,
body.rebuild-root .blog-article-modern__content h4 { color:#123056; margin:1.4em 0 .6em; }

body.rebuild-root .blog-article-modern__content img {
    max-width: 100%;
    height: auto;
    border-radius: 14px;
}
body.rebuild-root .blog-article-modern__content table { width: 100%; border-collapse: collapse; }
body.rebuild-root .blog-article-modern__content th,
body.rebuild-root .blog-article-modern__content td { border: 1px solid #d9e3ee; padding: 10px; }
body.rebuild-root .blog-author-modern {
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid #e5edf6;
}
body.rebuild-root .blog-author-modern h2 { margin: 0 0 16px; color: #123056; font-size: 1.2rem; }
body.rebuild-root .blog-author-modern__card {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    background: #f7fbff;
    border: 1px solid #dce7f3;
    border-radius: 18px;
    padding: 18px;
}
body.rebuild-root .blog-author-modern__card img {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border-radius: 50%;
}
body.rebuild-root .blog-author-modern__name { margin: 0 0 6px; color: #123056; font-weight: 700; }
body.rebuild-root .blog-author-modern__feature { margin: 0 0 8px; color: #556474; line-height: 1.75; }
body.rebuild-root .blog-author-modern__link { color: #165ea8; font-weight: 700; }
body.rebuild-root .blog-detail-cta { margin-top: 28px; }
body.rebuild-root .blog-detail-cta__box {
    background: linear-gradient(135deg, #123056 0%, #264f7f 100%);
    color: #fff;
    border-radius: 22px;
    padding: 24px;
}
body.rebuild-root .blog-detail-cta__box h2 { margin: 0 0 10px; color: #fff; }
body.rebuild-root .blog-detail-cta__box p { margin: 0 0 14px; color: rgba(255,255,255,.88); }
body.rebuild-root .hero-cta-group--compact { justify-content: flex-start; }
body.rebuild-root .blog-detail-backlink { margin-top: 22px; }
body.rebuild-root .blog-detail-backlink a { color: #123056; font-weight: 700; }
body.rebuild-root .sitemap-modern__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}
body.rebuild-root .sitemap-modern__card {
    background: #fff;
    border: 1px solid #dde6f0;
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 10px 24px rgba(18, 48, 86, .05);
}
body.rebuild-root .sitemap-modern__card h3 {
    margin: 0 0 12px;
    color: #123056;
    font-size: 1.15rem;
}
body.rebuild-root .sitemap-modern__card ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 10px;
}
body.rebuild-root .sitemap-modern__card a { color: #1d2735; }
body.rebuild-root .sitemap-modern__card a:hover { color: #123056; }

@media (max-width: 960px) {
    body.rebuild-root { --root-header-height: 96px; }
    body.rebuild-root .blog-filter-modern__grid,
    body.rebuild-root .blog-list-modern,
    body.rebuild-root .sitemap-modern__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 768px) {
    body.rebuild-root { --root-header-height: 82px; }
    body.rebuild-root .section-padding { padding: 56px 18px; }
    body.rebuild-root .root-breadcrumb { padding-top: 12px; }
    body.rebuild-root .root-page-hero { padding-top: 18px; padding-bottom: 20px; }
    body.rebuild-root .root-page-hero__inner,
    body.rebuild-root .blog-filter-modern,
    body.rebuild-root .blog-article-modern,
    body.rebuild-root .sitemap-modern__card {
        padding: 20px 18px;
        border-radius: 18px;
    }
    body.rebuild-root .blog-filter-modern__grid,
    body.rebuild-root .blog-list-modern,
    body.rebuild-root .sitemap-modern__grid {
        grid-template-columns: 1fr;
    }
    body.rebuild-root .blog-filter-modern__actions { flex-direction: column; align-items: stretch; }
    body.rebuild-root .blog-filter-modern__actions .hero-cta,
    body.rebuild-root .blog-filter-modern__reset,
    body.rebuild-root .blog-card-modern__link,
    body.rebuild-root .btn-list { width: 100%; min-width: 0; justify-content: center; }
    body.rebuild-root .blog-author-modern__card { flex-direction: column; }
    body.rebuild-root .hero-cta-group--compact { flex-direction: column; align-items: stretch; }
    body.rebuild-root .hero-cta-group--compact .hero-cta { width: 100%; box-sizing: border-box; justify-content: center; }
}
