:root {
    --cream: #faf6f0;
    --cream-dark: #f0e8dc;
    --brown: #3a2415;
    --brown-mid: #7d5a3c;
    --brown-light: #b89a7a;
    --green: #6b7c58;
    --green-light: #a8b88e;
    --beige: #d4c4a8;
    --white: #fff8f2;
    --font: 'Noto Serif JP', 'Yu Mincho', 'YuMincho', '游明朝', '游明朝体', serif;
    --transition: 0.3s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    background: var(--cream);
    color: var(--brown);
    line-height: 1.9;
    overflow-x: hidden;
}

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

/* ===== HEADER ===== */
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    background: rgba(250, 246, 240, 0.96);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--beige);
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.site-logo {
    font-size: 1.3rem;
    font-weight: 400;
    color: var(--brown);
    text-decoration: none;
    letter-spacing: 0.2em;
}

.site-nav { display: flex; gap: 28px; }

.site-nav a {
    color: var(--brown);
    text-decoration: none;
    font-size: 0.82rem;
    letter-spacing: 0.06em;
    transition: color var(--transition);
    padding-bottom: 2px;
    border-bottom: 1px solid transparent;
}

.site-nav a:hover {
    color: var(--green);
    border-bottom-color: var(--green);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 1.5px;
    background: var(--brown);
    transition: var(--transition);
}

.nav-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile Nav */
.mobile-nav {
    position: fixed;
    top: 64px; left: 0; right: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--beige);
    flex-direction: column;
    z-index: 99;
    display: none;
}

.mobile-nav.open { display: flex; }

.mobile-nav__link {
    padding: 14px 24px;
    color: var(--brown);
    text-decoration: none;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    border-bottom: 1px solid var(--beige);
    transition: background var(--transition);
}

.mobile-nav__link:hover { background: var(--cream-dark); }

/* ===== HERO ===== */
.hero {
    position: relative;
    height: 100dvh;
    min-height: 560px;
    overflow: hidden;
}

.hero__bg {
    position: absolute;
    inset: 0;
}

.hero__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero__bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        160deg,
        rgba(30, 15, 5, 0.45) 0%,
        rgba(30, 15, 5, 0.2) 50%,
        rgba(30, 15, 5, 0.55) 100%
    );
}

.hero__content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    text-align: center;
    color: #fff;
    padding: 80px 24px 0;
    gap: 12px;
}

.hero__sub {
    font-size: clamp(0.75rem, 2vw, 0.9rem);
    letter-spacing: 0.25em;
    opacity: 0.85;
}

.hero__title {
    font-size: clamp(3.5rem, 10vw, 6.5rem);
    font-weight: 300;
    letter-spacing: 0.35em;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
    line-height: 1;
}

.hero__catch {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    font-weight: 300;
    line-height: 2.2;
    letter-spacing: 0.12em;
    margin-top: 8px;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.3);
}

.hero__scroll {
    position: absolute;
    bottom: 36px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    z-index: 1;
}

.hero__scroll-text {
    font-size: 0.65rem;
    letter-spacing: 0.3em;
}

.hero__scroll-line {
    display: block;
    width: 1px;
    height: 44px;
    background: rgba(255,255,255,0.7);
    animation: scrollLine 1.8s ease infinite;
}

@keyframes scrollLine {
    0%   { transform: scaleY(0); transform-origin: top; }
    49%  { transform: scaleY(1); transform-origin: top; }
    50%  { transform: scaleY(1); transform-origin: bottom; }
    100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ===== COMMON ===== */
.section { padding: 96px 0; }
.section--bg { background: var(--cream-dark); }

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-header {
    text-align: center;
    margin-bottom: 56px;
}

.section-label {
    display: block;
    font-size: 0.65rem;
    letter-spacing: 0.4em;
    color: var(--green);
    margin-bottom: 10px;
}

.section-title {
    font-size: clamp(1.5rem, 3.5vw, 2rem);
    font-weight: 400;
    letter-spacing: 0.2em;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    display: block;
    width: 32px;
    height: 1px;
    background: var(--green);
    margin: 14px auto 0;
}

/* ===== REVEAL ANIMATION ===== */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== ABOUT ===== */
.about-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.about-text p {
    margin-bottom: 18px;
    font-size: 0.92rem;
    line-height: 2;
}

.about-lead {
    font-size: 1.1rem !important;
    font-weight: 500;
    line-height: 1.8 !important;
    margin-bottom: 24px !important;
}

.about-img img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

/* ===== PAGE BACKGROUND (PANORAMA) ===== */
.page-bg {
    position: fixed;
    inset: 0;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.page-bg img {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: auto;
    max-width: none;
    will-change: transform;
}

/* 各セクションは半透明にしてパノラマが透けて見えるようにする */
.section {
    background: rgba(250, 246, 240, 0.88);
}

.section--bg {
    background: rgba(240, 232, 220, 0.88);
}

/* ===== KIMONO ===== */
.section--kimono {
    position: relative;
    padding: 96px 0;
    overflow: hidden;
}

/* 生地タイル背景 */
.fabric-tiles {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 2px;
}

.fabric-tile {
    overflow: hidden;
}

.fabric-tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 8s ease;
}

.section--kimono:hover .fabric-tile img { transform: scale(1.04); }

.fabric-overlay {
    position: absolute;
    inset: 0;
    background: rgba(30, 15, 5, 0.78);
}

.kimono-content {
    position: relative;
    z-index: 1;
    color: var(--cream);
}

.kimono-content .section-label { color: var(--green-light); }

.kimono-lead {
    text-align: center;
    max-width: 560px;
    margin: 0 auto 56px;
    font-size: 0.9rem;
    line-height: 2;
    opacity: 0.88;
}

.kimono-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2px;
    margin-bottom: 56px;
    border: 1px solid rgba(255,255,255,0.15);
}

