:root {
    /* Colors - Chic & Stylish Japanese Modern */
    --color-primary: #1a1a1a;
    /* 墨色 (Sumiiro) - Base background/text */
    --color-accent: #d4af37;
    /* 梨の金 (Nashi no Kin) - Accent/Gold */
    --color-accent-hover: #b8962e;
    --color-bg-light: #f9f9f9;
    /* 静謐な白 (Seihitsu no Shiro) - Section background */
    --color-text-main: #333333;
    --color-text-muted: #666666;
    --color-border: #e0e0e0;

    /* Typography */
    --font-main: "Noto Serif JP", serif;
    --font-accent: "Outfit", sans-serif;

    /* Spacing */
    --space-unit: 1rem;
    --header-height: 80px;

    /* Gradation */
    --grad-gold: linear-gradient(135deg, #d4af37 0%, #f7e08a 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    overflow-x: hidden;
}

body {
    font-family: var(--font-main);
    background-color: var(--color-bg-light);
    color: var(--color-text-main);
    line-height: 1.8;
}

h1,
h2,
h3,
h4 {
    color: var(--color-primary);
    font-weight: 700;
    letter-spacing: 0.1em;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul {
    list-style: none;
}

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

/* Base Layout Utility */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 100px 0;
}

/* Stylish Heading decoration */
.heading-deco {
    text-align: center;
    margin-bottom: 60px;
}

.heading-deco .en-sub {
    display: block;
    margin-bottom: 5px;
    font-size: 0.95rem;
    letter-spacing: 0.15em;
    color: var(--color-accent);
}

.heading-deco h2 {
    font-size: 2.5rem;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.heading-deco h2::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background-color: var(--color-accent);
}

/* Header */
header {
    height: var(--header-height);
    padding: 0 40px;
    position: sticky;
    top: 0;
    background-color: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    z-index: 5000;
    display: flex;
    align-items: center;
    color: #fff;
}

.header-inner {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    color: var(--color-accent);
    font-size: 1.5rem;
}

.nav ul {
    display: flex;
    gap: 30px;
}

.nav a {
    font-size: 0.9rem;
    letter-spacing: 0.05em;
}

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

/* Hero Section */
#hero {
    height: calc(100vh - var(--header-height));
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('../assets/hero_harvest.jpg') center/cover no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
    position: relative;
}

.hero-sub {
    font-size: 1rem;
    letter-spacing: 0.5em;
    color: var(--color-accent);
    margin-bottom: 20px;
    opacity: 0;
    animation: fadeInUp 1s forwards 0.5s;
}

.hero-title {
    font-size: clamp(2.5rem, 8vw, 5rem);
    line-height: 1.2;
    margin-bottom: 20px;
    color: #fff;
    opacity: 0;
    animation: fadeInUp 1s forwards 0.8s;
}

.hero-desc {
    font-size: 1.1rem;
    letter-spacing: 0.2em;
    opacity: 0;
    animation: fadeInUp 1s forwards 1.1s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
}

.about-text h3 {
    font-size: clamp(1.4rem, 2.5vw, 1.8rem);
    margin-bottom: 30px;
    line-height: 1.5;
}

.about-text p {
    margin-bottom: 20px;
}

.about-image img {
    box-shadow: 20px 20px 0 var(--color-accent);
    border-radius: 2px;
}

/* Niitaka Section */
.dark-bg {
    background-color: var(--color-primary);
    color: #fff;
}

.white {
    color: #fff;
}

.niitaka-flex {
    display: flex;
    gap: 80px;
    align-items: center;
}

.niitaka-image {
    flex: 1;
}

.niitaka-text {
    flex: 1;
}

.niitaka-image img {
    border: 1px solid var(--color-accent);
    padding: 15px;
}

/* Products Section */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.product-card {
    background: #fff;
    padding: 20px;
    border: 1px solid var(--color-border);
    transition: transform 0.3s;
}

.product-card:hover {
    transform: translateY(-10px);
    border-color: var(--color-accent);
}

.product-img {
    position: relative;
    margin-bottom: 20px;
    overflow: hidden;
}

.season {
    position: absolute;
    top: 0;
    left: 0;
    background-color: var(--color-accent);
    color: #fff;
    padding: 5px 15px;
    font-size: 0.8rem;
    z-index: 1;
}

.product-info h3 {
    margin-bottom: 15px;
}

.product-info p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin-bottom: 20px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 35px;
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    border-radius: 2px;
    cursor: pointer;
}

