/* ==========================================================================
Responsive Styles
========================================================================== */
@media (max-width: 1199px){
	main{
		width: 100%;
    }
}



/* 業者一覧セクション レスポンシブ */
@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;
        box-shadow: 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: #233746 !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: #233746;
        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: #233746;
        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: #233746;
        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;
    }
    .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;
    }

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


/* ==========================================================================
   FV Section - Responsive VW Layout
   ========================================================================== */

.fv {
    width: 100%;
    /* PC基準 1350 / 737 */
    aspect-ratio: 1350 / 737;
    background: url(../images/mv.webp) no-repeat center center;
    background-size: cover;
    position: relative;
    overflow: hidden;
    color: #fff;
}

.fv__inner {
    width: 100%;
    height: 100%;
    position: relative;
}

/* コンテンツ配置：PC 1350px基準 */
.fv__content {
    position: absolute;
    top: 7.11vw; /* 96px */
    left: 6.4vw;  /* 86.4px */
    text-align: left;
    z-index: 5;
}

.fv__sub-text {
    font-family: var(--font-en-serif);
    font-weight: 700;
    margin: 0;
    font-size: 1.78vw; /* 24px */
    line-height: 1;
    color: #233746;
}

.fv__main-title {
    font-size: 4.7vw; /* 63.5px */
    line-height: 1.2;
    font-weight: 700;
    font-family: var(--font-serif);
    color: #ffffff;
    margin: 0.5vw 0 1.2vw;
}

.fv__lead {
    font-size: 1.33vw; /* 18px */
    margin-bottom: 1.48vw; /* 20px */
    font-weight: 400;
}

.fv__cta img {
    width: 20.96vw; /* 283px */
    margin-left: 3.48vw; /* 47px */
    margin-bottom: 2.59vw; /* 35px */
    display: block;
    transition: opacity 0.3s;
}

.fv__cta:hover {
    opacity: 0.8;
}

.fv__text {
    font-size: 1.33vw; /* 18px */
    max-width: 68.22vw; /* 921px */
    line-height: 1.6;
}

/* ==========================================================================
   Responsive - SP (under 768px)
   375px基準でのvw再計算
   ========================================================================== */

@media screen and (max-width: 768px) {
    .fv {
        /* スマホ用のアスペクト比に変更（画像が潰れないよう縦に広げる） */
        aspect-ratio: 375 / 600;
        /* 背景の位置を微調整（人物などが中心に来るように） */
        background-position: center center;
    }

    .fv__content {
        top: 16vw;    /* 60px */
        left: 6.4vw;  /* 24px */
        width: 87.2vw; /* 327px */
    }

    .fv__sub-text {
        font-size: 3.73vw; /* 14px */
    }

    .fv__main-title {
        font-size: 6.53vw; /* 32px */
        margin: 2vw 0 4vw;
    }

    .fv__lead {
        font-size: 3.73vw; /* 14px */
        margin-bottom: 5.33vw; /* 20px */
    }

    .fv__cta img {
        width: 60vw;    /* 225px */
        margin-left: 0; /* スマホでは左揃え */
        margin-bottom: 6.67vw; /* 25px */
    }

    .fv__text {
        font-size: 3.47vw; /* 13px */
        max-width: 100%;
        line-height: 1.5;
    }
}


/* ==========================================================================
   fv-index
   ========================================================================== */

@media screen and (max-width: 1024px) {
    .fv-index__link {
        font-size: 14px;
    }
}

@media screen and (max-width: 767px) {
    .fv-index {
        /* モバイルでは横スクロールさせるか、中央寄せで折り返す */
        padding: 15px 10px;
    }
    .fv-index__inner {
        gap: 0 8px;
    }
    .fv-index__link {
        font-size: 12px;
        letter-spacing: 0;
    }
    .fv-index__link:not(:last-child)::after {
        margin-left: 8px;
    }
}

/* ==========================================================================
index
   ========================================================================== */

@media screen and (max-width: 1024px) {
    .nav-index__list {
        flex-wrap: wrap;
        gap: 10px;
    }
    /* スマホ・タブレット時は固定幅を解除して柔軟にする（または2カラムにする） */
    .nav-index__item:nth-child(n) {
        width: calc(50% - 5px);
    }
}

@media screen and (max-width: 500px) {
    .nav-index__item:nth-child(n) {
        width: 100%;
    }
}


/* ==========================================================================
   POINT Section - Responsive
   ========================================================================== */

/* タブレット / 小型PC (1024px以下) */
@media screen and (max-width: 1024px) {
    .point {
        padding: 80px 0;
    }

    .point__title {
        font-size: 28px;
        margin-bottom: 50px;
    }

    .point__summary-flex {
        gap: 40px;
        padding: 0 20px;
    }

    .point__summary-image {
        flex: 0 0 280px;
    }
}

