@charset "UTF-8";

/* ========================================
   変数
======================================== */
:root {
  --navy: #1d408d;
  --ink: #283052;
  --pale: #f4f5ff;
  --red: #b50022;
  --menu-blue: #5b90ad;
  --menu-blue-hover: #3f7f9f;
  --page-width: 510px;
}

/* ========================================
   リセット・共通設定
======================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #eaf8ff;
  color: var(--ink);
  font-family:
    "Hiragino Kaku Gothic ProN",
    "Yu Gothic",
    Meiryo,
    sans-serif;
}

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

a,
a:visited,
a:hover,
a:focus,
a:active {
  color: inherit;
  text-decoration: none;
}

/* ========================================
   ページ全体
======================================== */
.page-bg {
  min-height: 100vh;
  padding: 0 16px;
  background:
    url("../img/back.jpg")
    center top / cover
    fixed
    no-repeat;
}

.page-layout {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}

.lp {
  width: 100%;
  max-width: var(--page-width);
  margin: 0 auto;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 0 35px rgba(35, 84, 120, 0.16);
}

.kv,
.lead {
  line-height: 0;
}

.lead {
  padding: 22px 0 10px;
  text-align: center;
}

.lead img {
  width: 100%;
}

/* ========================================
   お悩みセクション
======================================== */
.trouble {
  position: relative;
  margin-bottom: 34px;
  padding: 46px 36px 58px;
  overflow: visible;
  background: #fafafa;
}

.trouble::after {
  content: "";
  position: absolute;
  z-index: 2;
  bottom: -34px;
  left: 0;
  width: 100%;
  height: 34px;
  background: #fafafa;
  clip-path: polygon(0 0, 100% 0, 50% 100%);
}

.trouble h2 {
  margin: 0 0 30px;
  color: #252525;
  font-family:
    "Yu Mincho",
    "Hiragino Mincho ProN",
    serif;
  font-size: 27px;
  font-weight: 500;
  line-height: 1.75;
  letter-spacing: 0.12em;
  text-align: center;
}

.trouble__body {
  display: grid;
  grid-template-columns: 1fr 150px;
  gap: 22px;
  align-items: center;
}