.btn-gold {
    background: var(--grad-gold);
    color: #1a1a1a;
    font-weight: 700;
}

.btn-gold:hover {
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.4);
}

.btn-outline {
    border: 1px solid var(--color-accent);
    color: var(--color-accent);
}

.btn-outline:hover {
    background-color: var(--color-accent);
    color: #fff;
}

/* Utility */
.center-btn {
    text-align: center;
    margin-top: 40px;
}

/* Craftsmanship teaser */
.craft-flex {
    display: flex;
    gap: 60px;
    align-items: center;
}

.craft-text {
    flex: 1;
}

.craft-image {
    flex: 1;
}

.craft-image img {
    border-radius: 2px;
    box-shadow: -20px 20px 0 var(--color-accent);
}

.left {
    text-align: left;
}

.left h2::after {
    left: 0;
    transform: none;
}

.teaser-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 40px;
    font-size: 1.1rem;
}

.access-teaser {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

/* Page Scale animation */
body {
    animation: pageFadeIn 0.8s ease-out;
}

@keyframes pageFadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Animation: Fade in on scroll */
.fade-in-section {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    will-change: opacity, transform;
}

.fade-in-section.fade-in-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Owner Section */
.owner-card {
    background: #fff;
    padding: 40px;
    margin-bottom: 60px;
    border: 1px solid var(--color-border);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.owner-flex {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    margin-bottom: 30px;
}

.owner-flex.reverse {
    flex-direction: row-reverse;
}

.owner-photo {
    flex: 0 0 250px;
}

.owner-photo img {
    width: 100%;
    border-radius: 2px;
    filter: sepia(0.2) contrast(1.1);
}

.owner-profile {
    flex: 1;
}

.owner-name {
    font-size: 1.8rem;
    margin-bottom: 15px;
    border-bottom: 1px solid var(--color-accent);
    display: inline-block;
    padding-bottom: 5px;
}

.owner-name .small {
    font-size: 1rem;
    font-weight: 400;
    margin-left: 10px;
}

.owner-career {
    font-size: 0.95rem;
    color: var(--color-text-muted);
}

.owner-message {
    padding: 20px;
    background-color: var(--color-bg-light);
    border-left: 3px solid var(--color-accent);
    font-style: italic;
    font-size: 1.1rem;
}

/* Timeline Section */
.timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    padding: 40px 0;
}

.timeline::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 1px;
    background-color: var(--color-accent);
    opacity: 0.3;
}

.timeline-item {
    width: 100%;
    margin-bottom: 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.year {
    width: 45%;
    text-align: right;
    font-family: var(--font-accent);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-accent);
}

.timeline-item:nth-child(even) .year {
    text-align: left;
}

.timeline-item .content {
    width: 45%;
    background: rgba(255, 255, 255, 0.05);
    padding: 25px;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.timeline-item .content h4 {
    margin-bottom: 10px;
    font-size: 1.1rem;
}

/* Info Section */
.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.info-table h3.farm-name-large {
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: var(--color-accent);
}

.info-table dl {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 20px 10px;
    margin-bottom: 30px;
}

.info-table dt {
    font-weight: 700;
    color: var(--color-text);
    font-size: 0.9rem;
    padding-top: 2px;
}

.info-table dd {
    font-size: 1rem;
    line-height: 1.6;
}

.info-map .map-frame {
    border: 1px solid var(--color-border);
    background: #f9f9f9;
    line-height: 0;
}

.dummy-map-detailed {
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--color-border);
    color: var(--color-text-muted);
    position: relative;
}

.dummy-map-detailed::after {
    content: "MAP";
    position: absolute;
    font-family: var(--font-accent);
    font-size: 4rem;
    opacity: 0.05;
}

/* Craftsmanship Detail Page */
.craft-detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.craft-card {
    background: #fff;
    border: 1px solid var(--color-border);
    transition: transform 0.3s ease;
}

.craft-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-accent);
}

.craft-card-img {
    height: 250px;
    overflow: hidden;
    position: relative;
}

.craft-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.craft-card-body {
    padding: 30px;
    position: relative;
}

.craft-card-img .num {
    position: absolute;
    top: 0;
    left: 0;
    background: var(--color-accent);
    color: #fff;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-accent);
    font-weight: 700;
    font-size: 1.2rem;
    z-index: 5;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
}

.craft-card-body h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.craft-card-body p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

