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

:root {
    --color-white: #FFFFFF;
    --color-black: #000;
    --font-main: "Noto Sans JP", sans-serif;
    --font-en: "IBM Plex Sans", 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: #000;
    background-color: var(--color-white);
    max-width: 100vw;
    overflow-x: hidden;
	position: relative;
	z-index: -1;
    background-color: #FDFFF5;
}

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;
}

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

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

.mb-40 {
    margin-bottom: 40px;
}

.mt-40 {
    margin-top: 40px;
}


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

.top-bar {
    background-color: #FFFAE6;
    height: 18px;
    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: 12px;
    width: 100%;
    justify-content: flex-end;
}

.top-bar-text {
    color: #000;
    font-size: 12px;
    font-style: normal;
    font-weight: 300;
    padding-right: 16px;
}

/* トップバーのリンクスタイル */
.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: 66px;
    display: flex;
    align-items: center;
    width: 100%;
    position: fixed;
    left: 0;
    z-index: 9998;
    position: absolute;
    top: 31px;
}

.header-container {
    max-width: 92.84%;
    background-color: #fff;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 100%;
    padding: 7px 21px 7px 7px;
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
}

.header-left {
    display: flex;
    align-items: center;
    height: 100%;
    padding-left: 10px;
}

.header-left img {
    height: 51px;
    width: auto;
    display: block;
}
@media (max-width: 910px){
    .header-left img{
        height: 34px;
    }
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
    height: 100%;
}

.main-navigation {
    display: flex;
    align-items: center;
    height: 100%;
}

.main-navigation ul {
    display: flex;
    gap: 25px;
    list-style: none;
    margin: 0;
    padding: 0;
    margin-right: 24px;
}

.main-navigation a {
    font-weight: 700;
    font-size: 19px;
    white-space: nowrap;
    display: flex;
    line-height: 1.3;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    position: relative;
}
.main-navigation .txt-small{
    font-size: 8px;
    color: #FF0000;
}


.header-right a:hover {
    opacity: 0.8;
}
.header-right-btn{
    color: #fff;
    background-color: #FF0000;
    font-size: 12px;
    border-radius: 37px;
    display: inline-flex;
    padding: 7px 21px;
    align-items: center;
    justify-content: center;
}
.header-right-btn .txt-large{
    font-size: 1.5em;
}
.header-right-btn-arrow{width: 9px; margin-left: 9px;}

/* Page Layout - トップバー・ヘッダー固定分のpadding調整 */
#page {
    padding-top: 18px;
	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: 112px; /* 管理バー(32px) + トップバー(20px) + ヘッダー(60px) */
}

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

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero-section {
    width: 100%;
    max-width: 100%;
    padding: 0;
	position: relative;
	z-index: -1;
    margin-top: -50px;
    background-color: #FFFAE6;
}

.hero-content {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    aspect-ratio: 1302 / 674;
    padding: 9.3vw 3.5vw 3.5vw 4.15vw;
    position: relative;
    z-index: -3;
}

.hero-top-copy{
    font-size: 1.5vw;
    line-height: 1.5;
    font-weight: bold;
    background-color: #F7FAF4;
    padding: .9vw 1.8vw;
    margin-bottom: 1.9vw;
    border-radius: 5.5vw;
    border: 1px solid #000;
}
.hero-top-copy .txt-red{
    color: #C13D3D;
    position: relative;
    font-size: 1.86vw;
}
.hero-blue-copy{
    color: #fff;
    background-color: #002379;
    display: inline-block;
    font-size: 1.54vw;
    padding: .3vw .6vw;
}
.hero-main-title{
    font-size: 3.8vw;
    line-height: 1;
    font-weight: bold;
    margin-bottom: 3.53vw;
}
.hero-main-title .txt-large{
    font-size: 4.9vw;
}
.hero-main-title .txt-orange{
    color: #FF5F00;
}

.hero-bottom-copy{
    font-size: 2.5vw;
    font-weight: bold;
    display: inline;
    line-height: 1;
    margin-top: 2vw;
}
.hero-bottom-copy .num{
    font-size: 4.3vw;
}
.hero-bottom-copy .txt-orange{
    color: #FF5F00;
}
.hero-bottom-copy .txt-blue{
    color: #002379;
    font-size: 3.7vw;
}
/* --- 親：リンクエリア 兼 アニメーション担当 --- */
.hero-cta-link {
    display: block;
    max-width: 37.6vw;
    width: 100%;
    margin-top: 4.6vw;
    text-decoration: none; /* 下線を消す */
    opacity: 0;
    animation: fadeSlideUp 0.8s ease-out 0.8s forwards;
    position: relative;
    z-index: 99;
}

/* --- 子：ボタンの見た目 兼 沈む動き担当 --- */
.hero-cta {
    background-color: #FFA067;
    border-radius: 2.5vw;
    color: #fff;
    font-weight: bold;
    padding: .7vw 1.5vw .7vw 2.3vw;
    position: relative;
    box-shadow: 0.2vw 0.46vw 0 #000;
    transition: all 0.2s ease;
}

/* 親(link)がホバーされたら、子(cta)を沈ませる */
.hero-cta-link:hover .hero-cta {
    transform: translate(0.2vw, 0.46vw);
    box-shadow: 0 0 0 #000;
}

/* 矢印（子要素の中に入れる） */
.hero-cta::after {
    content: "";
    background: url(../images/arrow_white.svg) no-repeat;
    background-size: contain;
    position: absolute;
    width: 2.3vw;
    height: 3.07vw;
    top: 50%;
    transform: translateY(-50%);
    right: 1.5vw;
}

/* テキストサイズ（元と同じ） */
.hero-cta-sub-txt { font-size: 1.69vw; }
.hero-cta-main-txt { font-size: 2.5vw; }

/* アニメーション定義（元と同じ） */
@keyframes fadeSlideUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}


.hero-cta:hover {
    box-shadow: 0 0 0 #000;
    transform: translate(0.2vw, 0.46vw);
}
.hero-cta-sub-txt{
    font-size: 1.69vw;
    margin-left: 1.77vw;
}
.hero-cta-main-txt{
    font-size: 2.5vw;
}

@keyframes fadeSlideUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}
.hero-img{
    width: 38.48vw;
    position: absolute;
    right: 1.69vw;
    bottom: 1.1vw;
}
/* --- スマホ用レイアウト (768px以下) --- */
@media screen and (max-width: 768px) {
    .hero-section {
        margin-top: 0; /* ヘッダーとの被りを調整（必要に応じて） */
        z-index: 1;
        overflow: hidden;
    }

    .hero-content {
        aspect-ratio: auto;
        padding: 4vw 5vw 0;
        align-items: center;
        text-align: left;
    }

    /* 補助金を活用して... */
    .hero-top-copy {
        font-size: 3.2vw;
        padding: 1vw 3vw;
        margin-bottom: 5vw;
        border-radius: 10vw;
        width: fit-content;
        margin-left: -10vw;
    }
    .hero-top-copy .txt-red {
        font-size: 3.5vw;
    }

    /* 足立区の 太陽光... */
    .hero-main-title {
        font-size: 9.5vw; /* 大見出しを強調 */
        line-height: 1.3;
        margin-bottom: 1vw;
        width: 100%;
    }
    .hero-main-title .txt-large {
        font-size: 9.5vw; /* 「足立区の」も大きく */
        display: block; /* 改行させる */
    }
    .hero-main-title .txt-orange {
        font-size: 11vw; /* 「太陽光・蓄電池」をさらに大きく */
    }

    /* 青背景の帯 */
    .hero-blue-copy {
        font-size: 3.5vw;
        padding: 1.5vw 3vw;
        width: 100%;
        box-sizing: border-box;
    }

    /* 40社徹底調査！... */
    .hero-bottom-copy {
        font-size: 6vw;
        margin-top: 0;
        display: block;
    }
    .hero-bottom-copy .num {
        font-size: 12vw; /* 40を大きく */
    }
    .hero-bottom-copy .txt-blue {
        font-size: 9vw; /* 厳選3社を大きく */
        display: inline-block;
        margin-top: 2vw;
    }

    /* 家のイラスト */
    .hero-img {
        position: absolute;
        width: 90vw;
        top: 95vw;
        margin: 0 auto;
        z-index: -3;
        left: 0;
        right: 0;
    }
    .hero-img img {
        width: 100%;
        height: auto;
    }

    /* ボタンエリア */
    .hero-cta-link {
        max-width: 90vw; /* 横幅いっぱい */
        margin: 70vw auto 15vw; /* 下に余白を作る */
        animation: fadeSlideUp 0.8s ease-out 1.2s forwards; /* 少し遅れて表示 */
        z-index: 20;
        position: relative;

    }
    .hero-cta-link.pc-only{
        display: none;
    }

    .hero-cta {
        padding: 4vw 2vw;
        border-radius: 5vw;
        box-shadow: 0 1.5vw 0 #000; /* シャドウをスマホ用に厚く */
    }

    .hero-cta-sub-txt {
        font-size: 4.5vw;
        margin-left: 0;
        display: block;
        margin-bottom: 1vw;
    }

    .hero-cta-main-txt {
        font-size: 6.5vw;
    }

    /* 矢印アイコンのサイズ調整 */
    .hero-cta::after {
        width: 6vw;
        height: 8vw;
        right: 4vw;
    }

    /* ホバー時の挙動をスマホ用に調整（タップした瞬間） */
    .hero-cta-link:active .hero-cta {
        transform: translate(0, 1vw);
        box-shadow: 0 0.5vw 0 #000;
    }
}

