/* ==========================================================================
Responsive Styles
========================================================================== */
@media (max-width: 1199px){
	main{
		width: 100%;
	}
    .index-item {
        padding: 25px 5px;
    }
    .index-item span {
        font-size: 14px;
    }
    .index-title {
        font-size: 30px;
    }
    .intro-bottom-wrapper{
        padding: 24px 50px 24px 24px;
    }
    .intro-tree{
        right: -2vw;
        width: 80px;
    }
    .company-main-content{
        padding: 0 10px;
    }
}



/* 業者一覧セクション レスポンシブ */
@media (max-width: 1024px) {
    main{
        margin-top: 0px;
    }
    body.admin-bar #page {
        padding-top: 20px;
    }
}



/* Mobile (max-width: 767px) */
@media (max-width: 767px){
    /* 共通 */
    .sp-only{
        display: block !important;
    }
    .header-container {
        display: none;
    }
    .site-main{
        margin-top: 0;
    }
    .main-navigation {
        display: none;
    }
    .site-header{
        background-color: transparent;
        border-bottom: none;
    }

    /* SP Hamburger Menu Button - 紫背景・白アイコン */
    .hamburger-btn {
        display: flex !important;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        position: fixed;
        top: 20px; /* トップバーの高さ(20px)のすぐ下 */
        right: 0;
        width: 60px;
        height: 60px;
        background: #2B8FA8 !important;
        border: none;
        border-radius: 0;
        cursor: pointer;
        z-index: 10000;
        padding: 10px;
        gap: 4px;
        box-shadow: none;
    }

    /* WordPress管理バー対応 - ハンバーガーメニュー位置調整（タブレット：782px以上） */
    body.admin-bar .hamburger-btn {
        top: 52px; /* admin-bar(32px) + top-bar(20px) */
    }

    .hamburger-btn span {
        display: block !important;
        width: 26px;
        height: 3px;
        background-color: #FFF !important;
        transition: all 0.3s ease;
        border-radius: 1px;
    }

    .hamburger-btn span.menu-text {
        width: auto !important;
        height: auto !important;
        background: none !important;
        background-color: transparent !important;
        color: #FFF;
        font-family: "Hiragino Sans", "Noto Sans JP", sans-serif;
        font-size: 10px;
        font-weight: 600;
        margin-top: 2px;
        letter-spacing: 0.5px;
    }

    /* Hamburger Active State (X mark) - 3本ライン対応 */
    .hamburger-btn.active span:nth-child(1) {
        transform: rotate(45deg);
        position: absolute;
        top: 22px;
    }

    .hamburger-btn.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger-btn.active span:nth-child(3) {
        transform: rotate(-45deg);
        position: absolute;
        top: 22px;
    }

    .hamburger-btn.active span.menu-text {
        position: absolute;
        bottom: 10px;
        transform: none;
    }

    /* Mobile Menu - ハンバーガーボタンと同じ位置から開始 */
    .mobile-menu {
        display: block;
        position: fixed;
        top: 20px;
        right: 0;
        width: 75%;
        max-width: 300px;
        height: calc(100vh - 20px);
        background-color: #2B8FA8;
        z-index: 10001;
        overflow-y: auto;
        transform: translateX(100%);
        transition: transform 0.3s ease;
        visibility: hidden;
        border-radius: 0;
    }

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

    /* WordPress管理バー対応 - モバイルメニュー位置調整（タブレット：782px以上） */
    body.admin-bar .mobile-menu {
        top: 52px; /* admin-bar(32px) + top-bar(20px) */
        height: calc(100vh - 52px);
    }

    /* 閉じるボタン - ハンバーガーボタンと同じ位置・スタイル */
    .mobile-menu-close {
        display: flex !important;
        position: fixed;
        top: 20px;
        right: 0;
        width: 60px;
        height: 60px;
        background: #2B8FA8;
        border: none;
        border-radius: 0;
        cursor: pointer;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 10px;
        gap: 4px;
        z-index: 10002;
    }

    .mobile-menu-close .close-icon {
        position: relative;
        width: 26px;
        height: 26px;
    }

    .mobile-menu-close .close-icon::before,
    .mobile-menu-close .close-icon::after {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 26px;
        height: 3px;
        background-color: #FFF;
        border-radius: 1px;
    }

    .mobile-menu-close .close-icon::before {
        transform: translate(-50%, -50%) rotate(45deg);
    }

    .mobile-menu-close .close-icon::after {
        transform: translate(-50%, -50%) rotate(-45deg);
    }

    .mobile-menu-close .close-text {
        color: #FFF;
        font-family: "Hiragino Sans", "Noto Sans JP", sans-serif;
        font-size: 10px;
        font-weight: 600;
        letter-spacing: 0.5px;
    }

    /* WordPress管理バー対応 - 閉じるボタン位置調整（タブレット：782px以上） */
    body.admin-bar .mobile-menu-close {
        top: 52px; /* admin-bar(32px) + top-bar(20px) */
    }

    .mobile-menu-content {
        padding: 80px 0 30px;
    }

    .mobile-nav {
        list-style: none;
        margin: 0;
        padding: 0;
    }

    .mobile-nav li {
        border-bottom: none;
    }

    .mobile-nav a {
        display: flex;
        justify-content: flex-start;
        align-items: center;
        padding: 16px 25px;
        color: #FFF;
        font-family: "Hiragino Sans", "Noto Sans JP", sans-serif;
        font-size: 17px;
        font-weight: 600;
        text-decoration: none;
        transition: background-color 0.3s ease;
    }

    .mobile-nav a:hover {
        background-color: rgba(255, 255, 255, 0.1);
        opacity: 1;
    }

    .mobile-nav .arrow {
        display: inline-block;
        margin-left: 12px;
        width: 0;
        height: 0;
        border-top: 5px solid transparent;
        border-bottom: 5px solid transparent;
        border-left: 8px solid #FFF;
    }

    .mobile-menu-banner {
        margin: 25px 15px;
        position: relative;
    }

    .mobile-menu-banner-pr {
        position: absolute;
        top: -8px;
        left: 0;
        background: #2B8FA8;
        color: #FFF;
        font-size: 10px;
        font-weight: 600;
        padding: 2px 8px;
        z-index: 2;
    }

    .mobile-menu-banner img {
        width: 100%;
        height: auto;
        border-radius: 0;
    }

    /* Mobile Menu Overlay */
    .mobile-menu-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(0, 0, 0, 0.5);
        z-index: 9998;
    }

    .mobile-menu-overlay.active {
        display: block;
    }
    .intro-wrapper {
        flex-direction: column;
        gap: 30px;
    }
    .intro-image {
        flex: 0 0 auto;
        width: 300px;
    }
    .intro-bottom-text {
        font-size: 18px;
    }
    .header-bubble{
        font-size: 2.7vw;
        width: 80%;
    }
    .header-bubble::before{
        width: 76.6vw;
        height: 9.1vw;
    }
    .reviews-text-grid{
        grid-template-columns: repeat(2, 1fr);
        margin-left: 0;
    }
    .overview-content-wrapper{
        margin-left: 0;
    }
    .overview-inner{
        flex-direction: column;
    }
    .overview-table-wrapper{
        width: 100%;
    }
    .overview-map-wrapper{
        width: 100%;
    }
    .company-list-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    

    /* Top Bar - 固定表示・スクロール追従 */
    .top-bar {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 20px;
        padding: 0;
        display: flex;
        align-items: center;
        z-index: 9999;
        background-color: #fff;
    }

    /* WordPress管理バー対応 - トップバー位置調整 */
    body.admin-bar .top-bar {
        top: 46px;
    }
    #page {
        padding-top: 20px;
    }

    body.admin-bar #page {
        padding-top: 20px;
    }

    .top-bar-inner {
        padding: 0 10px;
        gap: 8px;
        justify-content: flex-start;
        flex-wrap: nowrap;
        flex-direction: row;
        align-items: center;
    }

    .pr-label {
        width: 28px;
        height: 13px;
        font-size: 10px;
        flex-shrink: 0;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .top-bar-text {
        font-size: 11px;
        white-space: nowrap;
        overflow: visible;
        display: inline;
    }
    .top-bar-text-pc {
        display: none;
    }

    .top-bar-text-sp {
        display: inline;
    }
    .header-left{
        display: none;
    }
}

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



