/* // FILE: assets/css/main.css */

/* ========================================
   最小リセット & ベース
   ======================================== */
:where(*, *::before, *::after) {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
    font-size: 62.5%;
    /* 1rem = 10px */
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Noto Sans JP", sans-serif;
    font-size: 1.6rem;
    line-height: 1.7;
    color: #000;
    background-color: #ededed;
}

img,
svg,
video {
    display: block;
    max-width: 100%;
    height: auto;
    vertical-align: top;
}

/* ============================================================
   Fluid Type Tokens (clamp)
   Policy:
   - iPhone寄りの最小幅 390px を起点
   - Inner系は 1200px で拡大打ち止め / Hero系は 1440px で打ち止め
   - 変数名は「最大サイズ(px)」を明示（例：--fs-24px）
   - デザイン通りに 390px幅で最小値 → 1200/1440px幅で最大値に“ピタッ”と一致
   - 使い分け：本文/UIは inner、全幅ヒーローは hero
   ============================================================ */

/* ---------- Inner: 390 → 1200px（本文・カード・UI） ---------- */
/* 14px（本文）: 390px時=12px → 1200px時=14px */
:root {
    --fs-14px: clamp(12px, calc(11.04px + 0.247vw), 14px);
}

/* 16px（少し強調）: 390px時=14px → 1200px時=16px */
:root {
    --fs-16px: clamp(14px, calc(13.04px + 0.247vw), 16px);
}

/* 24px（小見出し/カード）: 390px時=20px → 1200px時=24px */
:root {
    --fs-24px: clamp(20px, calc(18.07px + 0.494vw), 24px);
}

/* 36px（大見出し）: 390px時=28px → 1200px時=36px */
:root {
    --fs-36px: clamp(28px, calc(24.15px + 0.988vw), 36px);
}

/* ---------- Hero: 390 → 1440px（全幅ヒーロー/大きめ見出し） ---------- */
/* 14px（本文）: 390px時=12px → 1440px時=14px */
:root {
    --fs-14px-hero: clamp(12px, calc(11.26px + 0.191vw), 14px);
}

/* 16px（少し強調）: 390px時=14px → 1440px時=16px */
:root {
    --fs-16px-hero: clamp(14px, calc(13.26px + 0.191vw), 16px);
}

/* 24px（小見出し/バナー）: 390px時=20px → 1440px時=24px */
:root {
    --fs-24px-hero: clamp(20px, calc(18.51px + 0.381vw), 24px);
}

/* 36px（ヒーロー大見出し）: 390px時=28px → 1440px時=36px */
:root {
    --fs-36px-hero: clamp(28px, calc(25.03px + 0.762vw), 36px);
}

/* ---------- Usage samples（例） -------------------------------
p, .body          { font-size: var(--fs-14px); }   // 本文
.small-strong     { font-size: var(--fs-16px); }   // 少し強調
.section-title    { font-size: var(--fs-24px); }   // セクション/カードタイトル
.newstitle        { font-size: var(--fs-36px); }   // ページ大見出し（インナー内）

.hero-subtitle    { font-size: var(--fs-24px-hero); }    // ヒーロー小見出し
.hero-title       { font-size: var(--fs-36px-hero); }    // ヒーロー大見出し（全幅）
備考：
- 変数は px基準なので、サイト全体の rem 基準（例：html{font-size:62.5%}）の影響を受けません。
- 余白・行間は “全体連動” が扱いやすいので rem 継続。
- 列数やレイアウト切替は clamp ではなく media/container query を使用してください。
*/
----------------------------------------------------------------

/* ========================================
画像レスポンシブ対応 - 基本設定
======================================== */
/* 全画像の基本設定 */
img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
    /* 下の隙間を防ぐ */
}

/* ========================================
レスポンシブ画像クラス
======================================== */
.img-responsive {
    width: 100%;
    height: auto;
    display: block;
}

/* ========================================
WordPress Gutenberg対応
======================================== */
/* ブロックエディタの画像 */
.wp-block-image img {
    height: auto;
}

/* フルサイズ画像 */
.wp-block-image.size-full img,
.wp-block-image.size-large img {
    width: 100%;
    height: auto;
}

/* 中サイズ画像 */
.wp-block-image.size-medium img {
    max-width: 100%;
    height: auto;
}

/* アライメント */
.wp-block-image.aligncenter {
    text-align: center;
}

.wp-block-image.aligncenter img {
    margin: 0 auto;
}

.wp-block-image.alignleft {
    float: left;
    margin: 0 1.5rem 1.5rem 0;
}

.wp-block-image.alignright {
    float: right;
    margin: 0 0 1.5rem 1.5rem;
}

/* キャプション付き画像 */
.wp-block-image figure {
    margin: 0;
}

.wp-block-image figcaption {
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: #666;
    text-align: center;
}

/* ========================================
記事本文内の画像
======================================== */
.article-content img,
.entry-content img,
.post-content img,
.page-content img {
    max-width: 100%;
    height: auto;
    margin: 1.5rem 0;
}

/* ========================================
レスポンシブ対応 - モバイル
======================================== */
@media (max-width: 768px) {

    /* アライメントをリセット */
    .wp-block-image.alignleft,
    .wp-block-image.alignright {
        float: none;
        margin: 1.5rem 0;
    }

    .wp-block-image.alignleft img,
    .wp-block-image.alignright img {
        margin: 0 auto;
        display: block;
    }
}

a {
    color: inherit;
    text-decoration: none;
}

a:hover {
    text-decoration: none;
}

ul,
ol {
    list-style: none;
    margin: 0;
    padding: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0;
    font-weight: normal;
}

p {
    margin: 0;
}

/* ========================================
   CSS変数定義
   ======================================== */
:root {
    --bg-primary: #ededed;
    --accent-yellow: #c0b746;
    --text-yellow: #fffb00;
    --text-orenge: #ff5722;
    --text-primary: #000;
    --text-primary2: #333;
    --gradient-service-top: #a1a1a1;
    --gradient-service-bottom: #5f5f5f;
    --gradient-location-top: #333333;
    --gradient-location-bottom: #000000;
    --container-width: 1200px;
    --section-padding: 100px;
}

/* ========================================
   共通クラス
   ======================================== */
.tcenter {
    text-align: center;
}

