/* ==========================================================================
Variables & Base Styles
========================================================================== */

:root {
    --color-white: #FFFFFF;
    --color-black: #322E21;
    --font-main: "Gothic A1", sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
}

body {
    font-family: var(--font-main);
    line-height: 1.6;
    color: #322E21;
    background-color: #F3EEE4;
    max-width: 100vw;
    overflow-x: hidden;
	position: relative;
	z-index: -1;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}

a {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s ease;
}


/* PC/SP表示切り替え（デフォルト：PC表示） */
.sp-only {
    display: none !important;
}

.pc-only {
    display: inline;
}
@media (max-width: 768px){
    .pc-only{
        display: none;
    }
}

/* ==========================================================================
   Utility Classes
   ========================================================================== */

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.text-center {
    text-align: center;
}


/* ==========================================================================
   Top Bar
   ========================================================================== */

.top-bar {
    background-color: #322E22;
    height: 20px;
    display: flex;
    align-items: center;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
}

.top-bar-inner {
    max-width: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 6px;
    width: 100%;
    justify-content: flex-end;
}

.top-bar-text {
    color: #fff;
    font-size: 12px;
    font-weight: 400;
    padding: 1px 19px 1px 6px;
}
.top-bar-text .txt-brown{
    color: #322E22;
    background-color: #E8E2D1;
    padding: 1px 5px;
    margin-right: 3px;
}

/* トップバーのリンクスタイル */
.top-bar a.top-bar-inner {
    text-decoration: none;
    color: inherit;
}

.top-bar a.top-bar-inner:hover {
    opacity: 0.8;
}

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
    background-image: none;
    box-shadow: none;
    height: 84px;
    display: flex;
    align-items: center;
    width: 97%;
    left: 50%;
    transform: translateX(-50%);
    position: fixed;
    top: 42px;
    z-index: 9998;
}

.header-container {
    background-color: #fff;
    margin: 0 auto;
    padding: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 100%;
}

.header-left {
    display: flex;
    align-items: center;
    padding-left: 15px;
}
.header-left-text{
    height: 53px;
}
.header-left-text img{
    height: 100%;
    width: auto;
    object-fit: contain;
}
.header-right h2{
    display: flex;
    align-items: center;
    height: 84px;
}
.header-right h2 img{
    width: auto;
    height: 100%;
}
.header-right a:hover {
    opacity: 0.8;
}
.header-right-wrapper{
    display: flex;
    align-items: center;
}
.main-navigation {
    display: flex;
    align-items: center;
    height: 100%;
}

.main-navigation ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: flex-end;
}

.main-navigation ul li a {
    font-weight: 600;
    font-size: 20px;
    white-space: nowrap;
    padding: 12px 20px;
    display: flex;
    line-height: 1.3;
    align-items: center;
    justify-content: center;
    position: relative;
    text-align: center;
    flex-direction: column;
    border-left: 1px solid #322E21;
}



/* Page Layout - トップバー・ヘッダー固定分のpadding調整 */
#page {
    padding-top: 20px;
	position: relative;
	z-index: -1;
}

/* WordPress管理バー対応 */
body.admin-bar .top-bar {
    top: 32px;
}

body.admin-bar .site-header {
    top: 52px; /* 管理バー(32px) + トップバー(20px) */
}

body.admin-bar #page {
    padding-top: 136px; /* 管理バー(32px) + トップバー(20px) + ヘッダー(84px) */
}

/* ==========================================================================
   Hamburger Menu (Mobile)
   ========================================================================== */
/* PC時はSP用要素を非表示 */
.hero-banner-sp,
.hero-cta-sp {
    display: none;
}

/* PC時はハンバーガーメニュー関連を非表示 */
.hamburger-btn {
    display: none;
}

.mobile-menu {
    display: none;
}

.mobile-menu-close {
    display: none;
}

.mobile-menu-overlay {
    display: none;
}


.hamburger-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.hamburger-btn span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #000;
}

.menu-text {
    font-size: 10px;
    margin-top: 3px;
    width: auto;
    height: auto;
    background: none;
}

/* Mobile Menu - Base styles (PC: hidden, SP: uses transform animation) */
.mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 75%;
    max-width: 300px;
    height: 100vh;
    background-color: #EC562F;
    z-index: 10001;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.3s ease, visibility 0.3s ease;
    visibility: hidden;
}

.mobile-menu.active {
    transform: translateX(0);
    visibility: visible;
}

.mobile-menu-content {
    padding: 60px 20px 20px;
}

.mobile-nav {
    list-style: none;
    margin-bottom: 30px;
}

.mobile-nav li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.mobile-nav a {
    display: flex;
    justify-content: space-between;
    padding: 15px 0;
    color: var(--color-white);
    font-size: 16px;
}



/* ==========================================================================
Main Content
========================================================================== */
.site-main{
	position: relative;
	z-index: -1;
}
.main-content {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}
.btn {
    background-color: #EC562F;
    color: #fff;
    border: none;
    width: 336px;
    height: 56px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 50px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    transition: 0.3s;
    position: relative;
    box-shadow: inset -2px -2px 4px rgba(0, 0, 0, 0.25);
}
.btn::after {
    content: "";
    font-size: 20px;
    background: url(../images/arrow_white.svg) no-repeat;
    background-size: contain;
    width: 28px;
    height: 8.2px;
    display: block;
}
.btn:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}
.btn.--white{
    background-color: #D6CB9E;
    color: #322E21;
}
.btn.--white::after{
    background: url(../images/arrow_black.svg) no-repeat;
    background-size: contain;
}
.btn.--wide{
    width: 414px;
}


/* ==========================================================================
   Gunma First View (FV) - 1300px Base VW
   ========================================================================== */
.fv-section {
    width: 100vw;
    aspect-ratio: 1300 / 872;
    background: url(../images/mv_pc.webp) no-repeat center center;
    background-size: cover;
    position: relative;
    overflow: hidden;
}

.fv-inner {
    width: 100%;
    height: 100%;
    margin: 0 auto;
    position: relative;
}

/* コンテンツ位置（カンプ準拠） */
.fv-content {
    position: absolute;
    top: 23vw; /* 位置調整 */
    left: 6.2vw;
}
.fv-lead{
	font-size: 2vw;
	color: #fff;
	text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.fv-copy {
    color: #fff;
    line-height: 1.2;
    margin: 0;
}

/* 「群馬エリアの70社〜」：指定のインセットシャドウを適用 */
.copy-line-top {
    display: inline-block;
    background-color: #322E22;
    padding: 0.8vw 1.5vw;
    font-size: 2.7vw; /* 約45px */
    font-weight: bold;
    margin-bottom: 0.8vw;
    /* 指定のインセットシャドウ */
    box-shadow: inset 0 2px 2px rgba(0, 0, 0, 0.25);
}

.copy-line-top .num-large {
    font-size: 4.9vw;
    margin: 0 0.3vw;
}

.copy-line-main {
    display: block;
    font-size: 3.7vw;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    line-height: 1.3;
}


/* 浮遊CTA（JS再利用） */
.fv-cta {
    margin-top: 2vw;
    width: 36.5vw;
    transform: translateY(50%);
    opacity: 0;
    transition: all 1.2s cubic-bezier(0.19, 1, 0.22, 1);
}

.fv-cta.is-visible {
    transform: translateY(0);
    opacity: 1;
}

.fv-cta img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 15px rgba(0,0,0,0.3));
}

/* ==========================================================================
   INDEX Section (Gunma Overlap Ver.) - Units: px
   ========================================================================== */
.content-index {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 50;
}

.index-inner {
    background-color: rgba(50, 46, 33, 0.65); /* 指定：#322E21の透過65% */
    border-radius: 0;
    overflow: hidden;
}

.index-grid-container {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    max-width: 1042px;
    margin: 0 auto;
}

.index-grid-item {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 10px 5px;
    min-height: 80px;
    position: relative;
    color: #fff;
    transition: background-color 0.3s;
}
.index-grid-item::before{
    width: 1px ;
    height: 80px;
    background-color: #fff;
    position: absolute;
    content: "";
    right: 0;
}
.index-grid-item:last-child:before{
    display: none;
}

