/*
Theme Name: QRAFTJECT
Theme URI: https://exleos.co.jp
Author: QI JIE
Author URI: https://exleos.co.jp
Description: SOUKYO CO., LTD. 
Version: 1.1.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: Proprietary
License URI:
Text Domain: qraftject
*/

/* ========== RESET & BASE ========== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    width: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    word-wrap: normal !important;
}

:root {
    --color-black: #1a1a1a;
    --color-white: #ffffff;
    --color-gray-50: #fafafa;
    --color-gray-100: #f5f5f5;
    --color-gray-200: #e5e5e5;
    --color-gray-300: #d4d4d4;
    --color-gray-400: #a3a3a3;
    --color-gray-500: #737373;
    --color-gray-600: #525252;
    --color-gray-700: #404040;
    --color-gray-800: #262626;
    --color-gray-900: #171717;
    --color-accent: #c49a2a;
    --color-accent-dark: #a67f1a;
    --font-sans: 'Hiragino Kaku Gothic ProN', 'Yu Gothic', 'Meiryo', sans-serif;
    --font-display: 'Barlow Condensed', 'Hiragino Kaku Gothic ProN', sans-serif;
    --font-serif: 'Yu Mincho', 'Hiragino Mincho ProN', serif;
    --header-height: 70px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Chinese font override */
body.lang-zh {
    --font-sans: 'PingFang SC', 'Microsoft YaHei', 'Noto Sans SC', sans-serif;
    --font-display: 'Barlow Condensed', 'PingFang SC', sans-serif;
    --font-serif: 'STSong', 'SimSun', serif;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    --zoom: 1;
}
@media (min-width: 1600px) {
    html { zoom: 1.21; --zoom: 1.21; }
}

body {
    font-family: var(--font-sans);
    color: var(--color-black);
    background: var(--color-white);
    line-height: 1.8;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; transition: var(--transition); }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.section {
    position: relative;
    z-index: 1;
    padding: 120px 0;
}

/* Placeholder images */
.placeholder-img {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.7);
    font-family: var(--font-display);
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
}
.placeholder-img::after {
    content: attr(data-label);
    position: absolute;
    z-index: 1;
}
.placeholder-img::before {
    content: '';
    position: absolute;
    inset: 0;
}

/* ========== HEADER ========== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 2100;
    transition: background 0.4s ease, border-color 0.4s ease, opacity 0.5s ease, visibility 0.5s ease;
    border-bottom: 1px solid transparent;
}
.site-header.header-hidden {
    opacity: 0;
    visibility: hidden;
}
/* Disable CSS transitions during scroll-driven motion */
.site-header.scroll-driven {
    transition: none !important;
}

/* Transparent on hero */
.site-header:not(.scrolled) {
    background: transparent;
}

.site-header.scrolled {
    padding: 5px 0;
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(10px);
    border-bottom-color: var(--color-gray-200);
}
/* 首页不加额外 padding */
body.home .site-header.scrolled {
    padding: 0;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
    padding: 0 30px;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-top: 0;
    transition: padding 0.4s ease;
}
.site-header.at-top .header-left {
    padding-top: 35px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    line-height: 1.15;
}

.site-header .logo-img {
    height: 57px;
    width: auto;
}

.logo-text-group {
    display: flex;
    flex-direction: column;
}

.logo-text {
    font-size: 29px;
    font-weight: 700;
    letter-spacing: 3px;
    font-family: 'Zen Kaku Gothic New', sans-serif;
    color: var(--color-white);
    transition: color var(--transition);
    white-space: nowrap;
}

.logo-sub {
    font-family: var(--font-display);
    font-size: 10px;
    font-weight: 400;
    letter-spacing: 1.5px;
    color: rgba(255,255,255,0.6);
    transition: color var(--transition);
}

.site-header.scrolled .logo-text { color: var(--color-black); }
.site-header.scrolled .logo-sub { color: var(--color-gray-500); }

.header-divider {
    width: 1px;
    height: 30px;
    background: rgba(255,255,255,0.3);
    transition: background var(--transition);
}
.site-header.scrolled .header-divider {
    background: var(--color-gray-300);
}

.header-site-name {
    font-size: 14px;
    letter-spacing: 1.5px;
    color: rgba(255,255,255,0.8);
    white-space: nowrap;
    transition: color var(--transition);
}
.site-header.scrolled .header-site-name {
    color: var(--color-gray-600);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
    padding-top: 0;
    transition: padding 0.4s ease;
}
.site-header.at-top .header-right {
    padding-top: 30px;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 2px;
}

.header-nav-link {
    font-size: 13px;
    font-weight: 500;
    color: rgba(255,255,255,0.85);
    padding: 6px 9px;
    white-space: nowrap;
    letter-spacing: 1px;
    transition: color var(--transition);
    position: relative;
}
.header-nav-link::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    width: 0;
    height: 1.5px;
    background: currentColor;
    transition: width 0.3s ease, left 0.3s ease;
}
.header-nav-link:hover::after {
    width: 60%;
    left: 20%;
}
.site-header.scrolled .header-nav-link {
    color: var(--color-gray-700);
}
.header-nav-link:hover {
    color: var(--color-white);
}
.site-header.scrolled .header-nav-link:hover {
    color: var(--color-accent);
}

@media (min-width: 1310px) {
    .header-nav { gap: 4px; }
    .header-nav-link { font-size: 14px; padding: 6px 12px; }
}

.all-menu-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    background: none;
    border: none;
    padding: 2px 22px;
    cursor: pointer;
    white-space: nowrap;
}
.all-menu-label {
    font-family: var(--font-display);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2.5px;
    color: #fff;
    transition: opacity 0.3s;
}
.all-menu-lines {
    display: flex;
    flex-direction: column;
    gap: 3.5px;
    width: 50px;
}
.all-menu-lines span {
    display: block;
    height: 1.5px;
    background: #fff;
    transform-origin: center;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                width 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                opacity 0.3s;
}
.all-menu-lines span:nth-child(1) { width: 100%; }
.all-menu-lines span:nth-child(2) { width: 60%; align-self: flex-end; }
.all-menu-lines span:nth-child(3) { width: 100%; }

/* Hover: width swap (only when NOT active) */
.all-menu-btn:not(.active):hover .all-menu-lines span:nth-child(1) { width: 60%; }
.all-menu-btn:not(.active):hover .all-menu-lines span:nth-child(2) { width: 100%; }
.all-menu-btn:not(.active):hover .all-menu-lines span:nth-child(3) { width: 60%; }
.all-menu-btn:not(.active):hover .all-menu-label { opacity: 0.7; }

/* Active: morph to X (flat) */
.all-menu-btn.active .all-menu-lines span { width: 100%; }
.all-menu-btn.active .all-menu-lines span:nth-child(1) {
    transform: translateY(4px) rotate(15deg);
}
.all-menu-btn.active .all-menu-lines span:nth-child(2) {
    opacity: 0;
    width: 0;
}
.all-menu-btn.active .all-menu-lines span:nth-child(3) {
    transform: translateY(-4px) rotate(-15deg);
}
/* Active state always white */
.all-menu-btn.active .all-menu-label { color: #fff; }
.all-menu-btn.active .all-menu-lines span { background: #fff; }

.site-header.scrolled .all-menu-label {
    color: var(--color-gray-800);
}
.site-header.scrolled .all-menu-lines span {
    background: var(--color-gray-800);
}

/* Hamburger (mobile) */
.hamburger {
    display: none;
    width: 28px;
    height: 18px;
    background: none;
    border: none;
    cursor: pointer;
    position: relative;
    z-index: 1010;
}
.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--color-white);
    position: absolute;
    left: 0;
    transition: var(--transition);
}
.site-header.scrolled .hamburger span {
    background: var(--color-black);
}
.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.hamburger span:nth-child(3) { bottom: 0; }
.hamburger.active span:nth-child(1) { top: 50%; transform: translateY(-50%) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { bottom: 50%; transform: translateY(50%) rotate(-45deg); }

/* ========== MEGA MENU OVERLAY ========== */
/* ---- Mega menu: full-screen drop-down ---- */
.mega-menu-overlay {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(10, 15, 30, 0.97);
    clip-path: inset(0 0 100% 0);
    visibility: hidden;
    transition: clip-path 0.6s cubic-bezier(0.77, 0, 0.175, 1),
                visibility 0s 0.6s;
    overflow-y: auto;
}
.mega-menu-overlay.active {
    clip-path: inset(0 0 0 0);
    visibility: visible;
    transition: clip-path 0.6s cubic-bezier(0.77, 0, 0.175, 1),
                visibility 0s 0s;
}

.mega-menu-panel {
    max-width: 1100px;
    margin: 0 auto;
    padding: 120px 60px 80px;
}

.mega-menu-header { display: none; }

.mega-menu-body {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px 60px;
}

.mega-menu-col-title,
.mega-menu-col h3 {
    font-family: var(--font-display);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 3px;
    color: rgba(255,255,255,0.35);
    margin-bottom: 18px;
    text-transform: uppercase;
}
.mega-menu-col ul li {
    margin-bottom: 12px;
}
.mega-menu-col ul li a {
    font-size: 15px;
    color: rgba(255,255,255,0.75);
    transition: color 0.3s, transform 0.3s;
    display: inline-block;
}
.mega-menu-col ul li a:hover {
    color: #fff;
    transform: translateX(4px);
}

/* ---- Mega menu link icons ---- */
.mega-menu-col ul li a:has(svg) {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}
.mega-menu-col ul li a:not(.mega-menu-link--accent) svg {
    flex-shrink: 0;
    width: 15px;
    height: 15px;
    opacity: 0.35;
    transition: opacity 0.3s;
}
.mega-menu-col ul li a:not(.mega-menu-link--accent):hover svg {
    opacity: 0.7;
}

/* ---- Mega menu accent link (Access) ---- */
.mega-menu-link--accent {
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
    color: var(--color-accent) !important;
    font-weight: 600;
}
.mega-menu-link--accent svg {
    flex-shrink: 0;
    opacity: 0.8;
    transition: opacity 0.3s;
}
.mega-menu-link--accent:hover {
    color: #fff !important;
}
.mega-menu-link--accent:hover svg {
    opacity: 1;
}

/* ---- Staggered fade-in for menu columns ---- */
.mega-menu-col {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}
.mega-menu-overlay.active .mega-menu-col {
    opacity: 1;
    transform: translateY(0);
}
.mega-menu-overlay.active .mega-menu-col:nth-child(1) { transition-delay: 0.15s; }
.mega-menu-overlay.active .mega-menu-col:nth-child(2) { transition-delay: 0.22s; }
.mega-menu-overlay.active .mega-menu-col:nth-child(3) { transition-delay: 0.29s; }
.mega-menu-overlay.active .mega-menu-col:nth-child(4) { transition-delay: 0.36s; }
.mega-menu-overlay.active .mega-menu-col:nth-child(5) { transition-delay: 0.43s; }

/* ========== FIXED SCROLLING BACKGROUND (behind hero + message) ========== */
.bg-scroll-fixed {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: calc(100vh / var(--zoom));
    z-index: 0;
    overflow: hidden;
    background-color: #0a0a0a;
}

.bg-scroll-fixed .hero-bg-track {
    opacity: 0;
    transition: opacity 0.8s ease;
}
.bg-scroll-fixed.loaded .hero-bg-track {
    opacity: 1;
}

/* ========== HERO ========== */
.hero {
    position: relative;
    z-index: 1;
    height: calc(100vh / var(--zoom));
    min-height: calc(700px / var(--zoom));
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    border: 1px solid rgba(255,255,255,0.25);
    z-index: 5;
    pointer-events: none;
}

.hero-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    transition: opacity 0.5s ease;
}
.hero-loading.hidden {
    opacity: 0;
    pointer-events: none;
}
.hero-loading-num {
    font-family: var(--font-display);
    font-size: 48px;
    font-weight: 300;
    color: var(--color-white);
    letter-spacing: 4px;
}

.hero-bg-track {
    display: flex;
    height: 100%;
    will-change: transform;
}

.hero-bg-set {
    display: flex;
    gap: 8px;
    padding-right: 8px;
    height: 100%;
    flex-shrink: 0;
}

.hero-bg-set img {
    height: 100%;
    width: auto;
    object-fit: cover;
    flex-shrink: 0;
    display: block;
}

@keyframes heroBgScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(var(--scroll-dist, -50%)); }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.35);
    z-index: 1;
}

.tile-grid::after,
.hero-overlay::after,
.message-grad::after,
.service-section::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.02);
    -webkit-mask-image:
        repeating-linear-gradient(0deg, transparent 0px, transparent 4px, black 4px, black 14px),
        repeating-linear-gradient(90deg, transparent 0px, transparent 4px, black 4px, black 14px);
    -webkit-mask-composite: source-in;
    mask-image:
        repeating-linear-gradient(0deg, transparent 0px, transparent 4px, black 4px, black 14px),
        repeating-linear-gradient(90deg, transparent 0px, transparent 4px, black 4px, black 14px);
    mask-composite: intersect;
    filter: blur(0.5px);
    pointer-events: none;
}

/* Floating keywords (middle of hero) */
.hero-keywords {
    position: absolute;
    top: 34%;
    left: 0;
    right: 0;
    z-index: 3;
    display: flex;
    justify-content: space-between;
    padding: 0 8%;
    opacity: 0;
}
.hero-keyword {
    font-family: var(--font-display);
    font-size: clamp(13px, 1.3vw, 18px);
    font-weight: 300;
    letter-spacing: 4px;
    color: rgba(255,255,255,0.3);
    text-transform: uppercase;
}
.hero-keyword.kw-left { transform: translateY(-30px); }
.hero-keyword.kw-center { transform: translateY(0px); }
.hero-keyword.kw-right { transform: translateY(30px); }

/* H1 for SEO - visually hidden but accessible to crawlers */
.hero-h1 {
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    width: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
}

/* Main title block - positioned at bottom */
.hero-title-block {
    position: absolute;
    bottom: 80px;
    left: 0;
    right: 0;
    z-index: 4;
    padding: 0 5%;
    padding-right: 12%;
}

.hero-title-row-top {
    margin-bottom: 10px;
}
.hero-drive {
    font-family: var(--font-display);
    font-size: clamp(60px, 10vw, 130px);
    font-weight: 900;
    color: var(--color-white);
    letter-spacing: 16px;
    line-height: 1;
    display: block;
    opacity: 0;
    transform: translateY(30px);
}

.hero-tagline-row {
    display: flex;
    align-items: center;
    gap: 20px;
    margin: 5px 0;
    padding-left: 5px;
    opacity: 0;
}
.hero-tagline-left, .hero-tagline-right {
    font-size: clamp(15px, 1.6vw, 22px);
    font-weight: 400;
    color: rgba(255,255,255,0.85);
    letter-spacing: 4px;
    white-space: nowrap;
}
.hero-tagline-line {
    flex: 1;
    height: 1px;
    background: rgba(255,255,255,0.4);
    max-width: 200px;
}

.hero-title-row-bottom {
    padding-left: 15%;
}
.hero-beyond {
    font-family: var(--font-display);
    font-size: clamp(60px, 10vw, 130px);
    font-weight: 900;
    color: var(--color-white);
    letter-spacing: 16px;
    line-height: 1;
    display: block;
    opacity: 0;
    transform: translateY(30px);
}
/* S — dark navy (logo left) */
.hero-drive .hero-sk {
    animation: heroSGlow 4s ease-in-out infinite;
}
@keyframes heroSGlow {
    0%, 100% {
        color: #2b4f80;
        text-shadow: 0 0 16px rgba(43, 79, 128, 0.3), 0 0 40px rgba(43, 79, 128, 0.1);
    }
    50% {
        color: #5a8ab8;
        text-shadow: 0 0 28px rgba(43, 79, 128, 0.5), 0 0 56px rgba(90, 138, 184, 0.2);
    }
}
/* K — steel blue (logo right) */
.hero-beyond .hero-sk {
    animation: heroKGlow 4s ease-in-out infinite;
}
@keyframes heroKGlow {
    0%, 100% {
        color: #6d90b8;
        text-shadow: 0 0 16px rgba(109, 144, 184, 0.3), 0 0 40px rgba(109, 144, 184, 0.1);
    }
    50% {
        color: #a0cef0;
        text-shadow: 0 0 28px rgba(109, 144, 184, 0.55), 0 0 56px rgba(160, 206, 240, 0.2);
    }
}

/* HERO NEWS - right side */
.hero-news {
    position: absolute;
    right: 12%;
    bottom: 100px;
    z-index: 4;
    width: 380px;
    opacity: 0;
    transform: translateY(20px);
    text-shadow: 0 1px 4px rgba(0,0,0,0.9);
}
.hero-news-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
}
.hero-news-icon {
    flex-shrink: 0;
}
.hero-news-label {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 3px;
    color: #fff;
}
.hero-news-all {
    display: none;
}
.hero-news-more {
    display: inline-block;
    margin-top: 16px;
    font-family: var(--font-display);
    font-size: 13px;
    letter-spacing: 2px;
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    border: 1px solid rgba(255,255,255,0.5);
    padding: 6px 20px;
    transition: all 0.3s;
}
.hero-news-more:hover {
    color: #fff;
    border-color: #fff;
    background: rgba(255,255,255,0.1);
}
.hero-news-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.hero-news-item:nth-child(n+4) {
    display: none;
}
.hero-news-item a {
    display: grid;
    grid-template-columns: auto auto 1fr;
    grid-template-rows: auto auto;
    gap: 0 10px;
    text-decoration: none;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,0.25);
    transition: border-color 0.3s;
}
.hero-news-item a:hover {
    border-bottom-color: rgba(255,255,255,0.3);
}
.hero-news-item a:hover .hero-news-title {
    color: var(--color-white);
}
.hero-news-date {
    grid-row: 1;
    grid-column: 1;
    font-family: var(--font-display);
    font-size: 15px;
    color: rgba(255,255,255,0.8);
    letter-spacing: 1px;
    white-space: nowrap;
}
.hero-news-tag {
    grid-row: 1;
    grid-column: 2;
    font-size: 13px;
    padding: 2px 10px;
    border-radius: 2px;
    white-space: nowrap;
    line-height: 1.6;
}
.tag-short { display: none; }
.tag-info {
    background: rgba(40,120,200,0.6);
    color: #fff;
}
.tag-campaign {
    background: rgba(195, 0, 47, 0.75);
    color: #fff;
}
.hero-news-title {
    grid-row: 2;
    grid-column: 1 / -1;
    font-size: 16px;
    line-height: 1.6;
    color: rgba(255,255,255,0.95);
    margin-top: 5px;
    transition: color 0.3s;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}

/* SCROLL - right side vertical */
.hero-scroll {
    position: absolute;
    right: 30px;
    bottom: 10px;
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    writing-mode: vertical-rl;
    opacity: 0;
}
.hero-scroll-text {
    font-family: var(--font-display);
    font-size: 10px;
    letter-spacing: 4px;
    color: rgba(255,255,255,0.7);
}
.hero-scroll-line {
    width: 2px;
    height: 120px;
    background: rgba(255,255,255,0.3);
    position: relative;
    overflow: hidden;
    writing-mode: horizontal-tb;
}
.hero-scroll-line::after {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-white);
    animation: scrollLine 2s infinite;
}
/* Animations trigger only after progress bar reaches 100% */
.hero.loaded .hero-drive     { animation: heroFadeUp 1s 0s   forwards; }
.hero.loaded .hero-beyond    { animation: heroFadeUp 1s 0.2s forwards; }
.hero.loaded .hero-tagline-row { animation: heroFadeUp 1s 0.4s forwards; }
.hero.loaded .hero-keywords  { animation: heroFadeUp 1s 0.6s forwards; }
.hero.loaded .hero-news      { animation: heroFadeUp 1s 0.8s forwards; }
.hero.loaded .hero-scroll    { animation: heroFadeUp 1s 1.0s forwards; }

@keyframes heroFadeUp {
    to { opacity: 1; transform: translateY(0); }
}
@keyframes heroNewsFadeUp {
    from { opacity: 0; transform: translateY(calc(-50% + 20px)); }
    to   { opacity: 1; transform: translateY(-50%); }
}
@keyframes scrollLine {
    0% { top: -100%; }
    100% { top: 100%; }
}

/* Flicker text effect */
.flicker-text .flicker-char {
    display: inline-block;
    -webkit-text-stroke: 2px rgba(255,255,255,0.5);
    transition: color 0.4s ease-out;
}

/* ========== MESSAGE (transparent bg, gradient overlay covers fixed images) ========== */
.message-section {
    position: relative;
    z-index: 1;
    color: var(--color-white);
    text-align: center;
    padding: 140px 0;
    overflow: hidden;
    min-height: 100vh;
}

.message-grad {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0.35) 0%,
        rgba(0,0,0,0.5) 25%,
        rgba(0,0,0,0.7) 50%,
        rgba(0,0,0,0.9) 75%,
        rgba(0,0,0,1) 100%
    );
    z-index: 0;
    pointer-events: none;
}

.message-portraits {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
}
.portrait {
    position: absolute;
    border-radius: 8px;
    opacity: 1;
    transition: opacity 0.6s ease;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.portrait-1 { width: 140px; height: 180px; top: 8%; left: 5%; }
.portrait-2 { width: 120px; height: 155px; top: 15%; right: 8%; }
.portrait-3 { width: 130px; height: 170px; top: 45%; left: 8%; }
.portrait-4 { width: 110px; height: 145px; top: 50%; right: 5%; }
.portrait-5 { width: 125px; height: 160px; bottom: 12%; left: 12%; }
.portrait-6 { width: 115px; height: 150px; bottom: 15%; right: 12%; }

.message-inner {
    position: relative;
    z-index: 3;
    max-width: 700px;
    margin: 0 auto;
    padding: 0 40px;
}

.message-title {
    font-family: var(--font-display);
    font-size: clamp(34px, 4.5vw, 56px);
    font-weight: 700;
    letter-spacing: 8px;
    margin-bottom: 60px;
}
.message-title .accent {
    color: var(--color-accent);
}

.message-text {
    font-family: var(--font-serif);
    font-size: 18px;
    line-height: 2.4;
    letter-spacing: 3px;
    color: rgba(255,255,255,0.85);
    margin-bottom: 30px;
}

.message-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 3px;
    color: var(--color-white);
    padding: 14px 32px;
    border: 1px solid var(--color-accent);
    margin-top: 30px;
    transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}
.message-btn:hover {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: #fff;
}
.message-btn span {
    font-size: 18px;
    transition: transform 0.3s ease;
}
.message-btn:hover span {
    transform: translateX(4px);
}

/* ========== CAREER V2 (side-by-side dark panels) ========== */
.career-section-v2 {
    position: relative;
    z-index: 1;
    background: #0a0a0a;
    padding: 80px 40px;
}
.career-v2-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1800px;
    margin: 0 auto;
}
.career-v2-card {
    display: flex;
    flex-direction: column;
    color: var(--color-white);
    position: relative;
    overflow: hidden;
    min-height: 260px;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.career-v2-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 64px rgba(0,0,0,0.5);
}
/* Top accent line - slides in on hover */
.career-v2-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 3px;
    z-index: 2;
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.career-v2-card:hover::before {
    width: 100%;
}
.card-engineer::before { background: #4a9eff; }
.card-business::before { background: var(--color-accent); }
.card-sell::before { background: #5aad70; }

.card-engineer { background: #1a3050; }
.card-business { background: #3a3f47; }
.card-sell { background: #1e3328; }

/* Subtle inner glow on hover */
.career-v2-card::after {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}
.card-engineer::after { background: radial-gradient(ellipse at top left, rgba(74,158,255,0.08), transparent 60%); }
.card-business::after { background: radial-gradient(ellipse at top left, rgba(195,0,47,0.08), transparent 60%); }
.card-sell::after { background: radial-gradient(ellipse at top left, rgba(90,173,112,0.08), transparent 60%); }
.career-v2-card:hover::after { opacity: 1; }

.career-v2-body {
    padding: 32px 36px 28px;
    flex: 1;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
}
.career-v2-sub {
    font-size: 13px;
    letter-spacing: 2px;
    color: rgba(255,255,255,0.7);
    display: block;
    margin-bottom: 12px;
    transition: color 0.4s ease;
}
.career-v2-card:hover .career-v2-sub {
    color: rgba(255,255,255,0.9);
}
.career-v2-title {
    font-family: var(--font-display);
    font-size: clamp(24px, 2.5vw, 34px);
    font-weight: 700;
    letter-spacing: 4px;
    margin-bottom: 16px;
    line-height: 1.3;
}
.career-v2-desc {
    font-size: 13px;
    line-height: 1.8;
    color: rgba(255,255,255,0.6);
    margin-bottom: 20px;
    letter-spacing: 0.5px;
    flex: 1;
}
.career-v2-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 3px;
    color: var(--color-white);
    align-self: flex-end;
    padding: 10px 20px;
    border: 1px solid rgba(255,255,255,0.35);
    border-radius: 24px;
    transition: background 0.3s ease, border-color 0.3s ease;
}
.cv2-btn-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}
.cv2-btn-arrow {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}
.career-v2-card:hover .career-v2-btn {
    background: rgba(255,255,255,0.12);
    border-color: rgba(255,255,255,0.5);
}
.career-v2-card:hover .cv2-btn-arrow {
    transform: translateX(4px);
}

/* ========== MARQUEE ========== */
.marquee-section {
    position: relative;
    z-index: 1;
    background: #0a0a0a;
    padding-bottom: 90px;
    overflow: hidden;
    display: flex;
    align-items: center;
}
.marquee-track {
    display: flex;
    width: max-content;
    animation: marqueeScroll 150s linear infinite;
}
.marquee-text {
    font-family: var(--font-display);
    font-size: clamp(80px, 12vw, 160px);
    font-weight: 700;
    letter-spacing: 10px;
    color: #9a9994;
    text-shadow:
        0 1px 0 #b0afaa,
        0 2px 0 #7a7974,
        0 -1px 0 #606058;
    white-space: nowrap;
    text-transform: uppercase;
    line-height: 1;
}
@keyframes marqueeScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
/* S — dark navy */
.mq-s {
    animation: mqSGlow 4s ease-in-out infinite;
}
@keyframes mqSGlow {
    0%, 100% {
        color: #2b4f80;
        text-shadow: 0 0 16px rgba(43, 79, 128, 0.35), 0 0 40px rgba(43, 79, 128, 0.12), 0 1px 0 #3a6090, 0 2px 0 #1e3a60;
    }
    50% {
        color: #5a8ab8;
        text-shadow: 0 0 28px rgba(43, 79, 128, 0.5), 0 0 56px rgba(90, 138, 184, 0.2), 0 1px 0 #7aaad0, 0 2px 0 #3a6090;
    }
}
/* K — steel blue */
.mq-k {
    animation: mqKGlow 4s ease-in-out infinite;
}
@keyframes mqKGlow {
    0%, 100% {
        color: #6d90b8;
        text-shadow: 0 0 16px rgba(109, 144, 184, 0.35), 0 0 40px rgba(109, 144, 184, 0.12), 0 1px 0 #7da0c4, 0 2px 0 #5a7ea0;
    }
    50% {
        color: #a0cef0;
        text-shadow: 0 0 28px rgba(109, 144, 184, 0.55), 0 0 56px rgba(160, 206, 240, 0.2), 0 1px 0 #b0d8f5, 0 2px 0 #7da0c4;
    }
}

/* ========== SECTION TITLE ========== */
.section-title {
    text-align: center;
    margin-bottom: 60px;
}
.section-title-en {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 700;
    letter-spacing: 6px;
    color: var(--color-black);
    line-height: 1.2;
}
.section-title-ja {
    display: block;
    font-size: 14px;
    font-weight: 400;
    color: var(--color-gray-500);
    letter-spacing: 4px;
    margin-top: 10px;
}

/* ========== ABOUT ========== */
.about-scroll-wrapper {
    position: relative;
    background: var(--color-white);
}
.about-section {
    position: sticky;
    top: 0;
    z-index: 1;
    background: var(--color-white);
    padding: clamp(15px, 2vh, 30px) 40px;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}
.about-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    max-width: 1800px;
    min-height: 88vh;
    max-height: 100%;
    width: 100%;
    margin: 0 auto;
}

/* Left card */
.about-card-left {
    background: var(--color-gray-100);
    border-radius: 8px;
    padding: clamp(40px, 5vh, 90px) 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 0;
}
.about-heading {
    margin-bottom: 40px;
}
.about-heading-en {
    font-family: var(--font-display);
    font-size: clamp(28px, 3.5vw, 42px);
    font-weight: 700;
    letter-spacing: 4px;
    color: var(--color-black);
    display: block;
    margin-bottom: 14px;
}
.about-heading-jp-wrap {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.about-heading-jp {
    font-size: 14px;
    font-weight: 400;
    color: var(--color-gray-600);
    letter-spacing: 3px;
}
.about-heading-line {
    display: block;
    width: 30px;
    height: 1px;
    background: var(--color-gray-400);
}

/* Tab content - stacked items */
.about-tabs {
    margin-bottom: 30px;
}
.about-tab-content {
    position: relative;
    min-height: min(425px, 48vh);
}
.about-tab-item {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}
.about-tab-item.active {
    opacity: 1;
    visibility: visible;
    position: relative;
}
.about-tab-item a {
    display: block;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.about-tab-item a:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 36px rgba(0,0,0,0.12);
}
.about-tab-thumb {
    height: clamp(180px, 30vh, 300px);
    overflow: hidden;
}
.about-tab-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25,0,0.25,1);
}
.about-tab-item a:hover .about-tab-thumb img {
    transform: scale(1.06);
}
.about-tab-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    border: 1px solid var(--color-gray-200);
    border-top: none;
    background: var(--color-white);
    transition: border-color 0.3s ease;
}
.about-tab-item a:hover .about-tab-btn {
    border-color: var(--color-gray-200);
}
.about-tab-btn-en {
    font-family: var(--font-display);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--color-gray-500);
    display: block;
    margin-bottom: 4px;
}
.about-tab-btn-jp {
    font-size: 15px;
    font-weight: 700;
    color: var(--color-black);
    letter-spacing: 1px;
}
.about-tab-btn-arrow {
    width: 40px;
    height: 40px;
    background: var(--color-gray-900);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    flex-shrink: 0;
    transition: background 0.3s ease, transform 0.3s ease;
}
.about-tab-item a:hover .about-tab-btn-arrow {
    background: var(--color-accent);
    transform: scale(1.05);
}
.about-tab-btn-arrow svg {
    width: 10px;
    height: 16px;
}

