@charset "UTF-8";
html {
  scroll-behavior: smooth;
}

body {
  font-family: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.7;
  color: #2d2a2b;
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
}

.container {
  width: min(100% - 2.5rem, 70rem);
  margin-inline: auto;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.75rem 2rem;
  border-radius: 62.4375rem;
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease, opacity 0.3s ease;
}

.button--primary {
  background: #a64566;
  color: #ffffff;
}
.button--primary:hover {
  background: #82344f;
}

.button--ghost {
  border: 1px solid currentColor;
  color: #a64566;
  background: transparent;
}
.button--ghost:hover {
  background: #a64566;
  border-color: #a64566;
  color: #ffffff;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid #e0e0e0;
  backdrop-filter: blur(0.75rem);
}

.site-header__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.25rem;
}

.site-header__logo {
  display: flex;
  flex-direction: column;
  font-family: "Playfair Display", "Shippori Mincho", "Hiragino Mincho ProN", serif;
  font-size: 1.3125rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: #2d2a2b;
  line-height: 1.2;
}

.site-header__logo-sub {
  font-size: 0.625rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #9c7c52;
}

.site-header__menu-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 4.5rem;
  min-height: 2.75rem;
  padding-inline: 1rem;
  border: 1px solid #e0e0e0;
  border-radius: 62.4375rem;
  background: #ffffff;
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  cursor: pointer;
}

@media screen and (min-width: 48rem) {
  .site-header__menu-button {
    display: none;
  }
}
.site-nav {
  display: none;
  position: absolute;
  top: calc(100% + 1px);
  left: 0;
  width: 100%;
  padding: 1.25rem 0;
  background: #ffffff;
  border-bottom: 1px solid #e0e0e0;
}

.site-nav.is-open {
  display: block;
}

.site-nav__list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding-inline: 1.25rem;
}

.site-nav__link {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  font-size: 0.875rem;
  letter-spacing: 0.08em;
  color: #2d2a2b;
  transition: color 0.3s ease;
}
.site-nav__link:hover {
  color: #a64566;
}

@media screen and (min-width: 48rem) {
  .site-nav {
    display: block;
    position: static;
    width: auto;
    padding: 0;
    background: transparent;
    border-bottom: none;
  }
  .site-nav__list {
    flex-direction: row;
    align-items: center;
    gap: 1.75rem;
    padding-inline: 0;
  }
}
.section {
  position: relative;
  overflow: hidden;
  padding-block: 4.5rem;
}

.section--rose {
  background: #f7f3f2;
}

.section--sage {
  background: #f2f4f0;
}

.section[data-deco]::before {
  content: attr(data-deco);
  position: absolute;
  top: 2.25rem;
  left: 50%;
  translate: -50% 0;
  font-family: "Playfair Display", "Shippori Mincho", "Hiragino Mincho ProN", serif;
  font-style: italic;
  font-size: clamp(3.25rem, 9vw, 5.5rem);
  line-height: 1;
  letter-spacing: 0.06em;
  white-space: nowrap;
  color: #a64566;
  opacity: 0.05;
  pointer-events: none;
}

.section__header {
  display: grid;
  gap: 0.625rem;
  margin-bottom: 2.5rem;
}

.section__header--center {
  justify-items: center;
  text-align: center;
}

.section__label {
  font-family: "Playfair Display", "Shippori Mincho", "Hiragino Mincho ProN", serif;
  font-style: italic;
  font-size: 1.125rem;
  letter-spacing: 0.18em;
  color: #9c7c52;
}

.section__title {
  font-family: "Playfair Display", "Shippori Mincho", "Hiragino Mincho ProN", serif;
  font-size: 1.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1.5;
}

.section__text {
  font-size: 0.875rem;
  color: #787276;
}

@media screen and (min-width: 48rem) {
  .section {
    padding-block: 6rem;
  }
  .section__title {
    font-size: 2.125rem;
  }
}
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #f7f3f2 0%, #ffffff 55%, #f2f4f0 100%);
}

.hero__inner {
  position: relative;
  display: grid;
  gap: 2.5rem;
  justify-items: center;
  padding-block: 4rem;
}