/* タブレット用 (2列) */
@media (max-width: 991px) and (min-width: 601px) {
    .index-grid-container {
        grid-template-columns: repeat(2, 1fr);
    }
    /* 線のリセットと再設定 */
    .index-grid-item::after, .index-grid-item::before { display: block; }
    
    .index-grid-item:nth-child(2n)::after { display: none; } /* 2の倍数の後の縦線を消す */
    .index-grid-item:nth-child(n+9)::before { display: none; } /* 最後の段(9,10番目)の横線を消す */
    .index-grid-item:nth-child(n+6)::before {
        display: block;
    }
}

/* スマホ用 (1列) */
@media (max-width: 600px) {
    .index-grid-container {
        grid-template-columns: 1fr;
    }
    .index-grid-item {
        min-height: 80px;
        padding: 10px;
        border-bottom: 2px solid #71869D;
    }
    .index-grid-item:last-child{
        border-bottom: none;
    }
    .index-grid-text {
        font-size: 16px;
    }
    /* 1列なので縦線はすべて不要 */
    .index-grid-item::after {
        display: none;
    }
    /* 最後のアイテムだけ横線を消す */
    .index-grid-item::before {
        display: none;
    }
}

/* ==========================================================================
Comparison Section - Responsive
========================================================================== */

/* タブレット・スマホ共通の横スクロール設定 */
@media (max-width: 1024px) {
    .comp-v2-section {
        padding: 50px 0;
    }

    /* タイトル周りのサイズ調整 */
    .comp-v2-sub-text {
        font-size: 20px;
        margin-bottom: -22px;
        -webkit-text-stroke: 4px #fff; /* 縁を少し細く */
    }

    .comp-v2-main-wrap {
        gap: 10px;
    }
    .comp-v2-title{
        margin-bottom: 0px;
    }

    .comp-v2-main-text {
        font-size: 28px;
        -webkit-text-stroke: 5px #fff;
    }

    .comp-v2-num {
        font-size: 56px;
    }

    .comp-v2-crown {
        width: 70px;
    }
    
    .crown-left { margin-right: -25px; }
    .crown-right { margin-left: -25px; }

    .comp-v2-cards-container {
        display: flex;
    }
}
@media (max-width: 768px){
    .comp-v2-crown {
        width: 40px;
    }
    .comp-v2-main-text {
        font-size: 22px;
    }
    .comp-v2-num {
        font-size: 2em;
    }
    .comp-v2-card-label{
        font-size: 20px;
    }
}

/* ==========================================================================
Reality Section - Responsive
========================================================================== */

/* タブレット・スマホ共通（1024px以下） */
@media (max-width: 1024px) {
    .reality {
        padding: 60px 0;
    }

    /* タイトルサイズ調整 */
    .reality-sub-title {
        font-size: 20px;
        -webkit-text-stroke: 4px #fff;
        margin-bottom: 5px;
    }

    .reality-main-title {
        font-size: 28px;
        -webkit-text-stroke: 5px #fff;
        line-height: 1.3;
    }

    /* リード文の余白をリセット */
    .reality-lead {
        padding: 0;
        font-size: 16px;
        line-height: 1.8;
        margin-bottom: 40px;
        text-align: justify; /* スマホでは両端揃えが見やすい */
    }
}

/* スマホ用（768px以下）：フローを縦並びにする */
@media (max-width: 768px) {
    .reality-flow {
        flex-direction: column; /* 縦に並べる */
        gap: 0;
    }

    .flow-item {
        width: 100%;
        max-width: 320px; /* カードが広がりすぎないように制限 */
        margin: 0 auto;
    }

    .flow-card {
        padding: 25px 15px;
        min-height: auto;
    }

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

    .flow-img {
        width: 120px;
    }

    /* 横矢印を縦矢印に変更 */
    .flow-arrow-h {
        width: 100%;
        margin: 15px 0;
        text-align: center;
    }

    .flow-arrow-h img {
        width: 20px;
        height: auto;
        transform: rotate(90deg); /* 画像を90度回転させて下に向ける */
    }

    .reality-bottom-arrow {
        margin-top: 40px;
    }
}

/* 非常に小さい画面（480px以下） */
@media (max-width: 480px) {
    .reality-main-title {
        font-size: 24px;
    }
}

/* ==========================================================================
Appraisal Conclusion Section - Responsive
========================================================================== */

/* タブレット・スマホ共通（1024px以下） */
@media (max-width: 1024px) {
    .appraisal-conclusion {
        padding: 40px 0;
    }

    /* 左の装飾を小さくし、重なり順を下げる */
    .deco-left {
        width: 200px;
        left: -50px;
        bottom: -30px;
        opacity: 0.5; /* 少し薄くして文字の邪魔をしないように */
    }

    /* 紺色のバッジタイトルのサイズ調整 */
    .conclusion-badge {
        font-size: 24px;
        padding: 15px 20px;
        margin-bottom: 30px;
    }

    /* テキストブロックのサイズ調整 */
    .text-block {
        font-size: 20px;
        margin-bottom: 20px;
    }

    /* 右のイラストを内側に入れる、または位置調整 */
    .conclusion-illust {
        width: 120px;
        right: -20px;
        bottom: -20px;
        opacity: 0.8;
    }

    .conclusion-content {
        max-width: 100%;
    }
}