/* Placeholder Image Style */
.placeholder-img {
    background: #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    border: 1px dashed var(--color-border);
    min-height: 200px;
}

.placeholder-img.dark {
    background: #2a2a2a;
    color: #555;
    border-color: #444;
}

.placeholder-img.small {
    height: 150px;
    min-height: auto;
}

.craft-card-img.placeholder-img {
    height: 250px;
    border: 1px dashed var(--color-border);
}

/* Soil Section Specific */
.num-gold {
    color: var(--color-accent);
    font-family: var(--font-accent);
    margin-right: 10px;
}

/* Delivery Section Specific */
.delivery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.delivery-content h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.num-outline {
    color: transparent;
    -webkit-text-stroke: 1px var(--color-accent);
    font-family: var(--font-accent);
    font-size: 1.5rem;
    margin-right: 10px;
}

/* Variety Page Specific */
.bg-light {
    background-color: #f9f9f9;
}

.bg-light-gray {
    background-color: #f0f0f0;
}

/* Mapping Chart */
.map-container {
    max-width: 800px;
    margin: 40px auto;
    background: #fff;
    padding: 60px;
    border: 1px solid var(--color-border);
    position: relative;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

.map-grid {
    position: relative;
    height: 400px;
    border-left: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
}

.map-grid::before {
    content: "";
    position: absolute;
    left: -10px;
    top: 50%;
    width: calc(100% + 10px);
    height: 1px;
    background: #eee;
}

.map-grid::after {
    content: "";
    position: absolute;
    left: 50%;
    top: -10px;
    width: 1px;
    height: calc(100% + 10px);
    background: #eee;
}

.axis-label {
    position: absolute;
    font-size: 0.8rem;
    color: var(--color-text-muted);
    font-weight: 700;
}

.axis-label.top {
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
}

.axis-label.bottom {
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
}

.axis-label.left {
    left: -45px;
    top: 50%;
    transform: translateY(-50%);
}

.axis-label.right {
    right: -45px;
    top: 50%;
    transform: translateY(-50%);
}

.map-point {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 10;
    transition: transform 0.3s;
}

.map-point:hover {
    transform: scale(1.1);
}

.point-circle {
    width: 15px;
    height: 15px;
    background: var(--color-accent);
    border-radius: 50%;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.5);
    margin-bottom: 8px;
}

.point-name {
    font-size: 0.85rem;
    font-weight: 700;
    white-space: nowrap;
}

/* Placement based on axis (x=sweatness, y=hardness) */
.point-kousui {
    left: 63%;
    bottom: 50%;
}

.point-housui {
    left: 90%;
    bottom: 37%;
}

.point-ryouhou {
    left: 50%;
    bottom: 37%;
}

.point-akizuki {
    left: 90%;
    bottom: 10%;
}

.point-niitaka {
    left: 77%;
    bottom: 37%;
}

.point-hougetsu {
    left: 10%;
    bottom: 90%;
}

.point-oushyu {
    left: 37%;
    bottom: 63%;
}

/* Variety Items */
.variety-list {
    margin-top: 60px;
}

.variety-item {
    background: #fff;
    padding: 35px 40px;
    border-radius: 12px;
    margin-bottom: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.variety-content {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.variety-header {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f0f0f0;
    text-align: center;
}

.variety-header .en {
    display: block;
    font-size: 0.8rem;
    color: var(--color-accent);
    letter-spacing: 0.2em;
    margin-bottom: 4px;
}

.variety-header h3 {
    font-size: 1.8rem;
    color: var(--color-text);
}

.variety-specs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    background: #fafafa;
    padding: 15px 20px;
    border-radius: 12px;
    border: 1px solid #f0f0f0;
    margin-bottom: 15px;
}

.spec-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    text-align: center;
}

.spec-row:not(:last-child) {
    border-right: 1px solid #eee;
}

.spec-row .label {
    font-size: 0.85rem;
    color: #999;
    font-weight: 700;
}

.spec-row:first-child .val {
    color: var(--color-accent);
}

.spec-row .val {
    font-weight: 700;
    color: var(--color-text);
    font-size: 0.95rem;
}

.spec-row .stars {
    color: var(--color-accent);
    letter-spacing: 1px;
    font-size: 1.15rem;
}

.variety-desc {
    line-height: 1.7;
    color: var(--color-text);
    padding: 0 10px;
    font-size: 0.95rem;
}

.sp-br {
    display: none;
}

