@charset "UTF-8";

/* ============================
   CSS VARIABLES
   ============================ */
:root {
    --color-primary: #cc0000;
    --color-primary-dark: #a00000;
    --color-header-bg: #c0392b;
    --color-header-bg-scroll: rgba(192, 57, 43, 0.97);
    --color-text: #333;
    --color-text-light: #666;
    --color-text-muted: #999;
    --color-bg: #fff;
    --color-bg-gray: #f5f5f5;
    --color-bg-dark: #1a1a1a;
    --color-border: #e0e0e0;
    --color-footer-bg: #111;
    --color-footer-text: #aaa;
    --header-height: 80px;
    --transition: 0.3s ease;
}

/* ============================
   RESET & BASE
   ============================ */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

/* スパム対策（ハニーポット）用 */
.h-pot {
    display: none !important;
}

body {
    font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', sans-serif;
    font-size: 15px;
    line-height: 1.8;
    color: var(--color-text);
    background-color: var(--color-bg);
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

p {
    margin-bottom: 1em;
}

p:last-child {
    margin-bottom: 0;
}

/* ============================
   HEADER
   ============================ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--color-header-bg);
    z-index: 1000;
    height: var(--header-height);
    transition: background-color 0.4s ease, box-shadow 0.4s ease;
}

.site-header.is-scrolled {
    background-color: var(--color-header-bg-scroll);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.site-header.is-subpage {
    background-color: var(--color-header-bg);
}

.header-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

/* ロゴ */
.site-logo a {
    display: flex;
    align-items: center;
    gap: 10px;
}

.site-logo-text {
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.05em;
    white-space: nowrap;
}

/* PCナビ */
.global-nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.global-nav ul {
    display: flex;
}

.global-nav a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 12px;
    height: var(--header-height);
    color: rgba(255, 255, 255, 0.85);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.03em;
    transition: color var(--transition), background-color var(--transition);
    white-space: nowrap;
    position: relative;
}

.global-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background-color: #fff;
    transition: width var(--transition);
}

.global-nav a:hover::after,
.global-nav a.active::after {
    width: 100%;
}

.global-nav a:hover,
.global-nav a.active {
    color: #fff;
}

.nav-en {
    font-size: 9px;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 2px;
    font-weight: 400;
}

.global-nav a:hover .nav-en,
.global-nav a.active .nav-en {
    color: rgba(255, 255, 255, 0.7);
}

/* ヘッダー電話番号 */
.header-right {
    flex-shrink: 0;
}

.header-tel {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
}

.header-tel__icon {
    font-size: 20px;
    color: var(--color-primary);
}

.header-tel__text {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}

.header-tel__label {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 0.05em;
}

.header-tel__num {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: #fff;
}

.header-tel__num a {
    color: #fff;
}

.header-tel__hours {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.5);
}

/* ハンバーガーボタン */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 18px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    flex-shrink: 0;
    position: relative;
    z-index: 1100;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: #fff;
    transition: transform 0.3s, opacity 0.3s;
}

.hamburger.is-open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.is-open span:nth-child(2) {
    opacity: 0;
}

.hamburger.is-open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* スマホナビ */
.sp-nav {
    display: none;
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    background-color: var(--color-header-bg);
    z-index: 999;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.sp-nav.is-open {
    display: block;
}

.sp-nav ul li a {
    display: block;
    padding: 14px 24px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: background-color var(--transition), color var(--transition), padding-left var(--transition);
}

.sp-nav ul li a:hover,
.sp-nav ul li a.active {
    background-color: rgba(255, 255, 255, 0.05);
    color: #fff;
    padding-left: 30px;
}

.sp-nav-contact {
    padding: 16px 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.sp-nav-tel {
    display: inline-block;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.05em;
}

/* ============================
   HERO SLIDER
   ============================ */
.hero-slider {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 560px;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
}

.hero-slide.is-active {
    opacity: 1;
    z-index: 1;
}

.hero-slide__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform-origin: center center;
}

/* Ken Burns & Caption アニメーション */
@keyframes kenburns {
    0% {
        transform: scale(1.08);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes heroTextUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scrollLine {
    0% {
        transform: scaleY(0);
        transform-origin: top;
    }

    50% {
        transform: scaleY(1);
        transform-origin: top;
    }

    51% {
        transform: scaleY(1);
        transform-origin: bottom;
    }

    100% {
        transform: scaleY(0);
        transform-origin: bottom;
    }
}

.hero-slide.is-active .hero-slide__img {
    animation: kenburns 7s ease-out forwards;
}

/* オーバーレイ */
.hero-slide::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right,
            rgba(0, 0, 0, 0.6) 0%,
            rgba(0, 0, 0, 0.3) 60%,
            rgba(0, 0, 0, 0.1) 100%);
    z-index: 2;
}

.hero-caption {
    position: absolute;
    bottom: 18%;
    left: 8%;
    z-index: 10;
    color: #fff;
}

.hero-caption__sub {
    opacity: 0;
    font-size: clamp(11px, 1.2vw, 14px);
    letter-spacing: 0.4em;
    text-transform: uppercase;
    margin-bottom: 16px;
    font-weight: 400;
    position: relative;
    padding-left: 36px;
}

.hero-caption__sub::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 1px;
    background-color: var(--color-primary);
}

