/* ============================================================
   INOSENSE 全商品ラインナップLP - style.css
   姉妹LP(luminagel-lp)のデザインシステムを踏襲。
   カラー変数・フォント・余白トーンは共通、コンポーネントは本LP用に追加。
============================================================ */

/* ---------- Variables (luminagel-lpと共通) ---------- */
:root{
  --color-bg: #F8F4EE;
  --color-main: #38302B;
  --color-sub: #EDE6DC;
  --color-accent-gold: #B8935A;
  --color-cta: #6B2E35;
  --color-text: #3A322D;

  --font-mincho: "Shippori Mincho B1", serif;
  --font-gothic: "Noto Sans JP", sans-serif;

  --container-width: 1120px;
  --section-padding: clamp(64px, 9vw, 160px);
  --section-padding-sm: clamp(48px, 6vw, 96px);
}

/* ---------- Reset ---------- */
*, *::before, *::after{ box-sizing: border-box; }
@media (prefers-reduced-motion: no-preference){
  html{ scroll-behavior: smooth; }
}
body, h1, h2, h3, h4, p, ul, ol, li, blockquote, figure, table, th, td{ margin: 0; padding: 0; }
ul, ol{ list-style: none; }
img{ max-width: 100%; display: block; }
a{ color: inherit; text-decoration: none; }
button{ font: inherit; }
blockquote{ margin: 0; }
table{ border-collapse: collapse; width: 100%; }

:focus-visible{
  outline: 2px solid var(--color-accent-gold);
  outline-offset: 2px;
}

body{
  background-color: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-gothic);
  font-weight: 400;
  font-size: clamp(16px, 1vw + 12px, 18px);
  line-height: 1.95;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4{
  font-family: var(--font-mincho);
  color: var(--color-main);
  letter-spacing: 0.06em;
  font-weight: 700;
}

section[id], article[id]{
  scroll-margin-top: 24px;
}

.container{
  width: 100%;
  max-width: var(--container-width);
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 40px);
}

/* ---------- Brand Logo ---------- */
.brand-logo{ text-align: center; }
.brand-logo__img{
  display: inline-block;
  height: 40px;
  width: auto;
}

/* ---------- Section title common ---------- */
.section-title{
  font-size: clamp(26px, 4vw, 32px);
  line-height: 1.6;
  text-align: center;
  margin-bottom: clamp(32px, 5vw, 56px);
}
.section-lead{
  max-width: 720px;
  margin: 0 auto clamp(32px, 5vw, 56px);
  text-align: center;
  font-size: 15.5px;
  line-height: 1.95;
}

.section-cta{
  display: flex;
  justify-content: center;
  margin-top: clamp(40px, 6vw, 64px);
}

/* ---------- Buttons ---------- */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  font-family: var(--font-gothic);
  font-weight: 700;
  letter-spacing: 0.06em;
  font-size: 15px;
  padding: 16px 36px;
  border: 1px solid transparent;
  transition: background-color .25s ease, color .25s ease, transform .25s ease, border-color .25s ease;
  cursor: pointer;
  text-align: center;
}

.btn--primary{
  background-color: var(--color-cta);
  color: #fff;
}
.btn--primary:hover{
  background-color: #56232a;
  transform: scale(1.03);
}

.btn--secondary{
  background-color: transparent;
  border-color: var(--color-main);
  color: var(--color-main);
}
.btn--secondary:hover{
  background-color: var(--color-main);
  color: #fff;
}
.plan-card__cta--soon{
  opacity: .55;
  cursor: not-allowed;
  pointer-events: none;
}
.plan-card__cta--soon:hover{
  background-color: transparent;
  color: var(--color-main);
}

.btn--large{
  font-size: 17px;
  padding: 20px 56px;
  width: 100%;
  max-width: 420px;
}
.btn--block{
  width: 100%;
}

/* ---------- Photo placeholder (universal) ---------- */
.photo-placeholder{
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background-color: var(--color-sub);
  isolation: isolate;
}
.photo-placeholder__caption{
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--color-main);
  background: linear-gradient(150deg, var(--color-sub), #e2d6c5);
  z-index: 0;
}
.photo-placeholder .ph-img{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 0;
  transition: opacity .25s ease;
}
.photo-placeholder .ph-img.is-loaded{
  opacity: 1;
}
/* 商品写真は切り抜かず全体を見せたいケースがあるため contain 版も用意 */
.photo-placeholder--contain .ph-img{
  object-fit: contain;
  background-color: #fff;
}