.hero__content {
  display: grid;
  gap: 1.25rem;
  justify-items: center;
  text-align: center;
  max-width: 38.75rem;
}

.hero__eyebrow {
  font-family: "Playfair Display", "Shippori Mincho", "Hiragino Mincho ProN", serif;
  font-style: italic;
  font-size: clamp(1.25rem, 4vw, 1.875rem);
  line-height: 1.3;
  letter-spacing: 0.14em;
  color: #9c7c52;
}

.hero__title {
  font-family: "Playfair Display", "Shippori Mincho", "Hiragino Mincho ProN", serif;
  font-size: 2.125rem;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.06em;
}

.hero__title-em {
  color: #a64566;
  font-style: normal;
}

.hero__text {
  font-size: 0.875rem;
  line-height: 2;
  color: #787276;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.hero__media {
  position: relative;
  width: 100%;
}

.hero__collage-full {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  max-width: 65rem;
  margin-inline: auto;
}

.hero__collage-item {
  flex: 1 1 0;
  min-width: 0;
  margin-inline: -6%;
}

.hero__collage-item:first-child {
  margin-left: 0;
}

.hero__collage-item:last-child {
  margin-right: 0;
}

.hero__collage-item img {
  display: block;
  width: 100%;
  height: auto;
}

@media screen and (min-width: 48rem) {
  .hero__inner {
    gap: 3.5rem;
    padding-block: 6rem;
  }
  .hero__title {
    font-size: 3rem;
  }
}
.concept__lead {
  max-width: 40rem;
  margin-inline: auto;
  text-align: center;
  font-size: 0.9375rem;
  line-height: 2.2;
}

.concept__lead strong {
  color: #a64566;
  font-weight: 700;
}

.concept__formula {
  display: grid;
  justify-items: center;
  gap: 1.25rem;
  max-width: 35rem;
  margin: 3rem auto 0;
  text-align: center;
}

.concept__term {
  display: grid;
  gap: 0.5rem;
  justify-items: center;
}

.concept__term-label {
  font-family: "Playfair Display", "Shippori Mincho", "Hiragino Mincho ProN", serif;
  font-style: italic;
  font-size: 0.8125rem;
  letter-spacing: 0.16em;
  color: #787276;
}

.concept__term-body {
  font-family: "Playfair Display", "Shippori Mincho", "Hiragino Mincho ProN", serif;
  font-size: 1.3125rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  line-height: 1.5;
}

.concept__term--result .concept__term-label {
  color: #9c7c52;
}

.concept__term--result .concept__term-body {
  padding-bottom: 0.75rem;
  color: #a64566;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 10' preserveAspectRatio='none'%3E%3Cpath d='M2 7 Q 50 2 100 6 T 198 5' fill='none' stroke='%239c7c52' stroke-width='2.5' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat bottom center/100% 0.5rem;
}

.concept__operator {
  font-family: "Playfair Display", "Shippori Mincho", "Hiragino Mincho ProN", serif;
  font-style: italic;
  font-size: 1.75rem;
  line-height: 1;
  color: #9c7c52;
}

.concept__list {
  display: grid;
  gap: 1.25rem;
  margin-top: 3rem;
}

.concept-card {
  position: relative;
  display: grid;
  gap: 0.75rem;
  padding: 2rem 1.75rem;
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 0.25rem;
}

.concept-card__tag {
  justify-self: start;
  padding: 0.25rem 0.875rem;
  border-radius: 62.4375rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #ffffff;
}

.concept-card__tag--look {
  background: #a64566;
}

.concept-card__tag--skin {
  background: #9c7c52;
}