.hero-caption__main {
    opacity: 0;
    font-size: clamp(28px, 5vw, 60px);
    font-weight: 900;
    letter-spacing: 0.05em;
    line-height: 1.3;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
}

.hero-slide.is-active .hero-caption__sub {
    animation: heroTextUp 0.9s ease 0.4s forwards;
}

.hero-slide.is-active .hero-caption__main {
    animation: heroTextUp 0.9s ease 0.7s forwards;
}

/* ドット */
.hero-controls {
    position: absolute;
    bottom: 36px;
    left: 8%;
    z-index: 10;
}

.hero-dots {
    display: flex;
    gap: 8px;
}

.hero-dot {
    width: 32px;
    height: 3px;
    border-radius: 2px;
    background-color: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    border: none;
    padding: 0;
    transition: background-color 0.3s, width 0.3s;
}

.hero-dot.is-active {
    background-color: var(--color-primary);
    width: 48px;
}

/* スクロールインジケーター */
.hero-scroll-indicator {
    position: absolute;
    right: 40px;
    bottom: 40px;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.6);
}

.hero-scroll-indicator span {
    font-size: 9px;
    letter-spacing: 0.3em;
    writing-mode: vertical-rl;
    text-orientation: mixed;
}

.hero-scroll-line {
    width: 1px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.hero-scroll-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-primary);
    animation: scrollLine 1.8s ease-in-out infinite;
}

/* ============================
   NEWS SECTION
   ============================ */
.news-section {
    background-color: var(--color-bg);
    padding: 0;
    border-bottom: 1px solid var(--color-border);
}

.news-section .inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

.news-section__head {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 32px 0 20px;
    border-bottom: 1px solid var(--color-border);
}

.news-section__head .section-en-title {
    font-size: 22px;
    font-weight: 900;
    color: var(--color-primary);
    letter-spacing: 0.1em;
    line-height: 1;
}

.news-section__head .section-ja-title {
    font-size: 12px;
    color: var(--color-text-muted);
    letter-spacing: 0.2em;
    padding-left: 12px;
    border-left: 1px solid var(--color-border);
}

.news-more-link {
    margin-left: auto;
    font-size: 12px;
    color: var(--color-primary);
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: gap var(--transition);
}

.news-more-link:hover {
    gap: 8px;
}

.arrow-icon {
    font-size: 16px;
}

.news-list {
    padding: 0;
}

.news-item a {
    display: grid;
    grid-template-columns: auto auto 1fr auto;
    align-items: center;
    gap: 16px;
    padding: 18px 0;
    border-bottom: 1px solid var(--color-border);
    transition: background-color var(--transition);
}

.news-item a:hover {
    background-color: #fafafa;
    padding-left: 8px;
    padding-right: 8px;
    margin: 0 -8px;
}

.news-item__date {
    font-size: 13px;
    color: var(--color-text-muted);
    white-space: nowrap;
    font-family: 'Courier New', monospace;
    letter-spacing: 0.05em;
}

.news-item__cat {
    font-size: 11px;
    background-color: var(--color-primary);
    color: #fff;
    padding: 3px 10px;
    white-space: nowrap;
    letter-spacing: 0.05em;
    border-radius: 2px;
}

.news-item__title {
    font-size: 14px;
    color: var(--color-text);
    transition: color var(--transition);
}

.news-item a:hover .news-item__title {
    color: var(--color-primary);
}

.news-item__arrow {
    font-size: 18px;
    color: var(--color-text-muted);
    transition: transform var(--transition), color var(--transition);
}

.news-item a:hover .news-item__arrow {
    transform: translateX(4px);
    color: var(--color-primary);
}

/* ============================
   SECTION COMMON
   ============================ */
.section {
    padding: 90px 24px;
}

.section--gray {
    background-color: var(--color-bg-gray);
}

.section--dark {
    background-color: var(--color-bg-dark);
}

