/* ========================================
   G-SHOWROOM トップページ
   - ヒーロー
   - Mission
   - Stock
   - User Voice
   - News
   ======================================== */

/* ========================================
   ヒーローセクション - 左白背景・右画像
   ======================================== */
.hero {
    position: relative;
    background-color: var(--color-cream);
    padding: 40px 40px 0 0;
}

.hero__container {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 0;
}

/* 左側：ナビゲーションエリア（白背景） */
.hero__nav-area {
    background-color: var(--color-cream);
    padding-top: 180px;
    position: relative;
}

.side-nav {
    position: relative;
}

.side-nav__line {
    position: absolute;
    left: 0;
    top: 0;
    width: 3px;
    height: 250px;
    background-color: var(--color-primary);
}

.side-nav__list {
    padding-left: 40px;
}

.side-nav__list li {
    margin-bottom: 8px;
}

.side-nav__link {
    font-family: var(--font-en);
    font-weight: 700;
    font-size: 18px;
    color: var(--color-primary);
}

.side-nav__sns {
    display: flex;
    gap: 8px;
    padding-left: 40px;
    margin-top: 16px;
}

.side-nav__sns img {
    width: 20px;
    height: 20px;
}

/* 右側：スライダーエリア */
.hero__main {
    position: relative;
    overflow: visible;
}

.hero__slider {
    position: relative;
    width: 100%;
    height: 650px;
    border-radius: 0 0 0 25px;
    overflow: hidden;
}

.hero__slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.7s ease; /* スライダー用にゆっくり */
}

.hero__slide--active {
    opacity: 1;
}

.hero__slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* キャッチコピー */
.hero__catch {
    position: absolute;
    left: -180px; /* ナビエリア幅分戻してページ端から開始 */
    bottom: 0;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero__catch-line {
    background-color: var(--color-cream);
    display: inline-flex;
    align-items: center;
    padding: 15px 60px;
    border-radius: 0 25px 0 0;
    height: 100px;
    box-sizing: border-box;
}

.hero__catch-line--second {
    margin-top: -1px;
    border-radius: 0 25px 0 0;
}

/* 3行目はPCでは非表示 */
.hero__catch-line--third {
    display: none;
}

.hero__catch-text {
    font-family: var(--font-ja);
    font-weight: 700;
    /* 1400px: 60px → 1024px: 36px で滑らかに変化 */
    font-size: clamp(36px, calc(-29.3px + 6.38vw), 60px);
    color: var(--color-text);
    line-height: 1;
}

.hero__catch-text--small {
    /* 1400px: 50px → 1024px: 30px で滑らかに変化 */
    font-size: clamp(30px, calc(-24.5px + 5.32vw), 50px);
}

.hero__catch-text--accent {
    color: var(--color-primary-dark);
}

/* スライダーインジケーター - 画像下の白背景エリア */
.hero__indicators {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    padding: 30px 30px 30px 0;
}

.hero__indicator {
    display: block;
    width: 25px;
    height: 6px;
    background-color: var(--color-gray);
    border-radius: 3px;
    cursor: pointer;
    transition: all var(--transition-fast);
    border: none;
    padding: 0;
}

.hero__indicator--active {
    width: 40px;
    background-color: var(--color-primary-dark);
}

/* ========================================
   Missionセクション
   ======================================== */
.mission {
    background-color: var(--color-cream);
    padding: var(--space-2xl) 0 0 0;
}

.mission__inner {
    background-color: var(--color-primary);
    border-radius: 0 var(--radius-2xl) var(--radius-2xl) 0;
    padding: var(--space-2xl) var(--space-3xl) var(--space-2xl) 0;
    margin-right: var(--space-xl);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: center;
}

.mission__images {
    display: flex;
    justify-content: center;
    align-items: center;
}

.mission__images img {
    width: 100%;
    max-width: 600px;
    height: auto;
}

.mission__content {
    color: var(--color-white);
}

.mission__title-area {
    margin-bottom: 40px;
    text-align: center;
}

.mission__title-decoration {
    display: flex;
    justify-content: center;
}

.mission__title-decoration img {
    height: auto;
    max-width: 100%;
}

.mission__heading {
    font-size: 28px;
    font-weight: 700;
    line-height: 1.6;
    margin-bottom: 24px;
}

.mission__text {
    font-size: 18px;
    line-height: 2.2;
}

/* ========================================
   Stockセクション
   ======================================== */
.stock {
    background-color: var(--color-cream);
    padding: var(--space-2xl) 0 0 0;
}

.stock__inner {
    position: relative;
    background-color: var(--color-primary);
    padding: var(--space-3xl) var(--space-xl);
}

/* 四隅の装飾 */
.stock__frame-tl,
.stock__frame-tr,
.stock__frame-bl,
.stock__frame-br {
    position: absolute;
    width: 290px;
    height: 80px;
    z-index: 1;
}

.stock__frame-tl img,
.stock__frame-tr img,
.stock__frame-bl img,
.stock__frame-br img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.stock__frame-tl {
    top: 130px;
    left: 40px;
}

.stock__frame-tr {
    top: 130px;
    right: 40px;
}

.stock__frame-bl {
    bottom: 90px;
    left: 40px;
}

.stock__frame-br {
    bottom: 90px;
    right: 40px;
}

.stock__header {
    margin-bottom: var(--space-2xl);
    text-align: center;
    position: relative;
    z-index: 2;
}

.section-title-decoration {
    text-align: center;
}

.stock__card-container {
    position: relative;
    z-index: 2;
    background-color: var(--color-white);
    border-radius: var(--radius-sm);
    padding: var(--space-xl);
    box-shadow: var(--shadow-md);
    max-width: 1320px;
    margin: 0 auto;
}

.stock__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
}

