#container {
  max-width: 1200px;
  margin: 0 auto;
}
#main {
  width: 100%;
}


.mainContents {
  font-size: 14px;
  color:#696969;/*文字色*/
  padding: 1em;/* 内側余白 */
  letter-spacing: 0.1em;/*文字間*/
  line-height: 1.5;/*行間*/
}



    p {
    margin-bottom: 5px;
    padding-left: 1.5em;/* 内側余白 */
    padding-right: 1.5em;/* 内側余白 */
    }

    p.img_center{    
    text-align: center;
    margin-bottom: 5px;
    }




/* まずは PC 基準（768pxより大きいとき）の表示 */
.display_pc {
  display: block !important;
}

.display_sp {
  display: none !important;
}

/* スマホ（768px以下）のときに逆転させる */
@media screen and (max-width: 768px) {
  .display_pc {
    display: none !important;
  }

  .display_sp {
    display: block !important;
  }
}




.product-details h1 {
  font-size: 18px;
  font-weight: bold;
  margin: 5px 0;
}






.mincho-title {
  font-family: "游明朝", "Yu Mincho", "ヒラギノ明朝 ProN", "Hiragino Mincho ProN", "MS P明朝", serif;
  font-size: 20px;
  font-weight: bold;
  line-height: 1.8;
  text-align: center;
  letter-spacing: 0.05em;
  color: #333333;
  margin: 0 0 30px 0;
}




/* 背景色をつける */
.box1-5 {
  font-family: "ヒラギノ明朝 ProN", "Hiragino Mincho ProN", "游明朝", "Yu Mincho", "MS P明朝", serif;
}

.box1-5 p {
  margin: 0;
  text-align: center;
  font-size: 18px;
  font-weight: bold;
  line-height: 1.4;
  letter-spacing: 0.1em;
  color: #333333;
}

.small {
  margin-bottom: 0;
}

.large {
  font-size: 24px;
  font-weight: bold;
  margin-top: 0;
  margin-bottom: 0; /* ← ここが重要！ */
}




/* 背景色をつける */
.box1-6 {
    margin: 0 auto 2em; /* 外側の余白（上下と中央配置） */
    padding: 1em;        /* 内側余白 */
    background-color:#ffffff; /* 背景の色 */
}

/* pタグの余白 */
.box1-6 p {
    margin: 0;
    padding: 0;
    text-align: center;
    font-size: 18px;
    color:#4c362c;
    letter-spacing: 0.2em;
    font-weight: bold;
}











.dotted-line {
  border: none;
  border-top: 1px dotted #ccc;
  margin: 10px 0;
}





.section-bg {
  background-color: #eed5d4; /* 薄いピンク */
  padding: 40px 0; /* 横paddingは中身の方で設定する */
  width: 100vw; /* ビューポート幅いっぱい */
  position: relative;
  left: 50%;
  margin-left: -50vw;
}

.section-bg img {
  display: block;
  max-width: 1200px; /* 好きな最大幅に設定 */
  width: 100%;
  margin: 0 auto;
}




.section-bg2 {
  background-color: #f7f3eb; /* 薄いグレージュ */
  padding: 40px 0; /* 横paddingは中身の方で設定する */
  width: 100vw; /* ビューポート幅いっぱい */
  position: relative;
  left: 50%;
  margin-left: -50vw;
}

.section-bg2 img {
  display: block;
  max-width: 1200px; /* 好きな最大幅に設定 */
  width: 100%;
  margin: 0 auto;
}




.card-box {
  max-width: 1200px; /* 中身の白カード幅制限 */
  margin: 0 auto;
  padding: 40px 30px;
  background-color: #fff;
  border-radius: 16px;
}

/* スマホ用：白カードの左右に余白を持たせる */
@media screen and (max-width: 768px) {
  .card-box {
    margin: 0 20px; 
  }
}


.card-box h2 {
  font-size: 20px;
  margin-bottom: 30px;
  line-height: 1.6;
}

.step {
  padding: 20px 0;
  border-bottom: 1px dashed #ccc;
  display: block !important;
}

.step:last-child {
  border-bottom: none;
}

.step h3 {
  font-size: 2.2em;
  color: #cc9900;
  margin-bottom: 0.5em;
  font-family: "ヒラギノ明朝 ProN", "Hiragino Mincho ProN", "游明朝", "YuMincho", serif;
  font-weight: bold;
}

