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

:root {
    --color-white: #FFFFFF;
    --color-black: #322E21;
    --font-main: "Shippori Mincho", 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: #fff;
    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: #EDE8DE;
    height: 23px;
    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: #3C3C3C;
    font-size: 12px;
    font-weight: 400;
    padding: 1px 19px 1px 6px;
}
.top-bar-text .txt-navy{
    color: #181C5E;
}

/* トップバーのリンクスタイル */
.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: 62px;
    display: flex;
    align-items: center;
    width: 100%;
    position: fixed;
    top: 23px;
    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: 12px;
}
.header-left-text{
    height: 42px;
}
.header-left-text img{
    height: 100%;
    width: auto;
    object-fit: contain;
}
.header-right{
    display: flex;
    align-items: center;
    padding-left: 8px;
    padding-right: 15px;
}
.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 {
    color: #181C5E;
    font-weight: 600;
    font-size: 15px;
    white-space: nowrap;
    padding: 6px 30px;
    display: flex;
    line-height: 1.3;
    align-items: center;
    justify-content: center;
    position: relative;
    text-align: center;
    flex-direction: column;
}
.main-navigation ul li a::after{
    width: 2px;
    height: 37px;
    content: "";
    position: absolute;
    right: 0;
    background-color: #181C5E;
    bottom: 10px;
}
.main-navigation ul li a .txt-small{
    font-size: 10px !important;
}

.header-right a:hover {
    opacity: 0.8;
}
.header-right-banner img{
    height: 49px;
}

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

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

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

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

/* ==========================================================================
   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: #181C5E;
    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;
}

/* ==========================================================================
   First View (FV) - 1300px Base VW 
   1300pxのカンプ数値を x / 1300 * 100vw で計算
   ========================================================================== */
.fv-section {
    width: 100vw;
    /* 1300:787のアスペクト比を強制 */
    aspect-ratio: 1300 / 787;
    background: url(../images/mv_pc.webp) no-repeat center center;
    background-size: cover;
    position: relative;
    overflow: hidden;
    font-family: "Noto Serif JP", serif;
}

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

/* コンテンツ位置調整 */
.fv-content {
    position: absolute;
    top: 12vw;
    left: 7.7vw;
}

/* 吹き出し（サイズダウン） */
.fv-bubble {
    width: 26vw;
    margin-bottom: -10px;
}
.fv-bubble img { width: 100%; height: auto; }

/* コピー（フォントサイズ微調整） */
.fv-copy {
    color: #161B4D;
    line-height: 1.2;
}

.fv-copy-01 {
    font-size: 2.7vw;
    font-weight: bold;
    margin-bottom: 0.5vw;
}
.fv-copy-01 .num-gray {
    font-size: 4.61vw; /* 60px / 1300 */
    color: #8D8569;
    margin: 0 0.3vw;
}

.fv-copy-highlight {
    display: inline-block;
    background-color: #fff;
    padding: 0.38vw 1.15vw;
    font-size: 4.23vw;
    font-weight: 900;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    margin-bottom: 1.15vw;
}

.fv-copy-02 {
    font-size: 2.61vw; /* 34px / 1300 */
    font-weight: bold;
    line-height: 1;
}

.fv-copy-03 {
    font-size: 3.46vw; /* 45px / 1300 */
    font-weight: bold;
    line-height: 1;
}
.num-red {
    font-size: 6.15vw; /* 80px / 1300 */
    color: #B3292C;
    margin: 0 0.3vw;
    vertical-align: -0.5vw;
}
.txt-red{
    color: #B3292C;
}

/* --- 下部の浮遊CTA --- */
.fv-cta {
    position: absolute;
    bottom: 6vw;
    left: 50%;
    transform: translateX(-50%) translateY(50%); /* 少し下げて待機 */
    width: 44.5vw;
    z-index: 100;
    opacity: 0;
    transition: all 1.2s cubic-bezier(0.19, 1, 0.22, 1);
}