.section-head {
    text-align: center;
    margin-bottom: 60px;
}

.section-head .en-title {
    display: block;
    font-size: clamp(40px, 6vw, 70px);
    font-weight: 900;
    letter-spacing: 0.08em;
    color: var(--color-primary);
    line-height: 1;
}

.section-head .ja-title {
    display: block;
    font-size: 13px;
    color: var(--color-text-muted);
    margin-top: 10px;
    letter-spacing: 0.25em;
}

.section-head::after {
    content: '';
    display: block;
    width: 36px;
    height: 2px;
    background-color: var(--color-primary);
    margin: 18px auto 0;
}

.section-head--white .en-title {
    color: #fff;
}

.section-head--white .ja-title {
    color: rgba(255, 255, 255, 0.5);
}

.section-head--white::after {
    background-color: var(--color-primary);
}

.inner {
    max-width: 1100px;
    margin: 0 auto;
}

/* ============================
   ABOUT US SECTION
   ============================ */
.about-section {
    background-color: var(--color-bg);
}

.about-inner {
    display: flex;
    gap: 70px;
    align-items: center;
}

.about-text {
    flex: 1;
}

.about-text p {
    font-size: 15px;
    line-height: 2;
    color: var(--color-text-light);
    margin-bottom: 20px;
}

.btn-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 32px;
    border: 1px solid var(--color-primary);
    color: var(--color-primary);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.1em;
    transition: all var(--transition);
    margin-top: 8px;
}

.btn-more:hover {
    background-color: var(--color-primary);
    color: #fff;
}

.btn-arrow {
    font-size: 16px;
    transition: transform var(--transition);
}

.btn-more:hover .btn-arrow {
    transform: translateX(4px);
}

.about-image {
    flex: 1;
    position: relative;
}

.about-image::before {
    content: '';
    position: absolute;
    top: -16px;
    right: -16px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--color-primary);
    z-index: -1;
    opacity: 0.3;
}

.about-image img {
    width: 100%;
    height: 340px;
    object-fit: cover;
}

/* ============================
   VEHICLE SECTION
   ============================ */
.vehicle-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1px;
    background-color: var(--color-border);
    margin-bottom: 40px;
}

.vehicle-item {
    background-color: var(--color-bg);
    padding: 50px 20px;
    text-align: center;
    transition: background-color var(--transition);
}

.vehicle-item:hover {
    background-color: #fafafa;
}

.vehicle-item__num {
    font-size: clamp(44px, 5.5vw, 70px);
    font-weight: 900;
    color: var(--color-primary);
    line-height: 1;
    display: block;
    margin-bottom: 12px;
}

.vehicle-item__unit {
    font-size: 22px;
    color: var(--color-text-light);
    font-weight: 400;
    margin-left: 2px;
}

.vehicle-item__label {
    display: block;
    font-size: 13px;
    color: var(--color-text-light);
    letter-spacing: 0.03em;
    line-height: 1.6;
}

/* PC版：合計マスを横幅いっぱいのスリムなバーとして表示 */
.vehicle-item--total {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    padding: 14px 24px;
    background-color: var(--color-bg);
    border-top: 1px solid var(--color-border);
}

.vehicle-item--total .vehicle-item__num {
    font-size: 18px;
    margin-bottom: 0;
    display: inline;
    color: #555;
}

.vehicle-item--total .vehicle-item__label {
    font-size: 11px;
    letter-spacing: 0.2em;
    color: var(--color-text-muted);
    order: -1;   /* ラベルを数字の左に */
}

.vehicle-item--total .vehicle-item__unit {
    font-size: 14px;
}

.vehicle-link-wrap {
    text-align: center;
}


/* ============================
   CONTENTS GRID SECTION
   ============================ */
.contents-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.contents-card {
    position: relative;
    overflow: hidden;
    min-height: 400px;
    display: block;
}

.contents-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top,
            rgba(0, 0, 0, 0.8) 0%,
            rgba(0, 0, 0, 0.3) 50%,
            rgba(0, 0, 0, 0.1) 100%);
    transition: background var(--transition);
    z-index: 1;
}

.contents-card:hover::before {
    background: linear-gradient(to top,
            rgba(180, 0, 0, 0.85) 0%,
            rgba(100, 0, 0, 0.5) 50%,
            rgba(0, 0, 0, 0.2) 100%);
}

.contents-card__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.contents-card:hover .contents-card__bg {
    transform: scale(1.07);
}

.contents-card__body {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 400px;
    padding: 36px 28px;
    color: #fff;
}

