:root {
  --cream: #f4ecde;
  --cream-light: #fffaf2;
  --paper: #fffdf8;
  --forest: #31483a;
  --forest-deep: #203329;
  --sage: #7e8d78;
  --sage-light: #dce2d6;
  --terracotta: #b96143;
  --terracotta-light: #d89c7c;
  --honey: #d9a458;
  --brown: #503b2d;
  --muted: #776d63;
  --line: rgba(49, 72, 58, 0.15);
  --shadow: 0 25px 70px rgba(63, 48, 36, 0.13);
  --heading: "Kiwi Maru", "Yu Mincho", serif;
  --sans: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  color: var(--brown);
  background: var(--cream-light);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p { overflow-wrap: anywhere; }
h1, h2, h3 { font-family: var(--heading); font-weight: 500; }
.line-nowrap { white-space: nowrap; }

.skip-link {
  position: fixed;
  z-index: 999;
  top: 10px;
  left: 10px;
  padding: 8px 14px;
  color: #fff;
  background: var(--forest-deep);
  transform: translateY(-170%);
}
.skip-link:focus { transform: translateY(0); }

.header-inner, .hero-inner, .section-inner, .footer-inner {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  position: absolute;
  z-index: 20;
  top: 0;
  left: 0;
  width: 100%;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 88px;
}

.brand {
  display: inline-flex;
  gap: 11px;
  align-items: center;
  font-family: var(--heading);
  font-size: 1rem;
  text-decoration: none;
  letter-spacing: 0.05em;
}
.brand strong { display: block; font-size: .68rem; font-weight: 400; letter-spacing: .2em; }
.brand-emblem {
  display: grid;
  width: 40px;
  height: 40px;
  color: var(--cream-light);
  background: var(--forest);
  border-radius: 58% 42% 51% 49% / 47% 58% 42% 53%;
  font-family: Georgia, serif;
  font-size: 1.25rem;
  font-style: italic;
  place-items: center;
  transform: rotate(-7deg);
}

.global-nav { display: flex; gap: 30px; align-items: center; font-size: .82rem; font-weight: 600; }
.global-nav a { text-decoration: none; }
.global-nav > a:not(.nav-shop) { border-bottom: 1px solid transparent; }
.global-nav > a:not(.nav-shop):hover { border-color: var(--terracotta); }
.nav-shop { padding: 9px 19px; color: #fff; background: var(--forest); border-radius: 999px; }

.hero {
  position: relative;
  min-height: 790px;
  padding: 138px 0 94px;
  overflow: hidden;
  background: var(--cream);
}
.hero::before {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 17% 15%, rgba(255,255,255,.85), transparent 29%), linear-gradient(108deg, rgba(244,236,222,.98) 0%, rgba(244,236,222,.96) 46%, rgba(244,236,222,.38) 72%, rgba(244,236,222,.88) 100%);
  content: "";
}
.hero-texture {
  position: absolute;
  inset: 0;
  opacity: .38;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='110' height='110' viewBox='0 0 110 110'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.055'/%3E%3C/svg%3E");
}
.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, .96fr) minmax(0, 1.04fr);
  gap: clamp(38px, 5vw, 76px);
  align-items: center;
}
.hero-copy { padding: 24px 0; }
.eyebrow, .section-label {
  margin: 0 0 18px;
  color: var(--terracotta);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .22em;
}
.eyebrow { display: flex; gap: 10px; align-items: center; }
.eyebrow span { width: 28px; height: 1px; background: var(--terracotta); }
.hero h1 {
  margin: 0;
  color: var(--forest-deep);
  font-size: clamp(2.2rem, 3.65vw, 3.3rem);
  line-height: 1.36;
  letter-spacing: .015em;
}
.hero h1 em { color: var(--terracotta); font-style: normal; white-space: nowrap; }
.hero-lead { max-width: 550px; margin: 30px 0 0; color: var(--muted); font-size: clamp(.95rem, 1.2vw, 1.05rem); }
.hero-actions { display: flex; gap: 24px; align-items: center; margin-top: 35px; }
.button {
  display: inline-flex;
  gap: 28px;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 13px 27px;
  border-radius: 999px;
  font-size: .88rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
}
.button-primary { color: #fff; background: var(--forest); box-shadow: 0 13px 30px rgba(49,72,58,.2); }
.button-primary:hover { background: var(--forest-deep); box-shadow: 0 16px 34px rgba(49,72,58,.28); transform: translateY(-2px); }
.sub-link { font-size: .84rem; font-weight: 600; text-underline-offset: 5px; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 30px 0 0; padding: 0; list-style: none; }
.hero-tags li { padding: 4px 13px; color: var(--forest); border: 1px solid rgba(49,72,58,.2); border-radius: 999px; background: rgba(255,255,255,.38); font-size: .7rem; font-weight: 600; }

.hero-visual { position: relative; }
.hero-image-frame {
  position: relative;
  padding: 12px;
  background: rgba(255,253,248,.72);
  border: 1px solid rgba(255,255,255,.8);
  border-radius: 46% 54% 43% 57% / 53% 42% 58% 47%;
  box-shadow: var(--shadow);
  transform: rotate(1deg);
}
.hero-image-frame::before {
  position: absolute;
  z-index: -1;
  inset: -18px 16px 12px -18px;
  background: var(--terracotta-light);
  border-radius: inherit;
  content: "";
  opacity: .24;
  transform: rotate(-3deg);
}
.hero-image-frame img {
  width: 100%;
  height: clamp(510px, 44vw, 630px);
  object-fit: cover;
  object-position: 66% center;
  border-radius: inherit;
}
.maker-stamp {
  position: absolute;
  right: -8px;
  bottom: -26px;
  display: grid;
  width: 126px;
  height: 126px;
  color: var(--cream-light);
  background: var(--terracotta);
  border: 5px solid var(--cream);
  border-radius: 50%;
  box-shadow: 0 12px 30px rgba(87,53,37,.18);
  text-align: center;
  place-content: center;
  transform: rotate(5deg);
}
.maker-stamp span { font-size: .53rem; letter-spacing: .18em; }
.maker-stamp strong { font-family: var(--heading); font-size: 1.6rem; font-weight: 500; line-height: 1.25; }
.maker-stamp i { font-style: normal; font-size: .72rem; }
.hero-thread {
  position: absolute;
  z-index: 1;
  bottom: -86px;
  left: -40px;
  width: 440px;
  height: 210px;
  border: 2px solid rgba(185,97,67,.22);
  border-radius: 50%;
  transform: rotate(12deg);
}

.section { padding: 120px 0; }
.section h2 { margin: 0; color: var(--forest-deep); font-size: clamp(2rem, 3.5vw, 3.15rem); line-height: 1.5; }
.section-label { margin-bottom: 13px; }

.story { position: relative; background: var(--paper); }
.story-grid { display: grid; grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr); gap: clamp(54px, 9vw, 130px); align-items: center; }
.story-heading { position: relative; }
.story-heading h2 { font-size: clamp(2rem, 3vw, 2.55rem); letter-spacing: -.025em; }
.needle-motif { width: min(260px, 70%); margin-top: 30px; color: var(--terracotta); }
.needle-motif svg { width: 100%; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2; }
.story-copy { padding-left: clamp(0px, 3vw, 42px); border-left: 1px solid var(--line); color: var(--muted); }
.story-copy p { margin: 0 0 22px; }
.story-copy .story-opening { color: var(--brown); font-family: var(--heading); font-size: clamp(1.08rem, 1.5vw, 1.25rem); line-height: 2.1; }
.story-note { display: flex; gap: 12px; align-items: center; margin-top: 34px; padding: 16px 20px; color: var(--forest); background: var(--sage-light); border-radius: 16px; font-size: .82rem; font-weight: 600; }
.story-note span { color: var(--terracotta); font-size: 1.05rem; }

