/* ========== CSS Variables / Design Tokens ========== */
:root {
    --blue: #d4af37;
    --blue-dark: #9a7e1e;
    --blue-light: #e3c466;
    --orange: #f06b00;
    --orange-light: #ff8a2b;
    --white: #ffffff;
    --off-white: #f7f8fa;
    --gray-50: #f9fafb;
    --gray-100: #f0f1f3;
    --gray-200: #e2e4e8;
    --gray-300: #c8cbd0;
    --gray-400: #9da2aa;
    --gray-600: #5a5f68;
    --gray-800: #2d3038;
    --gray-900: #1a1c20;
    --sidebar-width: 260px;
    --font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', sans-serif;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-family);
    color: var(--gray-800);
    background: var(--off-white);
    line-height: 1.8;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition);
}

ul {
    list-style: none;
}

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

/* ========== Sidebar ========== */
.sidebar {
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    width: var(--sidebar-width);
    background: linear-gradient(180deg, var(--blue) 0%, var(--blue-dark) 100%);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    box-shadow: 4px 0 20px rgba(0, 0, 0, 0.15);
}

.sidebar-inner {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    padding: 0;
}

/* Logo */
.logo {
    padding: 28px 20px 20px;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.logo-icon {
    margin-bottom: 10px;
    display: flex;
    justify-content: center;
}

.logo-icon svg {
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.3));
}

.logo-icon img {
    border: 2px solid #000;
    border-radius: 50%;
}

.logo-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.logo-main {
    color: var(--white);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 1px;
}

.logo-sub {
    color: rgba(255, 255, 255, 0.5);
    font-size: 9px;
    letter-spacing: 3px;
    text-transform: uppercase;
}

/* Navigation Menu */
.nav-menu {
    flex: 1;
    padding: 10px 0;
}

.nav-menu > ul {
    display: flex;
    flex-direction: column;
}

.nav-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav-link {
    display: flex;
    align-items: center;
    padding: 14px 20px;
    color: rgba(255, 255, 255, 0.85);
    transition: all var(--transition);
    position: relative;
    cursor: pointer;
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.08);
    color: var(--white);
    padding-left: 26px;
}

.nav-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--orange);
    transform: scaleY(0);
    transition: transform var(--transition);
}

.nav-link:hover::before {
    transform: scaleY(1);
}

.nav-label {
    font-size: 14px;
    font-weight: 500;
}

.nav-label-en {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.4);
    margin-left: 8px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.nav-arrow {
    margin-left: auto;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.3);
    transition: transform var(--transition);
}

.nav-item.open .nav-arrow {
    transform: rotate(90deg);
}

/* Submenu */
.submenu {
    max-height: 0;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.15);
    transition: max-height 0.4s ease;
}

.nav-item.open .submenu {
    max-height: 500px;
}

.submenu li a {
    display: block;
    padding: 9px 28px 9px 44px;
    font-size: 12.5px;
    color: rgba(255, 255, 255, 0.6);
    transition: all var(--transition);
    position: relative;
}

.submenu li a::before {
    content: '–';
    position: absolute;
    left: 30px;
    color: rgba(255, 255, 255, 0.3);
}

.submenu li a:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.05);
    padding-left: 50px;
}

/* Permit Button */
.permit-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 10px 20px;
    padding: 14px;
    background: linear-gradient(135deg, var(--orange) 0%, var(--orange-light) 100%);
    border: 2px solid #000;
    border-radius: 8px;
    color: var(--white);
    font-weight: 700;
    font-size: 14px;
    transition: all var(--transition);
    box-shadow: 0 4px 15px rgba(240, 107, 0, 0.3);
}

.permit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(240, 107, 0, 0.4);
}

.permit-en {
    font-size: 10px;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 0.8;
}

/* Sidebar Phone */
.sidebar-phone {
    padding: 16px 20px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-phone a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
    font-weight: 500;
    transition: color var(--transition);
}

.sidebar-phone a:hover {
    color: var(--orange);
}