.contents-card__en {
    font-size: 10px;
    letter-spacing: 0.25em;
    color: var(--color-primary);
    margin-bottom: 8px;
    display: block;
    font-weight: 600;
}

.contents-card__ja {
    font-size: 20px;
    font-weight: 700;
    display: block;
    letter-spacing: 0.05em;
}

.contents-card__arrow {
    display: inline-block;
    margin-top: 14px;
    font-size: 22px;
    color: rgba(255, 255, 255, 0.7);
    transition: transform var(--transition), color var(--transition);
}

.contents-card:hover .contents-card__arrow {
    transform: translateX(6px);
    color: #fff;
}

/* ============================
   ACCESS SECTION
   ============================ */
.access-inner {
    display: flex;
    gap: 50px;
    align-items: flex-start;
}

.access-map {
    flex: 1.3;
}

.access-map iframe {
    width: 100%;
    height: 340px;
    border: none;
    display: block;
}

.access-info {
    flex: 1;
}

.access-info dt {
    font-weight: 700;
    color: var(--color-primary);
    font-size: 11px;
    margin-top: 24px;
    margin-bottom: 6px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.access-info dt:first-child {
    margin-top: 0;
}

.access-info dd {
    color: var(--color-text-light);
    font-size: 14px;
    line-height: 1.9;
    margin: 0;
}

.access-info dd a {
    color: var(--color-primary);
}

/* ============================
   CONTACT SECTION (TOP PAGE)
   ============================ */
.contact-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2px;
}

.contact-card {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 60px 40px;
    text-align: center;
    transition: background-color var(--transition);
}

.contact-card:hover {
    background-color: rgba(255, 255, 255, 0.08);
}

.contact-card__icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 20px;
    color: var(--color-primary);
}

.contact-card__icon svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
}

.contact-card__en {
    display: block;
    font-size: 10px;
    letter-spacing: 0.25em;
    color: var(--color-primary);
    margin-bottom: 8px;
    font-weight: 600;
}

.contact-card__title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 24px;
    color: #fff;
    letter-spacing: 0.03em;
}

.contact-card__phone {
    display: block;
    font-size: 36px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
    line-height: 1;
    transition: color var(--transition);
}

.contact-card__phone:hover {
    color: var(--color-primary);
}

.contact-card__hours {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 0;
}

.btn-contact {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: var(--color-primary);
    color: #fff;
    padding: 14px 36px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.1em;
    transition: background-color var(--transition);
}

.btn-contact:hover {
    background-color: var(--color-primary-dark);
    color: #fff;
}

/* ============================
   FOOTER
   ============================ */
.site-footer {
    background-color: var(--color-footer-bg);
    color: var(--color-footer-text);
    padding: 70px 24px 0;
}

.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 60px;
    padding-bottom: 50px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-logo-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.footer-logo-wrap .logo-img {
    height: 34px;
}

.footer-logo {
    font-size: 17px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0;
    letter-spacing: 0.05em;
}

.footer-address {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.4);
    line-height: 2;
    margin-bottom: 24px;
}

.footer-address p {
    margin: 0;
}

.footer-address a {
    color: rgba(255, 255, 255, 0.5);
    transition: color var(--transition);
}

.footer-address a:hover {
    color: #fff;
}

.footer-sns {
    display: flex;
    gap: 10px;
}

.footer-sns .sns-link {
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color var(--transition), color var(--transition);
}

.footer-sns .sns-link:hover {
    background-color: var(--color-primary);
    color: #fff;
}

.footer-sns .sns-link svg {
    width: 15px;
    height: 15px;
    fill: currentColor;
}

.footer-nav-area {
    display: flex;
    gap: 50px;
    flex-shrink: 0;
    padding-top: 4px;
}

.footer-nav-col__title {
    font-size: 10px;
    letter-spacing: 0.2em;
    color: rgba(255, 255, 255, 0.3);
    margin-bottom: 18px;
    font-weight: 600;
}

.footer-nav-col ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-nav-col ul li a {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    transition: color var(--transition), padding-left var(--transition);
    letter-spacing: 0.03em;
    display: flex;
    align-items: center;
    gap: 6px;
}

.footer-nav-col ul li a::before {
    content: '─';
    font-size: 10px;
    color: rgba(255, 255, 255, 0.2);
}

.footer-nav-col ul li a:hover {
    color: #fff;
}

.footer-bottom {
    text-align: center;
    padding: 24px 0;
}

.footer-copyright {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.25);
    margin: 0;
}

/* ============================
   LOGO IMAGE
   ============================ */