/* スクロールで発火する表示クラス */
.fv-cta.is-visible {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

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

.fv-cta a:hover {
    opacity: 0.9;
}

/* スマホ用（適宜調整） */
@media screen and (max-width: 768px) {
    .fv-section { aspect-ratio: auto; height: 140vw; }
    .fv-content { top: 20vw; left: 5vw; }
    .fv-cta { width: 80vw; bottom: 10vw; }
}

/* ==========================================================================
Main Content
========================================================================== */
.site-main{
	position: relative;
	z-index: -1;
}
.main-content {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}
.btn {
    background-color: #B3292C;
    color: #fff;
    border: none;
    width: 290px;
    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: #fff;
    color: #322E21;
}
.btn.--white::after{
    background: url(../images/arrow_black.svg) no-repeat;
    background-size: contain;
}
.btn.--wide{
    width: 350px;
}
/* ==========================================================================
   INDEX Section (Tsubasa Soken Custom)
   ========================================================================== */
.content-index {
    max-width: 1340px;
    margin: 0px auto;
    padding: 0 20px;
}

.index-inner {
    background-color: #8D8569; /* 指定の背景色 */
    border-radius: 0; /* 角丸なし */
    overflow: hidden;
}

.index-grid-container {
    display: grid;
    grid-template-columns: repeat(6, 1fr); /* 6列 */
}

.index-grid-item {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 15px 2px;
    min-height: 100px;
    position: relative;
    color: #fff;
    border-right: 2px solid rgba(255, 255, 255, 1);
    transition: all 0.4s ease;
}
.index-text-large {
    font-size: 30px; /* INDEXの文字サイズ */
    font-weight: bold;
}
.index-grid-text {
    font-size: 14px;
    line-height: 1.6;
    font-weight: 500;
}

/* 最後の項目の右線を消す */
.index-grid-item:last-child {
    border-right: none;
}

/* 右下の四角形装飾 */
.index-square {
    position: absolute;
    bottom: 7px;
    right: 9px;
    width: 16px;
    height: 11px;
    background-color: rgba(255, 255, 255, 1);
    transition: all 0.4s ease;
}

/* --- ホバー時のアニメーション --- */
.index-grid-item:hover {
    background-color: #7a7258; /* 少し濃い色に変化 */
}

.index-grid-item:hover .index-square {
    opacity: .8;
    width: 20px; /* 少し大きくなる */
    height: 15px;
    transform: rotate(90deg); /* くるっと回転 */
}

.index-grid-item:hover .index-bottom-square::after {
    border-color: #8D8569; /* 中の矢印を背景色にする */
}


/* ==========================================================================
   About Section
   ========================================================================== */
.about-section {
    padding: 12px 0 5px;
    position: relative;
    /* 次のセクションに画像が重なるように z-index を設定 */
    z-index: 10;
}

.about-inner {
    max-width: 1340px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
}

/* 1. 左上の英語タイトル */
.about-en-title {
    font-size: 48px;
    color: #dfddd6;
    z-index: 1;
    margin: 0;
    pointer-events: none;
}

.about-main-content {
    position: relative;
    z-index: 2;
}

/* 2. 左側の画像セット (横幅350px固定) */
.about-left-visual {
    width: 350px;
    position: absolute;
    z-index: 3;
    top: 0;
    left: 0;
}
.about-left-visual img {
    width: 100%;
    height: auto;
}

/* 3. 中央のテキストエリア */
.about-text-area {
    width: 100%;
    max-width: 638px;
    margin: 0 auto 92px;
    margin-top: 229px;
}
.about-description {
    font-size: 22px;
    line-height: 1.5; /* 行間を広めに */
    color: #333;
}

.about-kitchen-visual {
    width: 460px;
    margin-left: auto;
    margin-right: 146px;
}
.about-kitchen-visual img {
    width: 100%;
    display: block;
}

/* 5. 右側の縦書き画像 (次セクションへはみ出す) */
.about-vertical-title {
    position: absolute;
    top: 68px;
    right: 43px;
    width: 136px;
    z-index: 100; /* 最前面へ */
}
.about-vertical-title img {
    width: 100%;
    height: auto;
}

/* 6. 下部のエリア名テキスト */
.about-area-name {
    text-align: center;
    margin-top: 120px;
    font-size: 24px;
    font-weight: bold;
    color: #161B4D;
    font-family: serif;
}








/* ==========================================================================
   Comparison Section (Saitama Ver.)
   ========================================================================== */
.comparison-section {
    background-color: #F5F2EB; /* 背景色（画像に合わせて調整） */
    padding: 60px 0 100px;
}

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

/* ヘッダー */
.comparison-header {
    text-align: center;
    margin-bottom: 47px;
    color: #181C5E;
}
.comparison-sub-title { font-size: 24px; font-weight: bold; margin-bottom: 6px; }
.comparison-main-title { 
    font-size: 40px; 
    font-weight: bold; 
    line-height: 1.4; 
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

/* タイトル横のライン装飾（画像として挿入する場合） */
.title-line-decor {
    display: inline-block;
    width: 335px;
}

/* --- 横スクロール設定 --- */
.comparison-scroll-wrapper {
    overflow-x: auto; /* 横スクロールを許可 */
    padding: 20px;
    -webkit-overflow-scrolling: touch; /* iOS用スムーズスクロール */
}

/* カスタムスクロールバー（任意：必要なければ消してOK） */
.comparison-scroll-wrapper::-webkit-scrollbar { height: 8px; }
.comparison-scroll-wrapper::-webkit-scrollbar-thumb { background: #BEA474; border-radius: 10px; }

.comparison-cards-container {
    display: flex;
    justify-content: flex-start; /* 左寄せ（スクロールさせるため） */
    gap: 7px;
    width: max-content; /* 中身に合わせて幅を広げる */
    margin: 0 auto;
}

/* --- カード本体 --- */
.comparison-company-card {
    width: 400px; /* 画像に近い幅 */
    background-color: #fff;
    border-radius: 29px; /* 角丸を強めに */
    overflow: hidden;
    display: flex;
    flex-direction: column;
    font-family: "Shippori Mincho", serif;
}

/* カード上部の紹介エリア（茶背景） */
.comparison-card-intro-box {
    background-color: #8D8569;
    color: #fff;
    text-align: center;
    padding: 15px 6px;
    font-size: 24px;
    font-weight: bold;
    min-height: 146px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1.4;
}

.comparison-card-header { padding: 20px 10px; text-align: center; display: flex; align-items: center; justify-content: center; min-height: 123px;}
.comparison-card-company-name { font-size: 32px;  color: #333; line-height: 1.2;}

.card-screenshot { width: 90%; margin: 0 auto; position: relative; }
.card-screenshot img { width: 100%; height: 200px; object-fit: cover; border: 1px solid #ddd; }
.citation { display: block; text-align: right; font-size: 11px; margin-top: 5px; }
.comparison-card-body{
    padding: 0 20px;
}
/* 口コミ */
.card-google-review {
    text-align: center;
    margin-top: 12px;
}

.review-label {
    display: flex;
    align-items: center; /* 上下中央 */
    justify-content: center;
    font-size: 18px; /* サイズは適宜調整 */
    font-weight: bold;
    white-space: nowrap; /* テキストの折り返し防止 */
}

/* 左右の線の共通設定 */
.review-label::before,
.review-label::after {
    content: "";
    flex-grow: 1; /* 親要素の余った幅をすべて埋める */
    height: 1px;  /* 線の太さ */
    background-color: #333; /* 線の色（デザインに合わせて変更してください） */
}

/* テキストとの間の余白設定 */
.review-label::before {
    margin-right: 20px; /* 右側に20pxの隙間 */
}

.review-label::after {
    margin-left: 20px; /* 左側に20pxの隙間 */
}
.review-score { display: flex; align-items: center; justify-content: center; }
.score-num { font-size: 29px; font-weight: bold; }
.stars { color: #B76B46; font-size: 29px; }

/* 特徴 */
.comparison-card-features { padding: 16px 0 28px; flex-grow: 1; border-bottom: 1px solid #999999; min-height: 240px;}
.feature-title {
    display: flex;
    align-items: center; /* 上下中央 */
    justify-content: center;
    font-size: 18px; /* デザインに合わせたサイズ */
    font-weight: bold;
    color: #333;
    margin: 12px 0 7px; /* 前後の余白 */
    white-space: nowrap; /* 改行防止 */
}

/* 左右の線の共通設定 */
.feature-title::before,
.feature-title::after {
    content: "";
    flex-grow: 1; /* 親要素の幅いっぱいまで伸ばす */
    height: 1px;  /* 線の太さ */
    background-color: #333; /* 線の色 */
}

/* 線のマージン設定（テキストとの間隔 20px） */
.feature-title::before {
    margin-right: 20px;
}

.feature-title::after {
    margin-left: 20px;
}
.feature-list { list-style: none; padding: 0; }
.feature-list li { font-size: 14px; line-height: 1.2; position: relative; padding-left: 25px; margin-bottom: 10px; }
.feature-list li::before {
    content: "";
    background: url(../images/check.svg) no-repeat;
    background-size: contain;
    width: 21px;
    height: 12px;
    position: absolute; left: 0; color: #8D8569; font-weight: bold;
    top: 50%; transform: translateY(-50%);
}
.highlight { color: #EC562F; font-weight: bold; font-size: 15px;} /* 赤文字ハイライト */

/* 坪単価ボックス */
.price-box {
    background-color: #fff;
    border: 1px solid #8D8569;
    border-radius: 20px;
    width: 332px;
    margin: 40px auto;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding-right: 6px;
}
.price-label { font-weight: bold; font-size: 18px; background-color: #f4f3f0; border-radius: 20px; padding: 22px 11px;}
.price-wrapper{
    margin: 0 auto;
}
.price-value { font-weight: bold; font-size: 16px; }
.price-value .num { font-size: 32px; }
.red { color: #EC562F; }

/* ボタン */
.card-actions { padding: 0 30px 30px; display: flex; flex-direction: column; gap: 25px; justify-content: center; align-items: center;}


/* ==========================================================================
   Points Section (3 Points)
   ========================================================================== */
.points-section {
    max-width: 1340px;
    margin: 100px auto;
    padding: 0 20px;
    color: #181C5E;
}

/* セクション全体タイトル */
.points-header {
    text-align: center;
    margin-bottom: 80px;
}
.points-main-title {
    font-size: 32px;
    font-weight: bold;
    line-height: 1.5;
}
.points-main-title .title-num {
    font-size: 48px;
    margin: 0 5px;
}

/* 個別ポイントの共通設定 */
.point-item {
    margin-bottom: 50px;
}

/* ネイビーの見出しボックス */
.point-heading-box {
    background-color: #181C5E;
    color: #fff;
    display: flex;
    align-items: center;
    padding: 0 20px;
    width: fit-content;
    max-width: 821px;
    margin-bottom: 30px;
    position: relative;
}

.point-number {
    font-size: 48px;
    font-weight: bold;
    margin-right: 15px;
    font-family: serif;
}

.point-title {
    font-size: 27px;
    font-weight: bold;
    line-height: 1.4;
    margin: 0;
    text-align: center;
}

/* コンテンツ部分（テキストと画像） */
.point-flex-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0px;
}

.point-text {
    width: 70%;
    font-size: 16px;
    line-height: 2;
}
.point-text p{
    max-width: 580px;
    margin-left: 100px;
    display: block;
}
.point-text-right p{
    margin-left: 150px;
}

.point-image {
    width: 40%;
}

.point-image img {
    width: 100%;
    height: auto;
}

/* 02番の逆レイアウト設定（PCのみ） */
@media screen and (min-width: 769px) {
    .point-item.inverse .point-heading-box {
        margin-left: auto; /* 見出しを右寄せ */
    }
    .point-item.inverse .point-flex-container {
        flex-direction: row-reverse; /* 画像を左、テキストを右 */
    }
}

/* --- 下線（マーカー）の実装 --- */
.under-marker {
    /* グラデーションで下半分に色を敷く（改行してもOK） */
    background: linear-gradient(transparent 60%, rgba(255, 232, 172, 0.5) 0);
    font-weight: bold;
    display: inline;
}

/* 03番のPartner画像の微調整 */
.image-partner {
    position: relative;
}


/* ==========================================================================
   Introduction Section (Housing Company Recommendation)
   ========================================================================== */
.introduction-section {
    background-color: #EDE8DE;
    padding: 150px 0 50px;
}

.introduction-inner {
    max-width: 1230px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 共通ヘッダー */
.intro-common-header {
    text-align: center;
    margin-bottom: 60px;
}
.intro-sub-title{
    font-size: 40px;
    color: #181C5E;
}
.intro-main-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    font-size: 40px;
    font-weight: bold;
    font-family: serif;
    color: #181C5E;
    line-height: 1.2;
}
.intro-main-title .title-large { font-size: 64px; }
.intro-line-left img, .intro-line-right img { width: 250px; height: auto; }
.title-block{
    display: block;
}


/* メインビジュアル全体のコンテナ */
.company-main-visual {
    margin-bottom: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 28px 50px;
    gap: 50px;
    background-color: #fff;
    box-shadow: 8px 8px 0 #C9C9C9;
}

.company-main-visual img {
    width: 100%;
    height: auto;
    display: block;
    max-width: 640px;
}

.company-main-visual-cite{
    font-size: 11px;
    text-decoration: underline;
    display: block;
    text-align: right;
}

.company-visual-right{
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 370px;
    margin: 0 auto;
    justify-content: center;
    align-items: center;
}
.company-name-ja {
    font-size: 40px;
    font-weight: bold;
    background-color: #181C5E;
    margin: 0;
    display: inline-block;
    color: #fff;
    padding: 11px 12px;
    text-align: center;
    width: fit-content;
}
.company-name-en{
    font-size: 20px;
    display: inline-block;
    color: #181C5E;
    text-align: center;
}


/* 特徴の見出しバー */
.features-header-bar {
    border: 1px solid #000;
    text-align: center;
    padding: 10px;
    margin-bottom: 40px;
}
.features-header-bar h3 {
    margin: 0;
    font-size: 32px;
    color: #5A4637;
    font-weight: bold;
}

/* 強み詳細行 */
.feature-row {
    display: flex;
    align-items: center;
    position: relative;
    z-index: 1;
}

.feature-img {
    width: 50%;
    position: relative;
    z-index: 1;
}
.feature-img img { width: 100%; display: block; padding-left: 70px;}
.feature-row.feature-row.row-reverse .feature-img img{
    padding-left: 0;
    padding-right: 70px;
}
.feature-img-cite{
    font-size: 12px;
    text-decoration: underline;
    position: absolute;
    right: 0;
}
/* 角落ち背景画像を使ったテキストボックス */
.feature-text-box {
    width: 55%;
    margin-left: -5%; /* 画像に少し被せる */
    padding: 30px 70px;
    background-image: url(../images/bg_feature-box.webp);
    background-size: 100% 100%;
    background-repeat: no-repeat;
    z-index: -1;
}

.feature-text-box h4 {
    font-size: 20px;
    color: #181C5E;
    font-weight: bold;
    margin-bottom: 10px;
    line-height: 1.4;
}
.feature-text-box p {
    font-size: 20px;
    line-height: 1.6;
}

/* 左右反転パターン */
.feature-row.row-reverse {
    flex-direction: row-reverse;
}
.feature-row.row-reverse .feature-text-box {
    margin-left: 0;
    margin-right: -5%;
}

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



/* 事例セクション全体 */
.works-section {
    background-color: #fff;
    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-header-bar h3 {
    margin: 0;
    font-size: 28px;
    color: #5A4637;
    font-family: serif;
    font-weight: bold;
}

/* スライダー外枠（矢印を外に置くための土台） */
.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;
}

.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 {
    background-color: #EBE8DE;
    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;
}

/* --- カード本体：全体がゴールド --- */
.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 {
    background-color: #EBE8DE;
}

.company-info-inner {
    max-width: 1225px;
    margin: 0 auto;
    padding: 26px 76px 50px;
    background-color: #FEFBF5;
    border: 1px solid #000;
}

/* セクションタイトルバー */
.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;
}



/* ==========================================================================
   FAQ Section
   ========================================================================== */
.faq-section {
    background-color: #EDE8DE;
    padding: 152px 0 70px;
}

/* 背景画像を敷くコンテナ */
.faq-bg-wrapper {
    max-width: 1115px;
    margin: 0 auto;
    background-image: url(../images/bg_faq.webp);
    background-size: 100% 100%;
    background-repeat: no-repeat;
    padding: 56px 100px 80px 59px;
}

.faq-inner {
    max-width: 850px;
    margin: 0 auto;
}

.faq-main-title {
    font-size: 40px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 24px;
}

.faq-list {
    border-top: 1px solid #313131;
    padding-top: 20px;
}

.faq-item {
    margin-bottom: 30px;
}

/* 質問エリア */
.faq-q {
    display: flex;
    align-items: center;
    gap: 6px;
    border-bottom: 1px solid #707070; /* 質問の下線 */
    padding-bottom: 10px;
    margin-bottom: 12px;
}

.q-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: 1.5px solid #333;
    border-radius: 50%;
    font-size: 18px;
    color: #333;
    flex-shrink: 0;
}

.q-text {
    font-size: 17px;
    font-weight: 500;
    color: #333;
    margin: 0;
}

/* 回答エリア */
.faq-a {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
    padding-left: 47px;
    font-family: "Zen Maru Gothic", sans-serif;
}



/* ==========================================================================
   Company List Section (Saitama Ver.)
   ========================================================================== */
.company-list-section {
    background-color: #fff;
    padding: 30px 0 68px;
}

.company-list-container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}

/* タイトルエリア */
.section-title-wrapper {
    text-align: center;
    margin-bottom: 38px;
}
.company-list-title {
    font-size: 40px;
    font-weight: bold;
    line-height: 1.4;
}

/* グリッドレイアウト */
.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: #8D8569;
    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: 24px;
    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;
}

/* 特徴テキスト */
.feature-text-area {
    min-height: 80px;
	padding: 15px;
    display: flex;
    align-items: center;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15);
    border-radius: 10px;
}
.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;
}

/* 記事を見るボタン（薄いグレー） */
.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: 16px;
    position: relative;
    transition: 0.3s;
}
.btn-view-article:hover {
    background-color: #E0E0E0;
}
.btn-arrow {
    position: absolute;
    right: 20px;
    width: 25px; height: 25px;
}

/* 下部の「会社一覧を見る」ボタン（赤） */
.more-btn-area {
    text-align: center;
    margin-top: 40px;
}


/* レスポンシブ */
@media (max-width: 1024px) {
    .company-list-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
    .company-list-grid { grid-template-columns: 1fr; }
    .company-list-title { font-size: 24px; }
    .btn-view-all-list { width: 100%; }
}







/* ==========================================================================
   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: #B3292C;
    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;
}


/* ==========================================================================
Footer
========================================================================== */

.site-footer {
    margin-top: 0;
}
.footer-top-wrapper{
    background-color: #EDE8DE;
}
.footer-top-container {
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    padding-bottom: 85px;
    padding-top: 77px;
    max-width: 1175px;
}

.footer-column {
    display: flex;
    flex-direction: column;
    width: 437px;
    font-family: "Zen Maru Gothic", sans-serif;
}

.footer-section-title {
    font-size: 20px;
    margin: 0 0 11px 0;
    position: relative;
    font-weight: 400;
}

.footer-section-content {
    background-color: #FFFFFF;
    flex: 1;
    padding: 20px;
    border: 1px solid #707070;
}

.footer-article-list,
.footer-company-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 21px;
}

.footer-article-list li,
.footer-company-links li {
    line-height: 1.5;
}

.footer-article-list a,
.footer-company-links a {
    color: #000;
    text-decoration: none;
    font-size: 16px;
    display: block;
    transition: opacity 0.2s ease;
}

.footer-article-list a:hover,
.footer-company-links a:hover {
    opacity: 0.7;
    text-decoration: underline;
}
.footer-no-content {
    color: #666;
    font-size: 14px;
    margin: 0;
    text-align: center;
    padding: 20px 0;
}


.footer-disclaimer {
    font-size: 24px;
    font-weight: 400;
    line-height: 1.8;
    margin: 0;
    font-family: "Shippori Mincho", serif;
    text-align: center;
    padding-bottom: 66px;
}

/* 濃い茶色の背景エリア */
.footer-dark-section {
    background: url(../images/bg_footer.webp) no-repeat;
    padding: 78px 0 120px;
    color: #fff;
    font-family: "Zen Maru Gothic", sans-serif;
}

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

/* ナビゲーションメニュー */
.footer-navigation ul {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 0 0 15px;
    gap: 20px; /* メニュー間の間隔 */
}

.footer-navigation ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 20px;
    font-weight: 500;
    transition: opacity 0.3s;
}

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

/* 境界線 */
.footer-separator {
    width: 100%;
    height: 1px;
    background-color: #fff;
    margin-bottom: 130px;
}

/* コピーライト（右寄せ） */
.copyright {
    text-align: right;
    font-size: 11px;
    color: #fff;
    margin: 0;
    letter-spacing: 0.02em;
}








/* ==========================================================================
   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;
  }
}