@import url("https://fonts.googleapis.com/css2?family=LINE+Seed+JP:wght@400;700&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

:root {
  --color-blue: #1846ba;
  --color-blue-soft: #8fb2ff;
  --color-text: #4b5563;
  --color-gray: #787878;
  --color-page: #f8fbfe;
  --color-cream: #f6f6f3;
  --color-border: #7da5f6;
  --color-red: #f94c43;
  --color-orange: #eb6b40;
  --font-ja: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;
  --font-ibm: "IBM Plex Sans JP", "Noto Sans JP", sans-serif;
  --font-en: "Poppins", "IBM Plex Sans JP", sans-serif;
  --font-jp:
    "LINE Seed JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic",
    sans-serif;
  --fv-max-width: 1797.571px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--color-page);
}

body {
  color: var(--color-text);
  font-family: var(--font-jp);
  overflow-x: hidden;
}

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

.lp {
  overflow: hidden;
  width: 100%;
}

.fv {
  position: relative;
  overflow: hidden;
  background: #e8f0fc;
  min-height: 741px;
}

.fv::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 190px;
  content: "";
  background: linear-gradient(180deg, rgba(248, 251, 254, 0) 0%, #f8fbfe 92%);
  pointer-events: none;
  z-index: 1;
}

.fv__photo-container .fv__photo {
  /* position: absolute;
  top: -32px;
  left: 50%;
  width: 1694px;
  height: 836px;
  max-width: none;
  object-fit: cover;
  transform: translateX(-50%); */
  object-fit: cover;
  object-position: center bottom;
  width: 100%;
  min-height: 741px;
}
/* .fv__photo{
  opacity: 0.8;
}
.fv__photo-container::before{
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
   background-color: #E8F0FC;
  z-index: -1;
} */

.fv__content {
  position: absolute;
  top: 0;
  left: 50%;
  width: min(100%, var(--fv-max-width));
  height: 100%;
  /* z-indexを付けるとスタッキングコンテキストが分離し、
     .fv__copyのmix-blend-modeが背後の.fv__photo-containerとブレンドできなくなるため付けない */
  min-height: 741px;
  margin: 0 auto;
  transform: translateX(-50%);
}

.fv__breadcrumb {
  position: absolute;
  top: 15px;
  left: 120px;
  display: flex;
  align-items: center;
  gap: 12px;
  height: 18px;
  color: #15181c;
  font-family: var(--font-ibm);
  font-size: 12px;
  line-height: 18px;
}

.fv__breadcrumb a {
  color: #0047ba;
  text-decoration: none;
}

.fv__breadcrumb span[aria-hidden="true"] {
  color: #c4cbcf;
}

.fv__brand {
  position: absolute;
  top: 56px;
  left: 50%;
  width: 260px;
  text-align: center;
  transform: translateX(-50%);
}

.fv__brand-label {
  margin: 0 0 8px;
  color: var(--color-gray);
  font-size: 16px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 1.5px;
  white-space: nowrap;
}

.fv__logo {
  position: relative;
  width: 234px;
  height: 81px;
  margin: 0 auto;
}

.fv__logo-wordmark {
  position: absolute;
  top: 0;
  left: 0;
  width: 234px;
  height: 50.24px;
}

.fv__logo-tagline {
  position: absolute;
  bottom: 0;
  left: 52px;
  width: 134.43px;
  height: 15.97px;
}

.fv__copy {
  position: absolute;
  top: -100px;
  bottom: 0;
  left: clamp(50px, 9vw, 165px);
  margin: auto;
  color: var(--color-blue);
  height: fit-content;
  font-size: clamp(30px, 3vw, 46px);
  font-weight: 400;
  line-height: clamp(48px, 5vw, 68px);
  letter-spacing: clamp(2.4px, 0.1vw, 0.3vw);
  font-family: var(--font-ja);
}

@media (min-width: 1441px) {
  .fv {
    min-height: 925px;
  }

  .fv::after {
    height: 237px;
  }


  .fv__photo-container .fv__photo {
    min-height: 925px;
  }

  .fv__content {
    width: min(100%, var(--fv-max-width));
    min-height: 925px;
  }

  .fv__breadcrumb {
    top: 15px;
    left: 120px;
  }

  .fv__brand {
    top: 60px;
    width: clamp(260px, calc(260px + (100vw - 1440px) * 0.0896), 292px);
  }

  .fv__brand-label {
    margin-bottom: 10px;
    font-size: clamp(16px, calc(16px + (100vw - 1440px) * 0.0112), 20px);
    letter-spacing: clamp(1.5px, calc(1.5px + (100vw - 1440px) * 0.0028), 2.5px);
  }

  .fv__logo {
    width: clamp(234px, calc(234px + (100vw - 1440px) * 0.1625), 292px);
    height: clamp(81px, calc(81px + (100vw - 1440px) * 0.056), 101px);
  }

  .fv__logo-wordmark {
    width: clamp(234px, calc(234px + (100vw - 1440px) * 0.1625), 292px);
    height: clamp(50.24px, calc(50.24px + (100vw - 1440px) * 0.0348), 62.66px);
  }

  .fv__logo-tagline {
    left: clamp(52px, calc(52px + (100vw - 1440px) * 0.0336), 64px);
    width: clamp(134.43px, calc(134.43px + (100vw - 1440px) * 0.0912), 167px);
    height: clamp(15.97px, calc(15.97px + (100vw - 1440px) * 0.0108), 19.82px);
  }

  .fv__copy {
    left: clamp(165px, calc(165px + (100vw - 1440px) * 0.028), 175px);
    font-size: clamp(46px, calc(46px + (100vw - 1440px) * 0.0308), 57px);
    line-height: clamp(68px, calc(68px + (100vw - 1440px) * 0.0476), 85px);
    letter-spacing: clamp(2.4px, calc(2.4px + (100vw - 1440px) * 0.0017), 3px);
    mix-blend-mode: normal;
  }
}