.page-header {
    margin: 5rem 0;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.stack>*+* {
    margin-top: 1.5rem;
}

.flex-between {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.align-right {
    text-align: right;
}

.align-left {
    text-align: left;
}

.muted {
    color: #666;
}

.btn {
    display: inline-block;
    padding: .6rem 1rem;
    border-radius: .5rem;
    border: 1px solid #ddd;
    background: #f8f8f8;
}

.page-header h1 {
    margin: 0;
    font-size: clamp(1.5rem, 2vw, 2rem);
}

.section-title {
    font-family: "Lulo Clean One Bold", sans-serif;
    text-align: left;
    font-size: 8rem;
    letter-spacing: -5px;
    font-weight: bold;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.4rem;
    color: var(--accent-yellow);
    font-weight: 500;
}

.highlight {
    color: var(--accent-yellow);
}

/* ========================================
   レスポンシブ表示制御クラス
   ======================================== */
.notsp {
    display: block;
}

.notpc {
    display: none;
}

@media screen and (max-width: 767px) {
    .notsp {
        display: none;
    }

    .notpc {
        display: block;
    }
}

.nosp-inline {
    display: inline;
}

@media screen and (max-width: 767px) {
    .nosp-inline {
        display: none;
    }
}

.nopc-inline {
    display: none;
}

@media screen and (max-width: 767px) {
    .nopc-inline {
        display: inline;
    }
}

/* ========================================
   レスポンシブ画像自動制御
   ======================================== */
.img-pc-1x {
    display: block;
}

.img-mobile-2x {
    display: none;
}

@media screen and (max-width: 767px) {
    .img-pc-1x {
        display: none;
    }

    .img-mobile-2x {
        display: block;
    }
}

/* ========================================
   ヘッダー/フッター（既存）
   ======================================== */
.site-header {
    border-bottom: 1px solid #eee;
    padding: .75rem 0;
}

.site-footer {
    padding: 5rem 0;
}

.brand {
    font-weight: 700;
}

.footcopy {
    text-align: center;
    margin: 3rem;
    color: #fff;
}

/* ========================================
   カードレイアウト（既存）
   ======================================== */
.cards {
    display: grid;
    grid-template-columns: repeat(16, 1fr);
    gap: 15px;
}

.card {
    grid-column: span 4;
    border: 1px solid #eee;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    transition: transform .15s ease, box-shadow .15s ease;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, .06);
}

.card__link {
    display: grid;
    grid-template-rows: auto 1fr;
    height: 100%;
}

.card__thumb {
    aspect-ratio: 16/9;
    background: #fafafa;
    overflow: hidden;
}

.card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card__body {
    padding: 0 10px 10px;
}

.card__date {
    color: #666;
}

.card__title {
    margin: .25rem 0 .5rem;
    line-height: 1.5;
}

.card__excerpt {
    color: #444;
}

@media (max-width: 1024px) {
    .card {
        grid-column: span 6;
    }
}

/* スマートフォン (480px以下) */
@media screen and (max-width: 480px) {
    .cards {
        display: grid;
        grid-template-columns: repeat(24, 1fr);
        gap: 15px;
    }

    .card {
        grid-column: span 12;
    }
}

/* ========================================
   ページネーション（既存）
   ======================================== */
.pagination {
    display: flex;
    gap: .5rem;
    justify-content: center;
    margin-top: 2rem;
    margin-bottom: 3rem;
}

.pagination a,
.pagination span {
    padding: .5rem .75rem;
    border: 1px solid #ddd;
    border-radius: .5rem;
    background: #fff;
}

/* ========================================
   ヒーロー（既存）
   ======================================== */
.hero {
    padding-block: 3rem 2rem;
    border-bottom: 1px solid #f0f0f0;
}

.hero__title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin: 0;
}

.hero__lead {
    margin: .5rem 0 0;
}

/* ========================================
   新ヘッダー（PC/モバイル対応）
   ======================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding-top: 5px;
    padding-bottom: 5px;
    transition: all 0.3s ease;
}

@media screen and (min-width: 768px) {
    .header.scrolled {
        padding-top: 2px;
        padding-bottom: 2px;
    }
}

.header__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
    background-color: #fff;
    border-radius: 2px;
    padding: 0 30px;
    transition: height 0.3s ease;
    box-shadow: 0 2px 10px 0 rgba(0, 0, 0, 0.1);
}

@media screen and (min-width: 768px) {
    .header.scrolled .header__inner {
        height: 40px;
    }
}

/* 基本スタイル（front-page用） */
.header .gnav.global-nav {
    background: rgba(0, 0, 0, 0.8);
    position: fixed;
    bottom: 30px;
    /* 画面下部から30px */
    left: 50%;
    transform: translateX(-50%);
    max-width: 1200px;
    width: calc(100% - 60px);
    height: 60px;
    z-index: 1000;
    border-radius: 15px;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* front-pageでスクロール時 */
.gnav.global-nav.scrolled {
    transform: translateX(-50%) translateY(calc(-100vh + 100px));
    /* 画面上部100pxの位置へ */
}

/* front-page以外では常に上部表示 */
.gnav.global-nav.always-top {
    bottom: auto;
    top: 30px;
    /* 最初から上部30px */
    transform: translateX(-50%);
    transition: none;
    /* アニメーション無効 */
}

/* front-page以外の基本レイアウト */
.gnav.global-nav.other-page-layout {
    position: relative;
    bottom: unset;
    margin: 15px 0;
    width: 100%;
    left: auto;
    transform: none;
    max-width: none;
    opacity: 1;
    transition: opacity 0.3s ease;
    /* opacityのみアニメーション */
}

/* スクロール時のfixed化 */
.gnav.global-nav.other-page-layout.fixed-scroll {
    position: fixed;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    max-width: 1200px;
    width: calc(100% - 60px);
    margin: 0;
    border-radius: 15px;
    z-index: 1000;
    opacity: 1;
}

/* 切り替え時の一時的な透明化 */
.gnav.global-nav.other-page-layout.transitioning {
    opacity: 0;
}

.gnav.global-nav ul {
    display: flex;
    align-items: center;
    margin-right: 15px;
}


.header__logo h1 {
    font-family: "Noto Sans JP", sans-serif;
    font-size: 2.4rem;
    font-weight: 700;
    letter-spacing: 0.1em;
}

.header__logo a {
    transition: opacity 0.3s ease;
}

.header__logo a:hover {
    opacity: 0.7;
}

.header__logo img {
    margin: auto;
    max-width: 145px;
}

.header.scrolled .header__logo img {
    max-width: 120px;
    transition: max-width 0.3s ease;
}

.header__nav {
    display: block;
}

.nav__list {
    display: flex;
    gap: 3rem;
}

.nav__link {
    font-family: "Noto Sans JP", sans-serif;
    font-size: 1.4rem;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav__link:hover {
    color: #ff6b35;
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #ff6b35;
    transition: width 0.3s ease;
}

.nav__link:hover::after {
    width: 100%;
}

.pc-nav-link {
    color: white;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
}

/* PC用ナビゲーションホバー効果 */
.pc-nav-link:hover {
    color: #ffff00 !important;
    transition: color 0.3s ease;
}

/* モバイル用ナビゲーションホバー効果 */
.mobile-nav-link:hover {
    color: #ffff00 !important;
    transition: color 0.3s ease;
}

/* ハンバーガーメニュー */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    cursor: pointer;
    z-index: 1001;
}

.hamburger__line {
    width: 100%;
    height: 2px;
    background-color: #333;
    transition: all 0.3s ease;
    transform-origin: center;
}

.hamburger.active .hamburger__line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active .hamburger__line:nth-child(2) {
    opacity: 0;
}

.hamburger.active .hamburger__line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* ハンバーガーメニューアニメーション */
.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* モバイルメニュー */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    z-index: 999;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.mobile-menu.active {
    transform: translateX(0);
}

.mobile-menu__nav {
    padding-top: 100px;
    text-align: center;
}

.mobile-menu__list {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.mobile-menu__link {
    font-family: "Noto Sans JP", sans-serif;
    font-size: 1.8rem;
    font-weight: 500;
    padding: 1rem;
    display: block;
    transition: color 0.3s ease;
}

.mobile-menu__link:hover {
    color: #ff6b35;
}

/* モバイルメニューのスクロール制御 */
body.menu-open {
    overflow: hidden;
}

/* SNSアイコンホバー効果 */
.heder-img:hover {
    opacity: 0.7;
    transition: opacity 0.3s ease;
}


.navsns {
    position: absolute;
    right: 90px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 7px;
}

.navlang {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    gap: 5px;
}

.navfooter {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 30px;
    font-family: 'Noto Sans JP', sans-serif;
}

/* タブレット */
@media (max-width: 768px) {
    .navsns {
        top: 25%;
        right: 15px;

    }

    .navlang {
        top: 70%;
        right: 25px;
    }
}

/* スマートフォン */
@media (max-width: 480px) {
    .navfooter {
        gap: 15px;
    }

    .navfooter a {
        font-size: 10px;
    }

    .site-footer {
        padding: 5rem 0 1rem;
    }

}



/* ========================================
   ヒーローセクション
   ======================================== */
.hero-section {
    height: 100vh;
    position: relative;
    overflow: hidden;
    /* 重要：video要素のはみ出しを隠す */
}

.hero-bg {
    width: 100%;
    height: 100%;
    position: relative;
}

.hero-bg video {
    width: 100%;
    height: 110%;
    /* パララックス用に少し大きく */
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
}

.hero-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: black;
    z-index: 10;
}

.hero-content .container {
    max-width: 100%;
    padding: 0;
}

.hero-logo {
    text-align: center;
}

.hero-logo-img {
    width: 50%;
    max-width: 600px;
    min-width: 300px;
}

/* ========================================
   NEWSセクション
   ======================================== */
.news-section {
    padding: var(--section-padding) 0;
    background-color: var(--bg-primary);
    /* フォールバック用の背景色 */
    background-color: #333333;
    /* グラデーション */
    background: linear-gradient(135deg, #333333 0%, #000000 100%);
}

.news-header {
    color: #808080;
    margin-bottom: 5rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    /* デスクトップ */
}

.news-header .section-title {
    color: #808080;
    font-size: 6rem;
    /* デスクトップ */
    margin: 0;
    padding-bottom: 15px;
    line-height: 1;
}

.news-header div:nth-child(2) {
    font-size: 2rem;
    line-height: 1;
    font-weight: bold;
    /* デスクトップ */
}

.newstitle {
    max-height: 70px;
    width: auto;

}

/* タブレット */
@media (max-width: 768px) {
    .news-header {
        gap: 1rem;
    }

    .news-header .section-title {
        font-size: 5rem;
        /* 8rem → 5rem */
    }

    .news-header div:nth-child(2) {
        font-size: 2rem;
        /* 3rem → 2rem */
    }
}

/* スマートフォン */
@media (max-width: 480px) {
    .news-header {
        gap: 0.8rem;
    }

    .news-header .section-title {
        font-size: 3rem;
        /* 8rem → 3rem */
    }

    .news-header div:nth-child(2) {
        font-size: 1.5rem;
        /* 3rem → 1.5rem */
    }

    .newstitle {
        max-height: 40px;
        margin-top: 80px;
        margin-bottom: -10px;
        /* headerとの相殺調整 */
    }
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    margin-bottom: 5rem;
}

.news-card {
    /* background-color: #fff; */
    /* border-radius: 8px; */
    overflow: hidden;
    transition: transform 0.3s ease;
    /* box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); */
    cursor: pointer;
}

.news-card:hover {
    transform: scale(1.05);
    /* box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15); */
}

.news-card-link {
    display: block;
    height: 100%;
}

.news-card-image {
    width: 100%;
    aspect-ratio: 3 / 2;
    overflow: hidden;
}

/* imgタグに直接適用 */
.news-card-image .news-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.news-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* 比率を保ちつつ拡大・切り抜き */
    object-position: center;
    /* 切り抜き位置を中央に */
}

/* .news-card-content {
    padding: 2rem;
} */

.news-date {
    font-family: "Lulo Clean One Bold", sans-serif;
    font-size: 1.2rem;
    color: white;
    margin-top: 1rem;
    margin-bottom: 1rem;
    display: block;
}

.news-title {
    font-size: 1.6rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 1rem;
    color: white;
}

.news-excerpt {
    font-size: 1.4rem;
    color: white;
    line-height: 1.6;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.news-more {
    /* text-align: center; */
}

/* ========================================
   PURCHASEセクション　買い取り
   ======================================== */
.purchase-subtitle {
    white-space: nowrap;
    /* 一行固定 */
    line-height: 1.1;
    display: block;
    /* 幅計測を安定させる */

    font-weight: bold;
    text-align: center;
}

.purchase-subtitle span {
    color: var(--accent-yellow);
}


:root {
    --purchase-accent: #c0b746;
    --purchase-orange: #ff5722;
    --purchase-line-green: #00cb42;
    --purchase-ink: #2a221c;
}

/* セクション骨格 */
.purchase-flow__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: clamp(20px, 3vw, 36px);
}

/* タイトル */
.purchase-flow__title {
    margin: 0 0 clamp(16px, 2.4vw, 28px);
    font-weight: 800;
    font-size: clamp(2.4rem, 3.2vw, 5rem);
    color: var(--purchase-ink);
    text-align: center;
}

.purchase-flow__title-accent {
    color: var(--purchase-accent);
}

/* リスト */
.purchase-flow__list {
    counter-reset: step;
    /* 自動採番リセット */
    display: grid;
    justify-items: center;
    /* 中央寄せ */
    row-gap: clamp(12px, 2vw, 16px);
    /* ステップ間の余白 */
}

.purchase-flow__item {
    width: min(960px, 100%);
}

/* 横一列レイアウトに変更（改行しない） */
.purchase-flow__box {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: nowrap;
    /* 強制的に1行 */
    padding: clamp(16px, 2.4vw, 24px) clamp(18px, 3vw, 28px);
    background: var(--purchase-accent, var(--text-primary, #c0b746));
    color: #fff;
}

/* STEPラベルをCSSで前置（横並びの一要素として扱う） */
.purchase-flow__box::before {
    counter-increment: step;
    content: "STEP " counter(step);
    font-weight: 800;
    font-size: clamp(1.5rem, 2.6vw, 4.25rem);
    letter-spacing: .12em;
    flex: 0 0 auto;
    /* 縮ませない */
    margin-right: 4px;
    /* アイコンとの間隔微調整 */
}

/* アイコン＆テキストはそのまま横並び */
.purchase-flow__icon {
    width: clamp(24px, 4vw, 52px);
    height: auto;
    display: block;
    margin: 0 20px;
}

.purchase-flow__icon2 {
    width: clamp(34px, 6vw, 80px);
    height: auto;
    display: block;
    /* margin: 0 5px; */
    margin: 0 clamp(0px, 1vw, 5px);
}

.purchase-flow__text {
    margin: 0;
    /* font-size: var(--fs-36px); */
    font-size: clamp(16px, calc(4.46px + 2.96vw), 40px);
    font-weight: 700;
    line-height: 1.6;
    min-width: 0;
    color: black;
    letter-spacing: 3px;
}

/* 縦方向の矢印画像（そのままでOK。必要なら余白だけ） */
.purchase-flow__arrow {
    margin: clamp(8px, 1.6vw, 12px) 0;
    width: clamp(16px, 4.4vw, 100px);
    height: auto;
    display: block;
}

/* オレンジ帯 */
.purchase-flow__note_top {
    text-align: center;
    margin-top: 3rem;
    /* font-size: 2.5rem; */
    font-size: clamp(.95rem, 3.5vw, 2.5rem);
    color: var(--purchase-orange);
    font-weight: bold;
}

.purchase-flow__note {
    background: var(--purchase-orange);
    color: #fff;
    text-align: center;
    font-weight: 700;
    margin: 1rem auto;
    padding: clamp(10px, 2vw, 14px);
    width: min(960px, 100%);
    font-size: clamp(.95rem, 3vw, 3rem);
}

/* 黒LINEバナー */
.purchase-flow__cta {
    margin: clamp(14px, 3vw, 24px) auto 0;
    width: min(960px, 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(10px, 3vw, 18px);
    text-decoration: none;
    background: #111;
    color: #fff;
    padding: clamp(12px, 2.6vw, 18px) clamp(16px, 3.4vw, 24px);
}

.purchase-flow__cta-logo1 {
    width: clamp(80px, 28vw, 80px);
    height: auto;
    display: block;
}

.purchase-flow__cta-logo2 {
    width: clamp(120px, 28vw, 220px);
    height: auto;
    display: block;
}

.purchase-flow__cta-text {
    font-weight: 800;
    font-size: clamp(1rem, 3.4vw, 1.4rem);
    letter-spacing: .06em;
    line-height: 1.2;
    color: #fff;
}

/* スマートフォン */
@media (max-width: 480px) {
    .purchase-flow__icon {
        margin: 0;
    }

    .purchase-flow__inner {
        padding: 0;
    }

    .purchase-flow__title {
        margin-top: 5rem;
    }

    .purchase-flow__cta {
        margin-bottom: 3rem;
    }
}


/* ========================================
   LEASINGセクション　リース/ローン販売
   ======================================== */
.leasing-section {
    font-size: var(--fs-36px);
    text-align: center;
    border: 5px dotted var(--accent-yellow);
    border-left: 0;
    border-right: 0;
    padding: 3rem 0;
    color: var(--text-orenge);
}

.leasing-section-subtitle {
    font-size: var(--fs-24px);
    color: black;
    font-weight: bold;
}

.leasing-info1 {
    font-size: clamp(24px, 3.778px + 5.185vw, 66px);
    font-weight: bold;
    text-align: center;
}

.leasing-info1 span {
    font-family: "Lulo Clean One Bold";
    font-size: clamp(36px, 10.963px + 6.42vw, 88px);
    color: var(--accent-yellow);
    letter-spacing: -10px;
}

.leasing-info2 {
    font-size: clamp(24px, 12.444px + 2.963vw, 48px);
    font-weight: bold;
    letter-spacing: 3px;
    text-align: center;
    line-height: normal;
    margin-top: -3rem;
}

.leasing-info3 {
    font-size: var(--fs-36px);
    font-weight: bold;
    letter-spacing: 3px;
    text-align: center;
    line-height: normal;
    margin-top: 3rem;
}

.leasing-info4 {
    font-size: clamp(16px, 15.037px + 0.247vw, 18px);
    text-align: center;
    font-weight: bold;
}

.leasing-info2 span {
    font-family: "Lulo Clean One Bold";
    color: var(--accent-yellow);
}

.leasing-info5 {
    font-size: clamp(24px, 18.222px + 1.481vw, 36px);
    font-weight: bold;
    letter-spacing: 3px;
    text-align: center;
    line-height: normal;
    margin-top: 3rem;

    max-width: fit-content;
    margin: 3rem auto;
    border-bottom: 4px dotted var(--text-orenge);
}

.leasing-info6 {
    font-size: clamp(16px, 9.259px + 1.728vw, 30px);
    text-align: center;
    font-weight: bold;
}

.leasing-info7 {
    font-size: clamp(24px, 18.222px + 1.481vw, 36px);
    text-align: center;
    font-weight: bold;
}

.leasing-info7-sub {
    font-size: clamp(16px, 10.704px + 1.358vw, 27px);
    text-align: center;
    font-weight: normal;
    color: #000 !important;
    margin-top: -1rem;
}

.leasing-info7-sub2 {
    font-size: 12px;
    text-align: center;
    font-weight: normal;
    color: #000 !important;
    margin: 2rem auto;
}

.leasing-img5 {
    margin-top: 2rem;
    border-top: 2px dotted var(--text-orenge);
    max-width: 1000px;
    border-radius: unset !important;
    padding-top: 5rem;
}

.leasing-info3 span,
.leasing-info4 span,
.leasing-info6 span,
.leasing-info7 span {
    color: var(--text-orenge);
}

.leasing-info5 span {
    font-size: clamp(30px, 20.370px + 2.469vw, 50px);
    color: var(--text-orenge);
}

.leasing-image0 {
    /* border: 5px dotted var(--accent-yellow); */
    /* width: fit-content; */
    margin: auto;
    padding: 2rem 9rem;
    border-radius: 15px;
    margin-top: 3rem;
}

.leasing-sec2 {
    background-color: white;
    padding: 3rem 0;
}


/* スマートフォン */
@media (max-width: 400px) {
    .leasing-info2 {
        line-height: 26px;
        margin-top: auto;
    }

    .leasing-info6,
    .leasing-info7 {
        margin-top: 3rem;
        margin-bottom: -2rem;
    }

    .leasing-info7-sub2 {
        margin: 1rem 0;
    }

    .leasing-image0 {
        padding: 1rem;
    }

    .leasing-section {
        font-size: 16px;
    }

    .leasing-section-subtitle {
        font-size: 14px;
    }

}

/* ========================================
   CUSTOMセクション　整備/カスタム
   ======================================== */
.custom-subtitle {
    font-size: clamp(24px, 18.222px + 1.481vw, 36px);
    font-weight: bold;
    letter-spacing: 3px;
    text-align: center;
    line-height: normal;
    margin: 6rem 0;
}

.custom-subtitle span {
    color: var(--accent-yellow);
}

.custom-two-column {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    margin-bottom: 10rem;
}

.custom-two-column>div {
    flex: 1 1 0;
    min-width: 0;
}

.custom-txt1 {
    font-size: clamp(20px, 15.185px + 1.235vw, 30px);
    font-weight: bold;
    margin-top: 0;
    line-height: clamp(20px, 15.185px + 1.235vw, 30px);
    color: var(--accent-yellow)
}

.custom-txt2 {
    font-size: 12px;
    font-weight: normal;
    margin-top: 1rem;
}

.custom-txt3 {
    font-size: 14px;
    font-weight: normal;
    margin-top: 3rem;
}

/* スマートフォン */
@media (max-width: 400px) {
    .custom-subtitle {
        margin: 4rem 0;

    }

    .custom-two-column {
        flex-direction: column;
        gap: 1rem;
        margin-bottom: 5rem;
    }

    .custom-txt3 {
        margin-top: 2rem;
    }

}




/* =========== Grid（PC4列 / SP・Tab2列） =========== */
.car-grid {
    --gap-sp: 16px;
    --gap-pc: 24px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* SP/Tab：2列 */
    gap: var(--gap-sp);
    margin-top: 3rem;
}

@media (min-width: 1024px) {
    .car-grid {
        grid-template-columns: repeat(4, 1fr);
        /* PC：4列 */
        gap: var(--gap-pc);
    }
}

/* =========== Card 基本（高さ揃え） =========== */
.car-card {
    background: #fff;
    display: flex;
    flex-direction: column;
    height: 100%;
    /* Gridのセル高にストレッチ */
    padding: 16px;
    box-sizing: border-box;
}

/* =========== Media（画像：そのまま表示、切り抜きしない） =========== */
.car-card__media {
    margin: 0 0 12px;
    width: 100%;
    /* 高さ指定を外す → 画像本来の比率で表示 */
    height: auto;
}

.car-card__media img {
    width: 100%;
    /* 横幅100%にフィット */
    height: auto;
    /* 縦横比を維持 */
    display: block;
}

/* =========== Body =========== */
.car-card__body {
    display: flex;
    flex-direction: column;
    gap: 5px;
    flex: 1 1 auto;
}

/* ラベル行（車種） */
.car-card__label {
    margin: 0;
    font-size: 1.3rem;
    line-height: 1.5;
    word-break: break-word;
    /* 折り返し許可 */
}

.car-card__label-key {
    font-weight: 700;
    margin-right: .5em;
    color: var(--accent-yellow);
}

.car-card__label-val {
    font-weight: 700;
    letter-spacing: .05em;
}

/* メタ行（年式・距離） */
.car-card__meta {
    margin: 0;
    font-size: 1.3rem;
    line-height: 1.6;
}

.car-card__meta-key {
    font-weight: 700;
    margin-right: .25em;
    color: var(--accent-yellow);
}

.car-card__meta-val {
    margin-right: 1.2em;
}

/* 買取価格 バー（装飾のみ） */
.car-card__pricebar {
    margin-top: auto;
    /* ここから下をボトムに寄せる */
    background: #c8b54a;
    /* 画像に近い黄土色 */
    color: #fff;
    font-weight: 700;
    text-align: center;
    padding: 12px 8px;
    letter-spacing: .08em;
}

/* 価格（静的） */
.car-card__price {
    margin: 0;
    font-size: clamp(1.6rem, 5vw, 4rem);
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: .04em;
    color: #2a221c;
    /* 視認性の高い濃色 */
}

.car-card__price span {
    color: var(--accent-yellow);

}

/* 画像の“インナー100%指定”前提でカード内余白に合わせる */
.car-card__media,
.car-card__body,
.car-card__pricebar,
.car-card__price {
    width: 100%;
}




/* タブレット */
@media (max-width: 768px) {}

/* スマートフォン */
@media (max-width: 480px) {}

/* ========================================
   LEASINGセクション
   ======================================== */

/* タブレット */
@media (max-width: 768px) {}

/* スマートフォン */
@media (max-width: 480px) {}


/* ========================================
   CUSTOMセクション
   ======================================== */

/* タブレット */
@media (max-width: 768px) {}

/* スマートフォン */
@media (max-width: 480px) {}


/* ========================================
   DETAILボタン（2タイプ対応）
   ======================================== */
.detail-btn {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.6rem;
    font-weight: 600;
    padding: 1rem 2rem;
    border: 1px solid;
    border-radius: 2px;
    letter-spacing: 3px;
    transition: all 0.3s ease;
    text-decoration: none;
}

/* 白文字白線タイプ */
.detail-btn--white {
    color: #fff;
    border-color: #fff;
    background-color: transparent;
}

.detail-btn--white:hover {
    background-color: #fff;
    color: var(--text-primary);
}

.detail-btn--white:hover .detail-arrow {
    transform: translateX(8px);
}

/* 黒文字黒線タイプ */
.detail-btn--black {
    color: var(--text-primary);
    border-color: var(--text-primary);
    background-color: transparent;
}

.detail-btn--black:hover {
    background-color: var(--text-primary2);
    color: #fff;
}

.detail-btn--black:hover .detail-arrow {
    transform: translateX(8px);
}

.detail-arrow img {
    transition: transform 0.3s ease;
    height: 25px;
}


/* ========================================
   INVENTORYセクション
   ======================================== */
.inventory-section {
    padding: var(--section-padding) 0;
    background-color: #fff;
}

.inventory-header {
    margin-bottom: 5rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.inventory-header .section-title {
    /* color: #808080; */
    font-size: 8rem;
    /* デスクトップ */
    margin: 0;
    padding-bottom: 15px;
    line-height: 1;
}

.inventory-header div:nth-child(2) {
    font-size: 2rem;
    line-height: 1;
    font-weight: bold;
}

.inventory-section .kurumaerabi-link {
    margin-right: 0;
    margin-left: auto;
}

/* タブレット */
@media (max-width: 768px) {
    .inventory-header {
        gap: 1rem;
    }

    .inventory-header .section-title {
        font-size: 5rem;
        /* 8rem → 5rem */
    }

    .inventory-header div:nth-child(2) {
        font-size: 2rem;
        /* 3rem → 2rem */
    }
}

/* スマートフォン */
@media (max-width: 480px) {
    .inventory-header {
        gap: 0.8rem;
        display: flex;
        flex-wrap: wrap;
    }

    .inventory-header .section-title {
        font-size: 3rem;
        /* 8rem → 3rem */
    }

    .inventory-header div:nth-child(2) {
        font-size: 1.5rem;
        /* 3rem → 1.5rem */
    }
}

.external-icon {
    font-size: 1.2rem;
}

.inventory-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    margin-bottom: 5rem;
}

.inventory-card {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    cursor: pointer;
}

.inventory-card:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.inventory-image {
    width: 100%;
    aspect-ratio: 3/2;
    overflow: hidden;
}

.car-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.inventory-info {
    padding: 2rem;
}

.car-name {
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.car-details {
    font-size: 1.4rem;
    color: #666;
    margin-bottom: 1rem;
}

.car-price {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent-yellow);
}

/* ========================================
   サービスセクション
   ======================================== */
.service-section {
    background: linear-gradient(to bottom, var(--gradient-service-top), var(--gradient-service-bottom));
}

.service-container {
    padding: var(--section-padding) 0;
}

.service-item {
    padding: 4rem 0;
}

.service-content {
    display: flex;
    align-items: center;
    gap: 6rem;
}

.service-text {
    flex: 1;
    display: flex;
    align-items: flex-start;
    gap: 3rem;

    position: absolute;
    width: 60%;
    z-index: 2;
}

.service-number {
    font-family: "Lulo Clean One Bold", sans-serif;
    font-size: 10rem;
    font-weight: bold;
    color: rgba(255, 255, 255, 0.3);
    line-height: 1;
    min-width: 182px;
}

.service-info {
    flex: 1;
}

.service-category {
    font-size: 3.5rem;
    font-weight: bold;
    color: #fff;
    display: block;
}

.service-title {
    font-family: "Lulo Clean One Bold", sans-serif;
    font-size: 8rem;
    font-weight: bold;
    color: #fff;
    margin-bottom: 2rem;
    line-height: 1.2;
}

.service-description-title {
    font-size: 3rem;
    color: #fff;
    margin-bottom: 1rem;
}

.service-description-title span {
    color: var(--text-yellow);
}

.service-description {
    font-size: 1.6rem;
    color: #fff;
    line-height: 1.8;
    margin-bottom: 3rem;
    max-width: 60%;
}

.service-link {
    display: inline-block;
    font-size: 1.4rem;
    font-weight: 600;
    color: #fff;
    padding: 1.2rem 2.4rem;
    border: 2px solid #fff;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.service-link:hover {
    background-color: #fff;
    color: var(--text-primary);
}

.service-image {
    flex: 1;
    position: relative;
    width: 50%;
}

.service-image img {
    width: 100%;
    border-radius: 8px;
    width: inherit !important;
    margin-left: auto;
}

/* タブレット */
@media (max-width: 768px) {
    .service-content {
        flex-direction: column;
        /* 縦並びに変更 */
        gap: 2rem;
    }

    .service-text {
        position: static !important;
        /* absoluteを無効化 */
        width: 100% !important;
        /* 60%を無効化 */
        display: block !important;
        /* flexを無効化してシンプルに */
        margin-top: 100px;
        z-index: 10;
    }

    .service-image {
        width: 70vw;
        position: relative;
        margin-top: -200px;
        margin-left: auto;
        z-index: 0;
    }
}

/* スマートフォン */
@media (max-width: 480px) {

    .service-container {
        padding: 0;
    }

    .service-content {
        flex-direction: column;
        gap: 1rem;
        /* タブレットより狭く */
        padding-top: 0;
    }

    .service-text {
        position: static !important;
        width: 100% !important;
        display: block !important;
        margin-top: 50px;
        /* タブレットの100pxより小さく */
        z-index: 10;
    }

    .service-item {
        padding-top: 0;
    }

    .service-image {
        width: 85vw;
        /* タブレットの70vwより大きく */
        position: relative;
        margin-top: -120px;
        /* タブレットの-200pxより小さく */
        margin-left: auto;
        z-index: 0;
    }

    /* フォントサイズもモバイル向けに調整 */
    .service-number {
        font-size: 4rem;
        /* 10remから縮小 */
        min-width: auto;
    }

    .service-category {
        font-size: 2rem;
        /* 3.5remから縮小 */
    }

    .service-title {
        font-size: 3rem;
        /* 8remから大幅縮小 */
        margin-bottom: 1rem;
    }

    .service-description-title {
        font-size: 1.5rem;
        /* 3remから縮小 */
    }

    .service-description {
        font-size: 1.2rem;
        /* 1.6remから縮小 */
        max-width: 100%;
        /* 60%から100%に */
        margin-bottom: 2rem;
    }
}

/* スタッフ・ロケーション・カンパニー共通 */
.container.staff-wrap {
    margin-top: 50px;
}

.container.location-wrap,
.container.company-wrap {
    margin-top: 100px;
}

/* スタッフセクション */
.staff-section {
    background: linear-gradient(to bottom, var(--gradient-location-top), var(--gradient-location-bottom));
    padding: 6rem 0;
}

.staff-logo {
    max-width: 230px;
    margin: 0 auto;
}

.staff-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
}

.staff-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #fff;
}

.staff-info {
    border-top: 2px solid var(--text-yellow);
    border-bottom: 2px solid var(--text-yellow);
    padding: 20px 0;
}

.staff-name {
    line-height: 1.2rem;
    margin-bottom: 15px;
}

.staff-name span {
    color: var(--text-yellow);
}

.staff-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* ========================================
   LOCATIONセクション
   ======================================== */
.location-section {
    background: linear-gradient(to bottom, var(--gradient-location-top), var(--gradient-location-bottom));
    padding: var(--section-padding) 0;
}

.location-header {
    text-align: center;
}

.location-header .section-title {
    color: #404040;
    text-align: center;
    position: relative;
    bottom: -44px;
}

.location-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    width: 60%;
    margin: 0 auto;
    z-index: 10;
    position: relative;
}

.location-item {
    display: flex;
    gap: 4rem;
    align-items: flex-start;
}

.location-image {
    max-width: 300px;
}

.location-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.location-placeholder {
    width: 100%;
    height: 100%;
    background-color: #666;
}

.location-info {
    flex: 1;
    color: #fff;
}

.location-name {
    font-size: 2.4rem;
    font-weight: 600;
    color: var(--text-yellow);
    margin-bottom: 2rem;
}

.location-details {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 3rem;
}

.location-details p {
    margin-bottom: 1rem;
    font-size: 1.4rem;
    line-height: 1.6;
}

.location-details>div {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.location-details li {
    list-style: none;
    margin: 0;
    padding: 0;
}

.location-details li:first-child {
    width: 30%;
    color: var(--text-yellow);
}

.location-details li:nth-child(2) {
    width: 70%;
}





/* ========================================
   COMPANY PROFILEセクション
   ======================================== */
.company-section {
    background: linear-gradient(to bottom, var(--gradient-location-top), var(--gradient-location-bottom));
    padding: var(--section-padding) 0;
}


.company-content {
    max-width: 500px;
    margin: 0 auto;
}

.company-details {
    margin-top: -10px;
    z-index: 10;
    position: relative;
}

.detail-row {
    display: flex;
    margin-bottom: 15px;
    align-items: flex-start;
    /* 複数行テキスト対応 */
}

.detail-row:last-child {
    margin-bottom: 0;
}

.detail-row dt {
    flex-basis: 120px;
    /* 固定幅 */
    flex-shrink: 0;
    /* 縮小禁止 */
    font-weight: bold;
    color: var(--text-yellow);
    margin: 0;
}

.detail-row dd {
    flex: 1;
    color: #fff;
    margin: 0;
    line-height: 1.6;
}

/* ========================================
   お問い合わせセクション（既存）
   ======================================== */
.contact {
    padding: 80px 0;
    background-color: #fafafa;
}

.contact .section-title {
    text-align: center;
}

.contact__content {
    max-width: 600px;
    margin: 0 auto;
}

.contact__form {
    background-color: #fff;
    padding: 4rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 3rem;
}

.form-label {
    display: block;
    font-size: 1.4rem;
    font-weight: 500;
    margin-bottom: 1rem;
    color: #333;
}

.required {
    color: #ff6b35;
    font-weight: 700;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 1.2rem 1.5rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1.4rem;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: #ff6b35;
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.form-submit {
    background-color: #ff6b35;
    color: #fff;
    border: none;
    padding: 1.5rem 4rem;
    font-size: 1.6rem;
    font-weight: 500;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: 100%;
}

.form-submit:hover {
    background-color: #e55a2b;
}

/* ========================================
   フッター（既存）
   ======================================== */
.footer {
    color: #000;
    padding: 4rem 0 2rem;
}

.footer__content {
    text-align: center;
}

.footer__nav {
    margin-bottom: 3rem;
}

.footer__nav-list {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.footer__nav-link {
    font-family: "Noto Sans JP", sans-serif;
    font-size: 1.4rem;
    font-weight: 400;
    transition: color 0.3s ease;
}

.footer__nav-link:hover {
    color: #ff6b35;
}

.footer__brand {
    margin-bottom: 2rem;
}

.footer__brand-name {
    font-family: "Noto Sans JP", sans-serif;
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    margin: auto;
    max-width: 235px;
}

.footer__copyright {
    font-size: 1.2rem;
    color: #999;
}

/* ========================================
   アクティブナビゲーション
   ======================================== */
.nav__link.active {
    color: #ff6b35;
}

.nav__link.active::after {
    width: 100%;
}

.mobile-menu__link.active {
    color: #ff6b35;
}

/* ========================================
   ユーティリティクラス
   ======================================== */

.text-truncate {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.text-truncate-2 {
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.show-pc {
    display: block;
}

.show-mobile {
    display: none;
}

@media screen and (max-width: 767px) {
    .show-pc {
        display: none;
    }

    .show-mobile {
        display: block;
    }
}

/* ========================================
   レスポンシブデザイン
   ======================================== */

/* タブレット (768px - 1199px) */
@media screen and (max-width: 1199px) {
    :root {
        --section-padding: 80px;
    }

    .container {
        max-width: 100%;
        padding: 0 30px;
    }

    .section-title {
        font-size: 2.4rem;
        margin-bottom: 3rem;
    }

    /* PCヘッダー調整 */
    .gnav nav ul {
        gap: 20px !important;
    }

    .gnav nav {
        /* right: 180px !important; */
    }

    .gnav.global-nav {
        width: calc(100% - 40px) !important;
        margin: 0 20px !important;
    }

    /* ヒーローセクション */
    .hero-logo-img {
        width: 60%;
    }

    /* NEWSセクション */
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
    }

    /* INVENTORYセクション */
    .inventory-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
    }

    /* サービスセクション */
    .service-content {
        gap: 4rem;
    }

    .service-number {
        font-size: 6rem;
    }

    .service-title {
        font-size: 3rem;
    }

    /* スタッフセクション */
    .staff-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    /* LOCATIONセクション */
    .location-item {
        gap: 3rem;
    }

    .location-image {
        width: 250px;
        height: 170px;
    }
}

@media screen and (max-width: 1024px) {

    /* タブレット用調整 */
    .gnav nav ul li a {
        font-size: 14px !important;
    }

    .gnav nav {
        right: 160px !important;
    }

    .gnav nav ul {
        gap: 10px !important;
    }

    .gnav.global-nav {
        width: calc(100% - 20px) !important;
        margin: 0 10px !important;
    }
}

/* スマートフォン (480px以下) */
@media screen and (max-width: 480px) {
    :root {
        --section-padding: 60px;
    }

    main {
        margin-top: 70px;
    }

    .container {
        padding: 0 20px;
    }

    /* 基本設定 */
    .section-title {
        font-size: 3.2rem;
        text-align: center;
    }

    .section-subtitle {
        font-size: 1.2rem;
        text-align: center;
    }

    /* ヘッダー - モバイル専用スタイル */
    .header {
        transition: all 0.3s ease !important;
    }

    .header__inner {
        background-color: #fff;
        border-radius: 0 !important;
        padding: 0 20px;
        height: 70px !important;
        box-shadow: 0 0px 10px 0 rgba(0, 0, 0, 0.1);
        transition: all 0.3s ease !important;
    }

    .header.scrolled .header__inner {
        height: 55px !important;
        padding-top: 5px;
        padding-bottom: 5px;
    }

    .header__nav {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    /* ヒーローセクション */
    .hero-section {
        aspect-ratio: 390 / 219;
        width: 100%;
        height: auto;
        }

    .hero-bg {
        background-attachment: scroll;
        /* モバイルでパララックス無効 */
    }

    .hero-logo-img {
        width: 70%;
    }

    /* NEWSセクション */
    .news-section {
        padding: var(--section-padding) 0;
    }

    .news-header {
        margin-bottom: 4rem;
    }

    .news-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-bottom: 4rem;
    }

    .news-card-content {
        padding: 1.5rem;
    }

    .news-title {
        font-size: 1.4rem;
    }

    .news-excerpt {
        font-size: 1.3rem;
    }

    .news-detail-btn,
    .detail-btn {
        font-size: 1.4rem;
        padding: 1.2rem 2.5rem;
    }

    /* INVENTORYセクション */
    .inventory-header {
        margin-bottom: 4rem;
    }

    .inventory-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .inventory-info {
        padding: 1.5rem;
    }

    .car-name {
        font-size: 1.4rem;
    }

    .car-details {
        font-size: 1.3rem;
    }

    .car-price {
        font-size: 1.6rem;
    }

    /* サービスセクション */

    .service-content {
        flex-direction: column;
        gap: 3rem;
    }

    .service-text {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }

    .service-number {
        font-size: 5rem;
        align-self: center;
    }

    .service-title {
        font-size: 2.5rem;
    }

    .service-description {
        font-size: 1.4rem;
    }

    /* スタッフセクション */
    .staff-section {
        padding: 4rem 0;
    }

    .staff-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    /* LOCATIONセクション */
    .location-header {
        margin-bottom: 4rem;
    }

    .location-grid {
        gap: 3rem;
        width: 80%;
    }

    .location-item {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
        margin-bottom: 5rem;
    }

    .location-image {
        width: 100%;
        height: unset;
        align-self: center;
    }

    .location-name {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }

    .location-details p {
        font-size: 1.3rem;
    }

    .location-info {
        width: 100%;
        text-align: left;
    }

    /* COMPANY PROFILEセクション */
    .company-header {
        margin-bottom: 4rem;
    }

    .company-details dt {
        flex-basis: 100px;
        font-size: 1.4rem;
        padding-top: 2rem;
    }

    .company-details dd {
        font-size: 1.4rem;
    }

    /* 既存のセクション（互換性維持） */
    .hero {
        min-height: 80vh;
        padding-bottom: 60px;
    }

    .hero,
    .concept,
    .story,
    .products,
    .durability,
    .usage,
    .contact {
        padding: 60px 0;
    }

    .hero__content {
        flex-direction: column;
        gap: 3rem;
        text-align: center;
    }

    .hero__title {
        font-size: 3.6rem;
    }

    .hero__subtitle {
        font-size: 1.8rem;
    }

    .concept__content,
    .story__content,
    .durability__content,
    .usage__content {
        flex-direction: column;
        gap: 3rem;
    }

    .product {
        flex-direction: column;
        gap: 3rem;
        margin-bottom: 6rem;
    }

    .contact__form {
        padding: 3rem 2rem;
    }

    .footer__nav-list {
        flex-direction: column;
        gap: 2rem;
    }
}

/* 極小スマートフォン (480px以下) */
@media screen and (max-width: 480px) {
    .section-title {
        font-size: 2.8rem;
    }

    .hero-logo-img {
        width: 80%;
    }

    .service-number {
        font-size: 4rem;
    }

    .service-title {
        font-size: 2rem;
    }

    .news-card-content,
    .inventory-info {
        padding-top: 0 !important;
        padding: 1.2rem;
    }

    .hero__title {
        font-size: 3.2rem;
    }

    .contact__form {
        padding: 2.5rem 1.5rem;
    }

    .form-submit {
        padding: 1.2rem 3rem;
        font-size: 1.4rem;
    }
}

/* ========================================
   アニメーション & エフェクト
   ======================================== */

/* パララックス効果（PCのみ） */
@media screen and (min-width: 768px) {
    .hero-bg {
        background-attachment: fixed;
        transform: translateZ(0);
        /* GPU加速 */
    }
}

/* スムーススクロール */
html {
    scroll-behavior: smooth;
}

/* フォーカス対応 */
.news-card-link:focus,
.service-link:focus,
.news-detail-btn:focus,
.detail-btn:focus {
    outline: 2px solid var(--accent-yellow);
    outline-offset: 2px;
}

/* ========================================
   アニメーション・トランジション（既存）
   ======================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.animate-in.visible {
    opacity: 1;
    transform: translateY(0);
}


/* ========================================
   国旗ボタンのテスト用スタイル（main.cssに追加）
   ======================================== */

/* 国旗ボタンのクリック領域を明確化 */
.language-flag {
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    border-radius: 4px;
    transition: all 0.3s ease;
    opacity: 0.6;
    position: relative;
    min-width: 32px;
    min-height: 24px;
}

/* ホバー効果の強化 */
.language-flag:hover {
    opacity: 1 !important;
    background-color: rgba(255, 255, 255, 0.2) !important;
    transform: scale(1.1);
}

/* アクティブ状態の明確化 */
.language-flag[aria-pressed="true"] {
    opacity: 1 !important;
    /* border: 2px solid #c0b746 !important; */
    background-color: rgba(192, 183, 70, 0.2) !important;
}

/* クリック時のフィードバック */
.language-flag:active {
    transform: scale(0.95);
}

/* 国旗画像のスタイル調整 */
.language-flag img {
    display: block;
    border-radius: 2px;
    pointer-events: none;
    /* 画像自体のクリックイベントを無効 */
}

/* モバイル用タッチ領域の拡大 */
@media screen and (max-width: 767px) {
    .language-flag {
        padding: 8px;
        min-width: 36px;
        min-height: 28px;
    }
}

.goog-te-combo {
    display: block !important;
}

/* Google翻訳ウィジェットを完全に隠す */
iframe.skiptranslate {
    display: none;
}

#google_translate_element {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    position: absolute !important;
    left: -9999px !important;
    top: -9999px !important;
}

/* 翻訳中でもbodyの位置を調整 */
body {
    top: 0 !important;
    position: relative !important;
}


/* アクティブ状態のスタイル（JS適用の補完） */
.pc-nav-link.is-active,
.mobile-nav-link.is-active {
    color: #ffff00 !important;
    font-weight: bold !important;
}

/* メニューオープン時のbody */
body.menu-open {
    overflow: hidden;
}
