/* reset css */
html {
  line-height: 1;
  color: #212529;
  touch-action: manipulation;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body,
h1,
h2,
h3,
h4,
h5,
h6,
ul,
ol,
dl,
li,
dt,
dd,
p,
div,
span,
img,
a,
table,
tr,
th,
td,
small,
button,
time,
figure {
  margin: 0;
  padding: 0;
  font-size: 100%;
  vertical-align: baseline;
  border: 0;
}

ol,
ul,
summary {
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

li,
dd {
  list-style-type: none;
}

header,
footer,
nav,
section,
article,
main,
aside,
figure,
figcaption {
  display: block;
}

img {
  width: 100%;
  height: auto;
  vertical-align: bottom;
  border: none;
  object-fit: cover;
}

svg {
  overflow: visible;
}

button,
input,
optgroup,
select,
textarea {
  margin: 0;
  padding: 0;
  font: inherit;
  text-align: inherit;
  text-transform: inherit;
  vertical-align: middle;
  color: inherit;
  background: transparent;
  border-radius: 0;
  appearance: none;
}

button,
[type="button"],
[type="reset"],
[type="submit"] {
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

button:disabled,
[type="button"]:disabled,
[type="reset"]:disabled,
[type="submit"]:disabled {
  cursor: default;
}

img,
a,
span {
  display: inline-block;
}

a {
  text-decoration: none;
  color: inherit;
}

picture {
  display: contents;
}

video,
svg {
  width: 100%;
  height: auto;
}

summary {
  cursor: pointer;
}

@media (width < 768px) {
  .is-pc {
    display: none !important;
  }
}

@media (768px <= width) {
  .is-sp {
    display: none !important;
  }
}

/* =========================
   Variables
========================= */
:root {
  --font-family-jp: "Zen Maru Gothic", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
  --font-family-en: "Poppins", arial, sans-serif;
  --font-family-latin: "Poppins", arial, sans-serif;
  --color-main: #009140;
  --color-white: #fff;
  --text-brand: #009140;
  --text-secondary: #495057;
  --text-primary: #212529;
}

/* =========================
   共通コンポーネント
========================= */

.section__inner {
  max-width: 600px;
  margin: 0 auto;
  padding-inline: 16px;

  @media (768px <= width) {
    width: 100%;
    max-width: min(calc(1080px + 40px * 2), 100%);
    margin-inline: auto;
    padding-inline: 40px;
  }
}

.section__content {
  margin-top: 32px;
}

.section-header {
  --subtitle-color: var(--brand-text-color);
  --title-color: #212529;
}

.section-header--white {
  --subtitle-color: #fff;
  --title-color: #fff;
}

.section-header__subtitle {
  font-family: var(--font-family-latin);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  text-transform: capitalize;
  color: var(--subtitle-color);
}

.section-header__title {
  margin-top: 12px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  color: var(--title-color);
}

.btn {
  display: grid;
  position: relative;
  width: 100%;
  max-width: 250px;
  margin-inline: auto;
  padding-block: 10px;
  padding-inline: 37px;
  font-family: var(--font-family-jp);
  font-size: 16px;
  font-weight: 700;
  font-style: normal;
  line-height: 1.2;
  color: var(--text-brand);
  background-color: var(--color-white);
  border: 2px solid currentcolor;
  border-radius: 100px;
  box-shadow: 0 6px 0 0 #004a28;
  transition: background-color 0.2s ease-in-out;
  place-items: center;
}

.btn:hover {
  color: var(--text-brand);
  background-color: #e9ecef;
}

/* =========================
  レシピ詳細
========================= */
.recipe-detail__intro {
  margin-block-start: 74px;

  @media (768px <= width) {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    max-width: 1080px;
    margin-top: 128px;
    margin-inline: auto;
    padding-inline: 24px;
  }
}

.recipe-detail__new {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  border-radius: 999999px;
  background: #e9444d;
  position: absolute;
  top: 16px;
  left: 16px;

  color: #fff;
  font-family: "Inter", sans-serif;
  font-size: 12px;
  font-style: italic;
  font-weight: 600;
  line-height: 150%; /* 24.098px */
  @media (768px <= width) {
    width: 54px;
    height: 54px;
    font-size: 16px;
    top: 12px;
    left: 12px;
  }
}

.recipe-detail__image {
  position: relative;
  @media (768px <= width) {
    flex: 1 1 0;
    flex-basis: 504px;
    width: 100%;
    max-width: 504px;
    min-width: 0;
  }
}

.recipe-detail__body {
  @media (768px <= width) {
    flex: 1 1 0;
    flex-basis: 480px;
    width: 100%;
    max-width: 480px;
    min-width: 0;
    margin-inline: 00;
    padding-inline: 0;
  }
}

.recipe-detail__title {
  margin-block: 15.61px 24px;
  font-family: var(--font-family-jp);
  font-size: 24px;
  font-weight: 700;
  font-style: normal;
  line-height: 150%;
  color: var(--text-primary);

  @media (768px <= width) {
    margin-top: 0;
    font-size: 28px;
  }
}

.recipe-author__head {
  display: flex;
  align-items: center;
  column-gap: 16px;
}

.recipe-author__image {
  width: 40px;
}

.recipe-author__meta {
  display: flex;
  flex-direction: column;
  row-gap: 4px;
}

.recipe-author__role {
  font-family: var(--font-family-jp);
  font-size: 10px;
  font-weight: 700;
  font-style: normal;
  line-height: 150%;
  color: var(--color-main);
}

.recipe-author__label {
  font-family: var(--font-family-jp);
  font-size: 14px;
  font-weight: 700;
  font-style: normal;
  line-height: 150%;
  color: var(--text-primary);
}

.recipe-author__comment {
  margin-block-start: 12px;
  padding: 16px;
  font-family: var(--font-family-jp);
  font-size: 14px;
  font-weight: 400;
  font-style: normal;
  line-height: 180%;
  color: var(--text-primary);
  background: #f9f9f9;
  border-radius: 8px;
}

/* =========================
  材料
========================= */

.material-steps {
  @media (768px <= width) {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    max-width: calc(1056px + 80px);
    margin-top: 41px;
    margin-inline: auto;
    padding-inline: 40px;
  }
}

.material {
  padding-block-start: 40px;

  @media (768px <= width) {
    flex: 1 1 0;
    width: 100%;
    max-width: 504px;
    margin-inline: 0;
  }
}

.material__inner {
  @media (768px <= width) {
    padding-inline: 0;
  }
}

.material__head {
  max-width: 600px;
  margin-block-end: 16px;
  margin-inline: auto;
  padding-inline: 16px;
  font-family: var(--font-family-jp);
  font-size: 20px;
  font-weight: 700;
  font-style: normal;
  line-height: 150%;
  color: var(--text-primary);
}

.material__head span {
  font-family: var(--font-family-jp);
  font-size: 14px;
  font-weight: 700;
  font-style: normal;
  line-height: 150%;
  color: var(--text-primary);
}

.material__container {
  padding-block: 16px;
  background-image: url("../../img/202604/kurihara-detail/common/materials-bg.png");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;

  .section__inner {
    padding-inline: 16px;
  }
}

.materials-list {
  padding: 16px 24px 24px;
  background: #fff;
  border-radius: 16px;
}

.materials-list__item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 12px 0 10px;
  border-bottom: 2px dashed #e5e5e5;
}

.materials-list__name {
  font-family: var(--font-family-jp);
  font-size: 14px;
  font-weight: 400;
  font-style: normal;
  line-height: 150%;
  color: var(--text-primary);
}

.materials-list__amount {
  font-family: var(--font-family-jp);
  font-size: 14px;
  font-weight: 400;
  font-style: normal;
  line-height: 150%;
  color: var(--text-primary);
  flex-shrink: 0;
}

.materials-list__title {
  padding-block-start: 16px;
  font-family: var(--font-family-jp);
  font-size: 12px;
  font-weight: 700;
  font-style: normal;
  line-height: 150%; /* 18px */
  color: var(--text-primary);
}

/* =========================
  作り方
========================= */
.steps {
  padding-block: 40px 48px;

  @media (768px <= width) {
    @media (768px <= width) {
      flex: 1 1 0;
      width: 100%;
      max-width: 504px;
      margin-inline: 0;
    }
  }
}

.steps__inner {
  @media (768px <= width) {
    padding-inline: 0;
  }
}

.steps__head {
  margin-block-end: 16px;
  font-family: var(--font-family-jp);
  font-size: 20px;
  font-weight: 700;
  font-style: normal;
  line-height: 150%; /* 30px */
  color: var(--text-primary);
}

.steps__list {
  display: flex;
  flex-direction: column;
  row-gap: 16px;
  counter-reset: step;
}

.steps__item {
  position: relative;
}

.steps__item::before {
  content: counter(step);
  display: flex;
  position: absolute;
  top: 0;
  left: 0;
  justify-content: center;
  align-items: center;
  width: 24px;
  height: 24px;
  font-family: var(--font-family-jp);
  font-size: 14px;
  font-weight: 700;
  font-style: normal;
  line-height: 100%;
  text-align: center;
  color: #fff;
  background: var(--primitive-orange-700, #773807);
  border-radius: 50%;
  counter-increment: step;
}

.steps__text {
  padding-left: 32px;
  font-family: var(--font-family-jp);
  font-size: 16px;
  font-weight: 400;
  font-style: normal;
  line-height: 150%;
  color: var(--text-primary);
}

.steps__image {
  width: 100%;
  max-width: 223px;
  margin-block: 24px 8px;
  margin-inline: auto;
}

.steps__image img {
  width: 100%;
  aspect-ratio: 223/335;
  object-fit: cover;
}

/* =========================
cta
========================= */
.cta {
  padding-block: 24.8px 71px;

  @media (768px <= width) {
    padding-top: 63px;
    padding-bottom: 62px;
  }
}

.cta__inner {
  @media (768px <= width) {
    width: 100%;
    max-width: min(calc(1080px + 40px * 2), 100%);
    margin-inline: auto;
    padding-inline: 40px;
  }
}

.cta__container {
  background-image: url("../../img/202604/kurihara-list/cta/cta-bg.png");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  border-radius: 16px;

  @media (768px <= width) {
    background-image: url("../../img/202604/kurihara-list/cta/cta-bg-pc.png");
  }
}

.cta__content {
  padding-block: 32px;
  padding-inline: 16px;

  @media (768px <= width) {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    width: 100%;
    max-width: calc(848px + 32px);
    margin-inline: auto;
    padding-top: 68px;
    padding-bottom: 63px;
  }
}

.cta__body {
  @media (768px <= width) {
    flex: 1 1 0;
    width: 100%;
    max-width: 476px;
    min-width: 0;
  }
}

.cta__logo {
  width: 172px;
  margin-inline: auto;

  @media (768px <= width) {
    width: 300px;
    margin-inline: 0;
  }
}

.cta__catch {
  margin-block: 40px 16px;
  font-family: var(--font-family-jp);
  font-size: var(--size-xl, 20px);
  font-weight: var(--weight-bold, 700);
  font-style: normal;
  line-height: 140%;
  text-align: center;
  text-shadow: 0 0 8px rgb(0 0 0 / 50%);
  color: var(--text-inverse, #fff);

  @media (768px <= width) {
    margin-top: 0;
    font-size: 24px;
    text-align: left;
  }
}

.cta__text {
  margin-block-end: 95px;
  font-family: var(--font-family-jp);
  font-size: var(--size-sm, 14px);
  font-weight: 400;
  font-style: normal;
  line-height: 220%;
  text-align: center;
  text-shadow: 0 0 4px #000;
  color: var(--text-inverse, #fff);

  @media (768px <= width) {
    margin-block-end: 15px;
    text-align: left;
  }
}

.cta__button a {
  display: flex;
  position: relative;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 44px;
  max-width: 320px;
  margin-inline: auto;
  padding-inline: 16px;
  font-family: var(--font-family-jp);
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  color: var(--color-white);
  background: #773807;
  border-radius: 9999px;
  box-shadow: 0 6px 0 0 #361a05;
  transition:
    transform 0.12s ease,
    box-shadow 0.12s ease;

  @media (768px <= width) {
    width: 100%;
    max-width: 404px;
    margin-inline: 0;
  }
}

.cta__button a:hover {
  background: #552807;
}

.cta__button a::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 12px;
  width: 28px;
  height: 28px;
  background-image: url("../../img/202604/kurihara-list/cta/icon-arrow.png");
  background-position: center;
  background-size: 20px 20px;
  background-repeat: no-repeat;
  transform: translateY(-50%);
}

.back-button-wrap {
  margin-block-start: 46px;
  text-align: center;
}

.back-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 16px 28px 14px;
  font-family: var(--font-family-jp);
  font-size: 16px;
  font-weight: 700;
  font-style: normal;
  line-height: 130%;
  text-align: center;
  text-decoration: none;
  color: var(--color-main);
  background: #fff;
  border: 2px solid var(--color-main);
  border-radius: 88px;
  box-shadow: 0 4px 0 0 #004a28;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease;
}

.back-button__icon svg {
  display: block;
  width: 24px;
}

.back-button:hover {
  background: #e6f4ed;
}

/* 
.back-button:active {
  transform: translateY(4px);
  box-shadow: none;
} */


.guide-list__btn-arrow-wrap {
  position: absolute;
  top: calc(50% + 0px);
  left: 14px;
  translate: 0 -50%;
  img {
    display: block;
  }
}