.concept-card__title {
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.concept-card__text {
  font-size: 0.875rem;
  color: #787276;
}

@media screen and (min-width: 48rem) {
  .concept__formula {
    grid-template-columns: repeat(5, auto);
    justify-content: center;
    align-items: end;
    max-width: none;
    gap: 1.75rem;
  }
  .concept__term-body {
    white-space: nowrap;
    padding-bottom: 0.75rem;
  }
  .concept__operator {
    align-self: end;
    padding-bottom: 0.875rem;
  }
  .concept__list {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
  }
}
.cta-banner {
  position: relative;
  overflow: hidden;
  padding: 2rem 1.75rem;
  border-radius: 0.75rem;
  background-color: #f7f3f2;
  background-image: url("../img/page/cta_bg.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #2d2a2b;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1;
  border: 1px solid rgba(156, 124, 82, 0.25);
}
@media screen and (min-width: 768px) {
  .cta-banner {
    padding: 4rem 3rem;
  }
}

/* 文字の視認性を100%確保するための、中央のレイアウトラッパー */
.cta-banner__card {
  display: grid;
  gap: 1rem;
  justify-items: center;
  max-width: 35rem; /* 左右のコスメイラストと文字が重なるのを防ぐための幅制限 */
  width: 100%;
  z-index: 2;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(0.125rem);
  padding: 1.5rem 1rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(156, 124, 82, 0.15);
  box-shadow: 0 0.5rem 2rem rgba(45, 42, 43, 0.06);
}
@media screen and (min-width: 768px) {
  .cta-banner__card {
    gap: 1.25rem;
    padding: 3rem 2.5rem;
  }
}

.cta-banner__title {
  font-family: "Playfair Display", "Shippori Mincho", "Hiragino Mincho ProN", serif;
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.6;
  color: #a64566; /* 深いローズピンクでタイトルを引き立たせる */
  max-width: 37.5rem;
}
@media screen and (min-width: 768px) {
  .cta-banner__title {
    font-size: 1.5rem;
    letter-spacing: 0.08em;
  }
}

.cta-banner__title span,
.cta-banner__text span {
  display: inline-block;
}

.cta-banner__text {
  font-size: 0.8125rem;
  color: #787276;
  max-width: 31.25rem;
}
@media screen and (min-width: 768px) {
  .cta-banner__text {
    font-size: 0.875rem;
  }
}

.blog-list {
  display: grid;
  gap: 1.5rem;
}

.blog-card {
  display: grid;
  gap: 0.875rem;
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 0.25rem;
  overflow: hidden;
  transition: box-shadow 0.3s ease;
}
.blog-card:hover {
  box-shadow: 0 0.5rem 1.5rem rgba(45, 42, 43, 0.08);
}

.blog-card__media {
  overflow: hidden;
}

.blog-card__media img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  transition: scale 0.4s ease;
}

.blog-card:hover .blog-card__media img {
  scale: 1.04;
}

.blog-card__body {
  display: grid;
  gap: 0.625rem;
  padding: 1.25rem 1.25rem 1.5rem;
}

.blog-card__tag {
  justify-self: start;
  padding: 0.1875rem 0.75rem;
  border-radius: 62.4375rem;
  background: #9c7c52;
  color: #ffffff;
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
}

.blog-card__title {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.6;
}

.blog-card__date {
  font-family: "Playfair Display", "Shippori Mincho", "Hiragino Mincho ProN", serif;
  font-style: italic;
  font-size: 0.75rem;
  color: #787276;
}

@media screen and (min-width: 48rem) {
  .blog-list {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
  }
}
.diagnosis {
  min-height: 70vh;
}

.diagnosis__inner {
  max-width: 40rem;
  margin-inline: auto;
  padding-block: 3rem;
}

.progress {
  display: grid;
  gap: 0.625rem;
}

.progress__meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.progress__step {
  font-family: "Playfair Display", "Shippori Mincho", "Hiragino Mincho ProN", serif;
  font-style: italic;
  font-size: 1.0625rem;
  letter-spacing: 0.12em;
  color: #9c7c52;
}

.progress__count {
  font-size: 0.75rem;
  color: #787276;
}

.progress__track {
  height: 0.375rem;
  border-radius: 62.4375rem;
  background: #e0e0e0;
  overflow: hidden;
}

.progress__bar {
  height: 100%;
  width: 0;
  border-radius: 62.4375rem;
  background: linear-gradient(90deg, #9c7c52, #a64566);
  transition: width 0.5s ease;
}

.quiz {
  margin-top: 2.25rem;
}

.quiz__card {
  display: grid;
  gap: 1.5rem;
  opacity: 1;
  translate: 0 0;
  transition: opacity 0.35s ease, translate 0.35s ease;
}

.quiz__card.is-leaving {
  opacity: 0;
  translate: -1.5rem 0;
}

.quiz__card.is-entering {
  opacity: 0;
  translate: 1.5rem 0;
}

.quiz__question {
  font-family: "Playfair Display", "Shippori Mincho", "Hiragino Mincho ProN", serif;
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.7;
  letter-spacing: 0.04em;
}

.quiz__choices {
  display: grid;
  gap: 0.75rem;
}

.quiz__choice {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  min-height: 3.5rem;
  padding: 0.875rem 1.25rem;
  border: 1px solid #e0e0e0;
  border-radius: 0.25rem;
  background: #ffffff;
  font-size: 0.9375rem;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.25s ease, background-color 0.25s ease;
}
.quiz__choice:hover {
  border-color: #a64566;
  background: rgba(166, 69, 102, 0.04);
}

.quiz__choice-mark {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  border: 1px solid #9c7c52;
  border-radius: 50%;
  font-family: "Playfair Display", "Shippori Mincho", "Hiragino Mincho ProN", serif;
  font-style: italic;
  font-size: 0.8125rem;
  color: #9c7c52;
}

.quiz__note {
  margin-top: 2rem;
  font-size: 0.75rem;
  color: #787276;
  text-align: center;
}

.result-hero {
  padding-block: 3.5rem;
  background: linear-gradient(135deg, #f7f3f2 0%, #ffffff 55%, #f2f4f0 100%);
  text-align: center;
}

.result-hero__inner {
  display: grid;
  gap: 1.25rem;
  justify-items: center;
}

.result-hero__label {
  font-family: "Playfair Display", "Shippori Mincho", "Hiragino Mincho ProN", serif;
  font-style: italic;
  font-size: clamp(1.25rem, 4vw, 1.75rem);
  letter-spacing: 0.2em;
  color: #9c7c52;
}

.result-hero__media {
  position: relative;
  width: 13.75rem;
  aspect-ratio: 1/1;
  border-radius: 50%;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 0 0 0.4375rem #ffffff, 0 0 0 calc(0.4375rem + 1px) rgba(156, 124, 82, 0.5);
}

.result-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  scale: 1.2;
  transform-origin: top center;
}

@media screen and (min-width: 48rem) {
  .result-hero__media {
    width: 17.5rem;
  }
}
.result-hero__types {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.625rem;
}

.result-hero__type {
  padding: 0.5rem 1.375rem;
  border: 1px solid #a64566;
  border-radius: 62.4375rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: #a64566;
  background: #ffffff;
}

.result-hero__cross {
  font-family: "Playfair Display", "Shippori Mincho", "Hiragino Mincho ProN", serif;
  font-style: italic;
  color: #9c7c52;
}

.result-hero__summary {
  max-width: 35rem;
  font-size: 0.875rem;
  line-height: 2;
  color: #787276;
}

/* SNSシェアエリア */
.result-share {
  margin-top: 1.5rem;
  text-align: center;
}

.result-share__title {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  color: #9c7c52;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
}

.result-share__buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
}

.result-share__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.5rem 1.5rem;
  border-radius: 62.4375rem;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: opacity 0.3s ease, transform 0.2s ease;
  color: #ffffff;
}
.result-share__button:hover {
  opacity: 0.85;
  transform: translateY(-0.0625rem);
  color: #ffffff;
}
.result-share__button:active {
  transform: translateY(0);
}

