/* ==========================================
   Table of Contents
   ==========================================
   1. Variables
   2. Reset & Base
   3. Accessibility
   4. Utility Classes
   5. Header & Navigation
   6. Hero Section
   7. Buttons
   8. Section Common
   9. Services Section
   10. Products Section
   11. Access Section
   12. Contact Section
   13. Footer
   14. Animations
   15. Responsive
   16. Reduced Motion
   ========================================== */

/* ==========================================
   1. CSS Variables - Color & Design Tokens
   ========================================== */
:root {
    /* Primary - ナチュラルグリーン系 */
    --primary: #4a7c59;           /* メインカラー */
    --primary-light: #6b9a7a;     /* ホバー・アクセント用 */
    
    /* Accent - ローズピンク系 */
    --accent: #d4918f;            /* CTAボタン・強調 */
    --accent-light: #f5e1e0;      /* 背景・装飾 */
    
    /* Background - 背景色 */
    --bg-cream: #fdfcfa;          /* メイン背景 */
    --bg-sage: #eef2eb;           /* セクション背景 */
    --bg-dark: #2a3a30;           /* フッター背景 */
    
    /* Typography - テキスト色 */
    --text-primary: #2a2a2a;
    --text-secondary: #5a5a5a;
    --text-light: #8a8a8a;
    --white: #ffffff;
    
    /* Error - エラー色 */
    --error: #e74c3c;
    --error-light: #fdf2f2;
    
    /* Effects - エフェクト */
    --shadow-soft: 0 4px 30px rgba(0,0,0,0.06);
    --shadow-medium: 0 8px 40px rgba(0,0,0,0.1);
    --shadow-strong: 0 20px 60px rgba(0,0,0,0.15);
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================
   2. Reset & Base Styles
   ========================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: 'Noto Sans JP', sans-serif;
    color: var(--text-primary);
    line-height: 1.9;
    background-color: var(--bg-cream);
    overflow-x: hidden;
}

/* ==========================================
   3. Accessibility - Skip Link & Focus
   ========================================== */
.skip-link {
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: var(--white);
    padding: 12px 24px;
    z-index: 10000;
    text-decoration: none;
    font-weight: 500;
    border-radius: 0 0 4px 4px;
    transition: top 0.3s ease;
}

.skip-link:focus {
    top: 0;
}

/* Focus visible styles for keyboard navigation */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 2px;
}

/* Remove default outline for mouse users */
a:focus:not(:focus-visible),
button:focus:not(:focus-visible),
input:focus:not(:focus-visible),
textarea:focus:not(:focus-visible),
select:focus:not(:focus-visible) {
    outline: none;
}

/* Form validation styles */
.form-input[aria-invalid="true"],
.form-textarea[aria-invalid="true"] {
    border-color: var(--error);
    background-color: var(--error-light);
}

.form-error {
    display: none;
    color: var(--error);
    font-size: 0.8rem;
    margin-top: 0.5rem;
}

.form-error:not(:empty) {
    display: block;
}

/* ==========================================
   4. Utility Classes
   ========================================== */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 clamp(1.5rem, 5vw, 4rem);
}

/* Custom Cursor Effect */
.cursor-glow {
    position: fixed;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(74, 124, 89, 0.03) 0%, transparent 70%);
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: opacity 0.3s;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0 clamp(1.5rem, 5vw, 4rem);
    background: rgba(74, 124, 89, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

header.scrolled {
    background: rgba(74, 124, 89, 0.92);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
}

nav {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.5rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid transparent;
    transition: var(--transition);
}

header.scrolled nav {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.logo-main {
    font-family: 'Shippori Mincho', serif;
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 500;
    color: var(--white);
    letter-spacing: 0.2em;
}

.logo-sub {
    font-size: 0.7rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 0.15em;
    margin-top: 2px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: clamp(1.5rem, 3vw, 3rem);
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    transition: var(--transition);
    position: relative;
    padding: 0.5rem 0;
}

.nav-links a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-links a:hover {
    color: var(--white);
}

.nav-links a:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.nav-contact {
    padding: 0.75rem 1.75rem !important;
    background: #c9a76c;
    color: var(--bg-dark) !important;
    border-radius: 2px;
    font-weight: 500;
}

.nav-contact:hover {
    background: #e8d4b0;
    color: var(--bg-dark) !important;
}

.nav-contact::before {
    display: none;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 6px;
    padding: 10px;
    z-index: 1001;
}

.hamburger span {
    width: 24px;
    height: 1.5px;
    background: var(--white);
    transition: var(--transition);
    transform-origin: center;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

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

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg-image {
    position: absolute;
    inset: 0;
    background: url('https://images.unsplash.com/photo-1487530811176-3780de880c2d?w=1920&q=80') center/cover no-repeat;
    animation: heroZoom 20s ease-in-out infinite alternate;
}

@keyframes heroZoom {
    0% { transform: scale(1); }
    100% { transform: scale(1.1); }
}

.hero-bg-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(42, 58, 48, 0.55) 0%,
        rgba(74, 124, 89, 0.4) 50%,
        rgba(42, 58, 48, 0.35) 100%
    );
}

.hero-particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.hero-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    animation: particleFloat 15s infinite;
}