/* タブレット / スマートフォン縦 (768px以下) */
@media screen and (max-width: 768px) {
    .point {
        padding: 60px 0;
    }

    .point__inner {
        padding: 0 20px;
    }

    /* グリッドを1カラムに */
    .point__grid {
        grid-template-columns: 1fr;
        gap: 40px; /* 数字の飛び出しを考慮して少し広めに */
    }

    .point__item--full {
        grid-column: auto;
    }

    /* 数字のサイズ調整 */
    .point__num {
        font-size: 72px;
        top: -12px;
        left: 15px;
    }

    /* 中身のレイアウトを縦並びに */
    .point__flex {
        flex-direction: column;
        align-items: center;
        text-align: center;
        margin-top: 45px;
    }

    .point__image-wrap {
        flex: 0 0 auto;
        width: 140px; /* 画像を少し小ぶりに */
        margin-bottom: 15px;
    }

    .point__sub-title {
        font-size: 19px;
        display: inline-block; /* センター揃え時の下線幅調整 */
        width: 100%;
    }

    /* 05番（フルワイド）のモバイルリセット */
    .point__item--full .point__flex {
        gap: 20px;
    }

    .point__item--full .point__image-wrap {
        flex: 0 0 auto;
        width: 200px;
    }

    .point__item--full .point__text-content {
        max-width: 100%;
    }

    /* まとめボックスのモバイル調整 */
    .point__summary {
        margin-top: 40px;
        padding: 50px 30px; /* 線に被らないよう横余白を調整 */
    }

    /* 左右の線を少し外側に寄せる（画面幅を確保） */
    .point__summary::after {
        left: 10px;
        right: 10px;
    }

    .point__summary-flex {
        flex-direction: column;
        gap: 30px;
    }

    .point__summary-image {
        flex: 0 0 auto;
        width: 250px;
    }

    .point__summary-lead {
        font-size: 20px;
        text-align: center;
    }

    .point__summary-description {
        font-size: 16px;
        text-align: center;
    }
}

/* 超小型スマホ (480px以下) */
@media screen and (max-width: 480px) {
    .point__title {
        font-size: 22px;
        line-height: 1.4;
    }

    .point__num {
        font-size: 60px;
    }

    .point__description p {
        font-size: 14px;
        text-align: left; /* 本文は左寄せが読みやすい */
    }

    .point__summary {
        padding: 40px 20px;
    }

    .point__summary-lead {
        font-size: 18px;
    }
}

/* ==========================================================================
   MESSAGE Section - Responsive
   ========================================================================== */

@media screen and (max-width: 1024px) {
    .message {
        padding: 80px 0 60px;
    }

    .message__title {
        font-size: 22px;
    }
}

@media screen and (max-width: 768px) {
    .message {
        padding: 60px 0 50px;
    }

    .message__inner {
        padding: 0 25px;
    }

    .message__title {
        font-size: 20px;
        line-height: 1.5;
        margin-bottom: 30px;
    }

    .message__content p {
        font-size: 15px;
        line-height: 1.8;
        margin-bottom: 25px;
        text-align: justify;
    }

    /* PC用の改行を無効化 */
    .message__content p br {
        display: none;
    }

    .message__highlight {
        font-size: 18px !important;
        margin-top: 40px;
        line-height: 1.6;
    }
}

@media screen and (max-width: 480px) {
    .message {
        padding: 50px 0 40px;
    }

    .message__title {
        font-size: 18px;
    }

    .message__content p {
        font-size: 14px;
    }

    .message__highlight {
        font-size: 16px !important;
    }
}

/* ==========================================================================
   Section Header - Responsive
   ========================================================================== */

/* タブレット (1024px以下) */
@media screen and (max-width: 1024px) {
    .comparison__header {
        margin-bottom: 60px;
    }

    .section__header-sub {
        font-size: 36px; /* 48px -> 36px */
    }

    .comparison__title {
        font-size: 28px; /* 36px -> 28px */
    }
}

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

    /* 装飾ラインのサイズダウン */
    .section__header::before {
        top: -30px;
        width: 50px; /* 84px -> 50px */
        height: 120px; /* 202px -> 120px */
    }

    /* 英語のサブヘッダー */
    .section__header-sub {
        font-size: 28px; /* スマホで見栄えの良いサイズ */
    }

    /* 日本語のメインタイトル */
    .comparison__title {
        font-size: 20px; /* 可読性を重視 */
        letter-spacing: 0.05em;
    }

    /* セクション名などの小タイトル */
    .section__title {
        font-size: 16px;
    }

    .comparison__header-sub {
        font-size: 18px;
    }
}

/* 小型スマホ (480px以下) */
@media screen and (max-width: 480px) {
    .section__header {
        padding: 8px;
    }

    .section__header-sub {
        font-size: 24px;
    }

    .comparison__title {
        font-size: 18px;
    }
}


/* ==========================================================================
   COMPANY INTRODUCTION - Responsive
   ========================================================================== */

/* タブレット (1024px以下) */
@media screen and (max-width: 1024px) {
    .company-intro__name {
        font-size: 5.4vw; /* 画面幅に合わせて流動的に */
    }
    .company-intro__catch {
        font-size: 2.4vw;
    }
}