/* スマホ用（768px以下） */
@media (max-width: 768px) {
    .appraisal-conclusion {
        padding: 30px 0 50px;
    }

    /* タイトルをスマホ向けに */
    .conclusion-badge {
        font-size: 20px;
        padding: 12px 15px;
        line-height: 1.5;
        border-radius: 4px; /* 角を少し丸くするとスマホで馴染みます */
    }

    /* テキストサイズを読みやすく */
    .text-block {
        font-size: 17px;
        line-height: 1.6;
        text-align: left;
    }

    /* 装飾とイラストの競合を避ける */
    .deco-left {
        display: none; /* スマホではごちゃつくので左の装飾は消す */
    }

    .conclusion-content {
        margin-bottom: 30px;
    }

    .conclusion-illust {
        right: 0;
        bottom: -79px;
        width: 118px;
        display: block;
    }

    /* ボタンの調整（もしbtn-dark-brownのスタイルが他にあれば） */
    .btn-dark-brown {
        display: block;
        width: 100%;
        max-width: 300px;
        margin: 70px auto 0;
        padding: 15px;
        box-sizing: border-box;
    }
}

/* 非常に小さい画面用 */
@media (max-width: 480px) {
    .conclusion-badge {
        font-size: 18px;
    }
    .text-block {
        font-size: 16px;
    }
}

/* ==========================================================================
Survey Results Section - Responsive
========================================================================== */

/* タブレット・スマホ共通（1024px以下） */
@media (max-width: 1024px) {
    .survey-main-title {
        font-size: 28px;
        -webkit-text-stroke: 4px #fff;
    }

    .survey-main-title .title-sub {
        font-size: 20px;
        -webkit-text-stroke: 4px #fff;
    }

    /* タイトルの点線を少し小さく */
    .survey-main-title .title-sub::before,
    .survey-main-title .title-sub::after {
        width: 12px;
        height: 20px;
        bottom: 2px;
    }
    .survey-main-title .title-sub::before { left: -20px; }
    .survey-main-title .title-sub::after { right: -20px; }

    .title-underline {
        max-width: 90%;
    }

    /* 白いボックス内のレイアウトを縦に */
    .survey-white-box {
        padding: 40px 20px;
    }

    .survey-flex-layout {
        flex-direction: column; /* 縦並び */
        align-items: center;
        gap: 30px;
        margin-top: 0;
    }

    .survey-lead-text {
        font-size: 18px;
    }

    .survey-source {
        margin-left: 0;
        margin-bottom: 20px;
    }

    .survey-graph-area {
        width: 100%;
        max-width: 400px; /* グラフが大きくなりすぎないように */
        order: -1; /* グラフをテキストより上に持ってくる（任意） */
    }

    /* チェックリストの調整 */
    .survey-check-list li {
        font-size: 16px;
    }

    .survey-sub-lead,
    .survey-footer-comment {
        font-size: 17px;
    }

    /* 下部結論エリアの縦並び */
    .survey-conclusion {
        flex-direction: column;
        gap: 20px;
    }

    .survey-conclusion-illust {
        width: 200px;
    }

    .conclusion-top {
        font-size: 18px;
    }

    .conclusion-main {
        font-size: 20px;
    }
}

/* スマホ用（768px以下） */
@media (max-width: 768px) {
    .survey-results {
        padding: 40px 0;
    }

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

    .survey-main-title .title-sub {
        font-size: 18px;
    }

    /* チェックリストのパディング調整 */
    .survey-check-box {
        padding: 20px 15px;
    }
    .check-icon{
        width: 22px;
    }

    /* 結論部分の強調テキスト */
    .conclusion-main {
        font-size: 18px;
    }
}

/* 非常に小さい画面（480px以下） */
@media (max-width: 480px) {
    
    .survey-lead-text .marker {
        font-size: 1.1em;
    }
}

/* ==========================================================================
Selection Points Section - Responsive
========================================================================== */

/* タブレット・スマホ共通（1024px以下） */
@media (max-width: 1024px) {
    .points-main-title {
        margin-bottom: 40px;
    }
    .point-white-box {
        padding: 30px 20px;
        margin-top: 30px; /* 重なりを少し解消 */
    }
    .point-box-title {
        font-size: 24px;
    }
}

/* スマホ用（768px以下） */
@media (max-width: 768px) {
    .selection-points {
        padding: 40px 0 60px;
    }

    /* 左右の余白をなくす設定 */
    .selection-points-inner {
        max-width: 100%;
        padding: 0; /* インナーの左右パディングをゼロに */
    }

    .points-main-title {
        padding: 0 15px; /* タイトルだけは内側に余白 */
        font-size: 22px;
    }

    .points-sub-title {
        font-size: 16px;
    }
    .title-deco {
        width: 15px;
    }
    .points-main-title .num-orange{
        font-size: 2em;
    }

    .point-item {
        margin-bottom: 50px;
    }

    /* ラベル（Point 01など）のサイズと位置調整 */
    .point-label {
        width: 120px;
        top: -30px;
        left: 0px;
    }

    .point-flex-container {
        flex-direction: column; /* 縦並びに変更 */
    }

    .point-image {
        width: 100%; /* 全幅表示 */
    }

    .point-image img {
        border-radius: 0; /* 左右いっぱいに見せるため角丸を解除 */
    }

    /* 白い説明ボックスを全幅に */
    .point-white-box {
        width: 100%;
        margin-left: 0;
        margin-top: 0; /* 画像のすぐ下に配置 */
        padding: 40px 20px;
        border-radius: 0; /* 全幅なので角丸不要 */
        box-shadow: none; /* スマホでは影を消してスッキリさせる */
    }
    .point-white-box::after {
        border-radius: 0;
    }

    .point-box-title {
        font-size: 22px;
        line-height: 1.3;
    }

    .point-box-content p {
        font-size: 16px;
        line-height: 1.6;
    }

    /* チェックリストの調整 */
    .point-check-list li {
        font-size: 16px;
    }

    /* ポイント03, 04用のグリッドリスト（スマホ1列） */
    .point-grid-list {
        grid-template-columns: 1fr; /* 1列に */
        width: 100%;
        gap: 8px;
    }

    .point-grid-list li {
        width: 100%;
        min-width: auto;
        font-size: 16px;
        padding: 10px;
    }
    
    /* 改行の調整 */
    .point-box-title br {
        display: none;
    }
}

/* 非常に小さい画面（480px以下） */
@media (max-width: 480px) {
    .points-main-title {
        font-size: 20px;
    }
}
/* ==========================================================================
Company Introduction Section - Responsive
========================================================================== */