.hero-particle:nth-child(1) { left: 10%; animation-delay: 0s; animation-duration: 12s; }
.hero-particle:nth-child(2) { left: 20%; animation-delay: 2s; animation-duration: 18s; }
.hero-particle:nth-child(3) { left: 30%; animation-delay: 4s; animation-duration: 14s; }
.hero-particle:nth-child(4) { left: 40%; animation-delay: 1s; animation-duration: 16s; }
.hero-particle:nth-child(5) { left: 50%; animation-delay: 3s; animation-duration: 20s; }
.hero-particle:nth-child(6) { left: 60%; animation-delay: 5s; animation-duration: 13s; }
.hero-particle:nth-child(7) { left: 70%; animation-delay: 2.5s; animation-duration: 17s; }
.hero-particle:nth-child(8) { left: 80%; animation-delay: 1.5s; animation-duration: 15s; }
.hero-particle:nth-child(9) { left: 90%; animation-delay: 4.5s; animation-duration: 19s; }

@keyframes particleFloat {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% {
        transform: translateY(-100vh) rotate(720deg);
        opacity: 0;
    }
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
    padding: 2rem;
    padding-top: 100px;
}

.hero-label {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.85rem;
    letter-spacing: 0.4em;
    color: var(--accent);
    text-transform: uppercase;
    margin-bottom: 2rem;
    font-weight: 500;
    opacity: 0;
    animation: fadeInUp 1s ease forwards;
    animation-delay: 0.3s;
}

.hero-label::before,
.hero-label::after {
    content: '';
    width: 50px;
    height: 1px;
    background: var(--accent);
}

.hero-title {
    font-family: 'Shippori Mincho', serif;
    font-size: clamp(4rem, 12vw, 8rem);
    font-weight: 400;
    color: var(--white);
    letter-spacing: 0.2em;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: fadeInUp 1s ease forwards;
    animation-delay: 0.6s;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: rgba(255, 255, 255, 0.9);
    font-weight: 400;
    letter-spacing: 0.15em;
    margin-bottom: 2rem;
    font-style: italic;
    opacity: 0;
    animation: fadeInUp 1s ease forwards;
    animation-delay: 0.9s;
}

.hero-description {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 2.2;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0;
    animation: fadeInUp 1s ease forwards;
    animation-delay: 1.2s;
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeInUp 1s ease forwards;
    animation-delay: 1.5s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-scroll {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    z-index: 1;
    opacity: 0;
    animation: fadeInUp 1s ease forwards;
    animation-delay: 2s;
}

.hero-scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.6), transparent);
    animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
    0%, 100% { transform: scaleY(1); opacity: 1; }
    50% { transform: scaleY(0.5); opacity: 0.5; }
}

/* ==========================================
   Buttons
   ========================================== */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1.2rem 2.5rem;
    background: #c9a76c;
    color: var(--bg-dark);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: 2px solid #c9a76c;
}