/* 車両カード（トップページ固有） */
.car-card__image {
    width: 100%;
    height: 190px;
    border-radius: var(--radius-md);
    margin-bottom: 12px;
}

.car-card__image--no-photo {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #e5e5e5;
}

.car-card__image--no-photo::before {
    content: "NO IMAGE";
    font-size: 14px;
    color: #999;
    letter-spacing: 0.05em;
}

.car-card__name {
    font-size: 20px;
    margin-bottom: 8px;
    line-height: 1.3;
    border-left: 4px solid var(--color-primary);
    padding-left: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.car-card__name-en {
    font-family: var(--font-en);
}

.car-card__specs {
    gap: 5px;
}

.car-card__spec {
    display: flex;
    align-items: center;
    gap: 10px;
}

.car-card__spec-label {
    display: inline-block;
    background-color: rgba(40, 172, 221, 0.6);
    color: var(--color-white);
    font-size: 13px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 2px;
    min-width: 60px;
    text-align: center;
}

.car-card__spec-value {
    font-size: 16px;
    font-weight: 700;
}

/* View Moreボタン - 青背景の上に配置 */
.stock__more {
    position: relative;
    z-index: 2;
    text-align: center;
    margin-top: 40px;
}

/* ========================================
   User Voiceセクション
   ======================================== */
.user-voice {
    background-color: var(--color-cream);
    padding: var(--space-2xl) 0;
}

.user-voice__bg {
    position: relative;
    background-color: var(--color-primary);
    padding: var(--space-3xl) var(--space-xl);
    overflow: hidden;
}

/* ストライプ背景 */
.user-voice__stripe {
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(
        90deg,
        rgba(255, 255, 255, 0.15) 0px,
        rgba(255, 255, 255, 0.15) 71px,
        transparent 71px,
        transparent 148px
    );
    pointer-events: none;
}

.user-voice__inner {
    position: relative;
    max-width: 1320px;
    margin: 0 auto;
}

.user-voice__header {
    margin-bottom: var(--space-2xl);
    text-align: center;
}

.user-voice__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
    margin-bottom: 50px;
    align-items: start;
}

/* 口コミカード */
.voice-card {
    background-color: var(--color-white);
    border-radius: var(--radius-sm);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
    min-height: 400px;
}

.voice-card--offset {
    margin-top: 20px;
}

.voice-card__image {
    margin: 10px 10px 0 10px;
    height: 170px;
    overflow: hidden;
    flex-shrink: 0;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f5f5f5;
}