/* Navigation dots */
.about-nav {
    display: flex;
    gap: 8px;
    margin-top: 20px;
}
.about-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-gray-300);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: background 0.3s ease, transform 0.3s ease;
}
.about-dot.active {
    background: var(--color-gray-800);
    transform: scale(1.25);
}

/* ABOUT ALL link */
.about-all a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 3px;
    color: var(--color-gray-800);
    transition: color 0.3s ease;
}
.about-all a:hover {
    color: var(--color-accent);
}
.about-all svg {
    transition: transform 0.3s ease;
}
.about-all a:hover svg {
    transform: translateX(4px);
}

/* Right card: image */
.about-card-right {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
}
.about-pic {
    position: absolute;
    inset: 0;
}
.about-pic img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
}
.about-pic[data-about-pic="0"] {
    background: linear-gradient(135deg, #2b5876, #4e4376);
    z-index: 1;
    will-change: transform;
}
.about-pic[data-about-pic="1"] {
    background: linear-gradient(135deg, #355c7d, #6c5b7b, #c06c84);
    z-index: 0;
}

/* ── Short viewport (≤900px height, e.g. 150% scaling) ── */
@media (max-height: 900px) {
    .about-section { padding-top: 20px; padding-bottom: 20px; }
    .about-card-left { padding: 24px 30px; }
    .about-heading { margin-bottom: 20px; }
    .about-heading-en { font-size: 24px; margin-bottom: 8px; }
    .about-tab-content { min-height: min(320px, 42vh); }
    .about-tab-thumb { height: clamp(140px, 24vh, 220px); }
    .about-tabs { margin-bottom: 16px; }
    .about-nav { margin-top: 12px; }
    .about-tab-btn { padding: 12px 16px; }
    .service-inner { padding-top: 5vh; }
    .service-section .section-title { margin-bottom: 16px; }
    .service-lead { margin-bottom: 20px; font-size: 13px; line-height: 1.8; }
    .service-acc-trigger { padding: 16px 0; gap: 14px; }
    .service-acc-en { font-size: clamp(16px, 2vw, 22px); }
    .service-acc-jp { font-size: 12px; margin-top: 2px; }
    .service-acc-num { font-size: 12px; min-width: 28px; }
    .service-acc-item.active .service-acc-body { padding: 0 0 16px 40px; }
    .service-acc-body { padding-left: 40px; }
    .service-acc-body p { font-size: 13px; line-height: 1.7; }
    .service-image { aspect-ratio: 3 / 2; }
}

/* ========== SERVICE ========== */
.service-scroll-wrapper {
    position: relative;
}
.service-section {
    background: #0d1520;
    color: var(--color-white);
    overflow: hidden;
    position: sticky;
    top: 0;
    height: calc(100vh / var(--zoom));
}
.service-section .section-title-en { color: var(--color-white); }
.service-section .section-title-ja { color: var(--color-gray-400); }
.service-section .section-title { text-align: left; margin-bottom: 30px; }

.service-section::after {
    z-index: 0;
}
.service-inner {
    max-width: 1800px;
    margin: 0 auto;
    padding: 6vh 60px 0;
    width: 100%;
    position: relative;
    z-index: 1;
}
.service-lead {
    font-size: 14px;
    line-height: 2;
    color: rgba(255,255,255,0.6);
    letter-spacing: 1px;
    margin-bottom: 60px;
}

.service-layout {
    position: relative;
    padding-left: calc(50% + 30px);
    border-radius: 6px;
}

/* Left image — absolute, fully independent of right side */
.service-image {
    position: absolute;
    left: 0;
    top: 0;
    width: calc(50% - 30px);
    aspect-ratio: 4 / 3;
    border-radius: 4px;
    overflow: hidden;
}
.service-img-item {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.service-img-item.active { opacity: 1; }
.service-img-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.05);
    transition: transform 4s cubic-bezier(0.25, 0, 0.25, 1);
}
.service-img-item.active img {
    transform: scale(1);
}
.service-img-item .placeholder-img {
    width: 100%;
    height: 100%;
}

/* Right accordion */
.service-accordion {
    display: flex;
    flex-direction: column;
}
.service-acc-item {
    border-bottom: 1px solid rgba(255,255,255,0.1);
    border-left: 2px solid transparent;
    padding-left: 0;
    transition: border-color 0.5s ease, background 0.5s ease, padding-left 0.4s ease;
}
.service-acc-item.active {
    background: rgba(255,255,255,0.03);
    border-left-color: var(--color-accent);
    padding-left: 16px;
}
.service-acc-item:first-child {
    border-top: 1px solid rgba(255,255,255,0.1);
}
.service-acc-trigger {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 22px 0;
    background: none;
    border: none;
    color: var(--color-white);
    cursor: pointer;
    text-align: left;
    transition: opacity 0.3s ease;
}
.service-acc-trigger:hover { opacity: 0.7; }
.service-acc-num {
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 400;
    color: rgba(255,255,255,0.35);
    min-width: 36px;
    transition: color 0.4s ease;
}
.service-acc-item.active .service-acc-num {
    color: var(--color-accent);
}
.service-acc-titles {
    flex: 1;
}
.service-acc-en {
    font-family: var(--font-display);
    font-size: clamp(24px, 2.8vw, 34px);
    font-weight: 700;
    letter-spacing: 3px;
    display: block;
    line-height: 1.3;
    transition: letter-spacing 0.4s ease;
}
.service-acc-item.active .service-acc-en {
    letter-spacing: 5px;
}
.service-acc-jp {
    font-size: 14px;
    color: rgba(255,255,255,0.5);
    letter-spacing: 2px;
    display: block;
    margin-top: 4px;
}
.service-acc-icon {
    color: rgba(255,255,255,0.4);
    transition: transform 0.4s ease, color 0.3s ease;
    flex-shrink: 0;
}
.service-acc-item.active .service-acc-icon {
    transform: rotate(180deg);
    color: var(--color-accent);
}

/* Accordion body */
.service-acc-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.6s cubic-bezier(0.4, 0, 0.2, 1), padding 0.5s ease, opacity 0.5s ease;
    padding: 0 0 0 56px;
    opacity: 0;
}
.service-acc-item.active .service-acc-body {
    max-height: 600px;
    padding: 0 0 20px 56px;
    opacity: 1;
}
.service-acc-body p {
    font-size: 16px;
    line-height: 1.8;
    color: rgba(255,255,255,0.65);
    letter-spacing: 0.5px;
    transform: translateY(10px);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1) 0.1s;
}
.service-acc-item.active .service-acc-body p {
    transform: translateY(0);
}
.service-acc-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    font-family: var(--font-sans);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--color-accent);
    text-decoration: none;
    transition: color 0.3s, gap 0.3s;
}
.service-acc-link + .service-acc-link {
    margin-left: 50px;
}
.service-acc-link:hover {
    color: #fff;
    gap: 12px;
}
.service-acc-link svg {
    flex-shrink: 0;
    transition: transform 0.3s;
}
.service-acc-link:hover svg {
    transform: translateX(4px);
}

/* ========== VEHICLES (Homepage Showcase) ========== */
.vh-section {
    background: linear-gradient(180deg, #080c14 0%, #0f1923 100%);
    padding: 120px 0 60px;
    overflow: hidden;
    position: relative;
}
.vh-section::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.015);
    -webkit-mask-image: repeating-linear-gradient(
        0deg, transparent, transparent 1px, black 1px, black 2px
    );
    mask-image: repeating-linear-gradient(
        0deg, transparent, transparent 1px, black 1px, black 2px
    );
    pointer-events: none;
    z-index: 0;
}
.vh-inner {
    position: relative;
    z-index: 1;
    max-width: 1800px;
    margin: 0 auto;
}

/* ── Header ── */
.vh-header {
    padding: 0 60px;
    margin-bottom: 50px;
}
.vh-header-row {
    display: flex;
    align-items: center;
    gap: 32px;
    margin-bottom: 20px;
}
.vh-section .section-title {
    text-align: left;
    margin-bottom: 0;
}
.vh-section .section-title-en {
    color: var(--color-white);
}
.vh-section .section-title-ja {
    color: var(--color-gray-400);
}
.vh-lead {
    font-size: 14px;
    line-height: 2;
    color: rgba(255,255,255,0.5);
    max-width: 600px;
    letter-spacing: 0.5px;
    transition: opacity 0.25s ease;
}

/* ── Category Tabs (Sale / Rental) ── */
.vh-tabs {
    display: flex;
    gap: 4px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 14px;
    padding: 5px;
}
.vh-tabs__btn {
    min-width: 120px;
    padding: 12px 28px;
    font-size: 15px;
    font-weight: 600;
    color: rgba(255,255,255,0.6);
    background: transparent;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.25s ease;
    font-family: var(--font-display);
    letter-spacing: 2px;
    text-align: center;
}
.vh-tabs__btn:hover {
    color: #fff;
    background: rgba(255,255,255,0.08);
}
.vh-tabs__btn--active {
    color: #fff;
    background: rgba(196,154,42,0.30);
    border: 1px solid #c49a2a;
    box-shadow: 0 0 24px rgba(196,154,42,0.35), inset 0 0 12px rgba(196,154,42,0.10);
}
.vh-tabs__btn--active:hover {
    background: rgba(196,154,42,0.40);
    border-color: #d4aa3a;
    color: #fff;
}

/* ── Vehicle grid ── */
.vh-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    padding: 0 60px;
}

/* ── Vehicle card ── */
.vh-card {
    border-radius: 12px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(255,255,255,0.13) 0%, rgba(255,255,255,0.06) 50%, rgba(255,255,255,0.11) 100%);
    backdrop-filter: blur(20px) saturate(1.4);
    -webkit-backdrop-filter: blur(20px) saturate(1.4);
    border: 1px solid rgba(255,255,255,0.15);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.18), inset 0 0 30px rgba(255,255,255,0.04), 0 4px 24px rgba(0,0,0,0.2);
    transition: transform 0.4s cubic-bezier(0.25, 0, 0.25, 1),
                box-shadow 0.4s cubic-bezier(0.25, 0, 0.25, 1),
                border-color 0.4s ease;
    opacity: 0;
    transform: translateY(30px);
}
.vh-card.vh-visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s cubic-bezier(0.25, 0, 0.25, 1) calc(var(--vh-i, 0) * 100ms),
                transform 0.6s cubic-bezier(0.25, 0, 0.25, 1) calc(var(--vh-i, 0) * 100ms),
                box-shadow 0.4s cubic-bezier(0.25, 0, 0.25, 1),
                border-color 0.4s ease;
}
.vh-card:hover {
    transform: none;
}
.vh-card.vh-visible:hover {
    transform: none;
}

.vh-card-link {
    display: block;
    color: inherit;
    text-decoration: none;
}

/* ── Card image ── */
.vh-card-img {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: linear-gradient(135deg, #1a2332 0%, #0d1520 100%);
}
.vh-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0, 0.25, 1);
}
.vh-card:hover .vh-card-img img {
    transform: none;
}
.vh-card-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.1) 40%, transparent 60%);
    pointer-events: none;
    z-index: 1;
}
.vh-card-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.15);
}

/* ── Card price badge ── */
.vh-card-price {
    position: absolute;
    bottom: 14px;
    right: 16px;
    z-index: 2;
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 700;
    color: var(--color-accent);
    letter-spacing: 1px;
    text-shadow: 0 1px 4px rgba(0,0,0,0.6);
    line-height: 1;
}
.vh-card-price-label {
    position: absolute;
    bottom: 38px;
    right: 16px;
    z-index: 2;
    font-size: 10px;
    font-weight: 600;
    color: #10b981;
    padding: 2px 0;
    letter-spacing: 0.5px;
    line-height: 1;
    text-shadow: 0 1px 3px rgba(0,0,0,0.7);
}
.vh-card-price--rental {
    font-size: 18px;
    color: #00d4ff;
    background: rgba(0,0,0,0.5);
    padding: 4px 10px;
    border-radius: 6px;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    letter-spacing: 0.5px;
}
.vh-card-class {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    font-family: var(--font-display);
    font-size: 11px;
    font-weight: 700;
    color: #fff;
    background: rgba(0,212,255,0.25);
    border: 1px solid rgba(0,212,255,0.3);
    padding: 3px 10px;
    border-radius: 6px;
    letter-spacing: 1px;
    text-transform: uppercase;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

/* ── Card body ── */
.vh-card-body {
    padding: 18px 22px 22px;
}
.vh-card-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--color-white);
    letter-spacing: 0.5px;
    line-height: 1.4;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.vh-card-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}
.vh-card-spec {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    color: rgba(255,255,255,0.45);
    letter-spacing: 0.3px;
    white-space: nowrap;
}
.vh-card-spec svg {
    flex-shrink: 0;
    opacity: 0.5;
}
.vh-card-price-mobile {
    display: none;
}
.vh-card-price-badge {
    display: none;
    align-items: center;
    gap: 4px;
    font-size: 10px;
    font-weight: 600;
    color: #10b981;
    background: rgba(16,185,129,0.1);
    border: 1px solid rgba(16,185,129,0.2);
    padding: 2px 8px;
    border-radius: 4px;
    letter-spacing: 0.5px;
    line-height: 1;
    margin-bottom: 6px;
}
.vh-card-price-badge small {
    font-size: 9px;
    font-weight: 400;
    opacity: 0.8;
}

/* ── Front page: Brands grid ── */
.fp-brands { background: #0d1117; padding: 80px 0; }
.fp-brands__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    max-width: 900px;
    margin: 0 auto;
}
.fp-brands__card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 24px 16px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 12px;
    text-decoration: none;
    transition: border-color 0.3s, background 0.3s;
}
.fp-brands__card:hover {
    border-color: var(--color-accent);
    background: rgba(255,255,255,0.06);
}
.fp-brands__logo { border-radius: 8px; object-fit: contain; }
.fp-brands__name { color: #fff; font-size: 0.95rem; font-weight: 600; }
.fp-brands__count { color: var(--color-gray-400); font-size: 0.8rem; }

/* ── Front page: Areas grid ── */
.fp-areas { background: #141c24; padding: 80px 0; }
.fp-areas__grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    max-width: 800px;
    margin: 0 auto;
}
.fp-areas__card {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 999px;
    color: rgba(255,255,255,0.85);
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    transition: border-color 0.3s, color 0.3s;
}
.fp-areas__card:hover {
    border-color: var(--color-accent);
    color: #fff;
}
.fp-areas__icon { color: var(--color-accent); flex-shrink: 0; }

@media (max-width: 768px) {
    .fp-brands { padding: 60px 0; }
    .fp-brands__grid { grid-template-columns: repeat(2, 1fr); }
    .fp-areas { padding: 60px 0; }
}

/* ── Trust Banner (between vehicles & numbers) ── */
.trust-banner {
    text-align: center;
    padding: 36px 20px;
    background: linear-gradient(135deg, #0f1923 0%, #0f2218 50%, #0f1923 100%);
    position: relative;
    z-index: 2;
}
.trust-banner::before,
.trust-banner::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 5px;
    border-top: 1px solid;
    border-bottom: 1px solid;
    border-image: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.18) 25%, rgba(255,255,255,0.25) 50%, rgba(255,255,255,0.18) 75%, transparent 100%) 1;
}
.trust-banner::before { top: 0; }
.trust-banner::after  { bottom: 0; }
.trust-banner-inner {
    display: inline-flex;
    align-items: center;
    gap: 18px;
    font-size: 16px;
    color: rgba(255,255,255,0.92);
    letter-spacing: 0.5px;
}
.trust-banner-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #10b981;
    color: #fff;
    flex-shrink: 0;
    animation: trust-pulse 2.5s ease-in-out infinite;
}
@keyframes trust-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(16,185,129,0.4); }
    50%      { box-shadow: 0 0 0 8px rgba(16,185,129,0); }
}
.trust-banner-link {
    color: #10b981;
    text-decoration: none;
    font-weight: 500;
    white-space: nowrap;
    transition: color 0.25s;
}
.trust-banner-link:hover {
    color: #34d399;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .trust-banner-inner {
        flex-direction: column;
        gap: 10px;
        font-size: 14px;
    }
}

/* ── CTA ── */
.vh-cta {
    display: flex;
    justify-content: center;
    margin-top: 48px;
}
.vh-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 36px;
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--color-white);
    text-decoration: none;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 4px;
    background: transparent;
    transition: border-color 0.3s ease, background 0.3s ease;
}
.vh-cta-btn:hover {
    border-color: var(--color-accent);
    background: rgba(196,154,42,0.08);
}
.vh-cta-btn svg {
    transition: transform 0.3s ease;
}
.vh-cta-btn:hover svg {
    transform: translateX(4px);
}

/* ── Responsive ── */
@media (max-width: 1024px) {
    .vh-section { padding: 100px 0 80px; }
    .vh-header { padding: 0 40px; }
    .vh-grid { grid-template-columns: repeat(3, 1fr); padding: 0 40px; }
}
@media (max-width: 768px) {
    .vh-section { padding: 80px 0 60px; }
    .vh-header { padding: 0 20px; }
    .vh-header-row { flex-direction: column; align-items: flex-start; gap: 16px; }
    .vh-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; padding: 0 20px; }
    .vh-cta { margin-bottom: 48px; }
}
@media (max-width: 480px) {
    .vh-grid { grid-template-columns: 1fr; gap: 10px; }

    /* ── Horizontal card layout ── */
    .vh-card { border-radius: 10px; }
    .vh-card-link {
        display: flex;
        flex-direction: row;
    }
    .vh-card-img {
        width: 130px;
        min-width: 130px;
        aspect-ratio: unset;
        align-self: stretch;
        border-radius: 10px 0 0 10px;
    }
    .vh-card-img img {
        height: 100%;
        object-fit: cover;
        object-position: center;
    }
    .vh-card-img-overlay { display: none; }
    .vh-card-price, .vh-card-price-label { display: none; }
    .vh-card-price-badge { display: inline-flex; }
    .vh-card-class {
        font-size: 9px;
        padding: 2px 6px;
        top: 6px;
        left: 6px;
    }

    /* ── Body: frosted glass right side ── */
    .vh-card-body {
        flex: 1;
        min-width: 0;
        padding: 10px 14px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        background: rgba(255,255,255,0.04);
    }
    .vh-card-title {
        font-size: 13px;
        margin-bottom: 4px;
        letter-spacing: 0.3px;
    }

    /* ── Mobile price (visible only on mobile) ── */
    .vh-card-price-mobile {
        display: block;
        font-family: var(--font-display);
        font-size: 17px;
        font-weight: 700;
        color: var(--color-accent);
        letter-spacing: 0.5px;
        margin-bottom: 6px;
        line-height: 1;
    }
    .vh-card-price-mobile--rental {
        color: #00d4ff;
        font-size: 15px;
    }

    .vh-card-specs { gap: 8px; }
    .vh-card-spec { font-size: 11px; }
    .vh-card-spec svg { width: 12px; height: 12px; }
}

/* ========== RENTAL BANNER (Homepage) ========== */
.rb-section {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #0a1628 0%, #122240 50%, #0d1a30 100%);
}
.rb-inner {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 40px;
    display: flex;
    align-items: center;
    gap: 60px;
}
.rb-content {
    flex: 1;
    min-width: 0;
}
.rb-tagline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 600;
    color: #00d4ff;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 16px;
    background: rgba(0,212,255,0.08);
    border: 1px solid rgba(0,212,255,0.2);
    padding: 6px 16px;
    border-radius: 30px;
}
.rb-tagline svg { flex-shrink: 0; }
.rb-heading {
    font-family: var(--font-display);
    font-size: 36px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 2px;
    line-height: 1.3;
    margin: 0 0 16px;
}
.rb-desc {
    font-size: 15px;
    line-height: 1.8;
    color: rgba(255,255,255,0.6);
    margin: 0 0 28px;
    max-width: 500px;
}
.rb-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.rb-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
}
.rb-btn--primary {
    color: #fff;
    background: linear-gradient(135deg, #00b4d8, #0077b6);
    border: none;
}
.rb-btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,180,216,0.3);
    color: #fff;
    text-decoration: none;
}
.rb-btn--ghost {
    color: rgba(255,255,255,0.8);
    background: transparent;
    border: 1px solid rgba(255,255,255,0.2);
}
.rb-btn--ghost:hover {
    color: #fff;
    border-color: rgba(255,255,255,0.4);
    background: rgba(255,255,255,0.06);
    text-decoration: none;
}
.rb-btn svg {
    transition: transform 0.3s ease;
}
.rb-btn:hover svg {
    transform: translateX(3px);
}
.rb-features {
    display: flex;
    gap: 24px;
    flex-shrink: 0;
}
.rb-feat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-align: center;
}
.rb-feat-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: rgba(0,212,255,0.08);
    border: 1px solid rgba(0,212,255,0.15);
    color: #00d4ff;
    transition: all 0.3s ease;
}
.rb-feat:hover .rb-feat-icon {
    background: rgba(0,212,255,0.15);
    border-color: rgba(0,212,255,0.3);
    transform: translateY(-2px);
}
.rb-feat-label {
    font-size: 12px;
    font-weight: 600;
    color: rgba(255,255,255,0.7);
    letter-spacing: 0.5px;
    white-space: nowrap;
}
/* Decorative glow */
.rb-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0,180,216,0.08) 0%, transparent 70%);
    pointer-events: none;
    z-index: 1;
}
.rb-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0,119,182,0.06) 0%, transparent 70%);
    pointer-events: none;
    z-index: 1;
}
/* Border lines */
.rb-border-top,
.rb-border-bottom {
    position: absolute;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0,212,255,0.2), transparent);
    z-index: 2;
}
.rb-border-top { top: 0; }
.rb-border-bottom { bottom: 0; }

@media (max-width: 1024px) {
    .rb-inner { padding: 60px 30px; gap: 40px; }
    .rb-heading { font-size: 28px; }
}
@media (max-width: 768px) {
    .rb-inner {
        flex-direction: column;
        text-align: center;
        padding: 50px 20px;
        gap: 32px;
    }
    .rb-desc { margin-left: auto; margin-right: auto; }
    .rb-buttons { justify-content: center; }
    .rb-heading { font-size: 24px; }
    .rb-features { gap: 16px; }
    .rb-feat-icon { width: 48px; height: 48px; border-radius: 12px; }
}
@media (max-width: 480px) {
    .rb-features { flex-wrap: wrap; justify-content: center; }
    .rb-btn { width: 100%; justify-content: center; }
}

/* ========== NUMBERS (Homepage Stats) ========== */
.numbers-section {
    background: #0f1923;
    padding: 140px 0;
    overflow: hidden;
    position: relative;
}
.numbers-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 60px;
    right: 60px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(196,154,42,0.35) 20%, rgba(196,154,42,0.35) 80%, transparent);
}
.numbers-section .section-title { text-align: left; margin-bottom: 28px; }
.numbers-section .section-title-en { color: var(--color-white); }
.numbers-section .section-title-ja { color: var(--color-gray-400); }

/* ── Split layout ── */
.numbers-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 80px;
    align-items: start;
    max-width: 1800px;
    margin: 0 auto;
    padding: 0 60px;
}

/* ── Left column ── */
.numbers-left { position: relative; }
.numbers-lead {
    font-size: 15px;
    line-height: 2;
    color: rgba(255,255,255,0.5);
    max-width: 420px;
    letter-spacing: 0.5px;
}
.numbers-watermark {
    position: absolute;
    bottom: -40px;
    left: -20px;
    font-family: var(--font-display);
    font-size: clamp(140px, 16vw, 220px);
    font-weight: 800;
    color: rgba(196,154,42,0.04);
    line-height: 1;
    letter-spacing: -6px;
    user-select: none;
    pointer-events: none;
}
.numbers-watermark span {
    color: rgba(196,154,42,0.07);
}

/* ── Right: 2×2 grid ── */
.numbers-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}
.numbers-item {
    position: relative;
    padding: 36px 28px;
    border-left: 3px solid var(--color-accent);
    background: rgba(255,255,255,0.025);
    border-radius: 0 8px 8px 0;
    transition: background 0.3s ease, transform 0.3s ease;
}
.numbers-item:hover {
    background: rgba(255,255,255,0.05);
    transform: translateY(-2px);
}

/* ── Icon ── */
.numbers-item-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(196,154,42,0.1);
    color: var(--color-accent);
    margin-bottom: 20px;
}

/* ── Value ── */
.numbers-value-wrap {
    display: flex;
    align-items: baseline;
    gap: 4px;
    line-height: 1;
}
.numbers-value {
    font-family: var(--font-display);
    font-size: clamp(36px, 4.5vw, 56px);
    font-weight: 700;
    color: var(--color-accent);
    letter-spacing: 2px;
}
.numbers-unit {
    font-size: clamp(14px, 1.5vw, 20px);
    font-weight: 500;
    color: var(--color-accent);
    opacity: 0.75;
}
.numbers-label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: rgba(255,255,255,0.6);
    letter-spacing: 3px;
    margin-top: 12px;
    text-transform: uppercase;
}
.numbers-desc {
    font-size: 13px;
    color: var(--color-gray-400);
    line-height: 1.7;
    margin-top: 10px;
}

/* ── Highlights ── */
.numbers-highlights {
    list-style: none;
    margin: 32px 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.numbers-highlights li {
    position: relative;
    padding-left: 18px;
    font-size: 14px;
    line-height: 1.7;
    color: rgba(255,255,255,0.85);
    letter-spacing: 0.3px;
}
.numbers-highlights li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 9px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-accent);
    opacity: 0.6;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
    .numbers-inner { grid-template-columns: 1fr; gap: 48px; }
    .numbers-left { text-align: left; }
    .numbers-watermark { display: none; }
}
@media (max-width: 768px) {
    .numbers-section { padding: 60px 0; }
    .numbers-section::before { left: 24px; right: 24px; }
    .numbers-inner { padding: 0 24px; }
    .numbers-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
    .numbers-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 14px 10px;
        border-left: none;
        border-top: 3px solid var(--color-accent);
        border-radius: 0 0 8px 8px;
    }
    .numbers-item-icon {
        width: 36px;
        height: 36px;
        border-radius: 8px;
        margin-bottom: 8px;
    }
    .numbers-item-icon svg { width: 18px; height: 18px; }
    .numbers-value-wrap { justify-content: center; }
    .numbers-value { font-size: 24px; letter-spacing: 1px; }
    .numbers-unit { font-size: 12px; }
    .numbers-label { margin-top: 4px; font-size: 10px; letter-spacing: 2px; }
    .numbers-desc { display: none; }
}

