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

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: 64px;
    display: flex;
    align-items: center;
    width: 100%;
    position: fixed;
    top: 24px;
    z-index: 9998;
}

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

.header-left {
    display: flex;
    align-items: center;
}
.header-left-text{
    height: 59px;
}
.header-left-text img{
    height: 100%;
    width: auto;
    object-fit: contain;
}
.header-right{
    display: flex;
    align-items: center;
}

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

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

.main-navigation a {
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    white-space: nowrap;
    padding: 0 30px;
    display: flex;
    line-height: 1.3;
    align-items: center;
    justify-content: center;
    position: relative;
    text-align: center;
}

.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
   ========================================================================== */

.hero-section {
    width: 100%;
    max-width: 100%;
    padding: 0;
	position: relative;
	z-index: -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: center;
    justify-content: center;
    aspect-ratio: 1441 / 686;
    padding: 4.66vw 1.18vw .7vw;
    position: relative;
    z-index: -3;
}
.hero-top-copy-wrapper{
    display: flex;
    justify-content: center;
    gap: 1.04vw;
    margin: 0 auto;
}

.hero-top-copy{
    font-size: 2.5vw;
    color: #fff;
    line-height: 1.5;
    font-weight: bold;
    padding: 0 1.39vw;
    margin-bottom: 4.8vw;
    display: inline-block;
    background-color: #224B97;
    border-radius: 2.43vw;
    letter-spacing: .03em;
}
.hero-top-copy .txt-yellow{
    color: #FFCE27;
}
.hero-sub-copy{
    width: 86.6vw;
}

.hero-middle-copy{
    font-size: 2.78vw;
    color: #224B97;
    font-weight: bold;
    position: relative;
}
.hero-main-title{
    width: 73.3vw;
}

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

.hero-cta {
    max-width: 49.17vw;
    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);
    border-radius: 1.39vw;
}

.hero-cta img {
    width: 100%;
    height: auto;
    display: block;
}

.hero-cta__wrapper:hover {
    transform: scale(1.05);
}

@keyframes fadeSlideUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}
/* --- CTA画像の表示切り替え用基本設定 --- */
.hero-section .pc-only {
    display: block !important;
}
.hero-section .sp-only {
    display: none !important;
}

/* --- CTA表示切り替え設定 --- */
.hero-section .pc-only { display: block !important; }
.hero-section .sp-only { display: none !important; }

/* =============================================================
   メインビジュアル (hero) レスポンシブ - vwメイン
   ============================================================= */

@media screen and (max-width: 768px) {
    .hero-section {
        margin-top: 0px;
        z-index: 1; /* リンクを効かせるため正の数へ */
    }

    .hero-content {
        /* スマホでの背景の見え方を調整。縦長に確保（基準375pxに対して高さ550px程度） */
        aspect-ratio: 375 / 550; 
        padding: 12vw 5vw 8vw; /* 上下左右の余白もvwで調整 */
        background-position: 65% center; /* 背景の重要部分（人物など）を中央寄りに */
    }

    /* 吹き出しコピー：縦並びに切り替え */
    .hero-top-copy-wrapper {
        flex-direction: column;
        align-items: center;
        gap: 2.6vw; /* 吹き出し同士の隙間 */
        margin-bottom: 6vw;
    }

    .hero-top-copy {
        font-size: 4.2vw; /* スマホで約16px相当 */
        padding: 1.5vw 4vw;
        border-radius: 5vw;
        margin-bottom: 0;
        width: fit-content;
        white-space: nowrap;
    }

    /* メインタイトル画像系：画面幅に合わせてvwで指定 */
    .hero-sub-copy {
        width: 85vw; /* ほぼ画面いっぱい */
        margin-bottom: 2vw;
    }

    .hero-middle-copy {
        font-size: 4.8vw; /* スマホで約18px相当 */
        margin-bottom: 1.5vw;
    }

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

    /* CTA画像の切り替え */
    .hero-section .pc-only { display: none !important; }
    .hero-section .sp-only { display: block !important; }

    .hero-cta {
        max-width: 80vw; /* CTAの横幅をスマホ画面の80%に */
        border-radius: 3vw;
        opacity: 1; /* アニメーションなしでも見えるように。アニメを活かすなら削除可 */
    }

    .hero-cta__wrapper {
        margin-top: 5vw;
    }
}

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

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

.content-index {
    max-width: 1440px;
    margin: 0 auto;
}

.index-grid-container {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    /* 枠線を1pxの白にする（隙間を1px空けて背景を白にする手法） */
    gap: 1px;
    background-color: #fff; 
    border: 1px solid #fff;
}

.index-grid-item {
    background-color: #257DB7; /* 画像の青色 */
    color: #fff;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px 10px;
    min-height: 133px; /* 箱の高さを揃える */
    transition: background-color 0.3s;
}

.index-grid-item:hover {
    background-color: #1f6a96; /* ホバー時に少し暗く */
}

.index-grid-text {
    font-size: 20px;
    font-weight: bold;
    line-height: 1.5;
    word-break: break-all;
}

/* スマホ対応（画面が狭いときは2列などにする） */
@media (max-width: 768px) {
    .index-grid-container {
        grid-template-columns: repeat(2, 1fr);
    }
}
/* ==========================================================================
SP (スマートフォン) レイアウト
========================================================================== */
@media (max-width: 767px) {
    .content-index {
        padding: 40px 15px;
    }

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

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

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

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

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



/* ==========================================================================
Comparison Section
========================================================================== */
/* 全体設定 */
.comparison {
    padding: 168px 0 96px;
    background-color: #DCEAF3;
    overflow: hidden;
}

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

/* タイトル部分 */
.comparison-title {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 80px;
    text-align: center;
    line-height: 1;
}

.crown-img {
    width: 102px;
    height: auto;
}

.comparison-title .title-sub {
    display: block;
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 5px;
}

.comparison-title .title-main {
    display: block;
    font-size: 48px;
    font-weight: bold;
    -webkit-text-stroke: 10px #fff;
    paint-order: stroke fill;
}

.title-main .highlight {
    color: #2882B6;
}
.title-main .num{
    font-size: 64px;
}

/* SP横スライド設定 */
.comparison-scroll-container {
    overflow-x: visible;
}

.comparison-cards {
    display: flex;
    justify-content: center;
    gap: 22px;
}

/* カード単体 */
.comparison-card {
    background: #fff;
    border-radius: 15px;
    width: calc((100% / 3) - 20px);
    max-width: 416px;
    position: relative;
    margin-top: 60px; /* 吹き出し用の余白 */
    flex-shrink: 0;
}

/* 黄色い吹き出し（擬似要素で三角作成） */
.card-bubble {
    position: absolute;
    top: -60px;
    left: 50%;
    transform: translateX(-50%);
    background: #FFCE27;
    color: #224B97;
    font-weight: bold;
    padding: 11px 20px;
    text-align: center;
    width: 85%;
    font-size: 24px;
    line-height: 1;
}

.card-bubble::after {
    content: "";
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    border-style: solid;
    border-width: 12px 10px 0 10px;
    border-color: #FFD43B transparent transparent transparent;
}

/* カード内パーツ */
.card-header {
    background: #257DB7;
    color: #fff;
    padding: 30px 0 7px;
    text-align: center;
    border-radius: 10px 10px 0 0;
}

.company-name {
    font-size: 36px;
    margin: 0;
    line-height: 1;
}

.company-en {
    font-size: 25px;
    color: rgba(255, 255, 255, 0.58);
    font-weight: bold;
}

.card-image img {
    width: 100%;
    height: auto;
    display: block;
}

.citation {
    font-size: 13px;
    text-align: right;
    margin: 0;
    color: #202020;
    display: block;
}

.point-label {
    background: #257DB7;
    color: #fff;
    text-align: center;
    font-weight: bold;
    font-size: 20px;
}

.card-body {
    padding: 28px 0px 16px 20px;
    border: 1px solid #FF8F27;
    border-radius: 0 0 10px 10px;
}

/* チェックリスト */
.point-list {
    list-style: none;
    padding: 0;
    margin: 0 0 35px;
}

.point-list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 12px;
    font-weight: bold;
    font-size: 19px;
    line-height: 1.4;
}

.point-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 2px;
    color: #fff;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url(../images/check_orange.svg) no-repeat;
    background-size: contain;
}