.kimono-feature {
    padding: 40px 28px;
    border: 1px solid rgba(255,255,255,0.15);
}

.kimono-feature__num {
    font-size: 2rem;
    font-weight: 300;
    color: var(--green-light);
    letter-spacing: 0.1em;
    margin-bottom: 16px;
    line-height: 1;
}

.kimono-feature h3 {
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
}

.kimono-feature p {
    font-size: 0.82rem;
    opacity: 0.78;
    line-height: 1.85;
}

.kimono-disposal {
    max-width: 600px;
    margin: 0 auto 40px;
    padding: 28px 32px;
    border: 1px solid rgba(168, 184, 142, 0.5);
    text-align: center;
}

.kimono-disposal__lead {
    font-size: 0.78rem;
    letter-spacing: 0.2em;
    color: var(--green-light);
    margin-bottom: 12px;
}

.kimono-disposal p:last-child {
    font-size: 0.88rem;
    line-height: 2;
    opacity: 0.85;
}

.kimono-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    padding: 13px 36px;
    font-family: var(--font);
    font-size: 0.85rem;
    letter-spacing: 0.12em;
    text-decoration: none;
    cursor: pointer;
    border: 1px solid transparent;
    transition: all var(--transition);
    outline: none;
    background: none;
}

.btn--primary {
    background: var(--green);
    color: #fff;
    border-color: var(--green);
}

.btn--primary:hover {
    background: var(--brown);
    border-color: var(--brown);
}

.btn--light {
    background: var(--cream);
    color: var(--brown);
    border-color: var(--cream);
}

.btn--light:hover {
    background: transparent;
    color: var(--cream);
}

.btn--outline-light {
    background: transparent;
    color: var(--cream);
    border-color: rgba(255,255,255,0.6);
}

.btn--outline-light:hover {
    background: var(--cream);
    color: var(--brown);
}

.btn--large {
    padding: 16px 56px;
    font-size: 0.92rem;
}

/* ===== STORY ===== */
.story-blocks {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
}

.story-block h3 {
    font-size: 1.05rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--beige);
}

.story-block p {
    font-size: 0.9rem;
    line-height: 2.1;
    margin-bottom: 14px;
}

/* ===== MAKER ===== */
.maker-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    margin-bottom: 56px;
}

.maker-lead {
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.9;
    margin-bottom: 20px;
}

.maker-bio p {
    font-size: 0.9rem;
    line-height: 2.1;
    margin-bottom: 14px;
}

.maker-craft-item {
    margin-bottom: 32px;
}

.maker-craft-item:last-child { margin-bottom: 0; }

.maker-craft-item h3 {
    font-size: 0.92rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    margin-bottom: 10px;
    color: var(--green);
}

.maker-craft-icon {
    margin-right: 8px;
    color: var(--green);
}

.maker-craft-item p {
    font-size: 0.87rem;
    line-height: 2;
    color: var(--brown-mid);
}

/* キャリアタイムライン */
.maker-career {
    display: flex;
    gap: 0;
    border-top: 1px solid var(--beige);
    padding-top: 40px;
    flex-wrap: wrap;
}

.maker-career-item {
    flex: 1;
    min-width: 120px;
    padding: 0 20px 0 0;
    position: relative;
}

.maker-career-item::before {
    content: '';
    display: block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--beige);
    margin-bottom: 12px;
}

.maker-career-item--now::before {
    background: var(--green);
}