/* タブレット・スマホ共通（1024px以下） */
@media (max-width: 1024px) {
    .intro-main-title {
        font-size: 28px;
        margin-bottom: 30px;
    }
    .company-name {
        font-size: 40px;
    }

    .company-tag {
        font-size: 20px;
        padding: 7px 30px;
    }

    .highlight-text {
        font-size: 20px;
    }

    /* 理由カードの調整 */
    .reason-card {
        gap: 20px;
        padding: 20px;
    }
}

/* スマホ用（768px以下） */
@media (max-width: 768px) {
    .company-introduction {
        padding: 40px 0;
    }

    /* インナーの左右余白をゼロにする（前のセクションと統一） */
    .introduction-inner {
        padding: 0;
    }

    .intro-main-title {
        padding: 0 15px;
        font-size: 22px;
    }
	.company-name-box{
		height: 118px
	}

    .company-item {
        margin-bottom: 60px;
    }

    /* ヘッダー（名前・画像）を縦並びに */
    .company-intro-header {
        flex-direction: column;
    }

    .company-info-left {
        width: 100%;
        max-width: 100%;
    }

    .company-number {
        margin-left: 20px;
        font-size: 28px;
    }

    .company-name-box {
        padding: 30px 15px;
    }

    .company-name {
        font-size: 32px;
        margin: 0 auto;
    }

    .company-tag {
        font-size: 16px;
        padding: 6px 20px;
    }

    .company-highlight-box {
        margin: 20px 15px; /* ここだけ少し余白 */
    }

    .highlight-text {
        font-size: 18px;
    }

    /* スクリーンショット */
    .company-visual-right {
        width: 100%;
        padding: 0;
    }

    .screenshot-wrap {
        box-shadow: none;
        border: 2px solid #666;
    }

    .citation {
        padding-right: 15px;
    }

    /* --- 5つの理由セクション --- */
    .reasons-container {
        padding: 0 15px;
    }
	.reasons-container::before{
		width: 50%;
		right: -10%;
		height: 102%;
		top: -1%;
	}

    .reason-card {
        flex-direction: column !important; /* PCのrow-reverseも強制解除 */
        gap: 15px;
        padding: 20px 15px;
        text-align: left;
    }

    .reason-image {
        order: -1; /* 画像をテキストより上に配置 */
        width: 100% !important;
        text-align: center;
    }

    .reason-image img {
        width: 150px !important; /* スマホではイラストを適度なサイズに */
        height: auto;
    }

    .reason-title {
        font-size: 18px;
        line-height: 1.4;
    }

    .reason-text {
        font-size: 15px;
    }

    /* --- 口コミセクション --- */
    .reviews-grid {
        display: flex;
        flex-direction: column;
        gap: 20px;
        padding: 0 15px;
    }

    .review-card-item {
        width: 100%;
    }

    /* --- 売却実績（テーブル） --- */
    .performance-table-container {
        padding: 0 15px;
    }

    .table-scroll-wrapper {
        overflow-x: auto; /* 横スクロールを維持 */
        -webkit-overflow-scrolling: touch;
    }

    .performance-table th, 
    .performance-table td {
        font-size: 13px;
        white-space: nowrap; /* テーブルが潰れないように */
        padding: 10px 8px;
    }

    /* --- 会社概要・マップ --- */
    .profile-flex-container {
        flex-direction: column;
        gap: 20px;
        padding: 0 15px;
    }

    .profile-info-list {
        width: 100%;
    }

    .profile-item dt {
        width: 100px;
        font-size: 14px;
    }

    .profile-map-area {
        width: 100%;
    }

    /* --- ボタン類 --- */
    .company-footer-btns {
        flex-direction: column;
        gap: 10px;
        padding: 0 15px;
    }

    .btn-orange-full, .btn-outline-round, .btn-main-assessment {
        width: 100% !important;
        text-align: center;
        box-sizing: border-box;
        font-size: 16px;
    }

    .btn-main-assessment {
        font-size: 20px;
        padding: 20px;
    }
}

/* 480px以下 */
@media (max-width: 480px) {
    .company-name {
        font-size: 28px;
    }
    .reason-title {
        font-size: 17px;
    }
}

/* ==========================================================================
Company Reasons Section - Responsive
========================================================================== */

/* タブレット・スマホ共通（1024px以下） */
@media (max-width: 1024px) {
    .company-section-subtitle {
        font-size: 20px;
        padding-left: 20px;
        margin-bottom: -10px;
    }
    .company-section-title {
        font-size: 24px;
        padding-left: 20px;
        gap: 10px;
    }
    .company-section-title .u-teal {
        font-size: 28px;
    }
    .company-section-title .num {
        font-size: 50px;
    }
    .company-section-title::after {
        max-width: 150px; /* 線を短く */
    }

    .reason-title {
        font-size: 24px;
    }
    .reason-text {
        font-size: 18px;
    }
    .reason-image {
        width: 200px;
    }
}

/* スマホ用（768px以下） */
@media (max-width: 768px) {
    .company-reasons-wrapper {
        padding: 40px 0 0 0;
    }

    /* 見出しエリアの調整 */
    .company-section-subtitle {
        padding-left: 15px;
        font-size: 16px;
        margin-bottom: 0;
    }
    .company-section-title {
        padding-left: 15px;
        font-size: 20px;
        flex-wrap: wrap; /* 折り返しを許可 */
    }
    .company-section-title .u-teal {
        font-size: 24px;
    }
    .company-section-title .num {
        font-size: 48px;
    }
    .company-section-title::after {
        display: none; /* スマホでは横線を消す */
    }

    /* カードコンテナ（左右余白なし） */
    .reasons-container {
        max-width: 100%;
        margin: 30px 0;
        align-items: center; /* 中央揃えに */
        gap: 15px; /* カード間の隙間を調整 */
    }

    /* カード本体（エッジ・トゥ・エッジ） */
    .reason-card {
        flex-direction: column !important; /* 全て縦並びに、row-reverseも解除 */
        padding: 40px 20px;
        gap: 20px;
        border-radius: 0;
        border-bottom: 1px solid #eee; /* カードの区切り線 */
    }
    
    .reason-card-short {
        max-width: 100%; /* 横幅制限を解除 */
    }

    .reason-content {
        flex-direction: column;
        gap: 10px;
        width: 100%;
    }

    .reason-num {
        font-size: 32px;
    }

    .reason-title {
        font-size: 18px;
        margin-bottom: 15px;
        line-height: 1.5;
    }

    .reason-text {
        font-size: 15px;
        line-height: 1.7;
        max-width: 100%;
    }

    .reason-image {
        width: 100%;
        max-width: 180px; /* イラストが大きくなりすぎないように */
        order: -1; /* テキストより上に画像を配置 */
        margin: 0 auto;
    }

    /* ボタンエリア */
    .company-footer-btns {
        flex-direction: column;
        gap: 12px;
        padding: 0 15px;
        width: 100%;
    }

    .btn-orange-full, .btn-outline-round {
        width: 100%;
        font-size: 18px;
        padding: 18px;
    }
}