/* ボタン */
.card-btns {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.btn {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 54px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 18px;
    position: relative;
    transition: all 0.3s;
    width: 358px;
}

.btn::after {
    content: "→";
    position: absolute;
    right: 25px;
    font-size: 20px;
}

.btn-yellow {
    background: #FFCE27;
    box-shadow: 0 4px 0 #BC9202;
}

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

.btn-white {
    background: #fff;
    border: 2px solid #FFCE27;
    box-shadow: 0 4px 0 #BC9202;
    transition: transform .4s;
}

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

.investigation-date {
    text-align: right;
    margin-top: 12px;
    font-weight: bold;
    font-size: 20px;
}

/* レスポンシブ（SP） */
@media (max-width: 1440px) {
    .comparison-inner {
        padding: 0 20px;
    }
    
    .comparison-title {
        gap: 15px;
    }
    
    .crown-img {
        width: 60px;
    }
    .comparison-title .title-sub{
        font-size: 28px;
    }
    .comparison-title .title-main {
        font-size: 36px;
    }
    
    .comparison-title .title-main .num {
        font-size: 42px;
    }

    /* 横スライドの有効化 */
    .comparison-scroll-container {
        overflow-x: auto;
        padding-bottom: 20px;
        -webkit-overflow-scrolling: touch;
    }

    .comparison-cards {
        justify-content: flex-start;
        width: max-content;
        padding-left: 10px;
    }
}
@media (max-width: 768px){
    .comparison{
        padding: 40px 0;
    }
    .comparison-title {
        gap: 0px;
        margin-bottom: 30px;
    }
    .crown-img {
        width: 50px;
    }
    .comparison-title .title-sub{
        font-size: 20px;
    }
    .comparison-title .title-main {
        font-size: 26px;
        -webkit-text-stroke: 5px #fff;
    }
    
    .comparison-title .title-main .num {
        font-size: 32px;
    }
}

/* ==========================================================================
Worries Section
========================================================================== */
.worries {
    padding-bottom: 80px;
    background-color: #FAFCFE;
}

.worries-header {
    width: 100%;
    height: 377px; /* 画像の高さに合わせて調整 */
    background: url('../images/bg_worry.webp') no-repeat center right / cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.worries-main-copy {
    font-size: 36px;
    font-weight: bold;
    line-height: 1.5;
    transform: translateX(-34%);
}

.worries-main-copy .blue {
    color: #224B97;
    font-size: 48px;
}

.worries-inner {
    max-width: 1040px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.worries-box {
    background: #fff;
    border: 2.5px solid #A99F9F;
    padding: 0;
}

.worries-box-title {
    background: #224B97;
    color: #fff;
    text-align: center;
    padding: 26px;
    font-size: 40px;
    margin: 0;
}

.worries-box-title .yellow {
    color: #FFCE27;
}

.worries-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px 20px;
    padding: 54px 40px;
}

.worry-item {
    width: calc(33.33% - 20px);
    text-align: center;
}

.worry-item:nth-child(n+4) {
    width: calc(50% - 100px); /* 下段2つを少し寄せる */
}

.worry-item img {
    width: auto;
    height: 185px;
    margin-bottom: 15px;
}

.worry-item p {
    font-size: 26.6px;
    font-weight: bold;
    line-height: 1.4;
}

.worry-item .blue {
    color: #334D8A;
}
/* =============================================================
   レスポンシブ対応
   ============================================================= */

/* タブレットサイズ (1024px以下) */
@media screen and (max-width: 1024px) {
    .worries-header {
        height: 300px; /* 少し高さを抑える */
    }

    .worries-main-copy {
        font-size: 2.8vw; /* 画面幅に合わせて縮小 */
        transform: translateX(-10%); /* ズレを中央寄りに調整 */
    }

    .worries-main-copy .blue {
        font-size: 4vw;
    }

    .worries-box-title {
        font-size: 32px;
        padding: 20px;
    }

    .worry-item p {
        font-size: 22px;
    }
}

/* スマートフォンサイズ (768px以下) */
@media screen and (max-width: 768px) {
    .worries {
        padding-bottom: 50px;
    }

    /* ヘッダー：背景位置を中央にし、文字のズレを解消 */
    .worries-header {
        height: auto;
        min-height: 200px;
        padding: 40px 20px;
        background-position: center center;
    }

    .worries-main-copy {
        font-size: 24px;
        transform: translateX(0); /* スマホでは中央配置 */
        width: 100%;
    }

    .worries-main-copy .blue {
        font-size: ２６px;
        display: block; /* 改行させて見やすく */
        margin-top: 5px;
    }

    /* ボックスタイトル */
    .worries-box-title {
        font-size: 22px;
        padding: 15px 10px;
    }

    /* リスト：2カラム（または1カラム）に変更 */
    .worries-list {
        padding: 30px 15px;
        gap: 30px 10px;
    }

    .worry-item {
        width: calc(50% - 10px) !important; /* 強制的に2カラムへ */
    }

    /* 下段2つの特殊指定をリセット */
    .worry-item:nth-child(n+4) {
        width: calc(50% - 10px) !important;
    }

    .worry-item img {
        height: 120px; /* 画像を小さく */
        margin-bottom: 10px;
    }

    .worry-item p {
        font-size: 18px;
    }
}

/* 極小デバイス (480px以下) */
@media screen and (max-width: 480px) {
    .worries-main-copy {
        font-size: 20px;
    }

    /* 1カラムにする場合 */
    .worry-item {
        width: 100% !important;
        max-width: 280px; /* 横に広がりすぎないよう制限 */
        margin: 0 auto;
    }

    .worry-item:nth-child(n+4) {
        width: 100% !important;
    }
    
    .worries-box-title {
        font-size: 19px;
    }
}

/* ==========================================================================
difference Section
========================================================================== */
.difference {
    padding: 0px 0 136px 0;
    background-color: #FAFCFE;
}

.difference-inner {
    max-width: 1212px;
    margin: 0 auto;
    padding: 0 20px;
}

.difference-section-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}
.difference-section-title .title-line{
    width: 281px;
}

.difference-section-title span {
    background: #334D8A;
    color: #fff;
    padding: 0px 82px;
    border-radius: 50px;
    font-size: 36px;
    font-weight: bold;
}

.difference-intro {
    text-align: center;
    margin-bottom: 60px;
    color: #334D8A;
    line-height: 1.3;
}

.difference-intro p {
    font-size: 40px;
    font-weight: bold;
    margin-bottom: 10px;
}

.difference-intro .yellow {
    color: #FCBA0A;
    font-size: 48px;
}

.difference-intro .strong {
    font-size: 36px;
    color: #000;
}

/* 比較ボックス */
.difference-flex {
    display: flex;
    gap: 30px;
    margin-bottom: 60px;
}

.diff-box {
    flex: 1;
    background: #E8F0F6;
    border: 1px solid #707070;
    border-radius: 40px;
    overflow: hidden;
    padding-bottom: 40px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.diff-label {
    color: #fff;
    text-align: center;
    padding: 17px 0 30px;
    font-size: 20px;
    font-weight: bold;
    position: relative;
    margin-top: 20px;
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    z-index: 2;
}
.diff-label::before{
    content: "";
    position: absolute;
    background: url(../images/fukidashi_blue.webp) no-repeat;
    background-size: contain;
    width: 100%;
    height: 89px;
    z-index: -1;
    left: 0;
    right: 0;
    margin: 0 auto;
    top: 10px;
}

.diff-label .yellow {
    color: #FFD43B;
    font-size: 32px;
}

.bubble-tip {
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
}

.diff-visual {
    text-align: center;
}
.diff-visual-first{
    margin-top: 35px;
}

.diff-visual img {
    max-width: 100%;
}

.diff-check-list {
    list-style: none;
    padding: 0;
    margin: 0;
    margin-top: -10px;
}
.diff-check-list-first{
    margin-top: 30px;
}

.diff-check-list li {
    position: relative;
    padding-left: 44px;
    margin-bottom: 15px;
    font-size: 30px;
    font-weight: bold;
    line-height: 1.4;
    margin-left: 27px;
}

.diff-check-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 36px;
    height: 36px;
    background: url('../images/check_blue.svg') no-repeat center center / contain;
}

/* ボタン */
.difference-btn-wrap {
    text-align: center;
}

.difference-btn {
    display: inline-flex;
    align-items: center;
    background-color: #257DB7;
    color: #fff;
    text-decoration: none;
    font-size: 24px;
    font-weight: bold;
    padding: 17px 40px 17px 100px;
    border-radius: 50px;
    transition: background 0.3s;
}

.difference-btn:hover {
    background-color: #1a628d;
}

.btn-arrow {
    width: 41px;
    margin-left: 57px;
}

/* =============================================================
   比較セクション (difference) レスポンシブ
   ============================================================= */

/* タブレットサイズ (1024px以下) */
@media screen and (max-width: 1024px) {
    .difference-section-title .title-line {
        width: 15vw; /* ラインを画面幅に合わせて縮小 */
    }

    .difference-section-title span {
        font-size: 28px;
        padding: 5px 40px;
    }

    .difference-intro p {
        font-size: 32px;
    }

    .difference-intro .yellow {
        font-size: 40px;
    }

    .diff-check-list li {
        font-size: 22px; /* 30pxから縮小 */
    }
}

/* スマートフォンサイズ (768px以下) */
@media screen and (max-width: 768px) {
    .difference {
        padding: 50px 0 80px 0;
    }

    /* タイトル：ラインを非表示にするか極小にする */
    .difference-section-title {
        gap: 10px;
    }
    .difference-section-title .title-line {
        display: none; /* スマホではラインを消して中央寄せを強調 */
    }

    .difference-section-title span {
        font-size: 20px;
        padding: 5px 30px;
    }

    /* 導入文のフォントサイズ調整 */
    .difference-intro {
        margin-bottom: 40px;
    }
    .difference-intro p {
        font-size: 22px;
    }
    .difference-intro .yellow {
        font-size: 28px;
    }
    .difference-intro .strong {
        font-size: 20px;
    }

    /* 比較ボックス：縦並びに変更 */
    .difference-flex {
        flex-direction: column;
        gap: 40px;
    }

    .diff-box {
        width: 100%;
        max-width: 500px; /* 横に広がりすぎないよう制限 */
        margin: 0 auto;
        padding-bottom: 30px;
    }

    /* ラベル（吹き出し画像）の調整 */
    .diff-label {
        font-size: 16px;
        padding: 5px 0 20px;
        width: 95%;
    }
    .diff-label::before {
        height: 70px; /* 画像の高さを少し低く */
        top: 5px;
    }
    .diff-label .yellow {
        font-size: 24px;
    }

    /* チェックリストの調整 */
    .diff-check-list li {
        font-size: 18px; /* スマホで見やすいサイズ */
        padding-left: 35px;
        margin-left: 15px;
        margin-bottom: 10px;
    }
    .diff-check-list li::before {
        width: 24px;
        height: 24px;
        top: 2px;
    }

    /* ボタンの調整 */
    .difference-btn {
        font-size: 18px;
        padding: 15px 30px 15px 40px;
        width: 90%;
        justify-content: center;
    }
    .btn-arrow {
        width: 30px;
        margin-left: 20px;
    }
}

/* 極小デバイス (480px以下) */
@media screen and (max-width: 480px) {
    .difference-section-title span {
        font-size: 18px;
    }
    .difference-intro p {
        font-size: 18px;
    }
    .difference-intro .yellow {
        font-size: 24px;
    }
    .diff-check-list li {
        font-size: 16px;
    }
}

/* ==========================================================================
Caution Section
========================================================================== */
/* 全体設定 */
.caution {
    padding: 134px 0 118px;
    background-color: #FDF6F6; /* 背景の薄いピンクベージュ */
}

.caution-inner {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
}

/* タイトルエリア */
.caution-header {
    text-align: center;
    margin-bottom: 60px;
}

.caution-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    color: #C50807;
    font-size: 42px;
    font-weight: bold;
    margin-bottom: 20px;
}

