@charset "utf-8";
/* CSS Document */


/* ===============================
   基本設定
=============================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  background-color: #fff;
}


/* ===============================
   ページ背景
=============================== */
.bg-color {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  background-color: #fffbc8;
}

.bg-color::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;

  background-image: url("/charmhandcream/img/haikei.png");
  background-repeat: repeat;
  background-position: top center;
  background-size: 2800px auto;

  opacity: 0.5;
}


/* ===============================
   メインビジュアルエリア
=============================== */
.main-visual-area {
  width: 100%;
  padding-top: 10px;
  text-align: center;
}


/* タイトル画像 */
.main-title {
  display: block;
  width: calc(100% - 40px);
  max-width: 350px;
  height: auto;
  margin: 0 auto 30px;
}


/* メインビジュアル */
.main-visual {
  display: block;
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
}

.main-visual img {
  display: block;
  width: 100%;
  height: auto;
}


/* ===============================
   こだわりポイント
=============================== */
.commitment {
  width: 100%;
  max-width: none;
  margin: 80px 0;
  padding: 45px 0;

  background-color: #fff;
  box-shadow: 0 10px 30px rgba(90, 67, 55, 0.1);
}

.commitment-heading,
.commitment-accordion {
  width: calc(100% - 40px);
  max-width: 1000px;
  margin-right: auto;
  margin-left: auto;
}

.commitment-heading {
  margin-top: 0;
  margin-bottom: 30px;
  text-align: center;
}

.commitment-heading__en {
  display: block;
  margin-bottom: 5px;
  color: #e7888c;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.commitment-heading h2 {
  margin: 0;
  color: #6f594e;
  font-size: clamp(24px, 4vw, 36px);
  line-height: 1.4;
}


/* アコーディオン全体 */
.commitment-accordion {
  display: grid;
  gap: 16px;
}


/* 各項目のカラー */
.commitment-item:nth-child(1) {
  --point-color: #ef8f83;
}

.commitment-item:nth-child(2) {
  --point-color: #55b5d5;
}

.commitment-item:nth-child(3) {
  --point-color: #bd7fbd;
}


/* 各カード */
.commitment-item {
  overflow: hidden;
  border: 3px solid var(--point-color);
  border-radius: 20px;
  background-color: #fff;
  box-shadow: 0 8px 20px rgba(90, 67, 55, 0.12);
}


/* タップする見出し */
.commitment-summary {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 82px;
  padding: 14px 22px;

  color: #fff;
  background-color: var(--point-color);

  cursor: pointer;
  list-style: none;
  user-select: none;
}

.commitment-summary::-webkit-details-marker {
  display: none;
}

.commitment-summary::marker {
  content: "";
}

.commitment-item[open] .commitment-summary {
  background-color: var(--point-color);
}


/* 01〜03 */
.commitment-number {
  display: grid;
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  place-items: center;

  border-radius: 50%;
  color: var(--point-color);
  background-color: #fff;

  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.05em;
}


/* 各タイトル */
.commitment-title {
  flex: 1;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
}


/* ＋−マーク */
.commitment-toggle {
  position: relative;
  flex: 0 0 28px;
  width: 28px;
  height: 28px;

  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.25);
}

.commitment-toggle::before,
.commitment-toggle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;

  width: 12px;
  height: 2px;

  border-radius: 2px;
  background-color: #fff;

  transform: translate(-50%, -50%);
  transition: transform 0.3s;
}

.commitment-toggle::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.commitment-item[open] .commitment-toggle::after {
  transform: translate(-50%, -50%) rotate(0deg);
}


/* 開いた中身 */
.commitment-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  align-items: center;
  gap: 30px;

  padding: 24px 30px 30px;
  background-color: #fff;

  animation: commitment-open 0.35s ease;
}

.commitment-image img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
}

.commitment-description p {
  margin: 0;
  color: #222;
  font-size: 15px;
  line-height: 2;
}