/* 480px以下 */
@media (max-width: 480px) {
    .company-section-title .u-teal {
        font-size: 20px;
    }
    .company-section-title .num {
        font-size: 40px;
    }
}

/* ==========================================================================
Company Reviews Section - Responsive
========================================================================== */

/* タブレット・スマホ共通（1024px以下） */
@media (max-width: 1024px) {
    .company-reviews-wrapper {
        padding: 60px 0 0 0;
    }

    .reviews-grid {
        grid-template-columns: repeat(2, 1fr); /* タブレットは2列 */
        gap: 20px;
        padding: 0 20px;
    }

    .review-item-title {
        font-size: 22px;
        margin-bottom: 25px;
    }

    .user-icon {
        width: 120px;
        margin-bottom: 30px;
    }

    .stars-gold {
        font-size: 28px;
    }

    .review-stars .score {
        font-size: 24px;
    }

    .review-body {
        font-size: 18px;
    }
}

/* スマホ用（768px以下） */
@media (max-width: 768px) {
    .company-reviews-wrapper {
        padding: 40px 0 0 0;
    }

    /* 左右余白なしの設定を反映 */
    .reviews-grid {
        grid-template-columns: 1fr; /* 1列に */
        gap: 30px;
        padding: 0 15px; /* カードが画面端に密着しすぎないよう微調整（お好みで0に） */
        margin: 40px auto;
    }

    .review-card-item {
        padding: 40px 20px 30px;
        border-radius: 30px; /* スマホでは角丸を少し控えめに（53pxだと丸すぎるため） */
    }

    .review-item-title {
        font-size: 20px;
        margin-bottom: 20px;
        min-height: auto; /* スマホでは高さを固定しない */
    }

    .user-icon {
        width: 100px;
        margin-bottom: 20px;
    }

    .review-stars {
        margin-bottom: 20px;
    }

    .stars-gold {
        font-size: 24px;
    }

    .review-stars .score {
        font-size: 22px;
    }

    .review-body {
        font-size: 16px;
        line-height: 1.6;
        max-width: 100%; /* 横幅制限を解除 */
    }

    .review-citation {
        font-size: 10px;
        margin-top: 15px;
    }
}

/* 480px以下 */
@media (max-width: 480px) {
    .review-item-title {
        font-size: 18px;
    }
    
    .review-card-item {
        padding: 30px 15px;
    }
}
/* ==========================================================================
売却実績
========================================================================== */
@media (max-width: 1024px) {
    .company-performance-wrapper {
        padding: 40px 20px;
    }
    .performance-table-container{
        margin: 20px 0;
    }
    .performance-table td {
        font-size: 15px;
        padding: 15px 10px;
    }
    
    .performance-table th {
        font-size: 16px;
        padding: 15px 5px;
    }
    .table-citation{
        margin-right: 0;
    }
}
/* ==========================================================================
Company Profile Section - Responsive
========================================================================== */

/* タブレット・スマホ共通（1024px以下） */
@media (max-width: 1024px) {
    .company-profile-wrapper {
        padding: 60px 0 0 0;
    }

    .profile-flex-container {
        max-width: 90%;
        gap: 30px;
    }

    .profile-item {
        font-size: 18px;
    }

    .profile-map-area {
        width: 40%; /* 少し縮小 */
    }
}

/* スマホ用（768px以下） */
@media (max-width: 768px) {
    .company-profile-wrapper {
        padding: 40px 0 0 0;
    }

    /* 左右余白なしの設定 */
    .profile-flex-container {
        flex-direction: column; /* 縦並びに変更 */
        max-width: 100%;
        margin: 30px 0;
        gap: 0;
    }

    /* 左側リスト */
    .profile-info-list {
        width: 100%;
        padding: 0 15px; /* テキストには少しだけ余白 */
        box-sizing: border-box;
    }

    .profile-item {
        font-size: 16px;
        padding: 15px 5px;
    }

    .profile-item dt {
        width: 90px; /* 見出しの幅を固定 */
        font-weight: bold;
    }

    .profile-item dd {
        word-break: break-all; /* 長いURLがはみ出さないように */
    }

    /* 右側マップ（エッジ・トゥ・エッジ） */
    .profile-map-area {
        width: 100%;
        margin-top: 30px;
    }

    .map-image-wrap {
        border-left: none;
        border-right: none;
    }

    .map-image-wrap iframe {
        height: 250px; /* スマホで見やすい高さに調整 */
    }

    /* CTAエリア */
    .company-final-cta {
        padding: 40px 15px;
        width: 100%;
        box-sizing: border-box;
        gap: 20px;
    }

    .btn-main-assessment-wrap {
        max-width: 100%;
        padding: 0 15px;
    }

    .btn-main-assessment {
        font-size: 20px;
        padding: 18px;
        border-radius: 50px;
    }
}

/* 480px以下 */
@media (max-width: 480px) {
    .profile-item {
        font-size: 14px;
    }
    .profile-item dt {
        width: 80px;
    }
    .btn-main-assessment {
        font-size: 18px;
    }
}
/* ==========================================================================
Basic Knowledge Section - Responsive
========================================================================== */

/* タブレット・スマホ共通（1024px以下） */
@media (max-width: 1024px) {
    .header-deco-text {
        font-size: 20px;
    }
    .header-deco-text::before, .header-deco-text::after {
        width: 15px;
        height: 25px;
    }
    .header-deco-text::before { left: -25px; }
    .header-deco-text::after { right: -25px; }

    .header-main-title {
        font-size: 32px;
    }

    .knowledge-box-title {
        font-size: 24px;
    }

    .knowledge-box-body {
        padding: 40px 30px;
    }

    .text-p, .check-list li, .text-center-p, .card-footer-text, .risk-result-text p {
        font-size: 18px;
    }
}