/* ========== SHOPS ========== */
.shop-section {
    background: #0f1923;
    padding-top: 80px;
}
.shop-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 60px;
    right: 60px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(196,154,42,0.35) 20%, rgba(196,154,42,0.35) 80%, transparent);
}
.shop-section .section-title { text-align: left; }
.shop-section .section-title-en { color: var(--color-white); }
.shop-section .section-title-ja { color: var(--color-gray-400); }
.shop-section .container {
    max-width: 1800px;
    padding: 0 60px;
}

/* ---- Shop Grid: horizontal cards with diagonal clip ---- */
.shop-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}
.shop-card {
    display: flex;
    flex-direction: row;
    background: linear-gradient(135deg, rgba(255,255,255,0.13) 0%, rgba(255,255,255,0.06) 50%, rgba(255,255,255,0.11) 100%);
    backdrop-filter: blur(20px) saturate(1.4);
    -webkit-backdrop-filter: blur(20px) saturate(1.4);
    border: 1px solid rgba(255,255,255,0.15);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.18), inset 0 0 30px rgba(255,255,255,0.04), 0 4px 24px rgba(0,0,0,0.2);
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    height: 280px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    color: inherit;
}
.shop-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(0,0,0,0.3);
    border-color: rgba(255,255,255,0.1);
}

/* Diagonal image area */
.shop-card-img {
    flex: 0 0 48%;
    position: relative;
    overflow: hidden;
    clip-path: polygon(0 0, 100% 0, 78% 100%, 0 100%);
}
.shop-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Accent bar — now a vertical stripe at left of body */
.shop-card-accent {
    width: 4px;
    height: 48px;
    border-radius: 2px;
    flex-shrink: 0;
    margin-bottom: 4px;
}
.accent-blue { background: linear-gradient(180deg, #2980b9, #3498db); }
.accent-green { background: linear-gradient(180deg, #27ae60, #2ecc71); }
.accent-orange { background: linear-gradient(180deg, #e67e22, #f39c12); }
.accent-purple { background: linear-gradient(180deg, #8e44ad, #9b59b6); }
.accent-red { background: linear-gradient(180deg, #a07c1c, #d4a83a); }

/* Card body */
.shop-card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 28px 28px 28px 16px;
    min-width: 0;
}
.shop-card-name {
    font-size: 20px;
    font-weight: 800;
    color: var(--color-white);
    letter-spacing: 0.5px;
    line-height: 1.3;
}

/* Service badges — text labels with icon */
.shop-card-services {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 12px;
}
.service-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 0;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
}
.service-badge svg {
    flex-shrink: 0;
}
.badge-sales { color: #5ba3d9; }
.badge-rental { color: #5bc48a; }
.badge-repair { color: #e8a45c; }
.badge-cafe { color: rgba(255,255,255,0.45); }

/* Address & phone */
.shop-card-info {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid rgba(255,255,255,0.08);
}
.shop-card-address,
.shop-card-tel {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: rgba(255,255,255,0.5);
    line-height: 1.4;
}
.shop-card-address svg,
.shop-card-tel svg {
    flex-shrink: 0;
    color: rgba(255,255,255,0.3);
}

/* Detail link button */
.shop-card-link-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 4px;
    font-size: 13px;
    font-weight: 600;
    color: var(--color-accent);
    letter-spacing: 0.5px;
    transition: color 0.2s;
}
.shop-card:hover .shop-card-link-btn {
    color: var(--color-accent-dark);
}

/* Shop placeholder with icon */
.shop-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: relative;
}
.shop-placeholder svg {
    opacity: 0.9;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.15));
}
.shop-placeholder-name {
    color: rgba(255,255,255,0.5);
    font-family: var(--font-display);
    font-size: 13px;
    letter-spacing: 2px;
    font-weight: 500;
}

/* Coming Soon shop card */
.coming-soon-img {
    background: repeating-linear-gradient(
        -45deg,
        #1a2030,
        #1a2030 10px,
        #151c28 10px,
        #151c28 20px
    ) !important;
    display: flex;
    align-items: center;
    justify-content: center;
    clip-path: polygon(0 0, 100% 0, 78% 100%, 0 100%);
}
.coming-soon-img::after {
    content: 'COMING SOON';
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 4px;
    color: rgba(255,255,255,0.15);
}
.shop-card--coming-soon {
    opacity: 0.7;
}
.shop-card--coming-soon:hover {
    transform: none;
    box-shadow: none;
}
.coming-soon-label {
    font-size: 14px;
    color: var(--color-gray-400);
    font-style: italic;
    letter-spacing: 0.5px;
}

/* ---- Location Section Title (switchable) ---- */
.loc-heading {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}
.loc-heading-bg {
    display: none;
}
.loc-heading-body {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
}
.loc-heading-en {
    font-family: var(--font-display);
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 800;
    letter-spacing: 10px;
    line-height: 1;
    color: #fff;
}
.loc-heading-rule {
    display: block;
    width: 40px;
    height: 2px;
    margin: 16px auto;
    background: var(--color-accent);
}
.loc-heading-ja {
    font-size: 13px;
    font-weight: 400;
    color: rgba(255,255,255,0.45);
    letter-spacing: 6px;
}

/* ── A: Minimal ── */
/* (defaults above — no extra styles needed) */

/* ── B: Gold Frame ── */
.loc-heading--gold-frame .loc-heading-body {
    padding: 40px 72px;
    border: 1px solid rgba(196,154,42,0.35);
    border-radius: 4px;
    position: relative;
}
.loc-heading--gold-frame .loc-heading-body::before {
    content: '';
    position: absolute;
    inset: 5px;
    border: 1px solid rgba(196,154,42,0.12);
    border-radius: 2px;
    pointer-events: none;
}

/* ── C: Layered (large bg text + foreground) ── */
.loc-heading--layered {
    padding-top: 30px;
}
.loc-heading--layered .loc-heading-bg {
    display: block;
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--font-display);
    font-size: clamp(80px, 12vw, 160px);
    font-weight: 900;
    letter-spacing: 12px;
    color: rgba(255,255,255,0.03);
    white-space: nowrap;
    pointer-events: none;
    line-height: 1;
}
.loc-heading--layered .loc-heading-body {
    position: relative;
    z-index: 1;
}
.loc-heading--layered .loc-heading-en {
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 700;
    letter-spacing: 8px;
}

/* ── D: Vertical ── */
.loc-heading--vertical {
    text-align: left;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
}
.loc-heading--vertical .loc-heading-body {
    flex-direction: row;
    align-items: center;
    gap: 28px;
}
.loc-heading--vertical .loc-heading-en {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    font-size: clamp(24px, 3vw, 36px);
    letter-spacing: 6px;
    line-height: 1.2;
}
.loc-heading--vertical .loc-heading-rule {
    width: 2px;
    height: 40px;
    margin: 0;
}
.loc-heading--vertical .loc-heading-ja {
    writing-mode: horizontal-tb;
    font-size: 15px;
    letter-spacing: 8px;
}

/* Responsive */
@media (max-width: 640px) {
    .loc-heading-en { letter-spacing: 6px; }
    .loc-heading--gold-frame .loc-heading-body { padding: 28px 36px; }
    .loc-heading--vertical { gap: 20px; }
    .loc-heading--vertical .loc-heading-body { gap: 20px; }
    .loc-heading--vertical .loc-heading-en { font-size: 22px; }
}

/* ========== VOICE ========== */
.voice-section {
    background: #0f1923;
    overflow: hidden;
    padding-top: 80px;
}
.voice-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 60px;
    right: 60px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(196,154,42,0.35) 20%, rgba(196,154,42,0.35) 80%, transparent);
}
.voice-section .section-title { text-align: left; }
.voice-section .section-title-en { color: var(--color-white); }
.voice-section .section-title-ja { color: var(--color-gray-400); }
.voice-section .container {
    max-width: 1800px;
    padding: 0 60px;
    margin-bottom: 48px;
}
.voice-scroll {
    width: 100%;
    overflow: hidden;
    padding: 20px 0 30px;
    mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
    -webkit-user-select: none;
    user-select: none;
}
.voice-scroll-track {
    display: flex;
    gap: 32px;
    width: max-content;
    will-change: transform;
}

/* Card */
.voice-card {
    flex-shrink: 0;
    width: 360px;
    display: flex;
    flex-direction: column;
    background: linear-gradient(
        135deg,
        rgba(255,255,255,0.13) 0%,
        rgba(255,255,255,0.06) 50%,
        rgba(255,255,255,0.11) 100%
    );
    backdrop-filter: blur(20px) saturate(1.4);
    -webkit-backdrop-filter: blur(20px) saturate(1.4);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.18),
                inset 0 0 30px rgba(255,255,255,0.04),
                0 4px 24px rgba(0,0,0,0.2);
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
                box-shadow 0.5s cubic-bezier(0.22, 1, 0.36, 1),
                border-color 0.4s ease;
}
.voice-card:hover {
    transform: translateY(-6px);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.18),
                0 16px 40px rgba(0,0,0,0.35),
                0 0 20px rgba(196,154,42,0.08);
    border-color: rgba(196,154,42,0.25);
}

/* Image — top */
.voice-card-img {
    aspect-ratio: 3 / 2;
    overflow: hidden;
}
.voice-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.voice-card:hover .voice-card-img img {
    transform: scale(1.06);
}

/* Body — right side */
.voice-card-body {
    flex: 1;
    padding: 28px 28px 24px;
    display: flex;
    flex-direction: column;
    position: relative;
}

/* Decorative quote marks */
.voice-card-quote-mark {
    font-family: Georgia, serif;
    font-size: 48px;
    line-height: 1;
    color: var(--color-accent);
    opacity: 0.35;
    position: absolute;
    pointer-events: none;
    transition: opacity 0.4s ease;
}
.voice-card-quote-open {
    top: 10px;
    left: 16px;
}
.voice-card-quote-close {
    position: static;
    display: block;
    text-align: right;
    margin-top: -8px;
}
.voice-card:hover .voice-card-quote-mark {
    opacity: 0.6;
}

/* Quote text */
.voice-card-text {
    font-size: 15px;
    font-weight: 500;
    line-height: 1.8;
    color: rgba(255,255,255,0.9);
    margin: 0;
    flex: 1;
}

/* Customer meta */
.voice-card-meta {
    margin-top: 16px;
    padding-top: 12px;
    border-top: 1px solid rgba(255,255,255,0.08);
}
.voice-card-name {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--color-accent);
    letter-spacing: 1px;
    margin-bottom: 2px;
}
.voice-card-car {
    display: block;
    font-size: 11px;
    color: rgba(255,255,255,0.35);
    letter-spacing: 0.5px;
}

/* ========== COMPANY INFO ========== */
.company-section {
    background: #0f1923;
    padding-top: 80px;
}
.company-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 60px;
    right: 60px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(196,154,42,0.35) 20%, rgba(196,154,42,0.35) 80%, transparent);
}
.company-section .container {
    max-width: 1800px;
    padding: 0 60px;
}
.company-section .section-title { text-align: left; }
.company-section .section-title-en { color: var(--color-white); }
.company-section .section-title-ja { color: var(--color-gray-400); }
.company-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}
.company-table-wrap {
    overflow: hidden;
}
.company-table {
    width: 100%;
    border-collapse: collapse;
}
.company-table tr {
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.company-table th,
.company-table td {
    padding: 18px 0;
    font-size: 15px;
    line-height: 1.7;
    text-align: left;
    vertical-align: top;
}
.company-table th {
    width: 130px;
    font-weight: 600;
    color: var(--color-white);
    white-space: nowrap;
    padding-right: 24px;
    position: relative;
}
.company-table th::after {
    content: '';
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: var(--color-accent);
}
.company-table td {
    color: rgba(255,255,255,0.55);
}
.company-map {
    position: sticky;
    top: 100px;
}
.company-map-label {
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--color-white);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--color-white);
    display: inline-block;
}
.company-map-embed {
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}
.company-map-embed iframe {
    width: 100%;
    height: 100%;
    border: 0;
}
.company-access-info {
    margin-top: 14px;
}
.company-access-info p {
    font-size: 14px;
    color: rgba(255,255,255,0.5);
    line-height: 1.7;
}

/* ========== FIXED PAGES: wider container for 1080p ========== */
body.page:not(.home) .container,
body.single .container {
    max-width: 1800px;
}

/* ========== COMPANY PAGE (cp-*) ========== */

/* ---- Hero ---- */
.cp-hero {
    padding: calc(var(--header-height) + 80px) 0 80px;
    background: linear-gradient(135deg, #1a3050 0%, #3a3f47 100%);
    position: relative;
    overflow: hidden;
}
.cp-hero::before {
    content: attr(data-watermark);
    position: absolute;
    right: -40px;
    top: 50%;
    transform: translateY(-50%);
    font-family: var(--font-display);
    font-size: clamp(120px, 18vw, 260px);
    font-weight: 800;
    letter-spacing: -4px;
    color: rgba(255,255,255,0.03);
    white-space: nowrap;
    pointer-events: none;
}
.cp-breadcrumb {
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 1.5px;
    color: rgba(255,255,255,0.85);
    margin-bottom: 50px;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.8), 0 0 14px rgba(0, 0, 0, 0.5);
}
.cp-breadcrumb a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: color var(--transition);
}
.cp-breadcrumb a:hover { color: var(--color-accent); }
.cp-breadcrumb-sep {
    margin: 0 10px;
    color: rgba(255,255,255,0.4);
}
.cp-breadcrumb--right {
    position: absolute;
    top: calc(var(--header-height) + 24px);
    right: 30px;
    margin-bottom: 0;
}
.cp-hero-title {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 0;
    padding: 0;
    font-size: inherit;
    font-weight: inherit;
}
.cp-hero-en {
    font-family: var(--font-display);
    font-size: clamp(48px, 7vw, 80px);
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--color-white);
    line-height: 1;
}
.cp-hero-accent {
    display: block;
    width: 60px;
    height: 3px;
    background: var(--color-accent);
    flex-shrink: 0;
}
.cp-hero-ja {
    font-family: var(--font-sans);
    font-size: 16px;
    color: rgba(255, 255, 255, 0.85);
    letter-spacing: 3px;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.8), 0 0 14px rgba(0, 0, 0, 0.5);
}
.cp-hero-tagline {
    margin: 20px 0 0;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.65);
    letter-spacing: 1.5px;
    line-height: 1.8;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}
/* Full-bleed hero (shared across all fixed pages) */
.cp-hero--full {
    min-height: 37vh;
    padding: calc(var(--header-height) + 80px) 0 80px;
    background-size: cover; background-position: center;
    position: relative; overflow: hidden;
}
.cp-hero--full::after {
    content: ''; position: absolute;
    top: 10px; left: 10px; right: 10px; bottom: 10px;
    border: 1px solid rgba(255,255,255,0.25);
    z-index: 2; pointer-events: none;
}
.cp-hero-overlay {
    position: absolute; inset: 0; z-index: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.3) 50%, rgba(0,0,0,0.7) 100%);
}
.cp-hero--full .container { position: relative; z-index: 1; }

/* ---- Column Hero Styles (switchable) ---- */
/* Style 1: default gradient — no extra rules needed */

/* Style 2: gradient + fade transition bar */
.cp-hero-fade {
    height: 60px;
    background: linear-gradient(to bottom, #3a3f47 0%, var(--color-gray-100, #f5f5f5) 100%);
}

/* Style 3: photo bg + content floats up (card effect) */
.cp-hero--col-3 {
    margin-bottom: -40px;
    padding-bottom: 120px;
}
.cp-hero--col-3 + .news-page,
.cp-hero--col-3 + .news-single,
.cp-hero--col-3 + .np-page {
    position: relative;
    z-index: 1;
    border-radius: 20px 20px 0 0;
    overflow: hidden;
}
.cp-hero--col-3 + .news-page > .np-container:first-child,
.cp-hero--col-3 + .news-page > .news-page-inner:first-child,
.cp-hero--col-3 + .np-page > .np-container:first-child {
    padding-top: 40px;
}

/* Style 4: photo bg + clean cut (same as fixed pages) */
.cp-hero--col-4 {
    min-height: 37vh;
}

/* ---- Statement (shared hero-below section) ---- */
.vs-statement {
    padding: 100px 0;
    background: #1e1e1e;
    overflow: hidden;
    position: relative;
}
.vs-statement-inner {
    position: relative; z-index: 2;
    max-width: 1200px; margin: 0 auto; padding: 0 40px;
}
.vs-statement-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px; align-items: center;
}
.vs-statement-media {
    position: relative;
    overflow: hidden;
    border-radius: 6px;
}
.vs-statement-media .vs-img-placeholder {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    display: block;
    border-radius: 6px;
}
.vs-statement-content {
    position: relative;
    z-index: 2;
}
.vs-statement-label {
    display: block;
    font-family: var(--font-display);
    font-size: 13px; font-weight: 600;
    letter-spacing: 3px;
    color: var(--color-accent);
    margin-bottom: 24px;
}
.vs-statement-text {
    font-family: var(--font-serif);
    font-size: clamp(24px, 3vw, 32px);
    font-weight: 400; color: #fff;
    line-height: 1.8; letter-spacing: 1px;
    margin: 0 0 20px;
}
.vs-statement-accent {
    width: 50px; height: 2px;
    background: var(--color-accent);
    margin-bottom: 24px;
}
.vs-statement-desc {
    font-size: 15px; line-height: 2;
    color: rgba(255,255,255,0.6);
    margin: 0;
}
.vs-statement::after {
    content: ''; position: absolute; inset: 0; z-index: 1;
    background: rgba(255,255,255,0.02);
    -webkit-mask-image:
        repeating-linear-gradient(0deg, transparent 0px, transparent 4px, black 4px, black 14px),
        repeating-linear-gradient(90deg, transparent 0px, transparent 4px, black 4px, black 14px);
    -webkit-mask-composite: source-in;
    mask-image:
        repeating-linear-gradient(0deg, transparent 0px, transparent 4px, black 4px, black 14px),
        repeating-linear-gradient(90deg, transparent 0px, transparent 4px, black 4px, black 14px);
    mask-composite: intersect;
    filter: blur(0.5px);
    pointer-events: none;
}

/* ---- Key Numbers ---- */
.cp-numbers {
    padding: 80px 0;
    background: var(--color-white);
}
.cp-numbers-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}
.cp-number-item {
    text-align: center;
    padding: 40px 20px;
    border-top: 3px solid var(--color-accent);
    background: var(--color-gray-50);
}
.cp-number-value {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 700;
    color: var(--color-gray-900);
    line-height: 1.2;
    letter-spacing: 2px;
}
.cp-number-label {
    display: block;
    font-family: var(--font-display);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 3px;
    color: var(--color-accent);
    margin-top: 8px;
}
.cp-number-desc {
    display: block;
    font-size: 13px;
    color: var(--color-gray-500);
    margin-top: 12px;
    line-height: 1.6;
}

/* ---- Hero Banner Image ---- */
.cp-banner {
    position: relative;
    overflow: hidden;
    height: clamp(320px, 38vw, 520px);
    max-width: 1800px;
    margin: 50px auto 50px;
    box-shadow: 8px 8px 0 #1a3050;
}
/* 后图：虚化背景，cover 铺满 */
.cp-banner-bg {
    position: absolute;
    inset: -12px;
    background-size: cover;
    background-position: center;
    filter: blur(10px) brightness(0.8);
}
/* 前图容器：居中 */
.cp-banner-fg {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}
/* 前图 wrapper：收缩到图片大小 */
.cp-banner-photo {
    position: relative;
    max-height: 100%;
    line-height: 0;
}
.cp-banner-img {
    width: auto;
    max-width: 100%;
    max-height: clamp(320px, 38vw, 520px);
    display: block;
}
/* 公司名：前图左下角 */
.cp-banner-caption {
    position: absolute;
    left: 20px;
    bottom: 12px;
    font-family: var(--font-display);
    font-size: 24px;
    letter-spacing: 2px;
    color: #fff;
    text-shadow: 0 0 20px rgba(0,0,0,0.9), 0 0 40px rgba(0,0,0,0.6);
    line-height: 1;
}

/* ---- Business Areas ---- */
.cp-business {
    background: var(--color-white);
}
.cp-business-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}
.cp-business-card {
    display: flex;
    flex-direction: column;
    border-radius: 6px;
    overflow: hidden;
    background: var(--color-gray-50, #fafafa);
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    transition: transform var(--transition), box-shadow var(--transition);
}
.cp-business-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}
.cp-business-img {
    width: 100%;
    aspect-ratio: 16 / 9;
}
.cp-business-body {
    padding: 28px 24px;
}
.cp-business-num {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 12px;
    letter-spacing: 2px;
    color: var(--color-accent);
    margin-bottom: 8px;
}
.cp-business-title {
    font-family: var(--font-sans);
    font-size: 18px;
    font-weight: 600;
    color: var(--color-gray-900);
    margin-bottom: 10px;
}
.cp-business-desc {
    font-size: 14px;
    line-height: 1.8;
    color: var(--color-gray-600);
}

/* ---- Photo Gallery ---- */
.cp-gallery {
    background: var(--color-gray-100);
    padding-bottom: 80px;
    overflow: hidden;
}
.cp-gallery-marquee {
    width: 100%;
    overflow: hidden;
}
.cp-gallery-track {
    display: flex;
    gap: 8px;
    width: max-content;
    animation: gallery-scroll 60s linear infinite;
}
.cp-gallery-track:hover {
    animation-play-state: paused;
}
@keyframes gallery-scroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
.cp-gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    flex-shrink: 0;
    width: 360px;
}
.cp-gallery-img {
    width: 100%;
    aspect-ratio: 4 / 3;
    transition: transform 0.5s ease;
}
.cp-gallery-item:hover .cp-gallery-img {
    transform: scale(1.05);
}
.cp-gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 12px 16px;
    font-family: var(--font-display);
    font-size: 12px;
    letter-spacing: 1.5px;
    color: rgba(255,255,255,0.9);
    background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, transparent 100%);
}

/* ---- Company Info (cp-info wraps reused .company-* classes) ---- */
.cp-info {
    background: var(--color-gray-100);
}

/* ---- History Timeline ---- */
.cp-history {
    background: var(--color-white);
}
.cp-timeline {
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
}
/* Grid: year | dot | text — no absolute positioning */
.cp-timeline-item {
    display: grid;
    grid-template-columns: 120px 20px 1fr;
    gap: 0 24px;
    align-items: start;
    padding: 22px 0;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}
.cp-timeline-item.tl-visible {
    opacity: 1;
    transform: translateY(0);
}
.cp-timeline-year {
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--color-gray-900);
    text-align: right;
    line-height: 20px;
}
/* Dot: self-centered in its grid column, line drawn via pseudo-elements */
.cp-timeline-dot {
    position: relative;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--color-white);
    border: 2.5px solid var(--color-accent);
    justify-self: center;
    margin-top: 2px;
    transform: scale(0);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) 0.1s;
}
.cp-timeline-item.tl-visible .cp-timeline-dot {
    transform: scale(1);
}
/* Connecting lines — physically outside the dot */
.cp-timeline-dot::before,
.cp-timeline-dot::after {
    content: '';
    position: absolute;
    left: 50%;
    width: 2px;
    margin-left: -1px;
    background: var(--color-gray-200);
    transition: background 0.6s ease;
}
.cp-timeline-dot::before {
    bottom: 100%;
    height: 200px;
}
.cp-timeline-dot::after {
    top: 100%;
    height: 200px;
}
.cp-timeline-item:first-child .cp-timeline-dot::before { display: none; }
.cp-timeline-item:last-child .cp-timeline-dot::after { display: none; }
/* Animate line color to accent as items reveal */
.cp-timeline-item.tl-visible .cp-timeline-dot::before,
.cp-timeline-item.tl-visible .cp-timeline-dot::after {
    background: var(--color-accent);
}
.cp-timeline-text {
    font-size: 15px;
    line-height: 20px;
    color: var(--color-gray-700);
}

/* ---- Related Pages ---- */
.cp-related {
    padding: 100px 0;
    background: var(--color-gray-900);
}
.cp-related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.cp-related-card {
    display: block;
    padding: 40px 32px;
    background: linear-gradient(135deg, rgba(255,255,255,0.07) 0%, rgba(255,255,255,0.03) 50%, rgba(255,255,255,0.05) 100%);
    backdrop-filter: blur(10px) saturate(1.15);
    -webkit-backdrop-filter: blur(10px) saturate(1.15);
    border: 1px solid rgba(255,255,255,0.10);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.10), 0 4px 24px rgba(0,0,0,0.2);
    border-radius: 12px;
    text-decoration: none;
    position: relative;
    transition: background var(--transition), border-color var(--transition);
}
.cp-related-card:hover {
    background: rgba(255,255,255,0.1);
    border-color: var(--color-accent);
}
.cp-related-en {
    display: block;
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--color-white);
    margin-bottom: 8px;
}
.cp-related-ja {
    display: block;
    font-size: 13px;
    color: var(--color-gray-400);
    letter-spacing: 2px;
}
.cp-related-arrow {
    position: absolute;
    right: 28px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    color: var(--color-gray-500);
    transition: color var(--transition), transform var(--transition);
}
.cp-related-card:hover .cp-related-arrow {
    color: var(--color-accent);
    transform: translateY(-50%) translateX(4px);
}
.cp-related-card--desc {
    padding-bottom: 60px;
}
.cp-related-desc {
    display: block;
    margin-top: 10px;
    font-size: 13px;
    line-height: 1.7;
    color: var(--color-gray-400);
}
.cp-related-more {
    position: absolute;
    right: 28px;
    bottom: 24px;
    font-size: 13px;
    color: var(--color-gray-500);
    transition: color var(--transition);
}
.cp-related-card:hover .cp-related-more {
    color: var(--color-accent);
}

/* ========== BOTTOM CTA ========== */
.bottom-cta-section {
    position: relative;
    z-index: 1;
    padding: 0;
}
.bottom-cta-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}
.bottom-cta-card {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 50px 40px;
    color: var(--color-white);
    transition: opacity var(--transition);
}
.bottom-cta-card:hover { opacity: 0.85; }
.cta-engineer { background: #1a3a5c; }
.cta-business { background: var(--color-accent); }
.bottom-cta-label {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 3px;
}
.bottom-cta-text {
    font-family: var(--font-display);
    font-size: 14px;
    letter-spacing: 2px;
    opacity: 0.8;
}

/* ========== FOOTER ========== */
.site-footer {
    position: relative;
    z-index: 1;
    background: #080c12;
    color: var(--color-gray-400);
    padding: 70px 0 0;
}
.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 0;
    border-top: 1px solid rgba(0,0,0,0.5);
    box-shadow: 0 1px 0 rgba(255,255,255,0.06);
}
.footer-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}
.footer-top {
    display: flex;
    gap: 60px;
    margin-bottom: 50px;
}
.footer-brand {
    flex: 0 0 360px;
}
.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}
.footer-logo-img {
    height: 42px;
    width: auto;
}
.footer-logo .logo-text {
    color: var(--color-white);
    font-size: 22px;
    font-weight: 700;
}
.footer-brand-desc {
    font-size: 14.5px;
    line-height: 1.8;
    color: var(--color-gray-500);
    margin-bottom: 24px;
}
.footer-contact-info p {
    font-size: 14.5px;
    color: var(--color-gray-400);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.footer-info-icon {
    color: var(--color-accent);
    font-size: 15px;
    width: 18px;
    text-align: center;
    flex-shrink: 0;
}
.footer-nav {
    display: flex;
    flex: 1;
    justify-content: space-between;
}
.footer-nav-col h4 {
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--color-white);
    margin-bottom: 16px;
    position: relative;
    padding-bottom: 10px;
}
.footer-nav-col h4 a {
    color: inherit;
    text-decoration: none;
}
.footer-nav-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 20px;
    height: 2px;
    background: var(--color-accent);
}
.footer-nav-col ul li { margin-bottom: 10px; }
.footer-nav-col ul li a {
    font-size: 14px;
    color: var(--color-gray-500);
    transition: color var(--transition);
}
.footer-nav-col ul li a:hover { color: var(--color-accent); }
.footer-cta-btn {
    display: inline-block;
    margin-top: 16px;
    padding: 10px 24px;
    font-family: var(--font-display);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--color-white);
    border: 1px solid var(--color-accent);
    transition: background var(--transition), color var(--transition);
}
.footer-cta-btn:hover {
    background: var(--color-accent);
    color: #fff;
}
.footer-bottom {
    position: relative;
    background: #060a0e;
    border-top: 1px solid rgba(255,255,255,0.08);
    overflow: hidden;
}
.footer-bottom::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.02);
    -webkit-mask-image:
        repeating-linear-gradient(0deg, transparent 0px, transparent 4px, black 4px, black 14px),
        repeating-linear-gradient(90deg, transparent 0px, transparent 4px, black 4px, black 14px);
    -webkit-mask-composite: source-in;
    mask-image:
        repeating-linear-gradient(0deg, transparent 0px, transparent 4px, black 4px, black 14px),
        repeating-linear-gradient(90deg, transparent 0px, transparent 4px, black 4px, black 14px);
    mask-composite: intersect;
    filter: blur(0.5px);
    pointer-events: none;
}
.footer-bottom-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 30px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.footer-links { display: flex; gap: 24px; }
.footer-links a { font-size: 14px; color: var(--color-gray-500); }
.footer-links a:hover { color: var(--color-white); }
.copyright { font-size: 14px; color: var(--color-gray-500); }

