:root {
    --bg-color: #ffffff;
    --accent-glow: rgba(77, 160, 129, 0.1);
    --primary-accent: #3d8067;
    --secondary-accent: #008ba3;
    --text-main: #222222;
    --text-sub: #555555;
    --card-bg: rgba(0, 0, 0, 0.04);
    --border-color: rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
    -ms-overflow-style: none;
    /* IE and Edge */
    scrollbar-width: none;
    /* Firefox */
}

/* Hide scrollbar for Chrome, Safari and Opera */
html::-webkit-scrollbar,
body::-webkit-scrollbar {
    display: none;
}

body {
    font-family: 'Outfit', 'Noto Sans JP', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

main {
    width: 100%;
}

/* --- Utility --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.gradient-text {
    background: linear-gradient(90deg, var(--primary-accent), var(--secondary-accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
}

/* --- Header --- */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 2000;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    padding: 0;
    /* Remove vertical padding */
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    /* Use full width for top-left alignment */
    padding: 0;
    /* Remove all padding to stick logo to the corner */
}

.logo {
    display: block;
    width: auto;
}

.logo img {
    display: block;
}

.nav-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 5px;
    padding-right: 40px;
}

.utility-nav ul {
    display: flex;
    list-style: none;
    gap: 20px;
}

.utility-nav ul li a {
    color: #b0b0b0;
    text-decoration: none;
    font-size: 11px;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.utility-nav ul li a:hover {
    opacity: 1;
    color: var(--primary-accent);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 25px;
}

nav ul li a {
    color: #b0b0b0;
    text-decoration: none;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: var(--primary-accent);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    width: 30px;
    height: 20px;
    position: relative;
    cursor: pointer;
    z-index: 3000;
    margin-right: 20px;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: #fff;
    position: absolute;
    transition: all 0.3s ease;
}

.hamburger span:nth-child(1) {
    top: 0;
}

.hamburger span:nth-child(2) {
    top: 9px;
}

.hamburger span:nth-child(3) {
    top: 18px;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

@media (max-width: 1024px) {
    header {
        height: 60px;
    }

    .header-content {
        height: 100%;
    }

    .logo img {
        height: 60px;
        /* Match header height */
        width: auto;
    }

    .hamburger {
        display: block;
    }

    .nav-wrapper {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: rgba(0, 0, 0, 0.95);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 100px 30px;
        transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1);
        z-index: 2500;
        gap: 40px;
    }

    .nav-wrapper.active {
        right: 0;
    }

    nav ul {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    nav ul li a {
        font-size: 16px;
    }

    .utility-nav ul {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .utility-nav ul li a {
        font-size: 14px;
    }
}

/* --- Hero --- */
.hero {
    height: 100vh;
    height: 100dvh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: #05000a;
    position: relative;
    overflow: hidden;
}

/* Background image from mv_bg_2.jpg */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('/.resources/webresources/special/20th/mv_bg_2.jpg') center center / cover no-repeat;
}

/* Final Background image (mv_bg_3.jpg) */
.hero-bg-secondary {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background: url('mv_bg_3.jpg') center center / cover no-repeat; */
    z-index: 2;
    opacity: 0;
    will-change: opacity;
}

#hero-pattern-2 .hero-bg-secondary {
    background: url('/.resources/webresources/special/20th/mv_bg_3_02.jpg') center center / cover no-repeat;
}


.hero-bg-glow {
    position: absolute;
    top: 40%;
    left: 50%;
    width: 120%;
    height: 120%;
    background: radial-gradient(circle at center, rgba(5, 255, 161, 0.08) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    filter: blur(100px);
    animation: pulse-aura 12s infinite alternate;
    pointer-events: none;
    z-index: 4;
    display: none;
}

@keyframes pulse-aura {
    0% {
        transform: translate(-50%, -50%);
        opacity: 0.5;
    }

    100% {
        transform: translate(-50%, -50%);
        opacity: 0.8;
    }
}

.hero-intro {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    text-align: center;
    z-index: 20;
    pointer-events: none;
}

.hero-intro p {
    font-family: "Sawarabi Mincho", "Noto Serif JP", serif;
    font-size: clamp(2.25rem, 4.5vw, 3.75rem);
    color: #fff;
    line-height: 2;
    letter-spacing: 0.2em;
    opacity: 0;
    margin: 0;
    filter: blur(10px);
}

#hero-intro-2 p {
    font-family: 'Outfit', 'Noto Sans JP', sans-serif;
    letter-spacing: 0.6em;
    direction: ltr;
    unicode-bidi: isolate;
    white-space: nowrap;
}

#hero-intro-2 p.jp-text {
    font-family: "Sawarabi Mincho", "Noto Serif JP", serif;
    font-size: clamp(0.9rem, 1.75vw, 1.25rem);
    letter-spacing: 0.2em;
    white-space: normal;
    margin-top: 20px;
    line-height: 1.5;
}