/* ============================================================
   Section 1: First View
============================================================ */
.fv{
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  color: #fff;
  overflow: hidden;
}
.fv__media.photo-placeholder{
  position: absolute;
  inset: 0;
  aspect-ratio: auto;
  height: 100%;
  z-index: 0;
}
.fv__media .photo-placeholder__caption{
  color: #fff;
  background: linear-gradient(150deg, #4a4038, #2b241f);
  font-size: 13px;
}
.fv__media .ph-img{
  object-position: 50% 55%;
  transform-origin: 50% 55%;
  animation: fv-kenburns 22s ease-in-out infinite alternate;
  will-change: transform;
}
@media (prefers-reduced-motion: reduce){
  .fv__media .ph-img{ animation: none; }
}
@keyframes fv-kenburns{
  0%   { transform: scale(1.3); }
  100% { transform: scale(1.42); }
}
.fv__gradient{
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(30,25,22,.15) 0%, rgba(30,25,22,0) 30%, rgba(30,25,22,.6) 68%, rgba(20,16,14,.94) 100%),
    radial-gradient(120% 90% at 50% 100%, rgba(0,0,0,.35), rgba(0,0,0,0) 60%);
  pointer-events: none;
}
.fv__eyebrow{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-gothic);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.32em;
  color: var(--color-accent-gold);
  text-transform: uppercase;
  margin-bottom: 18px;
  opacity: 0;
  animation: fv-fade-up .9s ease .3s forwards;
}
.fv__eyebrow::before{
  content: "";
  display: block;
  width: 28px;
  height: 1px;
  background: var(--color-accent-gold);
}
.fv__title{ animation: fv-fade-up .9s ease .45s forwards; }
.fv__subtitle{ animation: fv-fade-up .9s ease .6s forwards; }
.fv__cta{ animation: fv-fade-up .9s ease .75s forwards; }
.fv__title, .fv__subtitle, .fv__cta{ opacity: 0; }
.fv__logo{ animation: fv-fade-up .9s ease .15s forwards; opacity: 0; }
@keyframes fv-fade-up{
  from{ opacity: 0; transform: translateY(14px); }
  to{ opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce){
  .fv__logo, .fv__eyebrow, .fv__title, .fv__subtitle, .fv__cta{ animation: none; opacity: 1; }
}
.fv__inner{
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
  padding: 32px 20px clamp(48px, 8vw, 96px);
  min-height: 100svh;
}
.fv__logo{ padding-top: 8px; }
.fv__copy{
  max-width: 640px;
}
.fv__title{
  color: #fff;
  font-size: clamp(30px, 7vw, 34px);
  line-height: 1.55;
  letter-spacing: 0.06em;
  margin-bottom: 20px;
  text-shadow: 0 2px 24px rgba(0,0,0,.35);
}
.fv__subtitle{
  font-size: 15px;
  line-height: 1.9;
  color: #f2ede4;
  margin-bottom: 32px;
  max-width: 480px;
}
@media (min-width: 768px){
  .fv__title{ font-size: clamp(32px, 5vw, 42px); }
  .fv__subtitle{ font-size: 16px; }
}
@media (min-width: 1024px){
  .fv__inner{ padding: 48px 64px clamp(72px, 8vw, 120px); align-items: flex-start; }
  .fv__title{ font-size: clamp(36px, 3.4vw, 50px); }
  .fv__subtitle{ font-size: 17px; }
}

/* ============================================================
   Section 2: 導入(悩み提起)
============================================================ */
.intro{
  background-color: var(--color-sub);
  padding-block: var(--section-padding);
}
.intro__body{
  max-width: 720px;
  margin-inline: auto;
}
.intro__body p{
  font-size: 16px;
  line-height: 2;
  margin-bottom: 20px;
}
.intro__cite{
  font-size: 13.5px;
  color: var(--color-main);
  opacity: .8;
  text-align: right;
  margin-bottom: 0 !important;
}

/* ============================================================
   Generic content list (エイジング毛とは / なぜ改善しにくいのか で使用)
============================================================ */
.content-section{
  padding-block: var(--section-padding-sm);
}
.content-section--alt{
  background-color: var(--color-sub);
}
.content-section__body{
  max-width: 720px;
  margin-inline: auto;
}
.content-section__body p{
  font-size: 16px;
  line-height: 2;
  margin-bottom: 24px;
}
.content-list{
  display: grid;
  gap: 12px;
  margin: 0 0 28px;
}
.content-list__item{
  position: relative;
  padding-left: 24px;
  font-size: 15.5px;
  line-height: 1.9;
}
.content-list__item::before{
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--color-accent-gold);
}