.step .lead.strong {
  font-size: 1.4em;
  font-weight: bold;
  color: #333;
  font-family: "ヒラギノ明朝 ProN", "Hiragino Mincho ProN", "游明朝", "YuMincho", serif;
  line-height: 1.4 !important;
  margin-bottom: 0.5em;
}



.step .desc.left {
  text-align: left;
  margin-left: 0;
}


/* 念のため：親や全体にflexが効いていたら打ち消す */
.step * {
  display: block !important;
}

.step sup {
  display: inline !important;
  font-size: 0.7em;
  vertical-align: super;
  line-height: 0;
}



/* 最後の .step の下余白をなくす */
.step:last-child {
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}



.point-item {
  padding: 20px 0;
  border-bottom: 1px dashed #ccc; /* ← 今までと同じ点線 */
}

.point-item:last-child {
  border-bottom: none;
}

.step.no-border {
  border-bottom: none;
}



/* 保湿・美容液成分の上余白を調整 */
.step.step-tight {
  padding-top: 0 !important;
  margin-top: -15px !important;
}



.point-title {
  font-size: 1.3em; /* 少し大きく */
  font-weight: bold;
  color: #333;
  text-align: left;
  font-family: "ヒラギノ明朝 ProN", "Hiragino Mincho ProN", "游明朝", "YuMincho", serif;
  margin-bottom: 0.5em;
}

.point-title .number {
  margin-right: 0.3em;
  color: #333;
}

.point-text {
  font-size: 1em;
  line-height: 1.8;
  text-align: left;
  font-family: sans-serif; /* 必要に応じて明朝体にも変更可 */
}









.faq-item {
  background-color: #fff;
  border-radius: 10px;
  max-width: 1200px;
  margin: 0 auto;
  margin-bottom: 25px;
  border-left: 5px solid #b69d83; /* 左茶色ライン */
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  padding: 20px; /* 内側余白を追加 */
  padding-bottom: 30px; /* 下だけ広めに */
}


/* スマホ用：白カードの左右に余白を持たせる */
@media screen and (max-width: 768px) {
  .faq-item {
    margin: 0 20px 20px 20px;
  }
}



.question {
  font-weight: bold;
  font-size: 1.1em;
  margin-bottom: 10px;
  color: #333;
}

.answer {
  font-size: 1em;
  color: #444;
  line-height: 1.6;
}

.answer span {
  color: #b67c55;
  font-weight: bold;
  margin-right: 5px;
}




/* =========================
   card-box 内専用 横並びレイアウト
   ========================= */
.card-inner-flex {
  display: flex;
  gap: 32px;
  align-items: center;
  text-align: left; /* 画像横のテキストは左寄せ */
  margin-top: 30px; /* 上の見出しや画像と間隔を空ける */
  padding-bottom: 20px; /* 点線との間隔 */
  border-bottom: 1px dashed #ccc; /* 点線 */
}

.card-inner-flex:last-child {
  border-bottom: none; /* 最後のブロックは線を消す */
}

.card-inner-flex .image-side {
  flex: 0 0 40%; /* 画像エリア幅 */
  max-width: 480px;
}

.card-inner-flex .image-side img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 12px; /* ← ここが角丸指定 */
}

.card-inner-flex .text-side {
  flex: 1;
}

.card-inner-flex .text-side h3 {
  margin-top: 0;
  margin-bottom: 0.6em;
  font-size: 22px;
}

.card-inner-flex .text-side p {
  margin: 0;
  line-height: 1.8;
}

/* 画像右・テキスト左用 */
.card-inner-flex.reverse {
  flex-direction: row-reverse;
}

/* スマホでは縦並びに */
@media (max-width: 768px) {
  .card-inner-flex {
    flex-direction: column;
    gap: 20px;
  }
  .card-inner-flex .image-side,
  .card-inner-flex .text-side {
    flex: 1 1 auto;
    max-width: 100%;
  }
  .card-inner-flex .text-side h3 {
    font-size: 18px;
  }
}









/* =========================
   Gentle Care 見出し＋バッジ
   ========================= */

.gentle-block {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 20px;
}


/* 見出し */
.gentle-title {
  text-align: center;
  margin: 0 0 22px 0;
}

.gentle-title .gentle-ja {
  font-family: "游明朝", "Yu Mincho",
               "ヒラギノ明朝 ProN", "Hiragino Mincho ProN",
               "MS P明朝", serif;
  font-size: 28px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: #4c362c;
  margin: 0;
  padding: 0;
}

.gentle-title .gentle-en {
  font-family: "Times New Roman", serif;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: #a8724e;
  margin: 0;
  padding: 0;
}