/* スマホ用（768px以下） */
@media (max-width: 768px) {
    .knowledge {
        padding: 50px 0 0 0;
    }

    /* インナーの左右パディングをなくす */
    .knowledge-inner {
        padding: 0;
    }

    .knowledge-main-header {
        padding: 0 15px;
        margin-bottom: 40px;
    }

    .header-deco-text {
        font-size: 16px;
    }

    .header-main-title {
        font-size: 22px;
    }

    /* 白いボックスを全幅に */
    .knowledge-content-box {
        border-radius: 0;
    }

    .knowledge-box-title {
        font-size: 19px;
        padding: 15px;
    }

    .knowledge-box-body {
        padding: 30px 15px; /* テキスト部分に最小限の余白 */
    }

    .text-p, .check-list li, .text-center-p, .card-footer-text, .risk-result-text p {
        font-size: 16px;
        line-height: 1.6;
    }

    /* チェックリストの調整 */
    .check-list {
        margin: 25px 0;
        width: 100%;
    }

    /* テーブルのフォントサイズ微調整 */
    .knowledge-table th, .knowledge-table td {
        font-size: 14px;
        padding: 10px 8px;
    }
    .knowledge-table thead th {
        font-size: 16px;
    }

    /* 矢印を少し小さく */
    .knowledge-arrow img {
        width: 50px;
    }

    /* リスクボックスの縦並び */
    .risk-box {
        border-radius: 0;
        border-left: none;
        border-right: none;
    }

    .risk-box-title {
        font-size: 18px;
        border-radius: 0;
        padding: 20px 10px;
        flex-direction: column;
        gap: 10px;
        margin-bottom: 0;
    }

    .risk-icon {
        width: 60px;
    }

    .risk-box__inner {
        padding: 30px 15px 120px; /* 下部にイラスト用の余白 */
    }
    .risk-box__inner .text-p{
        font-size: 16px;
    }

    .risk-compare-area {
        flex-direction: column; /* 縦並び */
        gap: 20px;
    }

    .no-contract-card-wrapper, .risk-result-text {
        width: 100%;
    }

    .card-label {
        font-size: 18px;
        padding: 6px 20px;
    }

    .check-list-small li {
        font-size: 15px;
    }
    .check-list-small .check-img{
        width: 22px;
    }

    /* 真ん中の矢印を回転させて下向きに */
    .risk-arrow-center img {
        width: 40px;
        transform: rotate(90deg);
        margin: 10px 0;
    }

    .risk-result-text {
        padding-bottom: 0;
    }

    /* イラストの位置調整（はみ出さないように） */
    .illust-house {
        position: relative;
        bottom: 0;
        right: 0;
        margin: 20px auto -80px; /* ボックスのパディングを利用して配置 */
        width: 180px;
        display: block;
    }
}

/* 480px以下 */
@media (max-width: 480px) {
    .header-deco-text::before, .header-deco-text::after {
        display: none; /* 狭すぎる場合は装飾を消す */
    }
}

/* ==========================================================================
Difference Section - Responsive
========================================================================== */

/* タブレット・スマホ共通（1024px以下） */
@media (max-width: 1024px) {
    .header-badge {
        font-size: 20px;
    }
    .difference-title {
        font-size: 32px;
    }
    .difference-lead {
        font-size: 18px;
    }
    .method-label {
        width: 180px;
        font-size: 24px;
    }
    .method-content {
        font-size: 18px;
        padding: 20px;
    }
    .summary-text {
        font-size: 24px;
    }
    .btn-dark-brown {
        font-size: 20px;
    }
}

/* スマホ用（768px以下） */
@media (max-width: 768px) {
    .difference {
        padding: 40px 20px 60px;
    }

    /* 左右余白なしの設定 */
    .difference-inner {
        max-width: 100%;
        padding: 0;
    }

    .difference-header {
        padding: 0 15px;
    }

    .header-badge {
        font-size: 16px;
        padding: 5px 15px;
    }

    .difference-title {
        font-size: 24px;
    }

    .difference-lead {
        font-size: 16px;
        line-height: 1.5;
    }

    /* 比較カードを縦並びに（エッジ・トゥ・エッジ） */
    .difference-methods {
        max-width: 100%;
        gap: 15px;
    }

    .method-row {
        flex-direction: column;
    }

    .method-label {
        width: 100%;
        padding: 10px;
        font-size: 20px;
    }

    .method-content {
        padding: 20px 15px;
        font-size: 15px;
        line-height: 1.6;
    }

    .difference-arrow img {
        width: 50px;
    }

    /* まとめボックス（エッジ・トゥ・エッジ） */
    .summary-box {
        border-radius: 0;
        padding: 50px 15px 100px;
    }

    .illust-lightbulb {
        width: 60px;
        top: -25px;
        left: 15px;
    }

    .illust-woman {
        width: 120px;
        right: 0;
    }

    .summary-text {
        font-size: 19px;
        line-height: 1.5;
        text-align: left;
    }

    .summary-text br {
        display: none; /* スマホでは自動改行に任せる */
    }

    /* フッターテキスト */
    .difference-footer-text {
        padding: 0 15px;
        font-size: 15px;
        line-height: 1.6;
        margin-top: 20px;
        margin-bottom: 10px;
    }

    /* ボタン */
    .difference-btn-wrap {
        padding: 0 15px;
    }

    .btn-dark-brown {
        height: 55px;
        font-size: 18px;
        margin-top: 30px;
    }
}

/* 480px以下 */
@media (max-width: 480px) {
    .difference-title {
        font-size: 20px;
    }
    .summary-text {
        font-size: 17px;
    }
}
/* ==========================================================================
Market Stats Section - Responsive
========================================================================== */

/* タブレット・スマホ共通（1024px以下） */
@media (max-width: 1024px) {
    .market-stats {
        padding: 60px 0;
    }

    .market-stats-title .title-text {
        font-size: 32px;
    }

    .birds-img {
        width: 150px;
        top: -60px;
        left: 10%;
    }

    /* タブレットでは2列にする */
    .row-3, .row-4 {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .market-card .card-header {
        font-size: 18px;
    }

    .market-card .value .num {
        font-size: 28px;
    }

    .btn-large-orange {
        font-size: 20px;
    }
}

/* スマホ用（768px以下） */
@media (max-width: 768px) {
    .market-stats {
        padding: 40px 0;
    }
    .market-group{
        margin-bottom: 20px;
    }

    /* 左右余白なしの設定 */
    .market-stats-inner {
        max-width: 100%;
        padding: 0 20px;
    }

    .market-stats-title {
        padding: 0 15px;
        margin-bottom: 50px;
    }

    .market-stats-title .title-text {
        font-size: 24px;
    }

    .birds-img {
        width: 100px;
        top: -40px;
        left: 5%;
    }

    /* カードを1列にする（エッジ・トゥ・エッジ） */
    .market-row {
        grid-template-columns: 1fr;
        gap: 15px; /* カード同士の間に少し隙間 */
    }


    .market-card .card-header {
        font-size: 17px;
        padding: 12px;
    }

    .market-card .value {
        font-size: 20px;
    }

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

    .market-card .caption {
        font-size: 16px;
    }

    /* 注釈 */
    .market-notes {
        padding: 0;
        text-align: left;
        font-size: 12px;
        margin-top: 0px;
    }

    /* 下部ボタン */
    .market-btn-wrap {
        margin-top: 40px;
        padding: 0 15px;
    }

    .btn-large-orange {
        font-size: 16px;
        line-height: 1.4;
        padding: 15px;
        border-radius: 10px; /* スマホでは少し角を立たせると収まりが良い */
    }
}

/* 480px以下 */
@media (max-width: 480px) {
    .market-stats-title .title-text {
        font-size: 20px;
    }
}
/* ==========================================================================
Recent Posts Section
========================================================================== */
.section-recent-posts {
    background-color: #fff;
    padding-bottom: 80px;
    max-width: 1270px;
    margin: 0 auto;
}

.recent-posts-header {
    text-align: center;
    margin-bottom: 60px;
}

.recent-posts-title {
    font-size: 48px;
    font-weight: bold;
    margin: 0;
}

/* 記事カード全体を包むインナー（ここで左右余白を制御） */
.recent-posts-inner {
    padding: 0 20px; /* PC時も安全のために20px確保 */
}

.recent-posts-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* PCは4列 */
    gap: 16px;
}