.result-share__button--x {
  background-color: #000000;
}

.result-share__button--line {
  background-color: #06c755;
}

.result-share__icon {
  flex-shrink: 0;
}

.recipe__list {
  display: grid;
  gap: 2.5rem; /* ステップ間の隙間を広げて視認性アップ */
  max-width: 50rem; /* PCでの幅を制限して読みやすく */
  margin-inline: auto;
}

.recipe-card {
  display: grid;
  gap: 0.875rem;
  padding: 1.75rem;
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 0.25rem;
}

.recipe-card__step {
  font-family: "Playfair Display", "Shippori Mincho", "Hiragino Mincho ProN", serif;
  font-style: italic;
  font-size: 0.8125rem;
  letter-spacing: 0.16em;
  color: #9c7c52;
}

.recipe-card__title {
  font-size: 1.0625rem;
  font-weight: 700;
}

.recipe-card__items {
  display: grid;
  gap: 0.625rem;
}

.recipe-card__item {
  display: grid;
  gap: 0.125rem;
  padding-left: 1rem;
  border-left: 2px solid #f7f3f2;
  font-size: 0.875rem;
}

.recipe-card__item-name {
  font-weight: 500;
}

.recipe-card__item-desc {
  font-size: 0.8125rem;
  color: #787276;
}

