:root {
  --ink: #3b2b28;
  --brand: #7a2634;
  --gold: #b68a3a;
  --cream: #f8f3ea;
  --muted: #f3ece3;
  --gap: 72px;
  --max: 1050px;
}

* {
  box-sizing: border-box;
}

html,
body,
h1,
h2,
h3,
p,
ul,
dl,
dd {
  margin: 0;
  padding: 0;
}

body {
  background: #fffdf9;
  color: var(--ink);
  font: 15px/1.9 "Yu Mincho", YuMincho, "Hiragino Mincho ProN", serif;
  letter-spacing: .08em;
}

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

ul {
  list-style: none;
}

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

section {
  margin-bottom: var(--gap);
}

.wrap {
  width: min(92%, var(--max));
  margin: auto;
}

.center {
  text-align: center;
}

.eyebrow {
  color: var(--gold);
  font: 700 12px/1.5 Arial, sans-serif;
  letter-spacing: .28em;
}
#header {
  display: flex;
  height: 76px;
  justify-content: space-between;
  align-items: center;
  padding: 8px 30px;
  background: #fffdf9;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--brand);
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
}

.logo img {
  width: 58px;
  height: 58px;
  object-fit: cover;
  border-radius: 50%;
}

.logo small {
  display: block;
  margin-top: 6px;
  color: var(--gold);
  font: 9px/1 Arial, sans-serif;
  letter-spacing: .18em;
}

.menu {
  width: 70%;
  text-align: right;
}

nav ul {
  display: flex;
  justify-content: flex-end;
  gap: 4%;
}

nav a {
  position: relative;
}

nav a:after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -5px;
  width: 0;
  border-bottom: 1px solid var(--gold);
  transition: .25s;
}

nav a:hover:after {
  width: 100%;
}

#menu-button {
  display: none;
  border: 0;
  background: none;
  padding: 0;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}

.top-main {
  height: calc(100vh - 76px);
  min-height: 620px;
  position: relative;
  background: url(../images/hero-sweets-v4.png) center/cover no-repeat;
}

.catch {
  position: absolute;
  left: 8%;
  top: 50%;
  width: 43%;
  transform: translateY(-50%);
}

.catch h1 {
  margin: 18px 0 22px;
  color: var(--brand);
  font-size: 42px;
  line-height: 1.5;
}

.catch > p:last-child {
  font-size: 17px;
  line-height: 2;
  color: #5d4742;
}

.message h2,
.story h2,
.intro h2 {
  margin: 20px 0 28px;
  font-size: 30px;
  line-height: 1.5;
}

.line {
  display: block;
  width: 60px;
  margin: 0 auto 30px;
  border-top: 1px solid var(--gold);
}

.lead {
  width: 72%;
  margin: 0 auto 45px;
  text-align: left;
}

.more {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 210px;
  min-height: 58px;
  margin-left: auto;
  border: 1px solid var(--brand);
  background: var(--brand);
  color: #fff;
  font: inherit;
  letter-spacing: inherit;
  cursor: pointer;
}

.more:after {
  content: "";
  width: 22px;
  margin-left: 12px;
  border-top: 1px solid;
  transition: .25s;
}

.more:hover {
  background: #fff;
  color: var(--brand);
}

.more:hover:after {
  width: 32px;
}
.feature-area {
  margin-bottom: 0;
  padding-top: 30px;
  background: var(--cream);
}

.feature-grid {
  display: flex;
  gap: 36px;
}

.feature {
  width: 50%;
  margin-bottom: 72px;
}

.feature img {
  width: 100%;
  aspect-ratio: 3/2;
  object-fit: cover;
  margin-bottom: 18px;
}

.feature p {
  color: var(--gold);
  font: 700 11px/1.5 Arial, sans-serif;
  letter-spacing: .2em;
}

.feature h2 {
  font-size: 27px;
}

.feature:hover img {
  opacity: .82;
}

.contact-band,
.sub-main {
  background: var(--brand);
  color: #fff;
  padding: 64px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 40px;
}

.contact-band .eyebrow {
  color: #e0c17c;
}

.contact-band h2 {
  margin: 12px 0;
  font-size: 29px;
}

.contact-band .more {
  border-color: #fff;
}

.sub-main h1 {
  font-size: 38px;
  line-height: 1.4;
}

.story .wrap {
  max-width: 820px;
}

.story > .wrap > .eyebrow,
.story h2 {
  text-align: center;
}

.story-body p {
  margin-bottom: 22px;
}

.story-end {
  margin-top: 40px;
  color: var(--brand);
  font-size: 20px;
  font-weight: 700;
  line-height: 2;
}