/* ========== Mobile Header ========== */
.mobile-header {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: var(--blue);
    z-index: 1001;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.mobile-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--white);
    font-size: 14px;
    font-weight: 700;
}

.hamburger {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.hamburger span {
    width: 24px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: all var(--transition);
}

.hamburger.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

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

.hamburger.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ========== Main Content ========== */
.main-content {
    margin-left: var(--sidebar-width);
    min-height: 100vh;
}

/* ========== Hero Section ========== */
.hero {
    position: relative;
    height: 520px;
    background: 
        linear-gradient(135deg, rgba(212, 175, 55, 0.92) 0%, rgba(154, 126, 30, 0.88) 100%),
        url('images/hero-banner.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse at 20% 50%, rgba(240, 107, 0, 0.15) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 80%, rgba(227, 196, 102, 0.2) 0%, transparent 50%);
}

/* Doodle decorations */
.hero-doodles {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.doodle {
    position: absolute;
    opacity: 0.6;
    animation: float 6s ease-in-out infinite;
}

.doodle-truck {
    width: 180px;
    top: 15%;
    right: 8%;
    animation-delay: 0s;
}

.doodle-recycle {
    width: 100px;
    bottom: 20%;
    left: 8%;
    animation-delay: 2s;
}

.doodle-leaf {
    width: 70px;
    top: 25%;
    left: 18%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 0 40px;
}

.hero-title {
    color: var(--white);
    font-weight: 300;
}

.hero-title-main {
    display: block;
    font-size: clamp(22px, 3.5vw, 38px);
    font-weight: 300;
    letter-spacing: 3px;
    margin-bottom: 8px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 1s ease forwards 0.3s;
}

.hero-title-sub {
    display: block;
    font-size: clamp(28px, 4.5vw, 48px);
    font-weight: 900;
    letter-spacing: 2px;
    background: linear-gradient(135deg, var(--white) 0%, rgba(255, 255, 255, 0.8) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 1s ease forwards 0.6s;
}

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

/* ========== Section Base ========== */
.section {
    padding: 70px 0;
}

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

.section-header {
    margin-bottom: 40px;
}

.section-title {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.title-en {
    font-size: 32px;
    font-weight: 900;
    letter-spacing: 4px;
    color: var(--blue);
    position: relative;
}

.title-en::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--orange), transparent);
    border-radius: 2px;
}

.section-desc {
    font-size: 14px;
    color: var(--gray-600);
    line-height: 2;
    max-width: 700px;
}

/* ========== Topics Section ========== */
.topics-section {
    background: var(--white);
}

.topics-list {
    border-top: 2px solid var(--blue);
}

.topic-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 0;
    border-bottom: 1px solid var(--gray-200);
    transition: background var(--transition);
    flex-wrap: wrap;
}

.topic-item:hover {
    background: var(--gray-50);
    padding-left: 10px;
}

.topic-date {
    font-size: 13px;
    color: var(--gray-400);
    font-weight: 500;
    flex-shrink: 0;
    min-width: 90px;
}

.topic-badge {
    display: inline-block;
    padding: 2px 12px;
    font-size: 11px;
    font-weight: 700;
    color: var(--white);
    background: var(--orange);
    border-radius: 20px;
    flex-shrink: 0;
    letter-spacing: 0.5px;
}

.topic-link {
    font-size: 14px;
    color: var(--gray-800);
    transition: color var(--transition);
}

.topic-link:hover {
    color: var(--blue);
}

/* ========== About Section ========== */
.about-section {
    background: var(--off-white);
}

.company-vision {
    max-width: 880px;
    margin: 0 auto 40px;
    padding: 32px 36px;
    background: linear-gradient(145deg, var(--blue) 0%, var(--blue-dark) 100%);
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(212, 175, 55, 0.25);
}

.company-vision p {
    font-size: 15px;
    line-height: 2;
    color: var(--white);
}

.topic-media {
    margin-top: 28px;
    padding: 16px;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 2px 14px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.topic-media img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
    border-radius: 6px;
}

/* ========== Services Section ========== */
.services-section {
    background: var(--white);
}

.business-overview {
    margin-top: 0;
}

.business-overview-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--blue);
    margin-bottom: 28px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--orange);
    display: inline-block;
}

