@charset "UTF-8";

/* ============================================================
   アロマグレイス LP
============================================================ */

/* ============================================================
   abstracts
============================================================ */
:root {
  /* color */
  --c-text:        #333333;
  --c-text-sub:    #555555;
  --c-gold:        #8A7029;
  --c-gold-lt:     #C5B074;
  --c-gold-pale:   #CFBD8B;
  --c-beige:       #E3D8BA;
  --c-beige-lt:    #F0E8D0;
  --c-cream:       #FDFBF4;
  --c-cream-lt:    #FFFCF5;
  --c-gray:        #707070;
  --c-gray-dk:     #5D5D5D;
  --c-line:        #E5E5E5;
  --c-line-lt:     #EDEBE6;
  --c-border-kv:   #666666;
  --c-white:       #FFFFFF;
  --c-off-white:   #FAF9F6;

  /* font */
  --ff-serif: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif;

  --fs-12: clamp(1.2rem, 0.6667vw, 1.2rem);
  --fs-14: clamp(1.3rem, 0.7778vw, 1.4rem);
  --fs-16: 1.6rem;
  --fs-18: clamp(1.6rem, 1.0000vw, 1.8rem);
  --fs-20: clamp(1.6rem, 1.1111vw, 2.0rem);
  --fs-22: clamp(1.7rem, 1.2222vw, 2.2rem);
  --fs-24: clamp(1.8rem, 1.3333vw, 2.4rem);
  --fs-26: clamp(2.0rem, 1.4444vw, 2.6rem);
  --fs-28: clamp(2.1rem, 1.5556vw, 2.8rem);
  --fs-30: clamp(2.2rem, 1.6667vw, 3.0rem);
  --fs-40: clamp(2.8rem, 2.2222vw, 4.0rem);

  /* layout */
  --header-h: 8rem;
  --ease: cubic-bezier(0.33, 0.8, 0.35, 1);
}

/* ============================================================
   base
============================================================ */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  font-size: 10px;
  scroll-behavior: smooth;

  overflow-x: hidden;
}

@supports (overflow: clip) {
  html { overflow-x: clip; }
}

body {
  margin: 0;
  background: var(--c-white);
  color: var(--c-text);
  font-family: var(--ff-serif);
  font-size: var(--fs-16);
  font-weight: 500;
  line-height: 1.625;
  font-feature-settings: "palt" 1;
  -webkit-font-smoothing: antialiased;
  text-size-adjust: 100%;
}

h1, h2, h3, h4, p, ul, ol, dl, dd, figure {
  margin: 0;
}

ul, ol {
  padding: 0;
  list-style: none;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: opacity .3s var(--ease), background-color .3s var(--ease), color .3s var(--ease);
}

button {
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

main {
  overflow-x: clip;
}

:where(section)[id] {
  scroll-margin-top: var(--header-h);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-delay: 0s !important;
    animation-play-state: running !important;
    transition-duration: .01ms !important;
    transition-delay: 0s !important;
  }
}

/* ============================================================
   animations
============================================================ */

/* その場でフェードイン */
@keyframes a-fade {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* 右から左へ、少しだけ動きながらふわっと現れる */
@keyframes a-fade-from-right {
  from { opacity: 0; transform: translateX(12%); }
  to   { opacity: 1; transform: none; }
}

/* 上からふわっと降りてくる */
@keyframes a-drop {
  from { opacity: 0; transform: translateY(-4rem); }
  to   { opacity: 1; transform: none; }
}

/* 下からふわっと上がってくる */
@keyframes a-rise {
  from { opacity: 0; transform: translateY(var(--rise, 3rem)); }
  to   { opacity: 1; transform: none; }
}

/* 線が始点から終点へ伸びる（pathLength="1" 前提） */
@keyframes a-draw {
  to { stroke-dashoffset: 0; }
}

/* 香りの丸：左下からふわっと現れ、右上へ抜けながら消える（ループ） */
@keyframes a-bubble-drift {
  0%   { opacity: 0; transform: translate(-6px, 7px) scale(.72); }
  25%  { opacity: 1; }
  70%  { opacity: 1; }
  100% { opacity: 0; transform: translate(6px, -7px) scale(1.1); }
}

/* 噴霧の点線：出る → ちょっと止まる → 消える（ループ） */
@keyframes a-spray-out {
  0%   { opacity: 0; transform: scale(.94); }
  18%  { opacity: 1; transform: scale(1); }
  55%  { opacity: 1; transform: scale(1); }
  80%  { opacity: 0; transform: scale(1.06); }
  100% { opacity: 0; transform: scale(1.06); }
}

/* 矢印：しばらく止まってから、くるっと半回転（ループ） */
@keyframes a-arrow-turn {
  0%, 70% { transform: rotate(0deg); }
  100%    { transform: rotate(180deg); }
}

/* キラキラ：拡大 → 縮小 → 元の大きさ（ループ） */
@keyframes a-twinkle {
  0%, 100% { opacity: .8;  transform: scale(1); }
  35%      { opacity: 1;   transform: scale(1.22); }
  70%      { opacity: .65; transform: scale(.78); }
}

/* ボケた状態からピントが合う */
@keyframes a-focus {
  from { opacity: 0; filter: blur(.8rem); }
  to   { opacity: 1; filter: blur(0); }
}

.js [data-inview] * {
  animation-play-state: paused;
}

.js [data-inview].is-inview * {
  animation-play-state: running;
}

/* ============================================================
   components
============================================================ */

/* ---- .u- utility ---- */
.u-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* ---- .btn ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  line-height: 1.2;
  text-align: center;
}