@media (max-width: 768px) {
    .axis-label.left {
        left: -35px;
        top: 50%;
    }

    .axis-label.right {
        right: -35px;
        top: 50%;
    }

    .map-container {
        padding: 40px 45px;
    }

    .variety-specs {
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }

    .spec-row:nth-child(2) {
        border-right: none;
    }

    .variety-item {
        padding: 25px;
    }

    .sp-br {
        display: block;
    }
}

.star-half {
    position: relative;
    display: inline-block;
    color: transparent;
    vertical-align: top;
}

.star-half::before {
    content: "☆";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    color: var(--color-accent);
}

.star-half::after {
    content: "★";
    position: absolute;
    left: 0;
    top: 0;
    width: 52%;
    overflow: hidden;
    color: var(--color-accent);
}


/* Access Page Specific */
.access-top-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.access-shop-img {
    height: 400px;
}

.access-info-panel {
    padding: 20px 0;
}

.info-block h3 {
    font-size: 1.4rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.info-block .time {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--color-accent);
    font-family: var(--font-accent);
}

.info-block .note {
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

.instagram-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-top: 15px;
    padding: 12px 24px;
    background: #fff;
    border: 1px solid var(--color-border);
    transition: all 0.3s ease;
    font-weight: 700;
}

.instagram-link:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
    transform: translateX(5px);
}

.insta-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%);
    color: #fff;
    border-radius: 8px;
}

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

.access-map-section .map-header {
    margin-bottom: 30px;
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 15px;
}

.access-map-section h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.map-frame {
    width: 100%;
    height: 450px;
}

/* Media Queries */
@media (max-width: 768px) {

    .about-grid,
    .niitaka-flex,
    .craft-flex {
        grid-template-columns: 1fr;
        flex-direction: column;
        gap: 40px;
    }

    .owner-flex,
    .owner-flex.reverse {
        flex-direction: column;
        gap: 20px;
    }

    .owner-photo {
        width: 100%;
    }

    .timeline::before {
        left: 20px;
    }

    .timeline-item,
    .timeline-item:nth-child(even) {
        flex-direction: column;
        align-items: flex-start;
    }

    .year,
    .timeline-item .content {
        width: 100%;
        padding-left: 50px;
        text-align: left;
    }

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

    /* Craftsmanship Responsive */
    .craft-detail-grid {
        grid-template-columns: 1fr;
    }

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

    .delivery-item {
        flex-direction: column;
    }
}

/* Journal Section */
.journal-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.journal-card {
    background: #fff;
    border: 1px solid var(--color-border);
    transition: all 0.3s ease;
}

.journal-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.journal-card-body {
    padding: 25px;
}

.journal-card-body .date {
    font-family: var(--font-accent);
    font-size: 0.8rem;
    color: var(--color-accent);
    display: block;
    margin-bottom: 10px;
}

.journal-card-body h3 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    line-height: 1.4;
}

