:root {
  --ink: #1d1a16;
  --text: #342f28;
  --muted: #736b60;
  --paper: #fffaf2;
  --wash: #f3eee5;
  --soft: #fbf4e9;
  --line: #ded3c4;
  --accent: #8f4f25;
  --green: #273d30;
  --sage: #dfe6d7;
}

* {
  box-sizing: border-box;
}

html {
  width: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  width: 100%;
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  background: var(--paper);
  font-family:
    "Hiragino Kaku Gothic ProN", "Yu Gothic", "YuGothic", system-ui, sans-serif;
  line-height: 1.8;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 64px;
  padding: 0 clamp(18px, 5vw, 56px);
  background: rgba(255, 250, 242, 0.96);
  border-bottom: 1px solid rgba(222, 211, 196, 0.82);
  backdrop-filter: blur(14px);
}

.brand {
  color: var(--ink);
  font-family:
    "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", serif;
  font-size: 25px;
  font-weight: 700;
  line-height: 1;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: clamp(16px, 3vw, 34px);
  color: #4d453c;
  font-size: 13px;
  font-weight: 700;
}

.hero {
  position: relative;
  display: grid;
  min-height: clamp(540px, 74svh, 780px);
  overflow: hidden;
  background: #1d1711;
  isolation: isolate;
}

.hero picture,
.hero img {
  grid-area: 1 / 1;
  width: 100%;
  height: 100%;
}

.hero img {
  object-fit: cover;
  object-position: center 54%;
}

.hero::after {
  grid-area: 1 / 1;
  content: "";
  background:
    linear-gradient(90deg, rgba(18, 14, 10, 0.72), rgba(18, 14, 10, 0.24) 43%, rgba(18, 14, 10, 0.02) 78%),
    linear-gradient(0deg, rgba(18, 14, 10, 0.42), rgba(18, 14, 10, 0.02) 46%);
  z-index: 1;
}

.hero-copy {
  grid-area: 1 / 1;
  z-index: 2;
  align-self: center;
  width: min(500px, calc(100vw - 48px));
  margin-left: max(24px, calc((100vw - 1120px) / 2));
  color: #fff;
}

.hero-copy h1 {
  margin: 0;
  font-family:
    "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", serif;
  font-size: clamp(64px, 8vw, 108px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0;
  text-shadow: 0 3px 22px rgba(0, 0, 0, 0.34);
}

.hero-copy span {
  display: block;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0;
}

.hero-copy p {
  margin: 28px 0 0;
  font-family:
    "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", serif;
  font-size: clamp(22px, 2.6vw, 34px);
  font-weight: 700;
  line-height: 1.75;
  letter-spacing: 0;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.34);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

.section-block,
.shop-section {
  width: min(1080px, calc(100% - 48px));
  margin: 0 auto;
  padding: clamp(62px, 8vw, 96px) 0;
}

.concept.section-block {
  padding-bottom: clamp(42px, 5vw, 60px);
}

.section-title {
  margin: 0 0 18px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.4;
  text-align: center;
}

.section-title::after {
  display: block;
  width: 36px;
  height: 1px;
  margin: 12px auto 0;
  background: currentColor;
  content: "";
}

.concept {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 300px;
  text-align: center;
}

.brush {
  position: absolute;
  top: 14px;
  left: 50%;
  z-index: -1;
  color: rgba(143, 79, 37, 0.07);
  font-family:
    "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", serif;
  font-size: clamp(132px, 18vw, 230px);
  font-weight: 900;
  line-height: 1;
  transform: translateX(-50%);
}

.concept h2,
.craft h2,
.company h2,
.shop-info h2 {
  margin: 0 0 22px;
  color: var(--ink);
  font-family:
    "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", serif;
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  line-height: 1.55;
  text-align: center;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.lead {
  max-width: 34em;
  margin: 0;
  margin-right: auto;
  margin-left: auto;
  color: #4d453c;
  font-size: clamp(15px, 1.5vw, 17px);
  line-height: 2.25;
  text-align: center;
  overflow-wrap: anywhere;
}

.craft {
  width: min(1160px, calc(100% - 48px));
  padding-top: clamp(30px, 4vw, 54px);
}

.craft-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 38px);
  margin-top: 42px;
}

.craft-grid article {
  min-width: 0;
  padding-top: 18px;
  border-top: 1px solid rgba(143, 79, 37, 0.24);
}

.craft-photo {
  aspect-ratio: 1.28 / 1;
  margin: 0 0 22px;
  overflow: hidden;
  background-color: #eadfce;
  background-image: url("./assets/onya-craft-strip.png?v=9");
  background-repeat: no-repeat;
  background-size: 300% 100%;
  box-shadow: 0 18px 42px rgba(76, 55, 34, 0.12);
}