.problem {
  position: relative;
  padding: 40px 0 50px;
  background: linear-gradient(180deg, #f8fbfe 0%, #f6f6f3 100%);
}

.problem__panel {
  position: relative;
  top: -50px;
  width: min(calc(100% - 48px), 1040px);
  margin: 0 auto -50px;
  padding: 50px 60px;
  overflow: hidden;
  border-radius: 20px;
  /* background: linear-gradient(180deg, #e7eef6 0%, #fdf1cd 56%, #ffe49b 100%); */
}

/* oil-droplet texture blended into the warm card */
.problem__bubble {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  /* opacity: 0.55; */
  /* mix-blend-mode: soft-light; */
  pointer-events: none;
  border-radius: 20px;
}

.problem__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.problem__intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.problem__title {
  margin: 0;
  color: var(--color-text);
  font-size: 36px;
  font-weight: 400;
  line-height: 54px;
  letter-spacing: 1.5px;
  word-break: keep-all;
}

.problem__lead {
  padding-top: 40px;
}

.problem__lead-heading {
  margin: 0 0 14px;
  color: var(--color-orange, #eb6b40);
  font-size: 20px;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: 1.5px;
}

.problem__lead-text {
  margin: 0;
  color: var(--color-text);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: 1.5px;
}

.problem__card {
  padding: 30px 40px;
  border-radius: 20px;
  background: #fff;
}

.problem__card-heading {
  margin: 0 0 14px;
  color: var(--color-orange, #eb6b40);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 1.5px;
  text-align: center;
}

.problem__items {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 25px;
  align-items: start;
}

.problem__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  min-width: 0;
  text-align: center;
}

.problem__icon {
  width: 80px;
  height: 80px;
}

.problem__item-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.problem__item-title {
  margin: 0;
  color: var(--color-orange, #eb6b40);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 1.5px;
}

.problem__item-text {
  margin: 0;
  color: var(--color-text);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: 1.5px;
  text-align: left;
}

.problem__closing {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: center;
}

.problem__closing-label {
  margin: 0;
  color: var(--color-text);
  font-size: 20px;
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: 1.5px;
}

.problem__closing-copy {
  margin: 0;
  color: var(--color-orange, #eb6b40);
  font-size: 32px;
  font-weight: 400;
  line-height: 54px;
  letter-spacing: 1.5px;
}

.about {
  position: relative;
  padding: 60px 0 90px;
  overflow: hidden;
  scroll-margin-top: 24px;
  /* background:
    radial-gradient(
      circle at 50% 0%,
      rgba(255, 255, 255, 0.82),
      rgba(255, 255, 255, 0) 44%
    ),
    linear-gradient(180deg, #f7f6f2 0%, #f4f3ef 100%); */
  background: #f6f6f3;
}

.about__inner {
  position: relative;
  z-index: 1;
  width: min(100%, 1440px);
  margin: 0 auto;
}
.about__bg-r {
  display: block;
  position: absolute;
  top: 0;
  right: -10%;
  width: 540px;
  height: 100%;
  z-index: 1;
}
.about__bg-l {
  display: block;
  position: absolute;
  top: 0;
  left: -10%;
  width: 530px;
  height: 100%;
  z-index: 1;
}
/* 
.about__hex {
  position: absolute;
  width: 118px;
  aspect-ratio: 1;
  clip-path: polygon(25% 6.7%, 75% 6.7%, 100% 50%, 75% 93.3%, 25% 93.3%, 0 50%);
  opacity: 0.26;
  filter: blur(0.6px);
}

.about__hex--1 {
  top: 214px;
  left: 6.5%;
  background: #f0b2cb;
}

.about__hex--2 {
  top: 184px;
  right: 13.8%;
  background: #98deef;
}

.about__hex--3 {
  top: 486px;
  right: 6.1%;
  width: 176px;
  background: #f6c6aa;
  opacity: 0.2;
}

.about__hex--4 {
  top: 642px;
  left: 4.6%;
  width: 86px;
  background: #f0df75;
}

.about__hex--5 {
  top: 1124px;
  left: 2.5%;
  background: #a9d5f9;
}

.about__hex--6 {
  top: 1170px;
  right: 4.2%;
  width: 166px;
  background: #ee7fb2;
  opacity: 0.22;
}

.about__hex--7 {
  bottom: 78px;
  left: -0.8%;
  width: 154px;
  background: #ebc6f0;
  opacity: 0.16;
}

.about__hex--8 {
  bottom: 86px;
  right: 3%;
  width: 172px;
  background: #c7ddf7;
  opacity: 0.2;
} */

.about__panel {
  position: relative;
  width: min(calc(100% - 48px), 900px);
  margin: 0 auto;
  padding: 44px 60px 56px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 20px 50px rgba(181, 191, 205, 0.18);
  backdrop-filter: blur(5px);
}

.about__heading {
  text-align: center;
}

.about__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 10px;
}

.about__dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.about__dots span:nth-child(1) {
  background: #c3a116;
}

.about__dots span:nth-child(2) {
  background: #ee6d55;
}

.about__dots span:nth-child(3) {
  background: #ad7db8;
}

.about__dots span:nth-child(4) {
  background: #6fa7db;
}

.about__dots span:nth-child(5) {
  background: #92c8e6;
}

.about__dots span:nth-child(6) {
  background: #d66c9b;
}

.about__eyebrow {
  margin: 0;
  color: var(--color-blue);
  font-family: var(--font-ibm);
  font-size: 12px;
  line-height: 1.5;
  letter-spacing: 1.2px;
}

.about__title {
  width: fit-content;
  margin: 6px auto 0;
  color: var(--color-text-gray);
  font-weight: 400;
  line-height: 1;
  text-align: center;
  word-break: keep-all;
}

.about__title-ruby {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  color: var(--color-text-gray);
  font-size: 10px;
  line-height: 12px;
  letter-spacing: 0.7px;
  white-space: nowrap;
}

.about__title-main {
  display: inline;
  color: var(--color-text-gray);
  font-size: 28px;
  line-height: 28px;
  letter-spacing: 0.7px;
  font-weight: 400;
  white-space: nowrap;
}

.about__title-word {
  position: relative;
  display: inline-block;
  padding-top: 14px;
}

.about__intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 25px;
  align-items: center;
  max-width: 780px;
  margin: 40px auto 0;
}

.about__intro-title {
  margin: 0;
  color: #4a5360;
  font-size: 32px;
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: 1.4px;
  word-break: keep-all;
}

.about__intro-text {
  margin: 18px 0 0;
  color: var(--color-text);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.85;
  letter-spacing: 1.1px;
}

.about__intro-media {
  margin: 0;
  border-radius: 20px;
  overflow: hidden;
}

.about__intro-media img {
  width: 100%;
  aspect-ratio: 330 / 235;
  object-fit: cover;
  object-position: 72% center;
}

.about__accordion {
  max-width: 780px;
  margin: 44px auto 0;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  background: rgba(252, 253, 255, 0.8);
}

.about__accordion[open] {
  box-shadow: 0 12px 26px rgba(176, 194, 227, 0.08);
}

.about__accordion-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 28px;
  cursor: pointer;
  list-style: none;
}

.about__accordion-summary::-webkit-details-marker {
  display: none;
}

.about__accordion-title {
  color: var(--color-blue);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 1.2px;
}

.about__accordion-toggle {
  position: relative;
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  border: 1px solid var(--color-blue-soft);
  border-radius: 50%;
}

.about__accordion-toggle::before,
.about__accordion-toggle::after {
  position: absolute;
  top: 50%;
  left: 50%;
  content: "";
  background: var(--color-blue);
  transform: translate(-50%, -50%);
}

.about__accordion-toggle::before {
  width: 12px;
  height: 1px;
}

.about__accordion-toggle::after {
  width: 1px;
  height: 12px;
  transition: transform 0.2s ease;
}

.about__accordion[open] .about__accordion-toggle::after {
  transform: translate(-50%, -50%) scaleY(0);
}

.about__accordion-body {
  padding: 0 28px 28px;
}

.about__accordion-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 312px;
  gap: 28px;
  align-items: center;
}

.about__accordion-main--wide {
  grid-template-columns: minmax(0, 1fr) 411px;
}

.about__accordion-text p {
  margin: 0;
  color: var(--color-text);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.85;
  letter-spacing: 1.05px;
}

.about__accordion-text--compact p {
  font-size: 14px;
}

.about__accordion-foot p {
  margin: 0;
  color: var(--color-text);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.85;
  letter-spacing: 1.05px;
}

.about__accordion-text p + p,
.about__accordion-foot p + p {
  margin-top: 8px;
}

.about__accordion-figure {
  margin: 0;
}

.about__accordion-figure img {
  width: 100%;
  height: auto;
}

.about__accordion-divider {
  margin: 30px 0;
  border-top: 1px dotted #d2dcf2;
}

.about__accent-intro {
  margin-top: 18px !important;
  text-align: center;
  font-weight: 700 !important;
}

.about__accent-copy {
  color: var(--color-blue) !important;
  font-size: 24px !important;
  font-weight: 700 !important;
  line-height: 1.65 !important;
  letter-spacing: 1.4px !important;
  text-align: center;
}

