/* ==========================================================================
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: #081E63 !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: #081E63;
        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: #081E63;
        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: #081E63;
        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;
    }
}

/* --- ボタンのレスポンシブ --- */
@media screen and (max-width: 767px) {
    .btn, .btn.--wide {
        width: 100%;
        max-width: 400px;
        font-size: 15px;
        height: 60px;
    }
}

@media screen and (max-width: 768px) {
    /* ==========================================================================
       First View (FV) - 375px Base Responsive
       375pxのカンプ数値を基準に調整
       ========================================================================== */
    
    .fv-section {
        margin-top: 60px; /* スマホ時のヘッダー高さ等に合わせて調整 */
        width: 100vw;
        height: auto;
        aspect-ratio: auto; /* スマホではコンテンツに合わせて高さを可変に */
        padding: 40px 16px;
    }

    .fv-inner {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    /* コンテンツ位置調整（スマホは縦並び） */
    .fv-content {
        flex-direction: column;
        align-items: center;
        height: auto;
        padding-top: 0;
        width: 100%;
        text-align: center;
    }

    /* 吹き出し */
    .fv-bubble {
        width: 35vw; /* 375pxベースで調整 */
        margin-bottom: 15px;
    }

    /* コピー全体 */
    .fv-copy {
        width: 100%;
        height: auto;
    }

    .fv-copy-01 {
        font-size: 4.2vw; /* 例: 375pxカンプで約16px相当 */
        margin-bottom: 2vw;
        padding-left: 0;
    }

    .fv-copy-02 {
        font-size: 5.3vw; /* 例: 375pxカンプで約20px相当 */
        padding-left: 0;
        margin: 3vw 0;
        display: block;
    }

    /* スマホで背景吹き出し画像の位置・サイズを調整、または非表示 */
    .fv-copy-02::before {
        width: 52vw;
        height: 13vw;
        left: 50%;
        transform: translateX(-50%);
        top: -2vw;
    }

    .fv-main-copy {
        font-size: 8.0vw; /* 例: 375pxカンプで約30px相当 */
        padding-left: 0;
        line-height: 1.3;
    }

    .fv-copy-03 {
        font-size: 3.7vw;
        margin-top: 4vw;
    }
    
    .fv-copy-03 .txt-large {
        font-size: 1.5em;
    }

    /* メイン画像（スマホ時は通常フローに配置） */
    .fv-img {
        position: relative;
        width: 90vw;
        top: auto;
        right: auto;
        transform: none;
        margin: 30px auto 20px;
    }

    /* 下部の浮遊CTA（スマホ時は通常のブロック配置にする場合） */
    .fv-cta {
        position: relative;
        bottom: auto;
        left: auto;
        transform: none !important;
        width: 100%;
        max-width: 340px;
        margin: 20px auto 0;
        opacity: 1; /* スマホでは最初から表示 */
        transition: none;
    }
}

/* ==========================================================================
   INDEX Section - Responsive (スマホ向け)
   ========================================================================== */
@media screen and (max-width: 768px) {
    .content-index {
        padding: 0 15px;
    }

    /* グリッドを1列にして縦に6つ並べる */
    .index-grid-container {
        grid-template-columns: 1fr;
    }

    .index-grid-item {
        /* スマホでは横並び（左にテキスト、右に矢印）に調整 */
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        text-align: left;
        padding: 18px 20px;
        min-height: auto;
        /* 右線をなくし、下線に変更 */
        border-right: none;
        border-bottom: 1px solid #000;
    }

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

    .index-grid-text {
        font-size: 15px;
    }

    /* 四角形装飾（index-square）は削除 */
    .index-square {
        display: none;
    }

    /* 代わりに右側に矢印を配置 */
    .index-grid-item::after {
        content: "→";
        font-size: 16px;
        font-weight: bold;
        color: #081E63;
        transition: transform 0.3s ease;
    }

    /* スマホでのホバー時（またはタップ時）の矢印の動き */
    .index-grid-item:hover::after {
        transform: translateX(4px);
    }
}

@media screen and (max-width: 768px) {
    .section-title {
        font-size: 24px; /* スマホで見やすい大きさに縮小 (24px〜26px程度) */
        line-height: 1.4;
    }

    .section-title-en {
        font-size: 11px;
        margin-bottom: 12px;
        /* アイコンが画面の左端からはみ出さないよう、左側に余白を確保 */
        padding-left: 30px; 
    }

    .section-title-en::before {
        width: 24px;  /* スマホに合わせてアイコンを少し小さく調整 */
        height: 22px;
        left: 0;      /* 確保した padding-left の位置にきれいに収める */
    }
}

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

/* タブレット・スマホ共通 */
@media screen and (max-width: 1024px) {
    .comparison-inner {
        max-width: 100%;
        padding: 0; /* 左右の余白はscroll-wrapperのpaddingで管理 */
    }

    /* ヘッダー周りの調整 */
    .comparison-sub-title {
        font-size: 20px;
        padding: 0 20px;
    }
    .comparison-main-title {
        font-size: 28px;
        padding: 0 20px;
    }
    
    /* タイトル横のライン（335px固定だとスマホからはみ出るため縮小） */
    .title-line-decor {
        width: 15vw; /* 画面幅に合わせて伸縮 */
        min-width: 40px;
    }
    .title-line-decor img {
        width: 100%;
        height: auto;
    }

    /* --- スクロールエリアの挙動強化 --- */
    .comparison-scroll-wrapper {
        margin: 0;
        padding: 20px 20px 40px; /* 下に余白を設けてスクロールしやすく */
        /* スムーズなスクロール体験を強制 */
        scroll-snap-type: x mandatory; 
    }

    .comparison-cards-container {
        margin: 0;
        gap: 15px; /* スマホでは少し詰める */
        padding-right: 20px; /* 最後のカードの右側に余白を確保 */
    }

    /* カードの横幅調整 */
    .comparison-company-card {
        width: 340px; /* スマホ画面に収まりつつ次が見えるサイズ */
        flex-shrink: 0; /* 潰れないように固定 */
        scroll-snap-align: center; /* スクロールが止まったときに中央に来る */
        border-radius: 20px;
    }

    /* カード内部のサイズ微調整 */
    .comparison-card-intro-box {
        font-size: 18px;
        min-height: 110px;
    }
    .comparison-card-header {
        min-height: 100px;
    }
    .comparison-card-company-name {
        font-size: 24px;
    }
    
    /* 坪単価ボックスのスマホサイズ */
    .price-box {
        width: 90%;
        margin: 25px auto;
    }
    .price-label {
        font-size: 14px;
        padding: 15px 10px;
    }
    .price-value {
        font-size: 14px;
    }
    .price-value .num {
        font-size: 24px;
    }
}

/* 小さいスマホ用調整 */
@media screen and (max-width: 375px) {
    
    .comparison-main-title {
        font-size: 22px;
    }
}
@media screen and (max-width: 768px) {
    /* ==========================================================================
       Guide Section - Responsive (スマホ向け)
       ========================================================================== */

    .guide-section {
        padding: 60px 16px 50px;
    }

    /* 1. dotの画像は非表示 */
    .guide-section::before {
        display: none;
    }

    /* 2. title-deco-slashをposition: absoluteに変更し、必要に応じて位置調整 */
    .title-deco-slash {
        width: 20px;
    }

    /* リスト項目全体を縦並びに変更 */
    .guide-list {
        gap: 50px;
    }

    .guide-item {
        flex-direction: column;
        gap: 24px;
        padding-top: 50px;
    }

    /* メディアカラム（画像側）の幅を100%に */
    .guide-media-col {
        width: 100%;
    }

    /* 番号と円の画像の位置調整 */
    .guide-num-image {
        top: -40px;
        left: -10px;
        width: 65px;
        height: 65px;
    }

    /* 画像ボックスのパディングをスマホ用に調整 */
    .guide-image-box {
        padding-left: 40px;
    }

    /* テキストカラムの調整 */
    .guide-item-title {
        font-size: 18px;
        margin-bottom: 10px;
    }

    .guide-item-text {
        font-size: 14px;
        line-height: 1.7;
    }
}

@media screen and (max-width: 768px) {
    /* ==========================================================================
       Introduction & Company Intro Section - Responsive (スマホ向け)
       ========================================================================== */

    .introduction-section {
        padding: 60px 16px 40px;
    }

    /* スマホでは不要な背景装飾や疑似要素を非表示・調整 */
    .introduction-section::before {
        display: none;
    }

    .introduction-section::after {
        display: none;
    }

    .introduction-inner {
        padding: 0;
    }

    /* --- Company Intro セクションのスマホ対応 --- */
    .company-intro-container {
        display: flex;
        flex-direction: column;
        gap: 30px;
    }

    /* ネイビーのカード本体をスマホ幅に合わせる */
    .company-intro-card {
        width: 100%;
        height: auto;
        padding: 40px 20px;
    }

    .company-number {
        font-size: 11px;
        margin-bottom: 16px;
    }

    .company-intro-catch {
        font-size: 18px;
        margin-bottom: 12px;
    }

    .company-intro-name {
        font-size: 26px; /* スマホで収まりが良いサイズに調整 */
        margin-bottom: 12px;
    }

    /* 透過英字（擬似要素）のサイズと位置調整 */
    .company-intro-card::after {
        font-size: 30px; /* スマホ画面に合わせて縮小 */
        bottom: -10px;
        left: 20px;
    }

    /* 右側の重なる画像エリアをスマホ用（通常のフロー）に変更 */
    .company-intro-media {
        position: relative;
        top: auto;
        right: auto;
        width: 100%;
        z-index: 2;
    }

    .company-intro-image-box {
        width: 100%;
    }

    /* 引用元 (aタグ) */
    .company-intro-source {
        text-align: right;
        margin-top: 10px;
    }

    .company-intro-source a {
        font-size: 13px;
    }
}

@media screen and (max-width: 768px) {
    /* ==========================================================================
       Strength Section - Responsive (スマホ向け)
       ========================================================================== */

    .strength-section {
        padding: 40px 16px;
    }

    .company-section-title-wrapper {
        margin-bottom: 40px;
        text-align: center;
    }

    .company-section-title {
        font-size: 22px; /* スマホで見やすいサイズに調整 */
        display: flex;
        align-items: center;
        gap: 10px;
    }
    .company-section-title::before{
        width: 28px;
        height: 28px;
    }

    /* --- カードリストのスマホ対応 --- */
    .strength-cards-wrapper {
        flex-direction: column; /* 縦並びに変更 */
        gap: 40px; /* 上部の数字（-20px）が重ならないよう間隔を確保 */
        margin-bottom: 40px;
    }

    .strength-card {
        width: 100%; /* 横幅をいっぱいに広げる */
    }

    .strength-card-inner {
        padding: 50px 20px 30px; /* スマホ用にパディングを微調整 */
    }

    /* 数字（01, 02, 03）の位置調整 */
    .strength-number {
        top: -18px;
        left: 20px;
        font-size: 40px;
    }

    /* アイコンのサイズ調整 */
    .strength-icon {
        width: 90px;
        height: 90px;
        margin: 0 auto 20px;
    }

    .strength-card-title {
        font-size: 18px;
        margin-bottom: 12px;
    }

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

    /* --- ボタンエリアのスマホ対応 --- */
    .strength-buttons-wrapper {
        flex-direction: column; /* 縦並びに変更 */
        align-items: center;
        gap: 20px;
    }
}

@media screen and (max-width: 768px) {
    /* ==========================================================================
       Works Section - Responsive (スマホ向け)
       ========================================================================== */

    .works-section {
        padding: 50px 16px 60px;
    }

    /* --- テーブルエリアのスマホ対応（横スクロール化） --- */
    .works-table-wrapper {
        margin-bottom: 40px;
        overflow-x: auto; /* テーブルが画面幅を超えた場合スクロール可能に */
        -webkit-overflow-scrolling: touch; /* iOSでのスムーズスクロール */
    }

    .works-table {
        min-width: 600px; /* テーブルの表示崩れを防ぐための最小幅 */
    }

    .works-table th {
        font-size: 11px;
        padding: 14px 10px;
    }

    .works-table td {
        font-size: 13px;
        padding: 16px 10px;
    }

    /* 注釈テキストの位置調整 */
    .works-table td .note {
        font-size: 10px;
    }

    .works-note {
        font-size: 10px;
        right: 0;
        bottom: 160px;
    }

    /* --- ボタンエリアのスマホ対応 --- */
    .works-buttons-wrapper {
        flex-direction: column; /* 縦並びに変更 */
        align-items: center;
        gap: 16px;
    }
}

@media screen and (max-width: 768px) {
    /* ==========================================================================
       Review Section - Responsive (スマホ向け)
       ========================================================================== */

    .review-section {
        background-size: cover; /* スマホ時の背景画像の引き伸ばし対策 */
        padding: 50px 16px 40px;
    }

    .review-container .company-section-title-wrapper {
        margin-bottom: 30px;
    }

    /* --- カードリストのスマホ対応 --- */
    .review-cards-wrapper {
        flex-direction: column; /* 縦並びに変更 */
        gap: 32px; /* outline-offset分の余白を意識したカード間の間隔 */
        margin-bottom: 40px;
    }

    .review-card {
        width: 100%; /* 横幅を100%に */
        padding: 20px 18px;
        /* outlineの飛び出し(5px)が左右画面端にかからないようマージン確保 */
        margin: 6px 0; 
    }

    /* ヘッダー（アバター＋タイトル） */
    .review-card-header {
        gap: 12px;
        padding-bottom: 12px;
        margin-bottom: 16px;
    }

    .review-avatar {
        width: 70px; /* スマホに合わせてアバター画像を少し小さく調整 */
        height: 70px;
    }

    .review-card-title {
        font-size: 16px;
        line-height: 1.4;
    }

    /* 本文 */
    .review-text {
        font-size: 14px;
        line-height: 1.7;
        margin-bottom: 24px;
    }

    /* --- ボタンエリアのスマホ対応 --- */
    .review-buttons-wrapper {
        flex-direction: column; /* 縦並びに変更 */
        align-items: center;
        gap: 16px;
    }
}


@media screen and (max-width: 768px) {
    /* ==========================================================================
       About Section - Responsive (スマホ向け)
       ========================================================================== */

    .about-section {
        padding: 50px 16px 60px;
    }

    .about-container .company-section-title-wrapper {
        margin-bottom: 24px;
    }

    /* --- コンテンツ全体のレイアウト（縦並びに変更） --- */
    .about-content-wrapper {
        flex-direction: column;
        gap: 30px;
        margin-bottom: 40px;
    }

    /* 左側：テーブルボックス */
    .about-table-box {
        width: 100%;
    }

    .about-table th {
        width: 110px; /* スマホ用にTH幅を調整 */
        padding: 14px 12px;
        font-size: 13px;
    }

    .about-table td {
        padding: 14px 16px;
        font-size: 13px;
    }

    /* 右側：マップボックス（iframe） */
    .about-map-box {
        width: 100%; /* 横幅いっぱいに拡大 */
        height: 250px; /* スマホで見やすい高さに指定 */
    }

    /* --- ボタンエリアのスマホ対応 --- */
    .about-buttons-wrapper {
        flex-direction: column; /* 縦並びに変更 */
        align-items: center;
        gap: 16px;
    }
}

@media screen and (max-width: 768px) {
    /* ==========================================================================
       Market Section - Responsive (スマホ向け)
       ========================================================================== */

    .market-section {
        padding: 50px 16px 60px;
    }

    /* --- 上部エリア（縦並びに変更） --- */
    .market-top-wrapper {
        flex-direction: column;
        gap: 24px;
        margin-bottom: 40px;
    }

    .market-title-area {
        width: 100%;
    }

    .market-main-title {
        font-size: 24px; /* スマホ画面に収まるよう縮小 */
    }

    .market-lead {
        font-size: 14px;
        margin-left: 0;
        margin-top: 10px;
    }

    /* 右側の街並み画像 */
    .market-hero-image {
        width: 100%;
        height: 220px; /* スマホで見やすい高さに調整 */
    }

    /* --- 下部：3つの相場カード（縦並びに変更） --- */
    .market-cards-wrapper {
        flex-direction: column;
        gap: 24px;
    }

    .market-card {
        width: 100%; /* 横幅を100%に */
    }

    /* カード上部（ヘッダー） */
    .market-card-header {
        padding: 15px 16px;
        gap: 20px;
    }

    .market-icon {
        width: 75px;
        height: 75px;
    }

    .market-category-title {
        font-size: 18px;
    }

    /* カード下部（ボディ） */
    .market-card-body {
        padding: 30px 16px 20px;
    }

    .market-price {
        font-size: 22px;
    }

    .market-price span {
        font-size: 34px; /* 金額の数字部分を調整 */
    }

    .market-price.-margin {
        margin-bottom: 25px;
    }

    .market-sub-text {
        font-size: 15px;
    }
}


/* ==========================================================================
Area features Responsive (SP)
========================================================================== */
@media screen and (max-width: 768px) {
    .area-features-section {
        padding: 40px 0 30px;
    }

    .area-features-container {
        padding: 0 15px;
    }

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

    .area-features-title-box {
        width: 100%;
        max-width: 100%;
        align-items: center; /* スマホでは中央揃えに */
        gap: 8px;
        margin-bottom: 20px;
    }

    .area-features-title {
        font-size: 24px; /* スマホに合わせて文字サイズを調整 */
        padding: 4px 8px;
        display: inline-block;
        text-align: center;
    }

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

    .area-features-title.-middle {
        font-size: 22px;
    }

    .area-features-lead {
        font-size: 14px;
        line-height: 1.7;
        text-align: left; /* リード文は読みやすいように左寄せまたは中央寄せに調整 */
    }

    /* 4つのカードグリッド（1カラムに変更） */
    .area-features-cards {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* カード単体 */
    .area-card {
        padding: 20px 15px 30px;
    }

    /* カードヘッダー */
    .area-card-header {
        flex-direction: column; /* スマホではバッジとタイトルを縦並びにする場合 */
        align-items: flex-start;
        gap: 8px;
        margin-bottom: 15px;
    }

    .area-badge {
        font-size: 16px;
        padding: 6px 12px;
    }

    .area-card-title {
        font-size: 18px;
        text-align: left;
    }

    /* カード画像 */
    .area-card-image {
        margin-bottom: 20px;
    }

    /* カード説明文 */
    .area-card-text {
        font-size: 14px;
        line-height: 1.6;
    }

    /* 右下のあしらい英字 */
    .area-card-bg-text {
        font-size: 18px;
        right: 10px;
        bottom: 5px;
    }

    /* 出典表記 */
    .area-features-source-box {
        max-width: 100%;
        text-align: left; /* スマホでは左寄せや中央寄せにすると収まりが良い場合があります */
        margin-top: 25px;
    }

    .area-features-source-text {
        font-size: 11px;
    }
}

/* ==========================================================================
Point Section - Responsive (スマホ向け)
========================================================================== */
@media screen and (max-width: 768px) {
    .point-section {
        padding: 50px 16px 100px;
        /* スマホでの縦長レイアウトに合わせて背景の切り替え位置を微調整 */
        background: linear-gradient(to bottom, #FFFFFF 50%, #6294D2 50%);
    }

    /* --- タイトル周り --- */
    .point-header {
        margin-bottom: 40px;
    }

    .point-header-sub {
        font-size: 20px;
    }

    .point-header-title {
        font-size: 22px;
        /* スマホ画面端ではみ出さないよう左右にスペースを確保 */
        padding: 0 35px; 
    }

    /* 左右のあしらいアイコンのサイズ・位置調整 */
    .title-deco-left {
        width: 32px;
        height: 18px;
        left: 0;
    }

    .title-deco-right {
        width: 32px;
        height: 18px;
        right: 0;
    }

    /* --- カードリスト --- */
    .point-cards-wrapper {
        flex-direction: column;
        gap: 32px;
    }

    .point-card {
        width: 100%;
    }

    .point-image-box {
        height: 160px; /* スマホ画面に合わせて高さを少しコンパクトに */
    }

    .point-content {
        padding: 20px 16px;
    }

    .point-title {
        font-size: 18px;
        margin-bottom: 10px;
    }

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

@media screen and (max-width: 768px) {
    /* ==========================================================================
       FAQ Section - Responsive (スマホ向け)
       ========================================================================== */

    .faq-section {
        padding: 50px 16px 40px;
    }

    .faq-list {
        gap: 12px; /* カード同士の間隔を少し詰める */
    }

    .faq-card {
        padding: 16px 16px; /* スマホ用にカードのパディングを調整 */
    }

    .faq-item {
        gap: 12px; /* Q・Aアイコンと本文の間の隙間を最適化 */
    }

    .faq-question {
        margin-bottom: 12px; /* 質問と回答の間の余白を調整 */
    }

    /* Q・A アイコンラベル */
    .faq-icon {
        font-size: 18px;
        min-width: 20px;
    }

    /* テキストサイズ調整 */
    .faq-question .faq-text {
        font-size: 16px; /* 20pxからスマホで見やすいサイズへ */
        line-height: 1.5;
    }

    .faq-answer .faq-text {
        font-size: 14px;
        line-height: 1.6;
    }
}



/* ==========================================================================
   Company List Section - Responsive
   ========================================================================== */

/* タブレットサイズ（1024px以下）: 2カラムに変更 */
@media (max-width: 1024px) {
    .company-list-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

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

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

    .company-list-title {
        font-size: 26px; /* タイトルサイズを調整 */
    }

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

    /* カードデザインの微調整 */
    .company-card {
        border-radius: 30px; /* 角丸を少し小さく */
        width: 100%;
    }

    .company-card .card-header {
        min-height: 80px;
        padding: 15px 10px;
    }

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

    /* 特徴ボックス */
    .feature-box {
        min-height: auto;
        padding: 15px;
    }

    .feature-box p {
        font-size: 16px;
    }

    /* 情報エリア */
    .info-label {
        font-size: 17px;
        padding-left: 5px;
    }

    .info-label::after {
        width: 80px; /* 下線の太い部分も短く調整 */
    }

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

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

    /* もっと見るボタンの調整 */
    .more-btn-area {
        margin-top: 20px;
    }

    .btn-more-gold {
        width: 100%; /* スマホでは横幅いっぱいに */
        max-width: 340px;
        padding: 16px 20px; /* 左右の大きなパディング(100px)を解除 */
        font-size: 18px;
        box-sizing: border-box;
        justify-content: center; /* テキストを中央に */
    }

    .btn-more-gold .btn-icon {
        width: 30px;
        right: 15px; /* アイコンの位置を調整 */
    }
}

/* 小さなスマホ（375px以下）向け */
@media (max-width: 375px) {
    .company-card .card-title {
        font-size: 20px;
    }
    .info-label {
        font-size: 16px;
    }
    .info-value {
        font-size: 15px;
    }
}
@media screen and (max-width: 768px) {
    /* ==========================================================================
       Footer Pre-CTA Section - Responsive (スマホ向け)
       ========================================================================== */

    .footer-cta-section {
        background-size: 100px; /* 右上のドット背景をスマホ用に縮小 */
    }

    .footer-cta-container {
        padding: 50px 16px 60px;
    }

    .footer-cta-content {
        flex-direction: column; /* 縦並びに変更 */
        align-items: center;
        text-align: center;
        gap: 28px;
    }

    .footer-cta-title {
        font-size: 24px; /* スマホ画面に収まる大きさに縮小 */
        line-height: 1.4;
        text-align: left;
        margin-left: 12px;
        margin-right: auto;
    }

    .footer-cta-btn-wrap {
        width: 100%;
        justify-content: center;
    }

    .footer-cta-button {
        width: 100%;
        max-width: 320px; /* ボタンの最大幅を指定して押しやすく */
        justify-content: center;
        padding: 15px 20px;
        font-size: 14px;
        gap: 12px;
    }

    /* 背景の英語の透かし文字（FIND YOUR PARTNER） */
    .footer-cta-bg-text {
        font-size: 28px; /* スマホ用に大きく縮小 */
        bottom: 15px;
        left: 10px;
        white-space: nowrap;
    }
}

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

/* タブレットサイズ (1024px以下) */
@media screen and (max-width: 1100px) {
    .footer-top-container {
        padding: 60px 40px;
        gap: 40px;
    }
    .footer-column {
        width: 48%; /* 横並び維持しつつ幅調整 */
    }
    .footer-dark-inner {
        padding: 0 40px;
    }
}

/* スマホサイズ (767px以下) */
@media screen and (max-width: 767px) {
    /* 1. フッタートップ（記事・会社一覧） */
    .footer-top-container {
        flex-direction: column; /* 縦並び */
        padding: 40px 20px;
        gap: 30px;
    }

    .footer-column {
        width: 100%; /* 全幅 */
    }

    .footer-section-title {
        font-size: 18px;
        text-align: center;
    }

    .footer-section-content {
        padding: 15px;
    }

    .footer-article-list, 
    .footer-company-links {
        gap: 15px;
    }

    .footer-article-list a, 
    .footer-company-links a {
        font-size: 14px; /* スマホで読みやすいサイズに調整 */
    }

    /* 2. 免責事項（24pxはスマホでは大きすぎるため調整） */
    .footer-disclaimer {
        font-size: 16px; /* 視認性を保ちつつダウン */
        padding: 0 20px 40px;
        line-height: 1.6;
        text-align: left; /* スマホでは左寄せの方が読みやすい */
    }

    /* 3. ダークセクション（メニュー・コピーライト） */
    .footer-dark-section {
        padding: 40px 0 60px;
        background-size: cover; /* 背景画像をスマホにフィットさせる */
    }

    .footer-navigation ul {
        flex-wrap: wrap; /* 折り返しを許可 */
        gap: 10px 20px;
        justify-content: center;
    }

    .footer-navigation ul li a {
        font-size: 15px; /* メニュー文字をスマホサイズに */
    }

    /* 4. 境界線とコピーライト */
    .footer-separator {
        margin-bottom: 40px; /* 130pxから大幅に縮小 */
    }

    .copyright {
        text-align: center; /* スマホでは中央寄せが定石 */
        font-size: 10px;
        line-height: 1.6;
        padding: 0 10px;
    }
}

/* 超小型スマホ用 (375px以下) */
@media screen and (max-width: 375px) {
    .footer-navigation ul {
        flex-direction: column; /* メニューを完全に縦に並べる */
        align-items: center;
        gap: 12px;
    }
    .footer-disclaimer {
        font-size: 14px;
    }
}







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