.btn--fill {
  border: 2px solid transparent;
  background: var(--c-gold);
  color: var(--c-white);
}

.btn--outline {
  border: 1px solid var(--c-gold);
  background: var(--c-white);
  color: var(--c-gold);
}

@media (hover: hover) {
  .btn {
    transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), border-width .1s var(--ease);
  }

  .btn--fill:hover {
    border-color: var(--c-gold);
    background: var(--c-white);
    color: var(--c-gold);
  }

  .btn--outline:hover {
    border-width: 2px;
  }
}

/* ============================================================
   layout / header
============================================================ */
.header {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-h);
  transition: background-color .3s var(--ease), box-shadow .3s var(--ease);
}

.header.is-scrolled {
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 1px 12px rgba(51, 51, 51, .07);
  backdrop-filter: blur(6px);
}

.header__inner {
  display: flex;
  align-items: center;
  height: 100%;
  gap: 5rem;
  padding: 0 1.5rem 0 3rem;
}

.header__logo {
  flex-shrink: 0;
  width: 12.05rem;
}

.header__logo img {
  width: 100%;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 5rem;
  margin-left: auto;
}

.header__list {
  display: flex;
  align-items: center;
  gap: 5rem;
}

.header__link {
  position: relative;
  font-size: var(--fs-16);
  line-height: 1;
  white-space: nowrap;
}

@media (hover: hover) {
  .header__link::after {
    content: "";
    position: absolute;
    bottom: -.6rem;
    left: 50%;
    width: 0;
    height: 1px;
    background: var(--c-gold);
    transform: translateX(-50%);
    transition: width .3s var(--ease);
  }

  .header__link:hover {
    color: var(--c-gold);
  }

  .header__link:hover::after {
    width: 100%;
  }
}

.header__btn {
  width: 24rem;
  height: 5rem;
  font-size: var(--fs-16);
}

/* ---- hamburger（1100px 以下で表示） ---- */
.header__burger {
  display: none;
  position: relative;
  z-index: 2;
  flex-shrink: 0;
  width: 4.4rem;
  height: 4.4rem;
}

.header__burger-bar {
  position: absolute;
  left: 50%;
  width: 2.6rem;
  height: 1px;
  margin-left: -1.3rem;
  background: var(--c-text);
  transition: transform .35s var(--ease), opacity .2s var(--ease);
}

.header__burger-bar:nth-child(1) { top: 1.4rem; }
.header__burger-bar:nth-child(2) { top: 2.15rem; }
.header__burger-bar:nth-child(3) { top: 2.9rem; }

.header__burger[aria-expanded="true"] .header__burger-bar:nth-child(1) {
  transform: translateY(.75rem) rotate(20deg);
}
.header__burger[aria-expanded="true"] .header__burger-bar:nth-child(2) {
  opacity: 0;
}
.header__burger[aria-expanded="true"] .header__burger-bar:nth-child(3) {
  transform: translateY(-.75rem) rotate(-20deg);
}

.header__overlay {
  position: fixed;
  z-index: 90;
  inset: 0;
  background: rgba(51, 51, 51, .4);
  opacity: 0;
  transition: opacity .35s var(--ease);
}

.header__overlay.is-open {
  opacity: 1;
}

/* ============================================================
   pages / kv
============================================================ */
.kv {
  position: relative;
  width: 100%;
  aspect-ratio: 1800 / 992.5;
  overflow: hidden;
  background: linear-gradient(0deg, var(--c-white) 0%, var(--c-cream) 100%);
}

/* ---- 背景写真（3枚フェード） ---- */
.kv__slider {
  animation: a-fade-from-right 1.8s var(--ease) .2s both;
  position: absolute;
  z-index: 1;
  top: 12.0906%;
  right: 0;
  width: 45%;
  aspect-ratio: 810 / 600;
}

.kv__slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.2s var(--ease);
}

.kv__slide.is-active {
  opacity: 1;
}

/* ---- 装飾ライン ---- */
.kv__line {
  position: absolute;
  z-index: 2;
  left: 0;
  display: block;
  width: 100%;
  height: auto;
  pointer-events: none;
}

.kv__line--pc {
  top: 37.6826%;
  aspect-ratio: 1800 / 528;
}

.kv__line--sp {
  display: none;
}

.kv__line path {
  fill: none;
  stroke: url(#kvline-grad);
  stroke-width: .87;
  stroke-miterlimit: 10;
  stroke-dasharray: 1 1;
  stroke-dashoffset: 1;
  animation: a-draw 2.4s var(--ease) 1.4s forwards;
}

.kv__line--sp path {
  stroke: #c5b074;
  stroke-width: .49;
}

/* ---- 本体画像 ---- */
.kv__product {
  animation: a-drop 1.4s var(--ease) .7s both;
  position: absolute;
  z-index: 3;
  top: 47.3552%;
  left: 38.0278%;
  width: 23.8889%;
  height: auto;
}

.kv__shoulder { animation: a-rise 1.2s var(--ease) .9s both; }
.kv__title    { animation: a-rise 1.2s var(--ease) 1.05s both; }
.kv__btn      { animation: a-rise 1.2s var(--ease) 1.2s both; }

/* ---- 肩コピー ---- */
.kv__shoulder {
  display: flex;
  align-items: center;
  gap: 1.05rem;
  position: absolute;
  z-index: 5;
  top: 19.0428%;
  left: 12.3056%;
  color: var(--c-text-sub);
  white-space: nowrap;
}

.kv__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 10rem;
  height: 3rem;
  border: 1px solid var(--c-border-kv);
  font-size: var(--fs-16);
  line-height: 1;
}

.kv__shoulder-text {
  font-size: var(--fs-20);
  line-height: 1;
}