.craft-dashi {
  background-position: left center;
}

.craft-noodle {
  background-position: center center;
}

.craft-room {
  background-position: right center;
}

.craft-grid h3 {
  margin: 0 0 7px;
  color: var(--ink);
  font-family:
    "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", serif;
  font-size: 22px;
  line-height: 1.3;
  letter-spacing: 0;
}

.craft-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.9;
}

.shop-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fffdf8;
  box-shadow: 0 22px 58px rgba(77, 60, 42, 0.09);
}

.shop-info {
  padding: clamp(44px, 6vw, 68px);
}

.shop-info .section-title,
.shop-info h2 {
  text-align: left;
}

.shop-info .section-title::after {
  margin-left: 0;
}

.shop-panel img {
  width: 100%;
  height: 100%;
  min-height: 390px;
  object-fit: cover;
  object-position: center 48%;
}

dl {
  margin: 0;
}

.shop-info dl,
.company dl {
  display: grid;
  gap: 0;
}

.shop-info div,
.company div {
  display: grid;
  grid-template-columns: 116px minmax(0, 1fr);
  gap: 18px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(222, 211, 196, 0.82);
}

dt {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

dd {
  min-width: 0;
  margin: 0;
  color: #332d26;
  font-size: 14px;
  font-weight: 600;
  overflow-wrap: anywhere;
}

dd span {
  display: inline-block;
  padding: 2px 10px;
  color: #fff;
  background: var(--green);
  font-size: 12px;
  line-height: 1.6;
}

.company {
  margin-bottom: 50px;
  padding: clamp(44px, 6vw, 64px);
  background:
    linear-gradient(180deg, rgba(255, 253, 248, 0.54), rgba(255, 253, 248, 0.3)),
    var(--wash);
  border-top: 1px solid rgba(222, 211, 196, 0.82);
  border-bottom: 1px solid rgba(222, 211, 196, 0.82);
}

.company dl {
  margin-top: 22px;
  border-top: 1px solid rgba(222, 211, 196, 0.82);
}

.site-footer {
  display: grid;
  place-items: center;
  gap: 4px;
  min-height: 104px;
  color: #fff;
  background: var(--green);
  text-align: center;
}

.site-footer strong {
  font-family:
    "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", serif;
  font-size: 28px;
  line-height: 1;
}

.site-footer span,
.site-footer small {
  color: rgba(255, 255, 255, 0.72);
  font-size: 11px;
}

@media (max-width: 720px) {
  .site-header {
    min-height: 56px;
    padding: 0 18px;
  }

  .brand {
    font-size: 22px;
  }

  .nav {
    display: none;
  }

  .hero {
    min-height: 520px;
  }

  .hero img {
    object-position: 58% center;
  }

  .hero::after {
    background:
      linear-gradient(0deg, rgba(18, 14, 10, 0.72), rgba(18, 14, 10, 0.18) 58%, rgba(18, 14, 10, 0.08)),
      linear-gradient(90deg, rgba(18, 14, 10, 0.34), rgba(18, 14, 10, 0.04) 72%);
  }

  .hero-copy {
    align-self: end;
    width: calc(100% - 44px);
    margin: 0 22px 48px;
  }

  .hero-copy h1 {
    font-size: 62px;
  }

  .hero-copy span {
    margin-top: 8px;
    font-size: 12px;
  }

  .hero-copy p {
    margin-top: 22px;
    font-size: 23px;
    line-height: 1.65;
  }

  .section-block,
  .shop-section {
    width: calc(100% - 32px);
    padding: 58px 0;
  }

  .concept.section-block {
    padding-bottom: 34px;
  }

  .concept {
    min-height: 270px;
  }

  .concept h2,
  .craft h2,
  .company h2,
  .shop-info h2 {
    font-size: 25px;
    line-height: 1.55;
  }

  .lead {
    max-width: 20em;
    font-size: 15px;
    line-height: 2.15;
  }

  .craft-grid {
    grid-template-columns: 1fr;
    gap: 34px;
    margin-top: 34px;
  }

  .craft-photo {
    aspect-ratio: 1.46 / 1;
    margin-bottom: 18px;
  }

  .shop-panel {
    grid-template-columns: 1fr;
  }

  .shop-info {
    padding: 42px 24px 36px;
  }

  .shop-panel img {
    min-height: 270px;
    max-height: 330px;
  }

  .shop-info div,
  .company div {
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 12px;
  }

  .company {
    width: calc(100% - 32px);
    margin-bottom: 0;
    padding: 42px 22px 46px;
  }
}

@media (max-width: 390px) {
  .hero-copy h1 {
    font-size: 56px;
  }

  .hero-copy p {
    font-size: 21px;
  }
}