.alert-img {
    width: 70px;
    height: auto;
}

.caution-lead {
    font-size: 32px;
    font-weight: bold;
    color: #000;
}

/* フロー（カード並び） */
.caution-flow {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 60px;
}

.caution-card {
    background: #fff;
    border: 1px solid #C50807;
    border-radius: 10px;
    width: 210px;
    padding: 11px 0px 47px;
    text-align: center;
    position: relative;
    min-height: 380px;
    display: flex;
    flex-direction: column;
}

.step-num {
    background: #C50807;
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 18px;
    margin: 0 auto;
}

.step-text {
    font-size: 18px;
    font-weight: bold;
    color: #C82828;
    line-height: 1.4;
    margin-bottom: 20px;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-img {
    margin-top: auto;
    height: 132px;
    width: auto;
    margin: auto auto 0;
}

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

/* 矢印 */
.caution-flow-arrow {
    width: 24px;
    display: flex;
    justify-content: center;
}

.caution-flow-arrow img {
    width: 100%;
    height: auto;
}

/* ボタン */
.caution-btn-wrap {
    text-align: center;
}

.caution-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #C82828;
    color: #fff;
    text-decoration: none;
    font-size: 24px;
    font-weight: bold;
    width: fit-content;
	padding: 1rem 3rem;
    border-radius: 50px;
    transition: background 0.3s, transform 0.3s;
}

.caution-btn:hover {
    background-color: #a02020;
    transform: translateY(-3px);
}

/* =============================================================
   注意点セクション (caution) レスポンシブ
   ============================================================= */

/* タブレットサイズ (1024px以下) */
@media screen and (max-width: 1100px) {
    .caution-inner {
        padding: 0 15px;
    }
    /* カードが横に並びきらなくなるため、少し縮小 */
    .caution-card {
        width: 18%; 
        min-height: 320px;
    }
    .caution-title {
        font-size: 32px;
    }
    .caution-lead {
        font-size: 24px;
    }
}

/* スマートフォンサイズ (768px以下) */
@media screen and (max-width: 768px) {
    .caution {
        padding: 60px 0;
    }

    /* タイトルエリアの調整 */
    .caution-title {
        font-size: 32px;
        flex-direction: column; /* アイコンを上にする場合はこれ */
        gap: 10px;
    }
    .alert-img {
        width: 50px;
    }
    .caution-lead {
        font-size: 18px;
        padding: 0 10px;
    }

    /* フローを縦並びに変更 */
    .caution-flow {
        flex-direction: column;
        align-items: center;
        gap: 0; /* 矢印の余白で調整 */
    }

    /* カードの幅をスマホ用に調整 */
    .caution-card {
        width: 100%;
        max-width: 320px;
        min-height: auto; /* 高さを自動に */
        padding: 20px 15px 30px;
    }

    .step-text {
        font-size: 17px;
        margin-top: 15px;
        margin-bottom: 15px;
        min-height: auto;
    }

    .step-img {
        height: 100px; /* スマホでは画像を少し小さく */
    }

    /* 矢印を回転させて下向きにする */
    .caution-flow-arrow {
        width: 20px;
        padding: 15px 0; /* 矢印の上下余白 */
        transform: rotate(90deg); /* ★ここ：右向きを90度回転させて下向きに */
    }

    /* ボタンの調整 */
    .caution-btn {
        width: 100%;
        font-size: 16px;
    }
}

/* 極小デバイス (480px以下) */
@media screen and (max-width: 480px) {
    .caution-lead {
        font-size: 16px;
    }
}

/* ==========================================================================
Features Section
========================================================================== */
.features {
    padding: 60px 0;
    background-color: #FAFCFE;
    overflow: hidden;
}

.features-inner {
    max-width: 986px;
    margin: 0 auto;
    padding: 0 20px;
}

/* タイトルエリア */
.features-header {
    text-align: center;
    margin-bottom: 85px;
}

.features-sub {
    display: inline-block;
    background-color: #E6F2F8; /* 薄い水色 */
    color: #000;
    font-weight: bold;
    font-size: 36px;
    padding: 10px 30px;
    margin-bottom: 20px;
}

.features-sub span {
    color: #1D4A96;
}

.features-title {
    font-size: 48px;
    font-weight: bold;
    color: #000;
    margin: 0;
}

.features-title span {
    color: #1D4A96;
    font-size: 64px;
    position: relative;
    padding: 0 5px;
}

/* コンテンツレイアウト */
.features-content {
    display: flex;
    align-items: center;
}

/* 特徴リスト */
.features-list {
    list-style: none;
    padding: 0;
    margin: 0;
    flex: 1;
}

.features-list li {
    position: relative;
    padding-left: 45px;
    margin-bottom: 25px;
    font-size: 32px;
    font-weight: bold;
    color: #202020;
    line-height: 1.4;
}

.features-list li:last-child {
    margin-bottom: 0;
}

/* チェックマーク（CSSで作成） */
.features-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url(../images/check_blue.svg) no-repeat;
    background-size: contain;
}

/* イラストエリア */
.features-image {
    position: relative;
    width: 40%;
    display: flex;
    justify-content: center;
}

.features-image img {
    position: relative;
    z-index: 2;
    max-width: 100%;
    height: auto;
}

/* =============================================================
   特徴セクション (features) レスポンシブ
   ============================================================= */

/* タブレットサイズ (1024px以下) */
@media screen and (max-width: 1024px) {
    .features-header {
        margin-bottom: 50px;
    }

    .features-sub {
        font-size: 28px;
        padding: 8px 20px;
    }

    .features-title {
        font-size: 36px;
    }

    .features-title span {
        font-size: 48px;
    }

    .features-list li {
        font-size: 24px;
        padding-left: 40px;
    }
}

/* スマートフォンサイズ (768px以下) */
@media screen and (max-width: 768px) {
    .features {
        padding: 50px 0;
    }

    /* タイトルエリアの調整 */
    .features-header {
        margin-bottom: 40px;
    }

    .features-sub {
        font-size: 18px; /* スマホで見やすいサイズ */
        padding: 5px 15px;
    }

    .features-title {
        font-size: 24px;
        line-height: 1.3;
    }

    .features-title span {
        font-size: 34px;
        padding: 0 2px;
    }

    /* コンテンツを縦並びに変更 */
    .features-content {
        flex-direction: column;
        align-items: center;
    }

    /* 特徴リスト */
    .features-list {
        width: 70vw;
        margin-bottom: 30px;
    }

    .features-list li {
        font-size: 18px;
        padding-left: 35px;
        margin-bottom: 15px;
    }

    /* チェックマークのサイズ調整 */
    .features-list li::before {
        width: 24px;
        height: 24px;
    }

    /* イラストエリア */
    .features-image {
        width: 80%; /* スマホでは大きく表示 */
        max-width: 300px;
        margin: 0 auto;
    }
}