.about__focus {
  max-width: 780px;
  margin: 34px auto 0;
  text-align: center;
}

.about__focus-lead {
  margin: 0;
  color: var(--color-text);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.85;
  letter-spacing: 1.05px;
}

.about__focus-copy {
  margin: 6px 0 0;
  color: var(--color-blue);
  font-size: 21px;
  font-weight: 700;
  line-height: 1.65;
  letter-spacing: 1.4px;
  word-break: keep-all;
}

.about__feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  max-width: 780px;
  margin: 38px auto 0;
}

.about__feature-card {
  min-height: 204px;
  padding: 24px 20px 26px;
  border: 1px solid var(--color-blue-soft);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.88);
  text-align: center;
}

.about__feature-icon {
  display: grid;
  place-items: center;
  width: 73px;
  height: 73px;
  margin: 0 auto 20px;
  border-radius: 50%;
  color: #5a88ea;
  background: #f1f6ff;
}

.about__feature-icon svg {
  width: 54px;
  height: 61px;
  stroke: currentColor;
  stroke-width: 1.8;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.about__feature-text {
  margin: 0;
  color: var(--color-text);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.95;
  letter-spacing: 1px;
  text-align: left;
}

.about__feature-text strong {
  color: var(--color-blue);
  font-weight: 700;
}

.about__closing {
  max-width: 780px;
  margin: 20px auto 0;
  text-align: center;
}

.about__closing-arrow {
  display: block;
  width: 0;
  margin: 0 auto 18px;
  border-top: 18px solid var(--color-blue);
  border-right: 22px solid transparent;
  border-left: 22px solid transparent;
}

.about__closing-title {
  margin: 0;
  color: var(--color-blue);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 1.4px;
}

.about__closing-text {
  margin: 6px 0 0;
  color: var(--color-text);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.85;
  letter-spacing: 1.05px;
}

.about__interview {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 216px;
  overflow: hidden;
  border: 1px solid var(--color-blue);
  border-radius: 10px;
  background: #e8f0fc;
  transition: opacity 0.2s ease;
  will-change: opacity;
}

.about__interview-link {
  display: block;
  width: min(calc(100% - 48px), 600px);
  margin: 0 auto 80px;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

.about__interview-link:hover .about__interview {
  opacity: 0.8;
}

.about__interview-link:focus-visible .about__interview {
  outline: 2px solid var(--color-red);
  outline-offset: 3px;
}

.about__interview-copy {
  position: relative;
  z-index: 1;
  padding: 30px 40px;
}

.about__interview-label {
  margin: 0;
  color: var(--color-blue);
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 500;
  line-height: 14px;
  letter-spacing: 0.7px;
  text-transform: uppercase;
}

.about__interview-title {
  margin: 12px 0 0;
  color: var(--color-text);
  font-size: 24px;
  font-weight: 400;
  line-height: 24px;
  letter-spacing: 0.7px;
}

.about__interview-text {
  margin: 16px 0 0;
  color: #1f2937;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  letter-spacing: 0.7px;
}

.about__interview-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 20px 0 0;
  color: var(--color-red);
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
  letter-spacing: 0.7px;
}

.about__interview-cta-icon {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.about__interview-cta-icon svg {
  display: block;
  width: 100%;
  height: 100%;
  transform: translateX(-1px);
}

/* 写真を背景にカード全体へ敷き、左側を白グラデーションでフェードさせる（Figma準拠） */
.about__interview-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: url("../images/top/section3-dev-banner.png") center bottom / cover
    no-repeat;
  background-position: 145px -50px;
  width: 80%;
  margin-left: auto;
}

.about__interview-media::before {
  content: "";
  position: absolute;
  inset: 0;
}

.about__interview-media img {
  display: none;
}

/* =========================================================
   Float CTA — 右下に追従するPLAZA ONLINE STOREボタン
   ========================================================= */
.float-cta {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 11px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: var(--color-blue);
  color: #fff;
  text-decoration: none;
  box-shadow: 0 8px 22px rgba(24, 70, 186, 0.35);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    opacity 0.4s ease;
}
.float-cta--hidden {
  opacity: 0;
  pointer-events: none;
}

.float-cta__bag {
  width: 19px;
  height: 17.5px;
}

.float-cta__label {
  font-family: var(--font-en);
  font-size: 16px;
  font-weight: 600;
  line-height: 18px;
  letter-spacing: 0.7px;
  text-align: center;
}

.float-cta__arrow {
  width: 24px;
  height: 24px;
}

@media (hover: hover) and (pointer: fine) {
  .float-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 26px rgba(24, 70, 186, 0.45);
  }
}

/* =========================================================
   Products (LINE UP / 商品一覧) — hexagon honeycomb section
   ========================================================= */
.products {
  padding: 55px 0;
  background: var(--color-cream);
}

.products__inner {
  width: min(calc(100% - 48px), 1440px);
  margin: 0 auto;
}

.products__heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
}

.products__dots {
  display: flex;
  gap: 8px;
}

.products__dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.products__dots span:nth-child(1) {
  background: #b39a0a;
}
.products__dots span:nth-child(2) {
  background: #eb6b40;
}
.products__dots span:nth-child(3) {
  background: #c5559f;
}
.products__dots span:nth-child(4) {
  background: #70bacc;
}
.products__dots span:nth-child(5) {
  background: #478fe1;
}
.products__dots span:nth-child(6) {
  background: #ef7b9e;
}