/* フリー項目 */
.pill-list {
  list-style: none;
  margin: 24px auto 0;
  padding: 0;
  max-width: 800px;

  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px 20px;
}


/* 各バッジ */
.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 10px 18px;

  background-color: #ffffff;
  color: #4c362c;

  font-size: 14px;
  font-weight: 500;

  border: 1px solid #eaded0;
  border-radius: 9999px;

  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.03);

  white-space: nowrap;
}


/* =========================
   スマホ
   ========================= */

@media screen and (max-width: 768px) {

  .gentle-block {
    padding: 20px 10px;
  }

  .gentle-title {
    margin-bottom: 22px;
  }

  .gentle-title .gentle-ja {
    font-size: 22px;
  }

  .gentle-title .gentle-en {
    font-size: 13px;
  }

  .pill-list {
    max-width: 92%;
    margin-top: 24px;
    gap: 12px;
  }

  .pill {
    padding: 8px 14px;
    font-size: 14px;
  }

}











/* ▼ ヒーロー全体の背景 */
.hero-block {
  background-color: #e8d8c8;
  padding: 60px 0;
}

/* ▼ .card-box と同じ幅に制御 */
.hero-inner {
  max-width: 1200px;      /* ← ここが重要! */
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 0 30px;        /* ← card-box と同じ左右余白にする */
}



/* ▼ 画像 */
.hero-image img {
  width: 100%;
  max-width: 600px;
  border-radius: 16px;
  display: block;
}

/* ▼ 右側：文章 */
.hero-text {
  flex: 1;
}

.hero-catch {
  font-family: "游明朝", "Yu Mincho", "ヒラギノ明朝 ProN",
    "Hiragino Mincho ProN", "MS P明朝", serif;
  font-size: 25px;
  color: #494c4e;
  line-height: 1.6;
  margin-bottom: 20px;
}

.hero-sub {
  font-size: 16px;
  color: #494c4e;
  margin-bottom: 30px;
}

/* ▼ ハッシュタグ風 pill */
.hero-tags {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-tags .tag {
  background-color: #7d706f;
  color: #fff;
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 14px;
}

/* ▼ スマホ対応 */
@media (max-width: 768px) {
  .hero-inner {
    flex-direction: column;
    text-align: center;
  }

  .hero-catch {
    font-size: 24px;
  }

  .hero-sub {
    font-size: 14px;
  }

  .hero-tags {
    justify-content: center;
  }
}



/* 縦フェードイン（スクロールで出現） */
.js-fadein {
  opacity: 0;
  transform: translateY(-24px);
  transition: opacity 700ms ease, transform 1200ms ease;
  will-change: opacity, transform;
}

.js-fadein.is-in {
  opacity: 1;
  transform: translateY(0);
}


/* 横からスライドイン（右→左） */
.js-slidein-r {
  opacity: 0;
  transform: translateX(24px);
  transition: opacity 1200ms ease, transform 1200ms ease;
  will-change: opacity, transform;
}
.js-slidein-r.is-in {
  opacity: 1;
  transform: translateX(0);
}

/* 横からスライドイン（左→右） */
.js-slidein-l {
  opacity: 0;
  transform: translateX(-24px);
  transition: opacity 1200ms ease, transform 1200ms ease;
  will-change: opacity, transform;
}
.js-slidein-l.is-in {
  opacity: 1;
  transform: translateX(0);
}

/* 動きを減らしたい設定の人向け */
@media (prefers-reduced-motion: reduce) {
  .js-fadein,
  .js-slidein-r,
  .js-slidein-l {
    opacity: 1;
    transform: none;
    transition: none;
  }
}





/* 文字アニメ用 */
.char {
  display: inline-block;
  opacity: 0;
  transform: translate(-6px, -6px);
}

.is-in .char {
  animation: charIn 0.28s ease forwards;
}

@keyframes charIn {
  to {
    opacity: 1;
    transform: translate(0, 0);
  }
}

/* 動きを減らしたい設定の人向け */
@media (prefers-reduced-motion: reduce) {
  .char {
    opacity: 1;
    transform: none;
    animation: none;
  }
}

.js-fadein-off {
  opacity: 1;
  transform: none;
}

.js-reveal {
  opacity: 1;
  transform: none;
}







.note {
  margin-top: 20px;
  font-size: 10px;
  line-height: 1.6;
  text-align: right;
}






/* =========================
   こんな方におすすめ
   ========================= */

.recommend-box {
  box-sizing: border-box;
  width: 100%;
  margin: 0 auto;
  padding: 55px 70px 60px;
  background-color: #f7f3eb;
  border-radius: 14px;
}

/* 見出し */
.recommend-title {
  margin: 0 0 42px;
  padding: 0;
  text-align: center;
  font-family: "游明朝", "Yu Mincho", "ヒラギノ明朝 ProN",
               "Hiragino Mincho ProN", "MS P明朝", serif;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.12em;
  color: #333333;
}

/* PC：チェック項目と写真を横並び */
.recommend-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 55px;
}