.formula {
  display: grid;
  gap: 1.25rem;
  padding: 2rem 1.75rem;
  background: #ffffff;
  border: 1px solid #9c7c52;
  border-radius: 0.25rem;
}

.formula__title {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.625rem;
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.5;
}

.formula__badge {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  white-space: nowrap;
  padding: 0.25rem 0.875rem;
  border-radius: 62.4375rem;
  background: #9c7c52;
  color: #ffffff;
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
}

.formula__text {
  font-size: 0.875rem;
  line-height: 2;
}

.formula__ingredients {
  display: grid;
  gap: 0.5rem;
  padding: 1rem 1.25rem;
  background: #f2f4f0;
  border-radius: 0.25rem;
  font-size: 0.8125rem;
}

.formula__ingredient {
  display: block;
  line-height: 1.8;
}

.formula__ingredient-name {
  font-weight: 700;
}

.article {
  max-width: 45rem;
  margin-inline: auto;
  padding-block: 3rem;
}

.article__header {
  display: grid;
  gap: 0.875rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #e0e0e0;
}

.article__tag {
  justify-self: start;
  padding: 0.1875rem 0.75rem;
  border-radius: 62.4375rem;
  background: #9c7c52;
  color: #ffffff;
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
}

.article__title {
  font-family: "Playfair Display", "Shippori Mincho", "Hiragino Mincho ProN", serif;
  font-size: 1.625rem;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 0.04em;
}

.article__date {
  font-family: "Playfair Display", "Shippori Mincho", "Hiragino Mincho ProN", serif;
  font-style: italic;
  font-size: 0.8125rem;
  color: #787276;
}

.article__media {
  margin-top: 2rem;
}

.article__media img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: 0.25rem;
}

.article__body {
  display: grid;
  gap: 1.5rem;
  margin-top: 2.5rem;
  font-size: 0.9375rem;
  line-height: 2.1;
}

.article__body h2 {
  margin-top: 1rem;
  padding-left: 0.875rem;
  border-left: 3px solid #a64566;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.6;
}

.article__body h3 {
  font-size: 1.0625rem;
  font-weight: 700;
}

.article__point {
  display: grid;
  gap: 0.5rem;
  padding: 1.25rem 1.5rem;
  background: #f7f3f2;
  border-radius: 0.25rem;
  font-size: 0.875rem;
}

.article__point-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  color: #a64566;
}

@media screen and (min-width: 48rem) {
  .article__title {
    font-size: 2rem;
  }
}
.type-switcher {
  display: grid;
  gap: 1.75rem;
  max-width: 42.5rem;
  margin-inline: auto;
}

.type-switcher__group {
  display: grid;
  gap: 0.75rem;
}

.type-switcher__label {
  font-family: "Playfair Display", "Shippori Mincho", "Hiragino Mincho ProN", serif;
  font-style: italic;
  font-size: 1rem;
  letter-spacing: 0.1em;
  color: #9c7c52;
}

.type-switcher__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
}

.type-switcher__chip {
  min-height: 2.75rem;
  padding: 0.5rem 1.25rem;
  border: 1px solid #e0e0e0;
  border-radius: 62.4375rem;
  background: #ffffff;
  font-size: 0.875rem;
  letter-spacing: 0.04em;
  color: #2d2a2b;
  cursor: pointer;
  transition: border-color 0.25s ease, background-color 0.25s ease, color 0.25s ease;
}
.type-switcher__chip:hover {
  border-color: #a64566;
  color: #a64566;
}

.type-switcher__chip.is-active {
  background: #a64566;
  border-color: #a64566;
  color: #ffffff;
}

.result-restart {
  display: grid;
  gap: 1rem;
  justify-items: center;
  margin-top: 3.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid #e0e0e0;
  text-align: center;
}