/* ============================================================
   Section 5: 髪のソムリエが考えるエイジング毛ケア(帯・橋渡し)
============================================================ */
.philosophy{
  background-color: var(--color-main);
  color: #fff;
  padding-block: clamp(48px, 8vw, 88px);
  text-align: center;
}
.philosophy .section-title{ color: #fff; }
.philosophy__body{
  max-width: 640px;
  margin-inline: auto;
}
.philosophy__body p{
  font-size: 15.5px;
  line-height: 2;
  color: #f2ede4;
  margin-bottom: 18px;
}
.philosophy__body p:last-child{ margin-bottom: 0; }

/* ============================================================
   Section 6: 髪のソムリエについて(監修者プロフィール)
============================================================ */
.supervisor{
  padding-block: var(--section-padding);
}
.supervisor__grid{
  display: grid;
  gap: clamp(32px, 5vw, 56px);
}
.supervisor__media{
  aspect-ratio: 4 / 5;
  max-width: clamp(140px, 32vw, 220px);
  margin-inline: auto;
}
.supervisor__title{
  font-size: clamp(22px, 3vw, 27px);
  line-height: 1.6;
  text-align: center;
  margin-bottom: 24px;
}
.supervisor__body p{
  font-size: 16px;
  line-height: 2;
  margin-bottom: 20px;
}
.reason__quote{
  border-left: 2px solid var(--color-accent-gold);
  padding: 20px 24px;
  background-color: var(--color-sub);
  border-radius: 8px;
}
.reason__quote p{
  font-size: 15px;
  line-height: 1.95;
  margin-bottom: 14px;
  color: var(--color-text);
}
.reason__quote cite{
  display: block;
  font-style: normal;
  font-size: 13px;
  color: var(--color-main);
  opacity: .8;
}

@media (min-width: 1024px){
  .supervisor__grid{
    grid-template-columns: 3fr 9fr;
    align-items: center;
  }
  .supervisor__media{ aspect-ratio: 3 / 4; max-width: 240px; margin-inline: 0; }
  .supervisor__title{ text-align: left; }
}

/* ============================================================
   Section 7: イノセンス商品ラインナップの役割
============================================================ */
.lineup{
  background-color: var(--color-sub);
  padding-block: var(--section-padding);
}
.lineup-group{
  aspect-ratio: 3 / 2;
  width: 100%;
  margin: 0 auto clamp(40px, 6vw, 64px);
  border-radius: 8px;
  background-color: #fff;
}
.lineup-group .ph-img{
  object-fit: contain;
}

.product-cards{
  display: grid;
  gap: clamp(28px, 4vw, 40px);
}
.product-card{
  display: grid;
  gap: 24px;
  background-color: #fff;
  border-radius: 8px;
  overflow: hidden;
  padding: clamp(20px, 4vw, 32px);
}
.product-card__media{
  aspect-ratio: 1 / 1;
  max-width: 240px;
  margin-inline: auto;
  background-color: #fff;
}
.product-card__body{ text-align: center; }
.product-card__number{
  font-family: var(--font-mincho);
  color: var(--color-accent-gold);
  font-size: 14px;
  letter-spacing: 0.2em;
  margin-bottom: 10px;
}
.product-card__name{
  font-size: 19px;
  margin-bottom: 8px;
}
.product-card__meta{
  font-size: 13px;
  color: var(--color-main);
  opacity: .7;
  margin-bottom: 16px;
}
.product-card__role{
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  color: var(--color-cta);
  background-color: var(--color-sub);
  border-radius: 999px;
  padding: 6px 18px;
  margin-bottom: 18px;
  line-height: 1.6;
}
.product-card__list{
  display: grid;
  gap: 10px;
  text-align: left;
  margin-bottom: 16px;
}
.product-card__list li{
  position: relative;
  padding-left: 20px;
  font-size: 14.5px;
  line-height: 1.85;
}
.product-card__list li::before{
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--color-accent-gold);
}
.product-card__note{
  font-size: 13.5px;
  color: var(--color-main);
  font-weight: 600;
  border-top: 1px solid var(--color-sub);
  padding-top: 14px;
}

