@charset "utf-8";
/* CSS Document */

.bg-color {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  background-color: #FFE6E9;
}

.bg-color::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;

  background-image: url("/minicharm/img/gara.png");
  background-repeat: repeat;
  background-size: 500px auto;

  opacity: 0.4;
  mix-blend-mode: multiply;
}

.main-visual {
  display: block;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
}

.main-visual img {
  display: block;
  width: 100%;
  height: auto;
}

.second-catch {
  width: 100%;
  max-width: 850px;
  margin: 0 auto;
  padding: 28px 16px;
  box-sizing: border-box;
  text-align: center;
}

.second-catch__main {
  margin: 0;
  color: #333;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.7;
  letter-spacing: 0.04em;
}

.second-catch__main span {
  color: #d74372;
}

.second-catch__sub {
  margin: 10px 0 0;
  color: #555;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.05em;
}

/* PC・タブレット */
@media screen and (min-width: 768px) {
  .second-catch {
    padding: 40px 20px;
  }

  .second-catch__main {
    font-size: 22px;
  }

  .second-catch__sub {
    margin-top: 12px;
    font-size: 14px;
  }
}

/* =========================
   商品一覧
========================= */

.product-grid {
  width: calc(100% - 32px);
  max-width: 850px;
  margin: 0 auto;
}

/* 商品ごとの基本設定 */
.product-item {
  --accent: #d64b68;
  --accent-dark: #bd3553;

  width: 100%;
  margin: 0;
  padding: 42px 0 56px;
  border-bottom: 1px dashed rgba(214, 75, 104, 0.28);
  box-sizing: border-box;
  text-align: center;
}

/* 商品ごとの色 */
.product-item--red {
  --accent: #c83d5a;
  --accent-dark: #a92d47;
}

.product-item--blue {
  --accent: #315eb0;
  --accent-dark: #244887;
}

.product-item--pink {
  --accent: #db6b9d;
  --accent-dark: #bd4f80;
}

.product-item--lightblue {
  --accent: #6b9fca;
  --accent-dark: #4f82ad;
}


/* =========================
   ボトル＋パッケージ
========================= */

.product-images {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: end;
  gap: 14px;

  width: 100%;
  max-width: 300px;
  margin: 0 auto 28px;
  padding: 0 16px;
  box-sizing: border-box;
  overflow: visible;
}

.product-images img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 9px 8px rgba(79, 35, 45, 0.22));
  transition:
    transform 0.35s ease,
    filter 0.35s ease;
}

/* 古い47%・37%を無効化 */
.product-images__bottle,
.product-images__package {
  width: 100%;
  max-width: 100%;
}


/* =========================
   商品情報
========================= */

.product-info {
  text-align: center;
}

.product-name {
  margin: 0;
  color: #333;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.04em;
}

.product-scent {
  margin: 8px 0 22px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.05em;
}


/* =========================
   ボタン
========================= */

.product-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  max-width: 350px;
  margin: 0 auto;
}

.product-button {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 10px 42px 10px 20px;
  border: 2px solid var(--accent);
  border-radius: 999px;
  box-sizing: border-box;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none;
  transition:
    color 0.25s ease,
    background-color 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.25s ease;
}

.product-button::after {
  content: "›";
  position: absolute;
  top: 50%;
  right: 20px;
  font-size: 22px;
  line-height: 1;
  transform: translateY(-52%);
  transition: transform 0.25s ease;
}

/* 購入ボタン */
.product-links a.product-button--buy,
.product-links a.product-button--buy:link,
.product-links a.product-button--buy:visited {
  color: #fff !important;
  background-color: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 6px 14px rgba(90, 40, 50, 0.18);
}

.product-links a.product-button--buy::after {
  color: #fff !important;
}

/* 詳細ボタン */
.product-links a.product-button--detail,
.product-links a.product-button--detail:link,
.product-links a.product-button--detail:visited {
  color: var(--accent) !important;
  background-color: rgba(255, 255, 255, 0.72);
  border-color: var(--accent);
}

.product-button:active {
  transform: scale(0.97);
}

.product-button:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}


/* =========================
   PC：2列表示
========================= */