.voice-card__image img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 5px;
}

.voice-card__image--no-photo {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #e5e5e5;
}

.voice-card__image--no-photo::before {
    content: "NO IMAGE";
    font-size: 14px;
    color: #999;
    letter-spacing: 0.05em;
}

.voice-card__content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.voice-card__date {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    margin-bottom: 10px;
}

.voice-card__date-bar {
    display: block;
    width: 4px;
    height: 12px;
    background-color: var(--color-primary);
    border-radius: 2px;
}

.voice-card__text {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.5;
    flex: 1;
}

.voice-card__more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-script);
    font-size: 30px;
    color: var(--color-primary);
    margin-top: auto;
    padding-top: 15px;
    width: 100%;
}

.voice-card__more img {
    width: 24px;
    height: 24px;
    margin-top: 6px;
}

.user-voice__more {
    text-align: center;
}

/* ========================================
   Newsセクション
   ======================================== */
.news {
    background-color: var(--color-primary);
    padding: var(--space-2xl) 0;
}

.news__bg {
    position: relative;
    background-color: var(--color-white);
    padding: var(--space-3xl) var(--space-xl);
    margin: 0 var(--space-xl);
}

/* 上部の横幅いっぱいの弧 */
.news__bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 10px;
    background-color: var(--color-primary);
    border-radius: 0 0 50% 50% / 0 0 100% 100%;
}

/* 下部の横幅いっぱいの弧 */
.news__bg::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 10px;
    background-color: var(--color-primary);
    border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}

.news__inner {
    position: relative;
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: var(--space-2xl);
    max-width: 1320px;
    margin: 0 auto;
}

.news__left {
    padding-top: 60px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.news__title-decoration {
    margin-bottom: 20px;
}

.news__title-decoration img {
    max-width: 100%;
    height: auto;
}

.news__more-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-script);
    font-size: 30px;
    color: var(--color-primary);
    background-color: transparent;
    border: 1px solid var(--color-primary);
    border-radius: 5px;
    padding: 10px 25px;
    margin-top: 30px;
    transition: background-color var(--transition-fast);
}

.news__more-btn:hover {
    opacity: 1;
    background-color: rgba(41, 171, 221, 0.1);
}

.news__more-btn img {
    width: 24px;
    height: 24px;
    margin-top: 6px;
}

.news__right {
    padding: 20px 0;
}

.news__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

/* ニュースカード */
.news-card {
    display: flex;
    gap: var(--space-md);
    background-color: var(--color-white);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    box-shadow: var(--shadow-md);
}

.news-card__image {
    width: 240px;
    height: 145px;
    border-radius: var(--radius-md);
    overflow: hidden;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f5f5f5;
}

.news-card__image img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.news-card__image--no-photo {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #e5e5e5;
}

.news-card__image--no-photo::before {
    content: "NO IMAGE";
    font-size: 14px;
    color: #999;
    letter-spacing: 0.05em;
}

.news-card__content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-card__date {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: var(--color-text);
    margin-bottom: 8px;
}

.news-card__date-bar {
    display: block;
    width: 4px;
    height: 12px;
    background-color: var(--color-primary);
    border-radius: 2px;
}

.news-card__text {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-text);
    line-height: 1.5;
    flex: 1;
}

.news-card__more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-script);
    font-size: 30px;
    color: var(--color-primary);
    margin-top: auto;
    margin-left: auto;
}

.news-card__more img {
    width: 24px;
    height: 24px;
    margin-top: 6px;
}

/* ========================================
   レスポンシブ（タブレット 1024px以下）
   ======================================== */