.logo-img {
    height: 44px;
    width: auto;
    display: block;
    flex-shrink: 0;
    border-radius: 3px;
    background-color: #fff;
    padding: 3px 6px;
}

.logo-img--footer {
    height: 32px;
}

/* ============================
   SNS LINKS (共通)
   ============================ */
.sns-link {
    display: flex;
    align-items: center;
    justify-content: center;
    color: inherit;
    transition: color var(--transition), background-color var(--transition);
    cursor: pointer;
    text-decoration: none;
}

.sns-link svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
    display: block;
    flex-shrink: 0;
}

/* ============================
   SUBPAGE
   ============================ */
.subpage-main {
    margin-top: var(--header-height);
}

.page-hero {
    position: relative;
    height: 240px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-bg-dark);
}

.page-hero__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.35;
}

.page-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(to right,
            rgba(0, 0, 0, 0.5) 0%,
            transparent 100%);
}

.page-hero__title {
    position: relative;
    z-index: 10;
    color: #fff;
    font-size: clamp(24px, 4vw, 38px);
    font-weight: 700;
    letter-spacing: 0.1em;
    text-align: center;
}

.page-hero__title small {
    display: block;
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 0.3em;
    color: var(--color-primary);
    margin-bottom: 10px;
}

/* サブページ本文エリア */
.page-content {
    max-width: 960px;
    margin: 0 auto;
    padding: 70px 24px;
}

.page-content h3 {
    font-size: 17px;
    font-weight: 700;
    padding: 10px 16px;
    border-left: 3px solid var(--color-primary);
    background-color: var(--color-bg-gray);
    margin-bottom: 24px;
    margin-top: 48px;
    letter-spacing: 0.03em;
}

.page-content h3:first-child {
    margin-top: 0;
}

/* ============================
   TABLES (サブページ共通)
   ============================ */
.common-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 24px;
    font-size: 14px;
}

.common-table th,
.common-table td {
    border: 1px solid var(--color-border);
    padding: 14px 18px;
    text-align: left;
    vertical-align: top;
}

.common-table th {
    background-color: var(--color-bg-gray);
    width: 28%;
    font-weight: 700;
    color: var(--color-text);
    white-space: nowrap;
}

/* ============================
   FLEET (事業内容ページ)
   ============================ */
.fleet-list-page {
    margin-top: 20px;
}

.fleet-item {
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 28px;
    margin-bottom: 28px;
}

.fleet-item:last-child {
    border-bottom: none;
}

.fleet-item h4 {
    color: var(--color-primary);
    font-size: 16px;
    margin-bottom: 14px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--color-border);
}

.fleet-item img {
    border: 1px solid var(--color-border);
    margin-bottom: 14px;
    max-width: min(480px, 100%);
}

/* ============================
   SAFETY (安全ページ)
   ============================ */
.safety-points {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 8px;
}

.point-box {
    background: var(--color-bg-gray);
    border-left: 3px solid var(--color-primary);
    padding: 18px 22px;
}

.point-box h4 {
    color: var(--color-primary);
    font-size: 15px;
    margin-bottom: 8px;
    font-weight: 700;
}

/* 食と健康ページ 詳細レイアウト */
.point-box--health {
    padding: 22px 26px;
}

/* 禁煙・おやつブロック：テキスト + 小さい画像が右にフロート */
.health-detail {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--color-border);
    overflow: hidden; /* フロートのクリア */
}

.health-detail__img {
    float: right;
    margin: 0 0 12px 20px;
    width: 160px;
}

.health-detail__img img {
    width: 100%;
    height: 130px;
    object-fit: cover;
    border: 1px solid var(--color-border);
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.health-detail__img figcaption {
    font-size: 10px;
    color: var(--color-text-muted);
    margin-top: 4px;
    text-align: center;
    line-height: 1.4;
}

.health-detail__text h5 {
    font-size: 14px;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 6px;
    margin-top: 16px;
}

.health-detail__text h5:first-child {
    margin-top: 0;
}

.health-detail__text p {
    font-size: 14px;
    color: var(--color-text-light);
    line-height: 1.9;
    margin-bottom: 0;
}

/* インフルエンザブロック：画像を中央寄せで独立表示 */
.health-detail--vaccine {
    float: none;
    clear: both;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--color-border);
    overflow: hidden;
}

.health-detail--vaccine .health-detail__img {
    float: right;
    width: 200px;
    margin: 0 0 12px 20px;
}

.health-detail--vaccine .health-detail__img img {
    height: 150px;
}

@media (max-width: 768px) {
    .health-detail__img,
    .health-detail--vaccine .health-detail__img {
        float: none;
        width: 100%;
        margin: 12px 0;
    }

    .health-detail__img img,
    .health-detail--vaccine .health-detail__img img {
        height: 180px;
        width: 100%;
    }
}