.business-item {
    margin-bottom: 20px;
    padding: 22px 26px;
    background: var(--gray-50);
    border-left: 4px solid var(--orange);
    border-radius: 4px;
}

.business-item-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--blue);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.business-marker {
    color: var(--orange);
    font-size: 22px;
    font-weight: 700;
}

.business-item-desc {
    font-size: 14px;
    color: var(--gray-600);
    line-height: 1.9;
}

.business-future {
    margin: 28px 0 20px;
}

.business-future-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 6px;
}

.business-future-desc {
    font-size: 14px;
    color: var(--gray-600);
    line-height: 1.9;
}

/* ========== Access Section ========== */
.access-section {
    background: var(--off-white);
}

.access-card {
    max-width: 720px;
    margin: 0 auto;
    padding: 40px 36px;
    background: var(--white);
    border-left: 4px solid var(--orange);
    border-radius: 6px;
    box-shadow: 0 2px 14px rgba(212, 175, 55, 0.08);
    text-align: center;
}

.access-address {
    font-size: 17px;
    font-weight: 700;
    color: var(--gray-800);
    line-height: 1.8;
    margin-bottom: 14px;
}

.access-station {
    font-size: 15px;
    color: var(--gray-600);
    line-height: 1.8;
}

/* ========== Contact Section ========== */
.contact-section {
    background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
    color: var(--white);
}

.contact-section .section-title .title-en {
    color: var(--white);
}

.contact-section .section-title .title-en::after {
    background: linear-gradient(90deg, var(--orange), transparent);
}

.contact-info {
    max-width: 720px;
    margin: 40px auto 0;
    padding: 48px 36px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 8px;
    text-align: center;
    backdrop-filter: blur(4px);
}

.contact-company {
    font-size: 38px;
    font-weight: 900;
    color: var(--white);
    letter-spacing: 2px;
    margin-bottom: 24px;
    line-height: 1.3;
}

.contact-rep {
    font-size: 18px;
    color: var(--white);
    margin-bottom: 18px;
    letter-spacing: 1px;
}

.contact-phone-row {
    font-size: 18px;
    color: var(--white);
    letter-spacing: 0.5px;
}

.contact-phone-row a {
    font-weight: 700;
    margin-left: 6px;
    color: var(--white);
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
    transition: border-color var(--transition);
}

.contact-phone-row a:hover {
    border-bottom-color: var(--white);
}

.contact-section .section-desc {
    color: rgba(255, 255, 255, 0.7);
}

/* ========== Footer ========== */
.footer {
    background: var(--gray-900);
    color: rgba(255, 255, 255, 0.6);
    padding: 50px 0 30px;
}

.footer-inner {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 40px;
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 32px;
    margin-bottom: 40px;
    padding: 0;
    list-style: none;
}

.footer-nav li a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 1px;
    transition: color var(--transition);
}

.footer-nav li a:hover {
    color: var(--orange);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-bottom p {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.3);
    letter-spacing: 1px;
}

/* ========== Scroll Animations ========== */
.section-header,
.topic-item {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.section-header.visible,
.topic-item.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger animation delay */
.topic-item:nth-child(1) { transition-delay: 0.05s; }
.topic-item:nth-child(2) { transition-delay: 0.1s; }
.topic-item:nth-child(3) { transition-delay: 0.15s; }
.topic-item:nth-child(4) { transition-delay: 0.2s; }

/* ========== Responsive ========== */
@media (max-width: 900px) {
    .sidebar {
        transform: translateX(-100%);
        transition: transform var(--transition);
    }

    .sidebar.open {
        transform: translateX(0);
    }

    .mobile-header {
        display: flex;
    }

    .main-content {
        margin-left: 0;
        padding-top: 60px;
    }

    .hero {
        height: 400px;
    }

    .section-container {
        padding: 0 20px;
    }

    .section {
        padding: 50px 0;
    }
}

@media (max-width: 600px) {
    .hero {
        height: 320px;
    }

    .topic-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}
