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

:root {
    --color-white: #FFFFFF;
    --color-black: #000;
    --font-main: "M PLUS 1","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;
}

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: #fff;
    height: 24px;
    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: 3px 16px 3px 0;
}
.top-bar-text .text-red{
    color: #970912;
}

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

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

.header-left {
    display: flex;
    align-items: center;
}
.header-left-text{
    color: #fff;
    font-size: min(14px, 20px);
    font-weight: 600;
    padding-left: 30px;
}
.header-right{
    display: flex;
    align-items: center;
}
.header-right-banner {
    display: flex;
    align-items: center;
    height: 46px;
    margin-right: 46px;
    padding-left: 34px;
}
.header-right-banner img{
    height: 100%;
    width: auto;
}

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

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

.main-navigation a {
    color: #fff;
    font-weight: 600;
    font-size: 20px;
    white-space: nowrap;
    padding: 0 20px;
    display: flex;
    line-height: 1.3;
    align-items: center;
    justify-content: center;
    position: relative;
}
.main-navigation a::after{
    height: 100%;
    width: 3px;
    content: "";
    position: absolute;
    right: 0px;
    background-color: #fff;
}

.header-right a:hover {
    opacity: 0.8;
}

/* 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: #031D41;
    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 (PC - 元のコードを維持)
   ========================================================================== */

.hero-section {
    width: 100%;
    max-width: 100%;
    padding: 0;
	position: relative;
	z-index: 1; /* リンククリックのため-1から1に変更 */
    margin-top: 50px;
}