/* スマートフォン (767px以下) */
@media screen and (max-width: 767px) {
    .company-intro {
        padding: 40px 0;
    }

    .company-intro__inner {
        padding: 0 15px;
    }

    /* 装飾ラインのスケールダウン */
    .company-intro__line {
        width: 60px;
        height: 60px;
    }

    .company-intro__line--top {
        top: 15px;
        left: 15px;
    }

    .company-intro__line--bottom {
        bottom: 15px;
        right: 15px;
    }

    /* テキストエリアの調整 */
    .company-intro__header {
        margin-bottom: 40px;
        padding-top: 50px;
    }

    .company-intro__catch {
        font-size: 16px;
        line-height: 1.6;
        margin-bottom: 10px;
        /* PC用の長いテキストがスマホで窮屈にならないよう調整 */
        display: inline-block;
        padding: 0 10px;
    }

    .company-intro__name {
        font-size: 30px; /* スマホで1行に収まりやすいサイズ */
        margin-bottom: 15px;
        letter-spacing: 0.02em;
    }

    .company-intro__sub {
        font-size: 13px;
        line-height: 1.6;
        padding: 0 10px;
    }

    /* メイン画像エリアの調整 */
    .company-intro__visual {
        max-width: 100%;
        padding-bottom: 50px;
    }

    .company-intro__source {
        font-size: 10px;
        margin-top: 10px;
    }
}

/* 小型スマートフォン (375px以下) */
@media screen and (max-width: 375px) {
    .company-intro__name {
        font-size: 26px;
    }
    .company-intro__catch {
        font-size: 14px;
    }
}

/* ==========================================================================
   LIFE LABEL Section - Responsive
   ========================================================================== */

/* タブレットサイズ調整 */
@media screen and (max-width: 1024px) {
    .life-label {
        padding: 100px 0 0;
    }
    
    .life-label__top-flex {
        flex-direction: column;
        align-items: flex-start;
        gap: 30px;
    }

    .life-label__header-wrap {
        flex: 0 0 auto;
    }

    .life-label__card-title {
        font-size: 3.2vw; /* 画面幅に応じて調整 */
    }
}

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

    .life-label__inner {
        padding: 0 15px;
    }

    /* ヘッダーエリア：センター寄せに切り替え */
    .life-label__top-flex {
        align-items: center;
        text-align: center;
        margin-bottom: 40px;
    }

    .life-label__lead-title {
        font-size: 20px;
    }

    .life-label__lead-text {
        font-size: 14px;
        text-align: left; /* リード文は左寄せが読みやすい */
    }

    /* グリッド：1カラムに変更して画像の迫力を出す */
    .life-label__grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    /* カードデザイン調整 */
    .life-label__card {
        padding: 20px;
    }

    .life-label__card-title {
        font-size: 28px; /* スマホで見栄えの良いサイズに固定 */
        min-height: auto;
        margin-bottom: 10px;
        display: block; /* センター寄せが必要なら text-align 追加 */
    }

    /* CTAボタン：縦並びに変更 */
    .life-label__btns {
        flex-direction: column;
        gap: 15px;
        margin-top: 40px;
        align-items: center;
    }

    .life-label__btns .btn {
        width: 100%; /* 全幅ボタン */
        margin: 0;
        max-width: 100%;
    }
}

/* 小型スマホ (480px以下) */
@media screen and (max-width: 480px) {
    .life-label__card-title {
        font-size: 24px;
    }
}

/* ==========================================================================
   Dolive Section - Responsive
   ========================================================================== */

@media screen and (max-width: 1100px) {
    .dolive__top-flex {
        flex-direction: column;
        gap: 40px;
        text-align: center;
        margin-bottom: 60px;
    }

    .dolive__lead-area {
        width: 100%;
    }

    .dolive__grid {
        gap: 30px 20px;
    }

    .dolive__card-title {
        font-size: 3vw;
    }
}

@media screen and (max-width: 768px) {
    .dolive {
        padding: 80px 0 0;
    }

    .dolive__inner {
        padding: 0 15px;
    }
    .dolive__header-wrap{
        flex: unset;
    }

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

    .dolive__lead-text {
        font-size: 14px;
        text-align: left;
    }

    /* グリッドを1カラムにリセット */
    .dolive__grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 40px;
    }

    /* アシンメトリー指定の解除 */
    .dolive__card--tall {
        grid-column: auto;
        grid-row: auto;
    }

    .dolive__card:nth-child(4) {
        grid-row: auto;
        grid-column: auto;
    }

    .dolive__card:nth-child(5) {
        grid-row: auto;
        grid-column: auto;
    }

    .dolive__card-img {
        margin-bottom: 10px;
    }

    .dolive__card-title {
        font-size: 26px;
        margin-top: 0;
        text-align: left;
    }

    .dolive__btns {
        flex-direction: column;
        align-items: center;
        gap: 15px;
        margin-top: 40px;
    }

    .dolive__btns .btn {
        width: 100%;
    }
}

@media screen and (max-width: 480px) {
    .dolive__card-title {
        font-size: 22px;
    }
}

/* ==========================================================================
   yado Section - Responsive
   ========================================================================== */

@media screen and (max-width: 1100px) {
    .yado__top-flex {
        flex-direction: column;
        align-items: center;
        gap: 40px;
        text-align: center;
        margin-bottom: 60px;
    }

    .yado__header-wrap {
        flex: 0 0 auto;
    }

    .yado__caption.__bottom {
        margin-right: 0;
    }
}

