:root {
    --color-main-bg: #FFFFFF;
    --color-text: #111111;
    --color-text-light: #777777;
    --color-border: #EEEEEE;
    --color-accent: #FFE100;
    --font-heading: 'Noto Serif JP', serif;
    --font-body: 'Noto Sans JP', sans-serif;
}

/* Reset & Base */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; background-color: var(--color-main-bg); overflow-x: hidden; }
body {
    font-family: var(--font-body);
    color: var(--color-text);
    background-color: var(--color-main-bg);
    line-height: 2;
    letter-spacing: 0.1em;
    font-weight: 300;
    overflow-x: hidden;
    position: relative;
}

/* 3. Architectural Grid Design */
.architectural-grid {
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
    pointer-events: none; z-index: -2;
    background-image: 
        linear-gradient(to right, rgba(0,0,0,0.06) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(0,0,0,0.06) 1px, transparent 1px);
    background-size: 10vw 10vw;
}

/* 5. Scroll Progress Bar */
.scroll-progress-container { position: fixed; top: 0; left: 0; width: 100%; height: 3px; background-color: transparent; z-index: 1000; }
.scroll-progress-bar { height: 100%; background-color: var(--color-accent); width: 0%; transition: width 0.1s ease-out; }

/* Typography */
h1, h2, h3, h4, .logo, .footer-logo { font-family: var(--font-heading); font-weight: 200; }
.fw-thin { font-weight: 100 !important; }
.fw-normal { font-weight: 400 !important; }
.fw-black { font-weight: 900 !important; }
.tracking-wide { letter-spacing: 0.15em; }
.tracking-widest { letter-spacing: 0.25em; }
.text-xs { font-size: 0.75rem; } .text-sm { font-size: 0.9rem; } .text-md { font-size: 1.2rem; } .text-lg { font-size: 2rem; } .text-xl { font-size: 2.5rem; }
.block { display: block; }
.mt-2 { margin-top: 0.5rem; } .mt-4 { margin-top: 1rem; } .mt-6 { margin-top: 1.5rem; } .mt-8 { margin-top: 2rem; } .mt-10 { margin-top: 3rem; } .mt-12 { margin-top: 4rem; } .mb-4 { margin-bottom: 1rem; } .mb-10 { margin-bottom: 3rem; } .pb-6 { padding-bottom: 1.5rem; } .text-center { text-align: center; }
a { color: inherit; text-decoration: none; transition: all 0.4s ease-out; }

/* Layout Utilities */
.section-padding { padding: 240px 0; }
.container { max-width: 1400px; margin: 0 auto; padding: 0 5vw; position: relative; }
.container-left { max-width: 1000px; margin-left: 5vw; margin-right: auto; }
.container-right { max-width: 1000px; margin-right: 5vw; margin-left: auto; }
.asymmetric-grid { display: grid; grid-template-columns: 4fr 5fr; gap: 10vw; align-items: center; }
.d-flex-center { display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; }

.accent-dot { display: inline-block; width: 6px; height: 6px; background-color: var(--color-accent); border-radius: 50%; margin-left: 12px; transform: translateY(-8px); }
.section-title { font-size: 3.5rem; letter-spacing: 0.15em; line-height: 1.2; position: relative; display: inline-block; }

/* Header & Glassmorphism */
.header { position: fixed; top: 0; left: 0; width: 100%; z-index: 100; background-color: rgba(255, 255, 255, 0.4); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid rgba(255,255,255,0.3); transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.4s ease; transform: translateY(0); }
.header.hide-on-scroll { transform: translateY(-100%); }
.header-inner { max-width: 1600px; margin: 0 auto; padding: 16px 5vw; display: flex; justify-content: space-between; align-items: center; }

