/* ============================================================
   Atelier HANA – style.css
   ============================================================ */

:root {
  --color-base: #FBF7F0;
  --color-accent: #C4856A;
  --color-accent-dark: #A06550;
  --color-accent-light: #F0D8CC;
  --color-text: #3C2E26;
  --color-muted: #8A7060;
  --color-border: #E8DDD5;
  --color-bg-section: #F5EFE6;
  --font-serif: 'Noto Serif JP', serif;
  --font-sans: 'Noto Sans JP', sans-serif;
  --font-en: 'Lato', sans-serif;
  --max-width: 1080px;
  --radius: 8px;
  --shadow: 0 4px 20px rgba(60,46,38,0.08);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font-sans); color: var(--color-text); background: var(--color-base); line-height: 1.85; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
.section { padding: 88px 0; }
.section:nth-child(even) { background: var(--color-bg-section); }
.section-label { font-family: var(--font-en); font-size: 0.72rem; letter-spacing: 0.25em; color: var(--color-accent); text-transform: uppercase; margin-bottom: 0.6rem; display: block; }
.section-title { font-family: var(--font-serif); font-size: clamp(1.7rem, 3.5vw, 2.3rem); font-weight: 600; margin-bottom: 2.8rem; line-height: 1.5; }
.text-center { text-align: center; }