/* ========== BACK TO TOP ========== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    background: var(--color-accent);
    color: var(--color-white);
    border: none;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}
.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover { background: var(--color-accent-dark); transform: translateY(-3px); }
@media (max-width: 768px) { .back-to-top { display: none !important; } }

/* ========== CONTENT-VISIBILITY (CWV: skip rendering off-screen sections) ========== */
.numbers-section,
.shop-section,
.voice-section,
.company-section,
.contact-home-section,
.pt-section {
    content-visibility: auto;
    contain-intrinsic-size: auto 600px;
}

/* ========== FADE-IN ========== */
.fade-in {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1900px) {
    .header-divider { display: none; }
    .header-site-name { display: none; }
}

@media (max-width: 1700px) {
    .header-nav { display: none; }
    .header-account { display: none; }
    .header-auth-pill { display: none; }
}

/* Intermediate: high-DPI laptops (150% scaling → ~1280px viewport) */
@media (max-width: 1440px) {
    .hero-drive,
    .hero-beyond {
        font-size: clamp(48px, 7vw, 100px);
        letter-spacing: 10px;
    }
    .hero-title-block {
        padding-right: 30%;
    }
    .hero-title-row-bottom {
        padding-left: 10%;
    }
    .hero-news {
        width: 300px;
        right: 3%;
    }
    .hero-tagline-left,
    .hero-tagline-right {
        font-size: clamp(13px, 1.3vw, 18px);
        letter-spacing: 3px;
    }
}

@media (max-width: 1024px) {
    .hero-news { width: 260px; right: 50px; bottom: 80px; }
    .career-v2-cards { grid-template-columns: 1fr 1fr; }
    .career-v2-card:last-child { grid-column: 1 / -1; }
    .company-content { grid-template-columns: 1fr; gap: 40px; }
    .company-map { position: static; }
    .shop-grid { grid-template-columns: repeat(2, 1fr); }
    .voice-card { width: 320px; }
}

@media (max-width: 768px) {
    :root { --header-height: 60px; }
    .container { padding: 0 20px; }
    /* .section { padding: 80px 0; } */
    .header-inner { padding: 0 20px; }
    .header-left { flex: 1; min-width: 0; overflow-x: hidden; }
    .logo { min-width: 0; }
    .all-menu-btn { padding: 0px 10px 2px 22px; flex-shrink: 0; }
    .site-header.at-top .header-right {
        padding-top: 34px; }
    .site-header .logo-img { height: 46px; }
    .logo-text { font-size: 23px; letter-spacing: 2px; }

    .hero-news {
        display: block;
        position: absolute;
        right: auto;
        left: 20px;
        right: 20px;
        bottom: auto;
        top: 42%;
        transform: translateY(-50%);
        width: auto;
        text-shadow: 0 1px 3px rgba(0,0,0,0.9);
    }
    .hero.loaded .hero-news {
        animation: heroNewsFadeUp 1s 0.8s forwards;
    }
    .hero-news-header { display: flex; margin-bottom: 10px; padding-bottom: 8px; }
    .hero-news-label { font-size: 15px; letter-spacing: 2px; }
    .hero-news-all { display: inline; margin-left: 8px; font-size: 12px; color: rgba(255,255,255,0.5); text-decoration: none; }
    .hero-news-more { display: none; }
    .hero-news-item:nth-child(n+4) { display: list-item; }
    .hero-news-item a {
        display: flex;
        align-items: baseline;
        gap: 14px;
        padding: 6px 0;
        border-bottom: none;
    }
    .hero-news-year { display: none; }
    .hero-news-tag { display: inline; font-size: 10px; padding: 1px 6px; border-radius: 2px; vertical-align: baseline; }
    .hero-news-tag .tag-short { display: none; }
    .hero-news-date { font-size: 13px; color: rgba(255,255,255,0.6); }
    .hero-news-title {
        font-size: 14px;
        margin-top: 0;
        -webkit-line-clamp: 1;
    }
    .hero-news-list { gap: 10px; }
    .hero {
        height: 100svh;
        min-height: 560px;
    }
    .hero-h1 { bottom: calc(60px + 160px); font-size: 12px; }
    .hero-title-block { bottom: 60px; padding-right: 5%; padding-bottom: env(safe-area-inset-bottom, 0px); }
    .hero-scroll { bottom: 14px; }
    .hero-scroll-line { height: 70px; }
    .hero-keywords { display: none; }
    .hero-drive { font-size: 50px; }
    .hero-beyond { font-size: 50px; }
    .hero-tagline-row { flex-wrap: wrap; gap: 10px; }
    .hero-tagline-line { display: none; }

    .portrait { display: none; }
    .message-section { padding: 80px 0 30px; min-height: auto; }
    .message-inner { padding: 0 20px; }

    .career-section-v2 { padding: 16px 12px; }
    .career-v2-cards { grid-template-columns: 1fr; gap: 10px; }
    .career-v2-card { min-height: auto; }
    .career-v2-body { padding: 18px 20px 16px; }
    .career-v2-sub { font-size: 10px; margin-bottom: 4px; letter-spacing: 1px; }
    .career-v2-title { font-size: 18px; margin-bottom: 6px; letter-spacing: 2px; }
    .career-v2-desc { font-size: 11px; line-height: 1.6; margin-bottom: 10px; }
    .career-v2-btn { font-size: 10px; padding: 5px 12px; gap: 6px; }
    .cv2-btn-icon { width: 13px; height: 13px; }
    .cv2-btn-arrow { width: 12px; height: 12px; }
    .marquee-section { padding-bottom: 40px; }

    .about-section { padding: 60px 20px; height: auto; min-height: auto; display: block; }
    .about-layout { grid-template-columns: 1fr; min-height: auto; }
    .about-card-left { padding: 40px 24px; }
    .about-tab-thumb { height: auto; }
    .about-tab-thumb img { height: auto; }
    .about-tab-content {
        min-height: 0;
        display: flex;
        overflow: hidden;
    }
    .about-tab-item {
        position: relative !important;
        opacity: 1 !important;
        visibility: visible !important;
        flex-shrink: 0;
        width: 100%;
        transition: none;
    }
    .about-card-right {
        height: 250px;
        border-radius: 6px;
    }
    .about-pic[data-about-pic="0"] { z-index: 0; }
    .about-pic[data-about-pic="1"] { z-index: 1; will-change: transform; }
    .company-table th { width: 110px; font-size: 14px; }
    .company-table td { font-size: 14px; }
    /* Service mobile */
    .service-section { height: 100dvh; }
    .service-inner { padding: 0 16px; display: flex; flex-direction: column; height: 100dvh; }
    .service-lead { margin-bottom: 20px; }
    .service-layout { padding-left: 0; display: flex; flex-direction: column; flex: 1; min-height: 0; }
    .service-image { position: relative; width: 100%; aspect-ratio: 2 / 1; margin-bottom: 8px; flex-shrink: 0; }
    .service-accordion { flex: 1; display: flex; flex-direction: column; min-height: 0; }
    .service-acc-item { flex-shrink: 0; }
    .service-acc-item.active { flex: 1; display: flex; flex-direction: column; }
    .service-acc-item.active .service-acc-body { padding: 0 0 14px 0; flex: 1; overflow-y: auto; }
    .service-acc-trigger { padding: 14px 0; gap: 10px; }
    .service-acc-en { font-size: 16px; }
    .service-acc-item.active .service-acc-en { letter-spacing: 3px; }
    .service-acc-body { padding-left: 0; }
    .service-acc-body p { font-size: 13px; line-height: 1.8; }
    .service-acc-link {
        font-size: 11px;
        letter-spacing: 0.5px;
        margin-top: 10px;
        padding: 7px 12px;
        border: 1px solid rgba(196, 154, 42, 0.4);
        border-radius: 3px;
        background: rgba(196, 154, 42, 0.1);
        white-space: nowrap;
        gap: 0;
    }
    .service-acc-link svg { display: none; }
    .service-acc-link::after { content: '>'; margin-left: 6px; font-size: 10px; opacity: 0.7; }
    .service-acc-link + .service-acc-link { margin-left: 8px; }
    /* Widen containers → 20px on mobile */
    .shop-section .container,
    .voice-section .container,
    .company-section .container,
    .contact-home-section .container { padding: 0 20px; }
    .contact-home-section .container { padding: 0 16px; }
    .pt-section .container { max-width: 1800px; padding: 0 16px; }
    /* Shops mobile: horizontal compact */
    .shop-section { padding: 60px 0; }
    .shop-grid { grid-template-columns: 1fr; gap: 12px; }
    .shop-card {
        flex-direction: row;
        height: 120px;
        border-radius: 10px;
    }
    .shop-card-img {
        flex: 0 0 130px;
        height: 100%;
        clip-path: polygon(0 0, 100% 0, 85% 100%, 0 100%);
    }
    .coming-soon-img {
        clip-path: polygon(0 0, 100% 0, 85% 100%, 0 100%);
    }
    .shop-card-body {
        padding: 12px 14px 12px 8px;
        gap: 6px;
    }
    .shop-card-accent { display: none; }
    .shop-card-name { font-size: 14px; }
    .service-badge { font-size: 11px; }
    .shop-card-services { gap: 2px 8px; }
    .shop-card-info { padding-top: 6px; gap: 3px; }
    .shop-card-address { font-size: 11px; }
    .shop-card-tel { font-size: 11px; }
    .shop-card-link-btn { display: none; }
    .voice-card { width: 280px; }
    .voice-card-body { padding: 20px; }
    .voice-card-text { font-size: 14px; }
    .voice-card-quote-mark { font-size: 40px; }
    .bottom-cta-cards { grid-template-columns: 1fr; }
    .site-footer { padding: 36px 0 0; }
    .footer-inner { padding: 0 20px; }
    .footer-logo-img { height: 36px; }
    .footer-brand { flex: none; }
    .footer-brand-desc { display: none; }
    .footer-top { flex-direction: column; gap: 20px; margin-bottom: 0; }
    /* Accordion nav */
    .footer-nav {
        flex-direction: column;
        gap: 0;
    }
    .footer-nav-col {
        border-bottom: 1px solid rgba(255,255,255,0.08);
    }
    .footer-nav-col:last-child {
        border-bottom: none;
    }
    .footer-nav-col h4 {
        margin-bottom: 0;
        padding: 16px 0;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: space-between;
        -webkit-user-select: none;
        user-select: none;
    }
    .footer-nav-col h4::after {
        position: static;
        width: auto;
        height: auto;
        background: none;
        content: '+';
        font-size: 20px;
        font-weight: 300;
        color: var(--color-gray-500);
        transition: transform 0.3s ease;
    }
    .footer-nav-col.active h4::after {
        content: '\2212';
        color: var(--color-accent);
    }
    .footer-nav-col ul,
    .footer-nav-col .footer-cta-btn {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.35s ease, opacity 0.3s ease;
        opacity: 0;
    }
    .footer-nav-col.active ul,
    .footer-nav-col.active .footer-cta-btn {
        max-height: 300px;
        opacity: 1;
    }
    .footer-nav-col ul { padding-bottom: 0; }
    .footer-nav-col.active ul { padding-bottom: 16px; }
    .footer-cta-btn { margin-top: 0; margin-bottom: 16px; }
    .footer-bottom-inner { flex-direction: column; gap: 8px; text-align: center; padding: 16px 20px; }
    .footer-links { flex-wrap: wrap; justify-content: center; gap: 12px 20px; }
    .footer-links a { font-size: 12px; }
    .footer-links-menu { flex-wrap: wrap; justify-content: center; gap: 12px 20px; }
    .footer-links-menu a { font-size: 12px !important; }
    .copyright { font-size: 11px; }
}

@media (max-width: 480px) {
    .company-table th { width: 90px; font-size: 13px; padding-right: 16px; }
    .company-table td { font-size: 13px; }
    .company-table th::after { display: none; }
}

/* ============================
   NEWS PAGES (single + archive)
   ============================ */
/* ========== NEWS PAGE BODY ========== */
.news-page {
    min-height: 60vh;
    background: var(--color-gray-100);
}
.news-page-inner {
    max-width: 1800px;
    margin: 0 auto;
    padding: 48px 40px 100px;
}

/* ---- News Filter Bar (ERP-style) ---- */
.news-filterbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    background: var(--color-white);
    border: 1px solid var(--color-gray-200);
    border-radius: 10px;
    padding: 14px 20px;
    /* margin-top: 40px; */
    margin-bottom: 32px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}
.news-filterbar__select {
    appearance: none;
    -webkit-appearance: none;
    padding: 8px 36px 8px 14px;
    font-size: 13px;
    font-family: var(--font-sans);
    color: var(--color-gray-700);
    background: var(--color-white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") no-repeat right 12px center;
    border: 1px solid var(--color-gray-200);
    border-radius: 6px;
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    min-width: 140px;
}
.news-filterbar__select:hover {
    border-color: var(--color-gray-400);
}
.news-filterbar__select:focus {
    border-color: var(--color-gray-900);
    box-shadow: 0 0 0 3px rgba(23,23,23,0.06);
    outline: none;
}
.news-filterbar__search {
    display: flex;
    align-items: center;
    margin-left: auto;
    min-width: 220px;
    border: 1px solid var(--color-gray-200);
    border-radius: 6px;
    background: var(--color-white);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.news-filterbar__search:focus-within {
    border-color: var(--color-gray-900);
    box-shadow: 0 0 0 3px rgba(23,23,23,0.06);
}
.news-filterbar__search-icon {
    display: flex;
    align-items: center;
    padding: 0 0 0 12px;
    color: var(--color-gray-400);
}
.news-filterbar__search-icon svg {
    width: 15px;
    height: 15px;
}
.news-filterbar__input {
    border: none;
    outline: none;
    background: transparent;
    padding: 8px 12px;
    font-size: 13px;
    font-family: var(--font-sans);
    color: var(--color-gray-800);
    width: 100%;
}
.news-filterbar__input::placeholder {
    color: var(--color-gray-400);
    font-size: 13px;
}

/* ---- News Toolbar (search + filter) ---- */
.news-toolbar {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    margin-bottom: 40px;
}
.news-search {
    display: flex;
    align-items: center;
    background: var(--color-white);
    border: 1px solid var(--color-gray-300);
    border-radius: 40px;
    padding: 0;
    overflow: hidden;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    flex-shrink: 0;
    width: 360px;
}
.news-search:focus-within {
    border-color: var(--color-gray-900);
    box-shadow: 0 0 0 3px rgba(23,23,23,0.06);
}
.news-search input[type="text"] {
    border: none;
    outline: none;
    background: transparent;
    padding: 10px 0 10px 20px;
    font-size: 14px;
    color: var(--color-gray-800);
    flex: 1;
    font-family: var(--font-sans);
    min-width: 0;
}
.news-search input[type="text"]::placeholder {
    color: var(--color-gray-400);
    font-size: 13px;
}
.news-search button {
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px 16px;
    color: var(--color-gray-500);
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    flex-shrink: 0;
}
.news-search button:hover {
    color: var(--color-gray-900);
}
.news-search button svg {
    width: 18px;
    height: 18px;
}

/* Category filter */
.news-filter {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}
.news-filter-btn {
    display: inline-block;
    padding: 8px 24px;
    font-size: 13px;
    font-family: var(--font-sans);
    letter-spacing: 0.5px;
    border: 1px solid var(--color-gray-300);
    border-radius: 30px;
    color: var(--color-gray-600);
    background: var(--color-white);
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}
.news-filter-btn:hover {
    border-color: var(--color-gray-900);
    color: var(--color-gray-900);
    transform: translateY(-1px);
}
.news-filter-btn.active {
    background: var(--color-gray-900);
    border-color: var(--color-gray-900);
    color: var(--color-white);
}

/* Result count */
.news-result-count {
    font-size: 14px;
    color: var(--color-gray-500);
    margin-bottom: 24px;
}
.news-result-count strong {
    color: var(--color-gray-800);
    font-weight: 700;
}

/* ========== NEWS CARD GRID ========== */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.news-empty {
    text-align: center;
    padding: 60px 0;
    color: var(--color-gray-500);
}

/* Card base */
.news-card {
    display: flex;
    flex-direction: column;
    background: var(--color-white);
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    color: var(--color-gray-800);
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    transition: transform 0.4s cubic-bezier(0.25,0,0.25,1), box-shadow 0.4s cubic-bezier(0.25,0,0.25,1);
}
.news-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.12);
}

/* Featured card — full width, horizontal */
.news-card--featured {
    grid-column: 1 / -1;
    flex-direction: row;
}

/* Thumbnail */
.news-card-thumb {
    overflow: hidden;
    background: linear-gradient(135deg, #1a2a40, #2a3a50);
    flex-shrink: 0;
}
.news-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25,0,0.25,1);
}
.news-card:hover .news-card-thumb img {
    transform: scale(1.05);
}
.news-card-thumb-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a2a40 0%, #2a4060 50%, #1a3050 100%);
    position: relative;
}
.news-card-thumb-placeholder::after {
    content: 'SOUKYO';
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 4px;
    color: rgba(255,255,255,0.1);
}

/* Normal card thumb */
.news-card:not(.news-card--featured) .news-card-thumb {
    aspect-ratio: 16 / 9;
}
/* Featured card thumb */
.news-card--featured .news-card-thumb {
    width: 26%;
    min-height: 200px;
}

/* Card body */
.news-card-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.news-card--featured .news-card-body {
    padding: 32px;
    justify-content: center;
}
.news-card-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}
.news-card-date {
    font-family: var(--font-display);
    font-size: 13px;
    color: var(--color-gray-400);
    letter-spacing: 0.5px;
}
.news-list-tag {
    font-size: 11px;
    font-weight: 600;
    color: #fff;
    padding: 2px 10px;
    border-radius: 3px;
    white-space: nowrap;
}
.news-list-tag.tag-info { background: rgba(40,120,200,0.85); }
.news-list-tag.tag-campaign { background: rgba(195,0,47,0.85); }

.news-card-title {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.7;
    margin: 0;
    color: var(--color-gray-800);
}
.news-card--featured .news-card-title {
    font-size: 20px;
    line-height: 1.6;
}
.news-card-excerpt {
    font-size: 14px;
    line-height: 1.8;
    color: var(--color-gray-500);
    margin-top: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.news-card--featured .news-card-excerpt {
    -webkit-line-clamp: 3;
}
.news-card-more {
    margin-top: auto;
    padding-top: 16px;
    font-family: var(--font-display);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--color-gray-400);
    transition: color 0.3s ease;
}
.news-card:hover .news-card-more {
    color: var(--color-accent);
}
.news-card-arrow {
    display: inline-block;
    transition: transform 0.3s ease;
}
.news-card:hover .news-card-arrow {
    transform: translateX(4px);
}

/* Admin edit button */
.news-card-wrap {
    position: relative;
}
.news-card-wrap:first-child {
    grid-column: 1 / -1;
}
.news-admin-edit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 6px;
    background: var(--color-gray-800);
    color: #fff;
    text-decoration: none;
    transition: background 0.2s;
    flex-shrink: 0;
}
.news-admin-edit:hover {
    background: var(--color-accent);
    color: #fff;
    text-decoration: none;
}
.news-admin-edit--card {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 2;
    opacity: 0.7;
}
.news-card-wrap:hover .news-admin-edit--card {
    opacity: 1;
}

/* Pagination */
.news-pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 56px;
}
.news-pagination a,
.news-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid var(--color-gray-300);
    border-radius: 50%;
    background: #fff;
    color: var(--color-gray-700);
    font-family: var(--font-display);
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
}
.news-pagination a:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
    transform: translateY(-2px);
}
.news-pagination .current {
    background: var(--color-gray-900);
    border-color: var(--color-gray-900);
    color: #fff;
}

/* ---- Sticky badge ---- */
.news-sticky-badge {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 2px 10px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #92742a;
    background: linear-gradient(135deg, rgba(196,154,42,0.15), rgba(196,154,42,0.08));
    border: 1px solid rgba(196,154,42,0.3);
    border-radius: 20px;
}
.news-sticky-badge::before {
    content: '\2605';
    font-size: 9px;
}

/* ---- Year filter ---- */
.news-year-filter {
    flex-shrink: 0;
}
.news-year-filter select {
    appearance: none;
    -webkit-appearance: none;
    padding: 8px 36px 8px 16px;
    font-size: 13px;
    font-family: var(--font-sans);
    color: var(--color-gray-700);
    background: var(--color-white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") no-repeat right 12px center;
    border: 1px solid var(--color-gray-300);
    border-radius: 30px;
    cursor: pointer;
    transition: border-color 0.3s ease;
}
.news-year-filter select:hover,
.news-year-filter select:focus {
    border-color: var(--color-gray-900);
    outline: none;
}

/* ---- AJAX loading transition ---- */
#news-content {
    transition: opacity 0.25s ease;
}
#news-content.is-loading {
    opacity: 0.4;
    pointer-events: none;
}

/* ---- Toolbar row 2 (tags + year) ---- */
.news-toolbar-row2 {
    display: flex;
    align-items: center;
    gap: 16px;
    width: 100%;
}

/* ---- Tag filter ---- */
.news-tag-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    flex: 1;
}
.news-tag-btn {
    display: inline-block;
    padding: 4px 14px;
    font-size: 12px;
    font-family: var(--font-sans);
    letter-spacing: 0.3px;
    border: 1px solid var(--color-gray-200);
    border-radius: 20px;
    color: var(--color-gray-500);
    background: transparent;
    cursor: pointer;
    transition: all 0.25s ease;
}
.news-tag-btn:hover {
    border-color: var(--color-gray-600);
    color: var(--color-gray-800);
}
.news-tag-btn.active {
    background: var(--color-gray-800);
    border-color: var(--color-gray-800);
    color: var(--color-white);
}

/* ---- Tag chips on cards ---- */
.news-tag-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 8px;
}
.news-tag-chip {
    display: inline-block;
    padding: 2px 10px;
    font-size: 11px;
    color: var(--color-gray-500);
    background: var(--color-gray-100);
    border-radius: 12px;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
}
a.news-tag-chip:hover {
    background: var(--color-gray-200);
    color: var(--color-gray-700);
}

/* ---- Load More button ---- */
.news-load-more-wrap {
    text-align: center;
    margin-top: 48px;
}
.news-load-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 48px;
    font-size: 14px;
    font-family: var(--font-display);
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--color-gray-800);
    background: transparent;
    border: 2px solid var(--color-gray-300);
    border-radius: 40px;
    cursor: pointer;
    transition: all 0.3s ease;
}
.news-load-more:hover {
    border-color: var(--color-gray-900);
    color: var(--color-gray-900);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
.news-load-more:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* ---- Popular posts sidebar ---- */
.news-sidebar-popular {
    list-style: none;
    padding: 0;
    margin: 0;
    counter-reset: none;
}
.news-sidebar-popular-item {
    border-bottom: 1px solid var(--color-gray-100);
}
.news-sidebar-popular-item:last-child {
    border-bottom: none;
}
.news-sidebar-popular-item .news-sidebar-post-link {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
    text-decoration: none;
    transition: opacity 0.2s ease;
}
.news-sidebar-popular-item .news-sidebar-post-link:hover {
    opacity: 0.7;
}
.news-sidebar-rank {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    font-size: 13px;
    font-weight: 700;
    font-family: var(--font-display);
    background: var(--color-gray-100);
    color: var(--color-gray-500);
}
.news-sidebar-rank--1 {
    background: linear-gradient(135deg, #c49a2a, #d4af37);
    color: #fff;
}
.news-sidebar-rank--2 {
    background: linear-gradient(135deg, #8a8a8a, #a0a0a0);
    color: #fff;
}
.news-sidebar-rank--3 {
    background: linear-gradient(135deg, #a0704a, #b8865e);
    color: #fff;
}
.news-sidebar-views {
    font-size: 11px;
    color: var(--color-gray-400);
}

/* ---- Tag cloud sidebar ---- */
.news-sidebar-tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

/* News grid — medium screens */
@media (max-width: 1200px) {
    .news-grid { grid-template-columns: repeat(2, 1fr); }
    .news-search { width: 300px; }
}

/* ========== PARTNERS SECTION ========== */
.pt-section {
    background: #0f1923;
    overflow: hidden;
    padding-top: 80px;
}
.pt-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 60px;
    right: 60px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(196,154,42,0.35) 20%, rgba(196,154,42,0.35) 80%, transparent);
}
.pt-section .section-title { text-align: left; }
.pt-section .section-title-en { color: var(--color-white); }
.pt-section .section-title-ja { color: var(--color-gray-400); }
.pt-section .container {
    max-width: 1800px;
    padding: 0 16px;
}
@media (min-width: 769px) {
    .pt-section .container { padding: 0 60px; }
}
.pt-lead {
    font-size: 15px;
    color: rgba(255,255,255,0.5);
    max-width: 700px;
    margin: 0 0 72px;
    line-height: 1.9;
}
.pt-sub-heading {
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 36px;
}

/* Certification badges */
.pt-certs {
    margin-bottom: 80px;
}
.pt-certs-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
}
.pt-cert-item {
    display: flex;
    align-items: center;
    gap: 16px;
    background: linear-gradient(135deg, rgba(255,255,255,0.13) 0%, rgba(255,255,255,0.06) 50%, rgba(255,255,255,0.11) 100%);
    backdrop-filter: blur(20px) saturate(1.4);
    -webkit-backdrop-filter: blur(20px) saturate(1.4);
    border: 1px solid rgba(255,255,255,0.15);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.18), inset 0 0 30px rgba(255,255,255,0.04), 0 4px 24px rgba(0,0,0,0.2);
    border-radius: 12px;
    padding: 24px 28px;
    transition: var(--transition);
}
.pt-cert-item:hover {
    border-color: var(--color-accent);
    box-shadow: 0 4px 20px rgba(196, 154, 42, 0.15);
}
.pt-cert-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: rgba(196,154,42,0.1);
    border-radius: 10px;
    color: var(--color-accent);
    transition: var(--transition);
}
.pt-cert-item:hover .pt-cert-icon {
    background: var(--color-accent);
    color: var(--color-white);
}
.pt-cert-icon svg {
    width: 22px;
    height: 22px;
}
.pt-cert-icon--img {
    background: transparent;
    overflow: hidden;
}
.pt-cert-icon--img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.pt-cert-item {
    position: relative;
}
.pt-cert-item .sq-edit-btn {
    position: absolute;
    top: 8px;
    right: 8px;
}
.pt-cert-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}
.pt-cert-label {
    font-size: 15px;
    font-weight: 600;
    color: var(--color-white);
    line-height: 1.4;
}
.pt-cert-sub {
    font-size: 12px;
    color: rgba(255,255,255,0.4);
    line-height: 1.4;
}