.trouble ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.trouble li {
  margin: 0 0 11px;
  padding: 10px 12px;
  background: #e5e5e5;
  font-size: 15px;
  line-height: 1.45;
  text-align: center;

  opacity: 0;
  transform: translateX(-30px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}

.trouble li.is-show {
  opacity: 1;
  transform: translateX(0);
}

.trouble__body img {
  width: 150px;
  border-radius: 50%;
}

/* ========================================
   メッセージ
======================================== */
.message {
  position: relative;
  padding: 62px 20px 68px;
  background: #fff;
  text-align: center;
}

.message p {
  margin: 0 0 16px;
  font-family:
    "Yu Mincho",
    "Hiragino Mincho ProN",
    serif;
  font-size: 31px;
  letter-spacing: 0.14em;
}

.message h2 {
  margin: 0;
  color: var(--navy);
  font-family:
    "Yu Mincho",
    "Hiragino Mincho ProN",
    serif;
  font-size: 48px;
  font-weight: 500;
  letter-spacing: 0.12em;
}

/* ========================================
   商品紹介
======================================== */
.products {
  background: var(--pale);
}

.product {
  padding: 52px 38px 56px;
  border-bottom: 1px solid #e3e7f5;
  text-align: center;
}

.label {
  display: inline-block;
  padding: 8px 24px;
  background: var(--navy);
  color: #fff;
  font-size: 14px;
  letter-spacing: 0.18em;
}

.product h2,
.offer h2 {
  margin: 17px 0 24px;
  color: var(--navy);
  font-family:
    "Yu Mincho",
    "Hiragino Mincho ProN",
    serif;
  font-size: 34px;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: 0.08em;
}

.product .sub-name {
  margin: 20px 0 -10px;
  color: var(--navy);
  font-family:
    "Yu Mincho",
    "Hiragino Mincho ProN",
    serif;
  font-size: 15px;
  letter-spacing: 0.18em;
}

.product-visual {
  position: relative;
  width: 100%;
  margin: 0 auto 26px;
  overflow: visible;
}

.product-photo {
  width: 100%;
  border: 0;
}

.product-cut {
  position: absolute;
  z-index: 2;
  opacity: 0;
  background: transparent;

  transform:
    translate3d(0, 35px, 0)
    scale(0.9);

  filter: drop-shadow(
    0 5px 7px rgba(31, 51, 94, 0.18)
  );

  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;

  will-change: transform, opacity;

  transition:
    opacity 0.9s ease,
    transform 0.9s ease;
}

.product-cut.is-show {
  opacity: 1;

  transform:
    translate3d(0, 0, 0)
    scale(1);
}

.product-cut.is-show {
  opacity: 1;
  filter:
    blur(0)
    drop-shadow(0 5px 7px rgba(31, 51, 94, 0.18));
  transform:
    translateY(0)
    scale(1);
}

.product-cut--joli {
  right: -7%;
  bottom: -8%;
  width: 52%;
}

.product-cut--pure {
  right: -7%;
  bottom: -8%;
  width: 49%;
}

.product-cut--lotion {
  right: 3%;
  bottom: -9%;
  width: 35%;
}

.product h3 {
  margin: 0 0 16px;
  color: var(--ink);
  font-family:
    "Yu Mincho",
    "Hiragino Mincho ProN",
    serif;
  font-size: 22px;
  font-weight: 500;
  line-height: 1.55;
  letter-spacing: 0.1em;
}

.product > p:not(.sub-name) {
  margin: 0;
  font-size: 18px;
  line-height: 2;
  text-align: left;
}

.point-list {
  margin: 20px 0 10px;
  padding: 17px 18px 17px 38px;
  background: #fff;
  text-align: left;
}

.point-list li {
  margin: 7px 0;
  font-size: 18px;
  line-height: 1.65;
}

.product small {
  display: block;
  font-size: 10px;
  text-align: right;
}

/* ========================================
   セット・価格・購入ボタン
======================================== */
.offer {
  position: relative;
  padding: 58px 34px 54px;
  background: #fff;
  text-align: center;
}

.offer.triangle-top,
.howto.triangle-top {
  margin-top: 28px;
}

.triangle-top::before {
  content: "";
  position: absolute;
  top: -28px;
  left: 50%;
  width: 0;
  height: 0;
  border-top: 28px solid #fff;
  border-right: 255px solid transparent;
  border-left: 255px solid transparent;
  transform: translateX(-50%);
}

.howto.triangle-top::before {
  border-top-color: #fff;
}

.offer.triangle-top::before {
  border-top-color: #f5f6ff;
}

.set-img {
  width: 94%;
  margin: 24px auto 16px;
}

.regular {
  position: relative;
  display: inline-block;
  margin: 0 0 10px;
  color: #2b3457;
  font-size: 20px;
}

.regular::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  border-top: 1px solid var(--red);
  transform: rotate(-8deg);
}

.price {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 13px;
}

.price span {
  margin-bottom: 1px;
  padding: 5px 8px;
  border: 1px solid #6682bc;
  color: var(--navy);
  font-size: 16px;
  line-height: 1.2;
}

.price strong {
  color: var(--red);
  font-family:
    "Yu Mincho",
    "Hiragino Mincho ProN",
    serif;
  font-size: 57px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.045em;
}

.price strong i {
  margin-right: 2px;
  font-size: 0.72em;
  font-style: normal;
}

.tax {
  margin: 3px 0 22px;
  color: var(--red);
  font-size: 13px;
}

.btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 305px;
  height: 62px;
  margin: 0 auto;
  background: linear-gradient(#284f9f, #123477);
  box-shadow: 0 10px 20px rgba(24, 59, 135, 0.22);
  color: #fff;
  font-family:
    "Yu Mincho",
    "Hiragino Mincho ProN",
    serif;
  font-size: 22px;
  letter-spacing: 0.16em;
}

.btn::after {
  content: "›";
  position: absolute;
  right: 19px;
  font-size: 30px;
}

/* ========================================
   使用方法
======================================== */
.howto {
  position: relative;
  padding: 64px 42px 78px;
  background: #f5f6ff;
  text-align: center;
}

.howto .label {
  min-width: 122px;
  padding: 10px 24px;
  font-size: 16px;
}

.howto__steps {
  margin-top: 36px;
}

.howto__step {
  padding: 0 0 28px;
}

.howto__step img {
  width: 100%;
  max-width: 419px;
  margin: 0 auto 18px;
}

.howto__step p {
  max-width: 390px;
  margin: 0 auto;
  font-size: 18px;
  line-height: 1.9;
  letter-spacing: 0.06em;
  text-align: left;
}

.howto__arrow {
  position: relative;
  width: 100%;
  height: 40px;
  margin: 40px auto;
}