@media (max-width: 1024px) {
    /* Stock：四隅装飾のはみ出しで横スクロールが出ないようにする */
    .stock__inner {
        overflow-x: hidden;
    }

    /* ヒーロー */
    .hero {
        padding: 10px 10px 10px 0;
        min-height: auto;
    }

    .hero__container {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .hero__nav-area {
        display: none;
    }

    .hero__slider {
        height: 440px;
        border-radius: 0 0 0 20px;
    }

    .hero__catch {
        left: 0;
        bottom: -15px;
    }

    .hero__catch-line {
        padding: 8px 20px;
        border-radius: 0 20px 0 0;
        height: 50px;
    }

    .hero__catch-line--second {
        border-radius: 0 20px 0 0;
    }

    /* 3行目を表示、2行目の「アメリカ車」を非表示 */
    .hero__catch-text--pc-only {
        display: none;
    }

    .hero__catch-line--third {
        display: inline-flex;
        border-radius: 0 20px 0 0;
    }

    .hero__indicators {
        padding: 15px 10px;
        gap: 5px;
    }

    .hero__indicator {
        width: 20px;
        height: 6px;
    }

    .hero__indicator--active {
        width: 30px;
    }

    /* Mission */
    .mission__inner {
        display: flex;
        flex-direction: column;
        padding: 50px 30px 30px 0;
        margin-right: 30px;
        gap: 30px;
    }

    .mission__images {
        order: 2;
        margin-left: 0;
        margin-right: 0;
        justify-content: flex-start;
    }

    .mission__images picture,
    .mission__images img {
        width: 100%;
        max-width: none;
        border-radius: 0 0 0 20px;
    }

    .mission__content {
        padding-right: 20px;
        padding-left: 30px;
    }

    /* Stock */
    .stock__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* 四隅の装飾 */
    .stock__frame-tl,
    .stock__frame-tr,
    .stock__frame-bl,
    .stock__frame-br {
        width: 180px;
        height: 60px;
    }

    .stock__frame-tl {
        top: 120px;
        left: -20px;
    }

    .stock__frame-tr {
        top: 120px;
        right: -20px;
    }

    .stock__frame-bl {
        bottom: 80px;
        left: -20px;
    }

    .stock__frame-br {
        bottom: 80px;
        right: -20px;
    }

    /* User Voice */
    .user-voice__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* News */
    .news__bg::before,
    .news__bg::after {
        height: 5px;
    }

    .news__inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .news__left {
        padding-top: 0;
        display: contents;
    }

    .news__title-decoration {
        margin-bottom: 10px;
        order: 1;
    }

    .news__more-btn {
        order: 3;
        margin-top: 0;
        align-self: center;
    }

    .news__right {
        padding: 0;
        order: 2;
    }

    .news__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .news-card {
        flex-direction: column;
        padding: 0;
        border-radius: 8px;
        box-shadow: none;
        background: transparent;
    }

    .news-card__image {
        width: 100%;
        height: 96px;
        border-radius: 8px;
    }

    .news-card__content {
        padding: 10px 0;
    }

    .news-card__date {
        font-size: 14px;
        margin-bottom: 6px;
    }

    .news-card__text {
        font-size: 16px;
        line-height: 1.6;
    }

    .news-card__more {
        display: none;
    }
}

/* ========================================
   News のみ 1025〜1280px（レイアウト崩れ防止）
   ======================================== */
@media (min-width: 1025px) and (max-width: 1280px) {
    /* News */
    .news__bg::before,
    .news__bg::after {
        height: 5px;
    }

    .news__inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .news__left {
        padding-top: 0;
        display: contents;
    }

    .news__title-decoration {
        margin-bottom: 10px;
        order: 1;
    }

    .news__more-btn {
        order: 3;
        margin-top: 0;
        align-self: center;
    }

    .news__right {
        padding: 0;
        order: 2;
    }

    .news__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .news-card {
        flex-direction: column;
        padding: 0;
        border-radius: 8px;
        box-shadow: none;
        background: transparent;
    }

    .news-card__image {
        width: 100%;
        height: 96px;
        border-radius: 8px;
    }

    .news-card__content {
        padding: 10px 0;
    }

    .news-card__date {
        font-size: 14px;
        margin-bottom: 6px;
    }

    .news-card__text {
        font-size: 16px;
        line-height: 1.6;
    }

    .news-card__more {
        display: none;
    }
}

/* ========================================
   レスポンシブ（モバイル 768px以下）
   ======================================== */
@media (max-width: 768px) {
    /* ヒーロー */
    .hero__catch-text {
        /* 768px: 30px → 390px: 24px で滑らかに変化 */
        font-size: clamp(24px, calc(17.8px + 1.59vw), 30px);
    }

    .hero__catch-text--small {
        /* 768px: 24px → 390px: 20px で滑らかに変化 */
        font-size: clamp(20px, calc(15.86px + 1.06vw), 24px);
    }

    /* Mission */
    .mission {
        padding-top: 40px;
    }

    .mission__inner {
        display: flex;
        flex-direction: column;
        padding: 40px 10px 10px 0;
        border-radius: 0 20px 20px 0;
        margin-right: 10px;
        gap: 30px;
    }

    .mission__content {
        padding-right: 20px;
        padding-left: 30px;
    }

    .mission__images {
        order: 2;
        margin-left: 0;
        margin-right: 0;
    }

    .mission__images picture,
    .mission__images img {
        width: 100%;
        border-radius: 0 0 0 20px;
    }

    .mission__title-area {
        margin-bottom: 30px;
    }

    .section-title--sp {
        font-size: 72px;
    }

    .mission__heading {
        font-size: 20px;
        line-height: 1.7;
        margin-bottom: 20px;
    }

    .mission__text {
        font-size: 16px;
        line-height: 2.1;
    }

    /* Stock */
    .stock {
        padding-top: 40px;
    }

    .stock__inner {
        padding: 60px 10px;
    }

    .stock__header {
        margin-bottom: 40px;
    }

    .stock__card-container {
        padding: 20px 10px;
        border-radius: 5px;
    }

    /* 四隅の装飾 */
    .stock__frame-tl,
    .stock__frame-tr,
    .stock__frame-bl,
    .stock__frame-br {
        width: 120px;
        height: 40px;
    }

    .stock__frame-tl {
        top: 100px;
        left: -20px;
    }

    .stock__frame-tr {
        top: 100px;
        right: -20px;
    }

    .stock__frame-bl {
        bottom: 60px;
        left: -20px;
    }

    .stock__frame-br {
        bottom: 60px;
        right: -20px;
    }

    .stock__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .car-card__image {
        height: 104px;
        border-radius: 8px;
        margin-bottom: 8px;
    }

    .car-card__name {
        font-size: 15px;
        margin-bottom: 6px;
        line-height: 1.4;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .car-card__specs {
        gap: 3px;
    }

    .car-card__spec-label {
        font-size: 11px;
        padding: 3px 6px;
        min-width: 50px;
    }

    .car-card__spec-value {
        font-size: 14px;
    }

    .stock__more {
        margin-top: 30px;
    }

    /* User Voice */
    .user-voice {
        padding: 40px 0;
    }

    .user-voice__bg {
        padding: 60px 10px;
    }

    /* モバイル用ストライプ */
    .user-voice__stripe {
        background-image: repeating-linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.15) 0px,
            rgba(255, 255, 255, 0.15) 34px,
            transparent 34px,
            transparent 71px
        );
    }

    .user-voice__header {
        margin-bottom: 40px;
    }

    .user-voice__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        margin-bottom: 40px;
    }

    .voice-card {
        min-height: 320px;
        border-radius: 5px;
    }

    .voice-card--offset {
        margin-top: 20px;
    }

    .voice-card__image {
        margin: 10px 10px 0 10px;
        height: 92px;
        border-radius: 5px;
    }

    .voice-card__content {
        padding: 12px;
    }

    .voice-card__date {
        font-size: 14px;
        margin-bottom: 8px;
    }

    .voice-card__text {
        font-size: 16px;
        line-height: 1.6;
    }

    .voice-card__more {
        display: none;
    }

    /* News */
    .news {
        padding: 40px 0;
    }

    .news__bg {
        padding: 60px 10px;
        margin: 0 10px;
        border-radius: 0;
    }

    .news__bg::before,
    .news__bg::after {
        height: 10px;
    }

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

    .news__left {
        padding-top: 0;
        display: contents;
    }

    .news__title-decoration {
        margin-bottom: 10px;
        order: 1;
    }

    .news__more-btn {
        order: 3;
        margin-top: 0;
        font-size: 32px;
        padding: 8px 20px;
        height: 50px;
        width: 180px;
        align-self: center;
        justify-content: center;
        white-space: nowrap;
    }

    .news__right {
        padding: 0;
        order: 2;
    }

    .news__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .news-card {
        flex-direction: column;
        padding: 0;
        border-radius: 8px;
        box-shadow: none;
        background: transparent;
    }

    .news-card__image {
        width: 100%;
        height: 96px;
        border-radius: 8px;
    }

    .news-card__content {
        padding: 10px 0;
    }

    .news-card__date {
        font-size: 14px;
        margin-bottom: 6px;
    }

    .news-card__text {
        font-size: 16px;
        line-height: 1.6;
    }

    .news-card__more {
        display: none;
    }
}