/* Brand logo marquee */
.pt-brands-marquee {
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.pt-brands-track {
    display: flex;
    gap: 48px;
    align-items: center;
    width: max-content;
    animation: brandScroll 30s linear infinite;
}
.pt-brands-track:hover {
    animation-play-state: paused;
}
@keyframes brandScroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
.pt-brand-item {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    background: #fff;
    border-radius: 12px;
    transition: var(--transition);
    text-decoration: none;
    color: inherit;
}
.pt-brand-item:hover {
    box-shadow: 0 4px 20px rgba(255,255,255,0.15);
}
.pt-brand-name {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 1.5px;
    color: rgba(255,255,255,0.5);
    white-space: nowrap;
}
.pt-brand-logo {
    max-height: 80px;
    width: auto;
    object-fit: contain;
}

/* Partners responsive */
@media (max-width: 1200px) {
    .pt-certs-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .pt-brands-track {
        gap: 36px;
    }
}
@media (max-width: 768px) {
    .pt-section {
        padding: 60px 0 80px;
    }
    .pt-section::before { left: 24px; right: 24px; }
    .pt-lead {
        margin-bottom: 48px;
    }
    .pt-certs {
        margin-bottom: 56px;
    }
    .pt-certs-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .pt-cert-item {
        padding: 16px;
        gap: 12px;
    }
    .pt-cert-icon {
        width: 40px;
        height: 40px;
    }
    .pt-cert-icon svg {
        width: 18px;
        height: 18px;
    }
    .pt-cert-label {
        font-size: 13px;
    }
    .pt-brands-track {
        gap: 28px;
    }
    .pt-brand-logo {
        max-height: 60px;
    }
    .pt-brand-name {
        font-size: 15px;
    }
}
@media (max-width: 480px) {
    .pt-certs-grid {
        grid-template-columns: 1fr;
    }
    .pt-brands-track {
        gap: 20px;
    }
    .pt-brand-logo {
        max-height: 48px;
    }
    .pt-brand-name {
        font-size: 13px;
    }
    .pt-brands {
        margin-bottom: 25px;
    }
}

/* ========== HOMEPAGE CONTACT SECTION ========== */
.contact-home-section {
    background: linear-gradient(to bottom, #0f1923 60%, #080c12);
    padding-top: 80px;
    padding-bottom: 20px;
    position: relative;
    overflow: hidden;
}
.contact-home-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 60px;
    right: 60px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(196,154,42,0.35) 20%, rgba(196,154,42,0.35) 80%, transparent);
}

/* Front page: contact → footer transition */
.contact-home-section + .site-footer { padding-top: 0; }
.contact-home-section + .site-footer::before { display: none; }

/* Meteor shower */
.contact-meteors {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}
.contact-meteors span {
    position: absolute;
    width: 2px;
    height: 0;
    background: linear-gradient(to bottom, transparent, rgba(196,154,42,0.15), rgba(196,154,42,0.6));
    border-radius: 50%;
    transform: rotate(55deg);
    animation: meteor linear infinite;
    opacity: 0;
}
.contact-meteors span:nth-child(1) { right: 5%;  top: 0;   animation-duration: 2.8s; animation-delay: 0.5s; }
.contact-meteors span:nth-child(2) { right: 15%; top: 2%;  animation-duration: 2.2s; animation-delay: 3.2s; }
.contact-meteors span:nth-child(3) { right: 25%; top: 0;   animation-duration: 3.0s; animation-delay: 1.8s; }
.contact-meteors span:nth-child(4) { right: 0;   top: 5%;  animation-duration: 2.5s; animation-delay: 5.0s; }
.contact-meteors span:nth-child(5) { right: 10%; top: 3%;  animation-duration: 2.0s; animation-delay: 2.5s; }
.contact-meteors span:nth-child(6) { right: 2%;  top: 8%;  animation-duration: 3.2s; animation-delay: 4.1s; }
.contact-meteors span:nth-child(7) { right: 30%; top: 0;   animation-duration: 2.6s; animation-delay: 6.5s; }
.contact-meteors span:nth-child(8) { right: 18%; top: 5%;  animation-duration: 2.3s; animation-delay: 7.8s; }

@keyframes meteor {
    0%   { height: 0;    opacity: 0;   transform: rotate(55deg) translateY(0); }
    10%  { height: 80px; opacity: 0.7; }
    60%  { opacity: 0.4; }
    100% { height: 80px; opacity: 0;   transform: rotate(55deg) translateY(calc(100vh + 200px)); }
}
.contact-home-section .container { position: relative; z-index: 1; }
.contact-home-section .section-title { text-align: left; }
.contact-home-section .section-title-en { color: var(--color-white); }
.contact-home-section .section-title-ja { color: var(--color-gray-400); }
.contact-home-section .container {
    max-width: 1800px;
    padding: 0 16px;
}
@media (min-width: 769px) {
    .contact-home-section .container { padding: 0 60px; }
}
.contact-home-section .contact-cards {
    grid-template-columns: repeat(3, 1fr);
    gap: 36px;
    margin-bottom: 64px;
}
.contact-home-section .contact-card {
    padding: 52px 36px 40px;
    border-radius: 14px;
    background: linear-gradient(
        135deg,
        rgba(255,255,255,0.13) 0%,
        rgba(255,255,255,0.06) 50%,
        rgba(255,255,255,0.11) 100%
    );
    backdrop-filter: blur(20px) saturate(1.4);
    -webkit-backdrop-filter: blur(20px) saturate(1.4);
    border: 1px solid rgba(255,255,255,0.15);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.18),
                inset 0 0 30px rgba(255,255,255,0.04),
                0 4px 24px rgba(0,0,0,0.2);
    color: var(--color-white);
    overflow: hidden;
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
                box-shadow 0.5s cubic-bezier(0.22, 1, 0.36, 1),
                border-color 0.4s ease,
                background 0.5s ease;
    /* Stagger entrance */
    opacity: 0;
    transform: translateY(32px);
}
.contact-home-section .contact-card.cc-visible {
    opacity: 1;
    transform: translateY(0);
    transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1),
                opacity 0.7s ease,
                box-shadow 0.5s cubic-bezier(0.22, 1, 0.36, 1),
                border-color 0.4s ease;
}
.contact-home-section .contact-card:nth-child(1) { transition-delay: 0s; }
.contact-home-section .contact-card:nth-child(2) { transition-delay: 0.12s; }
.contact-home-section .contact-card:nth-child(3) { transition-delay: 0.24s; }

/* Top accent line */
.contact-home-section .contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--color-accent), #e8c547, var(--color-accent));
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.contact-home-section .contact-card:hover::before {
    transform: scaleX(1);
}

/* Shimmer sweep */
.contact-home-section .contact-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(
        105deg,
        transparent 30%,
        rgba(196, 154, 42, 0.06) 45%,
        rgba(255, 255, 255, 0.08) 50%,
        rgba(196, 154, 42, 0.06) 55%,
        transparent 70%
    );
    transition: left 0.7s cubic-bezier(0.22, 1, 0.36, 1);
    pointer-events: none;
}
.contact-home-section .contact-card:hover::after {
    left: 130%;
}

.contact-home-section .contact-card:hover {
    transform: translateY(-6px);
    background: linear-gradient(
        135deg,
        rgba(255,255,255,0.20) 0%,
        rgba(255,255,255,0.10) 40%,
        rgba(255,255,255,0.17) 100%
    );
    border-color: rgba(255,255,255,0.25);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.25),
                inset 0 0 40px rgba(255,255,255,0.06),
                0 20px 50px rgba(0, 0, 0, 0.35),
                0 0 40px rgba(196, 154, 42, 0.08);
}
.contact-home-section .contact-card-icon {
    width: 72px;
    height: 72px;
    margin-bottom: 24px;
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
                box-shadow 0.5s ease;
}
.contact-home-section .contact-card:hover .contact-card-icon {
    transform: translateY(-4px) scale(1.08);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}
.contact-home-section .contact-card-icon svg {
    width: 32px;
    height: 32px;
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.contact-home-section .contact-card:hover .contact-card-icon svg {
    transform: scale(1.05);
}
.contact-home-section .contact-card-en {
    font-size: 12px;
    letter-spacing: 3px;
    margin-bottom: 6px;
    color: rgba(255,255,255,0.4);
    transition: color 0.4s ease, letter-spacing 0.5s ease;
}
.contact-home-section .contact-card:hover .contact-card-en {
    color: var(--color-accent);
    letter-spacing: 4px;
}
.contact-home-section .contact-card-title {
    font-size: 24px;
    margin-bottom: 16px;
    color: var(--color-white);
    transition: transform 0.4s ease;
}
.contact-home-section .contact-card:hover .contact-card-title {
    transform: translateY(-2px);
}
.contact-home-section .contact-card-desc {
    font-size: 14px;
    margin-bottom: 24px;
    color: rgba(255,255,255,0.5);
    transition: color 0.4s ease;
}
.contact-home-section .contact-card:hover .contact-card-desc {
    color: rgba(255,255,255,0.65);
}
.contact-home-section .contact-card-arrow {
    width: 48px;
    height: 48px;
    font-size: 20px;
    background: rgba(255,255,255,0.06);
    border-color: rgba(255,255,255,0.12);
    color: var(--color-white);
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.contact-home-section .contact-card:hover .contact-card-arrow {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: #0f1923;
    transform: translateX(6px);
    box-shadow: 0 4px 16px rgba(196, 154, 42, 0.35);
}

/* Phone / Fax row */
.contact-tel-row {
    display: flex;
    justify-content: center;
    align-items: stretch;
    max-width: 1600px;
    margin: 0 auto;
    padding: 56px 0;
    border-top: 1px solid rgba(0,0,0,0.1);
}
.contact-tel-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 80px;
}
.contact-tel-divider {
    width: 1px;
    background: rgba(0,0,0,0.1);
    align-self: stretch;
}
.contact-tel-icon {
    margin-bottom: 12px;
}
.contact-tel-icon svg {
    width: 44px;
    height: 44px;
    color: var(--color-accent);
}
.contact-tel-label {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-gray-500);
    margin-bottom: 12px;
}
.contact-tel-number {
    font-family: var(--font-display);
    font-size: 64px;
    font-weight: 700;
    color: var(--color-gray-900);
    letter-spacing: 4px;
}
.contact-tel-hours {
    font-size: 14px;
    color: var(--color-gray-400);
    margin-top: 12px;
    text-align: center;
    letter-spacing: 1px;
}

/* Phone/Fax dark overrides for homepage */
.contact-home-section .contact-tel-row {
    border-top: 1px solid rgba(0,0,0,0.5);
    box-shadow: 0 -1px 0 rgba(255,255,255,0.06);
}
.contact-home-section .contact-tel-divider {
    width: 0;
    border-left: 1px solid rgba(0,0,0,0.5);
    border-right: 1px solid rgba(255,255,255,0.06);
    background: none;
}
.contact-home-section .contact-tel-label {
    color: rgba(255,255,255,0.45);
}
.contact-home-section .contact-tel-number {
    color: var(--color-white);
}
.contact-home-section .contact-tel-hours {
    color: rgba(255,255,255,0.35);
}

/* ========== CONTACT PAGE ========== */
.contact-hero::before { content: 'CONTACT'; }

/* Category cards */
.contact-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}
.contact-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: var(--color-white);
    border-radius: 10px;
    padding: 40px 28px 32px;
    text-decoration: none;
    color: var(--color-gray-800);
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    position: relative;
}
.contact-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.1);
}
.contact-card-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #1a3a5c;
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: transform 0.4s ease;
}
.contact-card:hover .contact-card-icon {
    transform: scale(1.1);
}
.contact-card-icon svg {
    width: 24px;
    height: 24px;
}
.contact-card-icon--service { background: var(--color-accent); }
.contact-card-icon--request { background: #0e7490; }
.contact-card-icon--kaitori { background: #16a34a; }
.contact-card-icon--satei { background: #d97706; }
.contact-card-icon--loan { background: #7c3aed; }
.contact-card-en {
    font-family: var(--font-display);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2.5px;
    color: var(--color-gray-400);
    display: block;
    margin-bottom: 4px;
}
.contact-card-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-gray-900);
    margin: 0 0 12px;
    letter-spacing: 1px;
}
.contact-card-desc {
    font-size: 13px;
    line-height: 1.9;
    color: var(--color-gray-500);
    margin: 0 0 20px;
}
.contact-card-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--color-gray-200);
    font-size: 18px;
    color: var(--color-gray-400);
    margin-top: auto;
    transition: all 0.3s ease;
}
.contact-card:hover .contact-card-arrow {
    border-color: var(--color-accent);
    color: var(--color-accent);
    transform: translateX(4px);
}

/* Phone info */
.contact-phone {
    text-align: center;
    padding: 36px 20px;
    margin-bottom: 56px;
    border-top: 1px solid var(--color-gray-200);
    border-bottom: 1px solid var(--color-gray-200);
}
.contact-phone-label {
    font-size: 13px;
    color: var(--color-gray-500);
    letter-spacing: 1px;
    margin-bottom: 8px;
}
.contact-phone-number {
    font-family: var(--font-display);
    font-size: 36px;
    font-weight: 700;
    color: var(--color-gray-900);
    letter-spacing: 2px;
}
.contact-phone-hours {
    font-size: 13px;
    color: var(--color-gray-400);
    margin-top: 6px;
}

/* Form section */
.contact-form-section {
    margin-top: 0;
}
.contact-form-heading {
    margin-bottom: 24px;
    text-align: center;
}
.contact-form-heading-en {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--color-gray-900);
    display: block;
}
.contact-form-heading-ja {
    font-size: 13px;
    color: var(--color-gray-500);
    display: block;
    margin-top: 4px;
}

/* ========== SINGLE NEWS DETAIL ========== */

/* Layout */
.news-single {
    background: var(--color-gray-100);
    min-height: 60vh;
}
.news-single-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px 100px;
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 40px;
    align-items: start;
}
.news-single-main {
    min-width: 0;
}

/* Article card */
.news-single-article {
    margin-top: 50px;
    background: #fff;
    border-radius: 4px;
    overflow: hidden;
}

/* Featured image (inside article card) */
.news-single-hero {
    margin: 0 0 32px;
    line-height: 0;
}
.news-single-hero img {
    width: 100%;
    max-height: 420px;
    object-fit: cover;
    display: block;
}

/* Article card inner padding (below hero) */
.news-single-article .news-article-meta {
    padding: 0 48px;
}
.news-single-article .news-single-title {
    padding: 0 48px;
}
.news-single-article .news-share {
    padding-left: 48px;
    padding-right: 48px;
}
.news-single-article .news-article-body {
    padding: 0 48px;
}
.news-single-article .news-share--bottom {
    padding-bottom: 56px;
}

/* Meta (shared with list) */
.news-article-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}
.news-article-date {
    font-family: var(--font-display);
    font-size: 14px;
    color: var(--color-gray-500);
}
.news-article-tag {
    font-size: 11px;
    font-weight: 600;
    color: #fff;
    padding: 2px 10px;
    border-radius: 3px;
}
.news-article-tag.tag-info { background: rgba(40,120,200,0.85); }
.news-article-tag.tag-campaign { background: rgba(195,0,47,0.85); }

/* Title */
.news-single-title {
    font-size: 26px;
    font-weight: 700;
    line-height: 1.7;
    color: var(--color-gray-900);
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--color-gray-200);
}

/* Body */
.news-article-body {
    font-size: 16px;
    line-height: 2;
    color: var(--color-gray-700);
}
.news-article-body p { margin-bottom: 1.8em; }
.news-article-body img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    margin: 2em 0;
}
.news-article-body h2 {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-gray-900);
    margin: 2.5em 0 1em;
    padding-left: 16px;
    border-left: 3px solid var(--color-accent);
}
.news-article-body h3 {
    font-size: 17px;
    font-weight: 700;
    color: var(--color-gray-800);
    margin: 2em 0 0.8em;
}
.news-article-body blockquote {
    margin: 2em 0;
    padding: 24px 28px;
    background: var(--color-gray-50);
    border-left: 3px solid var(--color-gray-300);
    border-radius: 0 4px 4px 0;
    font-style: italic;
    color: var(--color-gray-600);
}
.news-article-body ul, .news-article-body ol {
    margin: 1.5em 0;
    padding-left: 1.5em;
}
.news-article-body li { margin-bottom: 0.5em; }

/* Gutenberg block overrides (wp-block-library is dequeued) */
.news-article-body h1 {
    font-size: 22px;
    font-weight: 700;
    color: var(--color-gray-900);
    margin: 0 0 1.2em;
    line-height: 1.5;
}
.news-article-body figure.wp-block-table {
    margin: 2em 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
.news-article-body table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    line-height: 1.6;
}
.news-article-body thead {
    background: var(--color-gray-900);
    color: #fff;
}
.news-article-body th,
.news-article-body td {
    padding: 10px 14px;
    border: 1px solid var(--color-gray-200, #e5e5e5);
    text-align: left;
}
.news-article-body tbody tr:nth-child(even) {
    background: var(--color-gray-50, #fafafa);
}
.news-article-body tbody tr:last-child td {
    font-weight: 700;
}
.news-article-body hr,
.news-article-body .wp-block-separator {
    border: none;
    border-top: 1px solid var(--color-gray-200, #e5e5e5);
    margin: 2.5em 0;
}
.news-article-body .has-small-font-size {
    font-size: 13px;
    line-height: 1.8;
    color: var(--color-gray-500, #737373);
}

/* Table of Contents */
.news-toc {
    background: var(--color-gray-50, #fafafa);
    border: 1px solid var(--color-gray-200, #e5e5e5);
    border-radius: 6px;
    padding: 24px 28px;
    margin-bottom: 2.5em;
}
.news-toc-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--color-gray-900);
    margin-bottom: 12px;
    padding-left: 12px;
    border-left: 3px solid var(--color-accent);
}
.news-toc-list {
    margin: 0;
    padding-left: 1.4em;
    counter-reset: toc;
    list-style: none;
}
.news-toc-list li {
    counter-increment: toc;
    margin-bottom: 6px;
    line-height: 1.6;
}
.news-toc-list li::before {
    content: counter(toc) ".";
    color: var(--color-accent);
    font-weight: 700;
    margin-right: 8px;
    font-size: 14px;
}
.news-toc-list a {
    color: var(--color-gray-700);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}
.news-toc-list a:hover {
    color: var(--color-accent);
}

/* Blog FAQ accordion (news-faq in article body) */
.news-faq { margin: 2em 0 0; }
.news-faq-item { border-bottom: 1px solid var(--color-gray-200, #e5e5e5); }
.news-faq-item summary {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 0;
    font-weight: 600;
    font-size: 15px;
    color: var(--color-gray-800);
    cursor: pointer;
    list-style: none;
}
.news-faq-item summary::-webkit-details-marker { display: none; }
.news-faq-item summary::before {
    content: "Q";
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    background: var(--color-accent);
    border-radius: 50%;
}
.news-faq-item summary::after {
    content: "+";
    margin-left: auto;
    font-size: 20px;
    color: var(--color-gray-400);
    transition: transform .2s;
}
.news-faq-item[open] summary::after {
    content: "−";
}
.news-faq-answer {
    padding: 0 0 16px 38px;
    font-size: 14px;
    line-height: 1.8;
    color: var(--color-gray-600);
}
.news-faq-answer p { margin: 0; }

/* [sq_cta] Inline CTA block */
.sq-cta-block {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px 28px;
    margin: 2.5em 0;
    background: linear-gradient(135deg, #f8f6f0 0%, #faf9f5 100%);
    border: 1px solid #e8e0cc;
    border-left: 4px solid var(--color-accent);
    border-radius: 8px;
}
.sq-cta-icon {
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(196,154,42,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-accent);
}
.sq-cta-body {
    flex: 1;
    min-width: 0;
}
.sq-cta-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-gray-900);
    margin: 0 0 4px;
}
.sq-cta-desc {
    font-size: 0.875rem;
    color: var(--color-gray-500);
    margin: 0;
    line-height: 1.6;
}
.sq-cta-btn {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 10px 24px;
    background: var(--color-accent);
    color: #fff;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 6px;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.3s, transform 0.3s;
}
.sq-cta-btn:hover {
    background: var(--color-accent-dark);
    transform: translateY(-1px);
}
/* Reading time badge */
.news-reading-time {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: var(--color-gray-500);
    margin-left: 12px;
}
.news-reading-time svg { opacity: 0.6; }
.news-article-author {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: var(--color-gray-500);
}
.news-article-author svg { opacity: 0.6; }
@media (max-width: 768px) {
    .sq-cta-block {
        flex-direction: column;
        text-align: center;
        padding: 20px;
        gap: 12px;
    }
    .sq-cta-btn { width: 100%; justify-content: center; }
}

/* SNS share */
.news-share {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 32px;
}
.news-share--bottom {
    margin-top: 48px;
    margin-bottom: 0;
    padding-top: 32px;
    border-top: 1px solid var(--color-gray-200);
}
.news-share-label {
    font-family: var(--font-display);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.5px;
    color: var(--color-gray-400);
    white-space: nowrap;
}
.news-share-btns {
    display: flex;
    gap: 8px;
}
.news-share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--color-gray-200);
    background: #fff;
    color: var(--color-gray-500);
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
}
.news-share-btn svg { width: 16px; height: 16px; }
.news-share-btn--line:hover { background: #06c755; color: #fff; border-color: #06c755; }
.news-share-btn--x:hover { background: var(--color-gray-900); color: #fff; border-color: var(--color-gray-900); }
.news-share-btn--fb:hover { background: #1877f2; color: #fff; border-color: #1877f2; }
.news-share-btn--copy:hover { background: var(--color-gray-800); color: #fff; border-color: var(--color-gray-800); }
.news-share-btn--copy.copied { background: #06c755; color: #fff; border-color: #06c755; }

/* Comments */
.news-comments-wrap {
    margin-top: 48px;
    background: var(--color-white);
    border-radius: 4px;
    overflow: hidden;
}
.news-comments {
    padding: 40px 48px;
}
.news-comments-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-gray-900);
    margin: 0 0 28px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--color-gray-200);
}
.news-comments .comment-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.news-comment {
    padding: 20px 0;
    border-bottom: 1px solid var(--color-gray-100);
}
.news-comment:last-child { border-bottom: none; }
.news-comment-inner {
    display: flex;
    gap: 16px;
}
.news-comment-avatar {
    flex-shrink: 0;
}
.news-comment-avatar img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
}
.news-comment-content { flex: 1; min-width: 0; }
.news-comment-meta {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 8px;
}
.news-comment-author {
    font-size: 14px;
    font-weight: 700;
    color: var(--color-gray-900);
}
.news-comment-date {
    font-size: 12px;
    color: var(--color-gray-400);
}
.news-comment-body {
    font-size: 15px;
    line-height: 1.8;
    color: var(--color-gray-700);
}
.news-comment-body p { margin: 0 0 0.8em; }
.news-comment-body p:last-child { margin-bottom: 0; }
.news-comment-awaiting {
    font-size: 13px;
    color: var(--color-accent);
    font-style: italic;
    margin-bottom: 8px;
}
.news-comment .reply {
    margin-top: 8px;
}
.news-comment .reply a {
    font-size: 13px;
    color: var(--color-gray-500);
    text-decoration: none;
    transition: color var(--transition);
}
.news-comment .reply a:hover { color: var(--color-accent); }
.news-comment .children {
    list-style: none;
    margin: 0;
    padding: 0 0 0 32px;
}
.news-comments-closed {
    font-size: 14px;
    color: var(--color-gray-500);
    font-style: italic;
}
/* Comment form */
.news-comments .comment-respond {
    margin-top: 32px;
    padding-top: 28px;
    border-top: 1px solid var(--color-gray-200);
}
.news-comments .comment-respond:first-child {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}
.news-comments .comment-reply-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-gray-900);
    margin: 0 0 20px;
}
.news-comments .comment-reply-title small { font-size: 13px; font-weight: 400; margin-left: 8px; }
.news-comments .comment-reply-title small a { color: var(--color-gray-500); text-decoration: none; }
.news-comments .comment-reply-title small a:hover { color: var(--color-accent); }
#commentform p { margin: 0 0 16px; }
#commentform label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--color-gray-700);
    margin-bottom: 6px;
}
#commentform label .required { color: var(--color-accent); }
#commentform input[type="text"],
#commentform input[type="email"],
#commentform textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--color-gray-200);
    border-radius: 4px;
    font-size: 15px;
    font-family: var(--font-sans);
    color: var(--color-gray-800);
    background: var(--color-white);
    transition: border-color var(--transition);
    box-sizing: border-box;
}
#commentform input:focus,
#commentform textarea:focus {
    outline: none;
    border-color: var(--color-accent);
}
#commentform textarea { resize: vertical; min-height: 120px; }
#commentform .form-submit {
    margin-bottom: 0;
}
#commentform .submit {
    display: inline-block;
    padding: 12px 32px;
    background: var(--color-accent);
    color: var(--color-white);
    border: none;
    border-radius: 4px;
    font-size: 15px;
    font-weight: 600;
    font-family: var(--font-sans);
    cursor: pointer;
    transition: background var(--transition);
}
#commentform .submit:hover { background: var(--color-accent-dark); }

/* Prev / Next */
.news-prevnext {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 48px;
}
.news-prevnext-link {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px;
    background: #fff;
    border-radius: 4px;
    text-decoration: none;
    transition: box-shadow var(--transition);
}
.news-prevnext-link:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}
.news-prevnext-link--next {
    text-align: right;
    justify-content: flex-end;
}
.news-prevnext-arrow {
    font-size: 20px;
    color: var(--color-gray-400);
    flex-shrink: 0;
    transition: color var(--transition);
}
.news-prevnext-link:hover .news-prevnext-arrow { color: var(--color-accent); }
.news-prevnext-meta { min-width: 0; }
.news-prevnext-label {
    display: block;
    font-family: var(--font-display);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--color-gray-400);
    margin-bottom: 6px;
}
.news-prevnext-title {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--color-gray-800);
    line-height: 1.5;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

/* Related articles */
.news-related {
    margin-top: 64px;
}
.news-related-heading {
    margin-bottom: 28px;
}
.news-related-heading-en {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--color-gray-900);
    display: block;
}
.news-related-heading-ja {
    font-size: 13px;
    color: var(--color-gray-500);
    display: block;
    margin-top: 4px;
}
.news-related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.news-related-card {
    background: #fff;
    border-radius: 4px;
    overflow: hidden;
    text-decoration: none;
    transition: box-shadow var(--transition), transform var(--transition);
}
.news-related-card:hover {
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    transform: translateY(-4px);
}
.news-related-thumb {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--color-gray-100);
}
.news-related-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition);
}
.news-related-card:hover .news-related-thumb img { transform: scale(1.05); }
.news-related-thumb .news-card-thumb-placeholder {
    width: 100%; height: 100%;
}
.news-related-body {
    padding: 16px 20px 20px;
}
.news-related-title {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.6;
    color: var(--color-gray-800);
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

/* Back link */
.news-single-back {
    text-align: center;
    margin-top: 48px;
}
.news-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-display);
    font-size: 14px;
    color: var(--color-gray-500);
    text-decoration: none;
    transition: var(--transition);
}
.news-back:hover { color: var(--color-accent); }
.news-back::before { content: '‹'; font-size: 18px; }

/* ========== SIDEBAR ========== */
.news-sidebar {
    position: sticky;
    top: calc(var(--header-height) + 24px);
}
.news-sidebar-widget {
    margin-top: 50px;
    background: #fff;
    border-radius: 4px;
    padding: 28px 24px;
    margin-bottom: 24px;
}
/* Guide sidebar: service links */
.news-sidebar-services {
    list-style: none;
    padding: 0;
    margin: 0;
}
.news-sidebar-services li { border-bottom: 1px solid var(--color-gray-100); }
.news-sidebar-services li:last-child { border-bottom: none; }
.news-sidebar-services a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    color: var(--color-gray-700);
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s;
}
.news-sidebar-services a::after { content: '→'; color: var(--color-accent); font-weight: 700; }
.news-sidebar-services a:hover { color: var(--color-accent); }
/* Guide sidebar: CTA */
.news-sidebar-cta {
    background: linear-gradient(135deg, #f8f6f0, #faf9f5) !important;
    border: 1px solid #e8e0cc;
    text-align: center;
}
.news-sidebar-cta-text {
    font-size: 0.9rem;
    color: var(--color-gray-700);
    line-height: 1.7;
    margin-bottom: 16px;
}
.news-sidebar-cta-btn {
    display: block;
    padding: 12px;
    margin-bottom: 8px;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    background: var(--color-accent);
    color: #fff;
    transition: background 0.3s;
}
.news-sidebar-cta-btn:hover { background: var(--color-accent-dark); }
.news-sidebar-cta-btn--outline {
    background: transparent;
    color: var(--color-accent);
    border: 1px solid var(--color-accent);
    margin-bottom: 0;
}
.news-sidebar-cta-btn--outline:hover {
    background: var(--color-accent);
    color: #fff;
}
.news-sidebar-heading {
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--color-gray-900);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--color-gray-900);
}