.products__eyebrow {
  margin: 0;
  color: var(--color-blue);
  font-family: var(--font-en);
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.products__title {
  margin: 0;
  color: #1f2937;
  font-size: 28px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.025em;
}

.products__lead {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: min(1000px, 100%);
  margin: 60px auto 0;
}

.products__lead-title {
  margin: 0;
  color: #1f2937;
  font-size: 24px;
  line-height: 1.4;
  letter-spacing: 0.03em;
  text-align: center;
}

.products__lead-text {
  margin: 0;
  color: #1f2937;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0.03em;
  text-align: center;
}

/* --- honeycomb stage ----------------------------------------------------- */
.products__stage {
  container-type: inline-size;
  width: min(100%, 1281px);
  margin: 40px auto 0;
}

.products__canvas {
  position: relative;
  width: 100%;
  aspect-ratio: 1281 / 971;
  /* --u === 1 design px as an absolute length, so it never compounds the
     way `em` would when a sized element also overrides its font-size.
     Everything below is expressed as calc(var(--u) * <figma-px>). */
  --u: calc(100cqw / 1281);
}

.products__hex {
  position: absolute;
  z-index: 1;
  width: calc(var(--u) * 286.017);
}

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

.products__hex--tl {
  left: calc(var(--u) * 260);
  top: 0;
}
.products__hex--tr {
  left: calc(var(--u) * 558);
  top: 0;
}
.products__hex--ml {
  left: calc(var(--u) * 409);
  top: calc(var(--u) * 260);
}
.products__hex--mr {
  left: calc(var(--u) * 707);
  top: calc(var(--u) * 260);
}
.products__hex--bl {
  left: calc(var(--u) * 259);
  top: calc(var(--u) * 521);
}
.products__hex--br {
  left: calc(var(--u) * 556.95);
  top: calc(var(--u) * 520.93);
}

.products__new {
  position: absolute;
  left: calc(var(--u) * 182.37);
  top: calc(var(--u) * 72.15);
  display: flex;
  align-items: center;
  justify-content: center;
  width: calc(var(--u) * 59);
  height: calc(var(--u) * 59);
  border-radius: 50%;
  background: var(--color-pink, #ff4a99);
  color: #fff;
  font-family: var(--font-en);
  font-size: calc(var(--u) * 14);
  font-weight: 500;
  letter-spacing: 0.05em;
}

/* --- product cards ------------------------------------------------------- */
.products__card {
  position: absolute;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: calc(var(--u) * 16);
  width: calc(var(--u) * 260);
}

.products__card--washtoner {
  left: 0;
  top: calc(var(--u) * 48);
  --cat: #22a6c7;
}
.products__card--cleanse {
  left: calc(var(--u) * 891);
  top: calc(var(--u) * 48);
  --cat: #478fe1;
}
.products__card--hydrator {
  left: calc(var(--u) * 124);
  top: calc(var(--u) * 323.75);
  --cat: #d6b600;
}
.products__card--emollient {
  left: calc(var(--u) * 1021);
  top: calc(var(--u) * 325.75);
  --cat: #eb6b40;
}
.products__card--serum {
  left: 0;
  top: calc(var(--u) * 561.75);
  --cat: #ff4a99;
}
.products__card--uv {
  left: calc(var(--u) * 891);
  top: calc(var(--u) * 573.75);
  --cat: #f02326;
}

.products__info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.products__cat {
  align-self: flex-start;
  margin: 0 0 calc(var(--u) * 10);
  padding: calc(var(--u) * 6) calc(var(--u) * 12);
  background: var(--cat);
  color: #fff;
  font-family: var(--font-ja);
  font-size: calc(var(--u) * 14);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.04em;
  white-space: nowrap;
  width: 100%;
}

.products__cat--full {
  align-self: stretch;
}

.products__name {
  margin: 0;
  color: var(--color-text);
  font-size: calc(var(--u) * 18);
  font-weight: 400;
  line-height: 1.56;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.products__spec {
  margin: calc(var(--u) * 4) 0 0;
  color: var(--color-text);
  font-size: calc(var(--u) * 12);
  line-height: 1.83;
  letter-spacing: 0.04em;
}

.products__spec-mb {
  margin-bottom: 6px;
}

.products__spec + .products__spec {
  margin-top: 0;
}

.products__spec--row {
  display: flex;
  align-items: center;
  gap: calc(var(--u) * 4);
}

.products__badge {
  display: inline-flex;
  align-items: center;
  padding: 0 calc(var(--u) * 6);
  border: max(1px, calc(var(--u) * 1)) solid var(--color-text);
  font-size: calc(var(--u) * 12);
  line-height: 1.83;
  white-space: nowrap;
}

.products__price {
  margin: calc(var(--u) * 6) 0 0;
  color: var(--color-text);
  font-family: var(--font-jp);
}

.products__price-num {
  font-size: calc(var(--u) * 16);
  line-height: 1.375;
}

.products__price-tax {
  font-size: calc(var(--u) * 10);
}

.products__btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: calc(var(--u) * 40);
  padding: calc(var(--u) * 13) calc(var(--u) * 14) calc(var(--u) * 13) calc(var(--u) * 20);
  border: max(1px, calc(var(--u) * 1)) solid var(--cat);
  border-radius: calc(var(--u) * 25);
  color: var(--cat);
  font-family: var(--font-jp);
  font-size: calc(var(--u) * 14);
  font-weight: 700;
  line-height: calc(var(--u) * 13.5);
  letter-spacing: 0.0375em;
  text-decoration: none;
  transition:
    background-color 0.2s ease,
    color 0.2s ease;
}

.products__btn:hover {
  background-color: #fff;
  color: var(--cat);
}

.products__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: calc(var(--u) * 24);
  height: calc(var(--u) * 24);
  border-radius: 50%;
  background: var(--cat);
}

.products__arrow svg {
  width: calc(var(--u) * 6);
  height: calc(var(--u) * 10);
  transform: translateX(calc(var(--u) * 1));
}

.products__btn:hover .products__arrow {
  background: var(--cat);
}

.products__btn:hover .products__arrow svg path {
  stroke: #fff;
}

.lineup {
  padding: 40px 0 108px;
  background: var(--color-cream);
}

.lineup__inner {
  width: min(calc(100% - 48px), 1440px);
  margin: 0 auto;
}

.lineup__heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
}

.lineup__dots {
  display: none; /* shown on SP only */
  gap: 8px;
}

.lineup__dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.lineup__dots span:nth-child(1) {
  background: #b39a0a;
}
.lineup__dots span:nth-child(2) {
  background: #eb6b40;
}
.lineup__dots span:nth-child(3) {
  background: #c5559f;
}
.lineup__dots span:nth-child(4) {
  background: #70bacc;
}
.lineup__dots span:nth-child(5) {
  background: #478fe1;
}
.lineup__dots span:nth-child(6) {
  background: #ef7b9e;
}

.lineup__eyebrow {
  margin: 0;
  color: var(--color-blue);
  font-family: var(--font-en);
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.06em;
}

.lineup__title {
  margin: 0;
  color: #1f2937;
  font-size: 28px;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: 0.025em;
  word-break: keep-all;
}

/* product category colours (shared by PC & SP charts) */
.lineup__product {
  --cat: #8eaadb;
}
.lineup__product--cleanse {
  --cat: #478fe1;
}
.lineup__product--washing {
  --cat: #22a6c7;
}
.lineup__product--serum {
  --cat: #ff4a99;
}
.lineup__product--hydrator {
  --cat: #d6b600;
}
.lineup__product--emollient {
  --cat: #eb6b40;
}
.lineup__product--uv {
  --cat: #f02326;
}

.lineup__cat {
  display: flex;
  align-items: center;
  justify-content: left;
  width: 100%;
  min-height: 26px;
  margin: 0;
  padding: 6px;
  background: var(--cat);
  color: #fff;
  font-family: var(--font-en);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: 0.04em;
  text-align: center;
}

.lineup__visual {
  width: 100%;
  height: 135px;
  margin-top: 10px;
  mix-blend-mode: multiply;
}

.lineup__visual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.lineup__pname {
  margin: 10px 0 0;
  color: #3e3a39;
  font-size: 14px;
  font-weight: 400;
  line-height: 22px;
  letter-spacing: 0.05em;
  word-break: keep-all;
}

.lineup__tax {
  display: inline-flex;
  align-items: center;
  margin: 4px 0 0;
  padding: 2px 6px;
  border: 1px solid #4b5563;
  color: #4b5563;
  font-size: 10px;
  line-height: 1.6;
  letter-spacing: 0.05em;
}

/* ============ PC chart (horizontal) ============ */
.lineup__chart--pc {
  width: min(1000px, 100%);
  margin: 56px auto 0;
}

.lineup__phases {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}

.lineup__phase {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  border-radius: 20px 20px 0 0;
  background: #8eaadb;
  color: #fff;
  font-family: var(--font-ja);
  font-size: 18px;
  font-weight: 700;
  line-height: 39px;
  letter-spacing: 0.11em;
}
.lineup__phase--a {
  grid-column: 1 / 3;
}
.lineup__phase--b {
  grid-column: 3 / 6;
}
.lineup__phase--c {
  grid-column: 6 / 7;
}

.lineup__products {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
  align-items: start;
  margin-top: 20px;
}

.lineup__chart--pc .lineup__product {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
}

.lineup__effects {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 20px;
}

.lineup__erow {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}