@media (min-width: 768px){
  .product-card{
    grid-template-columns: 200px 1fr;
    align-items: center;
    text-align: left;
  }
  .product-card__body{ text-align: left; }
  .product-card__media{ margin-inline: 0; max-width: 100%; }
}

/* ============================================================
   Section 8: 大人女性のためのヘアケアセレクトチャート
============================================================ */
.chart{
  padding-block: var(--section-padding);
}
.chart__table-wrap{
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: clamp(48px, 7vw, 72px);
  border: 1px solid var(--color-sub);
  border-radius: 8px;
}
.chart__table{
  min-width: 720px;
}
.chart__table th,
.chart__table td{
  padding: 16px 18px;
  font-size: 13.5px;
  line-height: 1.7;
  text-align: left;
  border-bottom: 1px solid var(--color-sub);
  vertical-align: top;
}
.chart__table thead th{
  background-color: var(--color-main);
  color: #fff;
  font-family: var(--font-gothic);
  font-weight: 600;
  font-size: 12.5px;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.chart__table tbody tr:last-child td{ border-bottom: none; }
.chart__table tbody tr:nth-child(even){ background-color: var(--color-bg); }
.chart__table tbody tr.chart__row--featured{ background-color: #f4e9db; }
.chart__table td.chart__cell-name{
  font-weight: 700;
  color: var(--color-main);
  white-space: nowrap;
}
.chart__table td.chart__cell-price{
  white-space: nowrap;
  font-weight: 700;
  color: var(--color-cta);
}

.plan-cards{
  display: grid;
  gap: clamp(28px, 4vw, 36px);
}
.plan-card{
  background-color: #fff;
  border: 1px solid var(--color-sub);
  border-radius: 8px;
  padding: clamp(24px, 4vw, 36px);
  position: relative;
}
.plan-card--featured{
  border-color: var(--color-accent-gold);
  border-width: 2px;
  background-color: #f4e9db;
}
.plan-card__badge{
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--color-cta);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 5px 18px;
  border-radius: 999px;
  white-space: nowrap;
}
.plan-card__media{
  aspect-ratio: 4 / 3;
  border-radius: 6px;
  margin-bottom: 20px;
  background-color: var(--color-bg);
}
.plan-card__media .ph-img{
  object-fit: contain;
}
.plan-card__head{
  text-align: center;
  margin-bottom: 20px;
}
.plan-card__number{
  font-family: var(--font-mincho);
  color: var(--color-accent-gold);
  font-size: 14px;
  letter-spacing: 0.2em;
  margin-bottom: 8px;
}
.plan-card__name{
  font-size: 21px;
  margin-bottom: 6px;
}
.plan-card__catch{
  display: block;
  font-family: var(--font-gothic);
  font-size: 13.5px;
  color: var(--color-main);
  opacity: .75;
  font-weight: 400;
  margin-top: 4px;
}
.plan-card__composition{
  text-align: center;
  font-size: 13.5px;
  color: var(--color-main);
  opacity: .8;
  margin-bottom: 16px;
}
.plan-card__price-row{
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 4px;
}
.plan-card__price{
  font-family: var(--font-mincho);
  font-size: clamp(24px, 4vw, 28px);
  color: var(--color-main);
  text-align: center;
  margin-bottom: 6px;
}
.plan-card__price small{
  font-size: 13px;
  margin-left: 2px;
  opacity: .7;
}
.plan-card__price--strike{
  font-family: var(--font-gothic);
  font-size: 14px;
  color: var(--color-main);
  opacity: .55;
  text-decoration: line-through;
}
.plan-card__price-note{
  text-align: center;
  font-size: 12.5px;
  color: var(--color-cta);
  margin-bottom: 6px;
}
.plan-card__duration{
  text-align: center;
  font-size: 12.5px;
  color: var(--color-main);
  opacity: .65;
  margin-bottom: 20px;
}
.plan-card__desc{
  font-size: 14.5px;
  line-height: 1.9;
  text-align: center;
  margin-bottom: 24px;
}
.plan-card__cta-row{
  display: flex;
  justify-content: center;
}
.plan-card__cta{
  width: 100%;
  max-width: 320px;
}

/* --- スターター補修下の橋渡しブロック(既存ルミナジェルLPへの導線) --- */
.bridge-block{
  margin-top: 28px;
  padding: clamp(20px, 4vw, 28px);
  background-color: var(--color-sub);
  border-radius: 8px;
  text-align: center;
}
.bridge-block__title{
  font-size: 15px;
  color: var(--color-main);
  margin-bottom: 10px;
}
.bridge-block__text{
  font-size: 13.5px;
  line-height: 1.9;
  color: var(--color-text);
  margin-bottom: 18px;
}
.bridge-block__cta{
  display: inline-flex;
}

.chart__notes{
  max-width: 720px;
  margin: clamp(40px, 6vw, 64px) auto 0;
  display: grid;
  gap: 8px;
}
.chart__notes li{
  position: relative;
  padding-left: 18px;
  font-size: 12.5px;
  line-height: 1.8;
  color: var(--color-main);
  opacity: .75;
}
.chart__notes li::before{
  content: "\203B";
  position: absolute;
  left: 0;
}

@media (min-width: 768px){
  .plan-cards{
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px){
  .chart__table-wrap{ overflow-x: visible; }
  .chart__table{ min-width: 0; }
}

/* ============================================================
   Section 9: CTA / 購入導線(まとめ)
============================================================ */
.offer{
  background-color: var(--color-main);
  color: #fff;
  padding-block: var(--section-padding);
  text-align: center;
}
.offer .section-title{ color: #fff; }
.offer__body{
  max-width: 680px;
  margin: 0 auto clamp(40px, 6vw, 56px);
}
.offer__body p{
  font-size: 15.5px;
  line-height: 2;
  color: #f2ede4;
  margin-bottom: 20px;
}
.offer__body p:last-child{ margin-bottom: 0; }
.offer__cta{
  margin-bottom: clamp(32px, 5vw, 48px);
}

/* ============================================================
   Footer
============================================================ */
.site-footer{
  background-color: var(--color-main);
  padding-block: 48px;
  border-top: 1px solid rgba(255,255,255,.1);
}
.site-footer__inner{
  text-align: center;
}
.site-footer__legal-link{
  margin-top: 20px;
}
.site-footer__legal-link a{
  font-size: 13px;
  color: #efe9df;
  opacity: .8;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.site-footer__legal-link a:hover{
  opacity: 1;
}
.site-footer__copyright{
  margin-top: 16px;
  font-size: 12px;
  color: #cfc6b8;
  letter-spacing: 0.04em;
}

/* ============================================================
   Sticky CTA (固定ボタン)
============================================================ */
.sticky-cta{
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 100;
  background-color: #fff;
  border-top: 1px solid var(--color-sub);
  box-shadow: 0 -4px 16px rgba(56, 48, 43, .12);
  padding: 12px clamp(16px, 4vw, 24px) calc(12px + env(safe-area-inset-bottom));
  transform: translateY(100%);
  opacity: 0;
  transition: transform .3s ease, opacity .3s ease;
  pointer-events: none;
}
.sticky-cta.is-visible{
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.sticky-cta__inner{
  max-width: var(--container-width);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.sticky-cta__label{
  flex-shrink: 1;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--color-main);
}
.sticky-cta__label strong{
  display: block;
  font-family: var(--font-mincho);
  font-size: 15px;
  font-weight: 700;
}
.sticky-cta__btn{
  flex-shrink: 0;
  padding: 14px 22px;
  font-size: 13px;
  white-space: nowrap;
}

@media (min-width: 480px){
  .sticky-cta__btn{ padding: 15px 30px; font-size: 14px; }
}
@media (min-width: 768px){
  .sticky-cta__label{ font-size: 13.5px; }
  .sticky-cta__btn{ padding: 16px 38px; font-size: 14.5px; }
}
@media (prefers-reduced-motion: reduce){
  .sticky-cta{ transition: none; }
}

/* ============================================================
   Reveal on scroll (progressive enhancement)
============================================================ */
.js-reveal{
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease;
}
.js-reveal.is-visible{
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce){
  .js-reveal{ opacity: 1; transform: none; transition: none; }
}

/* 2026-08-02: プランカードの高さがグリッドの行単位で揃ってしまい、
   スターター補修(橋渡しブロック分長い)に他カードが引き伸ばされ
   空白ができる問題を修正 */
.plan-cards{
  align-items: start;
}