.result-restart__text {
  font-size: 0.875rem;
  color: #787276;
}

.contact-lead {
  display: grid;
  gap: 1.5rem;
  justify-items: center;
  max-width: 35rem;
  margin-inline: auto;
  padding: 3rem 1.75rem;
  background: #f7f3f2;
  border-radius: 0.5rem;
  text-align: center;
}

.contact-lead__text {
  font-size: 0.9375rem;
  line-height: 2;
}

.contact-lead__button {
  min-width: 17.5rem;
}

.contact-form__note {
  font-size: 0.75rem;
  color: #787276;
  text-align: center;
}

.site-footer {
  margin-top: 2.5rem;
  padding-block: 2.5rem;
  background: #2a2326;
  color: #ffffff;
}

.site-footer__inner {
  display: grid;
  gap: 1rem;
  justify-items: center;
  text-align: center;
}

.site-footer__logo {
  font-family: "Playfair Display", "Shippori Mincho", "Hiragino Mincho ProN", serif;
  font-size: 1.375rem;
  letter-spacing: 0.08em;
}

.site-footer__note {
  font-size: 0.6875rem;
  opacity: 0.6;
}

.site-footer__legal {
  display: flex;
  gap: 1.25rem;
  justify-content: center;
}
.site-footer__legal a {
  font-size: 0.75rem;
  opacity: 0.7;
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 0.1875rem;
}
.site-footer__legal a:hover {
  opacity: 1;
}

.site-footer__copy {
  font-size: 0.75rem;
  opacity: 0.7;
}

@keyframes rise-in {
  from {
    opacity: 0;
    translate: 0 1.25rem;
  }
}
.hero__eyebrow,
.hero__title,
.hero__text,
.hero__actions {
  animation: rise-in 0.9s ease-out both;
}

.hero__title {
  animation-delay: 0.15s;
}

.hero__text {
  animation-delay: 0.35s;
}

.hero__actions {
  animation-delay: 0.55s;
}

.hero__media {
  animation: rise-in 1s ease-out 0.3s both;
}

.js-reveal {
  opacity: 0;
  translate: 0 1.5rem;
  transition: opacity 0.9s ease, translate 0.9s ease;
  transition-delay: var(--reveal-delay, 0s);
}

.js-reveal.is-visible {
  opacity: 1;
  translate: 0 0;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .button,
  .blog-card__media img,
  .progress__bar,
  .quiz__card {
    transition: none;
  }
  .hero__eyebrow,
  .hero__title,
  .hero__text,
  .hero__actions,
  .hero__media {
    animation: none;
  }
  .js-reveal {
    opacity: 1;
    translate: 0 0;
    transition: none;
  }
}
/* ==========================================================================
   Product cards & Modal (Affiliate popup)
   ========================================================================== */
/* レシピカード内の商品リストデザイン */
.recipe-card__lead {
  font-size: 0.8125rem;
  line-height: 1.6;
  color: #787276;
  background: #f7f3f2;
  border-left: 2px solid #9c7c52;
  padding: 0.75rem 1rem;
  margin-bottom: 1.25rem;
  text-align: left;
  border-radius: 0 0.25rem 0.25rem 0;
}

.recipe-card__section {
  margin-top: 1.5rem;
  border-top: 1px dashed #e0d8d0;
  padding-top: 1.25rem;
}

.recipe-card__section-title {
  font-family: "Playfair Display", "Shippori Mincho", "Hiragino Mincho ProN", serif;
  font-size: 0.9375rem;
  color: #9c7c52;
  margin-bottom: 0.75rem;
  font-weight: 600;
  text-align: left;
}

.product-list {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: 1fr;
}

.product-item {
  display: grid;
  grid-template-columns: 3.5rem 1fr;
  grid-template-areas: "media info" "btn   btn";
  align-items: center;
  gap: 0.625rem 0.875rem;
  background: #f7f3f2;
  border: 1px solid #eae2db;
  border-radius: 0.5rem;
  padding: 0.875rem 1rem;
  transition: all 0.25s ease;
  cursor: pointer;
}
.product-item:hover {
  background: #fdfcfa;
  border-color: #dcd0c4;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.02);
}

