* {
  box-sizing: border-box;
}

:root {
  --ink: #213b48;
  --muted: #647b86;
  --line: #c9e0e9;
  --leaf: #3198b8;
  --leaf-dark: #207894;
  --orange: #55b7d0;
  --cream: #eaf8fc;
  --paper: #fbfeff;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 4% 4%, rgba(150, 187, 214, 0.28) 0 7px, transparent 8px),
    radial-gradient(circle at 5% 7%, rgba(170, 203, 226, 0.22) 0 5px, transparent 6px),
    linear-gradient(180deg, #fff 0%, #f3fbfe 100%);
  font-family: "Yu Mincho", "Hiragino Mincho ProN", "Yu Gothic", Meiryo, serif;
  letter-spacing: 0;
}

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

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

.page {
  width: 100%;
  margin: 0;
  padding-top: 71px;
  background: var(--paper);
  overflow: hidden;
}

.inner {
  width: min(100% - 80px, 1000px);
  margin: 0 auto;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  width: 100%;
  height: 71px;
  background: #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  font-family: "Noto Sans JP", "Yu Gothic", Meiryo, sans-serif;
}

.site-header-inner {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
}

.site-brand {
  width: 388px;
  margin-left: 2%;
  line-height: 1;
}

header .header-search {
  position: absolute;
  left: 56%;
  width: auto;
  min-width: 400px;
  transform: translate(-50%, 0);
}

header .header-search-container {
  display: flex;
  align-items: center;
  margin-right: 10px;
  padding: 2px 5px;
  border: 1px solid #ddd;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

header #header-search-keyword {
  box-sizing: content-box;
  flex: 1;
  padding: 8px 12px;
  border: 0;
  outline: 0;
  background: transparent;
  font-family: "Noto Sans JP", "sans-serif";
  font-size: 14px;
}

header #header-search-keyword::placeholder {
  color: #999;
  font-size: 13px;
}

header .header-search-btn {
  margin-left: 5px;
  padding: 8px 15px;
  border: 0;
  border-radius: 10px;
  background: #0e3c74;
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.3s;
}

header .header-search-btn:hover {
  background: #0056b3;
}

.business-login {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  padding: 18px 30px;
  background: #000;
  color: #fff;
  font-size: 17px;
  font-weight: 600;
}

.business-login img {
  width: 29px;
  margin-left: 10px;
}

.site-menu-button {
  display: none;
}

.breadcrumb {
  position: absolute;
  top: 18px;
  left: max(40px, calc((100vw - 1000px) / 2));
  z-index: 3;
  font: 700 14px/1.5 "Yu Gothic", Meiryo, sans-serif;
  color: #526d78;
}

.hero {
  position: relative;
  background: #f2fbfe;
  overflow: hidden;
}

.hero-copy {
  position: relative;
  width: min(100% - 80px, 1000px);
  margin: 0 auto;
  padding: 18px 40px 48px;
  text-align: center;
}

.eyebrow {
  margin: 0 0 8px;
  color: #378ca8;
  font: 700 14px/1.6 "Yu Gothic", Meiryo, sans-serif;
  letter-spacing: 0.08em;
}