/* ── Header ── */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; background: rgba(251,247,240,0.95); backdrop-filter: blur(8px); border-bottom: 1px solid var(--color-border); transition: box-shadow 0.3s; }
.site-header.scrolled { box-shadow: var(--shadow); }
.header-inner { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; height: 64px; display: flex; align-items: center; justify-content: space-between; }
.logo { font-family: var(--font-serif); font-size: 1.15rem; font-weight: 400; letter-spacing: 0.1em; color: var(--color-text); }
.logo span { color: var(--color-accent-dark); }
.nav-menu { display: flex; align-items: center; gap: 28px; }
.nav-menu a { font-size: 0.82rem; letter-spacing: 0.05em; color: var(--color-text); transition: color 0.2s; }
.nav-menu a:hover { color: var(--color-accent); }
.nav-cta { background: var(--color-accent); color: #fff !important; padding: 9px 20px; border-radius: 24px; font-size: 0.78rem !important; transition: background 0.2s !important; }
.nav-cta:hover { background: var(--color-accent-dark) !important; }
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.hamburger span { display: block; width: 24px; height: 1.5px; background: var(--color-text); transition: transform 0.3s, opacity 0.3s; }
.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ── Hero ── */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; padding-top: 64px; }
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(60,46,38,0.6) 0%, rgba(60,46,38,0.25) 100%); }
.hero-content { position: relative; z-index: 1; max-width: var(--max-width); margin: 0 auto; padding: 0 24px; color: #fff; }
.hero-label { font-family: var(--font-en); font-weight: 300; font-style: italic; font-size: 0.9rem; letter-spacing: 0.2em; opacity: 0.85; margin-bottom: 1.2rem; display: block; }
.hero h1 { font-family: var(--font-serif); font-size: clamp(2.2rem, 5.5vw, 3.8rem); font-weight: 600; line-height: 1.45; margin-bottom: 1.2rem; }
.hero-sub { font-size: 0.95rem; line-height: 1.9; opacity: 0.9; margin-bottom: 2.8rem; }

/* ── CTA Button ── */
.cta-btn { display: inline-block; background: var(--color-accent); color: #fff; padding: 16px 40px; border-radius: 32px; font-size: 0.9rem; letter-spacing: 0.06em; font-family: var(--font-sans); transition: background 0.25s, transform 0.2s, box-shadow 0.2s; border: none; cursor: pointer; }
.cta-btn:hover { background: var(--color-accent-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(196,133,106,0.35); }
.cta-btn-light { background: #fff; color: var(--color-accent-dark) !important; }
.cta-btn-light:hover { background: var(--color-accent-light); }

/* ── About ── */
.about-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-img img { width: 100%; height: 440px; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.about-text h2 { font-family: var(--font-serif); font-size: clamp(1.5rem, 3vw, 2rem); line-height: 1.55; margin-bottom: 1.4rem; }
.about-text p { font-size: 0.9rem; line-height: 2; color: var(--color-text); margin-bottom: 1rem; }
.about-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 1.6rem; }
.tag { font-size: 0.75rem; padding: 5px 14px; border: 1px solid var(--color-accent); color: var(--color-accent-dark); border-radius: 20px; }

/* ── Works ── */
.works-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.works-item { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform 0.25s; }
.works-item:hover { transform: translateY(-4px); }
.works-item img { width: 100%; height: 220px; object-fit: cover; }
.works-info { padding: 16px 20px 20px; }
.works-cat { font-size: 0.72rem; letter-spacing: 0.12em; color: var(--color-accent); margin-bottom: 4px; }
.works-info h3 { font-family: var(--font-serif); font-size: 0.95rem; }
.works-more-note { text-align: center; font-size: 0.84rem; color: var(--color-muted); margin-top: 2rem; }

/* ── Story ── */
.story.section { background: var(--color-bg-section); }
.story-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.story-text h2 { font-family: var(--font-serif); font-size: clamp(1.5rem, 3vw, 2rem); line-height: 1.55; margin-bottom: 2rem; }
.story-item { margin-bottom: 1.8rem; }
.story-item h3 { font-size: 1rem; font-weight: 500; margin-bottom: 0.5rem; color: var(--color-accent-dark); }
.story-item p { font-size: 0.88rem; line-height: 2; color: var(--color-muted); }
.story-img img { width: 100%; height: 460px; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }

/* ── Shop ── */
.shop-lead { font-size: 0.9rem; color: var(--color-muted); margin-bottom: 2.4rem; line-height: 1.9; }
.shop-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-bottom: 2.4rem; }
.shop-card { display: flex; gap: 24px; align-items: center; background: #fff; padding: 32px; border-radius: var(--radius); box-shadow: var(--shadow); transition: transform 0.2s; }
.shop-card:hover { transform: translateY(-3px); }
.shop-icon { width: 56px; height: 56px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; font-weight: 700; flex-shrink: 0; }
.shop-icon-minne { background: #f47c7c; color: #fff; font-family: var(--font-en); }
.shop-icon-creema { background: #2f9e44; color: #fff; font-family: var(--font-en); }
.shop-card-body h3 { font-family: var(--font-serif); font-size: 1.1rem; margin-bottom: 0.4rem; }
.shop-card-body p { font-size: 0.85rem; color: var(--color-muted); line-height: 1.8; margin-bottom: 0.8rem; }
.shop-link-text { font-size: 0.82rem; color: var(--color-accent); font-weight: 500; }
.custom-order { background: var(--color-accent-light); border-radius: var(--radius); padding: 36px 40px; }
.custom-order h3 { font-family: var(--font-serif); font-size: 1.1rem; margin-bottom: 0.8rem; color: var(--color-accent-dark); }
.custom-order p { font-size: 0.88rem; line-height: 1.95; color: var(--color-text); }

/* ── CTA Banner ── */
.cta-banner { background: var(--color-accent); padding: 80px 0; text-align: center; color: #fff; }
.cta-banner h2 { font-family: var(--font-serif); font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 1rem; }
.cta-banner p { font-size: 0.92rem; line-height: 1.9; opacity: 0.9; margin-bottom: 2.4rem; }

/* ── Contact ── */
.contact-lead { font-size: 0.9rem; color: var(--color-muted); margin-bottom: 2.4rem; line-height: 1.9; }
.contact-form { max-width: 600px; margin: 0 auto; }
.form-row { margin-bottom: 1.4rem; }
.form-row label { display: block; font-size: 0.85rem; font-weight: 500; margin-bottom: 0.5rem; }
.req { font-size: 0.7rem; background: var(--color-accent); color: #fff; padding: 2px 6px; border-radius: 3px; margin-left: 6px; vertical-align: middle; }
.form-row input, .form-row select, .form-row textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--color-border); border-radius: var(--radius); background: #fff; font-family: var(--font-sans); font-size: 0.9rem; color: var(--color-text); transition: border-color 0.2s, box-shadow 0.2s; appearance: none; }
.form-row input:focus, .form-row select:focus, .form-row textarea:focus { outline: none; border-color: var(--color-accent); box-shadow: 0 0 0 3px rgba(196,133,106,0.12); }
.form-row textarea { height: 130px; resize: vertical; }
.form-submit { text-align: center; margin-top: 2rem; }

/* ── Footer ── */
.site-footer { background: var(--color-text); color: rgba(255,255,255,0.75); padding: 56px 0 32px; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; margin-bottom: 40px; flex-wrap: wrap; gap: 24px; }
.footer-logo { font-family: var(--font-serif); font-size: 1.1rem; color: #fff; }
.footer-logo span { color: var(--color-accent-light); }
.footer-nav { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-nav a { font-size: 0.8rem; color: rgba(255,255,255,0.65); transition: color 0.2s; }
.footer-nav a:hover { color: #fff; }
.footer-sns { display: flex; gap: 16px; }
.footer-sns img { width: 20px; height: 20px; filter: invert(1); opacity: 0.7; transition: opacity 0.2s; }
.footer-sns a:hover img { opacity: 1; }
.copyright { text-align: center; font-size: 0.75rem; opacity: 0.45; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 24px; }

/* ── Reveal ── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.65s ease, transform 0.65s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ── Responsive ── */
@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .nav-menu { display: none; position: fixed; top: 64px; left: 0; right: 0; background: rgba(251,247,240,0.97); flex-direction: column; align-items: stretch; padding: 16px 0 24px; border-bottom: 1px solid var(--color-border); gap: 0; z-index: 99; }
  .nav-menu.open { display: flex; }
  .nav-menu a { display: block; padding: 14px 24px; font-size: 0.95rem; }
  .nav-cta { margin: 12px 24px 4px; text-align: center; border-radius: 8px; }
  .hamburger { display: flex; }
  .about-inner { grid-template-columns: 1fr; gap: 32px; }
  .about-img img { height: 300px; }
  .works-grid { grid-template-columns: repeat(2, 1fr); }
  .story-inner { grid-template-columns: 1fr; gap: 32px; }
  .story-img img { height: 280px; }
  .shop-grid { grid-template-columns: 1fr; }
  .shop-card { flex-direction: column; align-items: flex-start; gap: 16px; }
  .custom-order { padding: 28px 24px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-nav { gap: 16px; }
}

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