/* ---- タイトル ---- */
.kv__title {
  position: absolute;
  z-index: 5;
  top: 26.0957%;
  left: 10.0278%;
  width: 25.0556%;
}

.kv__title img {
  width: 100%;
}

/* ---- 縦組みコピー ---- */
.kv__vertical {
  font-family: var(--ff-serif);
  font-weight: 400;
  font-size: var(--fs-24);
  letter-spacing: .06em;
  line-height: 1;
}

.kv__vertical-line {
  position: absolute;
  z-index: 5;
  writing-mode: vertical-rl;
  font-feature-settings: normal;
  margin-inline-end: -.06em;
}

.kv__char {
  display: inline-block;
  animation: a-focus .9s var(--ease) both;
  animation-delay: calc(1.4s + var(--i) * .08s);
}

.kv__vertical-line--01 {
  bottom: 65.1889%;
  left: 50.5278%;
}

.kv__vertical-line--02 {
  bottom: 53.6524%;
  left: 48.1944%;
}

/* ---- CTA ---- */
.kv__btn {
  position: absolute;
  z-index: 5;
  top: 57.5315%;
  left: 10.0278%;
  width: 25%;
  height: 8.0605%;
  min-height: 5.6rem;
  border-radius: 4rem;
  font-size: var(--fs-24);
}

/* ============================================================
   pages / problem + solution
============================================================ */
.problem {
  position: relative;
  z-index: 1;
  padding-bottom: 50.05rem;
}

/* ---- 背景写真 ---- */
.problem__bg {
  position: absolute;
  z-index: -2;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 70rem;
  object-fit: cover;
}

/* ---- 波（problem → selected の繋ぎ） ---- */
.problem__wave {
  position: absolute;
  z-index: -1;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: auto;
}

.problem__wave,
.selected__wave,
.effect__wave {
  aspect-ratio: 1800 / 90;
}