/* ========================================
   レスポンシブ（390px未満：小さい端末対応）
   ======================================== */
@media (max-width: 390px) {
    /* ヒーロー */
    .hero {
        padding: 10px;
    }

    .hero__slider {
        height: 380px;
        border-radius: 0 0 0 15px;
    }

    .hero__catch {
        left: 0;
        bottom: -15px;
    }

    .hero__catch-line {
        padding: 6px 15px;
        border-radius: 0 15px 0 0;
        height: 42px;
    }

    .hero__indicators {
        padding: 12px 10px;
        gap: 4px;
    }

    .hero__indicator {
        width: 18px;
        height: 5px;
    }

    .hero__indicator--active {
        width: 26px;
    }

    /* Mission */
    .mission__inner {
        padding: 30px 10px 10px 0;
        margin-right: 10px;
        gap: 20px;
    }

    .mission__content {
        padding-right: 10px;
        padding-left: 20px;
    }

    .mission__heading {
        font-size: 18px;
        margin-bottom: 16px;
    }

    .mission__text {
        font-size: 14px;
        line-height: 2;
    }

    /* Stock */
    .stock__inner {
        padding: 50px 8px;
    }

    .stock__header {
        margin-bottom: 30px;
    }

    .stock__card-container {
        padding: 15px 8px;
    }

    /* 四隅の装飾 */
    .stock__frame-tl,
    .stock__frame-tr,
    .stock__frame-bl,
    .stock__frame-br {
        width: 100px;
        height: 35px;
    }

    .stock__frame-tl {
        top: 90px;
        left: -20px;
    }

    .stock__frame-tr {
        top: 90px;
        right: -20px;
    }

    .stock__frame-bl {
        bottom: 50px;
        left: -20px;
    }

    .stock__frame-br {
        bottom: 50px;
        right: -20px;
    }

    .stock__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .car-card__image {
        height: 90px;
    }

    .car-card__name {
        font-size: 14px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .car-card__spec-value {
        font-size: 13px;
    }

    /* User Voice */
    .user-voice__bg {
        padding: 50px 8px;
    }

    .user-voice__header {
        margin-bottom: 30px;
    }

    .user-voice__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
        margin-bottom: 30px;
    }

    .voice-card {
        min-height: 280px;
    }

    .voice-card--offset {
        margin-top: 15px;
    }

    .voice-card__image {
        height: 80px;
    }

    .voice-card__content {
        padding: 10px;
    }

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

    /* News */
    .news {
        padding: 30px 0;
    }

    .news__bg {
        padding: 50px 8px;
        margin: 0 5px;
    }

    .news__inner {
        display: flex;
        flex-direction: column;
        gap: 25px;
    }

    .news__left {
        padding-top: 0;
        display: contents;
    }

    .news__title-decoration {
        margin-bottom: 10px;
        order: 1;
    }

    .news__more-btn {
        order: 3;
        margin-top: 0;
        font-size: 30px;
        padding: 0 20px;
        height: 50px;
        width: auto;
        min-width: 200px;
        align-self: center;
        justify-content: center;
        white-space: nowrap;
    }

    .news__right {
        padding: 0;
        order: 2;
    }

    .news__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .news-card {
        flex-direction: column;
        padding: 0;
    }

    .news-card__image {
        width: 100%;
        height: 80px;
    }

    .news-card__content {
        padding: 8px 0;
    }

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

/* ========================================
   アクセシビリティ: アニメーション無効設定
   ======================================== */
@media (prefers-reduced-motion: reduce) {
    .hero__slide {
        transition: none;
    }
}