.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: 30px;
}
.article-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-title {
    font-size: 16px;
    font-weight: bold;
    line-height: 1.5;
    color: #333;
}

/* ==========================================================================
新着記事
========================================================================== */

/* タブレットサイズ（1024px以下） */
@media (max-width: 1024px) {
    .recent-posts-header {
        margin-bottom: 40px;
    }
    .recent-posts-title {
        font-size: 32px;
    }
    .recent-posts-container {
        grid-template-columns: repeat(2, 1fr); /* 2列に変更 */
        gap: 20px;
    }
}

/* スマホサイズ（767px以下） */
@media (max-width: 767px) {
    .section-recent-posts {
        padding-bottom: 50px;
    }
    .recent-posts-inner {
        padding: 0 20px; /* ご要望の左右余白20px */
    }
    .recent-posts-title {
        font-size: 28px;
    }
    .recent-posts-container {
        grid-template-columns: 1fr; /* 1列に変更 */
        gap: 30px; /* 縦の並びを少しゆったりさせる */
    }
    .article-thumbnail {
        margin-bottom: 15px; /* サムネイルとタイトルの隙間を少し詰める */
    }
}
/* ==========================================================================
FAQ Section
========================================================================== */
.faq {
    background-color: #79BCC2;
    padding: 146px 0 118px;
}

.faq-inner {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px; /* 左右20pxの余白を確保 */
}

/* 既存のスタイル ... (中略) ... */

/* ==========================================================================
レスポンシブ設定
========================================================================== */

/* タブレットサイズ（1024px以下） */
@media (max-width: 1024px) {
    .faq {
        padding: 80px 0;
    }
    .faq-header {
        margin-bottom: 60px;
    }
    .faq-title {
        font-size: 40px;
    }
    .faq-sub {
        font-size: 24px;
    }
    .faq-q, .a-inner {
        padding-left: 40px;
        padding-right: 40px;
    }
    .q-prefix, .a-prefix {
        margin-right: 30px;
    }
}

/* スマホサイズ（767px以下） */
@media (max-width: 767px) {
    .faq {
        padding: 60px 0;
    }
    .faq-inner {
        padding: 0 20px;
    }
    .faq-header {
        margin-bottom: 40px;
    }
    .faq-title {
        font-size: 28px;
    }
    .faq-sub {
        font-size: 18px;
    }

    /* 質問項目カード */
    .faq-item {
        border-radius: 20px;
        margin-bottom: 20px;
    }

    /* 質問部分 */
    .faq-q {
        padding: 25px 45px 25px 20px;
        align-items: flex-start;
    }
    .q-prefix {
        font-size: 24px;
        margin-right: 15px; /* Qとテキストの距離を縮める */
    }
    .q-text {
        font-size: 16px;
        padding-right: 10px;
    }
    .faq-icon {
        right: 20px; /* アイコンの位置調整 */
    }

    /* 回答部分 */
    .a-inner {
        padding: 0 20px 25px;
        align-items: flex-start;
    }
    .a-prefix {
        font-size: 24px;
        margin-right: 15px;
    }
    .a-text {
        font-size: 15px;
        line-height: 1.6;
    }

    /* 点線の位置調整 */
    .a-inner::before {
        left: 20px;
        right: 20px;
        top: -10px;
    }
}

/* 非常に小さい画面（480px以下） */
@media (max-width: 480px) {
    .q-prefix, .a-prefix {
        font-size: 20px;
        margin-right: 10px;
    }
    .q-text, .a-text {
        font-size: 14px;
    }
}

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

.company-list-container {
    max-width: 1360px;
    margin: 0 auto;
    padding: 0 20px; /* ここで左右20pxの余白を確保 */
}

/* 既存のスタイル ... (中略) ... */

/* ==========================================================================
レスポンシブ設定
========================================================================== */

/* タブレットサイズ（1024px以下） */
@media (max-width: 1024px) {
    .company-list-section {
        padding: 100px 0 50px;
    }
    .company-list-grid {
        grid-template-columns: repeat(2, 1fr); /* 2列に変更 */
        gap: 25px;
    }
    .company-list-title {
        font-size: 32px;
    }
    .company-list-title .title-sub {
        font-size: 24px;
    }
}