.values {
  padding: 72px 0;
  background: var(--cream);
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.value-grid article {
  position: relative;
  overflow: hidden;
  padding: 38px 32px 34px;
  border: 1px solid #d9c39a;
  border-top: 4px solid var(--brand);
  background: #fff;
  text-align: center;
  box-shadow: 0 12px 28px #3b2b2812;
}

.value-grid article:before {
  content: "";
  position: absolute;
  inset: 0;
  background: url(../images/ichigo-ichika-logo.png) center/70% auto no-repeat;
  opacity: .16;
}

.value-grid article > * {
  position: relative;
  z-index: 1;
}

.value-grid b {
  display: inline-block;
  padding: 0 7px 8px;
  border-bottom: 1px solid var(--gold);
  color: var(--gold);
  font: 700 13px Arial, sans-serif;
}

.value-grid h3 {
  margin: 14px 0 12px;
  font-size: 24px;
  color: var(--brand);
}

.company .wrap {
  max-width: 900px;
}

.company-list {
  border-top: 3px solid var(--brand);
  background: #fff;
  box-shadow: 0 12px 30px #3b2b2810;
}

.company-list > div {
  display: grid;
  grid-template-columns: 220px 1fr;
  border-bottom: 1px solid #dfd0bd;
}

.company-list dt,
.company-list dd {
  padding: 22px 26px;
}

.company-list dt {
  background: var(--cream);
  color: var(--brand);
  font-weight: 700;
}

.company-list dd {
  background: #fff;
}

.intro {
  margin-bottom: 50px;
}

.intro > p:last-child {
  line-height: 2;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 42px 34px;
}

.product {
  background: var(--cream);
}

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

.product div {
  padding: 20px 22px 24px;
}

.product h2 {
  margin-bottom: 8px;
  color: var(--brand);
  font-size: 22px;
}

.product p {
  font-size: 13px;
}

form {
  margin-bottom: var(--gap);
}

.form-status {
  max-width: 760px;
  margin: 0 auto 36px;
  padding: 18px 22px;
  border: 1px solid;
  text-align: center;
}

.form-status.is-success {
  border-color: var(--gold);
  background: var(--cream);
  color: var(--brand);
}

.form-status.is-error {
  border-color: var(--brand);
  background: #fff3f3;
  color: var(--brand);
}

.field {
  display: flex;
  margin-bottom: 26px;
}

.field label {
  width: 30%;
  padding-top: 14px;
}

.field input,
.field textarea,
.field select {
  width: 70%;
  border: 1px solid #e4d8cd;
  background: var(--cream);
  padding: 15px;
  font: inherit;
  color: inherit;
}

.field input,
.field select {
  height: 58px;
}

.field textarea {
  height: 230px;
  resize: vertical;
}

.field em {
  margin-left: 8px;
  color: var(--brand);
  font-size: 12px;
  font-style: normal;
}

form > .more {
  height: 60px;
  padding: 0;
}

footer {
  padding: 36px 0;
  background: #2e2020;
  color: #fff;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-grid .logo {
  color: #fff;
}

.footer-grid > div > p {
  margin-top: 12px;
  font-size: 12px;
}

.footer-grid nav {
  width: 46%;
}
@media (max-width: 767px) {
  :root {
    --gap: 56px;
  }

  body {
    font-size: 14px;
  }

  #header {
    height: 74px;
    padding: 7px 18px;
  }

  #header > .logo {
    font-size: 19px;
  }

  .logo img {
    width: 54px;
    height: 54px;
  }

  .menu {
    width: auto;
  }

  #menu-button {
    display: block;
    position: relative;
    z-index: 3;
    width: 26px;
    height: 22px;
  }

  #menu-button span {
    position: absolute;
    left: 0;
    width: 100%;
    border-top: 2px solid var(--brand);
    transition: .2s;
  }

  #menu-button span:first-child {
    top: 1px;
  }

  #menu-button span:nth-child(2) {
    top: 10px;
  }

  #menu-button span:last-child {
    bottom: 1px;
  }

  #header nav {
    display: none;
  }

  #header.is-open {
    position: relative;
    height: auto;
  }

  #header.is-open > .logo {
    display: none;
  }

  #header.is-open .menu {
    width: 100%;
    height: 100vh;
    background: #fffdf9;
  }

  #header.is-open nav {
    display: block;
    position: absolute;
    top: 14vh;
    left: 7%;
    width: 86%;
    text-align: left;
  }

  #header.is-open nav ul {
    display: block;
  }

  #header.is-open nav li {
    padding: 18px 0;
    border-bottom: 1px solid #eadfd5;
  }

  #header.is-open #menu-button {
    position: absolute;
    top: 25px;
    right: 22px;
  }

  #header.is-open #menu-button span:first-child {
    top: 10px;
    transform: rotate(45deg);
  }

  #header.is-open #menu-button span:nth-child(2) {
    opacity: 0;
  }

  #header.is-open #menu-button span:last-child {
    bottom: 10px;
    transform: rotate(-45deg);
  }

  .top-main {
    height: 680px;
    min-height: 0;
    background-color: var(--cream);
    background-position: center top;
    background-size: auto 350px;
  }

  .catch {
    left: 6%;
    top: auto;
    bottom: 36px;
    width: 88%;
    transform: none;
    padding: 22px;
    background: #fffdf9e8;
  }

  .catch h1 {
    margin: 12px 0;
    font-size: 27px;
  }

  .catch > p:last-child {
    font-size: 13px;
  }

  .message h2,
  .story h2,
  .intro h2 {
    font-size: 24px;
  }

  .lead {
    width: 100%;
  }

  .feature-grid {
    display: block;
  }

  .feature {
    width: 100%;
    margin-bottom: 42px;
  }

  .contact-grid {
    display: block;
  }

  .contact-grid > div {
    margin-bottom: 34px;
  }

  .contact-grid .more {
    margin-left: 0;
  }

  .sub-main h1 {
    font-size: 30px;
  }

  .value-grid,
  .product-grid {
    grid-template-columns: 1fr;
  }

  .value-grid {
    gap: 22px;
  }

  .story-end {
    font-size: 17px;
  }

  .company-list > div {
    display: block;
  }

  .company-list dt,
  .company-list dd {
    padding: 15px 18px;
  }

  .company-list dt {
    border-bottom: 1px solid #eadfce;
  }

  .field {
    display: block;
  }

  .field label,
  .field input,
  .field textarea,
  .field select {
    width: 100%;
  }

  .field label {
    display: block;
    padding: 0;
    margin-bottom: 7px;
  }

  .footer-grid {
    display: block;
  }

  .footer-grid nav {
    display: none;
  }

  .footer-grid > div {
    width: max-content;
    margin: auto;
  }
}