/* ==========================================================================
Main Content
========================================================================== */
.site-main{
	position: relative;
	z-index: -1;
}
.main-content {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==========================================================================
INDEX Section
========================================================================== */

.content-index {
    /* セクション全体に上下ボーダー */
    border-top: 1px solid #000;
    border-bottom: 1px solid #000;
    width: 100%;
}

.index-container {
    max-width: 1243px;
    margin: 0 auto;
    display: flex;
    align-items: stretch;
}

.index-item {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 33px 18px;
    text-decoration: none;
    color: #000;
    font-size: 16px;
    line-height: 1.5;
    font-weight: bold;
    border-right: 1px solid #000;
    transition: background-color 0.3s;
}

/* 一番左のアイテムだけ左線をつける */
.index-item:first-child {
    border-left: 1px solid #000;
}

/* ホバー時の背景色（リンクのみ） */
a.index-item:hover {
    background-color: #f0f0e0;
}

/* INDEX ラベルの特有スタイル */
.index-title-label {
    flex: 0 0 164px; /* 幅を固定ぎみに設定 */
    font-size: 30px; /* INDEXの文字サイズ */
    font-weight: 600;
}

/* 改行調整 */
.index-item span br {
    display: block;
}

/* ==========================================================================
Responsive (SP)
========================================================================== */

@media screen and (max-width: 768px) {
    .content-index {
        padding: 0;
        border-bottom: none; /* スマホ時は個別のアイテムで線を制御 */
    }

    .index-container {
        flex-direction: column;
        border-left: none;
        border-right: none;
    }

    .index-item {
        width: 100%;
        border-right: none;
        border-left: none;
        border-bottom: 1px solid #002b61;
        padding: 15px;
        font-size: 16px;
        min-height: auto;
        justify-content: center;
    }

    .index-title-label {
        flex: none;
        font-size: 24px;
        background-color: #eee; /* タイトル部分とわかりやすくするため */
    }

    /* スマホで改行が不要な場合は消す設定 */
    .index-item span br {
        display: none;
    }
}

/* ==========================================================================
Comparison Section
========================================================================== */

.comparison-section {
    padding: 31px 0 0 0;
}

.comparison-container {
    max-width: 1042px;
    margin: 0 auto;
}

/* ヘッダーバッジ */
.header-badge {
    background-color: #002379;
    color: #fff;
    border-radius: 100px;
    padding: 12px 40px;
    text-align: center;
    width: fit-content;
    margin: 0 auto 27px;
}
.header-badge p {
    font-size: 22px;
    font-weight: bold;
    margin: 0;
}
.header-badge span { font-size: 36px; }

/* タイトル */
.comparison-title {
    text-align: center;
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 23px;
}
.text-orange { color: #FF9500; font-size: 36px;}
.text-bright-orange{
    color: #FF5F00;
    font-size: 36px;
}
/* テーブルスクロール設定 */
.scroll-outer {
    width: 100%;
    overflow-x: auto; /* 横スクロールを許可 */
    margin-bottom: 40px;
    padding-bottom: 10px;
}

.comparison-table {
    min-width: 1042px; /* 指定の幅を確保 */
    display: flex;
    flex-direction: column;
}

/* 行のレイアウト */
.table-row {
    display: flex;
    margin-bottom: 5px;
}

/* 各セルの基本設定 */
.cell-label {
    flex: 0 0 178px;
    background-color: #FFFAE6;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    font-weight: bold;
}

.cell-content {
    flex: 1;
    padding: 8px 25px 8px 0;
}

/* ヘッダースタイル */
.header-empty { background-color: #eee; border-radius: 10px 10px 0 0; }
.header-installer {
    background-color: #FF9500;
    color: #fff;
    font-size: 20px;
    font-weight: bold;
    text-align: center;
    border-radius: 10px 10px 0 0;
    margin-left: 5px;
}
.header-dealer {
    background-color: #FFA067;
    color: #fff;
    font-size: 20px;
    font-weight: bold;
    text-align: center;
    border-radius: 10px 10px 0 0;
    margin-left: 5px;
}

/* 内容セルの色分け */
.content-installer {
    background-color: #FFFAE6;
    margin-left: 5px;
    display: flex;
    align-items: center;
}
.content-dealer {
    background-color: #FFFAE6;
    margin-left: 5px;
    display: flex;
    align-items: center;
}

/* アイコン */
.icon-wrap { width: 92px; margin-bottom: 2px; }
.icon-wrap span{
    font-size: 15px;
}
.icon-wrap img { width: 100%; height: auto; }

/* リスト（箇条書き） */
.cell-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.cell-content li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 12px;
    font-size: 12px;
    line-height: 1.6;
    font-weight: bold;
}
.cell-content li::before {
    content: "●";
    position: absolute;
    left: 13px;
    font-size: 10px;
}
.list-green li::before { color: #98C741; }
.list-blue li::before { color: #757EDA; }

/* フッター注釈 */
.comparison-footer-info {
    background: #fff;
    border: 1px solid #AEAEAE;
    border-radius: 20px;
    padding: 12px 25px;
    display: flex;
    align-items: center;
    gap: 20px;
}
.comparison-footer-info-first{
    margin-bottom: 24px;
}
.bulb-icon { width: 51px; flex-shrink: 0; }
.comparison-footer-info p {
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
    font-weight: bold;
}
.text-highlight { color: #ff6600; }

/* --- スマホ用レイアウト (768px以下) --- */
@media screen and (max-width: 768px) {
    .comparison-section {
        padding: 40px 0 0 0;
    }

    /* ヘッダーバッジ（補助金・光熱費などの丸い青枠） */
    .header-badge {
        padding: 2vw 6vw;
        margin-bottom: 5vw;
        width: 85%; /* スマホでは少し広げる */
        box-sizing: border-box;
    }
    .header-badge p {
        font-size: 3.5vw;
    }
    .header-badge span {
        font-size: 6vw;
    }

    /* タイトル */
    .comparison-title {
        font-size: 4.5vw;
        margin-bottom: 6vw;
        padding: 0 4vw;
        line-height: 1.4;
    }
    .text-orange, .text-bright-orange {
        font-size: 6vw;
    }

    /* テーブルスクロール設定 */
    .scroll-outer {
        margin-bottom: 30px;
        /* 指でスクロールしやすいように少し余裕を持たせる */
        -webkit-overflow-scrolling: touch; 
    }

    .comparison-table {
        min-width: 650px; /* スマホでは1042pxだと広すぎるので、650px程度に凝縮 */
        padding: 0 4vw; /* 左右に少し余白 */
    }

    /* 各セルの幅調整 */
    .cell-label {
        flex: 0 0 110px; /* PCの178pxから縮小 */
        padding: 10px;
        font-size: 13px;
    }

    /* ヘッダー（施工店・販売店）の文字サイズ */
    .header-installer, .header-dealer {
        font-size: 16px;
        padding: 10px 0;
    }

    /* セル内のコンテンツ */
    .cell-content {
        padding: 10px 15px 10px 0;
    }

    /* アイコン */
    .icon-wrap {
        width: 60px; /* アイコンを小さく */
    }
    .icon-wrap span {
        font-size: 11px;
    }

    /* リスト（箇条書き） */
    .cell-content li {
        font-size: 11px;
        padding-left: 20px;
        margin-bottom: 8px;
    }
    .cell-content li::before {
        left: 5px;
        font-size: 8px;
    }

    /* フッター注釈エリア */
    .comparison-container {
        padding: 0 4vw; /* 全体の左右余白 */
    }
    .comparison-footer-info {
        padding: 15px;
        gap: 12px;
        flex-direction: row; /* 横並び維持。きつければcolumnへ */
        align-items: flex-start;
    }
    .bulb-icon {
        width: 35px; /* 電球アイコンを小さく */
    }
    .comparison-footer-info p {
        font-size: 13px;
        line-height: 1.5;
    }
    .comparison-footer-info-first {
        margin-bottom: 15px;
    }
}

/* ==========================================================================
Selection Flow Section
========================================================================== */

.selection-flow-section {
    width: 100%;
    padding: 47px 0 0 0;
}

/* 横スクロール制御 */
.flow-scroll-wrapper {
    width: 100%;
    overflow-x: auto;
    padding: 20px;
}

.flow-inner {
    min-width: 1100px; /* ここが重要：崩さないために固定幅を確保 */
    max-width: 1200px;
    margin: 0 auto;
}

/* タイトルヘッダー */
.flow-main-header {
    background-color: #002379;
    color: #fff;
    border-radius: 50px;
    padding: 15px 22px;
    text-align: center;
    width: fit-content;
    margin: 0 auto 80px;
}
.flow-main-header p {
    font-size: 32px;
    font-weight: bold;
    margin: 0;
}
.flow-main-header span { font-size: 25px; }

/* 各ステップの共通枠 */
.flow-step-box {
    position: relative;
}

/* オレンジのラベル（重なり） */
.orange-pill, .orange-pill-light {
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    padding: 9px 60px;
    border-radius: 50px;
    color: #fff;
    font-weight: bold;
    font-size: 22px;
    border: 1px solid #333;
    z-index: 2;
}
.orange-pill { background-color: #FFA067; }
.orange-pill-light {
    background-color: #FFA067;
}
.orange-pill-light span{
    background: linear-gradient(transparent 70%, #90FF3A 70%);
}

/* ステップ1の2カラム */
.step-content-grid {
    display: flex;
    gap: 20px;
    max-width: 1060px;
    margin: 0 0 100px auto;
    position: relative;
}

/* 選択肢ボックス */
.selection-box {
    flex: 1;
    border-radius: 16px;
    padding: 20px 12px;
    display: flex;
    align-items: center;
    gap: 27px;
    background-color: #FFFCE9;
    border: 1px solid #000;
    position: relative;
}
.box-header { text-align: center; width: 120px; }
.box-header-small{
    width: 80px;
    text-align: center;
}
.box-icon { width: 128px;}
.box-icon-small{
    width: 80px;
}
.box-title { font-size: 20px; font-weight: bold; margin: 0 0 26px 0; }
.box-title span { font-size: 17px;}

.color-green { color: #4C5F3D; }
.color-lightblue { color: #41B5EA; }
.color-blue{
    color: #4446D8;
}

/* チェックリスト */
.check-list {
    list-style: none;
    padding: 0;
    margin: 0;
    flex: 1;
}
.check-list li {
    position: relative;
    padding-left: 19px;
    font-weight: bold;
    font-size: 13px;
    margin-bottom: 12px;
}
.check-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 3px;
    background: url(../images/check.svg) no-repeat;
    background-size: contain;
    width: 15px;
    height: 15px;
}

/* STEP2 (地元・大手) */
.step-content-grid-half {
    display: flex;
    gap: 14px;
    max-width: 890px;
    margin-left: -37px;
    position: relative;
    margin-bottom: 61px;
}
.box-white-green { border: 1px solid #8cb34a; background: #fff; }
.box-white-blue { border: 1px solid #3d6eb2; background: #fff; }

/* 矢印画像エリア */
.arrow-area-mid, .arrow-area-bottom {
    text-align: center;
}
.arrow-area-mid{
    position: absolute;
    bottom: -60px;
    right: 130px;
}
.arrow-area-bottom-first{
    position: absolute;
    bottom: -60px;
    left: 0;
    right: 0;
    margin: 0 auto;
    text-align: center;
}
.arrow-area-purple{
    position: absolute;
    bottom: -360px;
    right: 177px;
    text-align: center;
}
.arrow-img-full {
    max-width: 100%;
    height: auto;
}

/* カードエリア */
.company-card-grid {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.company-card {
    flex: 1;
    background-color: #FFB88D;
    border-radius: 15px;
    padding: 13px 9px 31px 9px;
    display: flex;
    flex-direction: column;
}

.card-top-text {
    border-radius: 10px;
    text-align: center;
    font-weight: bold;
    font-size: 19px;
    color: #fff;
    margin-bottom: 16px;
}
.card-company-name{
    font-size: 20px;
    background-color: #fff;
    font-weight: bold;
    text-align: center;
    padding: 20px;
    min-height: 104px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.card-company-name::before{
    content: "";
    position: absolute;
    width: 60px;
    height: 86px;
    background: url(../images/crown_left.webp) no-repeat;
    background-size: contain;
    left: 10px;
}
.card-company-name::after{
    content: "";
    position: absolute;
    width: 60px;
    height: 86px;
    background: url(../images/crown_right.webp) no-repeat;
    background-size: contain;
    right: 10px;
}

.card-visual {
    margin-bottom: 15px;
}
.card-visual img { width: 100%; height: auto; }
.source-text { font-size: 13px; text-align: right; display: block; color: #fff;}

.card-btns {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.card-btns a {
    text-decoration: none;
    color: #fff;
    text-align: center;
    font-weight: bold;
    padding: 6px 20px;
    border-radius: 50px;
    font-size: 15px;
    box-shadow: 0 4px 0 rgba(0,0,0,1); /* ベタ塗りの影 */
    transition: transform 0.2s;
}
.card-btns a:hover { transform: translateY(2px); box-shadow: none; }

.btn-red { background-color: #F21D1D; }
.btn-blue { background-color: #2E99DC; }

/* --- 選定フロー：横スクロール維持用 (768px以下) --- */
@media screen and (max-width: 768px) {
    .selection-flow-section {
        padding: 40px 0;
    }

    /* 横スクロールの設定を強化 */
    .flow-scroll-wrapper {
        overflow-x: auto;
        display: block;
        width: 100%;
        -webkit-overflow-scrolling: touch; /* 指でスムーズにスライド */
        padding-bottom: 30px; /* スクロールバー用の余白 */
    }

    /* 横幅をPC同等（または少し余裕を持たせたサイズ）に固定 */
    .flow-inner {
        min-width: 1100px; /* PCのデザインを崩さないための固定幅 */
        padding: 0 20px;
        margin: 0; /* 左寄せにしてスクロールの開始位置を合わせる */
    }

    /* タイトルだけは画面中央に見えてほしい場合のための調整 */
    /* (親要素が1100pxあるため、そのままだと画面外にタイトルが行くのを防ぐ) */
    .flow-main-header {
        position: sticky; /* スクロールしても画面内に残るように（お好みで） */
        left: 20px;
        right: 20px;
        margin: 0 auto 80px;
        max-width: 90vw; /* タイトルは画面幅に収まるように */
        padding: 10px 20px;
    }
    .flow-main-header p {
        font-size: 24px;
        line-height: 1.3;
    }
    .flow-main-header span {
        font-size: 18px;
    }

    /* 矢印や絶対配置のパーツがずれないよう、基本設定を維持 */
    /* PC用CSSで設定されている absolute や margin-left 等はそのまま引き継がれます */

    /* もしスマホで文字が小さすぎると感じる場合は、ここから微調整 */
    .check-list li {
        font-size: 13px; /* PCと同じサイズを維持 */
    }

    .card-company-name {
        font-size: 18px;
    }
    
    /* 横スクロールバーの見た目（必要に応じて） */
    .flow-scroll-wrapper::-webkit-scrollbar {
        height: 6px;
    }
    .flow-scroll-wrapper::-webkit-scrollbar-thumb {
        background: #ccc;
        border-radius: 10px;
    }
}

/* ==========================================================================
Lifestyle Section
========================================================================== */

.lifestyle-section {
    padding: 43px 0px 0 0;
}

.lifestyle-container {
    max-width: 1114px;
    margin: 0 auto;
}

/* タイトル */
.lifestyle-main-title {
    text-align: center;
    font-size: clamp(20px, 3.5vw, 32px);
    font-weight: bold;
    margin-bottom: 13px;
}
.text-green { color: #00C43E; font-size: 35px;}
.text-dark-green{
    color: #09720B;
}
/* 吹き出し画像エリア */
.voice-image-wrapper {
    text-align: center;
    max-width: 806px;
    margin: 0 auto;
}
.voice-image-wrapper img {
    max-width: 100%;
    height: auto;
}

/* オール電化ヘッダー */
.all-electric-header {
    margin-bottom: 40px;
}
.sub-title-with-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px dashed #000;
    width: fit-content;
    margin: 0 auto 55px;
}
.leaf-icon { width: 56px; height: auto; }
.sub-title-with-icon h3 {
    font-size: clamp(18px, 3vw, 28px);
    font-weight: bold;
    margin: 0;
}

/* フレックスコンテンツ（家とテキスト） */
.lifestyle-flex-content {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 36px;
}

.house-visual {
    flex: 1;
    text-align: center;
}
.house-visual img {
    max-width: 100%;
    height: auto;
}

.lifestyle-text-box {
    flex: 1.3;
    background: #fff;
    border: 1px solid #898989;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 11px 8px 0px rgba(241, 221, 162, 1); /* 薄い黄色の影 */
    line-height: 1.8;
}

.lifestyle-text-box p {
    font-size: 15px;
    margin-bottom: 20px;
    font-weight: bold;
}
.lifestyle-text-box p:last-child { margin-bottom: 0; }

.text-green-bold {
    color: #09720B;
    font-weight: bold;
    font-size: 18px;
}

/* ボタン */
.lifestyle-cta {
    text-align: center;
}

.btn-eco {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #09720B;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    font-size: 15px;
    padding: 7px 28px 4px 56px;
    border-radius: 100px;
    box-shadow: 0 4px 0 #000;
    position: relative;
    transition: all 0.3s;
}

.btn-eco:hover {
    transform: translateY(2px);
    box-shadow: none;
}

.btn-eco .arrow {
    width: 9px;
    margin-left: 30px;
}

/* --- ライフスタイル：スマホ用レイアウト (768px以下) --- */
@media screen and (max-width: 768px) {
    .lifestyle-section {
        padding: 40px 4vw;
    }

    /* タイトル */
    .lifestyle-main-title {
        font-size: 5.5vw;
        line-height: 1.4;
        margin-bottom: 5vw;
    }
    .text-green {
        font-size: 7vw;
    }

    /* 吹き出し画像 */
    .voice-image-wrapper {
        margin-bottom: 8vw;
    }

    /* オール電化ヘッダー（葉っぱアイコンのところ） */
    .sub-title-with-icon {
        margin-bottom: 8vw;
        padding-bottom: 2vw;
        width: 100%; /* 横幅いっぱい使って境界線を出す */
    }
    .leaf-icon {
        width: 10vw; /* アイコンをスマホサイズに */
    }
    .sub-title-with-icon h3 {
        font-size: 4.8vw;
    }

    /* 家とテキストの並び（横並びから縦並びへ） */
    .lifestyle-flex-content {
        flex-direction: column;
        gap: 30px;
        margin-bottom: 10vw;
    }

    .house-visual {
        width: 80%; /* 画像を少しだけ絞って中央に */
        margin: 0 auto;
    }

    /* テキストボックス */
    .lifestyle-text-box {
        padding: 6vw;
        box-shadow: 6px 6px 0px rgba(241, 221, 162, 1); /* 影をスマホに合わせて少し細く */
        line-height: 1.6;
    }

    .lifestyle-text-box p {
        font-size: 3.8vw;
        margin-bottom: 4vw;
    }

    .text-green-bold {
        font-size: 4.5vw;
    }

    /* ボタン（CTA） */
    .lifestyle-cta {
        margin-top: 5vw;
    }

    .btn-eco {
        width: 90%; /* スマホではボタンを大きく */
        box-sizing: border-box;
        font-size: 4.2vw;
        padding: 4vw 6vw 4vw 8vw;
        box-shadow: 0 1.2vw 0 #000;
    }

    .btn-eco .arrow {
        width: 3vw;
        margin-left: 5vw;
    }

    /* ホバー時の沈み込み調整 */
    .btn-eco:active {
        transform: translateY(1.2vw);
        box-shadow: none;
    }
}

/* ==========================================================================
Company Introduction Section
========================================================================== */
.company-introduction-section{
    padding: 82px 0 91px;
    position: relative;
}
.introduction-title-wrapper{
    text-align: center;
    display: flex;
    flex-direction: column;
    position: relative;
}

.introduction-sub-title{
    color: #fff;
    font-size: 29.15px;
    font-weight: bold;
    display: inline-block;
    margin-bottom: 36px;
    position: relative;
}
.introduction-sub-title::before{
    width: 511px;
    height: 70px;
    content: "";
    background: url(../images/fukidashi_01.webp) no-repeat;
    background-size: 100% 100%;
    position: absolute;
    left: 0;
    right: 0;
    margin: 0 auto;
    z-index: -1;
    top: -5px;
}
.introduction-title{
    display: inline-block;
    font-size: 41px;
    font-weight: 700;
    position: relative;
    line-height: 1.3;
    margin-bottom: 26px;
}
.introduction-title .txt-large{
    font-size: 50px;
}
.introduction-title .underline-orange{
    background: linear-gradient(transparent 70%, #FF5F00 70%);
}
.introduction-title .text-green{
    color: #548C3A;
    font-size: 64px;
    line-height: 0.8em;
    position: relative;
}

/* レイアウト基本 */
.company-introduction-wrapper {
    display: flex;
    justify-content: space-between;
    max-width: 1189px;
    margin: 0 auto;
}

.company-main-content {
    max-width: 830px;
    margin-bottom: 82px;
}

/* --- 会社紹介：スマホ用レイアウト (768px以下) --- */
@media screen and (max-width: 768px) {
    .company-introduction-section {
        padding: 50px 0; /* 上下の余白をスマホ用に縮小 */
    }

    /* タイトルまわりのラッパー */
    .introduction-title-wrapper {
        padding: 0 4vw;
        box-sizing: border-box;
    }

    /* 吹き出し風のサブタイトル（足立区のおすすめ業者など） */
    .introduction-sub-title {
        font-size: 4.5vw; /* 文字を小さく */
        margin-bottom: 30px;
        width: 100%;
        text-align: center;
        display: block;
    }
    
    /* 吹き出し背景の調整 */
    .introduction-sub-title::before {
        width: 95%; /* 511pxから画面幅に合わせたサイズに変更 */
        height: 12vw; /* 高さをvwで調整 */
        min-height: 50px;
        top: -5px;
    }

    /* メインタイトル全体 */
    .introduction-title {
        font-size: 7vw;
        margin-bottom: 20px;
        line-height: 1.4;
    }

    /* 「足立区の」などの大きい文字部分 */
    .introduction-title .txt-large {
        font-size: 8.5vw;
    }

    /* 「厳選3社」などの緑色の強調文字 */
    .introduction-title .text-green {
        font-size: 12vw; /* 64pxから拡大（スマホで目立たせる） */
        line-height: 1.1em;
        display: block; /* 改行させてインパクトを出す */
        margin-top: 2vw;
    }

    /* レイアウト基本（横並びを縦並びへ） */
    .company-introduction-wrapper {
        flex-direction: column;
        align-items: center;
        width: 100%;
        padding: 0 4vw;
        box-sizing: border-box;
    }

    /* メインコンテンツ（各社の紹介カードなどが入る部分） */
    .company-main-content {
        max-width: 100%; /* 830pxの制限を解除 */
        width: 100%;
        margin-bottom: 50px;
    }
}

/* ==========================================================================
Environmental Plus Specific Styles
========================================================================== */

/* おすすめバッジ */
.recommend-company-badge {
    background-color: #002379;
    color: #fff;
    display: inline-block;
    padding: 0px 16px;
    border-radius: 50px;
    font-weight: bold;
    font-size: 30px;
    margin-bottom: 25px;
    position: relative;
}
/* バッジ下の小さな三角 */
.recommend-company-badge::after {
    content: "";
    position: absolute;
    bottom: -12px;
    left: 50%;
    border-style: solid;
    border-width: 16px 6px 0 6px;
    border-color: #8F9D2C transparent transparent transparent;
}

/* キャッチコピー */
.company-catch-title {
    font-size: 35px;
    line-height: 1.4;
    font-weight: bold;
    margin-bottom: 8px;
}
.company-catch-title .text-orange { color: #FF5F00; font-size: 44px;}
.company-catch-title .txt-large{
    font-size: 44px;
}

/* 会社名バー */
.company-name-bar {
    background-color: #f4f4f4;
    padding: 8px 10px 8px 30px;
    margin-bottom: 20px;
    position: relative;
}
.company-name-bar::before{
    width: 13px;
    height: 58px;
    background-color: #FF5F00;
    content: "";
    position: absolute;
    left: 10px;
    top: 8px;
}
.company-name-bar h3 {
    font-size: 40px;
    font-weight: bold;
    margin: 0;
}

/* Webキャプチャ */
.company-web-screenshot {
    margin-bottom: 35px;
}
.screenshot-inner{
    position: relative;
}
.screenshot-inner::before {
    width: 100%;
    height: 100%;
    position: absolute;
    background-color: #8FD87B;
    border: 1px solid #000;
    border-radius: 10px;
    right: -9px;
    bottom: -9px;
    content: "";
    z-index: -1;
}
.screenshot-inner img {
    width: 100%;
    height: auto;
}
.source-caption {
    text-align: right;
    font-size: 15px;
    margin-top: 18px;
    display: block;
    text-decoration: underline;
}

/* 特徴セクション */

/* 特徴カードグリッド */
.features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 35px 40px;
    margin-bottom: 33px;
}

.feature-card {
    border: 1px solid #000;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    background: #fff;
}

.card-num {
    position: absolute;
    top: 0;
    left: 0;
    background-color: #FF5F00;
    color: #fff;
    font-weight: bold;
    font-size: 25px;
    padding: 3px 31px;
    z-index: 2;
}

.card-img img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 1px solid #000;
}

.card-text {
    padding: 13px 13px 23px 13px;
}

.card-text h5 {
    font-size: 20px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 15px;
}

.marker {
    background: linear-gradient(transparent 70%, #E7E437 70%);
    padding: 0 2px;
}

.card-text p {
    font-size: 15px;
    line-height: 1.5;
    margin: 0;
    font-weight: bold;
    text-align: center;
}

/* ボタンエリア V2 (画像のデザインに合わせたもの) */
.action-buttons-v2 {
    display: flex;
    justify-content: center;
    gap: 70px;
}

.btn-v2 {
    flex: 1;
    max-width: 314px;
    text-decoration: none;
    color: #fff;
    text-align: center;
    font-weight: bold;
    padding: 8px 21px 4px;
    border-radius: 100px;
    font-size: 15px;
    line-height: 1.3;
    box-shadow: 4px 4px 0 rgba(0,0,0,1); /* 黒いベタ影 */
    position: relative;
}

.btn-orange-v2 { background-color: #FF5F00; }
.btn-navy-v2 { background-color: #002379; }

.btn-v2::after {
    content: "";
    display: inline-block;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 9px 0 9px 10px;
    border-color: transparent transparent transparent #fff;
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
}
.btn-v2:hover {
    transform: translateY(2px);
    box-shadow: none;
}

/* --- 会社詳細：スマホ用レイアウト (768px以下) --- */
@media screen and (max-width: 768px) {
    /* 全体のコンテナ余白 */
    .company-main-content {
        padding: 0 15px;
        box-sizing: border-box;
    }

    /* おすすめバッジ */
    .recommend-company-badge {
        font-size: 18px; /* 30pxから縮小 */
        padding: 4px 12px;
        margin-bottom: 20px;
    }
    .recommend-company-badge::after {
        border-width: 12px 5px 0 5px; /* 三角形も少し小さく */
        bottom: -10px;
    }

    /* キャッチコピー */
    .company-catch-title {
        font-size: 22px; /* 35pxから縮小 */
        margin-bottom: 15px;
    }
    .company-catch-title .text-orange,
    .company-catch-title .txt-large {
        font-size: 28px; /* 44pxから縮小 */
    }

    /* 会社名バー */
    .company-name-bar {
        padding: 10px 10px 10px 25px; /* 左の余白を少し詰める */
    }
    .company-name-bar::before {
        width: 8px;
        height: 34px; /* バーを短く */
        top: 12px;
    }
    .company-name-bar h3 {
        font-size: 24px; /* 40pxから縮小 */
    }

    /* Webキャプチャ */
    .company-web-screenshot {
        margin-bottom: 25px;
    }
    .screenshot-inner::before {
        right: -5px; /* はみ出しすぎを防ぐため5pxに */
        bottom: -5px;
    }
    .source-caption {
        font-size: 12px;
        margin-top: 10px;
    }

    /* 特徴セクション（2カラムを1カラムに） */
    .features-grid {
        grid-template-columns: 1fr; /* 縦1列に変更 */
        gap: 20px;
        margin-bottom: 30px;
    }
    .feature-card {
        max-width: 100%;
    }
    .card-img img {
        height: 180px; /* 高さを少し抑える */
    }
    .card-num {
        font-size: 18px;
        padding: 2px 20px;
    }
    .card-text h5 {
        font-size: 18px;
    }
    .card-text p {
        font-size: 14px;
    }

    /* ボタンエリア（横並びを縦並びに） */
    .action-buttons-v2 {
        flex-direction: column; /* 縦並びに変更 */
        align-items: center;
        gap: 15px; /* ボタン同士の隙間 */
    }
    .btn-v2 {
        flex: none;
        width: 100%; /* ボタンを横幅いっぱいにする */
        max-width: 340px; /* 大きくなりすぎないよう制限 */
        padding: 15px 20px; /* タップしやすいよう上下を広げる */
        font-size: 16px;
    }
    .btn-v2::after {
        right: 20px; /* 矢印の位置調整 */
    }
}
/* ==========================================================================
Environmental Plus Sub Sections (Reviews, Cases, Overview)
========================================================================== */

.company-sub-section {
    margin-top: 30px;
}

/* 導入事例カード */
.cases-grid-v2 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-bottom: 35px;
}
.cases-grid-v3{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-bottom: 45px;
}
.cases-grid-v3 .case-thumb-v2{
    border-radius: 0px;
}
.cases-grid-no-case{
    width: 100%;
    margin-bottom: 58px;
}
.no-case{
    background-color: #EDEDED;
    border: 1px solid #000;
    border-radius: 20px;
    font-size: 20px;
    width: 100%;
    height: 208px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.case-item-v2 {
    text-align: center;
}

.case-thumb-v2 {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 7px;
}
.case-thumb-v2 img { width: 100%; height: 264px; object-fit: cover; }
.owner-name {
    position: absolute;
    bottom: 10px;
    right: 15px;
    color: #fff;
    font-weight: bold;
    font-size: 14px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.8);
}

.case-source-v2 { font-size: 13px; font-weight: bold; margin-bottom: 13px; display: block; text-align: right;}

.case-tags-v2 {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
}
.tag-row { display: flex; gap: 12px; }
.tag-row span {
    background-color: #D9D9D9;
    padding: 2px 5px;
    border-radius: 20px;
    font-size: 11px;
}

/* 口コミカード */
.reviews-grid-v2 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 19px;
    margin-bottom: 50px;
}

.review-card-v2 {
    background: #fff;
    border: 1px solid #000;
    border-radius: 40px;
    padding: 15px 14px 12px;
    box-shadow: 0 4px 4px rgba(0,0,0,0.25);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.review-user-info {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

.user-avatar { width: 41px;}
.user-name { font-weight: bold; font-size: 10px; }
.star-rating { display: flex; align-items: center;}
.star-rating img { width: 61px; }
.star-rating span { font-size: 7px;}

.review-text-v2 {
    position: relative;
    padding: 15px 0;
    display: flex;
    flex-direction: column;
    max-width: 202px;
    margin: 0 auto;
    flex-grow: 1;
}
/* 引用符の装飾（画像があればimgに差し替えも可） */
.review-text-v2::before, .review-text-v2::after {
    content: '“';
    font-family: serif;
    font-size: 40px;
    color: #333;
    position: absolute;
    line-height: 1;
}
.review-text-v2::before { top: -10px; left: -10px; }
.review-text-v2::after { content: '”'; bottom: 20px; right: 0; }

.review-text-v2 p { font-size: 9%; line-height: 1.7; margin-bottom: 15px; }
.review-source-v2 { text-align: right; font-size: 8px; margin-top: auto; display: block; margin-bottom: 0 !important;}



/* 会社概要テーブル & マップ */
.overview-flex-v2 {
    display: flex;
    gap: 18px;
    margin-bottom: 45px;
    align-items: center;
}

.overview-table-wrap {
    flex: 1.2;
}

.company-info-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid #C9C9C9;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 4px rgba(0,0,0,0.25);
}

.company-info-table th {
    background-color: #ffb07c;
    color: #fff;
    width: 30%;
    padding: 20px;
    text-align: center;
    border-bottom: 1px solid #fff;
}

.company-info-table td {
    background-color: #fff;
    padding: 18px;
    font-size: 12px;
    line-height: 1.6;
    border-bottom: 1px solid #C9C9C9;
}

.company-info-table tr:last-child th,
.company-info-table tr:last-child td { border-bottom: none; }

.overview-map-v2 {
    flex: 1;
    height: 350px;
    border-radius: 10px;
    overflow: hidden;
}

/* --- 導入事例・口コミ・会社概要：スマホ用レイアウト (768px以下) --- */
@media screen and (max-width: 768px) {
    /* セクション全体の余白調整 */
    .company-sub-section {
        margin-top: 20px;
        padding: 0 15px; /* 左右に少し余白を作る */
    }

    /* 導入事例（3列・2列をすべて1列に変更） */
    .cases-grid-v2, 
    .cases-grid-v3 {
        grid-template-columns: 1fr; /* 縦1列に */
        gap: 25px;
        margin-bottom: 30px;
    }

    /* 事例画像 */
    .case-thumb-v2 img {
        height: auto; /* 高さを固定せず自動調整 */
        min-height: 200px;
    }

    /* 事例がない場合のグレーボックス */
    .no-case {
        height: 140px;
        font-size: 16px;
    }

    /* 口コミ（3列を1列に変更） */
    .reviews-grid-v2 {
        grid-template-columns: 1fr; /* 縦1列に */
        gap: 15px;
        margin-bottom: 40px;
    }

    .review-card-v2 {
        border-radius: 25px; /* PC版の40pxはスマホでは丸すぎるので少し抑える */
        padding: 20px 15px;
    }

    /* PC版で 9% や 8px となっていた極小フォントを可読サイズに修正 */
    .review-text-v2 {
        max-width: 100%; /* 横幅の制限を解除 */
    }
    .review-text-v2 p {
        font-size: 14px; /* 読みやすいサイズに変更 */
        line-height: 1.6;
    }
    .review-source-v2 {
        font-size: 11px;
    }
    .user-name {
        font-size: 13px;
    }

    /* 引用符の位置を微調整 */
    .review-text-v2::before { left: -5px; top: -15px; }
    .review-text-v2::after { right: -5px; bottom: 13px; }

    /* 会社概要テーブル & マップ（横並びを縦並びに） */
    .overview-flex-v2 {
        flex-direction: column; /* 縦並びに */
        gap: 20px;
    }

    .overview-table-wrap, 
    .overview-map-v2 {
        width: 100%; /* 横幅いっぱい */
        flex: none;
    }

    /* テーブルのセル調整 */
    .company-info-table th {
        width: 35%; /* 見出しの幅を少し広げる */
        padding: 15px 10px;
        font-size: 13px;
    }
    .company-info-table td {
        padding: 15px 12px;
        font-size: 13px;
    }

    /* 地図の高さ調整 */
    .overview-map-v2 {
        height: 280px; /* スマホで画面を占領しすぎない高さに */
    }
}




/* ==========================================================================
   Company Introduction Sidebar
   ========================================================================== */

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

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

/* --- 検索バー & タグ --- */
.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: #FF5F00;
    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 #426CB6;
    padding: 9px 27px 8px 16px;
    text-decoration: none;
    color: #03234E;
    font-weight: bold;
    font-size: 16px;
    background: #fff;
    justify-content: space-between;
    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;
}

.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;
}



/* ==========================================================================
FAQ Section
========================================================================== */

.faq-section {
    width: 100%;
    max-width: 100%;
    margin: 0 auto 64px;
    padding: 0px 5% 30px;
    text-align: center;
    position: relative;
    z-index: -2;
}


.faq-container {
    background: #FFF;
    padding: 30px;
    max-width: 935px;
    margin: 0 auto;
    text-align: left;
    position: relative;
    border-radius: 30px;
}


.faq-title {
    text-align: center;
    font-size: 40px;
    display: inline-block;
    line-height: 1.5;
    margin-bottom: 53px;
}
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 27px;
}

.faq-item {
    max-width: 851px;
    width: 100%;
    margin: 0 auto;
}

.faq-question {
    padding: 15px 14px;
    border-bottom: 1px solid #FF5F00;
    position: relative;
    cursor: pointer;
}
.faq-question:hover{
    opacity: 0.7;
}
.faq-question::after{
    width: 32px;
    height: 32px;
    position: absolute;
    content: "";
    background: url(../images/arrow_faq.svg) no-repeat;
    background-size: contain;
    right: 30px;
    top: 50%;
    transform: translateY(-50%) rotate(0deg); /* 初期回転角 */
    transition: transform 0.3s ease; /* アニメーション */
}
/* 開いた（is-activeクラスがついた）時の矢印 */
.faq-item.is-active .faq-question::after {
    transform: translateY(-50%) rotate(180deg); /* 180度回転 */
}

/* 回答の初期状態（非表示） */
.faq-answer {
    display: none;
    overflow: hidden;
}


.faq-q-text {
    color: #000;
    font-size: 30px;
    font-weight: 700;
    line-height: 1.5;
    margin: 0;
    max-width: 90%;
}
.faq-answer {
    font-size: 20px;
    font-weight: 500;
    line-height: 1.5;
    padding: 10px 0 0 68px;
}

/* --- FAQ：スマホ用レイアウト (768px以下) --- */
@media screen and (max-width: 768px) {
    .faq-section {
        margin-bottom: 40px;
        padding: 0 4vw 30px;
        z-index: 1; /* 重なり順の問題があれば調整 */
    }

    .faq-container {
        padding: 25px 15px; /* 内側の余白を少し詰める */
        border-radius: 20px;
    }

    /* FAQタイトル */
    .faq-title {
        font-size: 26px; /* 40pxから縮小 */
        margin-bottom: 30px;
        display: block; /* 中央寄せを確実に */
    }

    .faq-list {
        gap: 15px; /* 項目間の隙間を詰める */
    }

    /* 質問部分 */
    .faq-question {
        padding: 12px 35px 12px 5px; /* 右側に矢印用のスペースを確保 */
    }

    .faq-q-text {
        font-size: 18px; /* 30pxから縮小 */
        line-height: 1.4;
        max-width: 100%; /* 矢印との重なりはpaddingで制御 */
    }

    /* 矢印アイコンのサイズ調整 */
    .faq-question::after {
        width: 20px;
        height: 20px;
        right: 5px; /* 右端に寄せる */
    }

    /* 回答部分 */
    .faq-answer {
        font-size: 15px; /* 20pxから縮小 */
        padding: 15px 10px 10px 10px; /* PC版の左68pxパディングを解除して広げる */
        line-height: 1.6;
    }
}

/* ==========================================================================
SUBSIDY Section Revised
========================================================================== */

.subsidy-section {
    width: 100%;
    padding: 22px 0 30px;
    background-color: #fee1c8;
}

.subsidy-container {
    max-width: 893px;
    margin: 0 auto;
}

/* ヘッダー */
.subsidy-header {
    text-align: center;
    margin-bottom: 34px;
}

.subsidy-main-title {
    font-size: 30px;
    font-weight: bold;
    margin-bottom: 20px;
    background: linear-gradient(transparent 70%, #FFFAE6 70%);
    display: inline-block;
}
.subsidy-main-title span {
    font-size: 35px;
    display: inline-block;
}

.subsidy-description {
    display: inline-block;
    border: 1px solid #000;
    background: #fff;
    padding: 20px 24px;
    font-size: 20px;
    line-height: 1.6;
    font-weight: bold;
    margin-bottom: 25px;
}

.subsidy-sub-title {
    font-size: 30px;
    font-weight: bold;
}
.subsidy-sub-title span {
    font-size: 35px;
    background-color: #FFFAE6;
}

/* 共通ラベル（オレンジの丸薬型） */
.orange-label {
    display: inline-block;
    background: #FF5F00;
    color: #fff;
    font-weight: bold;
    font-size: 20px;
    padding: 0px 33px;
    border-radius: 50px;
    z-index: 2;
}

/* 対象設備エリア */
.subsidy-target-wrapper {
    position: relative;
    margin-bottom: 50px;
    text-align: center;
}

.target-grid {
    display: flex;
    justify-content: space-between;
    gap: 34px;
    margin-top: 17px;
}

.target-box {
    flex: 1;
    background: #fff;
    border-radius: 10px;
    padding: 7px 0 10px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 127px;
    border: 1px solid #FF5F00;
}

.target-box img {
    height: 80px;
    object-fit: contain;
    margin-bottom: 10px;
}

.target-box span {
    font-weight: bold;
    font-size: 20px;
}

.dual-img {
    display: flex;
    align-items: flex-end;
    gap: 5px;
}
.dual-img img { height: 50px; }

/* 補助金額エリア */
.subsidy-amount-wrapper {
    position: relative;
    margin-bottom: 40px;
    text-align: center;
}

.amount-grid {
    display: flex;
    gap: 76px;
    text-align: left;
    max-width: 776px;
    margin: 42px auto 0;
}

.amount-card {
    flex: 1;
    background: #fff;
    border: 1px solid #FF5F00;
    border-radius: 30px;
    padding: 24px 12px 14px;
    position: relative;
    display: flex;
    flex-direction: column;
}

/* カード左上の丸アイコン */
.card-circle-icon {
    position: absolute;
    top: -34px;
    left: -29px;
    width: 88px;
    height: 88px;
    background: #fff;
    border: 1px solid #000;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 3;
}

.card-circle-icon img {
    width: 54px;
    margin-bottom: 8px;
}

.card-circle-icon span {
    font-size: 10px;
    font-weight: bold;
}

.card-content {
    margin-left: 20px;
}

.standard-price {
    margin-bottom: 15px;
    padding-left: 50px;
}

.standard-price .label {
    font-weight: bold;
    font-size: 15px;
    margin-bottom: 5px;
}

.standard-price .price {
    font-weight: bold;
    font-size: 13px;
}

.standard-price .price span {
    font-size: 14px;
}

.bonus-price {
    background: transparent;
}
.bonus-price-padding{
    margin-left: 50px;
}

.bonus-label {
    font-size: 13px;
    font-weight: bold;
    margin-bottom: 5px;
    padding-left: 50px;
}

.bonus-val {
    font-weight: bold;
    font-size: 27px;
    background: linear-gradient(transparent 60%, #FEE0C7 60%); /* マーカー風 */
    display: inline-block;
}

.bonus-val span {
    font-size: 20px;
}

/* フッター注釈 */
.subsidy-footer-info {
    background: #fff;
    border-radius: 20px;
    padding: 12px 26px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 15px;
    border: 1px solid #AEAEAE;
    max-width: 813px;
    margin: 0 auto;
}

.subsidy-footer-info .bulb-icon {
    width: 51px;
    margin-right: 13px;
}

.subsidy-footer-info p {
    font-weight: bold;
    font-size: 20px;
    margin: 0;
}

/* --- 補助金セクション：スマホ用レイアウト (768px以下) --- */
@media screen and (max-width: 768px) {
    .subsidy-section {
        padding: 30px 15px; /* 左右に余白を確保 */
    }

    .subsidy-container {
        width: 100%;
    }

    /* タイトルまわり */
    .subsidy-main-title {
        font-size: 22px; /* 30pxから縮小 */
        line-height: 1.4;
    }
    .subsidy-main-title span {
        font-size: 26px; /* 35pxから縮小 */
    }

    .subsidy-description {
        font-size: 16px; /* 20pxから縮小 */
        padding: 15px;
        width: 100%;
        box-sizing: border-box;
    }

    .subsidy-sub-title {
        font-size: 22px;
    }
    .subsidy-sub-title span {
        font-size: 26px;
    }

    /* オレンジの共通ラベル */
    .orange-label {
        font-size: 18px;
        padding: 5px 25px;
    }

    /* 対象設備エリア（3列を縦並びに） */
    .target-grid {
        flex-direction: column;
        gap: 15px;
        margin-top: 25px;
    }

    .target-box {
        min-height: auto;
        padding: 15px 0;
    }

    .target-box img {
        height: 60px; /* アイコンを少し小さく */
    }

    .target-box span {
        font-size: 18px;
    }

    /* 補助金額エリア */
    .amount-grid {
        flex-direction: column; /* 縦並び */
        gap: 60px; /* カード同士の隙間（アイコンが被るため広めに） */
        margin: 50px auto 0;
        padding-left: 20px; /* 左上の丸アイコンがはみ出さないようにスペースを空ける */
    }

    .amount-card {
        width: 100%;
        box-sizing: border-box;
        padding: 40px 15px 20px; /* 上部にアイコンがくるので余白を多めに */
    }

    /* カード左上の丸アイコンの調整 */
    .card-circle-icon {
        width: 70px; /* 少し縮小 */
        height: 70px;
        top: -35px;
        left: -15px; /* はみ出しすぎないよう調整 */
    }

    .card-circle-icon img {
        width: 40px;
    }

    .card-content {
        margin-left: 0; /* 左余白をリセット */
    }

    .standard-price, .bonus-label, .bonus-price-padding {
        padding-left: 0; /* 左のパディングをリセット */
        text-align: center; /* スマホでは中央寄せが見やすい */
    }

    .bonus-val {
        font-size: 24px;
        text-align: center;
        display: block;
        margin: 0 auto;
        width: fit-content;
    }

    /* フッター注釈 */
    .subsidy-footer-info {
        flex-direction: row; /* 横並び維持 */
        align-items: flex-start;
        padding: 15px;
        gap: 10px;
    }

    .subsidy-footer-info .bulb-icon {
        width: 35px; /* 電球を小さく */
        margin-right: 0;
    }

    .subsidy-footer-info p {
        font-size: 14px; /* 20pxから縮小 */
        line-height: 1.5;
    }
}


/* ==========================================================================
業者一覧セクション
========================================================================== */

.company-list-section {
    background-color: transparent;
    width: 100%;
    max-width: 100%;
    padding-top: 60px;
}

.company-list-container {
    max-width: 1095px;
    margin: 0 auto;
    padding: 0 20px;
}
.company-list-section .section-title-wrapper{
    text-align: center;
}
.company-list-title {
    font-size: 25px;
    font-weight: 400;
    font-style: normal;
    line-height: normal;
    text-align: center;
    line-height: 1.5;
    color: #fff;
    display: inline-block;
    position: relative;
    background-color: #002379;
    border-radius: 40px;
    padding: 12px 52px;
}

/* --- 会社リストタイトル：スマホ用レイアウト (768px以下) --- */
@media screen and (max-width: 768px) {
    .company-list-title {
        font-size: 18px; /* 25pxから少し縮小 */
        padding: 10px 25px; /* 左右の余白（52px）を大幅にカット */
        border-radius: 30px; /* サイズに合わせて少し小さく */
        width: 90%; /* 画面幅いっぱいに広がらないよう調整 */
        max-width: 320px; /* 最大幅を指定して形をきれいに保つ */
        box-sizing: border-box;
        display: block; /* 中央に寄せるためにblockに変更 */
        margin: 0 auto 20px; /* 中央配置と下の余白 */
        line-height: 1.4;
    }
}
.company-list-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.company-list-card {
    background: #fff;
    transition: opacity 0.3s ease, transform 0.3s ease;
	display: flex;
    flex-direction: column;
    box-shadow: rgba(0, 0, 0, 0.25);
}

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

.company-list-card.company-card-visible {
    display: block;
    animation: fadeInUp 0.4s ease forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.company-list-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    padding: 25px 34px;
    text-decoration: none;
    transition: background 0.3s ease;
    min-height: 103px;
    text-align: center;
    background-color: #FF5F00;
}

.company-list-btn:hover {
    opacity: 0.9;
}

.company-list-btn .btn-text-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.company-list-btn .btn-text {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.4;
}


.company-list-btn .btn-text-line2 {
    /* 店舗名（2行目）のスタイル */
    font-size: 15px;
}

.company-list-btn .btn-arrow {
    width: 25px;
}

.company-list-description {
    padding: 19px 30px;
    color: #505050;
    font-size: 15px;
    line-height: 1.7;
    min-height: 190px;
    border-radius: 10px;
}

.company-list-map {
    width: 100%;
    height: 313px;
    margin: 0 auto;
}

.company-list-map iframe {
    width: 100%;
    height: 100%;
    display: block;
}

.company-list-info {
    padding: 15px;
	display: flex;
    flex-direction: column;
    height: auto; 
    flex: 1;
    border-radius: 0 0 10px 10px;
}

.company-info-item {
    margin-bottom: 12px;
    padding: 0 20px;
}
.company-info-item:nth-of-type(1){
    margin-bottom: 40px;
}
.company-info-item:nth-of-type(2){
	padding-bottom:20px;
}

.company-info-item:last-child {
    margin-bottom: 0;
}

.company-info-item .info-label {
    display: inline-block;
    background-color: #dff4fa;
    font-size: 15px;
    font-style: normal;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 6px;
    padding: 1px 10px;
}

.company-info-item .info-value {
    display: block;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.5;
}


.company-info {
    padding: 15px 12px 20px;
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0;
}

.company-list-more-wrapper {
    text-align: center;
    margin-top: 32px;
}

.company-list-more-btn {
    display: inline-flex;
    align-items: center;
    justify-content:space-between;
    background-color: #FF5F00;
    color: #fff;
    border: none;
    padding: 10px 16px 12px 38px;
    width: 290px;
    height: 56px;
    font-size: 20px;
    font-weight: 600;
    cursor: pointer;
    border-radius: 10px;
    position: relative;
    box-shadow: 0px 5px 0 #000;
}

.company-list-more-btn:hover {
    transform: translateY(6px);
    box-shadow: none;
}

.company-list-more-btn .btn-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 43.47px;
    padding-top: 5px;
}

.company-list-more-btn.is-expanded .btn-icon {
    transform: rotate(180deg);
}


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

/* トップに戻るボタン */
.scroll-to-top-btn {
    width: 50px;
    height: 50px;
    background-color: #3C3D3D;
    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);
}

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

.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);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    border-radius: 4px;
    overflow: visible;
    margin-top: 5px;
}

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

.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: -10px;
    right: -10px;
    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;
}

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

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


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

.footer-top-container {
    max-width: 1048px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    padding-bottom: 34px;
    padding-top: 64px;
}

.footer-column {
    display: flex;
    flex-direction: column;
    width: 437px;
}

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

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

.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;
}

@media (max-width: 767px) {
    .footer-top-container {
        flex-direction: column;
        gap: 30px;
        padding-left: 20px;
        padding-right: 20px;
    }
    
    .footer-section-title {
        font-size: 16px;
    }
    
    .footer-section-content {
        padding: 15px;
    }
    .footer-column{
        width: 90vw;
    }
    .footer-article-list a,
    .footer-company-links a {
        font-size: 13px;
    }
}

.site-footer {
    margin-top: 0;
}

.footer-container {
    padding: 21px 15px 17px 67px;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-top: 9px;
}

.footer-navigation {
    width: 100%;
}

.footer-menu {
    display: flex;
    gap: 11px;
    list-style: none;
    align-items: center;
    flex-wrap: wrap;
}

.footer-menu a {
    font-size: 11px;
    padding-left: 10px;
    border-left: 1px solid #fff;
}

.footer-menu li:first-child a {
    border-left: none;
    padding-left: 0;
    margin-left: 0;
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-disclaimer {
    font-size: 11px;
    font-style: normal;
    font-weight: 300;
    line-height: normal;
    margin: 0;
}

.copyright {
    font-size: 11px;
    font-style: normal;
    font-weight: 300;
    line-height: normal;
    margin: 0;
    text-align: center;
    padding-right: 28px;
}

@media (max-width: 767px) {
    .footer-content {
        gap: 15px;
    }
    
    .footer-menu {
        flex-direction: column;
        gap: 10px;
    }
}


/* ==========================================================================
   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 / 3;
    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: #358AD5;
    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;
}

/* ==========================================================================
   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: #0A3077;
    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: #0A3077;
    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: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

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

body:not(.home) .wp-block-table tr:last-child {
  border-bottom: none !important;
}

/* 【重要】一番左のセル（thでもtdでも）を「見出し」スタイルにする */
body:not(.home) .wp-block-table tr th:first-child,
body:not(.home) .wp-block-table tr td:first-child {
  background-color: #5bbcb4 !important; /* 指定の緑色 */
  color: #fff !important;
  font-weight: bold;
  text-align: center;
  padding: 18px 24px;
  width: 160px; /* 見出しの横幅 */
  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;
  }
}