/* 極小デバイス (480px以下) */
@media screen and (max-width: 480px) {
    .features-sub {
        font-size: 16px;
    }

    .features-title {
        font-size: 20px;
    }

    .features-title span {
        font-size: 28px;
    }

    .features-list li {
        font-size: 16px;
    }
}

/* ==========================================================================
Point Section
========================================================================== */
.point {
    padding: 120px 0;
    background-color: #257DB7; /* 背景の青色 */
}

.point-inner {
    max-width: 1262px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ヘッダーエリア */
.point-header {
    text-align: center;
    margin-bottom: 60px;
}

.point-sub {
    display: inline-block;
    background-color: #fff;
    color: #257DB7;
    font-weight: bold;
    font-size: 32px;
    padding: 10px 65px;
    border-radius: 50px;
}

.point-title {
    font-size: 48px;
    font-weight: bold;
    color: #fff;
    margin: 0;
}

.point-title .txt-yellow {
    color: #FFCE27;
}
.point-title .num{
    font-size: 80px;
}

/* カード共通 */
.point-card {
    background: #fff;
    border-radius: 50px;
    padding: 77px 78px 0px ;
    margin-bottom: 52px;
    position: relative;
    border: 1px solid #000;
}

.point-card:last-child {
    margin-bottom: 0;
}

/* 赤いバッジ */
.point-badge {
    position: absolute;
    top: 53px;
    left: 95px;
    background: #C82828;
    color: #fff;
    width: 89px;
    height: 89px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.p-text { font-size: 13px; font-weight: bold; margin-bottom: 3px; }
.p-num { font-size: 28px; font-weight: bold; }

/* カードタイトル */
.point-card-title {
    font-size: 40px;
    font-weight: bold;
    padding-left: 124px; /* バッジを避ける */
    margin-bottom: 20px;
    border-bottom: 2px dashed #79C9FE;
    padding-bottom: 40px;
    display: inline-block;
}

/* コンテンツエリア */
.point-content {
    display: flex;
    position: relative;
}


.point-text-area {
    width: 33%;
    font-size: 18px;
    line-height: 1.7;
    font-weight: 500;
}
.point-text-area-second{
    width: 100%;
}

.point-text-area p {
    margin-bottom: 1.5em;
    font-size: 24px;
}

/* 物件リスト・チェックリスト共通 */
.property-list-box, .check-list-box {
    display: flex;
    flex-direction: column;
    width: 360px;
}
.property-list-box{
    margin-left: 33px;
}

.list-title {
    font-weight: bold;
    margin-bottom: 15px !important;
    font-size: 24px;
}

.property-list, .check-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.property-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: bold;
    font-size: 24px;
    background-color: #F7F2EC;
    padding: 6px 2px 6px 13px;
    width: 312px;
}

.property-list img { width: 32px; }

/* チェックリスト */
.check-list { grid-template-columns: 1fr; }
.check-list li {
    position: relative;
    padding-left: 30px;
    font-weight: bold;
    font-size: 24px;
    padding: 8px 2px 7px 54px;
    background-color: #F7F2EC;
    width: 353px;
}
.check-list li::before {
    content: "";
    position: absolute;
    left: 8px;
    top: 8px;
    width: 36px; height: 36px;
    border-radius: 50%; display: flex;
    align-items: center; justify-content: center;
    background: url(../images/check_blue.svg) no-repeat;
    background-size: contain;
}

/* イラスト配置（PC） */
.point-img-area {
    position: absolute;
    right: 0;
    bottom: -20px;
}

.img01 { width: 248px; bottom: 42px; right: 20px;}
.img02 { width: 348px; top: 0; }
.img03 { width: 384px; bottom: 10px; right: -30px; }

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

/* =============================================================
   ポイントセクション (point) レスポンシブ
   ============================================================= */

/* タブレットサイズ (1100px以下) */
@media screen and (max-width: 1100px) {
    .point-inner {
        padding: 0 15px;
    }
    
    .point-card {
        padding: 60px 40px 30px; /* 余白を調整 */
    }

    .point-text-area {
        width: 45%; /* 文章幅を少し広げる */
    }

    .property-list-box, .check-list-box {
        width: 300px;
    }
}

/* スマートフォンサイズ (768px以下) */
@media screen and (max-width: 768px) {
    .point {
        padding: 60px 0;
    }

    /* ヘッダーエリア */
    .point-sub {
        font-size: 20px;
        padding: 5px 30px;
        margin-bottom: 10px;
    }

    .point-title {
        font-size: 32px;
    }

    .point-title .num {
        font-size: 44px;
    }

    /* カード本体 */
    .point-card {
        border-radius: 30px;
        padding: 80px 20px 40px; /* バッジ分の高さを上に確保 */
        margin-bottom: 30px;
    }

    /* 赤いバッジ：左上に固定 */
    .point-badge {
        left: 0;
        right: 0;
        margin: 0 auto;
        top: 20px;
        width: 60px;
        height: 60px;
    }
    .p-text { font-size: 10px; }
    .p-num { font-size: 20px; }

    /* カードタイトル */
    .point-card-title {
        font-size: 22px;
        padding-left: 0;
        padding-bottom: 20px;
        display: block;
        margin-bottom: 20px;
    }

    /* コンテンツエリア：縦並びに */
    .point-content {
        flex-direction: column;
    }

    .point-text-area {
        width: 100%;
        font-size: 16px;
    }
    .point-text-area p {
        font-size: 18px;
        margin-bottom: 1em;
    }

    /* リストボックス：幅制限を解除 */
    .property-list-box, .check-list-box {
        width: 100%;
        margin-left: 0;
        margin-top: 20px;
    }

    .list-title {
        font-size: 18px;
    }

    .property-list li, .check-list li {
        width: 100%; /* 横幅いっぱい */
        font-size: 16px;
        padding: 10px 15px;
        box-sizing: border-box;
    }

    /* チェックリストのアイコン位置 */
    .check-list li {
        padding-left: 45px;
    }
    .check-list li::before {
        width: 24px;
        height: 24px;
        left: 10px;
        top: 50%;
        transform: translateY(-50%);
    }

    /* イラスト：絶対配置を解除して文末に配置 */
    .point-img-area {
        position: relative;
        right: auto;
        bottom: auto;
        margin: 30px auto 0;
        text-align: center;
        display: flex;
        justify-content: center;
    }

    .img01, .img02, .img03 {
        position: static; /* 絶対位置をリセット */
        width: 60%;
        max-width: 200px;
    }
}

/* 極小デバイス (480px以下) */
@media screen and (max-width: 480px) {
    .point-title {
        font-size: 26px;
    }
    .point-title .num {
        font-size: 36px;
    }
    .point-card-title {
        font-size: 19px;
    }
}



/* ==========================================================================
Company Introduction Section
========================================================================== */
.company-introduction {
    padding: 120px 0;
    overflow: hidden;
    background-color: #FAFCFE;
}

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

.company-introduction .intro-main-header {
    position: relative;
    margin-bottom: 93px;
    text-align: center;
}

.company-introduction .main-title-bg-shadow {
    position: absolute;
    top: 13px;
    left: 50%;
    transform: translateX(-48.5%); /* 少しずらして影に見せる */
    width: 100%;
    height: 100%;
    max-width: 929px;
    background: #d7d8d8;
    z-index: 1;
}

.company-introduction .main-title-box {
    position: relative;
    background: #257DB7; /* 水色 */
    padding: 17px 20px 47px;
    z-index: 2;
    width: 100%;
    max-width: 929px;
    margin: 0 auto;
}

.company-introduction .main-title-text {
    color: #fff;
    font-size: 29px;
    line-height: 1.4;
    margin: 0;
    font-weight: bold;
}
.company-introduction .main-title-text .txt-large{
    font-size: 39px;
}

.company-introduction .main-title-text .num {
    color: #FFCE27;
    font-size: 79px;
    margin: 0 5px;
    line-height: 1;
}
.company-introduction .main-title-text .txt-yellow{
    color: #FFCE27;
    font-size: 49px;
}

.company-introduction .main-title-text .sub-text {
    display: block;
    font-size: 29px;
}

/* --- 2. ヘッダーエリア（画像風2カラム） --- */
.company-introduction .company-top-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 17px;
    background: transparent;
}

/* 左側ブルーボックス */
.company-introduction .company-top-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.company-top-left-wrapper{
    padding: 30px;
    border-radius: 20px;
    background-color: #257DB7;
    width: 100%;
    margin-bottom: 25px;
}

.company-introduction .company-id-badge {
    background: #fff;
    font-weight: bold;
    padding: 4px 56px;
    border-radius: 50px;
    font-size: 36px;
}