#hero-intro-2 p.jp-text+p.jp-text {
    margin-top: 10px;
}

.hero-logo-wrap {
    width: clamp(250px, 60vw, 600px);
    margin-bottom: -80px;
    /* Tighten space with anniversary text */
    position: relative;
    z-index: 10;
    visibility: hidden;
    /* Use visibility instead of display: none */
    opacity: 0;
}

.hero-logo-wrap svg {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 0 40px rgba(0, 229, 255, 0.6));
    overflow: visible !important;
    /* Allow paths to come from far above */
}

.hero-logo-wrap svg path,
.hero-logo-wrap svg polygon {
    opacity: 0;
    /* Removed CSS transform to avoid conflict with GSAP */
    will-change: transform, opacity;
}

.hero-subtitle-wrap {
    margin-top: 30px;
    overflow: hidden;
    position: relative;
    z-index: 10;
}

#hero-sub1 {
    direction: ltr;
    unicode-bidi: isolate;
    white-space: nowrap;
}

.hero p {
    display: block;
    font-size: clamp(0.8rem, 1.5vw, 1.2rem);
    color: #fff;
    letter-spacing: 0.8em;
    font-weight: 400;
    opacity: 0;
    transform: translateY(10px);
}

.hero .hero-anniv {
    margin-top: 15px;
    color: #fff;
    font-family: 'Outfit', 'Noto Sans JP', sans-serif;
    font-weight: 500;
    font-size: 16px;
    letter-spacing: 0.2em;
    line-height: 1.8;
    opacity: 0;
    transform: translateY(10px);
}

.hero-20 {
    font-size: 2.4rem;
    font-weight: 300;
    margin: 0 0.05em;
    letter-spacing: 0.1em;
    line-height: 1;
    vertical-align: -0.05em;
    display: inline;
}

@media (max-width: 768px) {

    #hero-sub1,
    #hero-sub1-2 {
        font-size: clamp(1.0rem, 4.2vw, 1.35rem) !important;
        letter-spacing: 0.3em !important;
    }

    .hero-20 {
        font-size: clamp(2.5rem, 10.1vw, 4.0rem) !important;
    }

    .anniv-logo {
        width: clamp(297px, 59.4vw, 540px) !important;
    }
}

/* 20th Anniversary Logo for Pattern 2 */
.hero-anniv-logo-wrap {
    margin-top: 30px;
    position: relative;
    z-index: 10;
    opacity: 0;
    transform: scale(0.8);
    display: flex;
    justify-content: center;
    align-items: center;
}

.anniv-logo {
    width: clamp(225px, 45vw, 450px);
    height: auto;
    filter: blur(0.4px);
    /* Slight blur to smooth GIF jaggies */
    position: relative;
    z-index: 10;
}

/* logo.svgが表示される領域ではブラーを解除 */
@media (max-width: 900px) {
    .anniv-logo {
        filter: none;
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
        transform: translateZ(0);
    }
}

.hero-tv {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: clamp(210px, 56vw, 630px);
    z-index: 5;
    opacity: 0;
    will-change: opacity, transform;
    pointer-events: none;
}