.journal-card-body p {
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

@media (max-width: 900px) {
    .journal-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .journal-grid {
        grid-template-columns: 1fr;
    }
}

/* Animations added */
.fade-in-section {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-section.fade-in-visible {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* スマホ対応（レスポンシブレイアウト追加） */
@media screen and (max-width: 768px) {
    .sp-hidden {
        display: none !important;
    }

    header {
        height: auto;
        padding: 15px;
    }

    .header-inner {
        flex-direction: column;
        justify-content: center;
        gap: 15px;
    }

    .nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
        padding: 0;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-sub {
        font-size: 0.8rem;
    }

    .heading-deco h2 {
        font-size: 1.8rem;
    }

    .section-padding {
        padding: 60px 0;
    }

    .about-grid,
    .info-grid,
    .delivery-grid,
    .craft-detail-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-image {
        order: -1;
    }

    .craft-flex,
    .niitaka-flex,
    .owner-flex,
    .owner-flex.reverse {
        flex-direction: column;
        gap: 40px;
    }

    .timeline-item {
        flex-direction: column !important;
        align-items: flex-start;
    }

    .timeline-item .year {
        width: 100%;
        text-align: left;
        margin-bottom: 10px;
        font-size: 1.2rem;
    }

    .timeline-item .content {
        width: 100%;
    }

    .map-grid {
        height: 300px;
    }

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

/* Hamburger Menu Base */
.hamburger {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    position: relative;
    z-index: 2100;
    width: 30px;
    height: 24px;
}

.hamburger span {
    display: block;
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: var(--color-accent);
    transition: 0.3s;
    left: 0;
}

.hamburger span:nth-child(1) {
    top: 0;
}

.hamburger span:nth-child(2) {
    top: 11px;
}

.hamburger span:nth-child(3) {
    bottom: 0;
}

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

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

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

@media screen and (max-width: 768px) {
    .sp-hidden {
        display: none !important;
    }

    .hamburger {
        display: block;
    }

    .nav {
        position: fixed;
        top: 0;
        right: 0;
        width: 80%;
        height: 100vh;
        background-color: rgba(26, 26, 26, 0.98);
        padding: 100px 40px 40px;
        transition: 0.5s;
        z-index: 2000;
        display: flex;
        flex-direction: column;
        transform: translateX(100%);
        visibility: hidden;
    }

    .nav.active {
        transform: translateX(0);
        visibility: visible;
    }

    .nav ul {
        flex-direction: column;
        flex-wrap: nowrap !important;
        align-items: center;
        gap: 30px !important;
    }

    .nav ul li {
        width: 100%;
        text-align: center;
    }

    .header-cta {
        display: none;
    }

    .header-inner {
        flex-direction: row !important;
        justify-content: space-between !important;
    }

    /* === 公開後に見つかった 2カラム崩れの修正 === */
    .info-grid,
    .access-top-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .info-table dl {
        grid-template-columns: 80px 1fr;
        gap: 15px 5px;
    }

    .access-top-image {
        order: -1;
        /* 地図や情報の前に画像を表示 */
    }
}

/* === スマホ用レイアウト微調整 === */
@media screen and (max-width: 768px) {
    .sp-hidden {
        display: none !important;
    }

    /* 1. ヒーロー画像位置修正 */
    #hero {
        background-position: 85% center !important;
        background-size: auto 120% !important;
    }

    /* 2. セクション順序の入れ替えと 3. ボタンの中央配置 */
    .about-grid,
    .craft-flex,
    .niitaka-flex {
        display: flex !important;
        flex-direction: column !important;
        gap: 0 !important;
    }

    .about-text,
    .craft-text,
    .niitaka-text {
        display: contents;
    }

    .about-text .heading-deco,
    .craft-text .heading-deco,
    .niitaka-text .heading-deco {
        order: 1;
        margin-bottom: 20px !important;
        width: 100%;
    }

    .about-image,
    .craft-image,
    .niitaka-image {
        order: 2;
        width: 100%;
        margin-bottom: 25px !important;
    }

    .about-text h3,
    .craft-text h2,
    .niitaka-text h2,
    .about-text p,
    .craft-text p,
    .niitaka-text p {
        order: 3;
        width: 100%;
        margin-bottom: 20px !important;
    }

    .about-text .btn,
    .craft-text .btn,
    .niitaka-text .btn {
        order: 4;
        margin: 10px auto 30px !important;
        display: table !important;
    }
}

/* === 画像トリミング等追加調整 === */
.kaika3-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: left center;
    /* 人物が右側にいると仮定して左寄せ */
    transform: scale(1.3);
    /* 人物を見切らせるためにズーム */
}

.craft-card-img {
    overflow: hidden;
}

.delivery-img {
    flex: 0 0 150px;
}

.delivery-img img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 2px;
}

@media screen and (max-width: 768px) {
    .delivery-img {
        flex: 0 0 100px;
    }

    .delivery-img img {
        height: 100px;
    }
}

/* Coming Soon Overlay */
.coming-soon-wrapper {
    position: relative;
    pointer-events: none;
    opacity: 0.5;
    user-select: none;
    filter: grayscale(1);
}

.badge-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    pointer-events: none;
}

.badge-overlay.inline {
    position: absolute;
    background: rgba(255, 255, 255, 0.3);
}

.coming-soon-badge {
    background: #fff;
    border: 1px solid #ddd;
    padding: 40px 80px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    text-align: center;
    border-radius: 2px;
    transform: rotate(-5deg);
}

.coming-soon-badge.small {
    padding: 20px 40px;
}

.coming-soon-badge .en {
    display: block;
    font-family: var(--font-accent);
    font-size: 2rem;
    letter-spacing: 0.3em;
    color: #ccc;
    margin-bottom: 10px;
    line-height: 1;
}

.coming-soon-badge .jp {
    font-size: 1.2rem;
    color: #999;
    font-weight: 700;
    letter-spacing: 0.1em;
}