.company-introduction .company-display-name {
    color: #fff;
    font-size: 50px;
    font-weight: bold;
}

.company-introduction .company-catch-yellow {
    background: #FFCE27;
    color: #224B97;
    padding: 13px 0px;
    font-weight: bold;
    font-size: 28px;
    line-height: 1.4;
    position: relative;
    width: 100%;
}

.company-introduction .triangle-up {
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 25px solid transparent;
    border-right: 25px solid transparent;
    border-bottom: 25px solid #FFCE27;
}

/* 右側サイトイメージ */
.company-introduction .company-top-right {
    max-width: 739px;
}

.company-top-right .browser-mockup{
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #000;
    max-width: 739px;
}

.company-introduction .browser-mockup img {
    width: 100%;
    height: auto;
    display: block;
}
.company-top-right .source{
    font-size: 15px;
    color: #202020;
    display: block;
    text-align: right;
    text-decoration: underline;
}

/* --- 3. セクション共通（干渉防止セレクタ） --- */
.company-introduction .intro-section {
    position: relative;
    padding: 60px 0;
}

.company-introduction .intro-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    font-size: 28px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 40px;
}

.company-introduction .intro-title .title-num {
    color: #C82828;
    font-size: 40px;
    margin: 0 5px;
}

/* ボタン */
.company-introduction .intro-btns {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.company-introduction .btn-yellow {
    background: #FFD43B;
    color: #333;
    padding: 18px 40px;
    border-radius: 50px;
    font-weight: bold;
    text-decoration: none;
    box-shadow: 0 4px 0 #d4af26;
    transition: all 0.3s;
}

.company-introduction .btn-white {
    background: #fff;
    color: #333;
    border: 2px solid #FFD43B;
    padding: 16px 40px;
    border-radius: 50px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s;
}


/* --- 理由セクション固有スタイル --- */
.company-introduction .reason-section {
    position: relative;
    padding: 0;
}

/* 背景文字の配置 */
.company-introduction .bg-text-wrap {
    position: absolute;
    top: 58px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 645px;
    z-index: 0;
    pointer-events: none;
}
.company-introduction .bg-reason-img {
    width: 100%;
    height: auto;
}

/* タイトル装飾 */
.company-introduction .intro-title {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 76px;
    text-align: center;
}
.company-introduction .intro-title .title-main {
    font-size: 36px;
    font-weight: bold;
    line-height: 1.4;
    position: relative;
}
.company-introduction .intro-title .title-main .txt-small{
    font-size: 32px;
    position: absolute;
    left: 0;
    top: 74px;
}
.company-introduction .intro-title .txt-blue {
    color: #334D8A;
    margin: 0 5px;
}
.company-introduction .intro-title .num{
    font-size: 96px;
}
.company-introduction .intro-title .line-l,
.company-introduction .intro-title .line-r {
    width: 102px;
    height: auto;
}

/* グリッドレイアウト */
.company-introduction .reason-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    position: relative;
    z-index: 1;
}

/* カードデザイン */
.company-introduction .reason-card {
    background: #fff;
    border: 3px solid #2E82C1;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(46, 130, 193, 0.15);
    display: flex;
    flex-direction: column;
}

/* カードヘッダー（斜めタブとタイトル） */
.company-introduction .reason-card-head {
    position: relative;
    padding: 20px 20px 25px 20px;
}

.company-introduction .head-tab {
    position: absolute;
    top: 0;
    left: 0;
    color: #fff;
    padding: 0 10px;
    font-weight: bold;
    font-size: 50px;
    z-index: 2;
}
.company-introduction .head-tab::before{
    background: url(../images/triangle_blue.svg) no-repeat;
    background-size: contain;
    width: 154px;
    height: 156px;
    position: absolute;
    left: 0;
    top: 0;
    content: "";
    z-index: -1;
}

.company-introduction .head-content {
    display: flex;
    align-items: center;
    gap: 0px;
    padding-top: 15px;
    padding-left: 70px;
}

.company-introduction .reason-icon {
    width: 100px;
    height: auto;
    flex-shrink: 0;
}

.company-introduction .card-title {
    font-size: 30px;
    font-weight: bold;
    color: #334D8A;
    line-height: 1.3;
    margin: 0;
}

/* カードボディ */
.company-introduction .reason-card-body {
    padding: 0 25px 25px 25px;
    position: relative;
}
.company-introduction .reason-card-body::before{
    content: "";
    background: url(../images/line_gray.webp) no-repeat;
    background-size: contain;
    width: 96%;
    left: 0;
    right: 0;
    margin: 0 auto;
    height: 10px;
    top: 0;
    position: absolute;
}
.company-introduction .reason-card-body p {
    font-size: 28px;
    line-height: 1.7;
    margin-bottom: 15px;
}
.company-introduction .reason-card-body p:last-child {
    margin-bottom: 0;
}

/* ボタンエリア */
.company-introduction .intro-btns {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-top: 60px;
}
.company-introduction .btn-yellow,
.company-introduction .btn-white {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 320px;
    padding: 18px 20px;
    border-radius: 50px;
    font-weight: bold;
    text-decoration: none;
    font-size: 18px;
    transition: 0.3s;
    position: relative;
}
.company-introduction .btn-yellow {
    background: #FFCE27;
    color: #202020;
    box-shadow: 0 4px 0 #BC9202;
}
.company-introduction .btn-yellow:hover {
    transform: translateY(2px);
    box-shadow: none;
}
.company-introduction .btn-white {
    background: #fff;
    color: #202020;
    border: 2px solid #FFCE27;
    box-shadow: 0 4px 0 #BC9202;
}
.company-introduction .btn-white:hover {
    transform: translateY(2px);
    box-shadow: none;
}
.company-introduction .arrow {
    position: absolute;
    right: 20px;
}


/* --- 口コミセクション固有スタイル --- */
.company-introduction .review-section {
    position: relative;
    padding: 150px 0 0 0;
}

/* 背景「Review」透かし */
.company-introduction .bg-review-img {
    width: 100%;
    max-width: 640px;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* タイトル：口コミ・評判を青く */
.company-introduction .review-section .intro-title {
    margin-bottom: 60px;
}
.company-introduction .review-section .highlight-blue {
    color: #334D8A;
    font-size: 48px;
}

/* 口コミグリッド */
.company-introduction .review-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    position: relative;
    z-index: 1;
    align-items: stretch;
    max-width: 1280px;
    margin: 0 auto;
}

/* 口コミカード */
.company-introduction .review-card {
    background: #fff;
    border: 2px solid #848181;
    border-radius: 53px;
    padding: 68px 10px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: left;
}

.company-introduction .review-card-title {
    font-size: 28px;
    font-weight: bold;
    color: #334D8A;
    line-height: 1.4;
    margin: 0 0 30px 0;
    min-height: 3em; /* タイトルの高さを揃える */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ユーザーアイコン */
.company-introduction .user-icon-wrap {
    width: 130px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 27px;
}

/* 口コミ本文 */
.company-introduction .review-card-body {
    text-align: left; /* 本文は左寄せ */
    display: flex;
    flex-direction: column;
}
.company-introduction .review-card-body p {
    font-size: 20px;
    line-height: 1.5;
    color: #848181;
    margin: 0;
}
.company-introduction .review-card-body a{
    text-decoration: underline;
}

/* 引用元テキスト */
.company-introduction .review-source {
    display: block;
    font-size: 13px;
    color: #848181;
    margin-top: auto;
    text-align: center;
    padding-top: 6px;
}

/* --- 事例セクション固有スタイル --- */
.company-introduction .case-section {
    position: relative;
    padding: 120px 0 0 0;
}

/* 背景「CASE STUDIES」画像の配置（右側に垂直） */
.company-introduction .bg-case-wrap {
    position: absolute;
    right: 0;
    bottom: 65px;
    width: 262px;
    z-index: 0;
    pointer-events: none;
}
.company-introduction .bg-case-img {
    width: 100%;
    height: auto;
}

/* タイトルのマーカーあしらい */
.company-introduction .case-section .intro-title {
    margin-bottom: 60px;
}
.company-introduction .marker-yellow {
    background: linear-gradient(transparent 75%, #FFCE27 60%);
    font-weight: bold;
    color: #334D8A;
    font-size: 48px;
}

/* 事例グリッド */
.company-introduction .case-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 23px;
    position: relative;
    z-index: 1;
    max-width: 1032px;
    margin: 0 auto;
}
.case-flex{
    max-width: 800px;
    position: relative;
    margin: 0 auto;
    z-index: 1;
}

/* 事例カードデザイン */
.company-introduction .case-card {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
    transition: transform 0.3s ease;
    position: relative;
}
.company-introduction .case-card::before{
    width: 100%;
    height: 100%;
    position: absolute;
    background-color: #257DB7;
    content: "";
    bottom: -10px;
    right: -10px;
    border-radius: 15px;
    z-index: -1;
}

.company-introduction .case-card-inner {
    padding: 40px 30px;
    text-align: center;
}

.company-introduction .case-type {
    font-size: 32px;
    font-weight: bold;
    color: #334D8A;
    margin: 0 0 4px 0;
}

.company-introduction .case-area {
    font-size: 20px;
    font-weight: bold;
    color: #334D8A;
    margin: 0 0 15px 0;
}

.company-introduction .case-img {
    width: auto;
    height: 169px;
    margin: 0 auto;
}
.company-introduction .case-img img {
    width: auto;
    height: 100%;
}

.company-introduction .case-text {
    font-size: 20px;
    line-height: 1.5;
    color: #848181;
    text-align: left; /* 本文は読みやすく左寄せ */
    margin: 0;
}

.case-card-flex{
    display: flex;
    align-items: center;
    padding: 46px 46px 40px 32px;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
    transition: transform 0.3s ease;
    position: relative;
    gap: 17px;
}
.case-card-flex::before{
    width: 100%;
    height: 100%;
    position: absolute;
    background-color: #257DB7;
    content: "";
    bottom: -10px;
    right: -10px;
    border-radius: 15px;
    z-index: -1;
}
.case-card-flex .case-img{
    width: 351px;
    height: 100%;
}
.case-card-flex .case-card-inner{
    width: 353px;
    padding: 0;
}
.case-card-flex .case-type{
    font-size: 32px;
    font-weight: bold;
    color: #334D8A;
    margin: 0 0 4px 0;
}
.case-card-flex .source{
    display: block;
    text-align: right;
    font-size: 13px;
    color: #848181;
}


/* --- 会社概要・CTA固有スタイル --- */
.company-introduction .info-section {
    padding: 80px 0;
}

/* タイトル：会社概要を青く */
.company-introduction .marker-blue {
    color: #334D8A;
    font-size: 48px;
}

/* 会社概要レイアウト */
.company-introduction .info-flex {
    display: flex;
    align-items: flex-end;
    gap: 45px;
    max-width: 1059px;
    margin: 0 auto 60px;
}
.info-flex .intro-title{
    margin-bottom: 20px;
}
.company-introduction .info-table-wrap {
    flex: 1.3;
}

.company-introduction .info-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
}
.info-table-inner-wrap{
    box-shadow: 0 4px 4px rgba(0,0,0,0.25);
}