.hero-tv img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 0 50px rgba(0, 0, 0, 0.8));
}

.scroll-down {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
    cursor: pointer;
    z-index: 10;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    40% {
        transform: translateX(-50%) translateY(-10px);
    }

    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* --- Section Styling --- */
section {
    padding: 75px 0;
    position: relative;
}

/* --- Message Section --- */
#message-sec {
    background-color: var(--bg-color);
    /* Match hero base or slightly lighter */
    text-align: center;
    padding: 90px 0;
}

.message-content {
    max-width: 800px;
    margin: 0 auto;
    font-family: "Sawarabi Mincho", "Noto Serif JP", serif;
    line-height: 2.4;
    letter-spacing: 0.1em;
    font-size: clamp(1rem, 2vw, 1.1rem);
    color: var(--text-main);
}

.message-title {
    font-size: clamp(1.4rem, 3vw, 2rem);
    margin-bottom: 60px;
    font-weight: 500;
    color: var(--text-main);
    display: inline-block;
    border-bottom: 1px solid var(--primary-accent);
    padding-bottom: 20px;
}

.scroll-down-content {
    margin-top: 40px;
    display: flex;
    justify-content: center;
}

.scroll-down-content a {
    display: block;
    animation: bounce-static 2s infinite;
    cursor: pointer;
}

@keyframes bounce-static {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 10px;
    font-family: 'Oswald', sans-serif;
    font-weight: 300;
    /* Thin weight */
    letter-spacing: 0.1em;
}

.section-title p {
    font-family: 'Sawarabi Mincho', serif;
    color: var(--text-sub);
    font-size: 1.3rem;
    letter-spacing: 2px;
    font-weight: 400;
    margin-top: 10px;
}

/* --- Evolution Timeline --- */
.timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 1px;
    height: 100%;
    background: linear-gradient(180deg, transparent 0%, var(--secondary-accent) 15%, var(--primary-accent) 85%, transparent 100%);
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-bottom: 120px;
    position: relative;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-dot {
    position: absolute;
    left: 50%;
    top: 20px;
    width: 12px;
    height: 12px;
    background: var(--primary-accent);
    border-radius: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 15px var(--primary-accent);
    z-index: 10;
}

.timeline-content {
    width: 45%;
    padding: 30px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    backdrop-filter: blur(5px);
    transition: transform 0.4s, border-color 0.4s;
    position: relative;
    z-index: 2;
}

.timeline-item:hover .timeline-content {
    transform: translateY(-5px);
    border-color: var(--primary-accent);
}

.timeline-year {
    font-family: 'Oswald', sans-serif;
    font-size: 5rem;
    /* Increased size for impact */
    color: rgba(0, 0, 0, 0.08);
    /* Very subtle */
    position: absolute;
    top: -40px;
    left: 10px;
    z-index: 10;
    /* Bring to front, higher than content */
    line-height: 1;
    pointer-events: none;
    /* Allow clicking through */
}

.timeline-item:nth-child(even) .timeline-year {
    left: auto;
    right: 10px;
}

.timeline-info h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary-accent);
    font-weight: 300;
    letter-spacing: 0.05em;
}

.timeline-info p {
    font-size: 0.95rem;
    color: var(--text-sub);
    line-height: 1.8;
}

.timeline-image {
    width: 45%;
    aspect-ratio: 16/9;
    overflow: hidden;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.timeline-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s;
}

.timeline-item:hover .timeline-image img {
    transform: scale(1.1);
}

/* --- Core Tech --- */
.tech-container {
    max-width: 1000px;
    margin: 0 auto;
}

.tech-tabs {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 50px;
    background: rgba(255, 255, 255, 0.03);
    padding: 8px;
    border-radius: 100px;
    border: 1px solid var(--border-color);
    width: fit-content;
    margin: 0 auto 50px auto;
    backdrop-filter: blur(10px);
}