@keyframes commitment-open {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* ===============================
   PC：こだわりポイント横並び
=============================== */
@media (min-width: 768px) {
  .commitment-accordion {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
    gap: 20px;
  }

  .commitment-item {
    height: 100%;
  }

  .commitment-summary {
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    min-height: 145px;
    padding: 20px;
    text-align: center;
    cursor: default;
  }

  .commitment-number {
    flex-basis: 48px;
  }

  .commitment-title {
    flex: none;
    font-size: 17px;
  }

  .commitment-toggle {
    display: none;
  }

  .commitment-content {
    grid-template-columns: 1fr;
    align-content: start;
    gap: 18px;
    padding: 20px 20px 25px;
  }

  .commitment-description p {
    font-size: 14px;
    line-height: 1.8;
  }
}


/* ===============================
   商品ラインナップ
=============================== */
.handcream-products {
  width: 100%;
  padding: 60px 0 100px;
}

.handcream-products__inner {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 80px;

  width: calc(100% - 40px);
  max-width: 1000px;
  margin: 0 auto;
}


/* 各商品のカラー */
.handcream-product--pink {
  --product-color: #ff7880;
  --product-color-dark: #e85d68;
}

.handcream-product--blue {
  --product-color: #7db8ed;
  --product-color-dark: #5b9bd5;
}


/* 商品1点 */
.handcream-product {
  position: relative;
  text-align: center;
}


/* 商品画像 */
.handcream-product__image {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 390px;
  margin-bottom: 25px;
}

.handcream-product__image img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 390px;
  height: auto;

  filter:
    drop-shadow(0 15px 12px rgba(67, 46, 39, 0.24))
    drop-shadow(0 4px 3px rgba(67, 46, 39, 0.18));

  transition:
    transform 0.35s ease,
    filter 0.35s ease;
}

.handcream-product:hover .handcream-product__image img {
  transform: translateY(-7px) scale(1.03);

  filter:
    drop-shadow(0 20px 15px rgba(67, 46, 39, 0.28))
    drop-shadow(0 5px 4px rgba(67, 46, 39, 0.2));
}


/* 商品情報 */
.handcream-product__information {
  position: relative;
  padding: 0 20px;
}


/* 香り */
.handcream-product__scent,
.handcream-product__scent:hover {
  margin: 0 0 7px;
  color: #222 !important;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.6;

  text-shadow:
    0 1px 0 #fff,
    0 0 7px #fff,
    0 0 12px rgba(255, 255, 255, 0.95);
}


/* 商品名 */
.handcream-product__name,
.handcream-product__name:hover {
  min-height: 58px;
  margin: 0 0 22px;
  color: #222 !important;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.6;

  text-shadow:
    0 1px 0 #fff,
    0 0 7px #fff,
    0 0 12px rgba(255, 255, 255, 0.95);
}


/* ボタン */
.handcream-product__buttons {
  display: grid;
  gap: 12px;
  width: 100%;
  max-width: 280px;
  margin: 0 auto;
}

.handcream-button {
  display: flex;
  align-items: center;
  justify-content: center;

  min-height: 52px;
  padding: 10px 20px;

  border: 2px solid var(--product-color);
  border-radius: 8px;

  font-size: 15px;
  font-weight: 700;
  text-decoration: none;

  box-shadow: 0 7px 13px rgba(90, 67, 55, 0.17);

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background-color 0.25s ease;
}

.handcream-button--buy {
  color: #fff !important;
  background-color: var(--product-color);
}

.handcream-button--detail {
  color: var(--product-color-dark) !important;
  background-color: rgba(255, 255, 255, 0.94);
}

.handcream-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 17px rgba(90, 67, 55, 0.22);
}

.handcream-button--buy:hover,
.handcream-button--buy:focus {
  color: #fff !important;
  background-color: var(--product-color);
}

.handcream-button--detail:hover,
.handcream-button--detail:focus {
  color: var(--product-color-dark) !important;
  background-color: rgba(255, 255, 255, 0.94);
}


/* ===============================
   サイズガイド
=============================== */
.size-guide {
  width: calc(100% - 40px);
  max-width: 900px;
  margin: 80px auto;
  text-align: center;
}

.size-guide__heading {
  margin-bottom: 25px;
}