.company-introduction .info-table th {
    width: 30%;
    background: #224B97;
    color: #fff;
    padding: 20px;
    font-weight: bold;
    border-bottom: 1px solid #D9D9D9;
    text-align: center;
    font-size: 16px;
}

.company-introduction .info-table td {
    padding: 20px;
    border-bottom: 1px solid #eee;
    line-height: 1.5;
    font-size: 15px;
}
.company-introduction .info-table td a {
    text-decoration: underline;
}

.company-introduction .info-map {
    flex: 1;
}

/* --- 赤いCTAボタン --- */
.company-introduction .cta-area {
    margin-top: 60px;
    text-align: center;
    margin-bottom: -30px;
}

/* 白い吹き出し */
.company-introduction .cta-bubble-wrap {
    display: inline-block;
}

.company-introduction .cta-bubble {
    background: #fff;
    color: #E40403; /* 赤文字 */
    font-weight: bold;
    padding: 3px 24px;
    border-radius: 50px;
    font-size: 16px;
    line-height: 1;
    position: relative;
    display: inline-block;
}
.cta-text-wrap{
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* 吹き出しの三角 */
.company-introduction .cta-bubble::after {
    content: "";
    position: absolute;
    top: 97%;
    left: 50%;
    transform: translateX(-50%);
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 8px solid #fff;
    z-index: 1;
}

/* メインの赤いボタン */
.company-introduction .btn-red-cta {
    display: flex;
    flex-direction: column;
    background: linear-gradient(to bottom, #FF0100, #C50807); /* 赤のグラデーション */
    width: 100%;
    max-width:700px;
    margin: 0 auto;
    padding: 10px 25px;
    border-radius: 30px;
    text-decoration: none;
    transition: transform 0.2s;
    border: 2px solid #970912;
}

.company-introduction .btn-red-cta:active {
    transform: translateY(4px);
    box-shadow: 0 2px 0 #990000;
}

.company-introduction .cta-icon-l {
    width: 89px; /* 左のアイコンサイズ */
    height: auto;
}

.company-introduction .cta-main-text {
    color: #fff;
    font-size: 36px;
    font-weight: bold;
    letter-spacing: 0.05em;
    flex-grow: 1;
    text-align: center;
}

.company-introduction .cta-icon-r {
    width: 56px; /* 右の矢印（背景丸付き）サイズ */
    height: auto;
}

/* ==========================================================================
   Responsive Adjustments
   ========================================================================== */

/* --- タブレットサイズ (1024px以下) --- */
@media screen and (max-width: 1024px) {
    .company-introduction .intro-title .title-main .txt-small{
        position: static;
    }
    .company-introduction .main-title-text { font-size: 24px; }
    .company-introduction .main-title-text .num { font-size: 60px; }
    .company-introduction .main-title-text .txt-yellow { font-size: 36px; }
    .company-introduction .main-title-text .txt-large{
        font-size: 28px;
    }

    .company-introduction .review-grid { grid-template-columns: 1fr; max-width: 500px; margin: 0 auto; }
    .company-introduction .reason-grid { grid-template-columns: 1fr; }
    
    .case-card-flex { flex-direction: column; padding: 30px; }
    .case-card-flex .case-img { width: 100%; max-width: 300px; margin-bottom: 20px; }
}

/* --- スマートフォンサイズ (768px以下) --- */
@media screen and (max-width: 768px) {
    .company-introduction { padding: 60px 0; }
    /* ヘッダー */
    .company-introduction .main-title-bg-shadow { display: none; }
    .company-introduction .main-title-box { padding: 30px 15px; }
    .company-introduction .main-title-text { font-size: 20px; }
    .company-introduction .main-title-text .num { font-size: 48px; }
    .company-introduction .main-title-text .txt-yellow { font-size: 28px; }
    .company-introduction .main-title-text .sub-text { font-size: 18px; }

    /* トップエリアのスタック化 */
    .company-introduction .company-top-left{
        flex-direction: column-reverse;
    }
    .company-introduction .company-top-wrapper { flex-direction: column; gap: 30px; align-items: unset;}
    .company-introduction .company-display-name { font-size: 32px; }
    .company-introduction .company-id-badge { font-size: 24px; padding: 4px 30px; }
    .company-introduction .company-catch-yellow { font-size: 18px; margin-bottom: 30px;}
    .company-introduction .triangle-up{
        transform: rotate(180deg);
        top: unset;
        bottom: -25px;
        left: 46%;
    }

    /* 理由セクション */
    .company-introduction .intro-title { gap: 0px; margin-bottom: 40px; }
    .company-introduction .intro-title .title-main .txt-small{
        font-size: 24px;
    }
    .company-introduction .intro-title .line-l, .company-introduction .intro-title .line-r { width: 60px; }
    .company-introduction .intro-title .title-main { font-size: 24px; }
    .company-introduction .intro-title .num { font-size: 40px; }
    
    .company-introduction .head-content { padding-left: 20px; flex-direction: column; text-align: center; }
    .company-introduction .card-title { font-size: 20px; margin-top: 15px; }
    .company-introduction .reason-card-body p { font-size: 16px; }
    .company-introduction .head-tab { font-size: 32px; width: 80px; height: 80px; }
    .company-introduction .head-tab::before{
        width: 90px;
        height: 90px;
    }

    /* 口コミ・事例タイトル */
    .company-introduction .review-section{
        padding: 100px 0 0 0;
    }
    .company-introduction .review-section .highlight-blue,
    .company-introduction .marker-yellow,
    .company-introduction .marker-blue { font-size: 28px; }
    .company-introduction .case-grid{
        grid-template-columns: 1fr;
    }
    .company-introduction .bg-case-wrap{
        display: none;
    }

    /* 口コミカード */
    .company-introduction .review-card { border-radius: 30px; padding: 40px 20px; }
    .company-introduction .review-card-title { font-size: 20px; min-height: auto; }
    .company-introduction .review-card-body p { font-size: 15px; }

    /* 会社概要テーブル */
    .company-introduction .info-flex { flex-direction: column; gap: 30px; align-items: center;}
    .company-introduction .info-table-wrap{
        width: 90vw;
    }
    .company-introduction .info-table th, 
    .company-introduction .info-table td { padding: 12px; font-size: 13px; }
    .company-introduction .info-map{
        width: 90vw;
    }

    /* 赤CTA */
    .company-introduction .btn-red-cta { padding: 10px 15px; border-radius: 50px; }
    .company-introduction .cta-bubble{
        font-size: 12px;
    }
    .company-introduction .cta-main-text { font-size: 24px; }
    .company-introduction .cta-icon-l { width: 50px; }
    .company-introduction .cta-icon-r { width: 30px; }

    /* 共通ボタン */
    .company-introduction .intro-btns { flex-direction: column; align-items: center; gap: 15px; }
    .company-introduction .btn-yellow, 
    .company-introduction .btn-white { min-width: 100%; font-size: 17px; padding: 15px; }
}

/* ==========================================================================
Flow Section
========================================================================== */
/* flow セクション */
.flow {
    padding: 120px 0;
    background-color: #FAFCFE;
}

.flow-inner {
    max-width: 1040px;
    margin: 0 auto;
    padding: 0 20px;
}

/* タイトルエリア */
.flow-title {
    text-align: center;
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 60px;
}
.flow-title .txt-small{
    font-size: 36px;
}
.flow-title .marker-green {
    background: linear-gradient(transparent 85%, #E5FF00 70%);
    padding: 0 5px;
}

/* 比較コンテナ */
.flow-container {
    display: flex;
    justify-content: center;
    gap: 40px;
    align-items: stretch;
}

.flow-box {
    flex: 1;
    max-width: 480px;
    border-radius: 15px 15px 0 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* 色分け設定 */
.flow-box.mediation { border: 1px solid #224B97; }
.flow-box.purchase { border: 1px solid #E77A27; }

.flow-header {
    padding: 20px;
    color: #fff;
    font-size: 24px;
    font-weight: bold;
    text-align: center;
}
.mediation .flow-header { background-color: #224B97; }
.purchase .flow-header { background-color: #E77A27; }

/* ボディ部分 */
.flow-body {
    padding: 30px 37px 20px;
    background: #fff;
    flex-grow: 1;
}

.flow-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center; /* 矢印を中央にする */
}

/* ★レイアウトの要：グリッドを使用 */
.flow-item {
    display: grid;
    /* [左列:アイコン幅] [中央列:テキスト] [右列:アイコンと同じ幅の空きスペース] */
    grid-template-columns: 1fr 148px 1fr; 
    align-items: center;
    gap: 15px;
    width: 100%;
    margin: 0;
}

.flow-icon {
    grid-column: 1; /* 左列 */
    justify-self: right;
    width: 55px;
    height: auto;
}

.flow-text {
    grid-column: 2; /* 中央列（ここがカードの真ん中になります） */
    font-size: 16px;
    font-weight: bold;
    margin: 0;
    text-align: center;
    white-space: nowrap; /* テキストを改行させない */
}

/* 右側にアイコンと同じ幅の「見えない余白」を作ることで、テキストを真ん中に押し込める */
.flow-item::after {
    content: "";
    grid-column: 3;
    width: 55px;
}

.flow-arrow {
    width: 51px;
    margin: 10px 0;
}
.flow-arrow img {
    width: 100%;
    display: block;
}

/* フッター（期間バッジ） */
.flow-footer {
    padding: 0 37px 20px;
    background: #fff;
}
.time-badge {
    color: #fff;
    padding: 12px 18px;
    border-radius: 30px;
    text-align: center;
    font-size: 20px;
    font-weight: bold;
    line-height: 1;
}
.mediation .time-badge { background-color: #224B97; }
.purchase .time-badge { background-color: #E77A27; }
.time-badge span {
    color: #FFE16B;
    font-size: 40px;
    margin: 0 5px;
}

/* =============================================================
   フロー比較セクション (flow) レスポンシブ
   ============================================================= */

/* タブレットサイズ (1024px以下) */
@media screen and (max-width: 1024px) {
    .flow {
        padding: 80px 0;
    }

    .flow-title {
        font-size: 36px;
    }

    .flow-container {
        gap: 20px; /* ボックス間の隙間を狭くする */
    }

    .flow-header {
        font-size: 20px;
    }

    /* グリッドの中央幅を少し狭くして調整 */
    .flow-item {
        grid-template-columns: 1fr 120px 1fr;
    }
    
    .flow-text {
        font-size: 14px;
    }

    .time-badge {
        font-size: 16px;
    }

    .time-badge span {
        font-size: 32px;
    }
}

/* スマートフォンサイズ (768px以下) */
@media screen and (max-width: 768px) {
    .flow {
        padding:  0;
    }

    .flow-title {
        font-size: 24px;
        margin-bottom: 40px;
    }
    
    .flow-title .txt-small {
        font-size: 18px;
        margin-bottom: 5px;
    }

    /* ボックスを縦並びに変更 */
    .flow-container {
        flex-direction: column;
        align-items: center;
        gap: 50px; /* 縦に並んだボックス同士の距離 */
    }

    .flow-box {
        width: 100%;
        max-width: 400px; /* 横に広がりすぎないように制限 */
    }

    .flow-body {
        padding: 25px 20px 15px;
    }

    /* グリッド幅をスマホ向けに再定義 */
    .flow-item {
        grid-template-columns: 55px 1fr 55px; /* アイコン固定、中央が伸びる設定 */
        gap: 10px;
    }

    .flow-icon {
        width: 45px; /* アイコンを少し小さく */
    }

    .flow-text {
        grid-column: 2;
        font-size: 16px;
        white-space: normal; /* スマホでは改行を許可して崩れを防ぐ */
        line-height: 1.3;
    }

    /* 右側の見えない余白もアイコンサイズに合わせる */
    .flow-item::after {
        width: 45px;
    }

    .flow-arrow {
        width: 40px;
        margin: 8px 0;
    }

    .flow-footer {
        padding: 0 20px 25px;
    }

    .time-badge {
        font-size: 18px;
        padding: 10px 15px;
    }

    .time-badge span {
        font-size: 28px;
    }
}

/* 極小デバイス (480px以下) */
@media screen and (max-width: 480px) {

    .flow-item {
        grid-template-columns: 40px 1fr 40px; /* さらにアイコンを小さく */
    }

    .flow-icon, .flow-item::after {
        width: 40px;
    }
}

/* ==========================================================================
Market Section
========================================================================== */
/* market セクション */
.market {
    padding: 118px 0 212px;
    background-color: #FAFCFE;
}

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

/* タイトルのアンダーライン */
.market-title {
    text-align: center;
    font-size: 60px;
    font-weight: bold;
    margin-bottom: 60px;
}
.market-title .txt-small{
    font-size: 48px;
}

.market-title .marker-green {
    background: linear-gradient(transparent 85%, #D4FF00 70%);
    padding: 0 5px;
}

/* 各アイテムの基本設定 */
.market-item {
    border-radius: 15px;
    padding: 8px 35px 37px 12px;
    margin-bottom: 23px;
    max-width: 1156px;
}

.market-item.mansion, .market-item.land {
    background-color: #F1F9EE; /* 薄い緑 */
}

.market-item.house {
    background-color: #EBF5FB; /* 薄い青 */
}

/* ヘッダー部分（アイコンとタイトル） */
.item-header {
    display: flex;
    align-items: center;
    gap: 20px;
    padding-left: 10px;
}

.item-icon img {
    width: 98px;
    height: auto;
}

.item-title-wrap {
    display: flex;
    align-items: center;
    gap: 20px;
}

.item-category {
    font-size: 28px;
    font-weight: bold;
    margin: 0;
    position: relative;
}

/* タイトル横の縦棒 */
.item-category::after {
    content: "";
    display: inline-block;
    width: 1px;
    height: 30px;
    background-color: #ccc;
    margin-left: 20px;
    vertical-align: middle;
}

.item-desc {
    font-size: 20px;
    color: #878787;
    font-weight: bold;
    margin: 0;
}

/* 数字カードのグリッド */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 9px;
    max-width: 980px;
    margin-left: 115px;
    margin-top: -9px;
}

.stats-grid.grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

.stat-card {
    background: #fff;
    padding: 18px 10px 9px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.stat-label {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 10px;
}

.stat-value {
    font-size: 48px;
    font-weight: bold;
    color: #428B30;
    margin: 0;
    line-height: 1;
}

.stat-value span {
    font-size: 16px;
    margin-left: 3px;
    color: #000;
}

/* フッター・引用 */
.market-footer {
    text-align: right;
    margin-top: 17px;
    font-size: 16px;
    font-weight: bold;
    margin-right: 25px;
}

.market-footer a {
    color: #000;
    text-decoration: underline;
}

/* ボタン */
.market-btn-wrap {
    text-align: center;
    margin-top: 50px;
}

.market-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #000;
    color: #fff;
    text-decoration: none;
    font-size: 24px;
    font-weight: bold;
    width: 361px;
    height: 61px;
    border-radius: 50px;
    transition: opacity 0.3s;
}

.market-btn:hover {
    opacity: 0.8;
}

/* =============================================================
   市況データセクション (market) レスポンシブ
   ============================================================= */

/* タブレットサイズ (1024px以下) */
@media screen and (max-width: 1024px) {
    .market {
        padding: 80px 0 120px;
    }

    .market-title {
        font-size: 40px;
    }
    .market-title .txt-small {
        font-size: 32px;
    }

    /* グリッドの左余白を調整 */
    .stats-grid {
        margin-left: 100px;
    }

    .stat-value {
        font-size: 36px;
    }
}

/* スマートフォンサイズ (768px以下) */
@media screen and (max-width: 768px) {
    .market {
        padding: 60px 0 80px;
    }

    /* タイトルサイズを大幅に縮小 */
    .market-title {
        font-size: 26px;
        margin-bottom: 40px;
        line-height: 1.3;
    }
    .market-title .txt-small {
        font-size: 20px;
    }

    .market-item {
        padding: 20px 15px;
        margin-bottom: 20px;
    }

    /* ヘッダー：アイコンを小さくし、テキストを縦に並べる */
    .item-header {
        gap: 15px;
        margin-bottom: 15px;
    }

    .item-icon img {
        width: 60px; /* アイコン縮小 */
    }

    .item-title-wrap {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }

    .item-category {
        font-size: 20px;
    }

    /* タイトル横の縦棒を消す */
    .item-category::after {
        display: none;
    }

    .item-desc {
        font-size: 14px;
    }

    /* 数字カードのグリッド：左余白を消して2カラムにする */
    .stats-grid, 
    .stats-grid.grid-4 {
        grid-template-columns: repeat(2, 1fr);
        margin-left: 0;
        margin-top: 10px;
        gap: 8px;
    }

    .stat-card {
        padding: 15px 5px;
    }

    .stat-label {
        font-size: 13px;
        margin-bottom: 5px;
    }

    .stat-value {
        font-size: 28px;
    }

    .stat-value span {
        font-size: 13px;
    }

    /* フッター：右寄せから中央寄せ、または調整 */
    .market-footer {
        text-align: center;
        margin-right: 0;
        font-size: 13px;
    }

    /* ボタンの調整 */
    .market-btn {
        width: 100%;
        max-width: 320px;
        font-size: 20px;
        height: 54px;
    }
}

/* 極小デバイス (480px以下) */
@media screen and (max-width: 480px) {

    .stats-grid, 
    .stats-grid.grid-4 {
        grid-template-columns: repeat(2, 1fr); /* 非常に小さい画面でも2カラムを維持 */
    }

    .stat-value {
        font-size: 24px;
    }

    .item-icon img {
        width: 50px;
    }
}

/* ==========================================================================
FAQ Section
========================================================================== */
/* FAQセクション全体 */
.faq {
    background-color: #257DB7;
    padding: 96px 0 162px;
}

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

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

.faq-title {
    font-size: 64px;
    font-weight: bold;
    margin: 0;
}

.faq-sub {
    font-size: 36px;
    letter-spacing: 0.1em;
    margin-top: 5px;
}

/* アコーディオンアイテム */
.faq-item {
    background-color: #fff;
    border-radius: 36px;
    margin-bottom: 47px;
    overflow: hidden;
}

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

.q-prefix {
    font-size: 32px;
    font-weight: bold;
    margin-right: 20px;
    font-family: "Zen Old Mincho", serif;
}

.q-text {
    font-size: 20px;
    font-weight: bold;
    color: #333;
    padding-right: 40px;
    font-family: "Zen Old Mincho", serif;
}

/* プラス・マイナスアイコン */
.faq-icon {
    position: absolute;
    right: 40px;
    width: 20px;
    height: 20px;
}

/* 横線 */
.faq-icon::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: #333;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}

/* 縦線（＋の時だけ表示。ーの時は消える） */
.faq-icon::after {
    content: "";
    position: absolute;
    width: 2px;
    height: 100%;
    background-color: #333;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    transition: transform 0.3s ease;
}

/* アクティブ時のアイコン（ーにする） */
.faq-item.is-active .faq-icon::after {
    transform: translateX(-50%) rotate(90deg);
    opacity: 0;
}

/* 回答部分（デフォルトは隠す） */
.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
}

/* アクティブ時の回答表示 */
.faq-item.is-active .faq-a {
    max-height: 500px; /* 十分な高さを設定 */
    overflow: visible;
}

/* 回答の内容エリア */
.a-inner {
    padding: 0 40px 30px;
    display: flex;
    position: relative;
}
/* QとAの間の点線 */
.a-inner::before {
    content: "";
    position: absolute;
    top: -15px;
    left: 40px;
    right: 40px;
    border-top: 1px dashed #000;
}

.a-prefix {
    font-size: 32px;
    font-weight: bold;
    margin-right: 20px;
    line-height: 1.2;
    font-family: "Zen Old Mincho", serif;
}

.a-text {
    font-size: 20px;
    line-height: 1.8;
    font-weight: bold;
    font-family: "Zen Old Mincho", serif;
}

/* レスポンシブ (スマホ) */
@media (max-width: 768px) {
    .faq{
        padding: 40px 0;
    }
    .faq-title { font-size: 28px; }
    .faq-q { padding: 20px; }
    .q-prefix, .a-prefix { font-size: 22px; margin-right: 15px; }
    .q-text { font-size: 15px; padding-right: 30px; }
    .a-inner { padding: 0 20px 20px; }
    .a-inner::before { left: 20px; right: 20px; }
    .a-text { font-size: 14px; }
    .faq-icon { right: 20px; width: 16px; }
}

/* ==========================================================================
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;
}
.company-list-title {
    font-size: 60px;
    font-weight: bold;
    color: #202020;
    display: inline-block;
    position: relative;
}
.company-list-title .title-sub { font-size: 36px; margin-bottom: -10px;}

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

/* カードスタイル */
.company-card {
    background: #F5F5F5;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

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

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

/* カードボディ */
.company-card .card-body { padding: 28px 17px; flex-grow: 1; background-color: #F5F5F5; border: none;}

.info-group { margin-bottom: 25px; }
.info-label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #000;
    font-size: 18px;
}
.info-value {
    font-size: 18px;
    line-height: 1.6;
}

.company-map {
    margin-top: 20px;
    border: 1px solid #eee;
}
.company-info-btn-wrapper{
    text-align: center;
    margin-top: 22px;
}
.company-info-btn{
    background-color: #202020;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    width: 92%;
    margin: 0 auto;
    padding: 20px 0;
    display: inline-block;
    line-height: 1;
    border-radius: 30px;
}

/* もっと見るボタン */
.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);
    }
}

/* =============================================================
   不動産会社一覧セクション レスポンシブ
   ============================================================= */

/* タブレットサイズ (1024px以下) */
@media screen and (max-width: 1024px) {
    .company-list-title {
        font-size: 40px;
    }
    .company-list-title .title-sub {
        font-size: 24px;
    }

    /* 3カラムから2カラムに変更 */
    .company-list-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

/* スマートフォンサイズ (768px以下) */
@media screen and (max-width: 768px) {
    .company-list-section {
        padding: 50px 0;
    }

    /* タイトルのスケーリング */
    .section-title-wrapper {
        margin-bottom: 40px;
    }
    .company-list-title {
        font-size: 28px;
        line-height: 1.2;
    }
    .company-list-title .title-sub {
        font-size: 18px;
        margin-bottom: 0;
    }

    /* 1カラムに変更 */
    .company-list-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    /* カードヘッダーの調整 */
    .company-card .card-header {
        padding: 20px 15px;
        min-height: auto; /* 高さを内容に合わせる */
    }
    .company-card .card-title {
        font-size: 20px;
    }

    /* カードボディの調整 */
    .company-card .card-body {
        padding: 20px 15px;
    }
    .info-group {
        margin-bottom: 15px;
    }
    .info-label {
        font-size: 16px;
    }
    .info-value {
        font-size: 16px;
    }

    /* カード内ボタン */
    .company-info-btn {
        font-size: 16px;
        padding: 15px 0;
        width: 100%; /* スマホでは幅いっぱいに */
    }

    /* もっと見るボタン */
    .btn-more-navy {
        width: 100%;
        padding: 18px 0;
        font-size: 16px;
    }
}

/* 極小デバイス (480px以下) */
@media screen and (max-width: 480px) {
    .company-list-title {
        font-size: 24px;
    }
    .company-card .card-title {
        font-size: 18px;
    }
}


/* ==========================================================================
Recent Posts Section
========================================================================== */
.section-recent-posts {
    background-color: #fff;
    padding-bottom: 60px;
    max-width: 1300px;
    margin: 0 auto;
}

/* タイトル部分の薄いブルー背景 */
.recent-posts-header {
    background-color: #E8EEF6;
    padding: 11px 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: 17px 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;
    pointer-events: none; 
}

/* トップに戻るボタン */
.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);
    pointer-events: none;
}

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

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

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

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

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

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

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

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


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

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

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

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


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



.footer-top-container {
    max-width: 1174px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    padding-bottom: 54px;
    padding-top: 48px;
}

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

.footer-section-title {
    color: #fff;
    font-size: 20px;
    font-weight: bold;
    margin: 0 0 15px 0;
    position: relative;
}

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

.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;
    background-color: #257DB7;
}

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

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

/* --- サイドバー全体 --- */
.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;
    margin-left: 0;
}

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


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

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

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

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

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

.area-column-article {
    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;
}

.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: #257DB7;
    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: 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;
  }
}