@media screen and (max-width: 768px) {
    .yado {
        padding: 80px 0 0;
    }

    .yado__inner {
        padding: 0 15px;
    }

    .yado__top-flex {
        margin-bottom: 40px;
    }

    .yado__lead-title {
        font-size: 20px;
        margin-bottom: 15px;
    }

    .yado__lead-text {
        font-size: 14px;
        text-align: left;
    }

    .yado__item {
        padding: 20px 0 40px;
    }

    .yado__label-main {
        font-size: 28px;
    }

    .yado__label-sub {
        font-size: 14px;
    }

    /* 複合レイアウトのリセット */
    .yado__composite-container {
        min-height: auto;
        display: flex;
        flex-direction: column;
        gap: 15px;
    }

    .yado__img-main {
        width: 100%;
        max-width: 100%;
    }

    .yado__img-sub,
    .yado__img-sub._ismart {
        position: static;
        width: 100%;
        max-width: 250px;
        margin-left: auto;
        transform: none;
    }

    .yado__caption {
        font-size: 10px;
        margin-top: 10px;
    }

    .yado__caption.__bottom {
        margin-right: 0;
        text-align: right;
    }

    /* ボタンエリア */
    .yado__btns {
        flex-direction: column;
        align-items: center;
        gap: 15px;
        margin-top: 40px;
    }

    .yado__btns .btn {
        width: 100%;
        max-width: 100%;
        margin: 0;
    }
}

@media screen and (max-width: 480px) {
    .yado__label-group {
        margin-bottom: 20px;
    }

    .yado__label-main {
        font-size: 24px;
    }
}

/* ==========================================================================
   Design Source Section - Responsive Strategy
   ========================================================================== */

@media screen and (max-width: 1024px) {
    .design-source {
        padding: 100px 0 0;
    }
    
    .design-source__top-flex {
        flex-direction: column;
        gap: 30px;
        text-align: center;
        margin-bottom: 60px;
    }

    .design-source__header-wrap {
        flex: 0 0 auto;
    }
}

@media screen and (max-width: 768px) {
    .design-source {
        padding: 60px 0 0;
    }

    .design-source__inner {
        padding: 0 15px;
    }

    .design-source__top-flex {
        margin-bottom: 40px;
    }

    .design-source__lead-title {
        font-size: 20px;
        margin-bottom: 12px;
    }

    /* ビジュアルコンテナ：中央揃えにリセット */
    .design-source__visual-container {
        align-items: center;
        max-width: 100%;
        gap: 40px;
    }

    /* 1段目 (BLUE GRAY) の横書き化 */
    .design-source__item--top {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        width: 100%;
    }

    /* 縦書きラベルの完全リセット */
    .design-source__label-vertical {
        writing-mode: horizontal-tb !important; /* 横書きに強制 */
        transform: none !important;             /* 回転を解除 */
        font-size: 24px !important;             /* サイズ統一 */
        margin-bottom: 8px !important;
        position: static !important;            /* 絶対配置を解除 */
    }

    /* 2段目グリッド：1カラムへ */
    .design-source__bottom-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        width: 100%;
    }

    .design-source__img-box {
        width: 100%;
    }

    /* BROOKLYN HOUSE タイトルサイズ統一 */
    .design-source__item--left {
        display: flex;
        flex-direction: column-reverse; /* ラベルを画像の上にする */
    }

    .design-source__item--left .design-source__item-title {
        font-size: 24px;
        margin-bottom: 8px;
        line-height: 1.2;
    }

    /* Double Doors 配置リセット */
    .design-source__flex-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .design-source__label-wrap--right {
        order: -1; /* ラベルを画像の上にする */
    }

    /* CTAボタン：縦並び化 */
    .design-source__btns {
        flex-direction: column;
        align-items: center;
        gap: 15px;
        margin-top: 40px;
    }

    .design-source__btns .btn {
        width: 100%;
        max-width: 100%;
        margin: 0;
    }
}

/* 小型デバイス用微調整 */
@media screen and (max-width: 480px) {
    .design-source__label-vertical,
    .design-source__item--left .design-source__item-title {
        font-size: 21px !important;
    }
}

/* ==========================================================================
   BRAND FEATURES Section - Responsive
   ========================================================================== */

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

    .brand-features__inner {
        max-width: 900px;
    }

    .brand-features__insta-banner {
        height: auto; /* 固定高さを解除 */
        margin-bottom: 60px;
    }

    .brand-features__insta-banner img {
        width: 100%;
        height: auto;
    }
}

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

    .brand-features__inner {
        padding: 0 15px;
    }

    .brand-features__insta-banner {
        margin-bottom: 50px;
    }

    /* 特徴リストの調整 */
    .brand-features__list {
        gap: 40px; /* 縦積みになるため間隔を広げる */
    }

    .brand-features__item {
        flex-direction: column; /* 縦並びに切り替え */
        align-items: center;    /* 中央揃え */
        gap: 15px;              /* アイコンとタイトルの距離 */
        text-align: center;
    }

    /* アイコンのサイズ調整 */
    .brand-features__icon {
        flex: 0 0 90px; /* PCの104pxから少し縮小 */
        width: 90px;
        height: 90px;
    }

    .brand-features__text {
        padding-top: 0; /* PC用の位置微調整をリセット */
    }

    .brand-features__item-title {
        font-size: 20px; /* 24px -> 20px */
        margin-bottom: 10px;
        line-height: 1.4;
    }

    .brand-features__item-desc {
        font-size: 14px; /* 16px -> 14px */
        line-height: 1.7;
        text-align: left; /* 長文の可読性のためテキストは左寄せ、または justify */
    }
}