/* 一続き文章＋画像フロート差し込みレイアウト */
.health-prose {
    margin-top: 16px;
    overflow: hidden;
}

.health-prose h5 {
    font-size: 14px;
    font-weight: 700;
    color: var(--color-text);
    margin-top: 20px;
    margin-bottom: 8px;
    clear: both;
}

.health-prose h5:first-of-type {
    margin-top: 0;
}

.health-prose p {
    font-size: 14px;
    color: var(--color-text-light);
    line-height: 1.9;
    margin-bottom: 0;
}

.health-prose__img {
    width: 200px;
    margin-bottom: 8px;
}

.health-prose__img--right {
    float: right;
    margin-left: 20px;
}

.health-prose__img--left {
    float: left;
    margin-right: 20px;
}

.health-prose__img img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    border: 1px solid var(--color-border);
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    display: block;
}

.health-prose__img figcaption {
    font-size: 10px;
    color: var(--color-text-muted);
    margin-top: 4px;
    text-align: center;
    line-height: 1.4;
}

@media (max-width: 600px) {
    .health-prose__img--right,
    .health-prose__img--left {
        float: none;
        width: 100%;
        margin: 12px 0;
    }

    .health-prose__img img {
        height: 180px;
        width: 100%;
    }
}

/* ============================
   RECRUIT (採用ページ)
   ============================ */
.recruit-list-simple {
    margin-left: 20px;
    margin-bottom: 20px;
    list-style: disc;
    color: var(--color-text-light);
    font-size: 15px;
    line-height: 2;
}

.cta-area {
    text-align: center;
    background-color: var(--color-bg-gray);
    padding: 40px 20px;
    border-top: 3px solid var(--color-primary);
    margin-top: 48px;
}

.cta-area p {
    margin-bottom: 12px;
    font-size: 15px;
}

.phone-number {
    font-size: 30px;
    color: var(--color-primary);
    letter-spacing: 0.05em;
    font-weight: 700;
}

.btn-standard {
    display: inline-block;
    background-color: var(--color-primary);
    color: #fff;
    padding: 13px 40px;
    border-radius: 2px;
    margin-top: 14px;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.05em;
    transition: background-color var(--transition);
}

.btn-standard:hover {
    background-color: var(--color-primary-dark);
    color: #fff;
}

/* ============================
   CONTACT FORM (お問い合わせ)
   ============================ */
.contact-form-container {
    max-width: 700px;
}

.form-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-bottom: 24px;
}

.form-table th,
.form-table td {
    border-bottom: 1px solid var(--color-border);
    padding: 18px 14px;
    vertical-align: top;
}

.form-table th {
    width: 200px;
    background-color: var(--color-bg-gray);
    text-align: left;
    padding-right: 20px;
    font-weight: 700;
    font-size: 14px;
}

.required {
    color: var(--color-primary);
    font-size: 11px;
    margin-left: 4px;
}

.form-table input[type="text"],
.form-table input[type="email"],
.form-table textarea {
    width: 100%;
    padding: 9px 12px;
    border: 1px solid var(--color-border);
    font-family: inherit;
    font-size: 14px;
    transition: border-color var(--transition);
    border-radius: 2px;
}

.form-table input[type="text"]:focus,
.form-table input[type="email"]:focus,
.form-table textarea:focus {
    outline: none;
    border-color: var(--color-primary);
}

.form-table label {
    margin-right: 16px;
    font-size: 14px;
    cursor: pointer;
}

.submit-area {
    text-align: center;
    margin-top: 28px;
}

.btn-submit {
    background-color: var(--color-primary);
    color: #fff;
    border: none;
    padding: 15px 56px;
    font-size: 15px;
    font-family: inherit;
    cursor: pointer;
    letter-spacing: 0.1em;
    transition: background-color var(--transition);
    border-radius: 2px;
}

.btn-submit:hover {
    background-color: var(--color-primary-dark);
}

/* ============================
   COMPANY (会社概要)
   ============================ */
.message-box {
    background-color: var(--color-bg-gray);
    border-left: 3px solid var(--color-primary);
    padding: 14px 18px;
    margin-bottom: 24px;
    font-size: 14px;
    color: var(--color-text-light);
}

.company-map {
    margin-top: 24px;
    border: 1px solid var(--color-border);
}

.company-map iframe {
    width: 100%;
    height: 450px;
    display: block;
    border: none;
}

/* ============================
   SCROLL FADE-IN ANIMATION
   ============================ */