.maker-career-age {
    display: block;
    font-size: 1.1rem;
    font-weight: 300;
    letter-spacing: 0.05em;
    color: var(--brown);
    margin-bottom: 6px;
}

.maker-career-item--now .maker-career-age {
    color: var(--green);
    font-weight: 500;
}

.maker-career-text {
    display: block;
    font-size: 0.78rem;
    line-height: 1.7;
    color: var(--brown-mid);
}

@media (max-width: 768px) {
    .story-blocks  { grid-template-columns: 1fr; gap: 40px; }
    .maker-layout  { grid-template-columns: 1fr; gap: 40px; }
    .maker-career  { gap: 24px; }
    .maker-career-item { flex: none; width: calc(50% - 12px); }
}

/* ===== CAFE ===== */
.cafe-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.cafe-img img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.cafe-lead {
    font-size: 1.05rem;
    font-weight: 500;
    line-height: 1.9;
    margin-bottom: 28px;
}

.cafe-menu {
    background: var(--cream-dark);
    padding: 20px 24px;
    margin-bottom: 24px;
    border-left: 3px solid var(--green);
}

.cafe-menu h3 {
    font-size: 0.92rem;
    font-weight: 500;
    margin-bottom: 8px;
    letter-spacing: 0.05em;
}

.cafe-menu p {
    font-size: 0.83rem;
    line-height: 1.8;
    color: var(--brown-mid);
}

.cafe-info-list {
    list-style: none;
    margin-bottom: 32px;
}

.cafe-info-list li {
    display: flex;
    gap: 16px;
    padding: 10px 0;
    border-bottom: 1px solid var(--beige);
    font-size: 0.85rem;
    align-items: baseline;
}

.cafe-info-label {
    font-weight: 500;
    color: var(--green);
    flex-shrink: 0;
    width: 52px;
    font-size: 0.8rem;
}

/* ===== GALLERY ===== */
.gallery-slider {
    position: relative;
    overflow: hidden;
}

.gallery-slides {
    display: flex;
    transition: transform 0.45s ease;
}

.gallery-slide {
    flex: 0 0 100%;
    position: relative;
    background: var(--brown);
}

.gallery-slide img,
.gallery-slide video {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: contain;
    display: block;
}

.gallery-caption {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(30, 15, 5, 0.78);
    color: #fff;
    font-size: 1.05rem;
    letter-spacing: 0.08em;
    line-height: 1.6;
    padding: 10px 28px;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.9s ease;
    pointer-events: none;
}

.gallery-slide.active .gallery-caption {
    opacity: 1;
    transition-delay: 0.4s;
}

@media (max-width: 768px) {
    .gallery-caption { font-size: 0.92rem; padding: 8px 18px; white-space: normal; text-align: center; width: 90%; }
}

.gallery-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(58, 36, 21, 0.45);
    color: #fff;
    border: none;
    font-size: 2rem;
    line-height: 1;
    padding: 12px 18px;
    cursor: pointer;
    transition: background var(--transition);
    z-index: 1;
}

.gallery-btn:hover { background: rgba(58, 36, 21, 0.75); }
.gallery-btn--prev { left: 0; }
.gallery-btn--next { right: 0; }

.gallery-counter {
    position: absolute;
    bottom: 12px;
    right: 16px;
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    color: rgba(255,255,255,0.85);
    text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}

.gallery-fitting-cta {
    text-align: center;
    margin-top: 40px;
    padding: 32px 0 8px;
    border-top: 1px solid var(--beige);
}

@media (max-width: 768px) {
    .gallery-btn { font-size: 1.5rem; padding: 10px 14px; }
}

/* ===== INFO ===== */
.info-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

.info-table {
    width: 100%;
    border-collapse: collapse;
}

.info-table th,
.info-table td {
    padding: 14px 4px;
    border-bottom: 1px solid var(--beige);
    font-size: 0.88rem;
    text-align: left;
    vertical-align: top;
    line-height: 1.7;
}

.info-table th {
    width: 72px;
    font-weight: 500;
    color: var(--green);
    white-space: nowrap;
}

.info-table a {
    color: var(--green);
    text-decoration: none;
}

.info-table a:hover { text-decoration: underline; }

.info-map iframe {
    width: 100%;
    height: 320px;
    border: 0;
    display: block;
}

/* ===== CONTACT ===== */
.contact-lead {
    text-align: center;
    margin: 0 auto 40px;
    font-size: 0.9rem;
    max-width: 480px;
    line-height: 2;
}

.contact-form {
    max-width: 580px;
    margin: 0 auto;
}

.form-group { margin-bottom: 24px; }