.lineup__eff {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 26px;
  padding: 6px;
  border-radius: 20px;
  font-family: var(--font-ja);
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.11em;
  text-align: center;
}
.lineup__eff sup {
  font-size: 0.66em;
}
.lineup__eff--s12 {
  grid-column: 1 / 3;
}
.lineup__eff--s46 {
  grid-column: 4 / 7;
}
.lineup__eff--s36 {
  grid-column: 3 / 7;
}
.lineup__eff--s16 {
  grid-column: 1 / 7;
}
.lineup__eff--nontri {
  background: #f0dddf;
  color: #cd636f;
}
.lineup__eff--alc {
  background: #dde9ff;
  color: #4f9bd9;
}
.lineup__eff--frag {
  background: #f0e5dd;
  color: #f58f6d;
}
.lineup__eff--comedo {
  background: #f2e3f3;
  color: #ff65a8;
}

.lineup__disclaimer {
  position: absolute;
  top: 50%;
  right: 24px;
  transform: translateY(-50%);
  color: #1f2937;
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.lineup__disclaimer--sp {
  display: none;
}

/* ============ SP chart (vertical) — hidden until the SP breakpoint ============ */
.lineup__chart--sp {
  display: none;
}

/* =========================================================
   Routine (おすすめルーティーン) — day / night step flow
   Mobile-first base = SP stacked cards; PC layout in @media below.
   ========================================================= */
.routine {
  padding: 56px 0 64px;
  background: var(--color-cream);
}

.routine__inner {
  width: min(calc(100% - 40px), 1100px);
  margin: 0 auto;
}

.routine__heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
}

.routine__dots {
  display: flex;
  gap: 8px;
}

.routine__dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.routine__dots span:nth-child(1) {
  background: #b39a0a;
}
.routine__dots span:nth-child(2) {
  background: #eb6b40;
}
.routine__dots span:nth-child(3) {
  background: #c5559f;
}
.routine__dots span:nth-child(4) {
  background: #70bacc;
}
.routine__dots span:nth-child(5) {
  background: #478fe1;
}
.routine__dots span:nth-child(6) {
  background: #ef7b9e;
}