.section-head,
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.75s ease, transform 0.75s ease;
}

.section-head.is-visible,
.fade-in.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* 遅延オプション */
.fade-in:nth-child(2) {
    transition-delay: 0.1s;
}

.fade-in:nth-child(3) {
    transition-delay: 0.2s;
}

.fade-in:nth-child(4) {
    transition-delay: 0.3s;
}

/* 左からスライドイン */
.fade-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-left.is-visible {
    opacity: 1;
    transform: translateX(0);
}

/* 右からスライドイン */
.fade-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-right.is-visible {
    opacity: 1;
    transform: translateX(0);
}

/* スケールアップ（画像用） */
.fade-in-scale {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.85s ease, transform 0.85s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.fade-in-scale.is-visible {
    opacity: 1;
    transform: scale(1);
}

/* 遅延クラス（汎用） */
.delay-1 {
    transition-delay: 0.1s !important;
}

.delay-2 {
    transition-delay: 0.2s !important;
}

.delay-3 {
    transition-delay: 0.3s !important;
}

.delay-4 {
    transition-delay: 0.4s !important;
}

.delay-5 {
    transition-delay: 0.5s !important;
}

@media (prefers-reduced-motion: reduce) {

    .section-head,
    .fade-in,
    .fade-in-left,
    .fade-in-right,
    .fade-in-scale {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .page-hero__bg {
        animation: none;
    }
}

/* ============================
   PAGE HERO ANIMATION
   ============================ */
@keyframes pageHeroZoom {
    0% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes pageHeroTitleIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pageHeroSubIn {
    0% {
        opacity: 0;
        letter-spacing: 0.6em;
    }

    100% {
        opacity: 1;
        letter-spacing: 0.3em;
    }
}

.page-hero__bg {
    animation: pageHeroZoom 1.2s ease forwards;
}

/* page-hero タイトルは常時表示（アニメーションはprefers-reduced-motionの考慮も含め削除） */

/* ============================
   SUBPAGE CONTENT ANIMATIONS
   ============================ */
/* h3見出しのラインアニメーション */
.page-content h3 {
    position: relative;
    overflow: hidden;
}

.page-content h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 3px;
    height: 0;
    background-color: var(--color-primary);
    transition: height 0.4s ease;
}

/* テーブル行のホバーエフェクト */
.common-table tr {
    transition: background-color 0.25s ease;
}

.common-table tr:hover td,
.common-table tr:hover th {
    background-color: rgba(204, 0, 0, 0.04);
}

/* fleet-item 画像ホバー */
.fleet-item {
    overflow: hidden;
}

.fleet-item img {
    transition: transform 0.5s ease;
}

.fleet-item:hover img {
    transform: scale(1.03);
}

/* point-box ホバーエフェクト */
.point-box {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.point-box:hover {
    transform: translateX(6px);
    box-shadow: -3px 0 0 var(--color-primary), 2px 4px 16px rgba(0, 0, 0, 0.08);
}

/* cta-area のパルスアニメーション */
@keyframes ctaPulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(204, 0, 0, 0.2);
    }

    50% {
        box-shadow: 0 0 0 12px rgba(204, 0, 0, 0);
    }
}

.btn-standard {
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
}

.btn-standard:hover {
    background-color: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(204, 0, 0, 0.35);
}

/* about-image オーバーレイ効果 */
.about-image {
    position: relative;
    overflow: hidden;
}

.about-image img {
    transition: transform 0.7s ease;
}

.about-image:hover img {
    transform: scale(1.04);
}

/* page-img-wrap ホバー */
.page-img-wrap img {
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.page-img-wrap:hover img {
    transform: scale(1.02);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

/* ============================
   PAGE IMAGE WRAP (会社案内・安全・採用ページ共通)
   ============================ */
.page-img-wrap {
    margin: 24px 0;
}

.page-img-wrap img {
    max-width: 100%;
    border: 1px solid var(--color-border);
}

.page-img-wrap figcaption {
    font-size: 12px;
    color: var(--color-text-muted);
    margin-top: 6px;
}

/* ============================
   RESPONSIVE
   ============================ */
@media (max-width: 1024px) {
    .global-nav a {
        padding: 0 9px;
        font-size: 11px;
    }

    .header-tel__num {
        font-size: 16px;
    }
}

@media (max-width: 900px) {
    .header-right {
        display: none;
    }

    .global-nav a {
        padding: 0 8px;
        font-size: 11px;
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 64px;
    }

    /* ヘッダー */
    .global-nav {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    /* ヒーロー */
    .hero-slider {
        height: 65vh;
        min-height: 360px;
    }

    .hero-caption {
        left: 5%;
        bottom: 20%;
        max-width: 90%;
    }

    .hero-caption__sub {
        letter-spacing: 0.15em;
        font-size: 12px;
    }

    .hero-caption__main {
        font-size: clamp(22px, 7vw, 36px);
        letter-spacing: 0.03em;
    }

    .hero-scroll-indicator {
        display: none;
    }

    /* NEWS */
    .news-item a {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        align-items: flex-start;
    }

    .news-item__date {
        flex-basis: 100%;
        order: 1;
    }

    .news-item__cat {
        order: 2;
        flex-shrink: 0;
    }

    .news-item__title {
        flex: 1 1 100%;
        order: 3;
    }

    .news-item__arrow {
        order: 2;
        margin-left: auto;
    }

    /* セクション */
    .section {
        padding: 60px 16px;
    }

    /* ABOUT */
    .about-inner {
        flex-direction: column;
        gap: 36px;
    }

    .about-image::before {
        display: none;
    }

    .about-image img {
        height: 260px;
    }

    /* VEHICLE */
    .vehicle-grid {
        grid-template-columns: repeat(3, 1fr);
    }

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

    .contents-card,
    .contents-card__body {
        min-height: 220px;
    }

    /* ACCESS */
    .access-inner {
        flex-direction: column;
    }

    .access-map iframe {
        height: 260px;
    }

    /* CONTACT cards */
    .contact-cards {
        grid-template-columns: 1fr;
    }

    .contact-card {
        padding: 40px 24px;
    }

    /* FOOTER */
    .footer-top {
        flex-direction: column;
        gap: 36px;
    }

    .footer-nav-area {
        gap: 30px;
    }

    /* SUBPAGE */
    .page-content {
        padding: 50px 16px;
    }

    .page-hero {
        height: 180px;
    }

    /* ヘッダー モバイル */
    .header-inner {
        padding: 0 12px;
        gap: 8px;
        width: 100%;
        min-width: 0;
    }

    .site-logo {
        min-width: 0;
        flex-shrink: 1;
    }

    .site-logo a {
        min-width: 0;
    }

    .site-logo-text {
        font-size: 12px;
        letter-spacing: 0.02em;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: calc(100vw - 140px);
    }

    .logo-img {
        height: 36px;
        flex-shrink: 0;
    }

    /* 事業内容ページ 車両画像 */
    .fleet-item img {
        max-width: 100%;
        width: 100%;
        height: auto;
    }

    /* フォームをブロック表示 */
    .form-table,
    .form-table tbody,
    .form-table tr,
    .form-table th,
    .form-table td {
        display: block;
        width: 100%;
    }

    .form-table th {
        background-color: transparent;
        padding: 16px 0 4px;
        border-bottom: none;
    }

    .form-table td {
        padding: 0 0 16px;
    }

    .common-table th {
        white-space: normal;
        width: 35%;
    }

    /* テーブル横スクロール対策 */
    .common-table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    /* contact-card 内テキスト折り返し */
    .contact-card__phone {
        font-size: 28px;
        word-break: break-all;
    }

    /* footer 横スクロール対策 */
    .footer-inner {
        min-width: 0;
    }
}

@media (max-width: 480px) {
    .contents-grid {
        grid-template-columns: 1fr 1fr;
    }

    .contents-card__ja {
        font-size: 15px;
    }

    .vehicle-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* スマホ：背景は他と同じ白、文字だけ濃いグレーで区別 */
    .vehicle-item--total {
        grid-column: auto;
        display: block;
        text-align: center;
        padding: 50px 20px;
        border-top: none;
        justify-content: unset;
        gap: unset;
        background-color: var(--color-bg);
    }

    .vehicle-item--total .vehicle-item__num {
        font-size: clamp(44px, 5.5vw, 70px);
        margin-bottom: 12px;
        display: block;
        color: #555; /* 濃いグレー */
    }

    .vehicle-item--total .vehicle-item__unit {
        color: #777;
    }

    .vehicle-item--total .vehicle-item__label {
        order: 0;
        font-size: 11px;
        color: #888;
        letter-spacing: 0.25em;
    }

    .footer-nav-area {
        flex-direction: column;
        gap: 20px;
    }

    /* 車両グリッド テキスト折り返し */
    .vehicle-item__label {
        font-size: 11px;
    }

    /* ページヒーロー スマホ */
    .page-hero {
        height: 160px;
    }

    .page-hero__title {
        font-size: clamp(18px, 6vw, 28px);
        padding: 0 16px;
    }
}