.form-group label {
    display: block;
    font-size: 0.82rem;
    font-weight: 500;
    margin-bottom: 8px;
    letter-spacing: 0.05em;
}

.required {
    background: var(--green);
    color: #fff;
    font-size: 0.6rem;
    padding: 2px 6px;
    margin-left: 6px;
    vertical-align: middle;
    font-weight: 400;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--beige);
    background: var(--white);
    font-family: var(--font);
    font-size: 0.9rem;
    color: var(--brown);
    transition: border-color var(--transition);
    outline: none;
    border-radius: 0;
    appearance: none;
}

.form-group select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%237d5a3c' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
    cursor: pointer;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--green);
}

.form-group textarea { resize: vertical; }

.form-submit { text-align: center; margin-top: 36px; }

.form-status {
    text-align: center;
    margin-top: 20px;
    font-size: 0.88rem;
    line-height: 1.7;
}

.form-status.success { color: var(--green); }
.form-status.error { color: #a33; }

/* ===== PRICE ===== */
.price-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

.price-img img {
    width: 100%;
    object-fit: cover;
}

.price-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 24px;
}

.price-table th,
.price-table td {
    padding: 14px 8px;
    border-bottom: 1px solid var(--beige);
    font-size: 0.88rem;
    text-align: left;
    vertical-align: middle;
    line-height: 1.5;
}

.price-table th {
    font-weight: 500;
    color: var(--brown);
    width: 52%;
}

.price-table td {
    color: var(--brown-mid);
    letter-spacing: 0.03em;
}

.price-notes {
    list-style: none;
    padding: 0;
}

.price-notes li {
    font-size: 0.8rem;
    color: var(--brown-mid);
    line-height: 1.8;
    padding-left: 1em;
    position: relative;
}

.price-notes li::before {
    content: '※';
    position: absolute;
    left: 0;
}

/* ===== CONTACT FLOW ===== */
.contact-flow {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2px;
    margin-bottom: 56px;
}

.contact-flow__item {
    background: var(--cream);
    padding: 28px 20px;
    text-align: center;
}

.contact-flow__num {
    display: block;
    font-size: 1.4rem;
    font-weight: 300;
    color: var(--green);
    letter-spacing: 0.05em;
    margin-bottom: 12px;
    line-height: 1;
}

.contact-flow__text {
    font-size: 0.8rem;
    line-height: 1.8;
    color: var(--brown-mid);
}

@media (max-width: 768px) {
    .price-layout { grid-template-columns: 1fr; gap: 36px; }
    .contact-flow { grid-template-columns: repeat(2, 1fr); }
}

/* ===== FOOTER ===== */
.site-footer {
    background: var(--brown);
    color: var(--cream);
    text-align: center;
    padding: 56px 24px;
}

.footer-logo {
    font-size: 1.6rem;
    font-weight: 300;
    letter-spacing: 0.3em;
    margin-bottom: 6px;
}

.footer-tagline {
    font-size: 0.72rem;
    letter-spacing: 0.25em;
    opacity: 0.6;
    margin-bottom: 20px;
}

.footer-address,
.footer-tel {
    font-size: 0.82rem;
    opacity: 0.7;
    margin-bottom: 4px;
}

.footer-tel a {
    color: var(--cream);
    text-decoration: none;
}

.footer-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
}

.footer-creema {
    display: inline-block;
    font-size: 0.78rem;
    letter-spacing: 0.1em;
    color: var(--green-light);
    text-decoration: none;
    border-bottom: 1px solid var(--green-light);
    padding-bottom: 2px;
    transition: opacity var(--transition);
}

.footer-creema:hover { opacity: 0.7; }

.footer-privacy {
    margin-top: 20px;
    font-size: 0.72rem;
}

.footer-privacy a {
    color: rgba(255,255,255,0.45);
    text-decoration: none;
}

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

/* ===== RESPONSIVE ===== */
@media (max-width: 960px) {
    .kimono-features { grid-template-columns: 1fr; gap: 0; }
}

@media (max-width: 768px) {
    .site-nav { display: none; }
    .nav-toggle { display: flex; }

    .section { padding: 72px 0; }

    .about-layout { grid-template-columns: 1fr; gap: 36px; }
    .cafe-layout  { grid-template-columns: 1fr; gap: 32px; }
    .info-layout  { grid-template-columns: 1fr; gap: 36px; }

    .fabric-tiles { grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(4, 1fr); }

    .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 4px; }
}

@media (max-width: 480px) {
    .fabric-tiles { grid-template-columns: repeat(2, 1fr); grid-template-rows: repeat(6, 1fr); }
}