.howto__arrow::before,
.howto__arrow::after {
  content: "";
  position: absolute;
  top: 18px;
  left: 50%;
  width: 115px;
  height: 1px;
  background: #4a5fa5;
}

.howto__arrow::before {
  transform:
    translateX(-100%)
    rotate(22deg);
  transform-origin: right center;
}

.howto__arrow::after {
  transform: rotate(-22deg);
  transform-origin: left center;
}

/* ========================================
   マーカー
======================================== */
.marker {
  display: inline;
  padding: 0 0.08em;
  background:
    linear-gradient(
      transparent 18%,
      #d3fff4 18%,
      #d3fff4 88%,
      transparent 88%
    )
    left center / 0% 100%
    no-repeat;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  transition: background-size 1.2s ease;
}

.marker.is-show {
  background-size: 100% 100%;
}

/* ========================================
   左側：公式サイト
======================================== */
.side--left {
  position: fixed;
  z-index: 100;
  top: 120px;
  left: 50%;
  width: 180px;
  margin-left: -520px;
}

.brand-block {
  text-align: center;
}

.brand-logo {
  width: 160px;
  margin: 0 auto 20px;
}

.official-btn {
  display: block;
  padding: 14px 20px;
  border-radius: 4px;
  background: #6da7c0;
  color: #fff;
  font-size: 14px;
  letter-spacing: 0.12em;
  transition:
    background-color 0.3s ease,
    transform 0.3s ease;
}

.official-btn:hover {
  background: var(--menu-blue);
  transform: translateY(-2px);
}

/* ========================================
   右側：固定メニュー
======================================== */
.side-nav {
  position: fixed;
  z-index: 20;
  top: 135px;
  left: calc(50% + 300px);
  display: flex;
  flex-direction: column;
  gap: 34px;
}

.side-nav a {
  position: relative;
  display: inline-block;
  color: var(--menu-blue);
  font-family:
    "Hiragino Mincho ProN",
    "Yu Mincho",
    "YuMincho",
    serif;
  font-size: 24px;
  line-height: 1.2;
  letter-spacing: 0.18em;
  text-shadow: 0 1px 8px rgba(255, 255, 255, 0.8);
  transition:
    color 0.3s ease,
    opacity 0.3s ease,
    transform 0.3s ease;
}

.side-nav a::after {
  content: "";
  position: absolute;
  bottom: -7px;
  left: 0;
  width: 0;
  height: 1px;
  background: currentColor;
  transition: width 0.3s ease;
}

.side-nav a:hover {
  color: var(--menu-blue-hover);
  opacity: 0.75;
  transform: translateX(4px);
}

.side-nav a:hover::after {
  width: 100%;
}


/* ========================================
   スクロール表示
======================================== */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.75s ease,
    transform 0.75s ease;
}

.reveal.is-show {
  opacity: 1;
  transform: none;
}

/* ========================================
   タブレット以下
======================================== */
@media (max-width: 1100px) {
  .side--left,
  .side-nav {
    display: none;
  }
}

/* ========================================
   スマートフォン
======================================== */
@media (max-width: 540px) {
  .page-bg {
    padding: 0;
    background-attachment: scroll;
  }

  .trouble {
    padding: 42px 26px 54px;
  }

  .trouble h2 {
    font-size: 23px;
  }

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

  .trouble__body img {
    width: 118px;
  }

  .trouble li {
    padding: 8px;
    font-size: 12px;
  }

  .message p {
    font-size: 25px;
  }

  .message h2 {
    font-size: 40px;
  }

  .product {
    padding: 46px 28px 50px;
  }

  .product h2,
  .offer h2 {
    font-size: 29px;
  }

  .product h3 {
    font-size: 19px;
  }

  .product > p:not(.sub-name) {
    font-size: 15px;
  }

  .point-list li {
    font-size: 12px;
  }

  .offer {
    padding: 52px 28px 48px;
  }

  .price strong {
    font-size: 49px;
  }

  .btn {
    width: 280px;
    height: 58px;
    font-size: 19px;
  }

  .triangle-top::before {
    border-right-width: 255px;
    border-left-width: 255px;
  }

  .howto {
    padding: 54px 26px 64px;
  }

  .howto__steps {
    margin-top: 28px;
  }

  .howto__step p {
    font-size: 12px;
  }
  .regular{
    font-size: 12px;
  }
}
/* 訪問済みのリンク */
a:visited {
  color: #fff;
}
/* 訪問済みのリンク */
.side-nav a {
  color: #27388e;
}
/* ========================================
   モーションを減らす設定
======================================== */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