/* チェック項目側 */
.recommend-list {
  flex: 1 1 auto;
  min-width: 0;
}

.recommend-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 20px;
  font-size: 18px;
  line-height: 1.6;
  letter-spacing: 0.02em;
  color: #333333;
}

.recommend-item:last-child {
  margin-bottom: 0;
}

/* 茶色のチェック */
.recommend-check {
  box-sizing: border-box;
  display: block;
  position: relative;
  flex: 0 0 23px;
  width: 23px;
  height: 23px;
  margin-top: 2px;
  background-color: #b67c55;
}

/* チェックマークをCSSで描く */
.recommend-check::after {
  content: "";
  position: absolute;
  left: 8px;
  top: 4px;
  width: 5px;
  height: 10px;
  border: solid #ffffff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* 写真側 */
.recommend-image {
  flex: 0 0 43%;
}

.recommend-image img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 22px;
}


/* =========================
   スマホ
   ========================= */

@media screen and (max-width: 768px) {

  .recommend-box {
    padding: 35px 22px 40px;
    border-radius: 12px;
  }

  .recommend-title {
    margin-bottom: 25px;
    font-size: 22px;
    line-height: 1.5;
    letter-spacing: 0.1em;
  }

  /* SPは縦並び */
  .recommend-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 30px;
  }

  /* SPでは写真を先に */
  .recommend-image {
    order: 1;
    width: 100%;
  }

  .recommend-list {
    order: 2;
    width: 100%;
  }

  .recommend-image img {
    width: 100%;
    border-radius: 18px;
  }

  .recommend-item {
    gap: 14px;
    margin-bottom: 22px;
    font-size: 16px;
    line-height: 1.6;
  }

  .recommend-item:last-child {
    margin-bottom: 0;
  }

  .recommend-check {
    flex: 0 0 24px;
    width: 24px;
    height: 24px;
    margin-top: 1px;
    font-size: 16px;
  }

}





/* ===================================
   NVファンデーション 美容成分紹介
   =================================== */

/* 美容成分紹介 */
.nv-beauty {
  width: 100%;
  box-sizing: border-box;
  padding: 15px 22px 0;
  color: #4c362c;
  border-top: none;
}

/* 見出し */
.nv-beauty-heading {
  text-align: left;
  margin: 0 0 22px;
}

.nv-beauty-heading p {
  padding: 0;
  margin: 0;
}

.nv-beauty-title {
  font-size: 16px;
  font-weight: bold;
  line-height: 1.8;
  color: #696969;
  letter-spacing: 0.03em;
}

.nv-beauty-number {
  font-family: inherit;
  font-size: 22px;
  font-weight: bold;
  color: #b77d80;
  margin: 0 3px;
  vertical-align: baseline;
}

.nv-beauty-lead {
  font-size: 14px;
  font-weight: normal;
  line-height: 1.8;
  color: #696969;
  margin-top: 8px !important;
}

/* スマホ */
@media screen and (max-width: 768px) {

  .nv-beauty-title {
    font-size: 14px;
  }

  .nv-beauty-number {
    font-size: 19px;
  }

  .nv-beauty-lead {
    font-size: 13px;
  }

}

/* ペプチド成分 */
.nv-beauty-peptide {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 16px 22px;
  background: #f8f1ef;
  border-radius: 12px;
}

.nv-beauty-peptide-photo {
  flex: 0 0 22%;
}

.nv-beauty-peptide-photo img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.nv-beauty-peptide-body {
  flex: 1;
  min-width: 0;
}

.nv-beauty-peptide-body p {
  padding: 0;
  margin: 0;
}

.nv-beauty-peptide-title {
  font-size: 14px;
  font-weight: bold;
  color: #a97477;
  margin-bottom: 8px !important;
}

.nv-beauty-peptide-name {
  font-size: 16px;
  font-weight: bold;
  line-height: 1.7;
}

.nv-beauty-peptide-desc {
  font-size: 12px;
  color: #696969;
  line-height: 1.7;
  margin-top: 5px !important;
}