@media screen and (min-width: 768px) {
  .product-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 42px;
    row-gap: 30px;
    padding: 30px 20px 70px;
    box-sizing: border-box;
  }

  .product-item {
    display: flex;
    flex-direction: column;
    padding: 42px 0;
    border-bottom: none;
  }

  .product-images {
    max-width: 400px;
    margin-bottom: 32px;
    padding: 0 12px;
    gap: 16px;
  }

  .product-info {
    display: flex;
    flex: 1;
    flex-direction: column;
  }

  .product-name {
    font-size: 20px;
  }

  .product-scent {
    min-height: 46px;
    margin: 9px 0 22px;
    font-size: 15px;
  }

  .product-links {
    max-width: 350px;
    margin-top: auto;
  }

  .product-button {
    min-height: 54px;
    font-size: 14px;
  }
}


/* =========================
   PCホバー
========================= */

@media (hover: hover) {
  .product-images:hover img {
    transform: translateY(-5px);
    filter: drop-shadow(0 14px 11px rgba(79, 35, 45, 0.28));
  }

  .product-button:hover {
    transform: translateY(-3px);
  }

  .product-button:hover::after {
    transform: translate(4px, -52%);
  }

  .product-links a.product-button--buy:hover {
    color: #fff !important;
    background-color: var(--accent-dark);
    border-color: var(--accent-dark);
  }

  .product-links a.product-button--detail:hover {
    color: #fff !important;
    background-color: var(--accent);
  }
}

/* =========================
   TikTok動画
========================= */

.movie-section {
  width: calc(100% - 32px);
  max-width: 850px;
  margin: 0 auto;
  padding: 36px 0 56px;
  box-sizing: border-box;
  text-align: center;
}

.movie-section__label {
  display: inline-block;
  margin: 0 0 10px;
  padding: 5px 18px;
  border-radius: 999px;
  color: #fff;
  background-color: #d74372;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
}

.movie-section__title {
  margin: 0;
  color: #333;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.04em;
}

.movie-section__text {
  margin: 8px 0 24px;
  color: #555;
  font-size: 13px;
  line-height: 1.7;
}

.tiktok-wrap {
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
  padding: 12px;
  border-radius: 24px;
  box-sizing: border-box;
  background-color: rgba(255, 255, 255, 0.55);
  box-shadow: 0 10px 24px rgba(119, 51, 70, 0.12);
}

/* TikTok側のサイズ指定を上書き */
.tiktok-wrap .tiktok-embed {
  width: 100% !important;
  max-width: 410px !important;
  min-width: 0 !important;
  margin: 0 auto !important;
}


/* PC */
@media screen and (min-width: 768px) {
  .movie-section {
    padding: 50px 20px 70px;
  }

  .movie-section__title {
    font-size: 25px;
  }

  .movie-section__text {
    margin-bottom: 28px;
    font-size: 14px;
  }

  .tiktok-wrap {
    padding: 16px;
  }
}

/* =========================
   使用方法・注意事項
========================= */

.guide-section {
  width: calc(100% - 32px);
  max-width: 850px;
  margin: 0 auto;
  padding: 48px 0 80px;
  box-sizing: border-box;
}

.guide-heading {
  margin-bottom: 24px;
  text-align: center;
}

.guide-heading__en {
  display: inline-block;
  margin: 0 0 10px;
  padding: 5px 18px;
  border-radius: 999px;
  color: #fff;
  background-color: #d74372;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
}

.guide-heading__title {
  margin: 0;
  color: #333;
  font-size: 21px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.05em;
}

.guide-heading__lead {
  margin: 8px 0 0;
  color: #666;
  font-size: 13px;
  line-height: 1.7;
}


/* 使い方カード */

.howto-card {
  padding: 22px 18px;
  border: 1px solid rgba(215, 67, 114, 0.14);
  border-radius: 26px;
  background-color: rgba(255, 255, 255, 0.72);
  box-shadow: 0 10px 28px rgba(119, 51, 70, 0.1);
}