.hero-content {
    background-image: url('../images/mv.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* PCは左寄せ */
    justify-content: flex-start;
    aspect-ratio: 1300 / 606;
    padding: 2.54vw 4.9vw .7vw;
}

.hero-top-copy{
    font-size: 2.77vw;
    color: #031D41;
    line-height: 1.5;
    font-weight: bold;
    padding: .23vw 1.6vw 1.31vw 1.6vw;
    margin-bottom: .3vw;
    background: url(../images/fukidashi_hero.webp) no-repeat;
    background-size: 100% 100%;
}

.hero-sub-copy{
    color: #fff;
    font-size: 2.5vw;
    font-weight: bold;
    text-shadow: 0 4px 9.7px rgba(0, 0, 0, 1);
}
.hero-sub-copy .large-text{
    font-size: 3.7vw;
}
.hero-middle-copy{
    font-size: 3.1vw;
    color: #fff;
    font-weight: bold;
    padding-left: 16vw;
    position: relative;
    text-shadow: 0 4px 9.7px rgba(0, 0, 0, 1);
}
.hero-middle-copy::before{
    position: absolute;
    width: 16.6vw;
    height: .2vw;
    background-color: #fff;
    content: "";
    top: 50%;
    transform: translateY(-50%);
    left: -1vw;
}
.hero-middle-copy::after{
    position: absolute;
    width: 16.6vw;
    height: .2vw;
    background-color: #fff;
    content: "";
    top: 50%;
    transform: translateY(-50%);
    right: -17vw;
}
.hero-main-title{
    width: 55.85vw;
}
.hero-bottom-copy{
    font-size: 1.46vw;
    font-weight: bold;
    letter-spacing: .03em;
    line-height: 1.5;
    color: #fff;
    max-width: 53.2vw;
}

.hero-cta__wrapper{
	z-index: 50;
    margin-top: 1.67vw;
    transition: all 0.3s ease;
}

.hero-cta {
    max-width: 47.3vw;
    width: 100%;
    display: block;
    opacity: 0;
    animation: fadeSlideUp 0.8s ease-out 0.8s forwards;
    transition: transform 0.3s ease;
    margin: 0 auto;
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
}

@keyframes fadeSlideUp {
    0% { opacity: 0; transform: translateY(30px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   Smartphone (SP - ここで中央寄せに調整)
   ========================================================================== */
@media screen and (max-width: 767px) {
    .hero-section {
        max-height: 100%;
        margin-top: 0;
    }
    .hero-content {
        aspect-ratio: 600 / 606;
        max-height: 100%;
        height: 101.7vw !important;
        background: url(../images/mv-sp.webp) no-repeat center;
        background-size: cover;
        /* SPのみ中央揃えにする設定 */
        align-items: center;
        text-align: center;
        padding: 8vw 4vw;
    }

    .hero-top-copy {
        font-size: 4.5vw;
        padding: 1.5vw 4vw 3.5vw;
        margin-bottom: 2vw;
    }

    .hero-sub-copy {
        font-size: 3.8vw;
    }
    .hero-sub-copy .large-text {
        font-size: 5.5vw;
    }

    /* 左右の線の位置をSP中央寄せ用にリセット */
    .hero-middle-copy {
        padding-left: 0; 
        font-size: 5vw;
        margin: 2vw 0;
        display: inline-block;
    }
    .hero-middle-copy::before {
        width: 12vw;
        left: -14vw; /* 文字の左側に配置 */
    }
    .hero-middle-copy::after {
        width: 12vw;
        right: -14vw; /* 文字の右側に配置 */
    }

    .hero-main-title {
        width: 90vw;
        margin-bottom: 3vw;
    }

    .hero-bottom-copy {
        font-size: 2vw;
        max-width: 100%;
        line-height: 1.6;
    }

    .hero-cta__wrapper {
        margin-top: 4vw;
        width: 56vw;
    }
    .hero-cta {
        max-width: 100%;
    }
    .hero-cta.pc-only{
        display: none;
    }
}

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

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

.content-index {
    background: url(../images/bg_index.webp) no-repeat;
    background-size: 100% 100%;
    padding: 54px 0px 40px;
    position: relative;
    overflow: hidden;
}

.index-inner {
    max-width: 1236px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* INDEX タイトル */
.index-main-title {
    text-align: center;
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 40px;
    position: relative;
    display: table;
    margin-left: auto;
    margin-right: auto;
}

.index-main-title::after {
    content: "";
    display: block;
    width: 100%;
    height: 3px;
    background-color: #FFDB11; /* 黄色の下線 */
    margin-top: -3px;
}

/* 全体を包むラッパー */
.index-wrapper {
    max-width: 1300px; /* 300px * 4 + gap分 */
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px; /* 上段と下段の間の隙間 */
}

/* 各段の共通設定（中央寄せにする） */
.index-row {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap; /* 画面幅が狭まった時に折り返すように */
}

/* 個別アイテムの設定 */
.index-item {
    background: #fff;
    border-radius: 4px;
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
    display: flex;
    align-items: center;
    padding: 15px 20px;
    text-decoration: none;
    transition: transform 0.3s ease;
    /* 幅を300pxに固定（または最大幅） */
    width: 300px; 
    min-height: 110px;
    box-sizing: border-box;
}

.index-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
}

.index-icon {
    width: 60px;
    margin-right: 15px;
    flex-shrink: 0;
}
.index-icon img {
    width: 100%;
    height: auto;
}

.index-text {
    font-size: 15px;
    font-weight: bold;
    line-height: 1.4;
    text-align: left;
}

/* --- SP (スマートフォン) の調整 --- */
@media (max-width: 767px) {
    .index-wrapper {
        padding: 0 15px;
    }
    .index-row {
        gap: 10px;
    }
    .index-item {
        width: 100%; /* スマホは全幅で縦に並べる */
        min-height: auto;
        padding: 12px 15px;
    }
    .index-icon {
        width: 45px;
    }
    .index-text {
        font-size: 14px;
    }
}

/* ==========================================================================
SP (スマートフォン) レイアウト
========================================================================== */
@media (max-width: 767px) {
    .content-index {
        padding: 20px 15px;
    }

    .index-main-title {
        font-size: 24px;
    }

    .index-container {
        flex-direction: column; /* 縦並び */
        gap: 15px;
    }
    .index-item{
        padding: 10px;
    }

    .index-item, 
    .index-item:nth-child(n+4) {
        width: 100%; /* 全幅 */
        padding: 15px;
        min-height: auto;
        justify-content: flex-start; /* 左寄せ */
    }

    .index-icon {
        width: 30px; /* SPでは少し小さく */
        margin-right: 15px;
    }

    .index-text {
        font-size: 12px;
    }
}

/* ==========================================================================
Reason Section
========================================================================== */

.section-reason {
    background: url(../images/bg_features.webp) no-repeat;
    background-size: 100% 100%;
    padding: 44px 0px 147px;
    color: #033041;
}

.reason-inner {
    max-width: 1078px;
    margin: 0 auto;
}

/* タイトルエリア */
.reason-title-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.reason-title-box {
    background: #fff;
    padding: 25px 60px 33px 60px;
    position: relative;
    text-align: center;
    width: 778px;
    display: flex;
    align-items: center;
    gap: 18px;
    justify-content: center;
    z-index: 2;
    box-shadow: 7px 7px 0 0 #000;
}


.reason-main-title {
    font-size: 28px;
    font-weight: bold;
    line-height: 1.4;
    margin: 0;
    color: #031D41;
}

.txt-gold {
    color: #E5AC33;
    font-size: 36px;
}

/* 左右のあしらい画像 */
.reason-main-title .line-left, .reason-main-title .line-right {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
}
.line-left { left: -50px; }
.line-right { right: -50px; }

/* リード文 */
.reason-lead {
    text-align: center;
    font-weight: bold;
    font-size: 20px;
    margin-bottom: 44px;
    line-height: 1.8;
}

.reason-lead .marker {
    background: #edf0cd;
}

/* カードコンテナ */
.reason-card-container {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

/* カード単体 */
.reason-card {
    flex: 1;
    background: #fff;
    display: flex;
    flex-direction: column;
}

.reason-card .card-header {
    background-color: #001e43;
    color: #fff;
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    min-height: 103px;
}

.reason-card .card-num {
    font-family: serif;
    font-size: 36px;
    background: linear-gradient(to bottom, 
        #FFD84B 0%, 
        #FFE68E 60%, 
        #FFBE2E 89%
    );
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: bold;
}

.reason-card .card-title {
    font-size: 28px;
    font-weight: bold;
    margin: 0;
    text-align: center;
    line-height: 1.3;
}

.reason-card .card-body {
    padding: 30px 20px;
    flex-grow: 1;
}

.reason-card .card-img {
    text-align: center;
    margin-bottom: 12px;
    height: 173px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.reason-card .card-img img {
    max-width: 100%;
    max-height: 100%;
}

.reason-card .card-txt {
    font-size: 16px;
    line-height: 1.8;
    text-align: center;
    margin: 0;
}

/* ==========================================================================
Smartphone (SP) - 767px以下
========================================================================== */
@media screen and (max-width: 767px) {
    .section-reason {
        background: url(../images/bg_features_sp.webp);
        background-size: 100% 100%; 
        padding: 40px 15px 60px;
    }

    .reason-inner {
        width: 100%;
    }

    /* タイトルエリアのレスポンシブ化 */
    .reason-title-box {
        width: 92%; /* 画面幅に収める */
        padding: 20px 15px; /* 内側の余白を削減 */
        box-shadow: 5px 5px 0 0 #000; /* シャドウを少し細く */
        gap: 10px;
    }

    .reason-main-title {
        font-size: 18px; /* 文字サイズ調整 */
    }

    .txt-gold {
        font-size: 24px; /* 金色文字も連動して小さく */
    }

    /* 左右のあしらい（画面外に出ないよう調整） */
    .line-left, .line-right {
        width: 30px; /* 画像を小さく */
    }
    .line-left { left: -25px; }
    .line-right { right: -25px; }

    /* リード文 */
    .reason-lead {
        font-size: 16px;
        margin-bottom: 30px;
        padding: 0 10px;
        text-align: left; /* スマホでは左寄せが見やすい場合が多いですが、センター維持ならcenterへ */
    }

    /* カードエリア：縦並びに変更 */
    .reason-card-container {
        flex-direction: column;
        gap: 30px;
        align-items: center;
    }

    .reason-card {
        width: 100%;
        max-width: 400px; /* 広がりすぎ防止 */
    }

    .reason-card .card-header {
        min-height: 80px; /* 高さを少し詰める */
        padding: 10px;
    }

    .reason-card .card-num {
        font-size: 30px;
    }

    .reason-card .card-title {
        font-size: 22px;
    }

    .reason-card .card-body {
        padding: 20px 15px;
    }

    .reason-card .card-img {
        height: 100px;
        margin-bottom: 15px;
    }
    
    .reason-card .card-txt {
        font-size: 15px;
        text-align: left; /* 読みやすさのため左寄せ */
    }
}

/* 非常に小さい画面（iPhone SEなど）への対応 */
@media screen and (max-width: 375px) {
    .reason-main-title {
        font-size: 16px;
    }
    .txt-gold {
        font-size: 20px;
    }
    .line-left, .line-right {
        display: none; /* 極小画面では重なるため線を非表示に */
    }
}
/* ==========================================================================
Comparison Section
========================================================================== */
/* --- 比較セクション全体 --- */
.section-comparison {
    background: url(../images/bg_comparison.webp) no-repeat;
    background-size: 100% 100%;
    padding: 80px 0 30px;
    color: #fff;
    margin-top: -80px;
    z-index: -1;
    position: relative;
}

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

/* タイトルエリア */
.comparison-title-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: left;
    margin-bottom: 44px;
    gap: 20px;
}
.comparison-main-title {
    font-size: 28px;
    font-weight: bold;
    line-height: 1.4;
    font-family: "Noto Sans JP", sans-serif;
}
.comparison-main-title .sub-title {
    font-size: 28px;
}
.comparison-main-title .txt-yellow { color: #E5AC33; font-size: 36px;}
.comparison-main-title .txt-num{
    font-size: 48px;
}
.line-left, .line-right { width: 61px; flex-shrink: 0; }

/* PC用グリッド */
.comparison-slider {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    align-items: stretch;
}

/* カード基本 */
.comp-card {
    background: #fff;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* 各カラー設定 */
.card-red .btn-main { background: #970912; border-color: #970912; }
.card-red .btn-sub { border-color: #970912; color: #970912; }
.card-red .spec-label { color: #970912; }

.card-gold .btn-main { background: #B18528; border-color: #B18528; }
.card-gold .btn-sub { border-color: #B18528; color: #B18528; }
.card-gold .spec-label { color: #B18528; }

.card-green .btn-main { background: #064A00; border-color: #064A00; }
.card-green .btn-sub { border-color: #064A00; color: #064A00; }
.card-green .spec-label { color: #064A00; }

/* ヘッダー */
.comp-header {
    position: relative;
    padding: 28px 20px 0px 60px;
    color: #000;
    min-height: 112px;
    display: flex;
    align-items: center;
    text-align: center;
    font-size: 20px;
    justify-content: center;
}
.comp-tag {
    position: absolute;
    top: 0; left: 0px;
    width: 64px; height: 70px;
    display: flex;
    justify-content: center;
    font-weight: bold;
    font-size: 36px;
    color: #fff;
    font-family: serif;
}
.card-red .comp-tag{
    background: url(../images/bg_banner_red.webp) no-repeat;
    background-size: 100% 100%;
}
.card-gold .comp-tag{
    background: url(../images/bg_banner_yellow.webp) no-repeat;
    background-size: 100% 100%;
}
.card-green .comp-tag{
    background: url(../images/bg_banner_green.webp) no-repeat;
    background-size: 100% 100%;
}
.header-desc { font-weight: 500; font-size: 20px; line-height: 1.4; letter-spacing: .03em;}

/* ボディ */
.comp-body { padding: 17px 20px 0 20px; flex-grow: 1; }
.comp-company-name {
    font-size: 28px;
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
    min-height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
}
.comp-web-img { margin: 0 auto 8px; text-align: right; width: 310px;}
.comp-web-img img { width: 100%; border: 1px solid #eee; }
.comp-web-img .source { font-size: 13px; color: #000; margin-bottom: 23px; text-align: right; font-weight: bold;}

/* リストアイテム */
.spec-item { margin-bottom: 20px; }
.spec-support{
    border-top: 1px solid #D0D0D0;
    padding-top: 20px;
}
.spec-label {
    font-weight: bold;
    font-size: 20px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}
/* アイコンを擬似要素で入れる場合（画像パスに合わせてください） */
.spec-label::before {
    content: ""; width: 32px; height: 20px; background-size: contain; background-repeat: no-repeat;
}
.icon-crown::before { background-image: url(../images/crown.webp); } /* 各カラーはCSSで塗り分けも可 */
.icon-handshake::before { background-image: url(../images/hands.webp); }

.spec-list { padding: 0; margin: 0; list-style: none; }
.spec-list li {
    font-size: 16px;
    line-height: 1.6;
    padding-left: 23px;
    position: relative;
    margin-bottom: 4px;
    color: #000;
}
.spec-list li::before {
    content: "";
    position: absolute;
    left: 0;
    background: url(../images/check_blue_01.svg) no-repeat;
    background-size: contain;
    width: 18px;
    height: 18px;
    top: 5px;
}
.spec-support-list li::before{
    background: url(../images/check_blue_02.svg) no-repeat;
    background-size: contain;
}

/* フッター・ボタン */
.comp-footer { padding: 16px 40px 35px; display: flex; flex-direction: column; gap: 10px; }
.btn-main, .btn-sub {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    text-decoration: none;
    font-weight: bold;
    padding: 2px 10px;
    font-size: 15px;
    line-height: 1.4;
    letter-spacing: .03em;
    transition: 0.3s;
    width: 300px;
    height: 50px;
    position: relative;
}
.btn-main { color: #fff; }
.btn-sub { background: #fff; border: 2px solid; }

.btn-main::after, .btn-sub::after {
    content: "";
    margin-left: 10px;
    background: url(../images/arrow_cta_white.svg) no-repeat;
    background-size: contain;
    width: 13px;
    height: 13px;
    position: absolute;
    right: 17px;
}
.btn-sub-red::after{
    background: url(../images/arrow_cta_red.svg) no-repeat;
    background-size: contain;
}
.btn-sub-gold::after{
    background: url(../images/arrow_cta_yellow.svg) no-repeat;
    background-size: contain;
}
.btn-sub-green::after{
    background: url(../images/arrow_cta_green.svg) no-repeat;
    background-size: contain;
}

/* ==========================================================================
Smartphone (SP) - 767px以下
========================================================================== */
@media screen and (max-width: 767px) {
    .section-comparison {
        padding: 60px 0 40px; /* 上下の余白調整 */
        margin-top: 0; /* 重なり具合をSPで調整 */
        background-size: cover; /* 背景画像の表示調整 */
    }

    .comparison-inner {
        padding: 0; /* 左右の余白を一旦リセットしてカードが端まで届くようにする */
    }

    /* タイトルエリア */
    .comparison-title-wrap {
        padding: 0 20px;
        margin-bottom: 30px;
        flex-direction: column; /* 線とタイトルを縦並び（もしくは線を消す） */
        text-align: center;
    }
    .comparison-main-title {
        font-size: 18px;
    }
    .comparison-main-title .sub-title {
        font-size: 18px;
    }
    .comparison-main-title .txt-yellow { font-size: 22px; }
    .comparison-main-title .txt-num { font-size: 30px; }
    
    /* 装飾の線をスマホでは非表示、または小さく */
    .line-left, .line-right { display: none; }

    /* 横スクロールの実装 */
    .comparison-grid-wrapper {
        overflow-x: auto; /* 横スクロールを許可 */
        overflow-y: hidden;
        padding: 0 20px 20px; /* 下側にスクロールバー用の余白 */
        -webkit-overflow-scrolling: touch; /* iOSの慣性スクロール */
    }

    .comparison-slider {
        display: flex; /* GridをFlexに変更して横並びに */
        grid-template-columns: none;
        width: max-content; /* 中身の合計幅に広げる */
        gap: 15px;
    }

    /* カード単体 */
    .comp-card {
        width: 290px !important; /* スマホで見やすいカード幅に固定 */
        flex-shrink: 0; /* 幅が縮まないように固定 */
    }

    /* ヘッダー */
    .comp-header {
        padding: 20px 10px 0 50px;
        min-height: 90px;
        font-size: 16px;
    }
    .comp-tag {
        width: 50px;
        height: 55px;
        font-size: 28px;
    }
    .header-desc { font-size: 15px; }

    /* ボディ */
    .comp-company-name {
        font-size: 20px;
        min-height: 70px;
        margin-bottom: 15px;
    }
    .comp-web-img {
        width: 100%; /* PCの固定310pxを解除 */
        max-width: 250px;
    }

    /* 特徴リスト */
    .spec-label { font-size: 18px; }
    .spec-list li { font-size: 14px; }

    /* フッター・ボタン */
    .comp-footer {
        padding: 15px 15px 25px;
    }
    .btn-main, .btn-sub {
        width: 100%; /* PCの固定300pxを解除してカード幅に合わせる */
        font-size: 14px;
        height: auto;
        min-height: 50px;
        padding: 10px 30px 10px 10px;
    }
    .btn-main::after, .btn-sub::after {
        right: 10px; /* 矢印の位置を少し調整 */
    }
}




/* ==========================================================================
Points Section
========================================================================== */
.section-points {
    padding: 0 0 100px 0;
    overflow: hidden;
}

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

/* タイトルエリア */
.points-title-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin-bottom: 154px;
    gap: 20px;
    padding-top: 24px;
    background-color: #E8EEF6;
}
.points-main-title {
    font-size: 28px;
    font-weight: bold;
    line-height: 1.4;
    color: #183459;
}
.points-main-title .txt-blue { color: #64A0F1; font-size: 36px;}
.points-title-wrap .line-left, .points-title-wrap .line-right { width: 61px; flex-shrink: 0; }

/* ポイント行の基本構造 */
.point-row {
    position: relative;
    margin-bottom: 200px;
    display: flex;
    align-items: center;
    justify-content: flex-end; /* 基本は右に寄せる */
}
.point-row.is-reverse {
    justify-content: flex-start; /* 2番目は左に寄せる */
}
.point-row:last-of-type{
    margin-bottom: 0;
}

/* 背景の大きな建物画像 */
.point-bg-img {
    width: 70%;
    height: 400px;
    position: absolute;
    left: 0;
    bottom: 40px;
    z-index: 1;
}
.is-reverse .point-bg-img {
    left: auto;
    right: 0;
}
.point-bg-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 白いカード */
.point-card {
    position: relative;
    z-index: 2;
    background: #fff;
    width: 75%;
    padding: 53px 30px 25px 20px;
    box-shadow: 0 4px 4px rgba(0,0,0,0.25);
    display: flex;
    align-items: center;
    gap: 30px;
}

.card-content { flex: 1; }
.point-card .card-title {
    font-size: 24px;
    font-weight: bold;
    color: #183459;
    margin-bottom: 20px;
    position: relative;
}
.point-card .card-text {
    font-size: 16px;
    line-height: 1.6;
}
.point-card .txt-highlight {
    color: #B18528;
    font-weight: bold;
}

/* カード内画像 */
.point-card .card-img {
    width: 350px;
}
.point-card .card-img img {
    width: 100%;
}

/* ==========================================================================
Smartphone (SP) - 767px以下
========================================================================== */
@media screen and (max-width: 767px) {
    .section-points {
        padding: 0 0 50px 0;
    }

    .points-inner {
        padding: 0 15px;
    }

    /* タイトルエリア */
    .points-title-wrap {
        margin-bottom: 40px; /* PCの154pxを大幅に削減 */
        padding: 30px 15px;
        gap: 10px;
    }
    .points-main-title {
        font-size: 18px;
    }
    .points-main-title .txt-blue {
        font-size: 24px;
    }
    .points-title-wrap .line-left, 
    .points-title-wrap .line-right {
        display: none; /* スマホでは線を非表示 */
    }

    /* ポイント行のレイアウト変更 */
    .point-row {
        margin-bottom: 40px;
        display: block; /* Flexを解除して縦並びに */
    }
    .point-row.is-reverse {
        /* 反転設定も解除して統一感を出す */
    }

    /* 背景の大きな建物画像 (SPでは複雑になるため非表示、または装飾として調整) */
    .point-bg-img {
        display: none; /* 重なりが読みづらくなるためスマホでは非表示 */
    }

    /* 白いカード */
    .point-card {
        width: 100%; /* 全幅に */
        padding: 20px;
        flex-direction: column; /* 中身（画像とテキスト）を縦並びに */
        gap: 15px;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    }

    /* カード内画像（テキストの上に配置） */
    .point-card .card-img {
        width: 100%;
        order: -1; /* タイトルより上に画像を配置したい場合 */
        margin-bottom: 10px;
    }

    /* テキストエリア */
    .card-content {
        width: 100%;
        text-align: left;
    }

    .point-card .card-title {
        font-size: 20px;
        margin-bottom: 10px;
        line-height: 1.3;
    }

    .point-card .card-text {
        font-size: 14px;
        line-height: 1.7;
    }
}

/* ==========================================================================
Company Introduction Section
========================================================================== */
.company-introduction-section{
    padding: 27px 0 104px 0;
    position: relative;
}


/* 全体タイトル */
.main-comparison-title {
    background: url(../images/bg_introduction_title.webp) no-repeat;
    background-size: 100% 100%;
    padding: 40px 0;
    text-align: center;
    color: #fff;
    margin-bottom: 60px;
}
.title-decoration-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
.introduction-title-lead{
    font-size: 28px;
    font-weight: bold;
    line-height: 2;
    letter-spacing: .03em;
    color: #fff;
    margin-bottom: -25px;
}

.introduction-title {
    font-size: 28px;
    font-weight: bold;
    line-height: 2;
    letter-spacing: .03em;
}
.introduction-title-lead .sub-txt { font-size: 20px; position: relative;}
.introduction-title-lead .sub-txt::before{
    content: "";
    width: 22px;
    height: 40px;
    position: absolute;
    transform: translateX(-50%);
    left: -4%;
    top: -9px;
    background: url(../images/line_gold_left_03.webp) no-repeat;
    background-size: contain;
}
.introduction-title-lead .sub-txt::after{
    content: "";
    width: 22px;
    height: 40px;
    position: absolute;
    transform: translateX(-50%);
    right: -10%;
    top: -9px;
    background: url(../images/line_gold_right_03.webp) no-repeat;
    background-size: contain;
}
.introduction-title .txt-yellow, .introduction-title-lead .txt-yellow { color: #E4B244; font-size: 1.3em; }
.introduction-title .txt-num{
    font-size: 48px;
}
/* レイアウト基本 */
.company-introduction-wrapper {
    display: flex;
    justify-content: space-between;
    max-width: 1300px;
    margin: 0 auto;
}
@media (max-width: 1270px){
    .company-introduction-wrapper {
        padding: 0 2%;
    }
}


/* 会社メインブロック */
.company-main-block {
    margin-bottom: 80px;
    max-width: 942px;
}

/* ヘッダーエリア */
.company-top-flex {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 50px;
    background: url(../images/bg_introduction.webp) no-repeat;
    background-size: cover;
    padding: 60px 26px 24px ;
    justify-content: flex-end;
}
.company-name-area{
    position: relative;
}
.company-name-area::after{
    background-color: #ABA2A2;
    width: 470px;
    height: 1px ;
    content: "";
    position: absolute;
    right: 0;
}
.company-big-name {
    font-size: min(28px, 36px);
    font-weight: bold;
    line-height: 1.3;
    width: fit-content;
}
.company-main-visual { width: 42%; text-align: right; }
.company-main-visual img { width: 100%; }
.company-main-visual .source { font-size: 13px; text-decoration: underline;}

/* 見出し：金色のライン */
.sub-section-title {
    text-align: center;
    font-size: 20px;
    font-weight: bold;
    margin: 38px 0 52px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.sub-section-title::before,
.sub-section-title::after {
    content: "";
    width: 174px;
    height: 1px;
    background-color: #B18528;
    margin: 0 20px;
}

/* 特徴カード */
.features-card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}
.feature-card {
    background: #ECF4FF;
    padding: 10px 9px;
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
    min-height: 365px;
}
.feature-head {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 23px;
    color: #183459;
}
.feature-head h5 { font-size: 20px; font-weight: bold; }
.feature-icon { width: 72px; }
.feature-card p { font-size: 16px; line-height: 1.8; max-width: 253px; margin: 0 auto;}
.marker{
    background: #fffcd2;
}

/* 売却実績タブ */
.record-tab-menu {
    display: flex;
    list-style: none;
    padding: 0;
    margin-bottom: -1px;
}
.tab-item {
    background: #DCDCDC;
    padding: 10px 0px;
    cursor: pointer;
    font-weight: bold;
    margin-right: 5px;
    font-size: 15px;
    width: 124px;
    text-align: center;
}
.tab-item.is-active {
    background: #031D41;
    color: #fff;
}
.record-tab-content {
    background: #fff;
    border: 1px solid #D3D3D3;
    padding: 20px;
}
.tab-panel { display: none; }
.tab-panel.is-show { display: block; }

/* 実績アイテム */
.record-item {
    display: flex;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #eee;
    background: #fff;
    margin-bottom: 10px;
    box-shadow: 4px 4px 4px rgba(0,0,0,0.25);
    position: relative;
}
.record-icon { width: min(60px, 88px); margin-right: 46px; }
.record-date { color: #9F7016; font-weight: bold; font-size: 15px;}
.record-price { font-size: min(30px, 40px); font-weight: bold; color: #031A44; }
.record-price span { font-size: 18px; }
.record-detail { margin-left: auto; margin-top: auto;}
.record-address { font-weight: bold; font-size: 15px; color: #1D2C7A;}
.record-info{
    background-color: #EEF3FA;
    border-radius: 20px;
    padding: 0 8px;
    font-size: 15px;
    margin-top: 6px;
    width: 350px;
}
.record-detail .source{
    position: absolute;
    right: 2px;
    bottom: 0;
    text-decoration: underline;
    font-size: 13px;
}
/* 口コミ */
.review-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 11px;
    max-width: 794px;
    margin: 0 auto;
}
.review-card {
    background: #031D41;
    padding: 23px 9px 30px;
    border-radius: 20px 20px 0 0;
}
.review-user-stars { margin: 0 auto 23px; width: 120px;}
.review-body {
    background: #fff;
    padding: 20px 9px 4px;
    display: flex;
    flex-direction: column;
}
.review-body h6 { font-weight: bold; margin-bottom: 10px; line-height: 1.4; font-size: 16px; padding-left: 16px; padding-right: 16px;}
.review-body p { font-size: 12px; line-height: 1.6; }
.review-body p a{
    text-decoration: underline;
}
.review-body .source{
    text-decoration: underline;
    font-size: 12px;
    display: block;
    text-align: right;
    margin-top: auto;
}

/* 会社概要 */
.company-overview-flex {
    display: flex;
    gap: 20px;
}
.overview-table-wrap {
    flex: 1;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); /* 少し柔らかめに */
}

.overview-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
}

.overview-table th {
    background: #031D41;
    color: #fff;
    width: 30%;
    padding: 20px 15px;
    border-bottom: 1px solid #D0D0D0;
    font-size: 16px;
    text-align: center;
    vertical-align: middle;
}

.overview-table td {
    padding: 20px 25px;
    border-bottom: 1px solid #D0D0D0;
    font-weight: bold;
    font-size: 16px;
    color: #000;
    line-height: 1.6;
}

/* 最後の行のボーダーを消す（重要：th/tdのlast-childではなくtrのlast-child） */
.overview-table tr:last-child th,
.overview-table tr:last-child td {
    border-bottom: none;
}

/* 店舗情報のレイアウト */
.table-item {
    display: flex;
    margin-bottom: 15px;
}

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

.item-label {
    flex-shrink: 0; /* ラベルが潰れないように */
    width: 90px;   /* ラベルの幅を固定して揃える */
}

.item-content {
    flex: 1;
}

/* リンクの色調整 */
.overview-table td a {
    color: #000;
    text-decoration: none;
}
.overview-table td a:hover {
    text-decoration: underline;
}
.overview-map { width: 45%;}

/* ボタン */
.company-action-btns {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin: 40px 0;
}
.btns-red .btn-main { background: #970912; border-color: #970912; }
.btns-red .btn-sub { border-color: #970912; color: #970912; }
.btns-gold .btn-main { background: #B18528; border-color: #B18528; }
.btns-gold .btn-sub { border-color: #B18528; color: #B18528; }
.btns-green .btn-main { background: #064A00; border-color: #064A00; }
.btns-green .btn-sub { border-color: #064A00; color: #064A00; }
/* SP調整 */
@media (max-width: 767px) {
    .company-top-flex, .features-card-grid, .review-grid, .company-overview-flex, .company-action-btns {
        flex-direction: column;
    }
    .company-main-visual, .overview-map { width: 100%;}
    .company-big-name { font-size: 24px; }
    .record-item { flex-direction: column; text-align: center; }
    .record-detail { margin: 15px 0 0; text-align: center; }
    .tab-item { padding: 10px 15px; font-size: 14px; }
}


/* --- サイドバー全体 --- */
.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: linear-gradient(to right, #6DA2EC, #084BA7);
    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;
}

/* ==========================================================================
Smartphone (SP) - 767px以下
========================================================================== */
@media screen and (max-width: 767px) {
    .company-introduction-section {
        padding: 40px 0;
    }

    /* 全体タイトルエリア */
    .main-comparison-title {
        padding: 30px 15px;
        margin-bottom: 30px;
    }
    .introduction-title-wrapper{
        background: url(../images/bg_introduction_title_sp.webp) no-repeat;
        background-size: 100% 100%;
    }
    .introduction-title-lead {
        font-size: 18px;
        margin-bottom: 0;
    }
    .introduction-title {
        font-size: 18px;
    }
    .introduction-title .txt-yellow {
        font-size: 24px;
    }
    .introduction-title .txt-num {
        font-size: 32px;
    }
    /* タイトルの装飾線（金色の小さな線）を調整 */
    .introduction-title-lead .sub-txt::before,
    .introduction-title-lead .sub-txt::after {
        width: 15px;
        height: 25px;
        top: -5px;
    }

    /* レイアウトを縦並びに */
    .company-introduction-wrapper {
        flex-direction: column;
        padding: 0 15px;
    }

    .company-introduction-left {
        width: 100%;
    }

    /* 会社紹介ヘッダー */
    .company-top-flex {
        flex-direction: column; /* 上下並びに */
        padding: 30px 15px;
        gap: 20px;
        background-position: center;
    }
    .company-name-area::after {
        display: none; /* PC用の横線を消す */
    }
    .company-big-name {
        font-size: 24px;
        text-align: center;
    }
    .company-main-visual {
        width: 100%;
        text-align: center;
    }
    .company-main-visual .source{
        text-align: right;
        display: block;
    }
    /* 見出しの横線 */
    .sub-section-title {
        font-size: 18px;
        margin: 30px 0 25px;
    }
    .sub-section-title::before,
    .sub-section-title::after {
        width: 40px; /* 線を短く */
        margin: 0 10px;
    }

    /* 特徴カード：3列→1列 */
    .features-card-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    .feature-card {
        min-height: auto;
        padding: 20px;
    }
    .feature-card p {
        max-width: 100%;
    }

    /* 売却実績タブ */
    .record-tab-menu {
        justify-content: space-between;
    }
    .tab-item {
        width: 32%; /* 3つ並ぶように幅調整 */
        margin-right: 0;
        font-size: 13px;
        padding: 10px 5px;
    }
    .record-item {
        flex-direction: column; /* アイコンとテキストを縦並びに */
        text-align: center;
        padding: 20px 15px;
    }
    .record-icon {
        margin-right: 0;
        margin-bottom: 10px;
        width: 60px;
    }
    .record-price {
        font-size: 28px;
    }
    .record-detail {
        margin-left: 0;
        margin-top: 15px;
        width: 100%;
    }
    .record-info {
        width: 100%;
        margin: 10px auto 0;
    }
    .record-detail .source {
        position: static;
        display: block;
        margin-top: 10px;
    }

    /* 口コミグリッド：3列→1列 */
    .review-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .review-body {
        min-height: auto;
    }

    /* 会社概要テーブル */
    .company-overview-flex {
        flex-direction: column;
    }
    .overview-table th {
        width: 30%;
        font-size: 13px;
        padding: 15px 10px;
    }
    .overview-table td {
        font-size: 13px;
        padding: 15px;
    }
    .overview-map {
        width: 100%;
        height: 250px;
        margin-top: 15px;
    }
    .item-label {
        width: 70px;
        font-size: 12px;
    }

    /* アクションボタン */
    .company-action-btns {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }
    .btn-main, .btn-sub {
        width: 100%;
        max-width: 340px;
    }

    /* --- サイドバーのレスポンシブ --- */
    .company-intro-sidebar {
        width: 100%;
        margin-top: 60px; /* メインコンテンツとの間隔 */
    }
    .sidebar-widget {
        margin-bottom: 30px;
    }
    /* 記事リストをスマホでも見やすく */
    .side-article-thumb {
        width: 80px;
        height: 50px;
    }
    .side-article-title {
        font-size: 14px;
    }
}

/* ==========================================================================
Flow Section
========================================================================== */
.section-flow {
    /* 背景の濃紺グラデーション（曲線風） */
    background: url(../images/bg_flow.webp) no-repeat;
    background-size: 100% 100%;
    padding: 18px 0 80px;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.flow-inner {
    max-width: 1050px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

/* タイトル */
.flow-title-wrap {
    text-align: center;
    margin-bottom: 46px;
}
.flow-title-top p{
    display: inline-block;
    position: relative;
    font-size: 24px;
    font-weight: bold;
    padding-bottom: 5px;
}
.flow-title-top .title-line{
    width: 225px;
    display: block;
    margin: -10px auto 0;
}
.flow-main-title {
    font-size: 28px;
    font-weight: bold;
}

/* カードコンテナ */
.flow-container {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
}

/* 各フローアイテム（白いカード） */
.flow-item {
    background: #fff;
    padding: 52px 6px 14px;
    text-align: center;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 191px;
}

/* ステップ番号（金色の丸） */
.flow-num {
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #B18528;
    color: #fff;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 15px;
    font-family: serif;
}

/* アイコン画像エリア */
.flow-icon {
    width: 85px;
    height: 80px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.flow-icon img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* テキスト */
.flow-text {
    color: #183459;
    font-size: 16px;
    font-weight: bold;
    line-height: 1.4;
    margin-top: 10px;
}
.flow-text-first{
    margin-top: 0px;
}

/* ==========================================================================
Smartphone (SP) - 767px以下
========================================================================== */
@media screen and (max-width: 767px) {
    .section-flow {
        padding: 40px 0;
        background-size: cover; /* 縦長になるためcoverに変更 */
    }

    .flow-inner {
        padding: 0 20px;
    }

    /* タイトルエリア */
    .flow-title-top p {
        font-size: 18px;
    }
    .flow-title-top .title-line {
        width: 160px; /* 下線をスマホサイズに */
        margin: -23px auto 0;
    }
    .flow-main-title {
        font-size: 22px;
        margin-top: -16px;
    }

    /* コンテナ：グリッドを解除して縦並びに */
    .flow-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 25px; /* カード同士の間隔 */
    }

    /* 各フローアイテム（カード） */
    .flow-item {
        width: 100%;
        max-width: 320px; /* 横に広がりすぎないよう制限 */
        min-height: auto;
        padding: 45px 20px 20px;
        border-radius: 10px;
    }

    .flow-num {
        width: 30px;
        height: 30px;
        font-size: 14px;
        top: 8px;
    }

    .flow-icon {
        width: 70px;
        height: 70px;
        margin-bottom: 10px;
    }

    .flow-text {
        font-size: 15px;
        margin-top: 5px;
    }
    
    /* 1つ目のテキスト改行調整 */
    .flow-text br {
        display: block;
    }
}

/* ==========================================================================
Market Section
========================================================================== */
.section-market {
    padding: 60px 0 80px;
}

.market-inner {
    max-width: 1025px;
    margin: 0 auto;
    padding: 0 20px;
}

/* タイトルエリア */
.market-title-wrap {
    text-align: center;
    margin-bottom: 51px;
    background-color: #E8EEF6;
    padding: 18px 0;
}
.market-main-title {
    font-size: 28px;
    font-weight: bold;
    display: inline-block;
    position: relative;
    line-height: 1.4;
    color: #183459;
}
.market-main-title .txt-sub {
    font-size: 24px;
}
.market-main-title .gold-line {
    display: block;
    width: 195px;
    margin: -16px auto -6px;
}

.market-lead {
    text-align: center;
    font-weight: 500;
    margin-bottom: 25px;
    line-height: 1.8;
    font-size: 20px;
}

/* テーブル設定 */
.table-wrapper {
    width: 100%;
    overflow-x: auto;
    border: 1px solid #000;
    border-radius: 0 0 15px 15px;
    -webkit-overflow-scrolling: touch;
}
.market-table {
    background: #fff;
    border-collapse: collapse;
    min-width: 966px;
    table-layout: fixed;
}
.market-table th {
    background-color: #031D41;
    color: #fff;
    padding: 15px;
    font-size: 20px;
}
.market-table tr:last-child{
    border-top: 1px solid #BABABA;
}
.market-table td {
    padding: 12px 29px;
    text-align: center;
    vertical-align: middle;
}

.city-name {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: bold;
    background-color: #ECF4FF;
    font-size: 20px;
    padding: 28px 10px !important;
}
.city-name span { font-size: 20px; font-weight: bold; }
.city-icon { width: 65px; }

.price-m2 { font-size: 40px; font-weight: bold;}
.price-m2 span { font-size: 14px; margin-left: 12px; color: #000;}
.price-m2.is-up { color: #F04032; }
.price-m2.is-down { color: #074184; }

.price-tsubo { font-size: 28px; font-weight: bold; border-left: 1px solid #bababa;}
.price-tsubo span { font-size: 14px; margin-left: 7px; }
.change-box-td{
    border-left: 1px solid #bababa;
}
/* 前年比のボックス */
.change-box{
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 0px 5px 7px 10px;
    border-radius: 15px;
    margin: 0 auto;
}
.change-box-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.change-box.is-up { background-color: #FEE6E2; color: #F04032; }
.change-box.is-down { background-color: #E2EEF9; color: #074184; }
.change-box .rate { font-size: 40px; font-weight: bold; }
.change-box .rate span { font-size: 24px; }
.change-box .status { font-size: 14px; font-weight: bold; color: #000; margin-top: -10px; margin-left: 36px;}
.change-box-arrow {
    width: 32px;
    margin-left: 7px;
    margin-top: 14px;
}
.market-table-source{
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}
.source-link {
    text-align: right;
    font-size: 12px;
    margin-top: 12px;
    text-decoration: underline;
}

/* 市場のPOINT */
.market-points-container {
    max-width: 876px;
    margin: 12px auto 30px;
}
.point-label {
    background-color: #031D41;
    color: #fff;
    display: inline-block;
    padding: 10px 42px;
    border-radius: 50px;
    font-weight: bold;
    margin-bottom: 10px;
    position: relative;
    z-index: 2;
}
.point-flex {
    display: flex;
    gap: 20px;
}
.point-item {
    flex: 1;
    background: #fff;
    padding: 42px 12px 34px 26px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 27px;
}
.point-item.is-up { background-color: #FEE6E2; }
.point-item.is-down { background-color: #E2EEF9; }

.point-icon-wrap { width: 80px; flex-shrink: 0; }
.point-title { font-size: 18px; font-weight: bold; margin-bottom: 5px; }
.point-desc { font-size: 14px; line-height: 1.5; font-weight: bold; }
.txt-red { color: #F04032; }
.txt-blue { color: #074184; }

/* 解説ボックス */
.explanation-box {
    position: relative;
}
.explanation-label {
    background-color: #031D41;
    color: #fff;
    display: inline-flex;
    margin-bottom: 6px;
    margin-left: 61px;
    align-items: center;
    gap: 30px;
    padding: 10px 80px 10px 40px;
    border-radius: 50px;
    font-weight: bold;
}
.bulb-icon { width: 24px; }
.explanation-content{
    background: #fff;
    border-radius: 20px;
    padding: 15px 55px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.explanation-content p {
    line-height: 2;
    text-align: justify;
    font-size: 20px;
}
.explanation-content p .marker {
    background: #fffcd2;
    font-weight: normal;
}
.explanation-content p .text-red{
    color: #F04032;
}
.explanation-content p .text-blue{
    color: #074184;
}

/* ==========================================================================
Smartphone (SP) - 767px以下
========================================================================== */
@media screen and (max-width: 767px) {
    .section-market {
        padding: 40px 0;
    }

    .market-inner {
        padding: 0 15px;
    }

    /* タイトルエリア */
    .market-title-wrap {
        margin-bottom: 30px;
        padding: 20px 10px;
    }
    .market-main-title {
        font-size: 18px;
    }
    .market-main-title .txt-sub {
        font-size: 16px;
    }
    .market-main-title .gold-line {
        width: 140px; /* 金色の線をスマホサイズに縮小 */
        margin: -8px auto -4px;
    }

    .market-lead {
        font-size: 14px;
        margin-bottom: 20px;
        text-align: left; /* スマホでは左寄せが読みやすい */
    }

    /* テーブル：横スクロール対応 */
    /* 元のコードに min-width: 700px があるので、親要素の overflow-x: auto が機能します */
    .table-wrapper {
        border-radius: 10px; /* 角丸を少し小さく */
        /* スクロールを促すためのヒント（任意：影など）を付けても良い */
    }
    .market-table th {
        font-size: 14px;
        padding: 10px;
    }
    .market-table td {
        padding: 10px;
    }
    .city-name {
        font-size: 14px;
    }
    .city-name span {
        font-size: 12px;
    }
    .city-icon {
        width: 40px;
    }
    .price-m2 {
        font-size: 24px;
    }
    .price-tsubo {
        font-size: 18px;
    }
    .change-box .rate {
        font-size: 24px;
    }
    .change-box .rate span {
        font-size: 14px;
    }

    /* 市場のPOINT：縦並びに */
    .point-flex {
        flex-direction: column;
        gap: 15px;
    }
    .point-label {
        padding: 8px 25px;
        font-size: 14px;
    }
    .point-item {
        padding: 20px;
        gap: 15px;
    }
    .point-icon-wrap {
        width: 60px;
    }
    .point-title {
        font-size: 16px;
    }
    .point-desc {
        font-size: 13px;
    }

    /* 解説ボックス */
    .explanation-label {
        margin-left: 0; /* 左の余白をなくす */
        width: 100%; /* 横いっぱいに広げる */
        justify-content: center; /* 中央揃え */
        gap: 15px;
        padding: 10px 20px;
        font-size: 16px;
    }
    .explanation-content {
        padding: 20px 15px;
    }
    .explanation-content p {
        font-size: 14px;
        line-height: 1.8;
    }
}

/* ==========================================================================
FAQ Section
========================================================================== */
.section-faq {
    background-color: #031D41;
    padding: 60px 0 100px 0;
    color: #fff;
}

.faq-inner {
    max-width: 840px;
    margin: 0 auto;
    padding: 0 20px;
}

/* タイトル */
.faq-title-wrap {
    text-align: center;
    margin-bottom: 60px;
}
.faq-main-title {
    font-size: 28px;
    font-weight: bold;
    display: inline-block;
    position: relative;
    line-height: 2;
}
.faq-main-title .sub { font-size: 24px;}
.faq-main-title .title-line {
    width: 216px;
    display: block;
    margin: -31px auto -19px;
}

/* FAQコンテナ */
.faq-container {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.faq-item {
    background: #fff;
    color: #333;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* 質問部分 */
.faq-q {
    background-color: #ECF4FF; /* 薄い水色 */
    padding: 15px 28px 15px 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.3s;
}
.faq-q:hover { background-color: #deeaff; }

.q-text {
    font-size: 20px;
    margin: 0;
}
.q-text span { color: #031D41; margin-right: 10px; font-weight: bold; }

/* 矢印アイコン */
.faq-arrow {
    width: 13px;
    transition: transform 0.4s ease; /* 回転のアニメーション */
}

/* 回答部分（初期状態はJSで制御するため非表示にしないでおくか、CSSで隠す） */
.faq-a {
    display: none; /* JSのslideToggleを使う場合はここをnoneにする */
    background: #fff;
}
.a-inner {
    padding: 9px 60px 20px;
    display: flex;
}
.a-text {
    font-size: 20px;
    line-height: 1.7;
    margin: 0;
}
.a-icon {
    color: #970912;
    font-weight: bold;
    margin-right: 10px;
    font-size: 20px;
}

/* アクティブ時のスタイル（矢印回転） */
.faq-item.is-active .faq-arrow {
    transform: rotate(180deg);
}

/* SPレイアウト */
@media (max-width: 767px) {
    .section-faq { padding: 50px 0; }
    .faq-main-title { font-size: 24px; }
    .faq-q { padding: 15px 20px; }
    .q-text { font-size: 15px; }
    .a-inner { padding: 20px; }
    .a-text { font-size: 14px; }
}

/* ==========================================================================
Company List Section
========================================================================== */
.company-list-section {
    padding: 60px 0;
    background-color: #fff;
}

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

/* タイトル */
.section-title-wrapper {
    text-align: center;
    margin-bottom: 62px;
    background-color: #E8EEF6;
    padding: 22px 0;
}
.company-list-title {
    font-size: 28px;
    font-weight: bold;
    color: #183459;
    display: inline-block;
    position: relative;
}
.company-list-title .title-sub { font-size: 24px; }
.company-list-title .gold-line { display: block; margin-top: -20px; width: 250px; margin-bottom: -10px;}

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

/* カードスタイル */
.company-card {
    background: #fff;
    border: 2px solid #C7E5F9;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

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

/* カードヘッダー */
.company-card .card-header {
    background-color: #001e43;
    color: #fff;
    padding: 30px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    justify-content: flex-start;
    min-height: 100px;
}
.header-icon {
    width: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.company-card .card-title { font-size: 16px; font-weight: bold; margin: 0; line-height: 1.4; color: #fff;}

/* カードボディ */
.company-card .card-body { padding: 25px 20px; flex-grow: 1; }

.info-group { margin-bottom: 25px; }
.info-label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #094C9C;
    font-weight: bold;
    font-size: 16px;
}
.info-icon { width: 23px; }
.info-value {
    font-size: 16px;
    line-height: 1.6;
    font-weight: bold;
    padding-left: 30px;
}

.company-map {
    margin-top: 20px;
    border: 1px solid #eee;
}

/* もっと見るボタン */
.more-btn-area { text-align: center; }
.btn-more-navy {
    background-color: #031D41;
    color: #fff;
    border: none;
    padding: 21px 70px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 10px;
    cursor: pointer;
    transition: opacity 0.3s;
    width: 100%;
    max-width: 400px;
}
.btn-more-navy:hover { opacity: 0.8; }

/* アニメーション用の設定 */
.company-card-visible {
    animation: fadeInUp 0.4s ease forwards;
}

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

/* ==========================================================================
Smartphone (SP) - 767px以下
========================================================================== */
@media screen and (max-width: 767px) {
    .company-list-section {
        padding: 40px 0;
    }

    .company-list-container {
        padding: 0 15px;
    }

    /* タイトルエリア */
    .section-title-wrapper {
        margin-bottom: 30px;
        padding: 20px 10px;
    }
    .company-list-title {
        font-size: 18px;
    }
    .company-list-title .title-sub {
        font-size: 16px;
    }
    .company-list-title .gold-line {
        width: 160px; /* 金色の線をスマホサイズに縮小 */
        margin-top: -10px;
        margin-bottom: -5px;
    }

    /* グリッドを1カラムに変更 */
    .company-list-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 30px;
    }

    /* カード：ヘッダー */
    .company-card .card-header {
        padding: 20px 15px;
        min-height: auto; /* 高さを自動に */
        gap: 12px;
    }
    .header-icon {
        width: 35px; /* アイコンを少し小さく */
    }
    .company-card .card-title {
        font-size: 15px;
    }

    /* カード：ボディ */
    .company-card .card-body {
        padding: 20px 15px;
    }
    .info-group {
        margin-bottom: 15px;
    }
    .info-label {
        font-size: 14px;
        gap: 6px;
    }
    .info-icon {
        width: 18px;
    }
    .info-value {
        font-size: 14px;
        padding-left: 24px; /* アイコンとの位置合わせ */
        line-height: 1.5;
    }

    .company-map {
        margin-top: 15px;
    }
    .company-map iframe {
        height: 200px; /* スマホで見やすい高さに */
    }

    /* もっと見るボタン */
    .btn-more-navy {
        padding: 15px 20px;
        font-size: 15px;
        width: 100%; /* スマホでは横幅いっぱいに */
        max-width: 100%;
        border-radius: 8px;
    }
}


/* ==========================================================================
Recent Posts Section
========================================================================== */
.section-recent-posts {
    background-color: #fff;
    padding-bottom: 60px;
}

/* タイトル部分の薄いブルー背景 */
.recent-posts-header {
    background-color: #E8EEF6;
    padding: 20px 0;
    text-align: center;
    margin-bottom: 40px;
}

.recent-posts-title {
    font-size: 28px;
    font-weight: bold;
    color: #242E54;
    margin: 0;
}

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

/* 4カラムグリッド */
.recent-posts-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

/* カードスタイル */
.article-card a {
    text-decoration: none;
    display: block;
    transition: opacity 0.3s;
}
.article-card a:hover {
    opacity: 0.8;
}

.article-thumbnail {
    aspect-ratio: 16 / 9; /* 画像の比率を一定にする */
    overflow: hidden;
    margin-bottom: 17px;
}
.article-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-title {
    font-size: 20px;
    font-weight: bold;
    line-height: 1.5;
    margin: 0;
    /* 2行以上の場合は省略記号を出す設定（任意） */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* もっと見るボタン */
.recent-posts-btn-area {
    text-align: center;
}
.btn-more {
    display: inline-block;
    background-color: #454545;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    padding: 21px 95px;
    border-radius: 10px;
    transition: background-color 0.3s;
    font-size: 20px;
}
.btn-more:hover {
    opacity: 0.8;
}

/* ==========================================================================
SPレイアウト
========================================================================== */
@media (max-width: 767px) {
    .recent-posts-header {
        padding: 15px 0;
        margin-bottom: 25px;
    }
    .recent-posts-title {
        font-size: 20px;
    }
    
    .recent-posts-container {
        grid-template-columns: repeat(2, 1fr); /* スマホは2列 */
        gap: 15px;
    }
    
    .article-title {
        font-size: 14px;
    }
    
    .btn-more {
        width: 100%;
        box-sizing: border-box;
        padding: 12px 20px;
    }
}


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

/* 1. 一番外側の枠：これを「空気」のように設定します */
.fixed-right-elements {
    position: fixed;
    right: 20px;  /* 位置は調整してください */
    bottom: 20px; /* 位置は調整してください */
    z-index: 9999;
    
    /* 重要：この枠自体はクリックをスルーさせる（透明な壁をなくす） */
    pointer-events: none !important;
    
    /* 余計な幅を持たせないための設定 */
    width: auto;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

/* 2. トップに戻るボタン：表示時のみクリック可能にする */
.scroll-to-top-btn {
    opacity: 0;
    visibility: hidden;
    pointer-events: none; /* 通常時はスルー */
    transition: all 0.3s;
}

.scroll-to-top-btn.visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto !important; /* 表示時のみクリックを有効化 */
}

/* 3. 追従バナー：表示時のみクリック可能にする */
.fixed-banner {
    width: 408px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none; /* 通常時はスルー */
    transition: all 0.3s;
}

.fixed-banner.visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto !important; /* 表示時のみクリックを有効化 */
}

/* 4. バナー内のリンクやボタンは親（バナー）の設定を引き継ぐのでそのままでOK */
.close-banner-btn,
.fixed-banner a {
    pointer-events: auto;
}

/* バナー閉じるボタン */
.close-banner-btn {
    position: absolute;
    top: 53px;
    right: -7px;
    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: #E63939;
    transform: scale(1.1);
}

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


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



.footer-top-container {
    max-width: 966px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 125px;
}

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

.footer-section-title {
    color: #031D41;
    border-bottom: 1px solid #094C9C;
    font-size: 20px;
    font-weight: bold;
    margin: 0 0 15px 0;
    position: relative;
}

.footer-section-content {
    background-color: #FFFFFF;
    flex: 1;
}

.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: 18px;
    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 {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-section-title {
        font-size: 16px;
    }
    
    .footer-section-content {
        padding: 15px;
    }
    
    .footer-article-list a,
    .footer-company-links a {
        font-size: 13px;
    }
}

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

.footer-container {
    padding: 21px 15px 17px 67px;
    background-color: #031D41;
}

.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;
    color: #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;
    color: #fff;
}

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

@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 {
    background: #FFF;
    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 0 10px 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 {
    background-color: #FFF;
    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 #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: fit-content;
  white-space: nowrap;
  border-right: 1px solid #c8e6e4;
  border-bottom: 1px solid #c8e6e4;
}

/* 二番目以降のセル（データ部分）のスタイル */
body:not(.home) .wp-block-table tr td:not(:first-child) {
  padding: 18px 28px;
  color: #333;
  font-size: 15px;
  line-height: 1.6;
  border-right: 1px solid #c8e6e4;
  border-bottom: 1px solid #c8e6e4;
  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;
  }
}