/* 小型スマートフォン (480px以下) */
@media screen and (max-width: 480px) {
    .brand-features {
        padding: 50px 0 60px;
    }

    .brand-features__item-title {
        font-size: 18px;
    }

    .brand-features__item-desc {
        font-size: 13px;
    }
}

/* ==========================================================================
   WORKS Section - Responsive
   ========================================================================== */

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

    .works__header .section__title {
        font-size: 48px; /* 64px -> 48px */
    }

    .works__grid {
        gap: 40px 20px;
    }
}

/* スマートフォンサイズ (768px以下) */
@media screen and (max-width: 768px) {
    .works {
        padding: 60px 0 80px;
        background-attachment: scroll; /* モバイルでの負荷軽減 */
    }

    .works__inner {
        padding: 0 15px;
    }

    /* タイトルエリア調整 */
    .works__header {
        margin-bottom: 30px;
        padding: 15px;
    }

    .works__header .section__title {
        font-size: 32px; /* スマホで見栄えの良いサイズ */
    }

    .works__header .section__header-sub {
        font-size: 14px;
    }

    /* グリッド：1カラムに変更 */
    .works__grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .works__item-title {
        font-size: 16px;
        margin-bottom: 10px;
    }

    /* 画像スライダー：SPでも比率を維持 */
    .works__image-box {
        aspect-ratio: 3 / 2;
    }

    /* 矢印：指でのタップを考慮し少しサイズアップまたは位置調整 */
    .works__arrow {
        width: 36px;
        height: 36px;
        right: 15px;
    }

    .works__caption {
        font-size: 10px;
        margin-top: 8px;
    }

    /* ボタン：縦並びに変更 */
    .works__btns {
        flex-direction: column;
        align-items: center;
        gap: 15px;
        margin-top: 50px;
    }

    .works__btns .btn {
        width: 100%; /* 全幅ボタン */
        margin: 0;
        max-width: 100%;
    }
}

/* 小型スマートフォン (480px以下) */
@media screen and (max-width: 480px) {
    .works__header .section__title {
        font-size: 28px;
    }

    .works__item-title {
        font-size: 15px;
    }
}

/* ==========================================================================
   REVIEW Section - Responsive
   ========================================================================== */

/* 中型デバイス (1024px以下) */
@media screen and (max-width: 1024px) {
    .review {
        padding: 100px 0 60px;
    }

    .review__grid {
        /* タブレットでは2カラムにしてリズムを作る */
        grid-template-columns: repeat(2, 1fr);
    }

    .review__title {
        font-size: 48px;
    }
}

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

    .review__inner {
        padding: 0 15px;
    }

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

    .review__title {
        font-size: 32px;
    }

    .review__title-sub {
        font-size: 16px;
    }

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

    /* カード：角丸と余白をスマホ用に最適化 */
    .review__card {
        border-radius: 40px; /* 60pxだとスマホでは丸すぎるため微調整 */
        padding: 40px 20px 30px;
    }

    .review__catch {
        font-size: 18px;
        min-height: auto;
        margin-bottom: 20px;
    }

    /* アイコンサイズをスマホの幅に合わせる */
    .review__icon {
        width: 140px;
        height: 140px;
        margin-bottom: 20px;
    }

    /* 評価：少しコンパクトに */
    .review__stars {
        font-size: 28px;
    }

    .review__score {
        font-size: 28px;
    }

    /* 本文：スマホでの可読性を重視し16pxへ */
    .review__body p {
        font-size: 16px;
        line-height: 1.7;
    }

    .review__cite {
        font-size: 11px;
    }

    /* ボタンエリア：垂直スタック */
    .review__btns {
        flex-direction: column;
        align-items: center;
        gap: 15px;
        margin-top: 40px;
    }

    .review__btns .btn {
        width: 100%;
        max-width: 100%;
        margin: 0;
    }
}

/* 小型スマートフォン (375px以下) */
@media screen and (max-width: 375px) {
    .review__card {
        padding: 30px 15px 25px;
    }

    .review__title {
        font-size: 28px;
    }

    .review__catch {
        font-size: 16px;
    }
}

/* ==========================================================================
   COMPANY PROFILE Section - Responsive
   ========================================================================== */