.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: #e8d4b0;
    transform: translateX(-100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary:hover::before {
    transform: translateX(0);
}

.btn-primary span {
    position: relative;
    z-index: 1;
}

.btn-primary svg {
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

.btn-primary:hover svg {
    transform: translateX(4px);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    color: var(--white);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.btn-secondary:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--white);
}

/* Section Common */
section {
    padding: clamp(5rem, 12vh, 8rem) 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: clamp(3rem, 8vh, 5rem);
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.7rem;
    letter-spacing: 0.3em;
    color: var(--accent);
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.section-label::before,
.section-label::after {
    content: '';
    width: 30px;
    height: 1px;
    background: var(--accent-light);
}

.section-title {
    font-family: 'Shippori Mincho', serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 400;
    color: var(--primary);
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1rem;
    color: var(--text-light);
    font-style: italic;
    letter-spacing: 0.15em;
}

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

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.service-card {
    position: relative;
    padding: clamp(2.5rem, 5vw, 4rem);
    background: var(--bg-cream);
    transition: var(--transition);
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--accent-light));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    box-shadow: var(--shadow-medium);
    transform: translateY(-5px);
}

.service-number {
    font-family: 'Cormorant Garamond', serif;
    font-size: 4rem;
    font-weight: 300;
    color: var(--bg-sage);
    line-height: 1;
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.service-card:hover .service-number {
    color: var(--accent-light);
}

.service-icon {
    width: 56px;
    height: 56px;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.service-title {
    font-family: 'Shippori Mincho', serif;
    font-size: 1.4rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 1rem;
    letter-spacing: 0.05em;
}

.service-description {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 2;
}

/* Products Section */
.products {
    background: var(--bg-sage);
    position: relative;
}

.products::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-light), transparent);
    opacity: 0.2;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.product-card {
    background: var(--white);
    overflow: hidden;
    transition: var(--transition);
    position: relative;
}

.product-card:hover {
    box-shadow: var(--shadow-strong);
    transform: translateY(-8px);
}

.product-image {
    position: relative;
    height: 280px;
    overflow: hidden;
}

.product-image-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card:hover .product-image-bg {
    transform: scale(1.1);
}

.product-image-icon {
    display: none;
}

.product-image-icon svg {
    width: 80px;
    height: 80px;
}

.product-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(42, 58, 48, 0.7) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.product-info {
    padding: 1.75rem;
}

.product-category {
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    color: var(--accent);
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.product-title {
    font-family: 'Shippori Mincho', serif;
    font-size: 1.1rem;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    font-weight: 500;
}

.product-description {
    font-size: 0.85rem;
    color: var(--text-light);
    line-height: 1.8;
}

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

.access-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: clamp(2rem, 5vw, 4rem);
    align-items: start;
}

.shop-info {
    padding: clamp(2rem, 4vw, 3.5rem);
    background: var(--bg-cream);
    border-left: 3px solid var(--accent);
}

.shop-name {
    font-family: 'Shippori Mincho', serif;
    font-size: 1.6rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
    font-weight: 500;
    letter-spacing: 0.1em;
}

.shop-name-en {
    font-family: 'Cormorant Garamond', serif;
    font-size: 0.85rem;
    color: var(--text-light);
    font-style: italic;
    letter-spacing: 0.15em;
    margin-bottom: 2.5rem;
}

.info-grid {
    display: grid;
    gap: 1.5rem;
}

.info-row {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 1rem;
    align-items: start;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--bg-sage);
}

.info-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.info-label {
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    color: var(--primary);
    font-weight: 500;
    padding-top: 0.2rem;
}

.info-value {
    font-size: 0.95rem;
    color: var(--text-primary);
    line-height: 1.8;
    font-style: normal; /* addressタグのデフォルトスタイルをリセット */
}

.info-value a {
    color: var(--text-primary);
    text-decoration: none;
    transition: var(--transition);
}

.info-value a:hover {
    color: var(--accent);
}

.map-container {
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-medium);
}

.map-container::before {
    content: '';
    position: absolute;
    inset: 0;
    border: 1px solid rgba(74, 124, 89, 0.1);
    pointer-events: none;
    z-index: 1;
}

.map-container iframe {
    width: 100%;
    height: 450px;
    border: none;
    filter: grayscale(20%);
    transition: filter 0.4s ease;
}

.map-container:hover iframe {
    filter: grayscale(0%);
}

/* Contact Section */
.contact {
    background: linear-gradient(180deg, var(--bg-sage) 0%, var(--bg-cream) 100%);
    position: relative;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: clamp(2rem, 5vw, 4rem);
    align-items: start;
}

.contact-info {
    padding-top: 2rem;
}

.contact-info-title {
    font-family: 'Shippori Mincho', serif;
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    font-weight: 400;
    letter-spacing: 0.1em;
}