.works { background: var(--cream); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 58px; }
.section-heading > p { max-width: 450px; margin: 0 0 7px; color: var(--muted); font-size: .9rem; }
.work-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.work-card { overflow: hidden; background: var(--paper); border: 1px solid rgba(255,255,255,.86); border-radius: 28px; box-shadow: 0 18px 48px rgba(72,55,41,.08); }
.work-card-wide { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.16fr) minmax(0, .84fr); }
.work-card-earth { background: #f9f4ea; }
.work-image { position: relative; display: block; min-height: 400px; overflow: hidden; background: #ece8df; }
.work-card-wide .work-image { min-height: 520px; }
.work-image img { width: 100%; height: 100%; min-height: inherit; object-fit: cover; transition: transform .45s ease; }
.work-card-wide .work-image img { object-position: 51% center; }
.work-card:not(.work-card-wide) .work-image img { aspect-ratio: 4 / 3; }
.work-card:nth-child(2) .work-image img { object-position: center 45%; }
.work-card:nth-child(3) .work-image img { object-position: center 35%; }
.work-image:hover img { transform: scale(1.025); }
.work-arrow { position: absolute; right: 18px; bottom: 18px; display: grid; width: 46px; height: 46px; color: #fff; background: var(--forest); border-radius: 50%; place-items: center; }
.work-content { display: flex; flex-direction: column; padding: clamp(28px, 4vw, 50px); }
.work-meta { display: flex; gap: 12px; align-items: center; color: var(--terracotta); }
.work-meta span { font-family: var(--heading); font-size: 1.25rem; }
.work-meta small { font-size: .59rem; font-weight: 700; letter-spacing: .18em; }
.work-content h3 { margin: 22px 0 16px; color: var(--forest-deep); font-size: clamp(1.35rem, 2.3vw, 2rem); line-height: 1.5; }
.work-content > p { margin: 0; color: var(--muted); font-size: .9rem; }
.work-footer { display: flex; gap: 22px; align-items: end; justify-content: space-between; margin-top: auto; padding-top: 32px; }
.work-footer ul { display: flex; flex-wrap: wrap; gap: 7px; margin: 0; padding: 0; list-style: none; }
.work-footer li { padding: 3px 10px; color: var(--forest); background: var(--sage-light); border-radius: 999px; font-size: .65rem; font-weight: 600; }
.price { margin-left: auto; color: var(--muted); font-size: .76rem; white-space: nowrap; }
.price small { margin-left: 2px; font-size: .62rem; }
.color-dots { display: flex; flex-wrap: wrap; gap: 7px; align-items: center; margin-top: 23px; }
.color-dots i { width: 18px; height: 18px; border: 2px solid rgba(255,255,255,.8); border-radius: 50%; box-shadow: 0 0 0 1px rgba(77,59,45,.12); }
.color-dots span { margin-left: 4px; color: var(--muted); font-size: .67rem; }
.dot-beige { background: #c9b59a; }.dot-white { background: #f8f6ef; }.dot-yellow { background: #e3b34d; }.dot-black { background: #35332f; }.dot-pink { background: #cf8793; }.dot-lavender { background: #a492b6; }.dot-green { background: #758e6b; }.dot-red { background: #b9594f; }
.works-note { margin: 28px 2px 0; color: var(--muted); font-size: .7rem; }

.values { background: var(--cream-light); }
.values-panel { position: relative; display: grid; grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr); gap: clamp(55px, 8vw, 116px); overflow: hidden; padding: clamp(54px, 7vw, 90px); color: #fff; background: var(--forest); border-radius: 40px; box-shadow: 0 24px 60px rgba(32,51,41,.17); }
.values-panel::after { position: absolute; right: -95px; bottom: -120px; width: 330px; height: 330px; border: 1px solid rgba(255,255,255,.12); border-radius: 50%; content: ""; }
.section-label-light { color: var(--terracotta-light); }
.values-title h2 { color: #fff; font-size: clamp(1.8rem, 3vw, 2.5rem); }
.values-copy { position: relative; z-index: 2; color: rgba(255,255,255,.72); }
.values-copy p { margin: 0 0 20px; }
.values-copy .values-main { color: #fff; font-family: var(--heading); font-size: clamp(1.05rem, 1.55vw, 1.22rem); line-height: 2.05; }
.values-sign { display: flex; gap: 12px; align-items: baseline; justify-content: end; margin-top: 34px; color: var(--terracotta-light); }
.values-sign span { font-size: .68rem; letter-spacing: .12em; }
.values-sign strong { font-family: var(--heading); font-size: 1.5rem; font-weight: 500; }
.values-decoration { position: absolute; top: 22px; right: 30px; display: flex; gap: 8px; }
.values-decoration span { width: 5px; height: 5px; background: var(--terracotta-light); border-radius: 50%; }

.maker { background: var(--paper); }
.maker-grid { display: grid; grid-template-columns: minmax(250px, .75fr) minmax(0, 1.25fr); gap: clamp(60px, 10vw, 150px); align-items: center; max-width: 960px; }
.maker-mark { position: relative; display: grid; width: min(330px, 100%); aspect-ratio: 1; color: var(--forest); background: var(--cream); border-radius: 46% 54% 52% 48% / 48% 43% 57% 52%; place-items: center; transform: rotate(-3deg); }
.maker-mark::before { position: absolute; inset: 18px; border: 1px dashed rgba(49,72,58,.26); border-radius: inherit; content: ""; }
.maker-mark-a { z-index: 2; font-family: Georgia, serif; font-size: clamp(6rem, 12vw, 9rem); font-style: italic; line-height: 1; }
.maker-mark svg { position: absolute; width: 62%; fill: none; stroke: var(--terracotta); stroke-width: 2; }
.maker-copy h2 { margin-bottom: 25px; }
.maker-copy p:not(.section-label) { margin: 0 0 15px; color: var(--muted); font-size: .94rem; }

.shop { padding-top: 40px; background: var(--paper); }
.shop-panel { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 50px; align-items: center; padding: clamp(45px, 7vw, 86px); color: #fff; background: linear-gradient(115deg, var(--terracotta) 0%, #a95539 100%); border-radius: 40px 40px 0 0; }
.shop-copy h2 { color: #fff; font-size: clamp(1.85rem, 3vw, 2.65rem); }
.shop-copy > p:last-child { max-width: 630px; margin: 24px 0 0; color: rgba(255,255,255,.78); }
.shop-action { display: flex; flex-direction: column; align-items: center; text-align: center; }
.button-shop { color: var(--forest-deep); background: var(--cream-light); box-shadow: 0 13px 32px rgba(77,39,26,.2); }
.button-shop:hover { transform: translateY(-2px); box-shadow: 0 16px 36px rgba(77,39,26,.27); }
.shop-sub-link { margin-top: 19px; color: #fff; font-size: .78rem; font-weight: 600; text-underline-offset: 5px; }
.shop-action p { margin: 10px 0 0; color: rgba(255,255,255,.68); font-size: .64rem; }

.site-footer { padding: 48px 0; color: rgba(255,255,255,.72); background: var(--forest-deep); }
.footer-inner { display: grid; grid-template-columns: 1fr auto auto; gap: 45px; align-items: center; }
.brand-footer { color: #fff; }
.brand-footer .brand-emblem { color: var(--forest-deep); background: var(--cream); }
.footer-inner p, .footer-inner small { margin: 0; font-size: .7rem; }

@media (max-width: 900px) {
  .hero { min-height: auto; padding-bottom: 115px; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-copy { max-width: 680px; }
  .hero-visual { width: min(720px, 94%); margin-inline: auto; }
  .hero-image-frame img { height: min(77vw, 570px); }
  .story-grid, .values-panel, .shop-panel { grid-template-columns: 1fr; }
  .story-copy { padding: 34px 0 0; border-top: 1px solid var(--line); border-left: 0; }
  .work-card-wide { grid-template-columns: 1fr; }
  .work-card-wide .work-image { min-height: 420px; }
  .maker-grid { gap: 60px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-inner small { grid-column: 2; }
}

@media (min-width: 901px) {
  .desktop-nowrap { white-space: nowrap; }
}

@media (max-width: 680px) {
  body { font-size: 15px; }
  .header-inner, .hero-inner, .section-inner, .footer-inner { width: min(100% - 32px, 1180px); }
  .header-inner { min-height: 74px; }
  .brand { font-size: .86rem; }
  .brand-emblem { width: 36px; height: 36px; }
  .global-nav > a:not(.nav-shop) { display: none; }
  .nav-shop { padding: 7px 13px; font-size: .7rem; }
  .hero { padding: 112px 0 92px; }
  .hero h1 { font-size: clamp(1.95rem, 8.5vw, 2.4rem); }
  .hero-lead br { display: none; }
  .hero-actions { flex-wrap: wrap; gap: 18px; }
  .button { width: 100%; }
  .hero-visual { width: 100%; margin-top: 8px; }
  .hero-image-frame { padding: 8px; }
  .hero-image-frame img { height: 104vw; max-height: 500px; object-position: 64% center; }
  .maker-stamp { right: -7px; bottom: -35px; width: 104px; height: 104px; }
  .maker-stamp strong { font-size: 1.35rem; }
  .section { padding: 88px 0; }
  .section h2 { font-size: clamp(1.75rem, 8vw, 2.45rem); }
  .story-grid { gap: 32px; }
  .story-copy { padding-top: 26px; }
  .story-copy .story-opening { line-height: 1.95; }
  .story-note { align-items: flex-start; }
  .section-heading { display: block; margin-bottom: 38px; }
  .section-heading > p { margin-top: 16px; }
  .work-list { grid-template-columns: 1fr; gap: 22px; }
  .work-card-wide { grid-column: auto; }
  .work-image, .work-card-wide .work-image { min-height: 300px; }
  .work-card:not(.work-card-wide) .work-image img { aspect-ratio: 4 / 3; }
  .work-content { padding: 26px 23px 28px; }
  .work-content h3 { margin-top: 17px; }
  .work-footer { align-items: flex-end; padding-top: 24px; }
  .values-panel { gap: 34px; padding: 42px 27px; border-radius: 28px; }
  .values-copy .values-main { line-height: 1.9; }
  .maker-grid { grid-template-columns: 1fr; gap: 44px; }
  .maker-mark { width: min(260px, 78vw); margin-inline: auto; }
  .shop { padding-top: 12px; }
  .shop-panel { gap: 34px; padding: 42px 25px; border-radius: 28px 28px 0 0; }
  .footer-inner { grid-template-columns: 1fr; gap: 18px; text-align: center; }
  .brand-footer { justify-self: center; text-align: left; }
  .footer-inner small { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