.routine__eyebrow {
  margin: 0;
  color: var(--color-blue);
  font-family: var(--font-en);
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.routine__title {
  margin: 0;
  color: #4b5563;
  font-size: 28px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.025em;
}

.routine__lead {
  margin: 4px 0 0;
  color: #4b5563;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0.03em;
}

.routine__body {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 36px;
}

/* --- routine column / card ------------------------------------------------ */
.routine__col {
  position: relative;
  width: 100%;
  max-width: 360px;
  padding: 26px 12px 30px;
  border-radius: 24px;
}

.routine__col--day {
  position: relative;
}
.routine__col--day::before {
  content: "";
  position: absolute;
  top: -10%;
  left: -55px;
  width: 130%;
  height: 130%;
  background-image: url(../images/top/recommended-bg-yrllow_sp.png);
  background-size: 100% 100%;
  background-position: center;
  background-repeat: no-repeat;
}

.routine__col--night::before {
  content: "";
  position: absolute;
  top: -10%;
  left: -55px;
  width: 130%;
  height: 130%;
  background-image: url(../images/top/recommended-bg-blue_sp.png);
  background-size: 100% 100%;
  background-position: center;
  background-repeat: no-repeat;
}

.routine__tag {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: max-content;
  margin: 0 100px 25px auto;
  padding: 4px 20px;
  border-radius: 26px;
  position: relative;
  z-index: 1;
}

.routine__tag-text {
  color: #4b5563;
  font-size: 20px;
  letter-spacing: 0.07em;
}

.routine__tag-icon {
  width: 40px;
  height: 40px;
}

/* --- steps ---------------------------------------------------------------- */
.routine__steps {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin: 0;
  padding: 0 0 0 28px;
  list-style: none;
}

.routine__step {
  position: relative;
}

/* down-arrow connector between consecutive steps.
   The source SVG is a right-pointing curved arrow; rotate it 90° so it
   points downward toward the next step, matching the Figma design. */
.routine__step + .routine__step::before {
  content: "";
  position: absolute;
  z-index: 3;
  left: -40px;
  top: -16px;
  width: 35px;
  height: 22px;
  background: url(../images/top/routine-arrow-day.svg) center / contain
    no-repeat;
  transform: rotate(90deg);
}
.routine__col--night .routine__step + .routine__step::before {
  background-image: url(../images/top/routine-arrow-night.svg);
}

.routine__pill {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 81px;
  padding: 8px 16px 8px 44px;
  border-radius: 45px;
  background: #fff;
}

.routine__badge {
  position: absolute;
  left: -28px;
  top: 50%;
  z-index: 2;
  width: 90px;
  height: 89px;
  transform: translateY(-50%);
}

.routine__hex {
  display: block;
  width: 100%;
  height: 100%;
}

.routine__hex path {
  fill: var(--tint);
  stroke: var(--line);
  stroke-width: 1;
}

.routine__badge-label {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.02em;
  text-align: center;
}

.routine__badge--bluegreen {
  --tint: #d4f0f7;
  --line: #70bacc;
  --ink: #22a6c7;
}
.routine__badge--pink {
  --tint: #f3e2f3;
  --line: #ff4a99;
  --ink: #ff4a99;
}
.routine__badge--gold {
  --tint: #f7f7da;
  --line: #d6b600;
  --ink: #d6b600;
}
.routine__badge--orange {
  --tint: #fcd9bf;
  --line: #eb6b40;
  --ink: #eb6b40;
}
.routine__badge--red {
  --tint: #f6dfdf;
  --line: #f02326;
  --ink: #f02326;
}
.routine__badge--blue {
  --tint: #cde4f8;
  --line: #478fe1;
  --ink: #478fe1;
}

.routine__thumb {
  flex-shrink: 0;
  width: 72px;
  height: 72px;
}

.routine__thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.routine__pbody {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.routine__pname {
  margin: 0;
  color: #4b5563;
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: 0.03em;
}

.routine__tax {
  align-self: flex-start;
  padding: 0 4.5px;
  border: 0.75px solid #4b5563;
  color: #4b5563;
  font-size: 9px;
  line-height: 1.7;
  letter-spacing: 0.04em;
}

.routine__note {
  align-self: flex-start;
  padding: 3px 10px;
  border-radius: 15px;
  font-size: 10px;
  line-height: 1.2;
  letter-spacing: 0.05em;
}

.routine__note--fill {
  color: #fff;
}
.routine__note--bluegreen {
  background: #22a6c7;
}
/* the "忙しい朝はスキップ" tag only exists in the PC design */
.routine__note--outline {
  background: #fff;
}
.routine__note--orange {
  border: 1px solid #eb6b40;
  color: #eb6b40;
}

/* --- swap icon between the two routines ----------------------------------- */
.routine__swap {
  display: flex;
  justify-content: center;
  margin: 6px 0;
  position: relative;
  z-index: 1;
}

.routine__swap img {
  width: 40px;
  height: auto;
  transform: rotate(90deg);
}

/* =========================================================
   Instagram — 3×3 グリッドの投稿フィード
   ========================================================= */
.insta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  padding: 60px 0;
  background: var(--color-cream);
}

.insta__title {
  margin: 0;
  color: var(--color-blue);
  font-family: var(--font-en);
  font-size: 28px;
  font-weight: 500;
  line-height: 28px;
  letter-spacing: 0.7px;
  text-align: center;
  text-transform: uppercase;
}

.insta__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 12px;
  row-gap: 10px;
  width: min(calc(100% - 48px), 618px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.insta__item {
  margin: 0;
}

.insta__link {
  display: block;
  aspect-ratio: 197.98 / 248.97;
  overflow: hidden;
  border-radius: 20px;
}

.insta__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.insta__link:hover .insta__img {
  transform: scale(1.04);
}

.hacobune-gallery {
  width: min(calc(100% - 48px), 900px);
  margin: 0 auto;
}

.hacobune-container {
  width: 100%;
}

@media (max-width: 720px) {
  .hacobune-gallery {
    width: calc(100% - 48px);
  }
}

@media (max-width: 430px) {
  .hacobune-gallery {
    width: calc(100% - 40px);
  }
}

/* =========================================================
   Line up — 最終CTA（ブランドラインアップ / STORE導線）
   ========================================================= */
.line-up {
  width: 100%;
  padding: 60px 0;
  background: var(--color-blue);
}

.line-up__inner {
  display: grid;
  /* 画像の固定幅(720px)に列が引っ張られて横溢れしないよう、列幅をコンテナ基準に固定 */
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  gap: 40px;
  width: min(calc(100% - 80px), 900px);
  margin: 0 auto;
}

.line-up__brand {
  display: grid;
  justify-items: center;
  gap: 10px;
}

.line-up__brand-copy {
  margin: 0;
  color: #fff;
  font-size: 16px;
  line-height: 1;
  letter-spacing: 2px;
}

.line-up__brand-mark {
  position: relative;
  width: 252px;
  height: 88px;
}

.line-up__brand-mark-top,
.line-up__brand-mark-bottom {
  position: absolute;
  display: block;
  object-fit: contain;
}

.line-up__brand-mark-top {
  top: 0;
  left: 0;
  width: 252px;
  height: 54.575px;
}

.line-up__brand-mark-bottom {
  top: 70.65px;
  left: 50%;
  width: 145px;
  height: 17.346px;
  transform: translateX(-50%);
}

.line-up__visual {
  width: 720px;
  max-width: 100%;
  aspect-ratio: 720 / 417;
  overflow: hidden;
  border-radius: 30px;
}

.line-up__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.line-up__message {
  margin: 0;
  max-width: min(100%, 753px);
  color: #fff;
  font-family: var(--font-ja);
  font-size: 28px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 1.12px;
  text-align: center;
}

.line-up__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.line-up__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 289px;
  min-height: 54px;
  padding: 15px 24px;
  border-radius: 27px;
  background: #b0d4e4;
  color: var(--color-blue);
  text-decoration: none;
  transition:
    background 0.3s ease,
    transform 0.3s ease;
}

.line-up__link-main {
  display: flex;
  align-items: center;
  gap: 11px;
}

.line-up__link-store-icon {
  width: 24px;
  height: 24px;
}

.line-up__link-store-en {
  font-family: var(--font-en);
  font-size: 16px;
  font-weight: 600;
  line-height: 18px;
  white-space: nowrap;
}

.line-up__link-store-ja {
  font-size: 12.5px;
  font-weight: 700;
  line-height: 13.5px;
  letter-spacing: 0.525px;
  white-space: nowrap;
}

.line-up__link-online-icon {
  flex: none;
  width: 19px;
  height: 17.5px;
}

.line-up__link-online-label {
  font-family: var(--font-en);
  font-size: 16px;
  font-weight: 600;
  line-height: 18px;
  letter-spacing: 0.7px;
  white-space: nowrap;
}

.line-up__link-arrow {
  flex: none;
  width: 24px;
  height: 24px;
  transition: transform 0.3s ease;
}

  .routine__col--day .routine__step--mini .routine__note--outline {
    display: inline-flex;
    align-items: center;
    margin-top: 2px;
    padding: 3px 10px;
    border-radius: 15px;
    white-space: nowrap;
    position: absolute;
    top: 0;
    right: -30px;
    bottom: 0;
    margin: auto;
  }

@media (hover: hover) and (pointer: fine) {
  .line-up__link:hover {
    background: #9cc8dc;
  }

  .line-up__link:hover .line-up__link-arrow {
    transform: translateX(2px);
  }
}

@media (max-width: 767px) {
  /* 追従ボタンはSPでは少し小さく */
  .float-cta {
    right: 16px;
    bottom: 16px;
    gap: 8px;
    width: 110px;
    height: 110px;
  }

  .float-cta__bag {
    width: 16px;
    height: 14.7px;
  }

  .float-cta__label {
    font-size: 12px;
    line-height: 14px;
  }

  .float-cta__arrow {
    width: 20px;
    height: 20px;
  }

  .line-up__inner {
    width: calc(100% - 40px);
    gap: 32px;
  }

  .line-up__message {
    font-size: 22px;
    letter-spacing: 0.8px;
  }

  .line-up__actions {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }

  .line-up__link {
    width: min(360px, 100%);
  }
  .routine__swap img {
    width: 84px;
  }
}

@media (min-width: 1000px) {
  .routine {
    padding: 40px 0 80px;
  }

  .routine__lead {
    margin-top: 6px;
  }

  .routine__body {
    flex-direction: row;
    align-items: flex-start;
    justify-content: center;
    gap: 16px;
    max-width: 1040px;
    margin: 44px auto 0;
  }

  .routine__col {
    flex: 1 1 0;
    max-width: 400px;
    padding: 64px 0 0;
    border-radius: 0;
    overflow: visible;
    background: none;
  }

  /* PC heading has no dot row (SP only) */
  .routine__dots {
    display: none;
  }

  /* large soft elliptical glow blob behind each column, leaning toward
     the centre so the two blobs overlap behind the swap icon */
  .routine__col::before {
    content: "";
    position: absolute;
    z-index: 0;
    top: 46%;
    width: 168%;
    height: 126%;
    border-radius: 50%;
  }
  .routine__col--day::before {
    left: -20%;
    top: -5%;
    width: 613.824px;
    height: 743.571px;
    z-index: 0;
    background-image: url(../images/top/recommended-bg-yrllow.png);
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
  }
  .routine__col--night::before {
    top: -4%;
    left: -30%;
    width: 600.824px;
    height: 733.571px;
    z-index: 0;
    background-image: url(../images/top/recommended-bg-blue.png);
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
  }

  .routine__tag {
    position: relative;
    z-index: 1;
    margin-bottom: 22px;
  }

  /* diagonal staircase: each row drifts left going down.
     padding-left reserves room so negative shifts never clip. */
  .routine__steps {
    padding-left: 90px;
  }
  .routine__step:nth-child(2) {
    transform: translateX(-18px);
  }
  .routine__step:nth-child(3) {
    transform: translateX(-36px);
  }
  .routine__step:nth-child(4) {
    transform: translateX(-54px);
  }
  .routine__step:nth-child(5) {
    transform: translateX(-72px);
  }

  /* the morning 乳液 is an optional step — rendered smaller in the design.
     Placed after the nth-child rules so it wins on source order. */
  .routine__col--day .routine__step--mini {
    transform: translateX(-54px) scale(0.82);
    transform-origin: left center;
  }

  .routine__swap {
    align-self: center;
    margin: 0;
    flex-shrink: 0;
  }
  .routine__swap img {
    width: 84px;
    height: 104px;
    object-fit: cover;
    transform: rotate(0deg);
  }
}

/* @media (min-width: 1441px) {
  .fv__photo-container {
    width: 117.66vw;
    height: 58.06vw;
  }
} */

@media (max-width: 1100px) {
  .fv__breadcrumb {
    left: 32px;
  }

  .fv__copy {
    left: clamp(72px, 10vw, 128px);
  }

  .problem__panel {
    width: calc(100% - 40px);
    padding-right: 40px;
    padding-left: 40px;
  }

  .about__panel {
    width: calc(100% - 40px);
    padding-right: 40px;
    padding-left: 40px;
  }

  .lineup__inner {
    width: calc(100% - 40px);
  }

  .problem__items {
    gap: 24px;
  }
}

@media (max-width: 900px) {
  .problem {
    min-height: 0;
    padding-bottom: 56px;
  }

  .problem__panel {
    top: -34px;
    min-height: 0;
    padding: 32px 15px;
  }

  .problem__intro {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .problem__lead {
    padding-top: 0;
  }

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

  .about {
    padding-bottom: 72px;
  }

  .about__panel {
    width: calc(100% - 32px);
    padding: 40px 26px 48px;
  }

  .about__intro,
  .about__accordion-main,
  .about__accordion-main--wide,
  .about__intro {
    gap: 24px;
  }

  .about__intro-media {
    max-width: 420px;
    margin: 0 auto;
  }

  .about__accordion-figure,
  .about__accordion-figure--wide {
    max-width: 411px;
    margin: 0 auto;
  }

  .about__feature-grid {
    grid-template-columns: 1fr;
  }

  .about__interview {
    width: calc(100% - 32px);
  }

  /* .about__hex--2,
  .about__hex--6,
  .about__hex--8 {
    right: -32px;
  } */

  .lineup {
    padding: 84px 0 92px;
  }

  .lineup__dots {
    display: flex;
  }

  /* swap to the vertical SP chart */
  .lineup__chart--pc {
    display: none;
  }

  .lineup__chart--sp {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr) repeat(4, 26px);
    gap: 6px 4px;
    width: min(360px, 100%);
    margin: 48px auto 0;
    align-items: stretch;
  }

  /* vertical phase bars (落とす / 整える / 守る) */
  .lineup__vphase {
    display: flex;
    align-items: center;
    justify-content: center;
    grid-column: 1;
    border-radius: 20px 0 0 20px;
    background: #8eaadb;
    color: #fff;
    font-family: var(--font-ja);
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.2em;
    writing-mode: vertical-rl;
  }
  .lineup__vphase--a {
    grid-row: 1 / 3;
    font-size: 18px;
  }
  .lineup__vphase--b {
    grid-row: 3 / 6;
    font-size: 18px;
  }
  .lineup__vphase--c {
    grid-row: 6 / 7;
    font-size: 18px;
  }

  /* products stacked in the centre column */
  .lineup__chart--sp .lineup__product {
    grid-column: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
  }
  .lineup__vp--1 {
    grid-row: 1;
  }
  .lineup__vp--2 {
    grid-row: 2;
  }
  .lineup__vp--3 {
    grid-row: 3;
  }
  .lineup__vp--4 {
    grid-row: 4;
  }
  .lineup__vp--5 {
    grid-row: 5;
  }
  .lineup__vp--6 {
    grid-row: 6;
  }

  .lineup__chart--sp .lineup__visual {
    height: 120px;
    position: relative;
  }
  .routine__lead {
    text-align: left;
  }

  /* vertical effect bars */
  .lineup__veff {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    font-family: var(--font-ja);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.14em;
    writing-mode: vertical-rl;
    padding: 12px 0;
  }
  .lineup__veff sup {
    font-size: 0.66em;
  }
  .lineup__veff--oiloff {
    background: #e3edf7;
    color: #7f93b8;
  }
  .lineup__veff--nontri {
    background: #f0dddf;
    color: #cd636f;
  }
  .lineup__veff--alc {
    background: #dde9ff;
    color: #4f9bd9;
  }
  .lineup__veff--oil {
    background: #f0e5dd;
    color: #f58f6d;
  }
  .lineup__veff--comedo {
    background: #f2e3f3;
    color: #ff65a8;
    position: relative;
  }

  .lineup__disclaimer--sp {
    display: block;
    position: absolute;
    right: 6px;
    /* left: 0; */
    margin: auto;
    top: unset;
    bottom: 20px;
    /* position: static; */
    transform: none;
    /* margin: 12px auto 0; */
    color: #1f2937;
    font-size: 9px;
    writing-mode: vertical-rl;
    line-height: 1.5;
    letter-spacing: 0.02em;
    text-align: center;
    width: fit-content;
    height: fit-content;
  }
  .problem__item-title {
    letter-spacing: 0.5px;
    font-size: 12px;
  }
}

@media (max-width: 767px) {
  .products {
    padding: 56px 0;
  }

  .products__title {
    font-size: 28px;
  }

  .products__lead {
    margin-top: 40px;
  }

  .products__lead-title {
    font-size: 24px;
  }

  .routine__inner {
    width: min(calc(100% - 80px), 1100px);
  }
  .products__lead-text {
    font-size: 16px;
    text-align: left;
  }

  .products__stage {
    margin-top: 40px;
  }

  /* honeycomb collapses to a single stacked column */
  .products__canvas {
    position: static;
    aspect-ratio: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* enlarge the base unit so one product fills the column width */
    --u: calc(100cqw / 320);
    gap: calc(var(--u) * 28);
  }

  .products__card {
    position: static;
    left: auto;
    top: auto;
    margin-top: -50px;
  }
  .products__cat {
    font-size: 14px;
  }

  .lineup__pname {
    font-size: 13px;
  }

  /* hexはrelativeにして、絶対配置の.products__new(NEWバッジ)の基準にする
     （staticのままだと基準を失いページ上部=FV上に飛び出すため） */
  .products__hex {
    position: relative;
    left: auto;
    top: auto;
  }

  .routine__tax {
    line-height: 1;
    padding: 3px 4.5px;
    display: inline-block;
  }

  .products__hex {
    width: calc(var(--u) * 240);
    margin: 0 auto calc(var(--u) * -8);
  }

  .products__card {
    width: calc(var(--u) * 300);
    gap: calc(var(--u) * 18);
  }

  .products__name {
    white-space: normal;
    font-size: 18px;
  }
  .products__spec {
    font-size: 12px;
  }
  .products__price-num {
    font-size: 16px;
  }
  .products__price-tax {
    font-size: 10px;
  }
  .products__btn {
    font-size: 14px;
  }
  /* ---- FV (SP) ----
     デザイン(17884:7739)に合わせ、ロゴ＋コピーを上部に縦並びし、
     商品写真を背景に敷く。パンくず・ブランドラベルはSPでは非表示。 */
  .fv {
    min-height: 470px;
  }

  .fv::after {
    display: none;
  }

  /* SP専用写真（ほぼ正方形のトリミング）を背景に。PC用<img>は隠す */
  .fv__photo-container {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: url("../images/top/fv-bg-sp.jpg") center bottom / cover
      no-repeat;
  }

  .fv__photo-container .fv__photo {
    display: none;
  }

  .fv__content {
    position: relative;
    /* z-indexを付けるとスタッキングコンテキストが分離し、
       .fv__copyのmix-blend-modeが背後の写真とブレンドできなくなるため付けない */
    display: flex;
    flex-direction: column;
    align-items: center;
    height: auto;
    min-height: 0;
    padding: 24px 20px 0;
  }

  /* PC用の塗りつぶしオーバーレイはSPでは不要 */
  .fv__content::after {
    display: none;
  }

  .fv__breadcrumb {
    display: none;
  }

  .fv__brand {
    position: static;
    width: auto;
    transform: none;
  }

  .fv__brand-label {
    display: none;
  }

  .fv__logo {
    width: 172px;
    height: 50px;
    margin: 0;
  }

  .fv__logo-wordmark {
    width: 172px;
    height: 36.9px;
  }

  .fv__logo-tagline {
    bottom: 0;
    left: 50%;
    width: 99px;
    height: 11.7px;
    transform: translateX(-50%);
  }

  .fv__copy {
    position: static;
    width: 100%;
    height: auto;
    margin: 20px 0 0;
    text-align: left;
    font-size: 26px;
    line-height: 1.4;
    letter-spacing: 2.4px;
  }

  .routine__pname {
    font-size: 12px;
  }
  .products__inner {
    width: min(calc(100% - 80px), 1440px);
  }
  .problem__panel {
    width: calc(100% - 40px);
    border-radius: 16px;
    margin-top: -60px;
    background-image: url("../images/top/problem-oil-sp.png");
    /* background-size: cover; */
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
  }
  .problem__bubble {
    display: none;
  }

  .problem__title {
    font-size: clamp(24px, 7.4vw, 24px);
    line-height: 1.55;
    letter-spacing: 1.4px;
  }

  .problem__card-heading {
    font-size: 18px;
    letter-spacing: 1.4px;
  }

  .problem__lead-heading {
    font-size: 15px;
    letter-spacing: 1.4px;
  }

  .problem__lead-text,
  .problem__item-text {
    letter-spacing: 1.2px;
    font-size: 12px;
  }

  .problem__card {
    padding: 28px 22px;
  }

  .problem__closing-copy {
    font-size: clamp(25px, 7vw, 32px);
    line-height: 1.5;
    letter-spacing: 1.4px;
  }

  .about {
    padding: 44px 0 56px;
  }

  .about__inner {
    padding: 0 20px;
  }

  .about__panel {
    width: calc(100%);
    padding: 34px 18px 40px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(1px);
    border: 1px solid rgba(255, 255, 255, 0.2);
  }

  .about__dots {
    gap: 7px;
  }

  .about__title {
    margin-top: 8px;
  }

  .about__title-ruby {
    font-size: 8px;
    line-height: 10px;
  }

  .about__title-main {
    font-size: 22px;
    line-height: 22px;
  }

  .about__title-word {
    padding-top: 11px;
  }

  .about__intro {
    margin-top: 30px;
    grid-template-columns: 1fr;
  }

  .about__intro-title {
    font-size: 22px;
    line-height: 1.6;
    letter-spacing: 1.2px;
  }

  .about__intro-text,
  .about__accordion-text p,
  .about__accordion-foot p,
  .about__focus-lead,
  .about__closing-text {
    font-size: 15px;
    line-height: 1.9;
    letter-spacing: 0.8px;
  }

  .about__intro-text br,
  .about__accordion-foot br {
    display: none;
  }

  .about__accordion {
    margin-top: 28px;
  }

  .about__accordion-summary {
    padding: 16px 18px;
  }

  .about__accordion-title {
    font-size: 17px;
  }

  .about__accordion-body {
    padding: 0 18px 20px;
  }

  .about__accordion-main {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .about__accordion-divider {
    margin: 18px 0;
  }

  .about__accent-intro {
    margin-top: 14px;
  }

  .about__accent-copy {
    font-size: clamp(22px, 6.5vw, 24px) !important;
    line-height: 1.55 !important;
    letter-spacing: 1px !important;
    font-size: 18px !important;
  }

  .about__focus {
    margin-top: 28px;
  }

  .about__focus-copy {
    font-size: clamp(20px, 5.8vw, 23px);
    line-height: 1.55;
    letter-spacing: 0.6px;
  }

  .about__feature-grid {
    margin-top: 30px;
  }

  .about__feature-card {
    min-height: 0;
    padding: 22px 16px;
  }

  .about__feature-text,
  .about__interview-text {
    font-size: 14px;
    line-height: 1.9;
    letter-spacing: 0.8px;
  }

  .about__closing {
    margin-top: 16px;
  }

  .about__closing-arrow {
    margin-bottom: 14px;
    border-top-width: 16px;
    border-right-width: 20px;
    border-left-width: 20px;
  }

  .about__closing-title {
    font-size: clamp(22px, 6.4vw, 26px);
    line-height: 1.5;
    letter-spacing: 1px;
  }

  /* 開発者インタビュー(SP): デザイン(18264:2318)準拠の横並びコンパクトカード */
  .about__interview {
    width: min(calc(100% - 32px), 400px);
    min-height: 0;
    margin-top: 38px;
    margin-bottom: 0;
    border-radius: 5px;
  }

  .about__interview-copy {
    padding: 20px;
  }

  .about__interview-label {
    font-size: 10px;
    line-height: 1;
    letter-spacing: 0.35px;
  }

  .about__interview-title {
    margin-top: 6px;
    font-size: 13px;
    line-height: 1.3;
    letter-spacing: 0.35px;
  }

  .about__interview-text {
    margin-top: 8px;
    font-size: 12px;
    line-height: 1.5;
    letter-spacing: 0.35px;
  }

  .about__interview-cta {
    margin-top: 12px;
    gap: 8px;
    font-size: 8px;
    letter-spacing: 0.35px;
  }

  .about__interview-cta-icon {
    width: 18px;
    height: 18px;
  }

  /* .about__hex {
    opacity: 0.18;
  }

  .about__hex--1,
  .about__hex--4,
  .about__hex--5,
  .about__hex--7 {
    left: -32px;
  }

  .about__hex--3,
  .about__hex--6,
  .about__hex--8 {
    right: -48px;
  } */

  .lineup {
    padding: 64px 0 72px;
  }

  .lineup__inner {
    width: calc(100% - 24px);
  }

  .lineup__eyebrow {
    font-size: 13px;
  }

  .lineup__title {
    margin-top: 22px;
    font-size: clamp(25px, 7vw, 28px);
    line-height: 1.55;
    letter-spacing: 1px;
  }

  .lineup__body {
    margin-top: 38px;
  }

  .lineup__bars,
  .lineup__products,
  .lineup__notes {
    width: 100%;
  }

  .lineup__bars {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .lineup__bar {
    height: 42px;
    font-size: 16px;
    letter-spacing: 0.12em;
  }

  .lineup__products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 16px;
    margin-top: 18px;
  }

  .lineup__category {
    font-size: 12px;
  }

  .lineup__visual {
    height: 150px;
  }

  .lineup__name {
    font-size: 13px;
    line-height: 1.7;
    letter-spacing: 0.6px;
  }

  .lineup__notes {
    gap: 8px;
    margin-top: 34px;
  }

  .lineup__note {
    min-height: 0;
    padding-top: 8px;
  }

  .lineup__note span {
    padding: 0 10px;
    font-size: 13px;
    letter-spacing: 0.04em;
  }

  .lineup__note small {
    font-size: 10px;
  }

  .about__interview-media {
    background-position: 126px -11px;
}

  .about__bg-r {
    display: block;
    position: absolute;
    top: -1%;
    right: -40%;
    width: 460px;
    height: 100%;
    z-index: 1;
  }
  .about__bg-l {
    display: block;
    position: absolute;
    top: 20%;
    left: -30%;
    width: 300px;
    height: 100%;
    z-index: 1;
  }
}

@media (max-width: 560px) {
  .problem__items {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }

  .about__intro-media {
    max-width: 100%;
  }

  .about__feature-text strong {
    display: inline-block;
  }
}

@media (min-width: 768px) {
  .sp-only {
    display: none;
  }
}

@media (max-width: 767px) {
  .pc-only {
    display: none;
  }
}