/* Sidebar — Recent Posts */
.news-sidebar-posts {
    list-style: none;
    margin: 0;
    padding: 0;
}
.news-sidebar-post {
    margin-bottom: 16px;
}
.news-sidebar-post:last-child {
    margin-bottom: 0;
}
.news-sidebar-post-link {
    display: flex;
    gap: 12px;
    text-decoration: none;
    transition: opacity var(--transition);
}
.news-sidebar-post-link:hover {
    opacity: 0.75;
}
.news-sidebar-post-thumb {
    width: 72px;
    height: 52px;
    border-radius: 3px;
    overflow: hidden;
    flex-shrink: 0;
    background: var(--color-gray-100);
}
.news-sidebar-post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.news-sidebar-post-thumb-ph {
    width: 100%;
    height: 100%;
    background: var(--color-gray-200);
}
.news-sidebar-post-body {
    min-width: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    align-content: flex-start;
}
.news-sidebar-post-date {
    font-family: var(--font-display);
    font-size: 11px;
    color: var(--color-gray-400);
}
.news-sidebar-post-tag {
    font-size: 10px;
    font-weight: 600;
    color: #fff;
    padding: 1px 7px;
    border-radius: 2px;
}
.news-sidebar-post-tag.tag-info { background: rgba(40,120,200,0.85); }
.news-sidebar-post-tag.tag-campaign { background: rgba(195,0,47,0.85); }
.news-sidebar-post-title {
    display: block;
    width: 100%;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.5;
    color: var(--color-gray-800);
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

/* Sidebar — Categories */
.news-sidebar-cats {
    list-style: none;
    margin: 0;
    padding: 0;
}
.news-sidebar-cat {
    border-bottom: 1px solid var(--color-gray-100);
}
.news-sidebar-cat:last-child {
    border-bottom: none;
}
.news-sidebar-cat-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    text-decoration: none;
    transition: color var(--transition);
}
.news-sidebar-cat-link:hover {
    color: var(--color-accent);
}
.news-sidebar-cat-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}
.news-sidebar-cat-dot.tag-info { background: rgba(40,120,200,0.85); }
.news-sidebar-cat-dot.tag-campaign { background: rgba(195,0,47,0.85); }
.news-sidebar-cat-name {
    font-size: 14px;
    font-weight: 500;
    color: var(--color-gray-700);
    flex: 1;
}
.news-sidebar-cat-link:hover .news-sidebar-cat-name {
    color: var(--color-accent);
}
.news-sidebar-cat-count {
    font-family: var(--font-display);
    font-size: 12px;
    color: var(--color-gray-400);
}
.news-sidebar-cat-count::before { content: '('; }
.news-sidebar-cat-count::after  { content: ')'; }

/* Sidebar — Archives */
.news-sidebar-archives {
    list-style: none;
    margin: 0;
    padding: 0;
}
.news-sidebar-archive {
    border-bottom: 1px solid var(--color-gray-100);
}
.news-sidebar-archive:last-child {
    border-bottom: none;
}
.news-sidebar-archive a {
    display: block;
    padding: 9px 0;
    font-size: 14px;
    color: var(--color-gray-600);
    text-decoration: none;
    transition: color var(--transition);
}
.news-sidebar-archive a:hover {
    color: var(--color-accent);
}
/* ========== WP NAV MENU RESETS ========== */
/* Header nav — when wp_nav_menu is used (matches .header-nav-link) */
.header-nav-menu {
    display: flex;
    align-items: center;
    gap: 2px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.header-nav-menu li {
    list-style: none;
}
.header-nav-menu a {
    font-size: 13px;
    font-weight: 500;
    color: rgba(255,255,255,0.85);
    padding: 6px 9px;
    white-space: nowrap;
    letter-spacing: 1px;
    transition: color var(--transition);
    text-decoration: none;
    position: relative;
}
.header-nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    width: 0;
    height: 1.5px;
    background: currentColor;
    transition: width 0.3s ease, left 0.3s ease;
}
.header-nav-menu a:hover::after {
    width: 60%;
    left: 20%;
}
.site-header.scrolled .header-nav-menu a {
    color: var(--color-gray-700);
}
.header-nav-menu a:hover {
    color: var(--color-white);
}
.site-header.scrolled .header-nav-menu a:hover {
    color: var(--color-accent);
}
/* First 2 items — bordered CTA buttons */
.header-nav-menu li:nth-child(-n+2) a {
    padding: 8px 20px 8px 16px;
    border: 2px solid rgba(255,255,255,0.55);
    border-radius: 4px;
    color: #fff;
    font-weight: 700;
    transition: color var(--transition), border-color var(--transition), background var(--transition);
}
.header-nav-menu li:nth-child(-n+2) a::after {
    content: '\203A';
    position: static;
    display: inline-block;
    width: auto;
    height: auto;
    margin-left: 6px;
    font-size: 1.15em;
    font-weight: 700;
    background: none;
    transition: transform var(--transition);
}
.header-nav-menu li:nth-child(-n+2) a:hover::after {
    width: auto;
    left: auto;
    animation: arrow-nudge 0.8s ease-in-out infinite;
}
@keyframes arrow-nudge {
    0%, 100% { transform: translateX(0); }
    50%      { transform: translateX(5px); }
}
.header-nav-menu li:nth-child(-n+2) a:hover {
    background: rgba(255,255,255,0.12);
    border-color: #fff;
    color: #fff;
}
.site-header.scrolled .header-nav-menu li:nth-child(-n+2) a {
    border-color: var(--color-gray-400);
    color: var(--color-gray-700);
}
.site-header.scrolled .header-nav-menu li:nth-child(-n+2) a:hover {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: #fff;
}
@media (min-width: 1310px) {
    .header-nav-menu { gap: 4px; }
    .header-nav-menu a { font-size: 14px; padding: 6px 12px; }
    .header-nav-menu li:nth-child(-n+2) a { padding: 8px 20px 8px 16px; }
}

/* ---- Bilingual Nav Mode ---- */
.nav-en { display: none; }
.nav-bilingual .header-nav-menu a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1px;
    padding: 4px 9px;
    line-height: 1.2;
}
.nav-bilingual .nav-en {
    display: block;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    opacity: 0.6;
}
.nav-bilingual .nav-ja {
    font-size: 12px;
}
.nav-bilingual .header-nav-menu li:nth-child(-n+2) a {
    padding: 6px 24px 6px 16px;
    position: relative;
}
.nav-bilingual .header-nav-menu li:nth-child(-n+2) a::after {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    margin-left: 0;
}
.nav-bilingual .header-nav-menu li:nth-child(-n+2) a:hover::after {
    animation: arrow-nudge-bi 0.8s ease-in-out infinite;
}
@keyframes arrow-nudge-bi {
    0%, 100% { transform: translateY(-50%) translateX(0); }
    50%      { transform: translateY(-50%) translateX(5px); }
}
@media (min-width: 1310px) {
    .nav-bilingual .header-nav-menu a { padding: 4px 12px; }
    .nav-bilingual .nav-en { font-size: 10px; }
    .nav-bilingual .nav-ja { font-size: 13px; }
    .nav-bilingual .header-nav-menu li:nth-child(-n+2) a { padding: 6px 18px; }
}

/* ---- Header Reservation CTA ---- */
.header-reservation-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    text-decoration: none;
    padding: 7px 18px;
    background: var(--color-accent);
    border: 1.5px solid var(--color-accent);
    border-radius: 50px;
    transition: all 0.3s ease;
    white-space: nowrap;
}
.header-reservation-btn:hover {
    background: var(--color-accent-dark);
    border-color: var(--color-accent-dark);
}
.site-header.scrolled .header-reservation-btn {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: #fff;
}
.site-header.scrolled .header-reservation-btn:hover {
    background: var(--color-accent-dark);
    border-color: var(--color-accent-dark);
}
@media (max-width: 1120px) {
    .header-reservation { display: none; }
}

/* ---- Header Reservation Dropdown ---- */
.header-reservation { position: relative; }
.header-res-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: 380px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 12px 48px rgba(0,0,0,.18), 0 0 0 1px rgba(0,0,0,.04);
    z-index: 1000;
    overflow: hidden;
    animation: hdrResIn .2s ease;
}
.header-res-dropdown.is-open { display: block; }
@keyframes hdrResIn {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
}
.header-res-dropdown__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px 10px;
    font-size: 15px;
    font-weight: 700;
    color: var(--color-heading);
    border-bottom: 1px solid #f0f0f0;
}
.header-res-dropdown__close {
    background: none; border: none; font-size: 22px; color: #999;
    cursor: pointer; line-height: 1; padding: 0 2px;
}
.header-res-dropdown__close:hover { color: #333; }
.header-res-form { padding: 14px 18px 16px; }
.header-res-row { margin-bottom: 10px; }
.header-res-row--half { display: flex; gap: 8px; }
.header-res-row--half > * { flex: 1; min-width: 0; }
.header-res-row--slot-msg {
    font-size: 12px; color: var(--color-accent); min-height: 16px;
    margin-bottom: 6px; display: none;
}
.header-res-row--slot-msg.is-visible { display: block; }
.header-res-form select,
.header-res-form input[type="text"],
.header-res-form input[type="tel"],
.header-res-form input[type="email"],
.header-res-form input[type="date"] {
    width: 100%;
    padding: 9px 12px;
    font-size: 13px;
    border: 1.5px solid #e0e0e0;
    border-radius: 8px;
    background: #fafafa;
    color: #333;
    transition: border-color .2s;
    -webkit-appearance: none;
}
.header-res-form select:focus,
.header-res-form input:focus {
    outline: none;
    border-color: var(--color-accent);
    background: #fff;
}
.header-res-form select:disabled {
    opacity: .5; cursor: not-allowed;
}
.header-res-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    padding: 11px;
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    background: var(--color-accent);
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: background .2s;
}
.header-res-submit:hover { background: var(--color-accent-dark); }
.header-res-submit:disabled { opacity: .6; cursor: not-allowed; }
/* success state */
.header-res-success { padding: 32px 18px; text-align: center; }
.header-res-success__icon { color: #22c55e; margin-bottom: 10px; }
.header-res-success__title { font-size: 16px; font-weight: 700; color: var(--color-heading); margin: 0 0 6px; }
.header-res-success__desc { font-size: 13px; color: #666; margin: 0; white-space: pre-line; }

/* ---- Header Auth Pill (split register / login) ---- */
.header-auth-pill {
    display: inline-flex;
    align-items: stretch;
    border: 1.5px solid rgba(255,255,255,0.4);
    border-radius: 50px;
    overflow: hidden;
    transition: border-color 0.3s ease;
}
.header-auth-pill__half {
    display: inline-flex;
    align-items: center;
    font-size: 11px;
    font-weight: 600;
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    padding: 5px 2px;
    transition: color 0.3s ease, text-shadow 0.3s ease, transform 0.3s ease;
    white-space: nowrap;
}
.header-auth-pill__half:first-child { padding-left: 12px; padding-right: 0; }
.header-auth-pill__half:last-child  { padding-right: 12px; padding-left: 0; }
.header-auth-pill__half:first-child::after {
    content: "/";
    margin: 0 5px;
    color: rgba(255,255,255,0.35);
    font-weight: 300;
    pointer-events: none;
}
.header-auth-pill__half:hover {
    color: #fff;
    text-shadow: 0 0 8px rgba(255,255,255,0.5);
    transform: scale(1.08);
}
/* Scrolled state */
.site-header.scrolled .header-auth-pill {
    border-color: var(--color-gray-300);
}
.site-header.scrolled .header-auth-pill__half {
    color: var(--color-gray-700);
}
.site-header.scrolled .header-auth-pill__half:first-child::after {
    color: var(--color-gray-400);
}
.site-header.scrolled .header-auth-pill__half:hover {
    color: var(--color-accent);
    text-shadow: 0 0 8px rgba(var(--color-accent-rgb, 59,130,246),0.4);
    transform: scale(1.08);
}
/* Logged-in account */
.header-account {
    position: relative;
}
.header-account-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: rgba(255,255,255,0.85);
    background: none;
    border: 1.5px solid rgba(255,255,255,0.4);
    border-radius: 50px;
    padding: 7px 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    font-family: var(--font-sans);
}
.header-account-btn:hover {
    color: #fff;
    border-color: rgba(255,255,255,0.8);
}
.site-header.scrolled .header-account-btn {
    color: var(--color-gray-700);
    border-color: var(--color-gray-300);
}
.site-header.scrolled .header-account-btn:hover {
    color: var(--color-gray-900);
    border-color: var(--color-gray-500);
}
.header-account-name {
    max-width: 100px;
    overflow: hidden;
    text-overflow: ellipsis;
}
.header-account-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
    min-width: 160px;
    padding: 8px 0;
    z-index: 1000;
}
.header-account-dropdown.is-open {
    display: block;
}
.header-account-dropdown a {
    display: block;
    padding: 10px 20px;
    font-size: 14px;
    color: var(--color-gray-700);
    text-decoration: none;
    transition: background 0.2s ease;
}
.header-account-dropdown a:hover {
    background: var(--color-gray-50);
    color: var(--color-gray-900);
}

@media (max-width: 768px) {
    .header-auth-pill { display: none; }
    .header-account { display: none; }
}

/* ---- Admin ERP Button ---- */
.header-erp-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    padding: 4px 10px;
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 4px;
    transition: all 0.2s ease;
    margin-left: 8px;
}
.header-erp-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    font-size: 10px;
    font-weight: 700;
    line-height: 16px;
    text-align: center;
    color: #fff;
    background: #e53e3e;
    border-radius: 8px;
    letter-spacing: 0;
}
.header-erp-btn:hover {
    color: #fff;
    border-color: var(--color-accent);
    background: var(--color-accent);
}
.site-header.scrolled .header-erp-btn {
    color: var(--color-gray-500);
    border-color: var(--color-gray-300);
}
.site-header.scrolled .header-erp-btn:hover {
    color: #fff;
    border-color: var(--color-accent);
    background: var(--color-accent);
}
@media (max-width: 768px) {
    .header-erp-btn { display: none; }
}

/* ---- Language Toggle (Header — Dropdown) ---- */
.header-lang {
    position: relative;
    display: inline-flex;
    align-items: center;
    margin-left: 8px;
}
.header-lang__toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    height: 32px;
    padding: 0 12px;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 5px;
    background: rgba(255,255,255,0.06);
    cursor: pointer;
    color: rgba(255,255,255,0.8);
    transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.header-lang__toggle:hover {
    border-color: rgba(255,255,255,0.4);
    color: #fff;
}
.site-header.scrolled .header-lang__toggle {
    color: var(--color-gray-600);
    border-color: var(--color-gray-200);
    background: var(--color-gray-50);
}
.site-header.scrolled .header-lang__toggle:hover {
    border-color: var(--color-gray-400);
    color: var(--color-gray-800);
}
.header-lang__code {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.04em;
    font-family: var(--font-display);
    line-height: 1;
}
.header-lang__arrow {
    opacity: 0.5;
    transition: transform 0.2s;
}
.header-lang.is-open .header-lang__arrow {
    transform: rotate(180deg);
}
.header-lang__dropdown {
    position: absolute;
    top: calc(100% + 6px);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    gap: 2px;
    background: rgba(20,20,30,0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 8px;
    padding: 6px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s, visibility 0s 0.2s;
    z-index: 1100;
    min-width: 60px;
}
.site-header.scrolled .header-lang__dropdown {
    background: rgba(255,255,255,0.95);
    border-color: var(--color-gray-200);
}
.header-lang.is-open .header-lang__dropdown {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.2s, visibility 0s;
}
.header-lang__option {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 600;
    font-family: var(--font-display);
    color: rgba(255,255,255,0.6);
    border-radius: 4px;
    text-align: center;
    transition: background 0.15s, color 0.15s;
}
.header-lang__option:hover {
    background: rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.9);
}
.header-lang__option--active {
    color: #fff;
}
.site-header.scrolled .header-lang__option {
    color: var(--color-gray-400);
}
.site-header.scrolled .header-lang__option:hover {
    background: var(--color-gray-100);
    color: var(--color-gray-700);
}
.site-header.scrolled .header-lang__option--active {
    color: var(--color-gray-900);
}

/* Mega menu — mobile CTA cards */
.mega-menu-mobile-cta {
    display: none;
}
@media (max-width: 768px) {
    .mega-menu-mobile-cta {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px;
        margin-bottom: 28px;
        opacity: 0;
        transform: translateY(20px);
        transition: opacity 0.4s ease, transform 0.4s ease;
    }
    .mega-menu-overlay.active .mega-menu-mobile-cta {
        opacity: 1;
        transform: translateY(0);
        transition-delay: 0.1s;
    }
    .mega-menu-cta-card {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 10px;
        padding: 20px 12px 16px;
        border-radius: 12px;
        text-decoration: none;
        transition: transform 0.2s;
        position: relative;
    }
    .mega-menu-cta-card--gold {
        background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-dark) 100%);
        color: #fff;
    }
    .mega-menu-cta-card--map {
        background: rgba(255,255,255,0.08);
        border: 1px solid rgba(255,255,255,0.15);
        color: rgba(255,255,255,0.9);
    }
    .mega-menu-cta-card:active {
        transform: scale(0.97);
    }
    .mega-menu-cta-label {
        font-size: 14px;
        font-weight: 600;
        letter-spacing: 0.5px;
    }
    .mega-menu-cta-arrow {
        position: absolute;
        top: 12px;
        right: 14px;
        font-size: 16px;
        opacity: 0.6;
    }
    .mega-menu-cta-card svg {
        opacity: 0.85;
    }
}

/* Mega menu — ERP staff button */
.mega-menu-erp-btn {
    display: none;
}
@media (max-width: 768px) {
    .mega-menu-erp-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 12px;
        width: 100%;
        padding: 18px 24px;
        margin-bottom: 24px;
        background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
        border: none;
        border-radius: 12px;
        color: #fff;
        font-size: 16px;
        font-weight: 700;
        letter-spacing: 1px;
        text-decoration: none;
        opacity: 0;
        transform: translateY(20px);
        transition: opacity 0.4s ease, transform 0.4s ease;
    }
    .mega-menu-overlay.active .mega-menu-erp-btn {
        opacity: 1;
        transform: translateY(0);
        transition-delay: 0.15s;
    }
    .mega-menu-erp-btn:active {
        transform: scale(0.97);
    }
}

/* Mega menu — mobile single column */
@media (max-width: 768px) {
    .mega-menu-panel {
        padding: 90px 24px 60px;
    }
    .mega-menu-body {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .mega-menu-col-title,
.mega-menu-col h3 {
        font-size: 11px;
        letter-spacing: 3px;
        color: var(--color-accent);
        margin-bottom: 12px;
        padding-top: 16px;
        border-top: 1px solid rgba(255,255,255,0.08);
    }
    .mega-menu-col:first-child h3 {
        border-top: none;
        padding-top: 0;
    }
    .mega-menu-col ul li {
        margin-bottom: 0;
    }
    .mega-menu-col ul li a {
        display: flex;
        align-items: center;
        padding: 13px 0;
        font-size: 15px;
        border-bottom: 1px solid rgba(255,255,255,0.04);
    }
    .mega-menu-col ul li:last-child a {
        border-bottom: none;
    }
    .mega-menu-col ul li a::after {
        content: '\203A';
        margin-left: auto;
        font-size: 18px;
        color: rgba(255,255,255,0.2);
        transition: color 0.2s, transform 0.2s;
    }
    .mega-menu-col ul li a:hover::after {
        color: rgba(255,255,255,0.5);
        transform: translateX(3px);
    }
    .mega-menu-col ul li a:hover {
        transform: none;
    }
    .mega-menu-link--accent {
        gap: 10px;
    }
    .mega-menu-link--accent::after {
        color: rgba(196, 154, 42, 0.4) !important;
    }
}

/* Mega menu mobile actions (account / ERP) — mobile only */
.mega-menu-mobile-actions {
    display: none;
}
@media (max-width: 768px) {
    .mega-menu-mobile-actions {
        display: flex;
        flex-direction: column;
        gap: 0;
        margin-top: 24px;
        padding-top: 20px;
        border-top: 1px solid rgba(255,255,255,0.12);
    }
    .mega-menu-mobile-link {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 14px 0;
        color: rgba(255,255,255,0.75);
        font-size: 15px;
        text-decoration: none;
        border-bottom: 1px solid rgba(255,255,255,0.06);
        transition: color 0.2s;
    }
    .mega-menu-mobile-link:last-child { border-bottom: none; }
    .mega-menu-mobile-link:hover { color: #fff; }
    .mega-menu-mobile-link svg { flex-shrink: 0; opacity: 0.6; }
}

/* Mega menu lang */
.mega-menu-lang {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 20px 0 0;
    border-top: 1px solid rgba(255,255,255,0.12);
    margin-top: 24px;
}
.mega-menu-lang__icon { color: rgba(255,255,255,0.5); display: flex; }
.mega-menu-lang .header-lang__btn {
    background: none;
    border: none;
    cursor: pointer;
    color: rgba(255,255,255,0.5);
    font-size: 13px;
    padding: 6px 10px;
    border-radius: 4px;
}
.mega-menu-lang .header-lang__btn:hover { color: #fff; background: rgba(255,255,255,0.1); }
.mega-menu-lang .header-lang__btn--active { color: #fff; background: rgba(255,255,255,0.15); }

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

/* ---- Mobile Language Dropdown ---- */
.mob-lang {
    display: none;
    position: relative;
}
@media (max-width: 768px) {
    .mob-lang {
        display: flex;
        align-items: center;
        margin-left: auto;
        margin-right: 8px;
        flex-shrink: 0;
        padding-top: 0;
        transition: padding 0.4s ease;
    }
    .site-header.at-top .mob-lang {
        padding-top: 38px;
    }
}
.mob-lang__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
    height: 28px;
    padding: 0 10px;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 4px;
    background: rgba(255,255,255,0.06);
    cursor: pointer;
    color: rgba(255,255,255,0.8);
    transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.mob-lang__btn:active {
    border-color: rgba(255,255,255,0.6);
}
.site-header.scrolled .mob-lang__btn {
    color: var(--color-gray-600);
    border-color: var(--color-gray-200);
    background: var(--color-gray-50);
}
.mob-lang__code {
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 0.04em;
    font-family: var(--font-display);
    line-height: 1;
}
.mob-lang__arrow {
    opacity: 0.5;
    transition: transform 0.2s;
}
.mob-lang.is-open .mob-lang__arrow {
    transform: rotate(180deg);
}
.mob-lang__dropdown {
    position: absolute;
    top: calc(100% + 6px);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    gap: 2px;
    background: rgba(20,20,30,0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 8px;
    padding: 6px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s, visibility 0s 0.2s;
    z-index: 1100;
    min-width: 56px;
}
.site-header.scrolled .mob-lang__dropdown {
    background: rgba(255,255,255,0.95);
    border-color: var(--color-gray-200);
}
.mob-lang.is-open .mob-lang__dropdown {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.2s, visibility 0s;
}
.mob-lang__option {
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px 16px;
    font-size: 15px;
    font-weight: 600;
    font-family: var(--font-display);
    color: rgba(255,255,255,0.6);
    border-radius: 4px;
    text-align: center;
    transition: background 0.15s, color 0.15s;
}
.mob-lang__option:active {
    background: rgba(255,255,255,0.1);
}
.mob-lang__option--active {
    color: #fff;
}
.site-header.scrolled .mob-lang__option {
    color: var(--color-gray-400);
}
.site-header.scrolled .mob-lang__option:active {
    background: var(--color-gray-100);
}
.site-header.scrolled .mob-lang__option--active {
    color: var(--color-gray-900);
}

/* Footer links — when wp_nav_menu is used */
.footer-links-menu {
    display: flex;
    gap: 24px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.footer-links-menu a {
    font-size: 14px;
    color: var(--color-gray-500);
    text-decoration: none;
}
.footer-links-menu a:hover {
    color: var(--color-white);
}

@media (max-width: 768px) {
    .news-page-inner { padding: 28px 16px 60px; }
    .news-filterbar { padding: 12px; gap: 8px; margin-top: 24px; margin-bottom: 24px; }
    .news-filterbar__select { min-width: 0; flex: 1 1 calc(50% - 4px); font-size: 12px; padding: 7px 30px 7px 10px; }
    .news-filterbar__search { margin-left: 0; min-width: 0; width: 100%; }
    .news-toolbar { gap: 16px; }
    .news-search { width: 100%; }
    .news-filter { gap: 6px; }
    .news-filter-btn { padding: 3px 10px; font-size: 11px; border-radius: 3px; letter-spacing: 0; }
    .news-filter-btn:hover { transform: none; }
    .news-load-more { padding: 12px 36px; font-size: 13px; }
    .news-grid { grid-template-columns: 1fr; gap: 20px; }
    .news-card--featured { flex-direction: column; }
    .news-card--featured .news-card-thumb { width: 100%; min-height: 180px; }
    .news-card--featured .news-card-title { font-size: 17px; }
    .news-card-body { padding: 20px; }
    .news-card--featured .news-card-body { padding: 24px; }
    .news-single-inner { grid-template-columns: 1fr; padding: 0 16px 60px; }
    .news-sidebar { position: static; }
    .news-sidebar-widget { margin-top: 0; }
    .news-single-article { margin-top: 20px; }
    .news-single-article .news-article-meta,
    .news-single-article .news-single-title,
    .news-single-article .news-share,
    .news-single-article .news-article-body { padding-left: 20px; padding-right: 20px; }
    .news-single-article .news-share--bottom { padding-bottom: 36px; }
    .news-single-hero img { max-height: 280px; }
    .news-single-title { font-size: 20px; }
    .news-share-label { display: none; }
    .news-comments { padding: 28px 20px; }
    .news-comment .children { padding-left: 20px; }
    .news-prevnext { grid-template-columns: 1fr; gap: 12px; }
    .news-prevnext-link--next { justify-content: flex-start; text-align: left; }
    .news-related-grid { grid-template-columns: 1fr; gap: 16px; }
    .news-related-heading-en { font-size: 22px; }
    .contact-cards { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .contact-card { padding: 32px 24px 28px; }
    .contact-phone-number { font-size: 28px; }
    .contact-home-section .contact-cards { grid-template-columns: 1fr; gap: 10px; margin-bottom: 40px; }
    .contact-home-section .contact-card {
        flex-direction: row;
        align-items: center;
        text-align: left;
        padding: 16px 20px;
        border-radius: 10px;
    }
    .contact-home-section .contact-card-icon {
        width: 48px;
        height: 48px;
        margin-bottom: 0;
        margin-right: 16px;
        flex-shrink: 0;
    }
    .contact-home-section .contact-card-icon svg { width: 22px; height: 22px; }
    .contact-home-section .contact-card-en {
        font-size: 10px;
        letter-spacing: 2px;
        margin-bottom: 2px;
    }
    .contact-home-section .contact-card-title {
        font-size: 18px;
        margin-bottom: 0;
        margin-left: auto;
    }
    .contact-home-section .contact-card-desc { display: none; }
    .contact-home-section .contact-card-arrow {
        width: 36px;
        height: 36px;
        font-size: 16px;
        margin-top: 0;
        margin-left: 12px;
        flex-shrink: 0;
    }
    .contact-tel-row { flex-direction: row; padding: 12px 0; gap: 0; }
    .contact-tel-col { flex: 1; padding: 10px 0; }
    .contact-tel-divider { width: 1px; height: auto; align-self: stretch; margin: 8px 0; }
    .contact-tel-icon { margin-bottom: 4px; }
    .contact-tel-icon svg { width: 22px; height: 22px; }
    .contact-tel-label { margin-bottom: 2px; font-size: 11px; letter-spacing: 1px; }
    .contact-tel-number { font-size: 18px; letter-spacing: 1px; }
    .contact-tel-hours { margin-top: 2px; font-size: 11px; }
}

/* ============================
   INNER PAGES (固定ページ共通)
   ============================ */

/* Base layout */
.inner-page {
    padding-top: calc(var(--header-height) + 40px);
    min-height: 100vh;
    background: var(--color-gray-100);
}
.inner-page-inner {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 30px 80px;
}
.inner-page-wide .inner-page-inner {
    max-width: 1200px;
}

/* Page header (reuses section-title-en/ja pattern) */
.inner-page-header {
    margin-bottom: 40px;
}
.inner-page-header .section-title-en {
    font-family: var(--font-display);
    font-size: 48px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--color-gray-900);
    display: block;
}
.inner-page-header .section-title-ja {
    font-family: var(--font-sans);
    font-size: 14px;
    color: var(--color-gray-500);
    display: block;
    margin-top: 4px;
}

/* White card */
.inner-card {
    background: #fff;
    border-radius: 4px;
    padding: 48px 40px;
}
.inner-card.access-info {
    background: #333;
}

/* Policy content (Privacy Policy, Cookie Policy) */
.policy-content h2 {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-gray-900);
    margin: 40px 0 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--color-accent);
}
.policy-content h2:first-child { margin-top: 0; }
.policy-content h3 {
    font-size: 17px;
    font-weight: 700;
    color: var(--color-gray-800);
    margin: 28px 0 12px;
}
.policy-content p {
    font-size: 15px;
    line-height: 1.9;
    color: var(--color-gray-700);
    margin-bottom: 16px;
}
.policy-content ul,
.policy-content ol {
    margin: 12px 0 20px 24px;
    font-size: 15px;
    line-height: 1.9;
    color: var(--color-gray-700);
}
.policy-content li { margin-bottom: 6px; }
.policy-content a {
    color: var(--color-accent);
    text-decoration: underline;
}
.policy-content a:hover { opacity: .8; }

/* Lead text */
.inner-lead {
    font-size: 15px;
    line-height: 2;
    color: var(--color-gray-600);
    margin-bottom: 48px;
}

/* Sub heading */
.inner-sub-heading {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 700;
    color: var(--color-gray-900);
    margin: 60px 0 24px;
    letter-spacing: 1px;
}

/* Map */
.inner-map {
    margin: 32px 0;
    border-radius: 4px;
    overflow: hidden;
}
.inner-map iframe {
    display: block;
}

/* Access text */
.inner-access-text {
    font-size: 14px;
    color: var(--color-gray-600);
    margin-top: 12px;
}

/* ---- Services Detail ---- */
.service-detail-list {
    display: flex;
    flex-direction: column;
    gap: 60px;
}
.service-detail-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}
.service-detail-item:nth-child(even) .service-detail-img {
    order: 2;
}
.service-detail-img img {
    width: 100%;
    border-radius: 4px;
}
.service-detail-en {
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--color-accent);
    display: block;
    margin-bottom: 4px;
}
.service-detail-jp {
    font-size: 22px;
    font-weight: 700;
    color: var(--color-gray-900);
    margin-bottom: 16px;
}
.service-detail-desc {
    font-size: 14px;
    line-height: 2;
    color: var(--color-gray-600);
}

/* ---- CEO Message (rich layout) ---- */

/* 2. CEO Intro — portrait + name split */
.ceo-intro {
    padding: 100px 0 80px;
    background: var(--color-white);
    position: relative;
}
.ceo-intro-inner {
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 80px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}
.ceo-intro-portrait {
    position: relative;
}
.ceo-intro-portrait::before {
    content: '';
    position: absolute;
    top: 12px;
    left: 12px;
    right: -12px;
    bottom: -12px;
    border: 2px solid #1e3a5f;
    border-radius: 4px;
    z-index: 0;
}
.ceo-intro-portrait img,
.ceo-placeholder {
    position: relative;
    z-index: 1;
    border-radius: 4px;
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
}
.ceo-intro-info {
    padding: 20px 0 20px 146px;
}
.ceo-intro-label {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 6px;
    color: #1e3a5f;
    margin-bottom: 16px;
}
.ceo-intro-name {
    font-family: var(--font-serif);
    font-size: clamp(32px, 4vw, 44px);
    font-weight: 600;
    color: var(--color-gray-900);
    letter-spacing: 14px;
    line-height: 1.3;
    margin-bottom: 16px;
}
.ceo-intro-company {
    font-size: 14px;
    color: var(--color-gray-500);
    letter-spacing: 4px;
    line-height: 2;
}
.ceo-intro-accent {
    width: 40px;
    height: 2px;
    background: #1e3a5f;
    margin-top: 28px;
}

/* 3. Lead Quote — cinematic blockquote */
.ceo-quote {
    padding: 100px 0;
    background: linear-gradient(135deg, #1e3a5f 55%, #2d3d50 80%, #3d3a2e 100%);
    position: relative;
    overflow: hidden;
}
.ceo-quote::before {
    content: 'PHILOSOPHY';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--font-display);
    font-size: clamp(80px, 14vw, 200px);
    font-weight: 800;
    letter-spacing: 10px;
    color: rgba(255,255,255,0.02);
    white-space: nowrap;
    pointer-events: none;
}
.ceo-quote-inner {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
}
.ceo-quote-mark {
    display: block;
    font-family: var(--font-serif);
    font-size: 72px;
    color: rgba(255,255,255,0.5);
    line-height: 1;
}
.ceo-quote-mark--end {
    margin-top: 16px;
}
.ceo-quote-text {
    font-family: var(--font-serif);
    font-size: clamp(18px, 2.5vw, 26px);
    line-height: 2.2;
    color: rgba(255,255,255,0.9);
    letter-spacing: 2px;
    padding: 0 20px;
}

/* 4. Message Body */
.ceo-message-body {
    background: var(--color-gray-100);
}
.ceo-message-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    counter-reset: ceo-section;
}
.ceo-message-card:first-child,
.ceo-message-card:last-child {
    grid-column: 1 / -1;
}
/* All cards — numbered counter badge */
.ceo-message-card {
    background: var(--color-white);
    border-radius: 4px;
    padding: 64px 44px 48px;
    position: relative;
    transition: box-shadow var(--transition);
    counter-increment: ceo-section;
}
.ceo-message-card:hover {
    box-shadow: 0 8px 30px rgba(0,0,0,0.06);
}
.ceo-message-card::before {
    content: "0" counter(ceo-section);
    position: absolute;
    top: -16px;
    left: 32px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    background: var(--color-gray-900);
    border-radius: 50%;
    letter-spacing: 1px;
}

/* First card — top accent line */
.ceo-message-card:first-child {
    border-top: 3px solid var(--color-gray-300);
}

/* Last card — subtle tint + bottom accent */
.ceo-message-card:last-child {
    background: var(--color-gray-50);
    border-bottom: 3px solid var(--color-gray-300);
}

.ceo-body {
    font-family: var(--font-serif);
    font-size: 15px;
    line-height: 2.4;
    color: var(--color-gray-700);
}
.ceo-body h3 {
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 3px;
    color: var(--color-gray-900);
    margin-bottom: 1.4em;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--color-gray-200);
}
.ceo-body p {
    margin-bottom: 1.8em;
}
.ceo-body p:last-child {
    margin-bottom: 0;
}