/* ハンバーガーメニュー（PCでは非表示） */
.menu-toggle { display: none; background: none; border: none; cursor: pointer; z-index: 1000; width: 44px; height: 44px; position: relative; }
.hamburger-line { display: block; width: 26px; height: 1.5px; background-color: #111; position: absolute; left: 9px; transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1); }
.hamburger-line:nth-child(1) { top: 17px; }
.hamburger-line:nth-child(2) { top: 25px; }
.logo-link { display: inline-flex; align-items: center; text-decoration: none; color: var(--color-text); }
.logo-image { height: 96px; width: 96px; display: block; object-fit: cover; border-radius: 4px; box-shadow: 0 4px 15px rgba(0,0,0,0.08); }
.logo-fallback { font-size: 1.2rem; letter-spacing: 0.25em; font-family: var(--font-heading); font-weight: 200; }
.global-nav ul { display: flex; gap: 60px; align-items: center; list-style: none; }
.global-nav a { font-size: 0.8rem; letter-spacing: 0.2em; text-transform: uppercase; position: relative; padding-bottom: 4px; }
.global-nav a::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0%; height: 1px; background-color: var(--color-accent); transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1); }
.global-nav a:hover::after { width: 100%; }
.nav-contact { color: var(--color-text-light); }
.nav-contact:hover { color: var(--color-accent); }
.nav-shop-btn { background-color: #111; color: #fff !important; padding: 8px 20px; border-radius: 4px; font-weight: 500; font-family: var(--font-body); letter-spacing: 0.1em; display: inline-block; transition: all 0.4s ease; transform: translateY(-2px); }
.nav-shop-btn:hover { background-color: var(--color-accent); color: #111 !important; transform: translateY(-4px); box-shadow: 0 10px 20px rgba(0,0,0,0.05); }
.nav-shop-btn::after { display: none !important; }

/* HERO OVERLAP & PARALLAX */
.hero { min-height: 100vh; padding-top: 150px; display: flex; align-items: center; position: relative; }
.parallax-bg-text { position: absolute; top: 15%; left: 0; width: 100%; text-align: center; font-size: 25vw; font-weight: 900; color: rgba(0,0,0,0.02); pointer-events: none; z-index: 0; white-space: nowrap; will-change: transform; }
.hero-container { position: relative; z-index: 2; }
.hero-main-copy { font-size: 8vw; line-height: 1.1; letter-spacing: 0.05em; position: relative; z-index: 3; color: #111; }
.offset-text { margin-left: 15%; }
.hero-jp-copy { font-size: 1rem; letter-spacing: 0.3em; color: var(--color-text-light); }
.hero-sub-copy { font-size: 1rem; font-family: var(--font-heading); font-style: italic; color: #CCCCCC; }

.hero-visual { position: relative; width: 100%; z-index: 1; }
.hero-overlap { margin-left: -15%; margin-top: -10%; } 

.scroll-indicator { position: absolute; bottom: 40px; left: 5vw; width: 1px; height: 60px; background-color: var(--color-border); overflow: hidden; }
.scroll-line { display: block; width: 100%; height: 100%; background-color: #111; animation: scrollDrop 2s cubic-bezier(0.16, 1, 0.3, 1) infinite; }
@keyframes scrollDrop { 0% { transform: translateY(-100%); } 50% { transform: translateY(0); } 100% { transform: translateY(100%); } }

/* Glassmorphism Classes */
.glass-img { width: 100%; display: block; filter: drop-shadow(0 20px 40px rgba(0,0,0,0.03)); position: relative; z-index: 2; }
.acrylic-backdrop { position: absolute; top: 10%; left: -10%; width: 80%; height: 110%; background: linear-gradient(135deg, rgba(255,255,255,0.4) 0%, rgba(245,245,245,0.1) 100%); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid rgba(255,255,255,0.8); box-shadow: 0 30px 60px rgba(0,0,0,0.02); z-index: 1; transform: translateZ(0); }
.glass-panel { background: rgba(255, 255, 255, 0.5); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid rgba(255, 255, 255, 0.9); box-shadow: 0 10px 40px rgba(0,0,0,0.02); position: relative; overflow: hidden; border-radius: 8px; transform: translateZ(0); }

/* 1. Bento Grid Architecture */
.bento-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; align-items: stretch; }
.bento-item { padding: 50px; display: flex; flex-direction: column; justify-content: center; }
.bento-large { grid-column: span 2; }
.bento-tall { grid-column: span 1; grid-row: span 2; }
.bento-small { grid-column: span 1; padding: 40px; }

/* Bento Hover Interaction (Urban Cool Glassmorphism bleed) */
.bento-hover { transition: box-shadow 0.6s ease, transform 0.6s ease, border-color 0.6s ease; }
.bento-hover:hover { transform: translateY(-5px); box-shadow: 0 15px 50px rgba(0,0,0,0.06), inset 0 0 140px rgba(255, 255, 255, 0.9); border-color: rgba(220, 230, 240, 0.6); }
.overflow-image { position: absolute; right: -15%; bottom: -5%; width: 70%; opacity: 0.9; }
.vertical-data { display: flex; flex-direction: column; }

/* Philosophy */
.philosophy-lead { font-size: 1.8rem; line-height: 2.2; letter-spacing: 0.15em; }
.philosophy-statement { font-size: 1.4rem; letter-spacing: 0.3em; color: var(--color-text-light); border-bottom: 1px solid var(--color-border); display: inline-block; padding-bottom: 24px; }

/* Product Features inside Bento */
.product-features { list-style: none; position: relative; z-index: 3; }
.product-features li { font-size: 1.1rem; margin-bottom: 24px; padding-left: 40px; position: relative; letter-spacing: 0.15em; }
.product-features li::before { content: ''; position: absolute; left: 0; top: 14px; width: 20px; height: 1px; background-color: var(--color-border); transition: background-color 0.4s ease; }
.product-features li:hover::before { background-color: var(--color-accent); }
.data-label { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.3em; color: var(--color-text-light); margin-bottom: 10px; display: block; }
.data-value { font-size: 4.5rem; font-family: var(--font-heading); color: var(--color-text); line-height: 1; letter-spacing: -0.02em; }
.data-value .unit { font-size: 1.5rem; margin-left: 8px; color: var(--color-text-light); }

/* Company */
.table-container { background: transparent; padding: 0; }
.minimal-table { width: 100%; max-width: 800px; border-collapse: collapse; }
.minimal-table th, .minimal-table td { padding: 30px 0; border-bottom: 1px solid var(--color-border); text-align: left; vertical-align: top; }
.minimal-table tr:last-child th, .minimal-table tr:last-child td { border-bottom: none; }
.minimal-table th { width: 35%; font-weight: 300; color: var(--color-text-light); letter-spacing: 0.2em; font-size: 0.85rem; }
.minimal-table td { font-size: 1.05rem; letter-spacing: 0.1em; }

/* Contact */
.contact-wrapper { padding: 80px !important; }
.form-group { margin-bottom: 40px; }
.form-group label { display: block; margin-bottom: 12px; color: #111; font-weight: 500; font-size: 1rem; }
.form-group input, .form-group textarea { width: 100%; padding: 12px 0; border: none; border-bottom: 1px solid var(--color-border); font-family: var(--font-body); font-size: 1.4rem; background-color: transparent; transition: border-color 0.4s ease; font-weight: 400; color: #000; }
.form-group input:focus, .form-group textarea:focus { outline: none; border-bottom: 2px solid var(--color-text); }
.form-group textarea { resize: none; transition: height 0.4s ease, border-color 0.4s ease; }
.form-group textarea:focus { height: 120px; }
.honeypot-group { display: none !important; opacity: 0; position: absolute; top: 0; left: -9999px; height: 0; width: 0; z-index: -1; pointer-events: none; }

/* Privacy Consent & Custom Checkbox */
.privacy-consent { color: var(--color-text-light); line-height: 1.8; }
.privacy-text { font-size: 0.65rem; opacity: 0.8; letter-spacing: 0.05em; text-align: justify; }
.d-flex-align-start { display: flex; align-items: flex-start; cursor: pointer; }
.ml-3 { margin-left: 12px; }

.custom-checkbox input { position: absolute; opacity: 0; cursor: pointer; height: 0; width: 0; }
.checkmark { position: relative; display: inline-block; min-width: 24px; height: 24px; border: 1px solid #999; background-color: transparent; transition: all 0.3s ease; transform: translateY(0); }
.custom-checkbox:hover input ~ .checkmark { border-color: var(--color-text); }
.custom-checkbox input:checked ~ .checkmark { background-color: var(--color-accent); border-color: var(--color-accent); }
.checkmark:after { content: ""; position: absolute; display: none; left: 8px; top: 3px; width: 6px; height: 12px; border: solid #111; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.custom-checkbox input:checked ~ .checkmark:after { display: block; }

.btn-minimal { background: none; border: none; font-family: var(--font-heading); font-size: 1.5rem; letter-spacing: 0.2em; color: var(--color-text); cursor: pointer; display: inline-flex; align-items: center; position: relative; padding-bottom: 8px; }
.btn-minimal .arrow { margin-left: 20px; transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), color 0.4s ease; }
.btn-minimal::after { content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 1px; background-color: var(--color-border); transition: background-color 0.4s ease; }
.btn-minimal:hover .arrow { transform: translateX(10px); color: var(--color-accent); }
.btn-minimal:hover::after { background-color: var(--color-text); }

/* Footer */
.footer { padding: 120px 0 80px; border-top: 1px solid var(--color-border); }

/* Back to Top */
.back-to-top { position: fixed; bottom: 40px; right: 5vw; display: flex; flex-direction: column; align-items: center; text-decoration: none; color: var(--color-text-light); opacity: 0; visibility: hidden; transform: translateY(20px); transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1); z-index: 90; }
.back-to-top .arrow { font-size: 1.5rem; transition: color 0.4s ease; }
.back-to-top::before { content: ''; position: absolute; top: -40px; left: 50%; transform: translateX(-50%); width: 1px; height: 30px; background-color: var(--color-border); }
.back-to-top:hover { color: var(--color-text); transform: translateY(-5px); }
.back-to-top:hover .arrow { color: var(--color-accent); }
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }

/* ANIMATIONS (Text Split & Fade Up) */
.fade-up { opacity: 0; transform: translateY(30px); transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
.fade-up.is-visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.1s; } .delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; } .delay-4 { transition-delay: 0.4s; }

/* 5. Split Text Character Animation */
.split-text { display: inline-block; white-space: nowrap; }
.split-text .char {
    display: inline-block; opacity: 0; transform: translateY(40px) rotateX(-20deg);
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    transform-origin: bottom;
}
.split-text.is-visible .char { opacity: 1; transform: translateY(0) rotateX(0deg); }

.slow-fade { animation: fadeUpIn 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
@keyframes fadeUpIn { 0% { opacity: 0; transform: translateY(10px); } 100% { opacity: 1; transform: translateY(0); } }

/* Mobile Reponsive */
@media (max-width: 1024px) {
    .section-padding { padding: 160px 0; }
    .asymmetric-grid { grid-template-columns: 1fr; gap: 60px; }
    .hero-main-copy { font-size: 15vw; }
    .offset-text, .hero-overlap { margin-left: 0; }
    .hero-overlap { margin-top: 40px; }
    .hero-visual { padding-right: 0; }
    .bento-grid { grid-template-columns: 1fr; }
    .bento-large, .bento-tall, .bento-small { grid-column: span 1; grid-row: span 1; }
    .overflow-image { position: relative; right: auto; bottom: auto; width: 100%; margin-top: 20px;}
    .contact-wrapper { padding: 40px !important; }
    .parallax-bg-text { font-size: 35vw; top: 10%; left: -10%; }
}
@media (max-width: 768px) {
    .section-padding { padding: 80px 0; }
    .hero { padding-top: 150px; min-height: 100vh; display: block; }
    .header-inner { flex-direction: row; justify-content: space-between; padding: 12px 5vw; gap: 0; }
    .logo-image { height: 56px; width: 56px; }
    
    /* ハンバーガーメニューの切り替え・バツ印変形 */
    .menu-toggle { display: block; z-index: 9999; }
    .header.menu-open .hamburger-line:nth-child(1) { transform: translateY(4px) rotate(45deg); }
    .header.menu-open .hamburger-line:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }
    
    /* フルスクリーンガラスメニュー */
    .global-nav { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; background-color: rgba(255, 255, 255, 0.96); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); z-index: 900; display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1); pointer-events: none; }
    .header.menu-open .global-nav { opacity: 1; visibility: visible; pointer-events: auto; }
    
    .global-nav ul { flex-direction: column; flex-wrap: nowrap; gap: 35px; justify-content: center; text-align: center; }
    .global-nav a { font-size: 1.4rem; letter-spacing: 0.15em; font-weight: 500; }
    .nav-shop-btn { font-size: 1.2rem; padding: 14px 40px; margin-top: 20px; }
    .section-title { font-size: 2rem; letter-spacing: 0.1em; }
    .philosophy-lead { font-size: 1.2rem; line-height: 2; }
    .evidence-data { flex-direction: column; gap: 30px; }
    .data-value { font-size: 4rem; }
    .minimal-table th, .minimal-table td { display: block; width: 100%; padding: 12px 0; }
    .minimal-table th { padding-bottom: 0; border-bottom: none; font-weight: 600; font-size: 0.85rem; color: #111; }
    .back-to-top { bottom: 20px; right: 5vw; }
    
    /* スマホ画面でBRING OUTが右にはみ出しすぎる問題の修正 */
    .parallax-bg-text { font-size: 18vw; top: 12%; left: 0; width: 100%; text-align: center; }
}