/* 中型デバイス (1100px以下) */
@media screen and (max-width: 1100px) {
    .company-profile__container {
        border-top-left-radius: 120px;
        border-bottom-left-radius: 120px;
        padding: 80px 40px 80px 120px;
    }

    .company-profile__title {
        font-size: 48px;
    }
}

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

    .company-profile__container {
        margin-left: 0;
        border-radius: 0; /* スマホでは角丸を解除し全幅に */
        padding: 60px 20px;
    }

    .company-profile__inner {
        max-width: 100%;
    }

    /* ヘッダー調整 */
    .company-profile__header {
        width: 100%;
        margin-bottom: 35px;
    }

    .company-profile__title {
        font-size: 32px;
        margin-bottom: 15px;
    }

    /* レイアウトを縦並びに */
    .company-profile__content {
        flex-direction: column;
        gap: 30px;
        margin-bottom: 40px;
    }

    /* テーブル形式の調整 */
    .company-profile__info {
        width: 100%;
    }

    .company-profile__row {
        flex-direction: column; /* 項目名と内容を縦に並べる */
        gap: 5px;
        padding: 12px 0;
    }

    .company-profile__row dt {
        flex: 0 0 auto;
        padding-left: 0; /* PC用の余白をリセット */
        font-size: 14px;
        color: rgba(255, 255, 255, 0.7); /* 項目名を少し弱めてバランスをとる */
    }

    .company-profile__row dd {
        font-size: 14px;
    }

    /* マップの調整 */
    .company-profile__map {
        width: 100%;
    }

    .company-profile__map-inner {
        aspect-ratio: 16 / 9; /* スマホで見やすい比率に変更 */
    }

    /* ボタンの調整：垂直スタック */
    .company-profile__btns {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .company-profile__btns .btn {
        width: 100%;
        max-width: 100%;
        margin: 0;
    }
}

/* 小型スマートフォン (480px以下) */
@media screen and (max-width: 480px) {
    .company-profile__title {
        font-size: 28px;
    }

    .company-profile__row dt {
        font-size: 13px;
    }

    .company-profile__row dd {
        font-size: 13px;
    }
}

/* ==========================================================================
   GRAND SAISON Section - Responsive
   ========================================================================== */

/* タブレット・小型PC (1024px以下) */
@media screen and (max-width: 1024px) {
    .grand-saison {
        padding: 80px 0;
    }

    .grand-saison__inner {
        padding: 0 30px;
    }

    .grand-saison__top-flex {
        flex-direction: column;
        align-items: center; /* センター寄せで安定感を出す */
        text-align: center;
        gap: 30px;
        margin-bottom: 60px;
    }

    .grand-saison__header-wrap {
        flex: 0 0 auto;
        width: 100%;
        max-width: 400px;
    }

    .grand-saison__lead-area {
        width: 100%;
    }

    .grand-saison__card-title {
        font-size: 28px; /* 32px -> 28px */
    }
}

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

    .grand-saison__inner {
        padding: 0 20px;
    }

    /* ヘッダーエリア調整 */
    .grand-saison__top-flex {
        margin-bottom: 40px;
    }

    .grand-saison__lead-title {
        font-size: 20px;
        margin-bottom: 12px;
    }

    .grand-saison__lead-text {
        font-size: 14px;
        text-align: left; /* 長文は左寄せが読みやすい */
    }

    /* グリッドを1カラムに：素材感を大きく見せる */
    .grand-saison__grid {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .grand-saison__card-img {
        margin-bottom: 12px;
    }

    /* セリフ体タイトルをスマホサイズへ最適化 */
    .grand-saison__card-title {
        font-size: 24px;
        margin-top: 0;
    }

    .grand-saison__card-caption {
        font-size: 10px;
        margin-top: 6px;
    }

    /* ボタンエリア：垂直スタック */
    .grand-saison__btns {
        flex-direction: column;
        align-items: center;
        gap: 15px;
        margin-top: 50px;
    }

    .grand-saison__btns .btn {
        width: 100%; /* 全幅ボタンでタップ精度を向上 */
        max-width: 100%;
        margin: 0;
    }
}

/* 小型スマートフォン (480px以下) */
@media screen and (max-width: 480px) {

    .grand-saison__card-title {
        font-size: 22px;
    }
}

/* ==========================================================================
   AREA FEATURES Section - Responsive
   ========================================================================== */

/* 中型デバイス (1024px以下) */
@media screen and (max-width: 1024px) {
    .area-features {
        padding: 100px 0 60px;
    }

    .area-features__summary {
        padding: 40px;
        margin: 40px 20px 0;
    }

    .area-features__summary-flex {
        gap: 40px;
    }
}

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

    .area-features__inner {
        padding: 0 15px;
    }

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

    .area-features-sub-title {
        font-size: 18px;
    }

    .area-features-section-title {
        font-size: 26px;
    }

    .area-features__main-title {
        font-size: 24px;
        margin-bottom: 20px;
    }

    /* アコーディオンヘッダー調整 */
    .area-features__header {
        padding: 15px 20px; /* 80pxの余白をリセット */
    }

    .area-features__name {
        font-size: 22px;
    }

    .area-features__pin {
        width: 24px; /* 45px -> 24px */
        margin-right: 10px;
    }

    .area-features__toggle-icon {
        width: 24px;
        height: 24px;
    }

    /* グリッドを1カラムにスタック */
    .area-features__grid {
        grid-template-columns: 1fr;
        padding: 25px 20px;
        gap: 25px;
    }

    .area-features__label {
        font-size: 14px;
        margin-bottom: 5px;
    }

    .area-features__label--point {
        font-size: 17px;
    }

    .area-features__label--point::before {
        width: 24px;
        height: 24px;
    }

    .area-features__value {
        font-size: 26px;
    }

    .area-features__value span {
        font-size: 15px;
    }

    .area-features__text {
        font-size: 15px;
        line-height: 1.6;
    }

    .area-features__note {
        font-size: 14px;
        margin-top: 10px;
    }

    /* まとめボックスの完全リセット */
    .area-features__summary {
        padding: 40px 20px;
        margin-left: 0;
        margin-right: 0;
    }

    .area-features__summary-flex {
        flex-direction: column; /* 縦並び */
        gap: 25px;
    }

    .area-features__summary-img {
        flex: 0 0 auto;
        width: 140px; /* アイコンをスマホサイズに縮小 */
    }

    .area-features__summary-text {
        font-size: 16px;
        line-height: 1.8;
        margin-bottom: 20px;
    }

    .area-features__summary-btn-wrap {
        max-width: 100%;
    }

    .area-features__summary-btn {
        height: 52px;
        font-size: 16px;
    }
}