/* スマホサイズ（767px以下） */
@media (max-width: 767px) {
    .company-list-section {
        padding: 60px 0 40px;
    }

    .company-list-container {
        padding: 0 20px; /* ご要望の左右20px余白 */
    }

    .section-title-wrapper {
        margin-bottom: 40px;
    }

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

    .company-list-title .title-sub {
        font-size: 16px;
        margin-bottom: 0;
    }

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

    /* カードタイトルの調整 */
    .company-card .card-header {
        padding: 20px 15px;
        min-height: 70px;
    }

    .company-card .card-title {
        font-size: 18px;
    }

    /* カード内部テキストの調整 */
    .company-card .card-body {
        padding: 20px 15px;
    }

    .info-group {
        margin-bottom: 20px;
    }

    .info-label {
        font-size: 15px;
        margin-bottom: 5px;
    }

    .info-value {
        font-size: 15px;
    }

    /* 地図の高さ調整 */
    .company-map iframe {
        height: 150px;
    }

    /* 詳細ボタンの調整 */
    .company-info-btn {
        width: 100%; /* スマホでは幅いっぱいに */
        font-size: 15px;
        padding: 15px 0;
    }

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

/* 480px以下の極小画面 */
@media (max-width: 480px) {
    .company-list-title {
        font-size: 20px;
    }
    .company-list-title .title-sub {
        font-size: 14px;
    }
}

/* ==========================================================================
Footer
========================================================================== */
.site-footer {
    margin-top: 0;
}

.footer-top-wrapper {
    background: url(../images/bg_footer.webp) no-repeat;
    background-size: cover;
    padding: 165px 0 84px;
}

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

/* 既存のスタイル ... (中略) ... */

/* ==========================================================================
レスポンシブ設定
========================================================================== */

/* タブレット・スマホ共通（1024px以下） */
@media (max-width: 1024px) {
    .footer-top-wrapper {
        padding: 80px 0 60px; /* 上下の大きな余白を縮小 */
    }

    .footer-top-container {
        flex-direction: column; /* 縦並びに変更 */
        align-items: center;
        gap: 40px; /* コラム間の隙間 */
        padding-top: 0;
    }

    .footer-column {
        width: 100%;
        max-width: 600px; /* 広がりすぎないように制限 */
    }

    .footer-disclaimer {
        font-size: 18px; /* 24pxから縮小 */
        padding: 0 20px;
    }
}

/* スマホサイズ（767px以下） */
@media (max-width: 767px) {
    .footer-top-wrapper {
        padding: 60px 0 40px;
    }

    /* 左右20pxの余白を確保 */
    .footer-top-container {
        padding: 0 20px 40px;
    }

    .footer-column {
        width: 100%;
    }

    .footer-section-title {
        font-size: 18px;
        text-align: center; /* スマホではタイトルを中央に */
    }

    .footer-article-list a, 
    .footer-company-links a {
        font-size: 15px;
    }

    /* 免責事項 */
    .footer-disclaimer {
        font-size: 14px; /* スマホに適したサイズ */
        line-height: 1.6;
        padding: 0 20px;
    }

    /* 下部ナビゲーションとコピーライト */
    .footer-container {
        padding: 30px 20px;
    }

    .footer-menu {
        flex-direction: column; /* メニューが横並びの場合は縦にする */
        align-items: center;
        gap: 15px;
        padding: 0;
        margin-bottom: 20px;
    }

    .footer-menu li {
        margin: 0;
        font-size: 14px;
    }

    .copyright {
        font-size: 12px;
        text-align: center;
    }
}

/* 480px以下 */
@media (max-width: 480px) {
    .footer-section-content {
        padding: 15px; /* 白い箱の中の余白を少し詰める */
    }
    
    .footer-article-list, 
    .footer-company-links {
        gap: 15px; /* リストの間隔を少し詰める */
    }
}



/* ==========================================================================
   Area Column Responsive
   ========================================================================== */

@media (max-width: 1024px) {
    .area-column-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .related-articles-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .area-column-content-wrapper {
        flex-direction: column;
        gap: 30px;
    }

    .area-column-sidebar {
        width: 100%;
        max-width: 100%;
    }

    .area-column-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .article-header .article-title {
        font-size: 22px;
        display: block;
        overflow: visible;
    }

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

    .article-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .article-content h2 {
        font-size: 20px;
    }

    .article-content h3 {
        font-size: 18px;
    }

    .related-articles-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .related-articles-title {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .breadcrumb-nav {
        font-size: 12px;
        padding: 15px 0;
    }

    .breadcrumb-separator {
        margin: 0 5px;
    }

    .article-header .article-title {
        font-size: 20px;
        display: block;
        overflow: visible;
    }

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

    .article-category-tag {
        font-size: 12px;
        padding: 5px 12px;
    }

    .article-dates {
        font-size: 12px;
    }

    .area-column-card-title {
        font-size: 14px;
    }

    .area-column-card-date {
        font-size: 12px;
    }
}
/* Small Mobile (max-width: 480px) */
@media (max-width: 480px){
    .top-bar-text {
        font-size: 11px;
    }
    /* Hero Section */
    .index-title {
        font-size: 24px;
    }

    .index-item span:not(.index-square):not(.index-arrow) {
        font-size: 15px;
    }

    .recommended-companies .section-header {
        margin-bottom: 10px;
    }

    /* FAQ Section Responsive */
    .faq-section{
        margin-bottom: 30px;
    }
    .faq-container {
        padding: 25px 20px;
    }
    .faq-container::before{
        right: -4px;
        bottom: -8px;
    }

    .faq-title {
        font-size: 22px;
    }

    faq-title-blue{
        font-size: 1.2em;
    }

    .faq-title-text {
        font-size: 20px;
    }

    .faq-line-icon {
        width: 25px;
        top: -10px;
        right: -22px;
    }

    .faq-item {
        padding: 0;
        width: 100%;
    }

    .faq-question {
        gap: 10px;
    }

    .faq-q-icon {
        width: 26px;
        height: 26px;
        font-size: 14px;
    }

    .faq-q-text {
        font-size: 15px;
        max-width: 70%;
    }

    /* 会社一覧セクション */
    .company-list-btn {
        padding: 12px 14px;
        min-height: 55px;
    }

    .company-list-btn .btn-text {
        font-size: 14px;
    }

    .company-list-btn .btn-text-line2 {
        font-size: 13px;
    }

    /* 追従 */
    .fixed-right-elements {
        bottom: 15px;
        right: 10px;
        gap: 10px;
    }

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

    .scroll-to-top-btn .top-text {
        font-size: 8px;
    }

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

    .fixed-banner {
        width: auto;
        height: auto;
        max-width: 340px;
    }

    .close-banner-btn {
        width: 20px;
        height: 20px;
        top: -6px;
        right: -6px;
    }

    .close-banner-btn svg {
        width: 8px;
        height: 8px;
    }
    /* Privacy Policy Page Responsive */
    .company-btn{
        font-size: 16px !important;
    }
    .policy-page-title {
        font-size: 20px;
        padding: 12px 15px;
    }

    .policy-intro {
        padding: 15px;
        margin-bottom: 30px;
    }

    .policy-intro p {
        font-size: 13px;
    }

    .policy-section {
        margin-bottom: 20px;
        padding-bottom: 20px;
    }

    .policy-section-title {
        font-size: 16px;
        padding-left: 10px;
        margin-bottom: 15px;
    }

    .policy-section-content {
        padding-left: 0;
    }

    .policy-section-content p {
        font-size: 13px;
    }

    .policy-subsection-title {
        font-size: 14px;
        padding: 6px 10px;
    }

    .policy-footer {
        margin-top: 30px;
        padding-top: 15px;
        text-align: center;
    }

    .policy-updated {
        font-size: 12px;
    }

    /* Site Map Page Responsive */
    .sitemap-article {
        padding: 20px 15px;
    }

    .sitemap-page-title {
        font-size: 20px;
    }

    .sitemap-section {
        margin-bottom: 20px;
        padding-bottom: 20px;
    }

    .sitemap-section-title {
        font-size: 16px;
        padding-left: 10px;
        margin-bottom: 15px;
    }

    .sitemap-list li {
        padding: 8px 0;
        padding-left: 16px;
    }

    .sitemap-list li::before {
        width: 6px;
        height: 6px;
    }

    .sitemap-list li a {
        font-size: 13px;
    }
}