.hero h1 {
  margin: 0;
  font-size: 30px;
  line-height: 1.5;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.hero h1 .quote {
  color: #208eb1;
  font-size: 36px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.hero p {
  width: min(100%, 780px);
  margin: 16px auto 0;
  color: #3f5964;
  font: 700 14px/1.9 "Yu Gothic", Meiryo, sans-serif;
}

.hero .hero-description {
  text-align: center;
}

.hero-photo {
  width: min(100% - 80px, 1000px);
  height: clamp(320px, 52vw, 520px);
  margin: 56px auto 0;
  background-image: url("./assets/article-main.png");
  background-size: cover;
  background-position: center center;
}

.section-title {
  margin: 0 0 17px;
  color: var(--leaf);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: 0.14em;
}

.product-card p,
.culture p {
  margin: 0;
  color: #36515e;
  font: 700 15px/1.9 "Yu Gothic", Meiryo, sans-serif;
}

.contents {
  margin-top: 30px;
  border: 1px solid var(--line);
  padding: 21px 24px 18px;
  position: relative;
}

.contents-title {
  width: 132px;
  margin: -32px auto 16px;
  background: var(--paper);
  text-align: center;
  font: 700 15px/1 "Times New Roman", serif;
  letter-spacing: 0.08em;
}

.contents-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
}

.contents-card {
  display: grid;
  grid-template-columns: 220px 1fr 28px;
  gap: 20px;
  align-items: center;
}

.contents-card figure {
  position: relative;
  margin: 0;
}

.contents-card img {
  width: 220px;
  height: 144px;
  object-fit: cover;
}

.num-square {
  position: absolute;
  top: 0;
  left: 0;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  background: var(--orange);
  color: #fff;
  font: 700 15px/1 "Times New Roman", serif;
}

.contents-card b {
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0.04em;
  font-weight: 700;
}

.circle-arrow {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #48abc5;
  color: #fff;
  font: 700 15px/1 sans-serif;
}

.recipe {
  padding-top: 31px;
}

.recipe-heading {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.recipe-number {
  width: 42px;
  height: 42px;
  border-radius: 50% 50% 50% 0;
  background: var(--orange);
  color: #fff;
  display: grid;
  place-items: center;
  font: 700 17px/1 "Times New Roman", serif;
}

.recipe-heading h2 {
  margin: 0;
  color: var(--leaf);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.recipe-heading small {
  margin-left: 8px;
  color: #48616d;
  font: 700 13px/1.4 "Yu Gothic", Meiryo, sans-serif;
  white-space: nowrap;
}

.recipe-layout {
  display: grid;
  grid-template-columns: 460px 1fr;
  gap: 48px;
  align-items: start;
}

.main-photo {
  width: 100%;
  height: 304px;
  object-fit: cover;
}

.time {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
  font: 700 14px/1.4 "Yu Gothic", Meiryo, sans-serif;
}

.clock {
  width: 30px;
  height: 30px;
  border: 2px solid #7396a3;
  border-radius: 50%;
  position: relative;
}

.clock::before,
.clock::after {
  content: "";
  position: absolute;
  left: 13px;
  top: 7px;
  width: 2px;
  height: 9px;
  background: #7396a3;
  transform-origin: bottom center;
}

.clock::after {
  transform: rotate(45deg);
  top: 13px;
  height: 8px;
}

.time strong {
  display: block;
  font-size: 20px;
}

.recipe-info {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.ingredients h3,
.steps h3,
.culture h3 {
  margin: 17px 0 13px;
  font-size: 15px;
  letter-spacing: 0.08em;
}

.ingredients ul {
  margin: 0;
  padding: 0 0 0 12px;
  color: #36515e;
  font: 700 14px/1.8 "Yu Gothic", Meiryo, sans-serif;
}

.ingredients-note {
  list-style: none;
}

.steps {
  border-left: 0;
  padding-left: 0;
}

.step {
  display: grid;
  grid-template-columns: 22px 1fr 92px;
  gap: 9px;
  align-items: start;
  margin-bottom: 13px;
  font: 700 14px/1.75 "Yu Gothic", Meiryo, sans-serif;
}

.step:nth-of-type(4) {
  margin-bottom: 0;
}

.step img {
  width: 92px;
  height: 58px;
  object-fit: cover;
}

.step p {
  margin: 0;
}

.step-mark {
  width: 20px;
  height: 20px;
  display: block;
  color: var(--leaf);
  border-radius: 50%;
  font: 700 20px/1 "Times New Roman", serif;
}

.point {
  position: relative;
  margin-top: 14px;
  padding: 14px 74px 13px 18px;
  background: var(--cream);
  color: #3f6c7c;
  font: 700 14px/1.75 "Yu Gothic", Meiryo, sans-serif;
}

.point b {
  display: block;
  color: #2b92b2;
  margin-bottom: 2px;
}

.point::after {
  content: "";
  position: absolute;
  right: 22px;
  bottom: 8px;
  width: 46px;
  height: 38px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 45%, #8ed6ea 0 52%, transparent 53%),
    radial-gradient(circle at 76% 20%, #d6f3fa 0 13%, transparent 14%);
}

.used-products {
  margin-top: 28px;
}

.subhead {
  margin: 0 0 11px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

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

.product-card {
  min-height: 150px;
  display: grid;
  grid-template-columns: 75px 1fr;
  gap: 12px;
  align-items: center;
  border: 1px solid var(--line);
  padding: 12px 12px;
  background: #fff;
}

.product-card img {
  width: 75px;
  height: 75px;
  object-fit: contain;
}

.product-card h4 {
  margin: 0 0 6px;
  font-size: 16px;
}

.product-card p {
  line-height: 1.6;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 94px;
  min-height: 24px;
  padding: 0 12px;
  margin-top: 7px;
  border-radius: 99px;
  background: var(--orange);
  color: #fff;
  font: 700 14px/1 "Yu Gothic", Meiryo, sans-serif;
}

.recipe.second .recipe-layout {
  grid-template-columns: 460px 1fr;
}

.simple-steps {
  padding-left: 0;
  border-left: 0;
}

.simple-steps .step {
  grid-template-columns: 22px 1fr;
  margin-bottom: 19px;
}

.katsuo-panel {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.culture {
  background: #fbf7e6;
  padding: 18px 16px 16px;
}

.culture h3 {
  margin-top: 0;
  color: var(--leaf-dark);
}

.condiments {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 9px;
  margin-top: 13px;
  text-align: center;
  font: 700 14px/1.4 "Yu Gothic", Meiryo, sans-serif;
}

.condiments span::before {
  content: "";
  display: block;
  width: 42px;
  height: 42px;
  margin: 0 auto 5px;
  border-radius: 50%;
  background: #fff;
  box-shadow: inset 0 0 0 1px #e8dfc8;
}

.catalog {
  padding: 47px 0 26px;
}

.catalog-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin: 0 0 20px;
  color: var(--leaf);
  font-size: 20px;
  letter-spacing: 0.1em;
  font-weight: 600;
}

.catalog-title::before,
.catalog-title::after {
  content: "";
  width: 68px;
  height: 1px;
  background: var(--line);
}

.catalog-description {
  margin: -8px 0 8px;
  color: #58727e;
  font: 700 13px/1.7 "Yu Gothic", Meiryo, sans-serif;
  text-align: center;
}

.catalog-scroll-hint {
  margin: 0 0 10px;
  color: var(--leaf);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-align: center;
}

.catalog-grid {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 20%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.catalog-item {
  min-height: 0;
  display: grid;
  grid-template-rows: 82px auto auto;
  align-content: start;
  justify-items: center;
  gap: 8px;
  padding: 11px 6px 9px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
  text-align: center;
}

.catalog-item img {
  width: 86px;
  height: 82px;
  object-fit: contain;
}

.catalog-item b {
  min-height: 0;
  margin: 0 0 4px;
  font: 700 14px/1.35 "Yu Gothic", Meiryo, sans-serif;
}

.catalog-item .button {
  min-width: 70px;
  min-height: 22px;
  padding: 0 10px;
  margin: 0;
  font-size: 14px;
}

.site-footer {
  margin-top: 24px;
  background: #c3c6ca;
  color: #000;
  font-family: "Noto Sans JP", "Yu Gothic", Meiryo, sans-serif;
}

.site-footer-inner {
  display: flex;
  margin-bottom: 120px;
}

.site-footer-brand {
  width: 23%;
  margin: 75px 4% 0 7%;
}

.site-footer-office {
  width: 24.5%;
  margin: 75px 5% 0 0;
}

.site-footer-office b {
  display: block;
  margin-bottom: 13px;
  font-size: clamp(18px, 1.445vw, 28px);
  font-weight: 600;
}

.site-footer-office p {
  margin: 0 0 40px;
  font-size: clamp(11px, 0.83vw, 16px);
  font-weight: 600;
}

.site-footer-office nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  font-size: clamp(11px, 0.77vw, 15px);
  line-height: 2;
}

.site-footer-office nav a {
  display: inline-flex;
  align-items: baseline;
}

.site-footer-office nav img {
  display: inline-block;
  width: 20px;
  margin-left: 10px;
  vertical-align: baseline;
}

.site-contact {
  width: 36.5%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 50px 65px 65px;
  background: #00145d;
  color: #fff;
}

.site-contact-title {
  margin-bottom: 10px;
  font-size: clamp(18px, 1.65vw, 31.5px);
}

.site-contact-en {
  position: relative;
  box-sizing: border-box;
  width: 100%;
  margin-bottom: 57px;
  padding-bottom: 7px;
  border-bottom: 1px solid #fff;
  font-size: 15px;
  letter-spacing: 0.05em;
}

.site-contact-en::before {
  content: "";
  position: absolute;
  right: 3px;
  bottom: -1px;
  width: 0;
  height: 8px;
  border-right: 1px solid #fff;
  transform: rotate(-45deg);
}

.site-contact small {
  font-size: 13px;
  line-height: 1.7;
}

.site-copyright {
  margin: 0;
  padding: 0 20px 10px;
  text-align: center;
  font-size: 16px;
  font-weight: 300;
}

.site-copyright strong {
  font-weight: 600;
}

@media (max-width: 1200px) {
  header .header-search {
    min-width: 300px;
  }

  header #header-search-keyword {
    padding: 6px 10px;
    font-size: 13px;
  }

  header .header-search-btn {
    padding: 6px 12px;
    font-size: 12px;
  }
}

@media (max-width: 1000px) {
  .page {
    padding-top: 64px;
  }

  .site-header {
    height: 64px;
  }

  header .header-search {
    left: 60%;
    min-width: 200px;
    max-width: 250px;
  }

  .business-login {
    display: none;
  }

  .site-menu-button {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 1001;
    display: block;
    width: 64px;
    height: 64px;
    padding: 0;
    border: 0;
    background: #000;
    cursor: pointer;
  }

  .site-menu-button span {
    position: absolute;
    left: 17px;
    width: 30px;
    height: 1.5px;
    background: #fff;
  }

  .site-menu-button span:first-child {
    top: 28px;
  }

  .site-menu-button span:last-child {
    top: 36px;
  }
}

@media (min-width: 769px) and (max-width: 1000px) {
  header .header-search {
    left: 70%;
    min-width: 220px;
    max-width: 280px;
  }
}

@media (max-width: 1040px) {
  .inner {
    width: min(100% - 48px, 1000px);
  }

  .recipe-layout,
  .recipe.second .recipe-layout {
    grid-template-columns: 42% 1fr;
    gap: 32px;
  }

  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .catalog-grid {
    grid-auto-columns: 20%;
  }
}

@media (max-width: 768px) {
  .inner {
    width: min(100% - 34px, 1000px);
  }

  .page {
    padding-top: 96px;
  }

  .site-header {
    height: auto;
    min-height: 70px;
    padding: 4px 0;
  }

  .site-header-inner {
    min-height: 0;
    flex-direction: column;
  }

  .site-brand {
    order: 1;
    width: 330px;
    margin: 0 auto 8px;
  }

  header .header-search {
    position: static;
    left: auto;
    order: 2;
    min-width: 300px;
    max-width: 350px;
    margin: 0 auto;
    transform: none;
  }

  header .header-search-container {
    margin-right: 0;
  }

  header #header-search-keyword {
    padding: 5px 8px;
    font-size: 12px;
  }

  header #header-search-keyword::placeholder {
    font-size: 11px;
  }

  header .header-search-btn {
    padding: 5px 10px;
    font-size: 11px;
  }

  .site-menu-button {
    position: absolute;
    top: 15px;
    right: 15px;
  }

  .breadcrumb {
    top: 14px;
    left: 17px;
    right: 17px;
    font-size: 11px;
  }

  .hero-copy {
    width: min(100% - 34px, 1000px);
    padding: 16px 0 34px;
  }

  .hero-photo {
    width: calc(100% - 34px);
    height: 240px;
    margin-top: 48px;
    background-position: center center;
  }

  .hero h1 {
    font-size: 24px;
    line-height: 1.55;
  }

  .hero h1 .quote {
    font-size: 29px;
  }

  .hero p {
    width: 100%;
    font-size: 13px;
  }

  .recipe-layout,
  .recipe.second .recipe-layout,
  .recipe-info {
    grid-template-columns: 1fr;
  }

  .recipe-heading h2,
  .recipe-heading small {
    white-space: normal;
  }

  .main-photo {
    width: 100%;
    height: auto;
  }

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

  .contents-card {
    grid-template-columns: 145px 1fr 22px;
  }

  .contents-card img {
    width: 145px;
  }

  .steps {
    border-left: 0;
    padding-left: 0;
  }

  .catalog-grid {
    grid-auto-columns: 50%;
  }

  .site-footer {
    padding-top: 75px;
  }

  .site-footer-inner {
    display: block;
    margin-bottom: 33px;
  }

  .site-footer-brand {
    width: 64%;
    margin: 0 auto 54px;
  }

  .site-footer-office {
    width: 90%;
    margin: 0 auto 23px;
  }

  .site-footer-office p {
    margin-bottom: 22px;
  }

  .site-contact {
    width: 95%;
    margin-left: 5%;
    padding: 20px;
  }

  .site-contact-title {
    margin-bottom: 0;
  }

  .site-contact-en {
    margin-bottom: 20px;
    font-size: 11px;
  }

  .site-contact small {
    font-size: 12px;
    line-height: 1.7;
  }

  .site-copyright {
    font-size: 11.5px;
  }
}

@media (max-width: 480px) {
  .site-brand,
  header .header-search {
    width: 300px;
    min-width: 180px;
    max-width: calc(100vw - 90px);
    margin-left: 0;
    margin-right: 80px;
  }

  header .header-search {
    align-self: flex-start;
  }

  header #header-search-keyword {
    padding: 4px 6px;
    font-size: 11px;
  }

  header .header-search-btn {
    padding: 4px 8px;
    font-size: 10px;
  }

  .site-menu-button {
    top: 10px;
    right: 10px;
  }
}

@media (max-width: 360px) {
  header .header-search {
    min-width: 160px;
    max-width: calc(100vw - 85px);
    margin-right: 60px;
  }

  header #header-search-keyword {
    padding: 3px 5px;
    font-size: 10px;
  }

  header #header-search-keyword::placeholder {
    font-size: 9px;
  }

  header .header-search-btn {
    padding: 3px 6px;
    font-size: 9px;
  }
}