.tech-tab {
    padding: 12px 32px;
    cursor: pointer;
    color: var(--text-sub);
    border-radius: 100px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.05em;
    text-align: center;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.tech-tab:hover {
    background: rgba(0, 0, 0, 0.05);
    color: var(--primary-accent);
}

.tech-tab.active {
    background: var(--primary-accent);
    color: #fff;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(5, 255, 161, 0.2);
}

.tech-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    background: var(--card-bg);
    padding: 60px;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    min-height: 450px;
    /* Fixed height to prevent size jump */
}

.tech-info h3 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.tech-info p {
    color: var(--text-sub);
    margin-bottom: 30px;
}

.tech-next-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 30px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(77, 160, 129, 0.5);
    border-radius: 100px;
    color: var(--primary-accent);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    backdrop-filter: blur(10px);
}

.tech-next-btn:hover {
    background: var(--primary-accent);
    color: #fff;
    border-color: var(--primary-accent);
    box-shadow: 0 8px 20px rgba(77, 160, 129, 0.2);
    transform: translateY(-2px);
}

.tech-image img {
    width: 100%;
    border-radius: 10px;
}

/* --- Vision --- */
.vision-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-bottom: 100px;
}

.vision-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    /* Center align all contents */
    transition: 0.3s;
}

.vision-card:hover {
    border-color: var(--primary-accent);
    background: rgba(77, 160, 129, 0.08);
    box-shadow: 0 0 20px rgba(77, 160, 129, 0.2);
}

.vision-icon {
    display: inline-block;
    margin-bottom: 20px;
}

.vision-icon img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    transition: filter 0.4s ease;
}

.vision-card:hover .vision-icon img {
    /* Transform white to specific green #009966 using filters */
    filter: invert(42%) sepia(87%) saturate(583%) hue-rotate(117deg) brightness(91%) contrast(101%) drop-shadow(0 0 8px rgba(0, 153, 102, 0.6));
}

.vision-card h4 {
    font-size: 1.25rem;
    margin-bottom: 15px;
}

.vision-card p {
    color: var(--text-sub);
    font-size: 0.9rem;
    text-align: left;
    /* Keep description text left-aligned for readability */
    margin-top: 15px;
}

/* --- Anniversary Section --- */
.anniv-banner {
    text-align: center;
    padding: 90px 0;
    background: var(--bg-color);
    position: relative;
}

.anniv-number {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(10rem, 25vw, 20rem);
    font-weight: 700;
    line-height: 1;
    color: rgba(0, 0, 0, 0.05);
    /* Solid subtle color, no blur/gradient */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, calc(-50% - 200px));
    z-index: 1;
    pointer-events: none;
}

.anniv-text {
    position: relative;
    z-index: 1;
}

.anniv-text h2 {
    font-family: "Sawarabi Mincho", "Noto Serif JP", serif;
    font-size: 1.1rem;
    line-height: 2.2;
    letter-spacing: 0.15em;
    font-weight: 300;
    color: var(--text-main);
}

.anniv-subtext {
    font-family: "Sawarabi Mincho", "Noto Serif JP", serif;
    font-size: clamp(0.8rem, 1.8vw, 1.1rem);
    /* Smaller size for the vision part */
    line-height: 2;
    letter-spacing: 0.12em;
    color: var(--text-sub);
    margin-bottom: 40px;
}

/* --- Page Top Bar --- */
.page-top-bar {
    background-color: var(--bg-color);
    padding: 60px 0 20px;
}

.page-top-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-top-line {
    flex: 1;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.1);
}

.page-top-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: #ccc;
    text-decoration: none;
    font-size: 0.7rem;
    letter-spacing: 0.05em;
    transition: color 0.3s, opacity 0.3s;
    white-space: nowrap;
}

.page-top-link:hover {
    color: var(--primary-accent);
    opacity: 0.8;
}

.page-top-link svg {
    width: 24px;
    height: 12px;
    stroke: currentColor;
}

.footer-visual {
    text-align: center;
    padding: 100px 0;
    margin-top: 20px;
    position: relative;
    z-index: 2;
}

.footer-visual .container {
    position: relative;
    z-index: 5;
}