.howto-steps {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.howto-step {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 16px;
  border-radius: 18px;
  background-color: rgba(255, 240, 244, 0.82);
}

.howto-step__number {
  display: flex;
  flex: 0 0 42px;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: #fff;
  background-color: #d74372;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  box-shadow: 0 5px 12px rgba(215, 67, 114, 0.2);
}

.howto-step__body {
  flex: 1;
  text-align: left;
}

.howto-step h3 {
  margin: 1px 0 5px;
  color: #333;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
}

.howto-step p {
  margin: 0;
  color: #555;
  font-size: 12px;
  line-height: 1.8;
}


/* 特に大切な注意 */

.howto-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 18px 0 0;
  padding: 14px 16px;
  border-radius: 15px;
  color: #9f3651;
  background-color: #ffe8ee;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.7;
  text-align: left;
}

.howto-note__icon {
  display: flex;
  flex: 0 0 22px;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  margin-top: 1px;
  border-radius: 50%;
  color: #fff;
  background-color: #d74372;
  font-size: 13px;
  font-weight: 700;
}


/* 注意事項アコーディオン */

.caution-card {
  margin-top: 18px;
  overflow: hidden;
  border: 1px solid rgba(215, 67, 114, 0.22);
  border-radius: 20px;
  background-color: rgba(255, 255, 255, 0.72);
  box-shadow: 0 8px 22px rgba(119, 51, 70, 0.08);
}

.caution-card__summary {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 72px;
  padding: 14px 58px 14px 20px;
  box-sizing: border-box;
  color: #444;
  cursor: pointer;
  list-style: none;
  text-align: left;
  transition: background-color 0.25s ease;
}

.caution-card__summary::-webkit-details-marker {
  display: none;
}

.caution-card__summary strong {
  display: block;
  color: #333;
  font-size: 15px;
  font-weight: 700;
}

.caution-card__summary small {
  display: block;
  margin-top: 3px;
  color: #888;
  font-size: 11px;
  font-weight: 500;
}

/* 右側のプラス */
.caution-card__summary::after {
  content: "＋";
  position: absolute;
  top: 50%;
  right: 20px;
  color: #d74372;
  font-size: 24px;
  font-weight: 400;
  transform: translateY(-50%);
  transition: transform 0.3s ease;
}

.caution-card[open] .caution-card__summary::after {
  transform: translateY(-50%) rotate(45deg);
}

.caution-card[open] .caution-card__summary {
  border-bottom: 1px solid rgba(215, 67, 114, 0.14);
  background-color: rgba(255, 240, 244, 0.75);
}

.caution-card__body {
  padding: 20px;
  text-align: left;
}

.caution-card__body ul {
  margin: 0;
  padding-left: 1.3em;
}

.caution-card__body li {
  margin-bottom: 10px;
  color: #555;
  font-size: 12px;
  line-height: 1.8;
}

.caution-card__body li:last-child {
  margin-bottom: 0;
}

.caution-card__body li::marker {
  color: #d74372;
}

.caution-card__body ol {
  margin: 8px 0 0;
  padding-left: 1.5em;
}


/* PC */

@media screen and (min-width: 768px) {
  .guide-section {
    padding: 64px 20px 100px;
  }

  .guide-heading {
    margin-bottom: 30px;
  }

  .guide-heading__title {
    font-size: 26px;
  }

  .guide-heading__lead {
    font-size: 14px;
  }

  .howto-card {
    padding: 28px;
  }

  .howto-steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
  }

  .howto-step {
    display: block;
    padding: 22px 18px;
    text-align: center;
  }

  .howto-step__number {
    margin: 0 auto 14px;
  }

  .howto-step__body {
    text-align: center;
  }

  .howto-step h3 {
    font-size: 16px;
  }

  .howto-step p,
  .howto-note,
  .caution-card__body li {
    font-size: 13px;
  }

  .caution-card__summary {
    padding-right: 70px;
    padding-left: 26px;
  }

  .caution-card__summary strong {
    font-size: 16px;
  }

  .caution-card__body {
    padding: 26px 30px;
  }
}


/* マウスホバー */

@media (hover: hover) {
  .caution-card__summary:hover {
    background-color: rgba(255, 240, 244, 0.9);
  }
}