.index-title-item {
    cursor: default;
}

.index-text-large {
    font-size: 24px;
    font-weight: bold;
    letter-spacing: 0.05em;
}

.index-grid-text {
    font-size: 20px;
    line-height: 1.4;
    font-weight: 500;
}

.small-area {
    display: block;
    font-size: 13px;
    margin-bottom: 3px;
    line-height: 1.2;
}

.index-grid-item:last-child {
    border-right: none;
}

.index-grid-item:hover:not(.index-title-item) {
    background-color: rgba(255, 255, 255, 0.1);
}




/* ==========================================================================
   Gunma About Section (Complex Layout)
   ========================================================================== */
.about-section {
    position: relative;
    z-index: 10;
    overflow: visible; /* はみ出しを許可 */
}

.about-inner {
    max-width: 1300px;
    margin: 0 auto;
    position: relative;
    height: 663px; /* 全体の高さを目安で固定（絶対配置の土台） */
}

/* 1. 左上の英字画像 */
.about-deco-en {
    position: absolute;
    top: 58px;
    left: 50px;
    width: 253px;
}

/* 2. 中央テキストエリアと 885x467 の枠 */
.about-center-content {
    position: absolute;
    bottom: 0;
    left: 0px;
    width: 885px;
    height: 467px;
}

.about-line-frame {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 885px;
    height: 467px;
    border: 1px solid #322E21;
    z-index: 1;
}

.about-text-block {
    position: relative;
    z-index: 5;
    padding-left: 224px;
    /* 枠の上に重ねるために少しマイナスの位置調整が必要な場合 */
    margin-top: -30px;
}

.about-main-heading {
    display: inline-block;
    background-color: #F3EEE4; /* 背景色と同じ色で線を消す */
    padding: 0 15px;
    font-size: 24px;
    font-weight: bold;
    color: #322E21;
    line-height: 1.5;
    margin-bottom: 12px;
}

.about-description {
    font-size: 20px;
    line-height: 1.5;
    color: #322E21;
    max-width: 538px;
}

/* 3. 右の写真＋線（書き出し画像） */
.about-img-right-lines {
    position: absolute;
    top: 57px;
    right: 0px;
    width: 160px;
    z-index: 2;
}

/* 4. 縦書きテキスト（はみ出し） */
.about-vertical-text {
    position: absolute;
    top: 44px;
    right: 179px;
    width: 99px;
    z-index: 100; /* 最前面 */
}

/* 5. 左下の画像＋線（はみ出し） */
.about-img-left-lines {
    position: absolute;
    bottom: -64px; /* 次のセクションへはみ出し */
    left: 0px;
    width: 403px;
    z-index: 20;
}

/* 6. 中央下の矢印（はみ出し） */
.about-deco-arrow {
    position: absolute;
    bottom: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 15px;
    z-index: 20;
}

/* 7. 矢印右の画像 */
.about-img-mid-right {
    position: absolute;
    bottom: 67px;
    right: 305px;
    width: 307px;
    z-index: 5;
}








/* ==========================================================================
   Gunma Area Comparison Section
   ========================================================================== */
.comparison-section {
    background-color: #322E21; /* 背景をダークブラウンに変更 */
    padding: 150px 0;
    color: #fff;
}

.comparison-inner {
    max-width: 1300px;
    margin: 0 auto;
}

/* --- ヘッダーデザイン --- */
.comparison-header {
    text-align: center;
    margin-bottom: 38px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* ＼ エリア名 ／ */
.comparison-area-names {
    font-size: 20px;
    margin-bottom: 6px;
    padding: 10px 25px;
    font-weight: bold;
    display: inline-block;
    color: #322E21;
    background-color: #fff;
}

/* 吹き出しボックス */
.comparison-bubble-box {
    display: inline-block;
    border-radius: 50px;
    padding: 12px 40px;
    font-size: 24px;
    font-weight: bold;
    position: relative;
    margin-bottom: 30px;
    background-color: transparent;
    z-index: 3;
}

/* 擬似要素による吹き出しのシッポ（画像指定） */
.comparison-bubble-box::after {
    content: "";
    position: absolute;
    bottom: -15px; /* 位置調整 */
    left: 50%;
    transform: translateX(-50%);
    width:540px;
    height: 77px;
    background: url(../images/fukidashi_brown.webp) no-repeat center;
    background-size: contain;
    z-index: -1;
}

.comparison-main-title { 
    font-size: 40px; 
    font-weight: bold; 
    line-height: 1.3;
}
.comparison-main-title .num-large {
    font-size: 64px;
}

/* --- 横スクロール設定（幅固定） --- */
.comparison-scroll-wrapper {
    overflow-x: auto;
    padding: 20px 20px 50px;
    -webkit-overflow-scrolling: touch;
}

.comparison-cards-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    width: max-content; /* 中身の合計幅に合わせる */
    margin: 0 auto;
}

/* --- カード本体 (400px固定) --- */
.comparison-company-card {
    width: 373px; 
    flex-shrink: 0; /* 画面幅が縮まってもサイズを維持 */
    background-color: #E8E2D1;
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    color: #333;
    font-family: "Zen Maru Gothic", sans-serif;
}

/* カード上部紹介エリア */
.comparison-card-intro-box {
    color: #322E21;
    text-align: center;
    padding: 11px;
    font-size: 20px;
    font-weight: bold;
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1.4;
    border-bottom: 1px solid #322E21;
    max-width: 305px;
    margin: 0 auto;
}

.comparison-card-header { padding: 12px 10px 20px; text-align: center; min-height: 80px; }
.comparison-card-company-name { font-size: 30px; font-weight: bold; }