/* 5. Values — 3-column cards */
.ceo-values {
    padding: 120px 0;
    background: var(--color-white);
}
.ceo-values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 60px;
}
.ceo-value-card {
    background: var(--color-gray-50);
    border-radius: 4px;
    padding: 48px 32px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: transform var(--transition), box-shadow var(--transition);
}
.ceo-value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--color-accent);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}
.ceo-value-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.08);
}
.ceo-value-card:hover::before {
    transform: scaleX(1);
}
.ceo-value-num {
    display: block;
    font-family: var(--font-display);
    font-size: 48px;
    font-weight: 700;
    color: var(--color-gray-200);
    line-height: 1;
    margin-bottom: 20px;
}
.ceo-value-title {
    font-family: var(--font-serif);
    font-size: 26px;
    font-weight: 600;
    color: var(--color-gray-900);
    letter-spacing: 4px;
    margin-bottom: 4px;
}
.ceo-value-en {
    display: block;
    font-family: var(--font-display);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 3px;
    color: var(--color-accent);
    margin-bottom: 20px;
}
.ceo-value-desc {
    font-size: 14px;
    line-height: 2;
    color: var(--color-gray-600);
}

/* 6. Signature — closing block */
.ceo-signature {
    padding: 80px 0 100px;
}
.ceo-signature-inner {
    text-align: right;
    max-width: 1800px;
    margin: 0 auto;
}
.ceo-signature-line {
    width: 60px;
    height: 1px;
    background: var(--color-gray-300);
    margin-left: auto;
    margin-bottom: 32px;
}
.ceo-signature-company {
    font-size: 13px;
    color: var(--color-gray-500);
    letter-spacing: 2px;
    margin-bottom: 4px;
}
.ceo-signature-title {
    font-size: 13px;
    color: var(--color-gray-500);
    letter-spacing: 2px;
    margin-bottom: 12px;
}
.ceo-signature-name {
    font-family: 'Yuji Boku', var(--font-serif);
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 400;
    color: var(--color-gray-900);
    letter-spacing: 8px;
}

/* ---- Vision Page ---- */

/* 3. Mission — cinematic dark quote */
.vs-mission {
    padding: 100px 0;
    background: #1e3a5f;
    position: relative;
    overflow: hidden;
}
.vs-mission::before {
    content: 'MISSION';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--font-display);
    font-size: clamp(80px, 14vw, 200px);
    font-weight: 800;
    letter-spacing: 10px;
    color: rgba(255,255,255,0.02);
    white-space: nowrap;
    pointer-events: none;
}
.vs-mission-inner {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    position: relative;
}
.vs-mission-mark {
    display: block;
    font-family: var(--font-serif);
    font-size: 72px;
    color: rgba(255,255,255,0.4);
    line-height: 1;
}
.vs-mission-mark--end {
    margin-top: 16px;
}
.vs-mission-text {
    font-family: var(--font-serif);
    font-size: clamp(22px, 3vw, 32px);
    line-height: 2;
    color: rgba(255,255,255,0.92);
    letter-spacing: 3px;
}
.vs-mission-sub {
    margin-top: 20px;
    font-family: var(--font-display);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 4px;
    color: rgba(255,255,255,0.35);
}

/* 4. Three Pillars — numbered feature cards */
.vs-pillars {
    background: var(--color-gray-100);
}
.vs-pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 60px;
}
.vs-pillar-card {
    background: var(--color-white);
    border-radius: 4px;
    padding: 48px 32px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: transform var(--transition), box-shadow var(--transition);
}
.vs-pillar-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--color-accent);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}
.vs-pillar-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.08);
}
.vs-pillar-card:hover::before {
    transform: scaleX(1);
}
.vs-pillar-num {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--color-accent);
    margin-bottom: 20px;
}
.vs-pillar-icon {
    color: var(--color-accent);
    margin-bottom: 20px;
}
.vs-pillar-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--color-gray-900);
    margin-bottom: 6px;
}
.vs-pillar-en {
    display: block;
    font-family: var(--font-display);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 3px;
    color: var(--color-gray-400);
    margin-bottom: 20px;
}
.vs-pillar-desc {
    font-size: 14px;
    line-height: 2;
    color: var(--color-gray-600);
    text-align: left;
}

/* 5. Promise — white section with badge row */
.vs-promise {
    padding: 100px 0;
    background: var(--color-white);
}
.vs-promise-inner {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}
.vs-promise-label {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 5px;
    color: var(--color-accent);
    margin-bottom: 28px;
}
.vs-promise-text {
    font-family: var(--font-serif);
    font-size: clamp(16px, 2vw, 20px);
    line-height: 2.2;
    color: var(--color-gray-700);
    letter-spacing: 1px;
    margin-bottom: 40px;
}
.vs-promise-badges {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}
.vs-promise-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 100px;
    padding: 12px 24px;
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--color-gray-900);
    border: 1.5px solid var(--color-gray-200);
    border-radius: 40px;
    transition: border-color var(--transition), color var(--transition), background var(--transition);
}
.vs-promise-badge:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
    background: rgba(30,58,95,0.04);
}

/* Vision: Responsive */
@media (max-width: 768px) {
    .vs-mission { padding: 70px 0; }
    .vs-mission-mark { font-size: 48px; }
    .vs-pillars-grid { grid-template-columns: 1fr; gap: 20px; }
    .vs-pillar-card { padding: 36px 24px 32px; }
    .vs-promise { padding: 70px 0; }
    .vs-promise-badges { gap: 10px; }
    .vs-promise-badge { min-width: 80px; padding: 10px 18px; font-size: 13px; }
}

/* ---- Voice Grid (archive) ---- */
.voice-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    max-width: 1200px;
    margin: 0 auto;
}
.voice-grid .voice-card {
    flex: none;
    width: auto;
}

/* ---- Rental CTA ---- */
.rental-cta {
    margin-top: 40px;
    text-align: center;
}
.rental-cta-btn {
    display: inline-block;
    padding: 16px 48px;
    background: var(--color-accent);
    color: #fff;
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 1px;
    border-radius: 4px;
    text-decoration: none;
    transition: var(--transition);
}
.rental-cta-btn:hover {
    background: var(--color-gray-900);
}

/* ---- Inner Pages: Responsive ---- */
@media (max-width: 768px) {
    .inner-page { padding-top: calc(60px + 20px); }
    .inner-page-inner { padding: 24px 16px 60px; }
    .inner-page-header .section-title-en { font-size: 36px; }
    .inner-card { padding: 28px 20px; }

    .service-detail-item { grid-template-columns: 1fr; gap: 24px; }
    .service-detail-item:nth-child(even) .service-detail-img { order: 0; }

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

    /* CEO Message responsive */
    .ceo-intro { padding: 60px 0 50px; }
    .ceo-intro-inner { grid-template-columns: 200px 1fr; gap: 32px; }
    .ceo-intro-portrait::before { top: 8px; left: 8px; right: -8px; bottom: -8px; }
    .ceo-intro-info { padding-left: 40px; }
    .ceo-intro-name { font-size: 28px; letter-spacing: 4px; }
    .ceo-quote { padding: 60px 0; }
    .ceo-quote-mark { font-size: 48px; }
    .ceo-quote-text { font-size: 17px; line-height: 2; }
    .ceo-message-cards { grid-template-columns: 1fr; gap: 20px; }
    .ceo-message-card { padding: 32px 24px; }
    .ceo-message-card:first-child,
    .ceo-message-card:last-child { grid-column: auto; }
    .ceo-values { padding: 70px 0; }
    .ceo-values-grid { grid-template-columns: 1fr; gap: 20px; }
    .ceo-value-card { padding: 36px 24px 32px; }
    .ceo-signature { padding: 50px 0 60px; }

    .inner-sub-heading { font-size: 22px; margin: 40px 0 16px; }
}
@media (max-width: 480px) {
    .section { padding: 30px 0 0 0; }
    .section.bottom-cta-section { padding: 0; }
    .voice-grid { grid-template-columns: 1fr; }
    .service-detail-jp { font-size: 18px; }
    .ceo-intro-inner { grid-template-columns: 1fr 1fr; gap: 20px; text-align: left; }
    .ceo-intro-portrait { max-width: 100%; }
    .ceo-intro-portrait::before { top: 5px; left: 5px; right: -5px; bottom: -5px; }
    .ceo-intro-name { font-size: 22px; letter-spacing: 3px; }
    .ceo-intro-label { font-size: 10px; margin-bottom: 8px; }
    .ceo-intro-company { font-size: 12px; }
    .ceo-signature-inner { text-align: center; }
    .ceo-signature-line { margin: 0 auto 24px; }
}

/* ---- Company Page: Responsive ---- */
@media (max-width: 768px) {
    .cp-hero { padding: calc(60px + 16px) 0 24px; }
    .cp-hero .cp-hero-inner { display: flex; flex-direction: column; }
    .cp-hero-title { flex-direction: column; align-items: flex-start; gap: 8px; order: 1; }
    .cp-hero-ja { font-size: 13px; letter-spacing: 2px; }
    .cp-hero-accent { width: 30px; }
    .cp-breadcrumb,
    .cp-breadcrumb.cp-breadcrumb--right {
        position: static !important;
        top: auto !important;
        right: auto !important;
        order: 2;
        margin: 8px 0 0 !important;
        font-size: 11px;
    }
    .vs-statement { padding: 60px 0; }
    .vs-statement-inner { padding: 0 20px; }
    .vs-statement-grid { grid-template-columns: 1fr; gap: 32px; }
    .vs-statement-text { font-size: 22px; letter-spacing: 2px; }
    .cp-numbers { padding: 50px 0; }
    .cp-numbers-grid { grid-template-columns: 1fr; gap: 20px; }
    .cp-number-item { padding: 28px 20px; }
    .cp-related { padding: 60px 0; }
    .cp-related-grid { grid-template-columns: 1fr; gap: 12px; }
    .cp-related-card { padding: 28px 24px; }
    .cp-timeline-item { grid-template-columns: 80px 16px 1fr; gap: 0 12px; padding: 16px 0; }
    .cp-timeline-year { font-size: 12px; letter-spacing: 0.5px; }
    .cp-timeline-dot { width: 10px; height: 10px; margin-top: 3px; }
    .cp-timeline-text { font-size: 14px; line-height: 18px; }
    .cp-timeline-year, .cp-timeline-text { line-height: 18px; }
    .cp-business-grid { grid-template-columns: 1fr; gap: 16px; }
    .cp-business-body { padding: 20px 18px; }
    .cp-gallery-item { width: 280px; }
    .cp-gallery { padding-bottom: 60px; }
}
@media (max-width: 480px) {
    .cp-hero-en { letter-spacing: 2px; }
    .cp-hero-ja { font-size: 13px; letter-spacing: 2px; }
}
/* ---- Column Hero Styles: Responsive ---- */
@media (max-width: 768px) {
    .cp-hero--col-3 { margin-bottom: -24px; padding-bottom: 80px; }
    .cp-hero--col-3 + .news-page,
    .cp-hero--col-3 + .news-single,
    .cp-hero--col-3 + .np-page { border-radius: 16px 16px 0 0; }
    .cp-hero-fade { height: 40px; }
}

/* ========== SOUKYO FORM (sq-form) ========== */
.sq-form {
    max-width: 640px;
    margin: 0 auto;
}
.sq-form-row {
    margin-bottom: 28px;
}
.sq-form-row label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--color-gray-700);
    margin-bottom: 8px;
}
.sq-form-row label .required {
    color: var(--color-accent);
    font-size: 12px;
    margin-left: 2px;
}
.sq-form-row input[type="text"],
.sq-form-row input[type="email"],
.sq-form-row input[type="tel"],
.sq-form-row input[type="password"],
.sq-form-row input[type="date"],
.sq-form-row input[type="number"],
.sq-form-row select,
.sq-form-row textarea {
    width: 100%;
    padding: 12px 16px;
    font-size: 15px;
    font-family: var(--font-sans);
    color: var(--color-gray-800);
    background: var(--color-gray-50);
    border: 1px solid var(--color-gray-200);
    border-radius: 4px;
    transition: border-color var(--transition);
    box-sizing: border-box;
}
.sq-form-row input:focus,
.sq-form-row select:focus,
.sq-form-row textarea:focus {
    outline: none;
    border-color: var(--color-gray-400);
    background-color: #fff;
}
.sq-form-row textarea {
    min-height: 140px;
    resize: vertical;
}
.sq-form-row select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23737373' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
    cursor: pointer;
}
.sq-form-row input[type="date"] {
    cursor: pointer;
}
/* Two-column row */
.sq-form-row--half {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
/* Note */
.sq-form-note {
    font-size: 13px;
    color: var(--color-gray-400);
    margin-bottom: 24px;
}
.sq-form-note .required {
    color: var(--color-accent);
}
/* Privacy consent */
.sq-form-consent {
    margin-bottom: 28px;
    text-align: center;
    background: #f9f8f6;
    border: 1px solid var(--color-gray-200);
    border-radius: 6px;
    padding: 16px 20px;
}
.sq-form-consent label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    color: var(--color-gray-800);
    cursor: pointer;
}
.sq-form-consent input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: var(--color-accent);
    cursor: pointer;
    flex-shrink: 0;
}
.sq-form-consent a {
    color: var(--color-accent);
    text-decoration: underline;
    font-weight: 500;
}
.sq-form-consent a:hover {
    color: var(--color-accent-dark);
}
/* Submit button */
.sq-form-submit {
    display: block;
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
    padding: 16px 32px;
    background: var(--color-accent);
    color: #fff;
    font-family: var(--font-sans);
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 1px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background var(--transition);
}
.sq-form-submit:hover {
    background: var(--color-accent-dark);
}
/* Error messages */
.sq-form-errors {
    background: #fef2f2;
    border: 1px solid #fca5a5;
    border-radius: 4px;
    padding: 16px 20px;
    margin-bottom: 28px;
}
.sq-form-errors p {
    color: #dc2626;
    font-size: 14px;
    margin: 4px 0;
}
/* Success state */
.sq-form-success {
    text-align: center;
    padding: 40px 20px;
}
.sq-form-success-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #dcfce7;
    color: #16a34a;
    font-size: 28px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}
.sq-form-success h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-gray-900);
    margin: 0 0 12px;
}
.sq-form-success p {
    font-size: 14px;
    color: var(--color-gray-500);
    line-height: 1.8;
    margin: 0 0 24px;
}
.sq-form-back {
    display: inline-block;
    padding: 12px 32px;
    background: var(--color-gray-800);
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    transition: background var(--transition);
}
.sq-form-back:hover {
    background: var(--color-gray-900);
}

/* Password toggle */
.sq-form-pw-wrap {
    position: relative;
}
.sq-form-pw-wrap input {
    padding-right: 44px;
}
.sq-form-pw-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: var(--color-gray-400);
    padding: 4px;
    display: flex;
    align-items: center;
    transition: color var(--transition);
}
.sq-form-pw-toggle:hover {
    color: var(--color-gray-600);
}
.sq-form-pw-toggle .sq-eye-hide { display: none; }
.sq-form-pw-toggle.sq-form-pw-visible .sq-eye-show { display: none; }
.sq-form-pw-toggle.sq-form-pw-visible .sq-eye-hide { display: block; }
/* Login link */
.sq-auth-prompt {
    text-align: center;
    font-size: 14px;
    color: var(--color-gray-600);
    background: #fdf8ec;
    border-left: 4px solid var(--color-accent);
    padding: 12px 16px;
    margin-bottom: 24px;
    border-radius: 4px;
}
.sq-auth-prompt a {
    color: var(--color-accent);
    font-weight: 600;
    text-decoration: none;
}
.sq-auth-prompt a:hover {
    text-decoration: underline;
}
.sq-form-login-link {
    text-align: center;
    font-size: 14px;
    color: var(--color-gray-500);
    margin-top: 20px;
}
.sq-form-login-link a {
    color: var(--color-accent);
    text-decoration: none;
    font-weight: 600;
}
.sq-form-login-link a:hover {
    text-decoration: underline;
}
.sq-form-field-note {
    font-size: 12px;
    color: var(--color-gray-400);
    margin: 6px 0 0;
}

@media (max-width: 768px) {
    .sq-form-row--half { grid-template-columns: 1fr; gap: 0; }
    .sq-form-row--half > div { margin-bottom: 28px; }
    .sq-form-row--half > div:last-child { margin-bottom: 0; }
    .sq-form-submit { max-width: 100%; }
}

/* ========== MY ACCOUNT (sq-myaccount) ========== */
.sq-myaccount-wrap {
    max-width: 960px;
    margin: 0 auto;
}
.sq-myaccount {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

/* ── Navigation ── */
.sq-myaccount__nav {
    flex-shrink: 0;
    width: 220px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,.06);
    overflow: hidden;
}
.sq-myaccount__nav ul {
    list-style: none;
    margin: 0;
    padding: 8px 0;
}
.sq-myaccount__nav-item a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    color: var(--color-gray-600);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: background var(--transition), color var(--transition);
}
.sq-myaccount__nav-item a:hover {
    background: var(--color-gray-100);
    color: var(--color-gray-800);
}
.sq-myaccount__nav-item.is-active a {
    background: var(--color-gray-800);
    color: #fff;
}
.sq-myaccount__nav-item.is-active .sq-myaccount__nav-icon svg {
    stroke: #fff;
}
.sq-myaccount__nav-icon {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}
.sq-myaccount__nav-icon svg {
    stroke: var(--color-gray-400);
    transition: stroke var(--transition);
}
.sq-myaccount__nav-item a:hover .sq-myaccount__nav-icon svg {
    stroke: var(--color-gray-600);
}

/* ── Content ── */
.sq-myaccount__content {
    flex: 1;
    min-width: 0;
}

/* ── Dashboard cards ── */
.sq-myaccount__section-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-gray-900);
    margin: 0 0 8px;
}
.sq-myaccount__section-desc {
    font-size: 14px;
    color: var(--color-gray-500);
    margin: 0 0 28px;
}
.sq-myaccount__cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.sq-myaccount__card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 24px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,.06);
    text-decoration: none;
    color: inherit;
    transition: box-shadow var(--transition), transform var(--transition);
}
.sq-myaccount__card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,.1);
    transform: translateY(-2px);
}
.sq-myaccount__card--muted {
    opacity: .7;
}
.sq-myaccount__card--muted:hover {
    opacity: 1;
}
.sq-myaccount__card-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-gray-100);
    border-radius: 8px;
    color: var(--color-gray-600);
}
.sq-myaccount__card-body h3 {
    font-size: 15px;
    font-weight: 600;
    color: var(--color-gray-800);
    margin: 0 0 4px;
}
.sq-myaccount__card-body p {
    font-size: 13px;
    color: var(--color-gray-500);
    margin: 0;
    line-height: 1.5;
}

/* ── ERP shortcut cards ── */
.sq-myaccount__erp-section {
    margin-top: 32px;
    padding-top: 28px;
    border-top: 1px solid var(--color-gray-200);
}
.sq-myaccount__erp-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 700;
    color: var(--color-navy);
    margin: 0 0 16px;
}
.sq-myaccount__erp-title svg {
    color: var(--color-navy);
}
.sq-myaccount__erp-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 12px;
}
.sq-myaccount__erp-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 20px 12px;
    background: linear-gradient(135deg, #f0f4f8 0%, #e8eef5 100%);
    border: 1px solid var(--color-gray-200);
    border-radius: 10px;
    text-decoration: none;
    color: inherit;
    transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
}
.sq-myaccount__erp-card:hover {
    box-shadow: 0 4px 14px rgba(26,54,93,.12);
    transform: translateY(-2px);
    border-color: var(--color-navy);
}
.sq-myaccount__erp-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: var(--color-navy);
    border-radius: 12px;
    color: #fff;
}
.sq-myaccount__erp-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--color-gray-700);
    text-align: center;
    line-height: 1.3;
}

/* ── Form extras ── */
.sq-form-lead {
    font-size: 14px;
    color: var(--color-gray-500);
    text-align: center;
    margin-bottom: 28px;
}
.sq-form-section-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--color-gray-700);
    margin: 32px 0 20px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--color-gray-200);
}
.sq-form-section-title:first-child {
    margin-top: 0;
}
.sq-form-hint {
    display: block;
    font-size: 12px;
    color: var(--color-gray-400);
    margin-top: 4px;
}
.sq-form-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--color-gray-600);
    cursor: pointer;
}
.sq-form-checkbox input {
    width: 16px;
    height: 16px;
    margin: 0;
}
.sq-form-row--actions {
    margin-bottom: 20px;
}

/* ── Social Auth ── */
.sq-social-auth {
    max-width: 640px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}
.sq-social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    max-width: 320px;
    padding: 13px 24px;
    background: #fff;
    border: 1px solid var(--color-gray-200);
    border-radius: 4px;
    font-family: var(--font-sans);
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
}
.sq-social-btn:hover {
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}
.sq-social-btn-icon {
    flex-shrink: 0;
}
/* Google */
.sq-social-btn--google {
    color: var(--color-gray-700);
}
.sq-social-btn--google:hover {
    border-color: var(--color-gray-300);
    color: var(--color-gray-800);
}
/* LINE */
.sq-social-btn--line {
    background: #06C755;
    border-color: #06C755;
    color: #fff;
}
.sq-social-btn--line:hover {
    background: #05b34c;
    border-color: #05b34c;
    color: #fff;
}
.sq-social-btn--line .sq-social-btn-icon path {
    fill: #fff;
}
/* Facebook */
.sq-social-btn--facebook {
    background: #1877F2;
    border-color: #1877F2;
    color: #fff;
}
.sq-social-btn--facebook:hover {
    background: #166fe5;
    border-color: #166fe5;
    color: #fff;
}
.sq-social-btn--facebook .sq-social-btn-icon path {
    fill: #fff;
}
/* Apple */
.sq-social-btn--apple {
    background: #000;
    border-color: #000;
    color: #fff;
}
.sq-social-btn--apple:hover {
    background: #1a1a1a;
    border-color: #1a1a1a;
    color: #fff;
}
.sq-social-btn--apple .sq-social-btn-icon path {
    fill: #fff;
}
/* Divider */
.sq-social-divider {
    max-width: 640px;
    margin: 28px auto;
    display: flex;
    align-items: center;
    gap: 16px;
    color: var(--color-gray-400);
    font-size: 13px;
}
.sq-social-divider::before,
.sq-social-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--color-gray-200);
}