.footer-visual img {
    max-width: 240px;
    /* Reduced size by 40% (400px * 0.6) */
    width: 80%;
    height: auto;
    opacity: 1;
}

/* --- Footer --- */
footer {
    background: #f8f9fa;
    padding: 100px 0 40px;
    border-top: 1px solid var(--border-color);
    color: #444;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 80px;
}

.footer-col h5 {
    color: var(--text-main);
    font-size: 0.85rem;
    letter-spacing: 1px;
    margin-bottom: 25px;
    position: relative;
}

/* Removed header accent */

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: #666;
    text-decoration: none;
    font-size: 0.8rem;
    transition: color 0.3s, opacity 0.3s;
}

.footer-col ul li a:hover {
    color: var(--primary-accent);
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding: 40px 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #666;
    font-size: 0.75rem;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-links {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.footer-links a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--primary-accent);
}

.footer-social {
    display: flex;
    gap: 15px;
    align-items: center;
}

.footer-social a {
    color: #666;
    transition: color 0.3s;
}

.footer-social a:hover {
    color: var(--primary-accent);
}

.footer-copyright-bottom {
    color: #666;
    font-size: 0.7rem;
    margin-top: 20px;
}

/* --- Products Section --- */
.product-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 50px;
}

.product-card {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 40px;
    background: #fff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    text-align: left;
    text-decoration: none;
    color: inherit;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.product-card img {
    width: 100%;
    height: auto;
    margin-bottom: 30px;
    object-fit: contain;
}

.product-card h3 {
    font-size: 1.4rem;
    margin-bottom: 0px;
    color: var(--text-main);
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 500;
}

.product-card h3 span {
    color: #00442d;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: opacity 0.3s;
}

.product-card:hover h3 span {
    opacity: 0.8;
}

.product-card h3 span::after {
    content: "";
    display: inline-block;
    width: 8px;
    height: 8px;
    margin-left: 10px;
    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
    transform: rotate(45deg);
}

.product-card p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-sub);
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 400;
    text-align: justify;
}

/* Responsive */
@media (max-width: 900px) {
    .timeline::before {
        left: 40px;
    }

    .timeline-item {
        flex-direction: column !important;
        align-items: flex-start;
        padding-left: 80px;
    }

    .timeline-content {
        margin-bottom: 10px;
    }

    .timeline-content,
    .timeline-image {
        width: 100%;
    }

    .timeline-dot {
        left: 40px;
    }

    .timeline-year {
        left: 80px;
    }

    .tech-content {
        grid-template-columns: 1fr;
        padding: 30px;
        gap: 30px;
        min-height: auto;
    }

    .tech-tabs {
        width: calc(100% - 40px);
        max-width: 500px;
        margin: 0 20px 30px 20px;
        padding: 4px;
        display: flex;
        justify-content: space-between;
        gap: 4px;
    }

    .tech-tab {
        padding: 10px 12px;
        font-size: 0.85rem;
        flex: 1;
        /* Equal width buttons on mobile */
    }

    .tech-info h3 {
        font-size: 1.5rem;
    }

    .vision-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .hero {
        height: 600px;
        /* Fixed height for consistent mobile background */
    }

    .hero-logo-wrap {
        width: 72vw;
        /* Increased from 60vw (approx 20% larger proportionally) */
    }

    .hero p {
        font-size: 1.2rem;
        /* Adjusted base for mobile */
    }

    #hero-sub1 {
        font-size: 1.1rem;
        /* Base 0.9rem * 1.2 = 1.08rem -> 1.1rem */
    }

    .hero .hero-anniv {
        font-size: 15px;
    }

    .hero-intro p {
        font-size: 1.2rem;
        /* Reduced by approx 15% from 1.4rem */
    }

    .product-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .product-card {
        padding: 30px 20px;
    }

    .sp-br {
        display: block;
        content: "";
        margin-top: 0;
    }
}

.sp-br {
    display: none;
}

/* --- New Stage Section --- */
.new-stage-section {
    padding: 100px 0;
    background-color: #fff;
}