.contact-info-text {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 2;
    margin-bottom: 2.5rem;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    background: var(--white);
    transition: var(--transition);
}

.contact-method:hover {
    box-shadow: var(--shadow-soft);
    transform: translateX(5px);
}

.contact-method-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-sage);
    color: var(--primary);
}

.contact-method-icon svg {
    width: 20px;
    height: 20px;
}

.contact-method-content {
    flex: 1;
}

.contact-method-label {
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    color: var(--text-light);
    text-transform: uppercase;
    margin-bottom: 0.25rem;
}

.contact-method-value {
    font-size: 1rem;
    color: var(--text-primary);
    font-weight: 500;
}

.contact-form-container {
    background: var(--white);
    padding: clamp(2rem, 4vw, 3.5rem);
    box-shadow: var(--shadow-medium);
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-primary);
    letter-spacing: 0.05em;
}

.form-required {
    font-size: 0.65rem;
    padding: 0.15rem 0.5rem;
    background: var(--accent);
    color: var(--white);
    letter-spacing: 0.1em;
}

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 1px solid var(--bg-sage);
    background: var(--bg-cream);
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--text-primary);
    transition: var(--transition);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--white);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: var(--text-light);
}

.form-textarea {
    min-height: 160px;
    resize: vertical;
}

.form-select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%235a5a5a' stroke-width='1.5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1.25rem center;
}

.form-submit {
    width: 100%;
    padding: 1.25rem 2rem;
    background: var(--primary);
    color: var(--white);
    border: none;
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.form-submit::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--primary-light);
    transform: translateX(-100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.form-submit:hover::before {
    transform: translateX(0);
}

.form-submit span {
    position: relative;
    z-index: 1;
}

/* Footer */
footer {
    background: var(--bg-dark);
    color: var(--white);
    padding: clamp(4rem, 8vh, 6rem) 0 2rem;
}

.footer-main {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 4rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand {
    max-width: 300px;
}

.footer-logo {
    font-family: 'Shippori Mincho', serif;
    font-size: 1.8rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    margin-bottom: 0.5rem;
}

.footer-logo-sub {
    font-size: 0.7rem;
    color: rgba(255,255,255,0.5);
    letter-spacing: 0.15em;
    margin-bottom: 1.5rem;
}

.footer-description {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.6);
    line-height: 2;
}

.footer-column h4 {
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    font-size: 0.85rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--white);
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: rgba(255,255,255,0.6);
    font-size: 0.85rem;
}

.footer-contact-item svg {
    width: 16px;
    height: 16px;
    color: var(--white);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
}

.footer-copyright {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.4);
    letter-spacing: 0.1em;
}

.footer-legal {
    display: flex;
    gap: 2rem;
}

.footer-legal a {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.4);
    text-decoration: none;
    transition: var(--transition);
}

.footer-legal a:hover {
    color: rgba(255,255,255,0.7);
}

/* Scroll Reveal Animation */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
    will-change: opacity, transform;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
    will-change: auto;
}

/* Performance: Lazy render for off-screen sections */
section:not(.hero) {
    content-visibility: auto;
    contain-intrinsic-size: 0 600px;
}

/* Responsive */
@media (max-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 400px;
        height: 100vh;
        background: var(--primary);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -10px 0 40px rgba(0,0,0,0.3);
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        font-size: 1.1rem;
        color: rgba(255, 255, 255, 0.9);
    }

    .hamburger {
        display: flex;
    }

    .hero {
        min-height: 100vh;
    }

    .hero-content {
        padding: 1.5rem;
        padding-top: 120px;
    }

    .hero-title {
        font-size: clamp(3rem, 15vw, 5rem);
    }

    .hero-label::before,
    .hero-label::after {
        width: 30px;
    }

    .hero-cta {
        flex-direction: column;
        gap: 1rem;
    }

    .hero-scroll {
        bottom: 1.5rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .access-content {
        grid-template-columns: 1fr;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-main {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-brand {
        max-width: 100%;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
    }

    .footer-legal {
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* ==========================================
   16. Reduced Motion - アクセシビリティ対応
   ========================================== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .hero-bg-image {
        animation: none;
    }
    
    .hero-particle {
        display: none;
    }
    
    .hero-scroll-line {
        animation: none;
    }
    
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
    
    .cursor-glow {
        display: none;
    }
}