/* ── WooCommerce orders table override ── */
.sq-myaccount__content .woocommerce-orders-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}
.sq-myaccount__content .woocommerce-orders-table th {
    background: var(--color-gray-100);
    padding: 10px 12px;
    text-align: left;
    font-weight: 600;
    font-size: 13px;
    color: var(--color-gray-600);
    border-bottom: 1px solid var(--color-gray-200);
}
.sq-myaccount__content .woocommerce-orders-table td {
    padding: 12px;
    border-bottom: 1px solid var(--color-gray-100);
    color: var(--color-gray-700);
}
.sq-myaccount__content .woocommerce-orders-table .woocommerce-button {
    display: inline-block;
    padding: 6px 14px;
    background: var(--color-gray-800);
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 500;
    transition: background var(--transition);
}
.sq-myaccount__content .woocommerce-orders-table .woocommerce-button:hover {
    background: var(--color-gray-900);
}

/* ── WooCommerce notices ── */
.sq-myaccount-wrap .woocommerce-message,
.sq-myaccount-wrap .woocommerce-info,
.sq-myaccount-wrap .woocommerce-error {
    padding: 12px 20px;
    border-radius: 4px;
    font-size: 14px;
    margin-bottom: 20px;
    list-style: none;
}
.sq-myaccount-wrap .woocommerce-message {
    background: #dcfce7;
    color: #166534;
    border: 1px solid #bbf7d0;
}
.sq-myaccount-wrap .woocommerce-error {
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fca5a5;
}
.sq-myaccount-wrap .woocommerce-info {
    background: #eff6ff;
    color: #1e40af;
    border: 1px solid #bfdbfe;
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .sq-myaccount {
        flex-direction: column;
        gap: 20px;
    }
    .sq-myaccount__nav {
        width: 100%;
    }
    .sq-myaccount__nav ul {
        display: flex;
        overflow-x: auto;
        padding: 0;
        gap: 0;
    }
    .sq-myaccount__nav-item {
        flex-shrink: 0;
    }
    .sq-myaccount__nav-item a {
        padding: 10px 16px;
        white-space: nowrap;
        font-size: 13px;
    }
    .sq-myaccount__nav-icon {
        display: none;
    }
    .sq-myaccount__cards {
        grid-template-columns: 1fr;
    }
    .sq-myaccount__erp-cards {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ========== SOUKYO MOTORS LANDING ========== */

/* Hero overrides */
.sm-hero {
    padding: calc(var(--header-height) + 20px) 0 24px;
    background: linear-gradient(135deg, #0a0f1e 50%, #0d1f3c 78%, #142850 100%);
}
.sm-hero .cp-breadcrumb { font-size: 11px; margin-bottom: 12px; }
.sm-hero-content { margin-bottom: 0; }
.sm-hero-brand {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 6px;
}
.sm-hero-en {
    font-family: var(--font-display);
    font-size: clamp(28px, 3.8vw, 44px);
    font-weight: 700;
    letter-spacing: 4px;
    color: var(--color-white);
    line-height: 1;
}
.sm-hero-ja {
    font-family: var(--font-sans);
    font-size: 13px;
    color: var(--color-gray-400);
    letter-spacing: 3px;
}
.sm-hero-tagline {
    font-family: var(--font-serif);
    font-size: clamp(12px, 1.4vw, 14px);
    color: rgba(255,255,255,0.55);
    letter-spacing: 0.5px;
    line-height: 1.6;
}

/* Floating search bar — independent layer between hero & browse */
.sm-search-float {
    position: relative;
    z-index: 3;
    margin-top: -46px;
    pointer-events: none;
}
.sm-search-float .container { pointer-events: auto; }
.sm-hero-search {
    background: linear-gradient(160deg, rgba(16, 22, 44, 0.97), rgba(10, 16, 34, 0.97));
    border: 1px solid rgba(196, 154, 42, 0.15);
    border-top: 2px solid var(--color-accent);
    border-radius: 10px;
    padding: 18px 24px 16px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow:
        0 12px 40px rgba(0,0,0,0.45),
        0 0 0 1px rgba(255,255,255,0.04) inset,
        0 1px 0 rgba(255,255,255,0.06) inset;
}
.sm-hero-search-fields {
    display: flex;
    gap: 12px;
    align-items: flex-end;
}
.sm-hero-search-field { flex: 1; }
.sm-hero-search-field label {
    display: block;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1.5px;
    color: rgba(255,255,255,0.45);
    margin-bottom: 5px;
    text-transform: uppercase;
    font-family: var(--font-display);
}
.sm-hero-search-field select {
    width: 100%;
    padding: 9px 12px;
    font-size: 13px;
    font-family: var(--font-sans);
    background: rgba(255,255,255,0.06);
    color: var(--color-white);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 6px;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23999' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 36px;
    cursor: pointer;
    transition: border-color 0.3s, background 0.3s;
}
.sm-hero-search-field select:hover {
    background: rgba(255,255,255,0.09);
}
.sm-hero-search-field select:focus {
    outline: none;
    border-color: var(--color-accent);
    background: rgba(255,255,255,0.1);
}
.sm-hero-search-field select option {
    background: var(--color-gray-800);
    color: var(--color-white);
}
.sm-hero-search-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 9px 22px;
    background: var(--color-accent);
    color: var(--color-white);
    border: none;
    border-radius: 6px;
    font-family: var(--font-sans);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.3s, transform 0.2s;
    flex-shrink: 0;
}
.sm-hero-search-btn:hover {
    background: var(--color-accent-dark);
    transform: translateY(-1px);
}
.sm-hero-search-count {
    margin-top: 8px;
    font-size: 11px;
    color: rgba(255,255,255,0.4);
    letter-spacing: 0.5px;
    text-align: right;
}

/* Browse section */
.sm-browse {
    padding-top: 80px;
}

/* Browse by Make & Body Type — side by side on PC */
.sm-browse-row {
    display: flex;
    flex-direction: row;
    gap: 32px;
}
.sm-browse-col {
    width: 50%;
}
/* Browse by Make */
.sm-makes-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 6px;
}
.sm-make-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 8px 4px;
    height: 76px;
    background: var(--color-white);
    border: 1px solid var(--color-gray-200);
    border-radius: 4px;
    text-decoration: none;
    min-width: 0;
}
.sm-make-card:hover {
    border-color: var(--color-accent);
}
.sm-make-card-logo {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 6px;
}
.sm-make-card-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
.sm-make-card-initial {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-gray-100);
    border-radius: 50%;
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 700;
    color: var(--color-gray-500);
}
.sm-make-card-name {
    font-size: 10px;
    font-weight: 600;
    color: var(--color-gray-800);
    text-align: center;
    margin-bottom: 1px;
}
.sm-make-card-en {
    display: block;
    font-family: var(--font-display);
    font-size: 7px;
    letter-spacing: 1px;
    color: var(--color-gray-400);
}

/* Browse by Body Type */
.sm-body-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 6px;
}
.sm-body-card {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    align-content: center;
    gap: 0;
    padding: 6px 4px;
    height: 76px;
    background: var(--color-white);
    border: 1px solid var(--color-gray-200);
    border-radius: 4px;
    text-decoration: none;
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}
.sm-body-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.08);
    border-color: var(--color-accent);
}
.sm-body-card-icon {
    width: 100%;
    display: flex;
    justify-content: center;
    color: var(--color-accent);
    overflow: hidden;
    margin-bottom: 4px;
}
.sm-body-card-icon svg,
.sm-body-card-icon img { width: 53px !important; height: 53px !important; object-fit: contain; }
.sm-body-card-ja {
    font-size: 10px;
    font-weight: 600;
    color: var(--color-gray-800);
    line-height: 1;
}
.sm-body-card-en {
    font-family: var(--font-display);
    font-size: 7px;
    letter-spacing: 1px;
    color: var(--color-gray-400);
    margin-left: 3px;
}

/* Pickup Vehicles */
.sm-pickup-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 14px;
}
.sm-vehicle-card {
    display: block;
    background: var(--color-white);
    border: 1px solid var(--color-gray-200);
    border-radius: 8px;
    overflow: hidden;
    text-decoration: none;
    transition: transform 0.3s, box-shadow 0.3s;
}
.sm-vehicle-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}
.sm-vehicle-card-img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    display: block;
    background: var(--color-gray-100);
}
.sm-vehicle-card-img-empty {
    width: 100%;
    aspect-ratio: 16 / 10;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-gray-100);
    color: var(--color-gray-400);
}
.sm-vehicle-card-body { padding: 10px 10px 12px; }
.sm-vehicle-card-title {
    font-size: 12px;
    font-weight: 600;
    color: var(--color-gray-900);
    margin-bottom: 2px;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.sm-vehicle-card-grade {
    font-size: 10px;
    color: var(--color-gray-500);
    margin-bottom: 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.sm-vehicle-card-price {
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 700;
    color: var(--color-accent);
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}
.sm-vehicle-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 3px;
    margin-bottom: 8px;
}
.sm-vehicle-card-tag {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    font-size: 9px;
    font-weight: 500;
    color: var(--color-gray-600);
    background: var(--color-gray-100);
    border: 1px solid var(--color-gray-200);
    border-radius: 3px;
    padding: 2px 5px;
    line-height: 1.2;
}
.sm-vehicle-card-tag svg {
    width: 10px;
    height: 10px;
    flex-shrink: 0;
    opacity: 0.6;
}
.sm-vehicle-card-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 3px 8px;
    font-size: 10px;
    color: var(--color-gray-500);
    padding-top: 6px;
    border-top: 1px solid var(--color-gray-100);
}
.sm-vehicle-card-spec {
    display: flex;
    align-items: center;
    gap: 2px;
}
.sm-vehicle-card-spec svg {
    width: 11px;
    height: 11px;
    flex-shrink: 0;
    opacity: 0.5;
}

/* Pickup loading & empty */
.sm-pickup-loading { text-align: center; padding: 60px 0; }
.sm-pickup-spinner {
    display: inline-block;
    width: 32px;
    height: 32px;
    border: 2px solid var(--color-gray-200);
    border-top-color: var(--color-accent);
    border-radius: 50%;
    animation: smSpin 0.8s linear infinite;
}
@keyframes smSpin { to { transform: rotate(360deg); } }
.sm-pickup-empty {
    text-align: center;
    padding: 60px 0;
    color: var(--color-gray-500);
}
.sm-pickup-more { text-align: center; margin-top: 48px; }

/* Buttons */
.sm-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 40px;
    font-family: var(--font-sans);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 1px;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.3s;
    cursor: pointer;
}
.sm-btn--primary {
    background: var(--color-accent);
    color: var(--color-white);
    border: 2px solid var(--color-accent);
}
.sm-btn--primary:hover {
    background: var(--color-accent-dark);
    border-color: var(--color-accent-dark);
}
.sm-btn--outline {
    background: transparent;
    color: var(--color-gray-800);
    border: 2px solid var(--color-gray-300);
}
.sm-btn--outline:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
}
.sm-btn--ghost {
    background: transparent;
    color: rgba(255,255,255,0.8);
    border: 2px solid rgba(255,255,255,0.3);
}
.sm-btn--ghost:hover {
    border-color: var(--color-accent);
    color: var(--color-white);
}

/* CTA Section */
.sm-cta {
    padding: 120px 0;
    background: linear-gradient(135deg, var(--color-gray-900) 55%, #2a2418 82%, #3d301a 100%);
    text-align: center;
}
.sm-cta-inner { max-width: 600px; margin: 0 auto; }
.sm-cta-label {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 3px;
    color: var(--color-accent);
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 16px;
}
.sm-cta-label::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 2px;
    background: var(--color-accent);
}
.sm-cta-heading {
    font-family: var(--font-serif);
    font-size: clamp(20px, 3vw, 28px);
    line-height: 2;
    color: var(--color-white);
    letter-spacing: 1px;
    margin-bottom: 40px;
}
.sm-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* SM Cards */
.sm-make-card,
.sm-body-card {
    background: rgba(255,255,255,0.06);
    border-color: rgba(255,255,255,0.12);
}
.sm-make-card:hover,
.sm-body-card:hover {
    background: rgba(255,255,255,0.10);
}
.sm-make-card-name {
    color: rgba(255,255,255,0.6);
}
.sm-body-card-ja {
    color: rgba(255,255,255,0.85);
}
.sm-body-card-en {
    color: rgba(255,255,255,0.35);
}
.sm-body-card-icon {
    color: var(--color-accent);
}
.sm-vehicle-card {
    background: linear-gradient(135deg, rgba(255,255,255,0.16) 0%, rgba(255,255,255,0.07) 50%, rgba(255,255,255,0.13) 100%);
    backdrop-filter: blur(20px) saturate(1.5);
    -webkit-backdrop-filter: blur(20px) saturate(1.5);
    border-color: rgba(255,255,255,0.16);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.25), inset 0 0 40px rgba(255,255,255,0.05), 0 4px 24px rgba(0,0,0,0.25);
}
.sm-vehicle-card:hover {
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.30), inset 0 0 40px rgba(255,255,255,0.07), 0 12px 32px rgba(0,0,0,0.35);
}
.sm-vehicle-card-img-empty {
    background: rgba(255,255,255,0.03);
    color: rgba(255,255,255,0.2);
}
.sm-vehicle-card-title {
    color: rgba(255,255,255,0.9);
}
.sm-vehicle-card-grade {
    color: rgba(255,255,255,0.4);
}
.sm-vehicle-card-tag {
    color: rgba(255,255,255,0.5);
    background: rgba(255,255,255,0.06);
    border-color: rgba(255,255,255,0.1);
}
.sm-vehicle-card-specs {
    color: rgba(255,255,255,0.4);
    border-top-color: rgba(255,255,255,0.06);
}

/* Responsive — Soukyo Motors */
@media (max-width: 768px) {
    .sm-hero { padding: calc(60px + 20px) 0 20px; }
    .sm-hero-content { margin-bottom: 16px; }
    .sm-hero-brand {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
        margin-bottom: 10px;
    }
    .sm-hero-en { font-size: 24px; letter-spacing: 3px; }
    .sm-hero-brand .cp-hero-accent { width: 32px; height: 2px; }
    .sm-hero-ja { font-size: 12px; letter-spacing: 2px; }
    .sm-hero-tagline { font-size: 13px; line-height: 1.7; }
    .sm-search-float { margin-top: 0; }
    .sm-hero-search {
        padding: 18px;
        border-top-width: 1px;
    }
    .sm-hero-search-fields { flex-direction: column; gap: 10px; }
    .sm-hero-search-field { width: 100%; }
    .sm-hero-search-btn { width: 100%; justify-content: center; }
    .sm-browse { padding: 25px 0; }
    .sm-browse .section-title { text-align: left; margin-bottom: 24px; }
    .sm-browse .section-title-en { font-size: 20px; letter-spacing: 3px; }
    .sm-browse .section-title-ja { font-size: 12px; letter-spacing: 2px; }
    .sm-browse-row { flex-direction: column; gap: 24px; }
    .sm-browse-col { width: 100%; }
    .sm-makes-grid { grid-template-columns: repeat(4, 1fr); gap: 6px; margin: 0 -20px; padding: 0 6px; }
    .sm-make-card { padding: 8px 4px; }
    .sm-make-card-name, .sm-make-card-en { display: none; }
    .sm-make-card-logo { width: 30px; height: 30px; margin-bottom: 0; }
    .sm-make-card-initial { width: 30px; height: 30px; font-size: 14px; margin-bottom: 0; }
    .sm-body-grid { grid-template-columns: repeat(4, 1fr); gap: 6px; margin: 0 -20px; padding: 0 6px; }
    .sm-body-card { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 10px 4px; height: auto; }
    .sm-body-card-icon { grid-row: auto; grid-column: auto; margin-bottom: 0; }
    .sm-body-card-ja { display: none; }
    .sm-body-card-en { grid-column: auto; grid-row: auto; text-align: center; margin-top: 4px; }
    .sm-body-card-icon svg,
    .sm-body-card-icon img { width: 36px !important; height: 36px !important; }
    .sm-pickup-grid { grid-template-columns: repeat(3, 1fr); gap: 12px; }
    .sm-cta { padding: 80px 0; }
    .sm-cta-buttons { flex-direction: column; align-items: center; }
    .sm-btn { width: 100%; max-width: 300px; justify-content: center; }
}
@media (max-width: 480px) {
    .sm-hero-en { font-size: 24px; letter-spacing: 2px; }
    .sm-makes-grid { grid-template-columns: repeat(4, 1fr); }
    .sm-body-grid { grid-template-columns: repeat(4, 1fr); }
    .sm-pickup-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
}

/* (Theme Toggle FAB removed — toggle moved to mega menu) */

/* ===================================================================
   SOUKYO RENTAL LANDING PAGE  (sr- prefix)
   =================================================================== */

/* ---------- Hero ---------- */
.sr-hero { min-height: 520px; display: flex; align-items: flex-end; padding-bottom: 60px; }
.sr-hero-content { margin-bottom: 32px; }
.sr-hero-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.sr-hero-en {
    font-family: var(--font-display);
    font-size: clamp(28px, 5vw, 48px);
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--color-gray-900);
}
.sr-hero-ja {
    font-family: var(--font-ja);
    font-size: clamp(13px, 1.4vw, 16px);
    font-weight: 500;
    color: var(--color-gray-500);
    letter-spacing: 1px;
}
.sr-hero-tagline {
    font-size: clamp(13px, 1.2vw, 15px);
    line-height: 1.8;
    color: var(--color-gray-600);
    max-width: 540px;
}

/* ---------- Hero search ---------- */
.sr-hero-search {
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: var(--color-gray-50);
    border: 1px solid var(--color-gray-200);
    border-radius: 12px;
    padding: 20px 24px;
    max-width: 820px;
}
.sr-hero-search-fields {
    display: flex;
    gap: 12px;
    align-items: flex-end;
}
.sr-hero-search-field {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.sr-hero-search-field label {
    font-size: 11px;
    font-weight: 600;
    color: var(--color-gray-500);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.sr-hero-search-field select {
    padding: 10px 12px;
    border: 1px solid var(--color-gray-200);
    border-radius: 8px;
    background: #fff;
    font-size: 13px;
    color: var(--color-gray-900);
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='12' viewBox='0 0 12 12' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3 5l3 3 3-3' stroke='%23999' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    padding-right: 28px;
}
.sr-hero-search-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 24px;
    background: var(--color-accent);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s;
}
.sr-hero-search-btn:hover { background: var(--color-accent-dark); }
.sr-hero-search-count {
    font-size: 12px;
    color: var(--color-gray-500);
    text-align: center;
}

/* ---------- Rental class grid ---------- */
.sr-class-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 12px;
}
.sr-class-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 20px 12px;
    border: 1px solid var(--color-gray-200);
    border-radius: 10px;
    background: var(--color-gray-50);
    text-decoration: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.sr-class-card:hover {
    border-color: var(--color-accent);
    box-shadow: 0 2px 12px rgba(196, 154, 42, 0.12);
}
.sr-class-card-icon {
    color: var(--color-gray-600);
    line-height: 0;
}
.sr-class-card:hover .sr-class-card-icon { color: var(--color-accent); }
.sr-class-card-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--color-gray-900);
    text-align: center;
}
.sr-class-card-rate {
    font-family: var(--font-display);
    font-size: 12px;
    font-weight: 500;
    color: var(--color-accent);
    letter-spacing: 0.5px;
}

/* ---------- Rental rate display on vehicle cards ---------- */
.sr-vehicle-card-rate {
    font-size: 14px;
}

.sr-hero-search {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.08);
}
.sr-hero-search-field select {
    background-color: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.1);
    color: #e0e0e0;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='12' viewBox='0 0 12 12' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3 5l3 3 3-3' stroke='%23888' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
}
.sr-class-card {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.08);
}
.sr-class-card:hover {
    border-color: var(--color-accent);
    box-shadow: 0 2px 12px rgba(196, 154, 42, 0.08);
}
.sr-class-card-name { color: #e0e0e0; }
.sr-class-card-icon { color: #999; }

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
    .sr-hero { min-height: 400px; padding-bottom: 40px; }
    .sr-hero-search-fields { flex-direction: column; }
    .sr-hero-search-btn { width: 100%; justify-content: center; }
    .sr-class-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============================
   404 ERROR PAGE
   ============================ */
.error404-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.error404-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #0f0f0f 0%, #1a1a2e 50%, #16213e 100%);
    z-index: 0;
}
.error404-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 40px 24px;
    max-width: 600px;
}
.error404-code {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(120px, 20vw, 200px);
    font-weight: 800;
    letter-spacing: 12px;
    line-height: 1;
    background: linear-gradient(135deg, var(--color-accent) 0%, #e8c95a 50%, var(--color-accent-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 24px;
    animation: error404-glow 3s ease-in-out infinite alternate;
}
@keyframes error404-glow {
    0%   { filter: drop-shadow(0 0 20px rgba(196,154,42,0.3)); }
    100% { filter: drop-shadow(0 0 40px rgba(196,154,42,0.5)); }
}
.error404-title {
    font-family: var(--font-sans);
    font-size: clamp(18px, 2.5vw, 24px);
    font-weight: 600;
    color: #ffffff;
    letter-spacing: 3px;
    margin-bottom: 20px;
}
.error404-desc {
    font-size: 14px;
    color: rgba(255,255,255,0.55);
    line-height: 1.8;
    letter-spacing: 0.5px;
}
.error404-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 40px;
}
.error404-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 2px;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}
.error404-btn--primary {
    background: var(--color-accent);
    color: #fff;
}
.error404-btn--primary:hover {
    background: var(--color-accent-dark);
    box-shadow: 0 4px 24px rgba(196,154,42,0.35);
    transform: translateY(-1px);
}
.error404-btn--secondary {
    background: transparent;
    color: rgba(255,255,255,0.7);
    border: 1px solid rgba(255,255,255,0.2);
}
.error404-btn--secondary:hover {
    color: #fff;
    border-color: rgba(255,255,255,0.5);
    transform: translateY(-1px);
}
/* Decorative lines */
.error404-deco {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}
.error404-line {
    position: absolute;
    background: linear-gradient(180deg, transparent, rgba(196,154,42,0.08), transparent);
    animation: error404-drift 8s ease-in-out infinite;
}
.error404-line--1 {
    width: 1px; height: 40%;
    top: 10%; left: 15%;
    animation-delay: 0s;
}
.error404-line--2 {
    width: 1px; height: 50%;
    top: 20%; right: 20%;
    animation-delay: -3s;
}
.error404-line--3 {
    height: 1px; width: 30%;
    bottom: 25%; left: 35%;
    background: linear-gradient(90deg, transparent, rgba(196,154,42,0.06), transparent);
    animation-delay: -5s;
}
@keyframes error404-drift {
    0%, 100% { opacity: 0.3; transform: translateY(0); }
    50%      { opacity: 1;   transform: translateY(-20px); }
}
/* ---- 404 Responsive ---- */
@media (max-width: 768px) {
    .error404-hero { min-height: calc(100vh - var(--header-height)); }
    .error404-code { letter-spacing: 6px; }
    .error404-actions { flex-direction: column; gap: 12px; }
    .error404-btn { width: 100%; justify-content: center; }
}

/* ======== Product page: dark base (Aurora) ======== */
body.cde-aurora-page { background: #0a0a0f; }
body.cde-aurora-page #sqLoader { background: #0a0a0f; }
body.cde-aurora-page #sqLoader .sq-beam {
    background: linear-gradient(90deg,transparent 0%,#a855f7 25%,#00f5ff 50%,#a855f7 75%,transparent 100%);
    box-shadow: 0 0 16px 3px rgba(0,245,255,.35),0 0 40px 6px rgba(168,85,247,.18);
}
body.cde-aurora-page #sqLoader .sq-glow {
    background: radial-gradient(circle,rgba(0,245,255,.12) 0%,rgba(168,85,247,.06) 40%,transparent 70%);
}
/* ---- Dark header ---- */
.cde-aurora-page .site-header.scrolled {
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom-color: rgba(255,255,255,0.08);
    padding: 0;
}
/* Logo */
.cde-aurora-page .site-header.scrolled .logo-text        { color: #fff; }
.cde-aurora-page .site-header.scrolled .logo-sub          { color: rgba(255,255,255,0.6); }
.cde-aurora-page .site-header.scrolled .header-divider    { background: rgba(255,255,255,0.3); }
.cde-aurora-page .site-header.scrolled .header-site-name  { color: rgba(255,255,255,0.8); }
/* Nav links */
.cde-aurora-page .site-header.scrolled .header-nav-link   { color: rgba(255,255,255,0.85); }
.cde-aurora-page .site-header.scrolled .header-nav-link:hover { color: #fff; }
/* Nav icon (favorites / compare) */
.cde-aurora-page .header-nav-link svg { margin-right: 6px; vertical-align: -2px; }
/* All menu */
.cde-aurora-page .site-header.scrolled .all-menu-label       { color: #fff; }
.cde-aurora-page .site-header.scrolled .all-menu-lines span  { background: #fff; }
/* Hamburger */
.cde-aurora-page .site-header.scrolled .hamburger span       { background: #fff; }
/* Reservation btn — golden stays, just ensure white text */
.cde-aurora-page .site-header.scrolled .header-reservation-btn {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: #fff;
}
/* Auth pill / Account */
.cde-aurora-page .site-header.scrolled .header-auth-pill {
    border-color: rgba(255,255,255,0.4);
}
.cde-aurora-page .site-header.scrolled .header-auth-pill__half {
    color: #fff;
}
.cde-aurora-page .site-header.scrolled .header-auth-pill__half:first-child::after {
    color: rgba(255,255,255,0.35);
}
.cde-aurora-page .site-header.scrolled .header-auth-pill__half:hover {
    color: #fff;
}
.cde-aurora-page .site-header.scrolled .header-account-btn {
    color: rgba(255,255,255,0.85);
    border-color: rgba(255,255,255,0.4);
}
.cde-aurora-page .site-header.scrolled .header-account-btn:hover {
    color: #fff;
    border-color: rgba(255,255,255,0.8);
}
/* ERP btn (if visible) */
.cde-aurora-page .site-header.scrolled .header-erp-btn {
    color: #fff;
    border-color: rgba(255,255,255,0.4);
}
/* Language switcher — PC */
.cde-aurora-page .site-header.scrolled .header-lang__toggle {
    color: rgba(255,255,255,0.8);
    border-color: rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.06);
}
.cde-aurora-page .site-header.scrolled .header-lang__toggle:hover {
    border-color: rgba(255,255,255,0.4);
    color: #fff;
}
.cde-aurora-page .site-header.scrolled .header-lang__dropdown {
    background: rgba(20,20,30,0.95);
    border-color: rgba(255,255,255,0.12);
}
.cde-aurora-page .site-header.scrolled .header-lang__option {
    color: rgba(255,255,255,0.6);
}
.cde-aurora-page .site-header.scrolled .header-lang__option:hover {
    background: rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.9);
}
.cde-aurora-page .site-header.scrolled .header-lang__option--active {
    color: #fff;
}
/* Language switcher — Mobile */
.cde-aurora-page .site-header.scrolled .mob-lang__btn {
    color: rgba(255,255,255,0.8);
    border-color: rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.06);
}
.cde-aurora-page .site-header.scrolled .mob-lang__dropdown {
    background: rgba(20,20,30,0.95);
    border-color: rgba(255,255,255,0.12);
}
.cde-aurora-page .site-header.scrolled .mob-lang__option {
    color: rgba(255,255,255,0.6);
}
.cde-aurora-page .site-header.scrolled .mob-lang__option--active {
    color: #fff;
}