.new-stage-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 80px;
    margin-bottom: 120px;
}

.new-stage-row:last-child {
    margin-bottom: 50px;
}

/* Liquid Layout for New Stage Section - Edge to Edge */
#new-stage-sec .container {
    max-width: 100%;
    padding: 0;
}

#new-stage-sec .new-stage-image img {
    border-radius: 0;
}

/* Desktop Layout Adjustments */
@media (min-width: 901px) {
    #new-stage-sec .new-stage-row {
        gap: 0;
    }

    #new-stage-sec .new-stage-text {
        width: 60%;
        padding: 0 5%;
    }

    #new-stage-sec .new-stage-image {
        width: 40%;
    }
}

.new-stage-row.reverse {
    flex-direction: row-reverse;
}

.new-stage-text {
    width: 48%;
}

.new-stage-text h3 {
    font-family: "Sawarabi Mincho", "Noto Serif JP", serif;
    font-size: clamp(1.4rem, 3vw, 1.6rem);
    margin-bottom: 40px;
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: 0.1em;
    color: var(--text-main);
}

.new-stage-text p {
    font-family: "Sawarabi Mincho", "Noto Serif JP", serif;
    font-size: 1rem;
    line-height: 1.8;
    letter-spacing: 0.12em;
    color: var(--text-sub);
    text-align: justify;
}

.new-stage-image {
    width: 48%;
    position: relative;
}

.new-stage-image img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    transition: transform 0.6s ease;
}

.new-stage-row:hover .new-stage-image img {
    transform: translateY(-5px);
}

/* Support Section - Override font to Sans-Serif (Gothic) */
#support-sec .new-stage-text h3,
#support-sec .new-stage-text p {
    font-family: 'Outfit', 'Noto Sans JP', sans-serif;
}

#support-sec .container {
    max-width: 1000px;
}

@media (max-width: 900px) {

    .new-stage-row,
    .new-stage-row.reverse {
        flex-direction: column;
        gap: 40px;
        margin-bottom: 80px;
    }

    .new-stage-text,
    .new-stage-image {
        width: 100%;
    }

    .new-stage-text h3 {
        margin: 0 20px 25px 20px;
        font-size: 1.5rem;
    }

    .new-stage-text p {
        margin: 0 20px;
    }
}

/* --- Side Navigation --- */
.side-nav {
    position: fixed;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
    background: rgba(220, 220, 220, 0.4);
    backdrop-filter: blur(5px);
    padding: 26px 13px;
    border-radius: 65px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.side-nav::before {
    content: '';
    position: absolute;
    top: 40px;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    background: rgba(255, 255, 255, 0.5);
    z-index: -1;
}

.side-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 26px;
}

.side-nav li {
    position: relative;
}

.side-nav a {
    display: block;
    width: 10.4px;
    height: 10.4px;
    background: #fff;
    border-radius: 50%;
    transition: all 0.3s ease;
    position: relative;
}

.side-nav a:hover {
    transform: scale(1.2);
}

.side-nav a.active {
    background: #00d084;
    /* Active Green */
    transform: scale(1.3);
    box-shadow: 0 0 10px rgba(0, 208, 132, 0.4);
}

/* Tooltip for Nav (Optional, mostly hidden) */
.side-nav a span {
    position: absolute;
    right: 32px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 13px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s;
    pointer-events: none;
}

.side-nav a:hover span {
    opacity: 1;
    visibility: visible;
}

/* Mobile Overrides for Side Navigation */
@media (max-width: 900px) {
    .side-nav a span {
        display: none !important;
    }

    .side-nav {
        right: 20px;
        /* Reduced right margin for mobile */
    }

    .side-nav a {
        width: 13.5px;
        height: 13.5px;
        margin: 6.5px;
        /* Add extra spacing for easier tapping */
    }

    .side-nav ul {
        gap: 32px;
        /* Further spread out for mobile tap targets */
    }
}

/* --- Utility Classes --- */
.sp-br {
    display: none;
}

@media (max-width: 900px) {
    .sp-br {
        display: block;
    }
}