.card-screenshot { width: 92%; margin: 0 auto; }
.card-screenshot img { width: 100%; height: 220px; object-fit: cover; }
.citation { display: block; text-align: right; font-size: 11px; margin-top: 5px; color: #666; text-decoration: underline; }

.comparison-card-body { background-color: #fff; max-width: 360px; margin: 10px auto 38px;}

/* 口コミ */
.card-google-review { text-align: center; margin-top: 15px; padding-bottom: 10px; border-bottom: 1px solid #BEA474; }
.review-label{
    font-size: 18px;
    font-weight: bold;
}
.review-score { display: flex; align-items: flex-end; justify-content: center;}
.score-num { font-size: 32px; font-weight: bold; }
.stars { color: #B76B46; font-size: 29px; }
.branch-name { font-size: 12px; color: #666; font-weight: bold; margin-left: 5px; }

/* 特徴リスト */
.feature-title{
    font-size: 18px;
    text-align: center;
    margin-bottom: 18px;
}
.comparison-card-features { padding: 12px 10px; flex-grow: 1; min-height: 305px;}
.feature-list li {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 8px;
    padding-left: 28px;
    position: relative;
}
.feature-list li::before {
    content: "";
    position: absolute;
    left: 0;
    color: #322E21;
    font-weight: bold;
    width: 18px;
    height: 18px;
    background: url(../images/check.svg) no-repeat;
    background-size: contain;
}

/* 坪単価 */
.price-box {
    border-top: 1px solid #999999;
    margin: 0 auto;
    padding: 12px 0 29px;
    display: flex;
    align-items: center;
    overflow: hidden;
    flex-direction: column;
}
.price-label { font-weight: bold; font-size: 18px; }
.price-wrapper { flex-grow: 1; text-align: center; }
.price-value { font-weight: bold; font-size: 20px; }

/* ボタンエリア */
.card-actions { padding: 0 0px 47px; display: flex; flex-direction: column; gap: 20px; align-items: center;}



/* ==========================================================================
   Notice Section (Choosing a Housing Company)
   ========================================================================== */
.notice-section {
    position: relative;
    padding: 100px 0;
    /* 背景画像：カンプの風景画像を適用 */
    background: url(../images/bg_notice.webp) no-repeat center center;
    background-size: cover;
    background-attachment: fixed; /* パララックス効果（お好みで） */
}
.notice-inner {
    position: relative;
    z-index: 10;
    max-width: 1176px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ヘッダー全体の調整 */
.notice-header {
    text-align: center;
    color: #fff;
    margin-bottom: 80px;
    padding: 0 20px; /* 端に線がくっつきすぎないための安全余白 */
    position: relative;
    display: flex;
    align-items: center; /* 垂直方向中央 */
    justify-content: center; /* 水平方向中央 */
    white-space: nowrap;
}
.notice-header .title-block{
    display: block;
}
.notice-main-title {
    font-size: 40px;
    font-weight: bold;
    margin-bottom: 15px;
}

/* 左右の線の共通設定 */
.notice-header::before,
.notice-header::after {
    content: "";
    flex-grow: 1; /* 空いているスペースをすべて埋める */
    height: 1px;  /* 線の太さ */
    background-color: #fff; /* 線の色：白 */
}

/* テキストとの間の余白設定 */
.notice-header::before {
    margin-right: 40px; /* テキストの左側の余白 */
}

.notice-header::after {
    margin-left: 40px; /* テキストの右側の余白 */
}

.notice-sub-title {
    font-size: 24px;
    font-weight: 500;
    letter-spacing: 0.05em;
}

/* カードグリッド */
.notice-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* PC3列 */
    gap: 30px;
}

/* カード本体 */
.notice-card {
    background-color: #fff;
    position: relative;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 4px rgba(0,0,0,0.25);
}

/* 01, 02, 03 の数字（Crimson Text） */
.card-number {
    position: absolute;
    top: -45px;
    right: 10px;
    font-family: 'Crimson Text', serif;
    font-size: 40px;
    color: #E8E2D1;
    line-height: 1;
    z-index: -1;
}

.card-img-wrap {
    width: 100%;
    aspect-ratio: 360 / 224;
    overflow: hidden;
    margin-bottom: 36px;
}

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

.card-body {
    padding: 0 5px 50px;
    text-align: center;
    flex-grow: 1;
}

.card-heading {
    font-size: 24px;
    font-weight: bold;
    color: #322E21;
    line-height: 1.5;
    margin-bottom: 20px;
}
.card-heading .txt-green{
    color: #375A3A;
}
/* セパレーター（金色の線） */
.card-separator {
    width: 238px;
    height: 1px;
    background-color: #9B8158;
    margin: 0 auto 15px;
}

.card-text {
    font-size: 16px;
    line-height: 1.8;
    color: #555555;
    text-align: left;
}





/* ==========================================================================
   Introduction Section (Housing Company Recommendation)
   ========================================================================== */
.introduction-section {
    padding: 44px 0 0;
}

.introduction-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 46px 46px 0;
    background-color: #fff;
}

/* 共通ヘッダー */
.intro-common-header {
    text-align: center;
    margin-bottom: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}
.intro-sub-title{
    font-size: 32px;
    background-color: #8D8569;
    color: #fff;
    padding: 12px 30px;
    margin-bottom: 18px;
}

/* 吹き出しボックス */
.intro-bubble {
    display: inline-block;
    border-radius: 50px;
    padding: 12px 40px;
    font-size: 24px;
    font-weight: bold;
    position: relative;
    margin-bottom: 30px;
    background-color: transparent;
    z-index: 3;
}

/* 擬似要素による吹き出しのシッポ（画像指定） */
.intro-bubble::after {
    content: "";
    position: absolute;
    bottom: -15px; /* 位置調整 */
    left: 50%;
    transform: translateX(-50%);
    width: 385px;
    height: 77px;
    background: url(../images/fukidashi_line_02.webp) no-repeat center;
    background-size: contain;
    z-index: -1;
}
.intro-main-title {
    font-size: 40px;
    font-weight: bold;
    color: #000;
    line-height: 1;
}
.intro-main-title .title-large { font-size: 48px; }
.intro-main-title .txt-orange{
    color: #EC562F;
    font-size: 64px;
}
.title-block{
    display: block;
}


/* ==========================================================================
   Gunma Area Introduction (Housing Company)
   ========================================================================== */


/* --- ナンバリング --- */
.company-header-top {
    position: relative;
    margin-bottom: 60px;
}

.company-number-wrap {
    text-align: right;
}

.company-num-label {
    display: block;
    font-size: 20px;
    color: #5A4637;
    font-family: 'Crimson Text', serif;
    line-height: 1;
}

.company-num {
    display: block;
    font-size: 64px;
    font-family: 'Crimson Text', serif;
    color: #5A4637;
    line-height: 1;
    font-weight: 600;
}

/* --- メインビジュアルエリア --- */
.company-main-visual-flex {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 23px;
}

.company-visual-text-area {
    width: 50%;
}

/* 吹き出しボックス */
.company-catch-bubble {
    padding: 15px 0px;
    font-size: 27px;
    font-weight: bold;
    color: #322E21;
    text-align: center;
    line-height: 1.4;
    position: relative;
    font-family: "Zen Maru Gothic", sans-serif;
    margin-bottom: 30px;
}
.company-catch-bubble::after {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 537px;
    height: 126px;
    background: url(../images/fukidashi_line.webp) no-repeat center;
    background-size: contain;
}

/* 会社名ボックス */
.company-name-box {
    background-color: #F4F3F0;
    padding: 20px 5px;
    text-align: center;
}
.company-name-ja {
    font-size: 52px;
    font-weight: bold;
    color: #375A3A;
    margin: 0;
    font-family: "Zen Maru Gothic", sans-serif;
}

.company-visual-image-area {
    width: 52%;
}
.company-visual-image-area img {
    width: 100%;
    height: auto;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
.citation {
    display: block;
    text-align: right;
    font-size: 11px;
    color: #322E21;
    margin-top: 5px;
    text-decoration: underline;
}

.introduction-common-title-wrap {
    display: flex;
    align-items: center;
    width: 100%;
    margin: 40px 0;
}

.introduction-common-title {
    font-size: 32px;
    font-weight: bold;
    color: #5D4F44;
    margin: 0 30px;
    white-space: nowrap;
    font-family: "Zen Maru Gothic", sans-serif;
}

/* 左側の線（短めにするため flex を小さく、または固定値） */
.introduction-common-title-wrap::before {
    content: "";
    flex: 0 0 150px;
    height: 10px;
    background: 
        radial-gradient(circle at 5px 50%, #9B8158 5px, transparent 5px),
        linear-gradient(#9B8158, #9B8158) no-repeat 5px 50% / 100% 1px;
}

/* 右側の線（残りのスペースを全部埋める） */
.introduction-common-title-wrap::after {
    content: "";
    flex: 1;                /* 残り全部 */
    height: 10px;
    background: 
        radial-gradient(circle at calc(100% - 5px) 50%, #9B8158 5px, transparent 5px),
        linear-gradient(#9B8158, #9B8158) no-repeat 0 50% / calc(100% - 5px) 1px;
}

/* 左側の線と丸 */
.introduction-common-title-wrap::before {
    /* radial-gradientで左端に丸を描き、linear-gradientで線を繋げる */
    background: 
        radial-gradient(circle at 5px 50%, #9B8158 5px, transparent 5px), /* 左端の丸 */
        linear-gradient(#9B8158, #9B8158) no-repeat 5px 50% / 100% 1px;  /* 繋がる線 */
}

/* 右側の線と丸 */
.introduction-common-title-wrap::after {
    /* radial-gradientで右端に丸を描き、linear-gradientで線を繋げる */
    background: 
        radial-gradient(circle at calc(100% - 5px) 50%, #9B8158 5px, transparent 5px), /* 右端の丸 */
        linear-gradient(#9B8158, #9B8158) no-repeat 0 50% / calc(100% - 5px) 1px;       /* 繋がる線 */
}

/* --- レスポンシブ：画面が狭いときは線を短く（または非表示） --- */
@media screen and (max-width: 767px) {
    .introduction-common-title {
        font-size: 20px;
    }
    .introduction-common-title-wrap {
        gap: 10px;
    }
}

/* --- 特徴カードグリッド --- */
.features-card-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 9px;
    margin-bottom: 60px;
    font-family: "Zen Maru Gothic", sans-serif;
}

.feature-card {
    background-color: #fff;
    position: relative;
    box-shadow: 0 4px 4px rgba(0,0,0,0.25);
    display: flex;
    flex-direction: column;
}

/* 左上の斜めチップ（オレンジレッド） */
.feature-card::before {
    content: "";
    position: absolute;
    top: 5px;
    left: 5px;
    border-style: solid;
    border-width: 30px 30px 0 0;
    border-color: #EC562F transparent transparent transparent;
}

.feature-card-inner {
    padding: 10px;
    text-align: center;
    border: 1px solid #8D8569;
    min-height: 196px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.feature-card-title {
    font-size: 36px;
    font-weight: bold;
    color: #5A4637;
    line-height: 1.2;
    margin-bottom: 9px;
}

/* 小見出しの両端ライン */
.feature-card-sub {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    font-size: 24px;
    font-weight: bold;
    color: #5A4637;
    margin-bottom: 20px;
    line-height: 1.2;
}
.feature-card-sub::before,
.feature-card-sub::after {
    content: "";
    width: 23px;
    height: 1px;
    background-color: #5A4637;
}

.feature-card-desc {
    font-size: 22px;
    line-height: 1.5;
    color: #5A4637;
    text-align: center;
    padding: 20px 0;

}

/* --- ボタンエリア --- */
.company-action-buttons {
    display: flex;
    justify-content: center;
    gap: 80px;
    margin-top: 50px;
}





/* 事例セクション全体 */
.works-section {
    padding: 60px 0;
    width: 100%;
    overflow: hidden; /* 矢印が画面外にはみ出すのを防ぐ */
}

.works-inner {
    max-width: 1220px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 見出しバー */
.works-header-bar {
    border: 1px solid #000;
    text-align: center;
    padding: 12px;
    margin-bottom: 48px;
}


/* スライダー外枠（矢印を外に置くための土台） */
.works-slider-outer {
    position: relative;
    max-width: 1060px;
    margin: 0 auto;
    padding: 0 80px;
}
/* 縦書きWorksの絶対的な位置とサイズ固定 */
.works-vertical-text {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    font-size: 64px;
    color: #5D4F44;
    line-height: 1;
    position: absolute;
    left: 15px;
    bottom: 0;
    font-family: serif;
}

.works-slider {
    width: 100%;
}

/* メイン画像表示エリア */
.works-main-display {
    width: 100%;
    margin-bottom: 20px;
}
.works-main-display img {
    width: 100%;
    height: auto;
    aspect-ratio: 1.6 / 1; /* 比率を固定して崩れ防止 */
    object-fit: cover;
    display: block;
}
.citation {
    text-align: right;
    font-size: 10px;
    color: #888;
    margin-top: 5px;
}

/* 下段：縦書きWorks + サムネイル3枚の並び */
.works-bottom-layout {
    display: flex;
    align-items: stretch; /* 高さを揃える */
    gap: 20px;
    margin-top: 20px;
}



/* サムネイル3枚のグリッド */
.works-thumbnails {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3等分 */
    gap: 15px;
    flex-grow: 1;
}
.thumb-item {
    cursor: pointer;
    border: 1px solid transparent;
    transition: 0.3s;
}
.thumb-item.active {
    border-color: #BEA474; /* アクティブ時の枠線 */
}
.thumb-item img {
    width: 100%;
    aspect-ratio: 1.5 / 1;
    object-fit: cover;
    display: block;
}
.works-prev.swiper-button-lock, 
.works-next.swiper-button-lock {
    display: flex !important;
}

/* 矢印（スライダーの外側に完全固定） */
.works-prev, .works-next {
    width: 44px !important;
    height: 44px !important;
    border: 1px solid #333 !important;
    border-radius: 50% !important;
    background-color: #fff !important;
    color: #333 !important;
    position: absolute !important;
    top: 40% !important; /* メイン画像の中央付近 */
    margin: 0 !important;
}
.works-prev::after, .works-next::after {
    font-size: 16px !important;
    font-weight: bold;
}
.works-prev { left: 0; }
.works-next { right: 0; }

/* ボタンエリア（既存ボタンに合わせる） */
.works-action-buttons {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 60px;
}




/* ==========================================================================
   Reviews Section (Revised: Gold Card & White Inset)
   ========================================================================== */
.reviews-section {
    padding: 50px 0 80px;
}

.reviews-inner {
    max-width: 1225px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ヘッダーバー */
.reviews-header-bar {
    border: 1px solid #000;
    text-align: center;
    padding: 10px;
    margin-bottom: 40px;
}
.reviews-header-bar h3 {
    margin: 0;
    font-size: 32px;
    color: #5A4637;
    font-weight: 500;
}

/* 口コミグリッド */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    max-width: 916px;
    margin: 0 auto 50px;
    font-family: "Zen Maru Gothic", sans-serif;
}

/* --- カード本体：全体がゴールド --- */
.review-card {
    background-color: #8D8569;
    padding: 16px 5px 10px;
    display: flex;
    flex-direction: column;
}

/* カード上部（アイコンエリア） */
.card-upper {
    display: flex;
    justify-content: center;
    align-items: center;
}

.avatar-circle {
    width: 98px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 16px;
}
.avatar-circle img { width: 100%; height: auto; }

/* --- カード下部：白背景のボックス --- */
.card-lower-white-box {
    background-color: #fff; /* ここを白にする */
    padding: 20px 12px 10px; /* 下部に引用リンク用の余白 */
    flex-grow: 1;
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 316px;
}

.review-title {
    font-size: 32px;
    font-weight: 700;
    color: #5A4637;
    text-align: center;
    line-height: 1.4;
    margin-bottom: 15px;
    min-height: 106px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.review-line {
    width: 100%;
    height: 1px;
    background-color: #8D8569; /* ラインもゴールドに */
    margin: 0 auto 20px;
}

.review-text {
    font-size: 12px;
    line-height: 1.8;
    color: #5A4637;
    margin-bottom: 10px;
}

/* 引用元リンク（aタグ） */
.review-citation-link {
    font-size: 12px;
    color: #5A4637;
    text-decoration: none;
    position: absolute;
    bottom: 15px;
    right: 20px;
}
.review-citation-link:hover {
    text-decoration: underline;
    color: #8D8569;
}

/* アクションボタン */
.reviews-action-buttons {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 50px;
}



/* ==========================================================================
   Company Info Section
   ========================================================================== */
.company-info-section{
    padding-bottom: 100px;
}
.company-info-inner {
    max-width: 1225px;
    margin: 0 auto;
    padding: 26px 76px 50px;
}

/* セクションタイトルバー */
.info-header-bar {
    text-align: center;
    padding: 12px;
    margin-bottom: 50px;
}
.info-header-bar h3 {
    margin: 0;
    font-size: 32px;
    color: #5D4F44;
    font-family: serif;
    font-weight: bold;
}

/* 上段レイアウト：テーブル & マップ */
.profile-upper-flex {
    display: flex;
    justify-content: space-between;
    gap: 38px;
    margin-bottom: 84px;
    align-items: center;
}

.profile-table-area {
    flex: 1;
}

.profile-table {
    width: 100%;
    border-collapse: collapse;
    background-color: #fff;
    box-shadow: 0 4px 4px rgba(0,0,0,0.25);
    font-family: "Zen Maru Gothic", sans-serif;
}

.profile-table th, .profile-table td {
    border: 1px solid #ddd;
    padding: 10px 15px;
    font-size: 14px;
    line-height: 1.6;
    vertical-align: middle;
}

.profile-table th {
    background-color: #8D8569; /* ゴールド */
    color: #fff;
    width: 30%;
    text-align: center;
    font-weight: bold;
}

.profile-table td a {
    color: #333;
    text-decoration: underline;
}

/* マップエリア */
.profile-map-area {
    width: 45%;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
.profile-map-area iframe {
    width: 100%;
    display: block;
}

/* 下段：店舗カードグリッド */
.store-grid-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    max-width: 930px;
    margin: 0 auto 50px;
}

.store-card {
    background-color: #fff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
}

.store-card-header {
    background-color: #8D8569;
    color: #fff;
    text-align: center;
    padding: 0px 10px;
    font-size: 20px;
    font-weight: bold;
    min-height: 66px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.store-card-img img {
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    display: block;
}

.store-card-body {
    padding: 25px 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: left;
}

.store-address, .store-tel {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
    width: 100%;
}

/* カード内の「詳しく見る」ボタン */
.btn-store-detail {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 225px;
    height: 44px;
    border: 1px solid #333;
    border-radius: 50px;
    text-decoration: none;
    color: #333;
    font-size: 16px;
    font-weight: bold;
    transition: 0.3s;
    gap: 15px;
}
.btn-store-detail .arrow { width: 28px;}
.btn-store-detail:hover {
    background-color: #f8f8f8;
    transform: translateY(-2px);
}

/* アクションボタン（共通パーツ） */
.info-action-buttons {
    display: flex;
    justify-content: center;
    gap: 84px;
}

/* ==========================================================================
   New Articles Section (Gunma Ver.)
   ========================================================================== */
.new-articles-section {
    padding: 80px 0 96px;
    font-family: "Zen Maru Gothic", sans-serif;
}

.new-articles-inner {
    max-width: 1220px;
    margin: 0 auto;
    padding: 0 20px;
}

/* タイトルエリア（会社一覧のスタイルを継承） */
/* ※共通パーツとして定義されている場合は再定義不要 */
.section-title-wrapper {
    text-align: center;
    margin-bottom: 60px;
}
.new-articles-section .company-list-title {
    font-size: 40px;
    font-weight: bold;
    margin-bottom: 10px;
}
.new-articles-section .company-list-subtitle {
    font-size: 14px;
    color: #BEA474;
    font-weight: bold;
    letter-spacing: 0.1em;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}
.new-articles-section .company-list-subtitle::before,
.new-articles-section .company-list-subtitle::after {
    content: "";
    width: 290px;
    height: 1px;
    background-color: #BEA474;
}

/* グリッドレイアウト */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* PC4列 */
    gap: 20px;
}

.article-card {
    transition: transform 0.3s ease;
}
.article-card:hover {
    transform: translateY(-5px);
}

.article-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

/* アイキャッチ画像エリア */
.article-thumb-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 2;
    overflow: hidden;
    margin-bottom: 15px;
}

.article-thumb-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.overlay-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
}


/* 下部の見出しテキスト */
.article-title {
    font-size: 16px;
    line-height: 1.6;
    color: #052E42;
    font-weight: 500;
    text-align: left;
    /* 3行以上は省略する（モダンブラウザ対応） */
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}





/* ==========================================================================
   FAQ Section (Accordion / Gunma Ver.)
   ========================================================================== */
.faq-section {
    padding: 0 0 135px;
    font-family: "Zen Maru Gothic", sans-serif;
}

.faq-bg-wrapper {
    max-width: 1006px;
    margin: 0 auto;
    padding: 0 20px;
}

.faq-inner {
    max-width: 966px; /* カンプのバランスに合わせて調整 */
    margin: 0 auto;
}

/* タイトルエリア装飾 */
.faq-header {
    text-align: center;
    margin-bottom: 50px;
}

.faq-main-title {
    font-size: 40px;
    font-weight: bold;
    margin-bottom: 10px;
}

.faq-subtitle {
    font-size: 16px;
    color: #BEA474; /* ゴールド */
    font-weight: bold;
    letter-spacing: 0.1em;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}
.faq-subtitle::before,
.faq-subtitle::after {
    content: "";
    width: 328px;
    height: 1px;
    background-color: #BEA474;
}

/* 各質問アイテム（白いカード形式） */
.faq-item {
    background-color: #fff;
    margin-bottom: 15px;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    overflow: hidden;
}

/* 質問部分 */
.faq-q {
    width: 100%;
    background: none;
    border: none;
    display: flex;
    align-items: center;
    padding: 15px;
    cursor: pointer;
    text-align: left;
    position: relative;
    gap: 15px;
}

.q-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #EC562F; /* 群馬レッド */
    flex-shrink: 0;
}

.q-text {
    font-size: 18px;
    font-weight: bold;
    margin: 0;
    flex-grow: 1;
    padding-right: 14px;
}

/* 開閉アイコン（プラス・マイナス） */
.faq-icon-trigger {
    position: absolute;
    right: 25px;
    width: 16px;
    height: 16px;
}
.faq-icon-trigger::before,
.faq-icon-trigger::after {
    content: "";
    position: absolute;
    background-color: #333;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.3s;
}
/* 横棒 */
.faq-icon-trigger::before {
    width: 100%;
    height: 2px;
}
/* 縦棒（プラス時のみ表示） */
.faq-icon-trigger::after {
    width: 2px;
    height: 100%;
}

/* 開いている時の縦棒回転 */
.faq-item.is-open .faq-icon-trigger::after {
    transform: translate(-50%, -50%) rotate(90deg);
    opacity: 0;
}

/* 回答部分 */
.faq-a {
    display: none; /* JSで制御 */
    background-color: #fff;
    border-top: 1px solid #f0f0f0;
}

.faq-a-inner {
    padding: 12px 44px; /* Qの幅に合わせた左余白 */
    font-size: 15px;
    line-height: 1.8;
    color: #555;
}





/* ==========================================================================
   Company List Section (Gunma Ver.)
   ========================================================================== */
.company-list-section {
    padding: 0 0 145px;
    font-family: "Zen Maru Gothic", sans-serif;
}

.company-list-inner-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* タイトルエリア装飾 */
.section-title-wrapper {
    text-align: center;
    margin-bottom: 50px;
}
.company-list-title {
    font-size: 40px;
    font-weight: bold;
    margin-bottom: 10px;
}
.company-list-subtitle {
    font-size: 16px;
    color: #BEA474;
    font-weight: bold;
    letter-spacing: 0.1em;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}
/* タイトル横のライン */
.company-list-subtitle::before,
.company-list-subtitle::after {
    content: "";
    width: 274px;
    height: 1px;
    background-color: #BEA474;
}

/* グリッドレイアウト */
.company-list-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
    margin-bottom: 40px;
}

/* カード全体デザイン */
.company-card {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    font-family: "Zen Maru Gothic", sans-serif;
}

.company-card-hidden { display: none; }

/* カードヘッダー（ゴールド背景） */
.card-header-gold {
    background-color: #5A4637;
    color: #fff;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    min-height: 70px;
    border-radius: 10px;
    margin-bottom: 6px;
}
.card-title {
    font-size: 20px;
    font-weight: bold;
    margin: 0;
    text-align: center;
}
/* ヘッダー右側の白い丸矢印 */
.header-arrow {
    position: absolute;
    right: 15px;
    width: 25px;
    height: 25px;
    border-radius: 50%;
}

/* カードの中身 */
.company-card .card-body {
    padding: 15px 15px 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    text-align: left;
}

/* 特徴テキスト */
.feature-text-area {
    min-height: 80px;
    display: flex;
    align-items: center;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15);
    border-radius: 10px;
	padding: 15px;
}
.feature-text-area p {
    font-size: 16px;
    line-height: 1.6;
    color: #505050;
    margin: 0;
}

/* 所在地・電話番号ラベルデザイン */
.info-content-wrapper {
    margin-bottom: 20px;
}
.info-item {
    margin-bottom: 22px;
}
.info-label-box {
    display: inline-block;
    border: 1px solid #000;
    padding: 2px 10px;
    font-size: 15px;
    font-weight: bold;
    margin-bottom: 8px;
}
.info-text {
    font-size: 14px;
    line-height: 1.5;
    color: #333;
}
.info-text a {
    text-decoration: none;
    color: #333;
}
.article-btn-wrapper{
	margin-top: auto;
}
/* 記事を見るボタン（薄いグレー） */
.btn-view-article {
    background-color: #F2F2F2;
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 50px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: bold;
    font-size: 20px;
    position: relative;
    transition: 0.3s;
}
.btn-view-article:hover {
    background-color: #E0E0E0;
}
.btn-view-article .btn-arrow {
    position: absolute;
    right: 20px;
    width: 25px; height: 25px;
    top: 50%;
    transform: translateY(-50%);
}
.btn-view-article .btn-arrow img{
    vertical-align: top;
}

/* 下部の「会社一覧を見る」ボタン（オレンジレッド） */
.more-btn-area {
    text-align: center;
}
.btn-gunma-orange {
    background-color: #EC562F;
    color: #fff;
    border: none;
    width: 320px;
    height: 64px;
    font-size: 18px;
    font-weight: bold;
    border-radius: 10px; /* カンプに合わせて少し四角い角丸 */
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
    position: relative;
    box-shadow: 0 4px 0 #C44324; /* 立体感 */
}
.btn-gunma-orange:hover {
    transform: translateY(2px);
    box-shadow: 0 2px 0 #C44324;
}







/* ==========================================================================
   Fixed Right Elements - トップに戻るボタン & 追従バナー
   ========================================================================== */

.fixed-right-elements {
    position: fixed;
    bottom: 30px;
    right: 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 15px;
    z-index: 9998;
    pointer-events: none;
}

/* トップに戻るボタン */
.scroll-to-top-btn {
    width: 50px;
    height: 50px;
    background-color: #EC562F;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    padding: 8px;
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
    opacity: 0;
    visibility: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    pointer-events: none;
}

.scroll-to-top-btn.visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.scroll-to-top-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(12, 136, 173, 0.4);
}

.scroll-to-top-btn .top-text {
    color: #FFF;
    font-family: "Hiragino Sans", "Noto Sans JP", sans-serif;
    font-size: 10px;
    font-weight: 600;
    line-height: 1;
}

.scroll-to-top-btn .top-arrow {
    width: 20px;
    height: 20px;
}

.scroll-to-top-btn .top-arrow path {
    stroke: #FFF;
}

/* 追従バナー */
.fixed-banner {
    position: relative;
    width: 408px;
    height: auto;
    aspect-ratio: 750/367;
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
    opacity: 0;
    visibility: hidden;
    transform: translateX(20px);
    border-radius: 4px;
    overflow: visible;
    margin-top: 5px;
    pointer-events: none; 
}

.fixed-banner.visible {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
    pointer-events: auto; 
}

.fixed-banner a {
    display: block;
    line-height: 0;
}
.fixed-banner a:hover{
    opacity: 0.8;
}


.fixed-banner img {
    width: 100%;
    height: auto;
    display: block;
}

/* バナー閉じるボタン */
.close-banner-btn {
    position: absolute;
    top: -4px;
    right: 0px;
    width: 24px;
    height: 24px;
    background-color: #333;
    border: 2px solid #FFF;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: background-color 0.3s ease, transform 0.3s ease;
    z-index: 2;
    pointer-events: auto;
}

.close-banner-btn:hover {
    background-color: #B3292C;
    transform: scale(1.1);
}

.close-banner-btn svg {
    width: 10px;
    height: 10px;
}


/* ==========================================================================
   Gunma Area Footer (Modern Design)
   ========================================================================== */
.site-footer {
    margin-top: 0;
    background: url(../images/bg_footer.webp) no-repeat center center;
    background-size: cover;
    position: relative;
    color: #fff;
    font-family: "Zen Maru Gothic", sans-serif;
}

/* 濃紺のオーバーレイ（画像に合わせて透過度を調整） */
.footer-overlay {
    padding: 80px 0 47px;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-top-container {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.footer-section-title {
    font-size: 20px;
    margin-bottom: 15px;
    color: #fff;
    font-weight: 500;
    letter-spacing: 0.1em;
}

/* 白いコンテンツボックス */
.footer-section-content {
    background-color: #FFFFFF;
    padding: 30px;
    min-height: 250px;
    display: flex;
    flex-direction: column;
}

.footer-article-list,
.footer-company-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-article-list a,
.footer-company-links a {
    color: #333; /* 文字は濃いグレー */
    text-decoration: none;
    font-size: 15px;
    display: block;
    padding: 8px 0;
    transition: color 0.3s;
}

.footer-article-list a:hover,
.footer-company-links a:hover {
    color: #B22D24;
    text-decoration: underline;
}

.footer-no-content {
    color: #888;
    font-size: 18px;
    text-align: center;
    letter-spacing: 0.1em;
}

/* 免責事項（小さく白文字） */
.footer-disclaimer {
    font-size: 12px;
    color: #fff;
    margin-bottom: 8px;
    text-align: left;
}


/* 下部ナビ ＆ コピーライト */
.footer-bottom-area {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-menu {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 15px;
}

.footer-menu li a {
    color: #fff;
    text-decoration: none;
    font-size: 12px;
    transition: opacity 0.3s;
}

.footer-menu li a:hover {
    opacity: 0.7;
}

.copyright {
    font-size: 11px;
    color: #fff;
    margin: 0;
}










/* ==========================================================================
   Area Column Grid (Archive Page)
   ========================================================================== */

.area-column-grid {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 40px;
}

.area-column-card {
    background: #FFF;
    border: none;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.area-column-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.area-column-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.area-column-card-link:hover {
    opacity: 1;
}

.area-column-card-image {
    width: 95%;
    aspect-ratio: 4 / 2;
    overflow: visible;
    background: #D9D9D9;
    margin-bottom: 4px;
    position: relative;
    z-index: 1;
}

.area-column-card-image::before{
    width: 100%;
    aspect-ratio: 4 / 3;
    background-color: #ACC7EE;
    content: "";
    height: 100%;
    position: absolute;
    z-index: -1;
    transform: translate(7px, 7px);
}

.area-column-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.area-column-card:hover .area-column-card-image img {
    transform: scale(1.05);
}

.area-column-card-content {
    padding: 15px;
}

.area-column-card-title {
    font-family: "Noto Sans JP", "Hiragino Sans", sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #333;
    line-height: 1.5;
    margin: 0 0 10px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.area-column-card-date {
    font-family: "Noto Sans JP", "Hiragino Sans", sans-serif;
    font-size: 13px;
    color: #666;
    display: block;
}

/* Pagination */
.area-column-pagination {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.area-column-pagination .nav-links {
    display: flex;
    gap: 8px;
    align-items: center;
}

.area-column-pagination .page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    font-family: "Noto Sans JP", "Hiragino Sans", sans-serif;
    font-size: 14px;
    color: #333;
    background: #FFF;
    border: 1px solid #DDD;
    border-radius: 4px;
    text-decoration: none;
    transition: background 0.3s ease, color 0.3s ease;
}

.area-column-pagination .page-numbers:hover {
    background: #0A3077;
    color: #FFF;
    border-color: #0A3077;
    opacity: 1;
}

.area-column-pagination .page-numbers.current {
    background: #0A3077;
    color: #FFF;
    border-color: #0A3077;
}

.no-posts-message {
    text-align: center;
    font-family: "Noto Sans JP", "Hiragino Sans", sans-serif;
    font-size: 16px;
    color: #666;
    padding: 60px 20px;
}

/* --- サイドバー全体 --- */
.company-intro-sidebar {
    width: 306px;
    font-family: "Zen Maru Gothic", sans-serif;
}

.sidebar-widget {
    margin: 12px 0;
}

/* --- 検索バー & タグ --- */
.search-input-wrapper {
    position: relative;
    margin-bottom: 15px;
}
.search-field {
    width: 100%;
    padding: 10px 45px 10px 20px;
    border: 1px solid #333;
    border-radius: 50px; /* 丸く */
    font-size: 16px;
}
.search-submit-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none; border: none; padding: 0;
}
.search-submit-icon img { width: 22px;}

/* --- ウィジェットタイトル (共通の丸い背景) --- */
.widget-title {
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    padding: 4px;
    border-radius: 50px;
    margin-bottom: 12px;
    background: #ACC7EE;
    font-family: "Noto Sans JP", sans-serif;
}
/* --- コンテンツ一覧ボタン --- */
.sidebar-btn-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.sidebar-btn-card {
    display: flex;
    align-items: center;
    border: 1px solid #1F4A6E;
    padding: 9px 27px 8px 16px;
    text-decoration: none;
    color: #03234E;
    font-weight: bold;
    font-size: 16px;
    background: #fff;
    justify-content: flex-start;
    gap: 10px;
    transition: all 0.3s ease;
    position: relative;
    top: 0;
    font-family: "Noto Sans JP", sans-serif;
}
.sidebar-btn-card:hover {
    background-color: #f0f5ff; /* ほんのり青く */
    border-color: #03234E;     /* 枠線を少し濃く */
    box-shadow: 0 4px 10px rgba(66, 108, 182, 0.2); /* 影で浮遊感を出す */
    top: -2px; /* 少し上に浮かせる */
}

/* 矢印を動かす */
.sidebar-btn-card .btn-arrow {
    transition: transform 0.3s ease;
    margin-left: 0;
}

.sidebar-btn-card:hover .btn-arrow {
    transform: translateX(5px); /* 右に5px移動 */
}


.sidebar-btn-card .btn-icon { width: 48px; flex-shrink: 0; }
.sidebar-btn-card .btn-arrow { width: 8px; }

/* --- 記事リスト (横並び) --- */
.side-article-list {
    display: flex;
    flex-direction: column;
    gap: 17px;
}
.side-article-item a {
    display: flex;
    text-decoration: none;
    gap: 8px;
    font-family: "Noto Sans JP", sans-serif;
}
.side-article-thumb {
    width: 102px;
    height: 61px;
    flex-shrink: 0;
    position: relative;
    background: #E0E0E0; /* 画像ない時用 */
}
.side-article-thumb img { width: 100%; height: 100%; object-fit: cover; }

.side-article-info {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.side-article-title {
    font-size: 12px;
    font-weight: bold;
    line-height: 1.4;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.side-article-date {
    font-size: 12px;
    color: #A5A5A5;
    margin-top: 2px;
}

/* --- ランキング順位 --- */
.rank-num {
    position: absolute;
    top: -5px;
    left: -8px;
    background: #000;
    color: #fff;
    width: 16px;
    height: 16px;
    font-size: 10px;
    font-weight: bold;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

/* ==========================================================================
   Area Column Single Page
   ========================================================================== */

.area-column-article {
    margin-bottom: 60px;
}

.article-header {
    margin-bottom: 30px;
}

.article-header .article-title {
    font-family: "Noto Sans JP", "Hiragino Sans", sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: #333;
    line-height: 1.5;
    margin: 0 0 15px 0;
    display: block;
    overflow: visible;
    white-space: normal;
    word-wrap: break-word;
}

/* より詳細度の高いセレクタで確実に適用 */
.area-column-article .article-header .article-title {
    display: block;
    overflow: visible;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.article-category-tag {
    display: inline-block;
    background: #ACC7EE;
    color: #FFF;
    font-family: "Noto Sans JP", "Hiragino Sans", sans-serif;
    font-size: 13px;
    font-weight: 500;
    padding: 6px 16px;
    border-radius: 4px;
}

.article-dates {
    font-family: "Noto Sans JP", "Hiragino Sans", sans-serif;
    font-size: 14px;
    color: #666;
}

.article-dates .article-published,
.article-dates .article-updated {
    margin-right: 15px;
}

.article-eyecatch {
    width: 100%;
    margin-bottom: 30px;
    background: #D9D9D9;
}

.article-eyecatch img {
    width: 100%;
    height: auto;
    display: block;
}

.article-content {
    font-family: "Noto Sans JP", "Hiragino Sans", sans-serif;
    font-size: 16px;
    color: #333;
    line-height: 1.8;
}

.article-content h2 {
    font-size: 24px;
    font-weight: 700;
    color: #0A3077;
    margin: 40px 0 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #0A3077;
}

.article-content h3 {
    font-size: 20px;
    font-weight: 700;
    color: #333;
    margin: 30px 0 15px;
}

.article-content h4 {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin: 25px 0 12px;
}

.article-content p {
    margin: 0 0 20px;
}

.article-content ul,
.article-content ol {
    margin: 0 0 20px;
    padding-left: 25px;
}

.article-content li {
    margin-bottom: 8px;
}

.article-content img {
    max-width: 100%;
    height: auto;
    margin: 20px 0;
}

.article-content a {
    color: #0A3077;
    text-decoration: underline;
}

.article-content a:hover {
    opacity: 0.7;
}

.article-content blockquote {
    background: #F5F5F5;
    border-left: 4px solid #0A3077;
    padding: 20px;
    margin: 20px 0;
    font-style: italic;
}

.article-footer {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #E0E0E0;
}

.article-areas {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.areas-label {
    font-family: "Noto Sans JP", "Hiragino Sans", sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.area-tag {
    display: inline-block;
    background: #F5F5F5;
    color: #333;
    font-family: "Noto Sans JP", "Hiragino Sans", sans-serif;
    font-size: 13px;
    padding: 5px 12px;
    border-radius: 20px;
    text-decoration: none;
    transition: background 0.3s ease;
}

.area-tag:hover {
    background: #E0E0E0;
    opacity: 1;
}

/* Related Articles */
.related-articles-section {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid #E0E0E0;
}

.related-articles-title {
    font-family: "Noto Sans JP", "Hiragino Sans", sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: #333;
    margin: 0 0 25px 0;
}

.related-articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

/* ==========================================================================
   Area Column Sidebar
   ========================================================================== */

.area-column-sidebar {
    width: 306px;
    flex-shrink: 0;
    padding: 0;
}

/* Sidebar Banner */
.sidebar-banner-widget {
    padding: 0;
    margin: 0;
}

.sidebar-banner-widget a {
    display: block;
    line-height: 0;
}

.sidebar-banner-image {
    width: 100%;
    height: auto;
    display: block;
}

/* ==========================================================================
   Area Column Archive & Single Page
   ========================================================================== */

.company-archive-item {
    background-color: #ffffff;
    border: 2px solid #1B1B1B;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 6px 6px 0px rgba(0, 0, 0, 0.08);
}
.company-archive-title {
    font-size: 22px;
    font-weight: 700;
    color: #1b1b1b;
    margin: 0 0 15px 0;
    border-bottom: 2px dashed #ccc;
    padding-bottom: 15px;
    line-height: 1.5;
}
.company-archive-text {
    font-size: 15px;
    line-height: 1.8;
    color: #333333;
    margin-bottom: 25px;
}
.company-archive-btn-area {
    display: flex;
    justify-content: flex-end;
}
.company-archive-btn-area .company-btn {
    display: inline-flex;
    align-items: center;
    background-color: #ACC7EE;
    color: #fff;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
    transition: opacity 0.3s;
}

.company-archive-btn-area .btn-arrow {
    width: 25px;
}
.area-column-archive,
.area-column-single {
    padding-bottom: 60px;
	margin-top: 10vw;
}

.area-column-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Breadcrumb */
.breadcrumb-nav {
    padding: 20px 0;
    font-family: "Noto Sans JP", "Hiragino Sans", sans-serif;
    font-size: 14px;
    color: #333;
}

.breadcrumb-nav a {
    color: #333;
    text-decoration: none;
}

.breadcrumb-nav a:hover {
    text-decoration: underline;
    opacity: 1;
}

.breadcrumb-separator {
    margin: 0 8px;
    color: #666;
}

.breadcrumb-current {
    color: #666;
}

/* Search Result Header */
.search-result-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #E5E5E5;
}

.search-result-title {
    font-family: "Noto Sans JP", "Hiragino Sans", sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin: 0 0 10px 0;
}

.search-result-count {
    font-family: "Noto Sans JP", "Hiragino Sans", sans-serif;
    font-size: 14px;
    color: #666;
    margin: 0;
}

.no-results-message {
    text-align: center;
    padding: 60px 20px;
}

.no-results-message h2 {
    font-family: "Noto Sans JP", "Hiragino Sans", sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin: 0 0 15px 0;
}

.no-results-message p {
    font-family: "Noto Sans JP", "Hiragino Sans", sans-serif;
    font-size: 14px;
    color: #666;
    margin: 0;
}


/* Content Wrapper */
.area-column-content-wrapper {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.area-column-main {
    flex: 1;
    min-width: 0;
}



/* ==========================================================================
   Useful Column Section (Top Page)
   ========================================================================== */

.useful-column-section {
    padding: 60px 20px 80px;
    width: 100%;
    max-width: 100%;
}

.useful-column-container {
    max-width: 1280px;
    margin: 0 auto;
}

.useful-column-title {
    color: #000;
    font-family: "Hiragino Sans", "Noto Sans JP", sans-serif;
    font-size: 35px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    text-align: center;
    margin-bottom: 40px;
}

.useful-column-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.useful-column-grid .area-column-card.column-card-hidden {
    display: none;
}

.useful-column-grid .area-column-card.column-card-visible {
    display: block;
    animation: fadeInUp 0.4s ease forwards;
}

.useful-column-more-wrapper {
    text-align: center;
    margin-top: 40px;
}

.useful-column-more-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    background: #E63939;
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 16px 60px;
    font-family: "Noto Sans JP", "Hiragino Sans", sans-serif;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
    text-decoration: none;
}

.useful-column-more-btn:hover {
    background: #d32f2f;
    transform: translateY(-2px);
    opacity: 1;
}

.useful-column-more-btn .btn-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
}

.useful-column-more-btn .btn-icon svg {
    width: 24px;
    height: 24px;
}

.useful-column-empty {
    text-align: center;
    font-family: "Noto Sans JP", "Hiragino Sans", sans-serif;
    font-size: 16px;
    color: #666;
    padding: 40px 20px;
}


/* ==========================================================================
Privacy Policy Page
========================================================================== */

.privacy-policy-page {
    background-color: #FFF;
    padding-bottom: 60px;
}

.privacy-policy-article {
    background: #FFF;
}

/* Page Header */
.policy-header {
    margin-bottom: 40px;
}

.policy-page-title {
    font-family: "Noto Sans JP", "Hiragino Sans", sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: #FFF;
    background: #0A3077;
    padding: 20px 30px;
    margin: 0;
    text-align: center;
    border-radius: 4px;
}

/* Introduction */
.policy-intro {
    background: #F8F9FA; */
    border-left: 4px solid #0A3077;
    padding: 25px 30px;
    margin-bottom: 40px;
    border-radius: 0 4px 4px 0;
}

.policy-intro p {
    font-family: "Noto Sans JP", "Hiragino Sans", sans-serif;
    font-size: 15px;
    color: #333;
    line-height: 1.8;
    margin: 0;
}

/* Policy Sections */
.wp-block-group {
    margin-bottom: 35px;
    padding-bottom: 35px;
    border-bottom: 1px solid #E0E0E0;
}

.wp-block-group:last-of-type {
    border-bottom: none;
    margin-bottom: 40px;
    padding-bottom: 0;
}

.policy h2 {
    font-family: "Noto Sans JP", "Hiragino Sans", sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #0A3077;
    margin: 0 0 20px 0;
    padding-left: 15px;
    border-left: 4px solid #0A3077;
    line-height: 1.4;
}

.policy-section-content {
    padding-left: 5px;
}

.policy p {
    font-family: "Noto Sans JP", "Hiragino Sans", sans-serif;
    font-size: 15px;
    color: #333;
    line-height: 1.9;
    margin: 0 0 15px 0;
}

.policy-section-content p:last-child {
    margin-bottom: 0;
}

.policy-section-content a {
    color: #0A3077;
    text-decoration: underline;
}

.policy-section-content a:hover {
    opacity: 0.7;
}

/* Subsection Title */
.policy-subsection-title {
    font-family: "Noto Sans JP", "Hiragino Sans", sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin: 20px 0 10px 0;
    padding: 8px 12px;
    background: #F5F5F5;
    border-radius: 4px;
    display: inline-block;
}

.policy-subsection-title:first-child {
    margin-top: 0;
}

/* Policy Note */
.policy-note {
    font-size: 14px !important;
    color: #666 !important;
    margin-top: 10px !important;
}

/* Footer */
.policy-footer {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 2px solid #0A3077;
    text-align: right;
}

.policy-updated {
    font-family: "Noto Sans JP", "Hiragino Sans", sans-serif;
    font-size: 14px;
    color: #666;
    margin: 0;
}
.wp-block-navigation__container:only-child, .wp-block-page-list:only-child{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}


/* ==========================================================================
   Sitemap Page
   ========================================================================== */

.sitemap-page {
    background-color: #FFF;
    padding-bottom: 60px;
}

.sitemap-article {
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.sitemap-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #0A3077;
}

.sitemap-page-title {
    font-family: "Noto Sans JP", "Hiragino Sans", sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: #0A3077;
    margin: 0;
}

.sitemap-intro {
    margin-bottom: 40px;
}

.sitemap-intro p {
    font-family: "Noto Sans JP", "Hiragino Sans", sans-serif;
    font-size: 16px;
    line-height: 1.8;
    color: #333;
    margin: 0;
}

.sitemap-section {
    margin-bottom: 35px;
    padding-bottom: 35px;
    border-bottom: 1px solid #e0e0e0;
}

.sitemap-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.sitemap-section-title {
    font-family: "Noto Sans JP", "Hiragino Sans", sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #0A3077;
    margin: 0 0 20px 0;
    padding-left: 15px;
    border-left: 4px solid #0A3077;
    line-height: 1.4;
}

.sitemap-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.wp-block-navigation__container:only-child, .wp-block-page-list:only-child{
    width: 100%;
}

.wp-block-navigation .wp-block-navigation-item {
    padding: 12px 0;
    border-bottom: 1px dashed #ddd;
    position: relative;
    padding-left: 20px;
    width: 100%;
    font-family: "Noto Sans JP", "Hiragino Sans", sans-serif;
}

.sitemap-list li:last-child {
    border-bottom: none;
}

.wp-block-navigation .wp-block-navigation-item::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background-color: #0A3077;
    border-radius: 50%;
}

.wp-block-navigation .wp-block-navigation-item li a {
    font-family: "Noto Sans JP", "Hiragino Sans", sans-serif;
    font-size: 15px;
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease, padding-left 0.3s ease;
    display: inline-block;
}

.wp-block-navigation .wp-block-navigation-item li a:hover {
    color: #0A3077;
    padding-left: 5px;
}

/* トップページ以外の、ブロックエディタで作った表に適用 */
body:not(.home) .wp-block-table {
  width: 100%;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}

/* テーブル全体の基本設定 */
body:not(.home) .wp-block-table table {
  border-collapse: collapse;
  width: 100%;
  background: #fff;
  border: 2px solid #DAE7FF !important;
	margin-bottom: 30px;
}

/* 行の区切り線 */
body:not(.home) .wp-block-table tr {
  border-bottom: 1px solid #DAE7FF !important;
}

body:not(.home) .wp-block-table tr:last-child {
  border-bottom: none !important;
}
body:not(.home) .wp-block-table tr th:first-child,
body:not(.home) .wp-block-table tr td:first-child {
  background-color: #ACC7EE !important; /* 指定の緑色 */
  color: #fff !important;
  font-weight: bold;
  text-align: center;
  padding: 18px 24px;
  width: fit-content;
  white-space: nowrap;
  border: none !important;
}

body:not(.home) .wp-block-table tr td:not(:first-child) {
  padding: 18px 28px;
  color: #333;
  font-size: 15px;
  line-height: 1.6;
  border: none !important;
  text-align: left;
  background-color: #fff; /* 背景を白に固定 */
}

/* リンクのスタイル（データ部分のみ） */
body:not(.home) .wp-block-table td:not(:first-child) a {
  color: #333;
  text-decoration: none;
}

body:not(.home) .wp-block-table td:not(:first-child) a:hover {
  text-decoration: underline;
}

/* スマホ対応 */
@media screen and (max-width: 767px) {
  /* 一番左のセル */
  body:not(.home) .wp-block-table tr th:first-child,
  body:not(.home) .wp-block-table tr td:first-child {
    width: 120px; /* 少し狭くする */
    padding: 12px 10px;
    font-size: 14px;
  }
  /* 二番目以降のセル */
  body:not(.home) .wp-block-table tr td:not(:first-child) {
    padding: 12px 15px;
    font-size: 14px;
  }
}