/* 小型スマートフォン (480px以下) */
@media screen and (max-width: 480px) {
    .area-features__name {
        font-size: 19px;
    }

    .area-features__value {
        font-size: 22px;
    }

    .area-features__summary-text {
        font-size: 14px;
        text-align: left; /* 長文は左寄せが読みやすい */
    }
}

/* ==========================================================================
   FAQ Section - Responsive
   ========================================================================== */

/* 中型デバイス (1024px以下) */
@media screen and (max-width: 1200px) {
    .faq__header {
        width: 90%; /* 固定幅 1025px を解除 */
    }
}

@media screen and (max-width: 1024px) {
    .faq {
        padding: 80px 0 120px;
    }

    .faq__deco-top, 
    .faq__deco-bottom {
        font-size: 80px; /* 120px -> 80px */
    }

    .faq__inner {
        max-width: 100%;
    }
}

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

    .faq__inner {
        padding: 0 15px;
    }

    /* 装飾テキスト：背景として邪魔にならないよう縮小・透過 */
    .faq__deco-top {
        font-size: 40px;
        top: 20px;
        left: 10px;
        opacity: 0.3;
    }

    .faq__deco-bottom {
        font-size: 40px;
        bottom: 10px;
        left: 20px;
        opacity: 0.3;
    }

    /* ヘッダーデザイン調整 */
    .faq__header {
        width: 100%;
        margin-bottom: 40px;
        padding: 15px 10px;
    }

    .faq__header-sub {
        font-size: 16px;
    }

    .faq__title {
        font-size: 24px;
    }

    /* アコーディオンアイテム調整 */
    .faq__item {
        border-radius: 20px; /* 36px -> 20px */
        margin-bottom: 20px;
    }

    .faq__question {
        padding: 20px; /* 40px -> 20px */
        gap: 15px;
    }

    /* Qアイコンの縮小 */
    .faq__q-icon {
        width: 36px;
        height: 36px;
        font-size: 20px;
        margin-right: 0;
        padding-bottom: 3px;
    }

    .faq__q-text {
        font-size: 15px;
        line-height: 1.4;
    }

    /* 回答エリアの調整 */
    .faq__a-inner {
        padding: 0 20px 25px;
    }

    .faq__a-content {
        align-items: flex-start; /* スマホでは上揃えが基本 */
    }

    .faq__a-label {
        font-size: 20px;
        margin-right: 15px;
        width: 24px; /* 横幅を固定してテキストの開始位置を揃える */
    }

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