.product-item__media {
  grid-area: media;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 0.375rem;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #eae2db;
}

.product-item__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media screen and (min-width: 768px) {
  /* PC版：1行に3商品を横並びにする */
  .product-list {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }
  /* PC版：上に画像、下にテキストの縦長カード形式にする */
  .product-item {
    grid-template-columns: 1fr;
    grid-template-areas: "media" "info" "btn";
    justify-items: center;
    text-align: center;
    padding: 1.25rem 1rem;
    gap: 0.75rem;
  }
  .product-item__media {
    width: 5.625rem;
    height: 5.625rem;
  }
}
.product-item__info {
  grid-area: info;
  min-width: 0;
  text-align: left;
}

.product-item__brand {
  font-size: 0.6875rem;
  color: #9c7c52;
  letter-spacing: 0.05em;
  margin-bottom: 0.125rem;
}

.product-item__name {
  font-size: 0.875rem;
  font-weight: 500;
  color: #2d2a2b;
  margin-bottom: 0.125rem;
}

.product-item__price {
  font-size: 0.75rem;
  color: #888;
}

.product-item__btn {
  grid-area: btn;
  width: 100%;
  min-height: 2.5rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: #a64566;
  background: #ffffff;
  border: 1px solid #a64566;
  border-radius: 2rem;
  padding: 0.5rem 0.875rem;
  cursor: pointer;
  transition: all 0.25s ease;
}
.product-item__btn:hover {
  color: #ffffff;
  background: #a64566;
}

@media screen and (min-width: 48rem) {
  .product-item__btn {
    width: auto;
  }
}
/* ポップアップ（モーダル）のスタイル */
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(45, 42, 43, 0.45);
  backdrop-filter: blur(0.5rem);
  animation: fadeIn 0.3s ease-out;
}

.modal__container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 30rem;
  background: #ffffff;
  border-radius: 1rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  animation: slideUp 0.3s ease-out;
}

.modal__close {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  font-size: 1.75rem;
  line-height: 1;
  color: #888;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 3;
  transition: color 0.2s ease;
}
.modal__close:hover {
  color: #2d2a2b;
}

.modal__content {
  padding: 2rem 1.5rem 1.5rem;
  text-align: center;
}

/* モーダル内の商品情報 */
.modal-product__media {
  width: 6.875rem;
  height: 6.875rem;
  border-radius: 0.5rem;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #eae2db;
  margin: 0.5rem auto 1rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.modal-product__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-product__brand {
  font-size: 0.75rem;
  color: #9c7c52;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.375rem;
}

.modal-product__name {
  font-family: "Playfair Display", "Shippori Mincho", "Hiragino Mincho ProN", serif;
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.4;
  color: #2d2a2b;
  margin-bottom: 0.375rem;
}

.modal-product__price {
  font-size: 0.8125rem;
  color: #888;
  margin-bottom: 1rem;
}

.modal-product__desc-box {
  background: #f7f3f2;
  border: 1px solid #eae2db;
  border-radius: 0.5rem;
  padding: 1rem;
  margin-bottom: 1.25rem;
  text-align: left;
}

.modal-product__desc-title {
  font-size: 0.75rem;
  font-weight: 700;
  color: #9c7c52;
  margin-bottom: 0.375rem;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.modal-product__desc-text {
  font-size: 0.875rem;
  line-height: 1.6;
  color: #4a4547;
}

/* アフィリエイトボタンのスタイリング */
.modal-product__buttons {
  display: grid;
  gap: 0.75rem;
}

.modal-product__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.875rem;
  border-radius: 2rem;
  text-decoration: none;
  transition: all 0.25s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.modal-product__btn--amazon {
  color: #111;
  background: #FF9900;
  border: 1px solid #e58a00;
}
.modal-product__btn--amazon:hover {
  background: #e58a00;
  transform: translateY(-0.0625rem);
}

.modal-product__btn--rakuten {
  color: #ffffff;
  background: #BF0000;
  border: 1px solid #a60000;
}
.modal-product__btn--rakuten:hover {
  background: #a60000;
  transform: translateY(-0.0625rem);
}

/* アニメーション用 */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes slideUp {
  from {
    transform: translateY(1.25rem);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