.problem__wave .wave__a,
.selected__wave .wave__a { fill: #c5b074; }

.problem__wave .wave__b,
.selected__wave .wave__b { fill: #707070; }

.effect__wave .wave__a { fill: #707070; }
.effect__wave .wave__b { fill: #e3d8ba; }

/* ---- 悩み3点 ---- */
.problem__list {
  display: flex;
  justify-content: space-between;
  width: min(115rem, 100% - 8rem);
  margin-inline: auto;
  padding-bottom: 6rem;
}

.problem__item {
  position: relative;
  width: calc((100% - 10rem) / 3);
  max-width: 35rem;
}

.problem__item:nth-child(2) { --d: .25s; }
.problem__item:nth-child(3) { --d: .5s; }

.problem__item::after {
  content: "";
  position: absolute;
  top: calc(100% + 2rem);
  left: 50%;
  width: 1px;
  height: 4rem;
  background: var(--c-gold-lt);
}

.problem__circle {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 50%;
  background: var(--c-white);
}

.problem__ring {
  position: absolute;
  z-index: 2;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.problem__ring circle {
  --circ: 313.26;

  fill: none;
  stroke: var(--c-gold-lt);
  stroke-width: .2857;
  stroke-dasharray: var(--circ);
  stroke-dashoffset: var(--circ);
  transform: rotate(-90deg);
  transform-origin: 50% 50%;
  animation: a-draw 1.6s ease-in-out var(--d, 0s) both;
}

.problem__text {
  position: absolute;
  z-index: 1;
  top: 22.7143%;
  left: 0;
  width: 100%;
  padding-inline: 1rem;
  text-align: center;
}

.problem__text-main {
  display: block;
  font-size: var(--fs-22);
  line-height: 1;
  --rise: 1.6rem;
  animation: a-rise .8s var(--ease) calc(.8s + var(--d, 0s)) both;
}

.problem__text-sub {
  display: block;
  margin-top: 1.05rem;
  font-size: var(--fs-16);
  line-height: 1;
  --rise: 1.6rem;
  animation: a-rise .8s var(--ease) calc(.95s + var(--d, 0s)) both;
}

.problem__pic {
  position: absolute;
  top: 46.2857%;
  width: auto;
  height: auto;
  animation: a-fade .9s var(--ease) calc(1.2s + var(--d, 0s)) both;
}

.problem__pic--01 {
  left: 27.7143%;
  width: 44.4286%;
}

.problem__pic--02 {
  left: 20.4286%;
  width: 50.4286%;
}

.problem__pic--03 {
  left: 31.5714%;
  width: 36.7143%;
}

/* ---- solution ---- */
.solution {
  position: relative;
  width: min(126rem, 100% - 8rem);
  margin: 2rem auto 0;
  padding: 6.9rem 4rem 5.95rem;
  border-radius: 2rem;
  background: linear-gradient(90deg, #F0E8D0 0%, #F5EFDC 100%);
  text-align: center;
}

.solution__lead {
  font-size: var(--fs-30);
  line-height: 1;
}

.solution__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-top: 2.7rem;
}

.solution__item {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 5rem;
  padding: 0 2.45rem;
  background: var(--c-white);
  font-size: var(--fs-22);
  line-height: 1;
  white-space: nowrap;
}

.solution__sum {
  margin-top: 2.9rem;
  font-size: var(--fs-30);
  line-height: 1;
}

.solution__sum-sm {
  font-size: var(--fs-22);
}

.solution__sum > span {
  display: inline-block;
}

.solution__note {
  margin-top: 4.8rem;
  font-size: var(--fs-16);
  line-height: 1.625;
}

/* ============================================================
   pages / selected
============================================================ */
.selected {
  position: relative;
  z-index: 1;
  color: var(--c-white);
}

.selected__body {
  padding: 10.95rem 0 11.05rem;
  background: var(--c-gray);
}

/* 波（selected → lineup の繋ぎ） */
.selected__wave {
  display: block;
  width: 100%;
  height: auto;
  margin-top: -1px;
  transform: rotate(180deg);
}

/* ---- 見出し ---- */
.selected__head {
  text-align: center;
}

.selected__sub {
  font-size: var(--fs-18);
  line-height: 1;
}

.selected__ttl {
  margin-top: 1.2rem;
  font-size: var(--fs-40);
  font-weight: 500;
  line-height: 1;
}

.selected__underline {
  width: 9.05rem;
  margin: 1.85rem auto 0;
}

/* ---- カード3枚 ---- */
.selected__list {
  display: flex;
  align-items: stretch;
  gap: 5rem;
  width: min(130rem, 100% - 8rem);
  margin: 6.9rem auto 0;
}

.selected__item {
  display: flex;
  width: calc((100% - 10rem) / 3);
}

.selected__item:nth-child(2) { --d: .15s; }
.selected__item:nth-child(3) { --d: .3s; }

.selected__card {
  --sel-circle: 37.5%;
  --sel-over:   calc(var(--sel-circle) * .363333);
  --sel-num:    calc(var(--sel-circle) * .196667);

  --rise: 3rem;

  position: relative;
  width: 100%;
  padding: var(--sel-over) 12.5% 11.375%;
  animation: a-rise .9s var(--ease) var(--d, 0s) both;
}

.selected__frame {
  position: absolute;
  inset: 0;
  padding: calc(var(--sel-over) + var(--frame-i)) var(--frame-i) var(--frame-i);
  background: none;
}

.selected__frame::before {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  border-radius: calc(2rem - var(--frame-i));
  background: var(--frame-c);
}

.selected__frame::after {
  content: "";
  position: absolute;
  top: var(--frame-i);
  left: 50%;
  width: calc(var(--sel-circle) - var(--frame-i) * 2);
  aspect-ratio: 1;
  transform: translateX(-50%);
  border-radius: 50%;
  background: var(--frame-c);
}

.selected__frame--outer { --frame-i: 0px; --frame-c: var(--c-white); }
.selected__frame--gold  { --frame-i: 4px; --frame-c: var(--c-gold-lt); }
.selected__frame--inner { --frame-i: 5px; --frame-c: var(--c-white); }

/* ---- カードの中身 ---- */
.selected__num {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding-top: var(--sel-num);
  color: var(--c-gold);
  font-size: var(--fs-20);
  line-height: 1;
  text-align: center;
}

.selected__icon {
  position: relative;
  width: 40.1667%;
  margin: 13.3333% auto 0;
  height: auto;
}

svg.selected__icon {
  --icon-c: #767676;

  aspect-ratio: 120 / 100;
  overflow: visible;
}

.selected__icon-body,
.selected__bubble {
  fill: none;
  stroke: var(--icon-c);
  stroke-linecap: round;
  stroke-miterlimit: 10;
}

.selected__icon-hand {
  fill: none;
  stroke: var(--icon-c);
  stroke-linecap: round;
  stroke-linejoin: round;
}

.selected__icon-dots,
.selected__spark {
  fill: var(--icon-c);
}

.selected__bubble {
  transform-box: fill-box;
  transform-origin: center;
  animation: a-bubble-drift 4.4s linear calc(var(--i, 0) * -1.4667s) infinite;
}

.selected__bubble--1 { --i: 0; }
.selected__bubble--2 { --i: 1; }
.selected__bubble--3 { --i: 2; }

.selected__spark {
  transform-box: fill-box;
  transform-origin: center;
  animation: a-twinkle var(--dur, 2.6s) var(--ease) calc(var(--i, 0) * -.9s) infinite;
}

.selected__spark--1 { --i: 0; }
.selected__spark--2 { --i: 1; --dur: 3.2s; }
.selected__spark--3 { --i: 2; --dur: 2.2s; }

/* ---- pic02：右上の噴霧の点線（同心の弧 4本） ---- */
.selected__spray {
  fill: none;
  stroke: var(--icon-c);
  stroke-width: 2px;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 0 var(--dash);
  transform-box: view-box;
  transform-origin: 85px 37.4px;
  animation: a-spray-out 3.8s var(--ease) calc(var(--i, 0) * .22s) infinite backwards;
}

.selected__spray--1 { --i: 0; --dash: 5.4152; }
.selected__spray--2 { --i: 1; --dash: 5.4152; }
.selected__spray--3 { --i: 2; --dash: 5.4152; }
.selected__spray--4 { --i: 3; --dash: 8.1228; }

/* ---- pic03：周りの矢印（弧＋矢じり ×2） ---- */
.selected__arrows {
  transform-box: view-box;
  transform-origin: 60px 50px;
  animation: a-arrow-turn 3s cubic-bezier(.65, 0, .35, 1) infinite;
}

@media (prefers-reduced-motion: reduce) {
  .selected__bubble,
  .selected__spark,
  .selected__spray,
  .selected__arrows {
    animation: none;
  }
}

.selected__card-ttl {
  position: relative;
  margin-top: 9.6667%;
  color: var(--c-text);
  font-size: var(--fs-24);
  font-weight: 500;
  line-height: 1;
  text-align: center;
}

.selected__txt {
  position: relative;
  margin-top: 8%;
  color: var(--c-text);
  font-size: var(--fs-16);
  line-height: 1.5;
}

/* ============================================================
   pages / lineup + scene
============================================================ */
.lineup {
  padding-top: 10.95rem;
}

/* ---- 見出し ---- */
.lineup__head {
  text-align: center;
}

.lineup__ttl {
  font-size: var(--fs-40);
  font-weight: 500;
  line-height: 1;
}

.lineup__underline {
  width: 9.05rem;
  margin: 1.7rem auto 0;
}

.lineup__lead {
  margin-top: 6.45rem;
  font-size: var(--fs-16);
  line-height: 1.625;
}

/* ---- 香りカテゴリ ---- */
.lineup__list {
  display: flex;
  flex-wrap: wrap;
  column-gap: 10rem;
  row-gap: 10.2rem;
  width: min(144rem, 100% - 8rem);
  margin: 5.45rem auto 0;
}

.lineup__cat--wide   { width: calc((100% - 10rem) / 2); }
.lineup__cat--narrow { width: calc((100% - 7rem) / 2); }

.lineup__pair {
  display: flex;
  gap: 7rem;
  width: calc((100% - 10rem) / 2);
}

.lineup__cat--c01 { --cat-c: #80730D; }
.lineup__cat--c02 { --cat-c: #B03F5A; }
.lineup__cat--c03 { --cat-c: #1E718A; }
.lineup__cat--c04 { --cat-c: #327541; }
.lineup__cat--c05 { --cat-c: #96580C; }

.lineup__ribbon-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  height: 6rem;
}

.lineup__rule {
  flex: 1;
  height: 1px;
  background: var(--cat-c);
}

.lineup__ribbon {
  display: flex;
  flex: none;
  align-items: center;
  gap: .95rem;
  height: 100%;
  padding: 0 6rem;
  background: var(--cat-c);
  clip-path: polygon(0 0, 100% 0, calc(100% - 1.2rem) 50%, 100% 100%, 0 100%, 1.2rem 50%);
  color: var(--c-white);
  font-size: var(--fs-24);
  font-weight: 500;
  line-height: 1;
}

.lineup__cat--narrow .lineup__ribbon {
  justify-content: center;
  width: 100%;
  padding: 0 2rem;
}

.lineup__ico       { flex: none; height: auto; }
.lineup__ico--01   { width: 2.85rem; }
.lineup__ico--02   { width: 2.55rem; }
.lineup__ico--03   { width: 3rem; }
.lineup__ico--04   { width: 1.75rem; }
.lineup__ico--05   { width: 3.1rem; }

/* ---- 香り1件 ---- */
.lineup__details {
  display: flex;
  gap: 7rem;
  margin-top: 4rem;
}

.lineup__detail {
  width: calc((100% - 7rem) / 2);
}

.lineup__cat--narrow .lineup__detail {
  width: 100%;
}

.lineup__pic {
  width: 100%;
  aspect-ratio: 300 / 180;
  object-fit: cover;
}

.lineup__name {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  margin-top: 3rem;
  font-size: var(--fs-22);
  font-weight: 500;
  line-height: 1;
}

.lineup__name::before {
  content: "";
  flex: none;
  width: 3px;
  height: 3rem;
  background: var(--c-gold-lt);
}

.lineup__txt {
  margin-top: 1.95rem;
  font-size: var(--fs-16);
  line-height: 1.5;
}

/* ============================================================
   pages / scene（lineup 内）
============================================================ */
.scene {
  width: min(144rem, 100% - 8rem);
  margin: 10.2rem auto 0;
  padding: 7.85rem 0 7.95rem;
  border-radius: 2rem;
  background: #F5F5F5;
}

.scene__ttl-main {
  font-size: var(--fs-26);
  font-weight: 500;
  line-height: 1;
  text-align: center;
}

.scene__lead {
  margin-top: 3.45rem;
  font-size: var(--fs-18);
  line-height: 1.444;
  text-align: center;
}

.scene__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4rem;
  width: min(128rem, 100% - 8rem);
  margin: 3.55rem auto 0;
}

.scene__item {
  display: flex;
  flex-direction: column;
  width: calc((100% - 12rem) / 4);
  background: var(--c-white);
}

.scene__ttl {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  min-height: 4rem;
  padding: .5rem 1rem;
  background: var(--c-gray);
  color: var(--c-white);
  font-size: clamp(1.4rem, 2.0000vw, 1.8rem);
  line-height: 1.3;
  text-align: center;
}

.scene__pic {
  width: 100%;
  aspect-ratio: 290 / 140;
  object-fit: cover;
}

/* ============================================================
   pages / effect
============================================================ */
.effect {
  padding-top: 15rem;
}

/* 波 */
.effect__wave {
  display: block;
  width: 100%;
  height: auto;
}

.effect__wave--bottom {
  margin-top: -1px;
  transform: rotate(180deg);
}

.effect__body {
  margin-top: -1px;
  padding: 10.85rem 0 10.55rem;
  background: var(--c-beige);
}

/* ---- 見出し ---- */
.effect__head {
  text-align: center;
}

.effect__ttl {
  font-size: var(--fs-40);
  font-weight: 500;
  line-height: 1;
}

.effect__underline {
  width: 9.05rem;
  margin: 1.8rem auto 0;
}

.effect__lead {
  width: min(144rem, 100% - 8rem);
  margin: 6.45rem auto 0;
  font-size: var(--fs-16);
  font-weight: 700;
  line-height: 1.625;
}

.effect__lead > span {
  display: inline-block;
}

.effect__marker {
  background: linear-gradient(var(--c-cream-lt), var(--c-cream-lt)) no-repeat;
  background-size: 100% 1.4rem;
  background-position: 0 50%;
}

.effect__sup {
  font-size: .75em;
  vertical-align: super;
  line-height: 1;
}

/* ---- 試験結果ボックス ---- */
.effect__list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  width: min(144rem, 100% - 8rem);
  margin: 5.45rem auto 0;
}

.effect__item {
  padding: 4.85rem 5rem 5rem;
  background: var(--c-white);
}

.effect__item-ttl {
  display: flex;
  align-items: center;
  gap: 2.85rem;
  font-size: var(--fs-24);
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
}

.effect__item-ttl::before,
.effect__item-ttl::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--c-gray);
}

.effect__graphs {
  display: flex;
  align-items: flex-start;
  margin: 2.9rem auto 0;
}

.effect__graphs--01 {
  gap: 1.6rem;
  width: min(111.2rem, 100%);
}

.effect__graphs--02 {
  gap: 11.6rem;
  width: min(87.6rem, 100%);
}

.effect__graph {
  flex: 1;
  min-width: 0;
}

.effect__graph img {
  width: 100%;
  height: auto;
}

.effect__method {
  display: flex;
  margin-top: 2rem;
}

.effect__method-ttl {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 15rem;
  background: var(--c-beige);
  font-size: var(--fs-16);
  line-height: 1;
}

.effect__method-txt {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  min-height: 5rem;
  padding: .7rem 2rem;
  background: var(--c-off-white);
  font-size: var(--fs-14);
  line-height: 1.571;
}

.effect__method-note {
  margin-top: .95rem;
  font-size: var(--fs-14);
  line-height: 1;
}

.effect__note {
  width: min(144rem, 100% - 8rem);
  margin: 2.6rem auto 0;
  font-size: var(--fs-14);
  line-height: 1.571;
}

.effect__note span {
  display: block;
  padding-left: 1.25em;
  text-indent: -1.25em;
}

/* ============================================================
   pages / product
============================================================ */
.product {
  position: relative;
  padding: 14.95rem 0 12rem;
}

.product::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: 0;
  bottom: 0;
  left: 0;
  height: 27rem;
  background: linear-gradient(0deg, var(--c-cream) 0%, var(--c-white) 100%);
}

.product__head {
  text-align: center;
}

.product__ttl {
  font-size: var(--fs-40);
  font-weight: 500;
  line-height: 1;
}

.product__underline {
  width: 9.05rem;
  margin: 1.75rem auto 0;
}

.product__body {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 9.3403%;
  width: min(144rem, 100% - 8rem);
  margin: 7rem auto 0;
}

.product__pic {
  flex: none;
  width: 34.4792%;
  height: auto;
}

.product__table-wrap {
  flex: none;
  width: 50%;
}

.product__table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  background: var(--c-off-white);
}

.product__table th,
.product__table td {
  height: 7.75rem;
  font-weight: 500;
}

.product__table tr:not(:last-child) th,
.product__table tr:not(:last-child) td {
  border-bottom: 1px solid var(--c-line-lt);
}

.product__table th {
  width: 25%;
  background: var(--c-beige);
  font-size: var(--fs-18);
  line-height: 1.444;
  text-align: center;
}

.product__table td {
  padding: 1rem 3rem;
  font-size: var(--fs-16);
  line-height: 1.625;
}

.product__btn {
  display: flex;
  width: 54rem;
  height: 9rem;
  margin: 6rem auto 0;
  border-radius: 4.5rem;
  font-size: var(--fs-26);
}

/* ============================================================
   pages / cv
============================================================ */
.cv {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60rem;
  padding: 2rem;
  overflow: hidden;
}

.cv__bg {
  position: absolute;
  z-index: -1;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cv__box {
  --rise: 4rem;
  animation: a-rise .9s var(--ease) both;

  width: min(108rem, 100%);
  padding: 6.95rem 2rem 7rem;
  background: rgba(255, 255, 255, .9);
  text-align: center;
}

.cv__ttl {
  --rise: 1.6rem;
  animation: a-rise .8s var(--ease) .65s both;

  font-size: var(--fs-28);
  font-weight: 500;
  line-height: 1;
}

.cv__ttl span,
.cv__lead span {
  display: inline-block;
}

.cv__lead {
  --rise: 1.6rem;
  animation: a-rise .8s var(--ease) .9s both;

  margin-top: 3.3rem;
  font-size: var(--fs-16);
  line-height: 1.625;
}

.cv__btns {
  --rise: 1.6rem;
  animation: a-rise .8s var(--ease) 1.15s both;

  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 3rem;
  margin-top: 4.45rem;
}

.cv__btn {
  width: 45.5rem;
  max-width: 100%;
  height: 9rem;
  border-radius: 4.5rem;
  font-size: var(--fs-22);
}

/* ============================================================
   layout / footer
============================================================ */
.footer {
  padding-top: 10.1rem;
  text-align: center;
}

.footer__logo {
  display: block;
  width: 17.65rem;
  margin: 0 auto;
}

.footer__logo img {
  display: block;
  width: 100%;
  height: auto;
}

.footer__bar {
  margin-top: 3rem;
  padding: 3.1rem 2rem 3.2rem;
  background: var(--c-gray-dk);
  color: var(--c-white);
}

.footer__link-wrap {
  font-size: var(--fs-14);
  line-height: 1;
}

.footer__link {
  display: inline-flex;
  align-items: center;
  gap: .9rem;
  font-size: var(--fs-14);
  line-height: 1;
}

.footer__link:hover {
  opacity: .7;
}

.footer__ico {
  width: 1.2rem;
  height: auto;
}

.footer__copy {
  margin-top: 1.65rem;
  font-size: var(--fs-12);
  line-height: 1;
}

/* ============================================================
   media queries（広い順に集約）
============================================================ */

/* ---- 1800px 超：全体を等倍で拡大する ---- */
@media (min-width: 1800px) {
  html {
    font-size: calc(100vw / 180);
  }
}

/* ---- 1100px 以下：ハンバーガー＋1カラム ---- */
@media (max-width: 1100px) {

  :root {
    --header-h: 6.4rem;
  }

  /* header */

  .header__inner {
    gap: 1.2rem;
    padding: 0 2rem;
  }

  .header__logo {
    width: 10rem;
  }

  .header__burger {
    display: block;
    z-index: 96;
  }

  .header__nav {
    position: fixed;
    z-index: 95;
    top: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: 4rem;
    width: min(32rem, 82vw);
    height: 100dvh;
    padding: var(--header-h) 3rem 4rem;
    overflow-y: auto;
    background: var(--c-white);
    transform: translateX(100%);
    transition: transform .35s var(--ease);
    visibility: hidden;
  }

  .header__nav.is-open {
    transform: translateX(0);
    visibility: visible;
  }

  .header__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .header__item + .header__item {
    border-top: 1px solid var(--c-line);
  }

  .header__link {
    display: block;
    padding: 1.8rem 0;
    line-height: 1.5;
  }

  .header__link::after {
    content: none;
  }

  .header__btn {
    width: auto;
    height: 3.6rem;
    margin-left: auto;
    padding: 0 clamp(1.1rem, 3.7333vw, 1.4rem);
    font-size: clamp(1.1rem, 3.2vw, 1.2rem);
    white-space: nowrap;
  }

  .kv {
    display: flex;
    flex-direction: column;
    align-items: center;
    aspect-ratio: auto;
    padding: clamp(5.975rem, 15.9333vw, 12.1093rem) 0 min(6.4853rem, 8.5333%);
  }

  .kv__vertical {
    font-size: clamp(1.6rem, 4.2667vw, 3.2427rem);
    line-height: 1.625;
    text-align: center;
  }

  .kv__vertical-line {
    position: static;
    display: block;
    writing-mode: horizontal-tb;
    line-height: inherit;
  }

  .kv__slider {
    position: relative;
    inset: auto;
    width: 100%;
    max-width: none;
    margin-top: min(4.0027rem, 5.2667%);
    height: 56.2963rem;
    aspect-ratio: auto;
  }

  .kv__line--pc { display: none; }

  .kv__line--sp {
    display: block;
    top: 0;
    margin-top: 8.5333%;
    aspect-ratio: 375 / 117;
  }

  .kv__product {
    position: static;
    align-self: center;
    width: min(33.44rem, 44%);
    margin: max(-25.8987rem, -34.0853%) 0 0;
  }

  .kv__shoulder {
    position: static;
    gap: clamp(.55rem, 1.4667vw, 1.1147rem);
    margin-top: max(-2.2395rem, -2.9467%);
  }

  .kv__badge {
    width: clamp(7rem, 18.6667vw, 14.1867rem);
    height: clamp(2rem, 5.3333vw, 4.0533rem);
    padding: 0;
    font-size: clamp(1.2rem, 3.2vw, 2.432rem);
  }

  .kv__shoulder-text {
    font-size: clamp(1.4rem, 3.7333vw, 2.8373rem);
  }

  .kv__title {
    position: static;
    width: min(42.4587rem, 55.8667%);
    margin-top: min(3.1413rem, 4.1333%);
  }

  .kv__btn {
    position: static;
    width: min(46.6133rem, 61.3333%);
    height: clamp(4rem, 10.6667vw, 8.1067rem);
    min-height: 0;
    margin-top: min(4.1547rem, 5.4667%);
    font-size: clamp(1.6rem, 4.2667vw, 3.2427rem);
  }

  /* problem / solution */
  .problem {
    padding-bottom: 24rem;
  }

  .problem__bg {
    height: 34rem;
  }

  .problem__list {
    width: min(115rem, 100% - 4rem);
  }

  .solution {
    width: min(126rem, 100% - 4rem);
    padding: 4.8rem 2.4rem 4.4rem;
  }

  .solution__list {
    margin-top: 2.4rem;
  }

  .solution__sum {
    margin-top: 2.4rem;
  }

  .solution__note {
    margin-top: 3.2rem;
  }

  /* selected */
  .selected__body {
    padding: 8rem 0 8rem;
  }

  .selected__list {
    width: min(130rem, 100% - 4rem);
    gap: 3rem;
  }

  .selected__item {
    width: calc((100% - 6rem) / 3);
  }

  /* lineup */
  .lineup {
    padding-top: 8rem;
  }

  .lineup__list {
    width: min(144rem, 100% - 4rem);
    column-gap: 6rem;
    row-gap: 7rem;
    margin-top: 4.8rem;
  }

  .lineup__cat--wide { width: calc((100% - 6rem) / 2); }
  .lineup__pair      { width: calc((100% - 6rem) / 2); gap: 4rem; }
  .lineup__cat--narrow { width: calc((100% - 4rem) / 2); }

  .lineup__details {
    gap: 4rem;
  }

  .lineup__detail {
    width: calc((100% - 4rem) / 2);
  }

  .lineup__ribbon {
    padding: 0 3rem;
  }

  .scene {
    width: min(144rem, 100% - 4rem);
    margin-top: 7rem;
    padding: 5.6rem 0 5.6rem;
  }

  .scene__lead,
  .scene__list {
    width: min(128rem, 100% - 4rem);
    margin-inline: auto;
  }

  .scene__list {
    margin-top: 3.2rem;
  }

  /* effect */
  .effect {
    padding-top: 8rem;
  }

  .effect__body {
    padding: 8rem 0 8rem;
  }

  .effect__lead,
  .effect__list,
  .effect__note {
    width: min(144rem, 100% - 4rem);
  }

  .effect__list {
    margin-top: 4.8rem;
  }

  .effect__item {
    padding: 4rem 2.4rem 4rem;
  }

  /* product */
  .product {
    padding: 8rem 0 8rem;
  }

  .product::after {
    height: 20rem;
  }

  .product__body {
    width: min(144rem, 100% - 4rem);
    margin-top: 4.8rem;
  }

  .product__btn {
    width: min(54rem, 100% - 4rem);
    height: 8rem;
    margin-top: 4.8rem;
  }

  /* cv / footer */
  .cv {
    min-height: 48rem;
    padding: 6rem clamp(2.4rem, 7vw, 8rem);
  }

  .cv__box {
    padding: 5.6rem 2.4rem;
  }

  .cv__btns {
    gap: 2rem;
    margin-top: 3.2rem;
  }

  .cv__btn {
    width: min(45.5rem, calc((100% - 2rem) / 2));
    height: 8rem;
  }

  .footer {
    padding-top: 7rem;
  }
}

/* ---- 900px 以下：problem の円を縦積みにする ---- */
@media (max-width: 900px) {

  .problem__list {
    flex-direction: column;
    align-items: center;
    gap: 3.2rem;
    padding-bottom: 6rem;
  }

  .problem__item {
    width: min(30rem, 100%);
    max-width: none;
  }

  .problem__item::after {
    display: none;
  }

  .problem__item:last-child::after {
    display: block;
  }

  .selected__card {
    --sel-circle: min(15rem, 40%);
  }

  .selected__list {
    flex-direction: column;
    align-items: center;
    gap: 6rem;
  }

  .selected__item {
    width: min(60rem, 100%);
  }

  .effect__graphs {
    flex-direction: column;
    align-items: center;
    gap: 4rem;
    width: 100%;
  }

  .effect__graph {
    width: min(36rem, 100%);
    flex: none;
  }

  .lineup__cat--wide,
  .lineup__pair {
    width: 100%;
  }

  .scene__list {
    gap: 2rem;
  }

  .scene__item {
    width: calc((100% - 2rem) / 2);
  }
}

/* ---- 760px 以下 ---- */
@media (max-width: 760px) {

  .kv__slider {
    height: auto;
    aspect-ratio: 1620 / 1200;
  }

  .header__logo {
    width: 9rem;
  }

  .problem {
    padding-bottom: 18rem;
  }

  .problem__bg {
    height: 26rem;
  }

  .solution {
    padding: 4rem 2rem 3.6rem;
  }

  .product__body {
    flex-direction: column;
    align-items: center;
    gap: 3.2rem;
  }

  .product__pic {
    width: min(32rem, 80%);
  }

  .product__table-wrap {
    width: 100%;
  }

  .product__table th {
    width: 32%;
    padding: 1rem .8rem;
    font-size: var(--fs-16);
  }

  .product__table td {
    padding: 1rem 1.6rem;
  }

  .product__btn {
    height: 7rem;
    font-size: var(--fs-20);
  }

  .cv {
    min-height: 0;
    padding-block: 4.8rem;
  }

  .cv__box {
    padding: 4rem 2rem;
  }

  .cv__ttl {
    line-height: 1.4;
  }

  .cv__btn {
    width: 100%;
    height: 7rem;
    font-size: var(--fs-18);
  }

  .footer {
    padding-top: 5.6rem;
  }

  .footer__logo {
    width: 14rem;
  }

  .effect__item {
    padding: 3.2rem 1.6rem;
  }

  .effect__item-ttl {
    gap: 1.6rem;
  }

  .effect__method {
    flex-direction: column;
  }

  .effect__method-ttl {
    width: 100%;
    height: 3.6rem;
  }

  .effect__method-txt {
    padding: 1.2rem 1.6rem;
  }

  .lineup__details,
  .lineup__pair {
    gap: 2rem;
  }

  .lineup__detail,
  .lineup__cat--narrow {
    width: calc((100% - 2rem) / 2);
  }

  .lineup__name {
    gap: 1rem;
    margin-top: 2rem;
    font-size: var(--fs-18);
  }

  .lineup__name::before {
    height: 2.4rem;
  }

  .lineup__txt {
    margin-top: 1.2rem;
  }

  .lineup {
    padding: 8rem 2rem 0;
  }
  
  .lineup__lead {
    display: flex;
    justify-content: center;
    text-align: left;
  }

  .solution__sum {
    line-height: 1.45;
  }

  .lineup__ribbon {
    padding: 0 4rem;
    font-size: var(--fs-20);
  }

  .scene {
    padding: 4rem 2rem;
  }

  .scene__lead,
  .scene__list {
    width: 100%;
  }

  .solution__list {
    gap: 1.2rem;
  }

  .solution__item {
    height: 4.4rem;
    padding: 0 1.6rem;
    font-size: var(--fs-16);
  }
}

/* ---- 420px 以下 ---- */
@media (max-width: 420px) {

  .header__logo {
    width: 8.4rem;
  }

  .lineup__details,
  .lineup__pair {
    flex-direction: column;
    gap: 4rem;
  }

  .lineup__detail,
  .lineup__cat--narrow {
    width: 100%;
  }

  .lineup__list {
    row-gap: 4rem;
  }

  .scene__lead {
    text-align: left;
  }
  
  .scene__ttl {
    min-height: 3.5rem;
  }

  .lineup__cat--wide .lineup__rule {
    display: none;
  }

  .lineup__cat--wide .lineup__ribbon {
    justify-content: center;
    width: 100%;
    padding: 0 2rem;
  }
}