/* 小型スマートフォン (480px以下) */
@media screen and (max-width: 480px) {
    .faq__header {
        padding: 10px;
    }

    .faq__title {
        font-size: 20px;
    }

    .faq__deco-top,
    .faq__deco-bottom {
        display: none; /* 超小型画面では可読性優先で非表示も検討 */
    }

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









/* ==========================================================================
   Company List Section - Responsive (Mobile)
   ========================================================================== */

@media screen and (max-width: 768px) {
    .company-list {
        padding: 60px 0 80px; /* 上下の余白を圧縮 */
    }

    .company-list__inner {
        padding: 0 20px;
    }

    /* タイトル装飾（枠＋角の正方形）のレスポンシブ */
    .company-list__header {
        max-width: 100%; /* 幅を画面いっぱいに */
        margin-bottom: 50px;
        padding: 25px 15px;
    }

    /* 正方形のサイズをスマホ用に調整 */
    .company-list__header::before,
    .company-list__header::after {
        width: 30px;
        height: 30px;
        top: -10px;
        left: -10px;
    }

    .company-list__header::after {
        bottom: -10px;
        right: -10px;
        top: auto;
        left: auto;
    }

    .company-list__header-area {
        font-size: 15px;
        margin-bottom: 8px;
    }

    .company-list__header-title {
        font-size: 22px;
        line-height: 1.4;
    }

    /* 3カラム → 1カラムへ */
    .company-list__grid {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-bottom: 40px;
    }

    /* カードの微調整 */
    .company-card__header {
        min-height: 80px;
        padding: 15px;
    }

    .company-card__name {
        font-size: 20px;
    }

    .company-card__body {
        padding: 25px 20px;
    }

    .company-card__label {
        font-size: 13px;
    }

    .company-card__text {
        font-size: 15px;
    }

    /* 地図の高さ調整 */
    .company-card__map {
        margin: 20px 0;
    }

    .company-card__map iframe {
        height: 200px;
    }

    /* ボタンの調整 */
    .company-card__btn-orange {
        font-size: 16px;
        height: 50px;
    }

    /* もっと見るボタン */
    .company-list__more-btn {
        width: 100%; /* 固定幅384pxを解除 */
        max-width: 340px; /* 広がりすぎ防止 */
        padding: 0 40px;
        height: 56px;
        font-size: 16px;
    }

    .company-list__more-arrow {
        right: 30px; /* 矢印の位置を内側に寄せる */
        width: 20px;
    }
}

/* 小さなスマホ（375px以下）用 */
@media screen and (max-width: 375px) {
    .company-list__header-title {
        font-size: 19px;
    }
    .company-card__name {
        font-size: 18px;
    }
    .company-list__more-btn {
        font-size: 15px;
    }
}

/* ==========================================================================
   New Articles Section - Responsive
   ========================================================================== */

/* タブレット / 小型PC (1200px以下) */
@media screen and (max-width: 1200px) {
    .new-posts__inner {
        max-width: 100%;
        padding: 0 40px;
    }
    
    .new-posts__title {
        font-size: 52px;
    }
}

/* タブレット (1024px以下) */
@media screen and (max-width: 1024px) {
    .new-posts {
        padding: 60px 0 80px;
        background-size: cover; /* 歪みを防ぐため cover に切り替え */
    }

    /* 4カラム -> 2カラムに */
    .new-posts__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .new-posts__body {
        min-height: 160px; /* 画面幅に合わせて高さを微調整 */
    }
}

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

    .new-posts__inner {
        padding: 0 15px;
    }

    .new-posts__header {
        margin-bottom: 30px;
    }

    .new-posts__title {
        font-size: 36px;
    }

    .new-posts__en-title {
        font-size: 14px;
        margin-top: 5px;
    }

    .new-posts__grid {
        gap: 15px;
    }

    .new-posts__body {
        padding: 15px;
        min-height: auto; /* スマホでは高さ固定を解除 */
    }

    .new-posts__card-title {
        font-size: 15px;
        /* スマホでは7行も出ると長すぎるため、3〜4行に制限するのが一般的 */
        -webkit-line-clamp: 4; 
    }
}

/* 小型スマートフォン (480px以下) */
@media screen and (max-width: 480px) {
    /* 2カラム -> 1カラムに */
    .new-posts__grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .new-posts__title {
        font-size: 32px;
    }

    .new-posts__thumb {
        aspect-ratio: 16 / 9; /* スマホ1カラム時は横長の方が見栄えが良い */
    }
}

/* ==========================================================================
   Footer - Responsive (Mobile Optimization)
   ========================================================================== */

/* タブレットサイズ（1024px以下）での調整 */
@media screen and (max-width: 1024px) {
    .footer-columns__wrapper {
        gap: 60px; /* 240pxから大幅に縮小 */
    }
    .footer-disclaimer__box {
        max-width: 90%;
    }
}

/* スマホサイズ（768px以下） */
@media screen and (max-width: 768px) {
    .site-footer {
        margin-top: 80px; /* PC版の160pxを半分に */
    }

    /* --- 1. コラムエリア --- */
    .footer-columns {
        padding: 60px 0;
    }

    .footer-columns__wrapper {
        flex-direction: column; /* 縦並びに */
        align-items: center;
        gap: 50px;
    }

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

    .footer-columns__title {
        text-align: center;
        margin-bottom: 20px;
        font-size: 18px;
    }

    .footer-columns__list {
        width: 100%; /* 固定320pxを解除 */
    }

    .footer-columns__list a {
        font-size: 16px;
        padding: 5px 0; /* タップしやすく余白を確保 */
    }

    /* --- 2. 免責事項 --- */
    .footer-disclaimer {
        padding: 40px 0;
    }

    .footer-disclaimer__box {
        padding: 20px 15px;
    }

    .footer-disclaimer__box p {
        font-size: 14px; /* 24pxからスマホ用に最適化 */
        line-height: 1.6;
        text-align: left; /* スマホでは左揃えの方が可読性が高い */
    }

    /* --- 3. ボトムナビ --- */
    .footer-bottom {
        padding: 40px 0 20px;
    }

    .footer-nav__menu {
        flex-wrap: wrap; /* 画面幅に合わせて折り返す */
        justify-content: center;
        gap: 15px 25px; /* 上下の間隔も確保 */
    }

    .footer-nav__menu li a {
        font-size: 15px; /* 20pxから縮小 */
    }

    .footer-bottom__line {
        height: 1px; /* 3pxから細くして主張を抑える */
        margin-bottom: 30px; /* 128pxから大幅に縮小 */
        margin-top: 30px;
    }

    .footer-copyright {
        text-align: center; /* スマホでは中央寄せが一般的 */
        font-size: 10px;
        line-height: 1.5;
    }
}

/* さらに小さい画面（375px以下）用 */
@media screen and (max-width: 375px) {
    .footer-nav__menu {
        gap: 10px 15px;
    }
    .footer-nav__menu li a {
        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;
    }
}