/* 成分一覧の小見出し */
.nv-beauty-subtitle {
  padding: 0;
  margin: 28px 0 20px;
  text-align: center;
  font-size: 15px;
  font-weight: bold;
  color: #4c362c;
}

/* 成分一覧 */
.nv-beauty-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.nv-beauty-item {
  min-width: 0;
  text-align: center;
}

.nv-beauty-item img {
  display: block;
  width: 80%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 8px;
}

.nv-beauty-item p {
  margin: 0;
  padding: 0;
  font-size: 12px;
  line-height: 1.6;
  font-weight: bold;
  color: #4c362c;
}

.nv-beauty sup {
  font-size: 9px;
  line-height: 0;
  vertical-align: super;
}

/* 注釈 */
.nv-beauty .nv-beauty-note {
  padding: 0;
  margin: 20px 0 0;
  text-align: right;
  font-size: 10px;
  font-weight: normal;
  color: #777;
}

/* ===================================
   スマホ
   =================================== */

@media screen and (max-width: 768px) {

  .nv-beauty {
    padding-top: 12px;
  }

  .nv-beauty-heading {
    margin-bottom: 20px;
  }

  .nv-beauty-label {
    font-size: 15px;
  }

  .nv-beauty-count {
    font-size: 18px;
  }

  .nv-beauty-number {
    font-size: 42px;
  }

  .nv-beauty-unit {
    font-size: 21px;
  }

  .nv-beauty-lead {
    font-size: 12px;
  }

  .nv-beauty-peptide {
    gap: 12px;
    padding: 12px;
    border-radius: 10px;
  }

  .nv-beauty-peptide-photo {
    flex-basis: 27%;
  }

  .nv-beauty-peptide-title {
    font-size: 12px;
  }

  .nv-beauty-peptide-name {
    font-size: 12px;
  }

  .nv-beauty-peptide-desc {
    font-size: 11px;
  }

  .nv-beauty-subtitle {
    font-size: 13px;
    margin: 24px 0 18px;
  }

  .nv-beauty-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px 10px;
  }

  .nv-beauty-item p {
    font-size: 11px;
  }

  .nv-beauty .nv-beauty-note {
    font-size: 9px;
    line-height: 1.7;
  }
}

/* POINT3：美容成分紹介の上余白を調整 */
.step + .nv-beauty {
  padding-top: 0;
  margin-top: -15px;
}


/* 美容成分名 */
.nv-beauty-item .nv-beauty-item-name {
  margin: 0 0 4px;
  padding: 0;
  font-size: 12px;
  font-weight: bold;
  line-height: 1.5;
  color: #4c362c;
}

/* 美容成分の説明 */
.nv-beauty-item .nv-beauty-item-desc {
  margin: 0;
  padding: 0;
  font-size: 10px;
  font-weight: normal;
  line-height: 1.5;
  color: #696969;
}

/* スマホ */
@media screen and (max-width: 768px) {

  .nv-beauty-item .nv-beauty-item-name {
    font-size: 11px;
  }

  .nv-beauty-item .nv-beauty-item-desc {
    font-size: 10px;
  }

}

@media screen and (max-width: 768px) {

  .nv-beauty-peptide {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch;
    gap: 0;
    padding: 18px 20px;
  }

  .nv-beauty-peptide-photo {
    order: 2;
    flex: none !important;
    width: 100% !important;
    max-width: none !important;
    margin: 12px 0;
  }

  .nv-beauty-peptide-photo img {
    display: block;
    width: 100% !important;
    max-width: 220px !important;
    height: auto !important;
    margin: 0 auto;
    border-radius: 8px;
  }

  .nv-beauty-peptide-body {
    display: contents;
  }

  .nv-beauty-peptide-title {
    order: 0;
    font-size: 12px;
    margin: 0 0 6px !important;
    text-align: left;
  }

  .nv-beauty-peptide-name {
    order: 1;
    font-size: 13px;
    line-height: 1.6;
    text-align: left;
  }

  .nv-beauty-peptide-desc {
    order: 3;
    font-size: 12px;
    line-height: 1.8;
    margin: 0 !important;
    text-align: left;
  }

}

/* スマホ：32種の文字サイズ調整 */
@media screen and (max-width: 768px) {

  .nv-beauty-title .nv-beauty-number {
    font-size: 18px !important;
    line-height: 1.5;
    vertical-align: baseline;
    margin: 0 3px;
  }

}

/* ===================================
   NVファンデーション 美容成分紹介ここまで
   =================================== */