.size-guide__heading span {
  display: block;
  margin-bottom: 5px;
  color: #ef7880;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.size-guide__heading h2 {
  margin: 0;
  color: #222;
  font-size: clamp(24px, 4vw, 36px);
  line-height: 1.4;
}


/* 白背景をカードとして見せる */
.size-guide__card {
  width: 100%;
  max-width: 650px;
  margin: 0 auto;
  padding: 20px;

  border: 3px solid #ef8f83;
  border-radius: 28px;
  background-color: #fff;

  box-shadow:
    0 15px 30px rgba(90, 67, 55, 0.18),
    0 4px 8px rgba(90, 67, 55, 0.1);
}

.size-guide__card a {
  display: block;
}

.size-guide__card img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 18px;
}


/* ===============================
   注意事項
=============================== */
main .caution-card {
  display: block;
  overflow: hidden;

  width: calc(100% - 40px);
  max-width: 650px;
  margin: 60px auto 80px;

  border: 1px solid rgba(215, 67, 114, 0.22);
  border-radius: 20px;
  background-color: rgba(255, 255, 255, 0.88);

  box-shadow: 0 8px 22px rgba(119, 51, 70, 0.12);
}

.caution-card__summary {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 72px;
  padding: 14px 58px 14px 20px;

  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::marker {
  content: "";
}

.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 {
  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;
}


/* ===============================
   スマホ
=============================== */
@media (max-width: 767px) {
  /* 背景柄 */
  .bg-color::before {
    background-size: 1500px auto;
  }

  /* タイトル画像 */
  .main-title {
    width: calc(100% - 40px);
    max-width: 200px;
    margin-bottom: 20px;
  }

  /* メインビジュアル */
  .main-visual {
    width: 100%;
    max-width: none;
  }

  /* こだわりポイント */
  .commitment {
    width: 100%;
    margin: 60px 0;
    padding: 35px 0;
  }

  .commitment-heading,
  .commitment-accordion {
    width: calc(100% - 30px);
  }

  .commitment-heading {
    margin-bottom: 22px;
  }

  .commitment-accordion {
    gap: 12px;
  }

  .commitment-summary {
    gap: 12px;
    min-height: 72px;
    padding: 12px 15px;
  }

  .commitment-number {
    flex-basis: 42px;
    width: 42px;
    height: 42px;
    font-size: 13px;
  }

  .commitment-title {
    font-size: 15px;
  }

  .commitment-content {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 18px 18px 24px;
  }

  .commitment-description p {
    font-size: 14px;
    line-height: 1.8;
  }

  /* 商品ラインナップ */
  .handcream-products {
    padding: 40px 0 70px;
  }

  .handcream-products__inner {
    grid-template-columns: 1fr;
    gap: 75px;

    width: calc(100% - 30px);
    max-width: 430px;
  }

  .handcream-product__image {
    min-height: 0;
    margin-bottom: 22px;
  }

  .handcream-product__image img {
    width: auto;
    max-width: 290px;
    max-height: 380px;
  }

  .handcream-product__information {
    padding: 0 10px;
  }

  .handcream-product__scent {
    font-size: 14px;
  }

  .handcream-product__name {
    min-height: 0;
    font-size: 16px;
  }

  .handcream-product__buttons {
    max-width: 280px;
  }

  .handcream-button {
    min-height: 50px;
    font-size: 14px;
  }

  /* サイズガイド */
  .size-guide {
    width: calc(100% - 30px);
    margin: 60px auto;
  }

  .size-guide__heading {
    margin-bottom: 20px;
  }

  .size-guide__card {
    width: 100%;
    max-width: none;
    padding: 8px;
    border-width: 2px;
    border-radius: 20px;
  }

  .size-guide__card img {
    border-radius: 14px;
  }

  /* 注意事項 */
  main .caution-card {
    width: calc(100% - 30px);
    max-width: 650px;
    margin: 40px auto 60px;
  }

  .caution-card__summary {
    min-height: 68px;
    padding: 13px 50px 13px 16px;
  }

  .caution-card__summary::after {
    right: 16px;
  }

  .caution-card__body {
    padding: 16px;
  }
}