/* ================================================================
   本番サイト(top_test.php)に組み込む際、CSSは全て .lp 配下にスコープする。
   ※ 以前は *, html, body, a, button, img などをグローバルに指定していたが、
     .lp の外にあるサイト本体のヘッダー/フッター/カレンダーに漏れて競合し、
     レイアウトが崩れていたため、要素セレクタは .lp 配下に限定する。
   ================================================================ */
.lp,
.lp * {
  box-sizing: border-box;
}

.lp a {
  color: inherit;
  text-decoration: none;
}

.lp button,
.lp input {
  font: inherit;
}

.lp button {
  color: inherit;
}

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

.lp {
  position: relative;
  width: 420px;
  /* サイト本体は full-width。LP は 420px 基準の列なので、幅の広い画面では
     margin:auto で中央寄せする（旧: body の flex 中央寄せ→サイトのヘッダー/
     フッターまで中央寄せしてしまい両脇に空白が出ていた）。 */
  margin: 0 auto;
  overflow: hidden;
  color: #3a2723;
  background: #fff;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", "Times New Roman", serif;
  box-shadow: 0 0 32px rgba(91, 52, 43, 0.08);
  /* Design baseline = 420px (the width the layout was authored for, so text
     never re-wraps; a wider baseline also makes the whole UI read slightly
     smaller). JS sets --site-zoom = min(viewport, 768) / 420 so the whole
     layout scales proportionally up to a 768px cap. */
  zoom: var(--site-zoom, 1);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) 72px;
  align-items: center;
  height: 50px;
  padding: 0 6px;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(88, 62, 57, 0.08);
  backdrop-filter: blur(12px);
}

.header-side {
  display: flex;
  align-items: center;
  gap: 2px;
}

.header-side-right {
  justify-content: flex-end;
}

.header-logo {
  justify-self: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 92px;
}

.header-logo img {
  width: 92px;
}

.icon-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 33px;
  height: 33px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.icon-button svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: #2f211f;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cart-button span {
  position: absolute;
  top: 3px;
  right: 2px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  background: #df8c9b;
  color: #fff;
  font-family: Arial, sans-serif;
  font-size: 10px;
  line-height: 16px;
  text-align: center;
}

.overlay {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  background: rgba(30, 21, 19, 0.32);
}

.overlay.is-open {
  display: block;
}

.drawer,
.search-panel {
  position: fixed;
  top: 0;
  bottom: 0;
  z-index: 60;
  width: 300px;
  overflow-y: auto;
  background: #fff;
  box-shadow: 0 0 28px rgba(55, 32, 27, 0.18);
  transition: transform 0.28s ease;
}

.drawer {
  left: 0;
  transform: translateX(-100%);
}

.search-panel {
  right: 0;
  transform: translateX(100%);
  padding: 18px;
}

.drawer.is-open,
.search-panel.is-open {
  transform: translateX(0);
}

body.drawer-open .drawer {
  transform: translateX(0);
}

body.search-open .search-panel {
  transform: translateX(0);
}

.drawer-head,
.search-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 58px;
  padding: 10px 14px;
  border-bottom: 1px solid #ead4d0;
}

.drawer-head img {
  width: 104px;
}

.search-head {
  padding: 0 0 12px;
}

.search-head strong {
  font-size: 20px;
  font-weight: 500;
}

.drawer-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 16px 14px;
}

.drawer-actions a,
.search-tags a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  border: 1px solid #e6bfc3;
  border-radius: 999px;
  color: #b96775;
  background: #fff8f8;
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  font-size: 13px;
}

.drawer-toggle {
  position: relative;
  width: 100%;
  padding: 14px 42px 14px 20px;
  border: 0;
  border-top: 1px solid #eed7d6;
  background: #fff;
  text-align: left;
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  font-size: 15px;
  cursor: pointer;
}

.drawer-toggle::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 20px;
  width: 8px;
  height: 8px;
  border-right: 1px solid #7d514b;
  border-bottom: 1px solid #7d514b;
  transform: translateY(-65%) rotate(45deg);
}

.drawer-toggle.is-open::after {
  transform: translateY(-25%) rotate(225deg);
}

.drawer-list {
  display: none;
  margin: 0;
  padding: 4px 0 10px;
  list-style: none;
  background: #fff9f9;
}

.drawer-list.is-open {
  display: block;
}

.drawer-list a {
  display: block;
  padding: 10px 22px;
  border-bottom: 1px solid rgba(222, 188, 188, 0.5);
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  font-size: 13px;
}

.search-field {
  display: grid;
  gap: 8px;
  margin-top: 18px;
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  font-size: 13px;
}

.search-field input {
  width: 100%;
  height: 44px;
  padding: 0 14px;
  border: 1px solid #e7c3c5;
  border-radius: 4px;
  background: #fff;
  outline: 0;
}

.search-field input:focus {
  border-color: #d98998;
  box-shadow: 0 0 0 3px rgba(217, 137, 152, 0.16);
}

.search-tags {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 16px;
}

.fv-slider {
  position: relative;
  min-height: 0;
  overflow: hidden;
  background: #fff3f3;
}

.fv-track {
  position: relative;
  min-height: 0;
}

.fv-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  min-height: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.55s ease;
}

.fv-slide.is-active {
  position: relative;
  opacity: 1;
  pointer-events: auto;
}

.fv-slide--full-image {
  aspect-ratio: var(--fv-ratio);
  display: block;
  overflow: hidden;
  background: #fff3f3;
}

.fv-slider.is-full-image-active,
.fv-slider.is-full-image-active .fv-track,
.fv-slider.is-full-image-active .fv-slide--full-image {
  min-height: 0;
}

.fv-full-image {
  width: 100%;
}

.fv-full-image {
  position: absolute;
  inset: 0;
  display: block;
  max-width: none;
  height: 100%;
  object-fit: cover;
}

.fv-image-link {
  position: absolute;
  z-index: 5;
  display: block;
  border-radius: 999px;
  color: transparent;
  overflow: hidden;
}

.fv-image-link--full {
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 0;
}

.fv-image-link--outlet {
  left: 0;
  bottom: 0;
  width: 100%;
  height: 16%;
  border-radius: 0;
}

.fv-arrow {
  position: absolute;
  z-index: 6;
  top: 50%;
  transform: translateY(-50%);
  width: 26px;
  height: 26px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.82);
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(75, 48, 43, 0.18);
  -webkit-tap-highlight-color: transparent;
}

.fv-arrow::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 7px;
  height: 7px;
  border-top: 2px solid #544542;
  border-right: 2px solid #544542;
}

.fv-arrow--prev {
  left: 12px;
}

.fv-arrow--prev::before {
  transform: translate(-30%, -50%) rotate(-135deg);
}

.fv-arrow--next {
  right: 12px;
}

.fv-arrow--next::before {
  transform: translate(-70%, -50%) rotate(45deg);
}

.info-banner-section {
  padding: 14px 0 18px;
  overflow: hidden;
  background: #fff;
}

/* 2026-09 指示: 2+1イベント延期でバナーが2枚になったため、スライドをやめて横並びに。
   スライダー用の .info-banner-slider 以下のCSS/JSはイベント再開時にそのまま戻せる
   よう残してある（dots が無い間は script.js 側が初期化をスキップする）。 */
.info-banner-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 0 12px;
}

.info-banner-item {
  display: block;
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(128, 82, 78, 0.08);
}

.info-banner-item img {
  width: 100%;
}

.info-banner-slider {
  position: relative;
  overflow: hidden;
}

.info-banner-track {
  display: flex;
  align-items: center;
  /* padding (40px) - gap (10px) = 30px peek of the prev/next banner on each
     side; the centered slide (340px) fills the remaining width almost fully. */
  gap: 10px;
  padding: 0 40px;
  transition: transform 0.45s ease;
  will-change: transform;
}

.info-banner-track.is-resetting {
  transition: none;
}

.info-banner-slide {
  flex: 0 0 340px;
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(128, 82, 78, 0.08);
  /* Side banners that only peek in are dimmed so the centered one reads as the
     single focused banner; JS adds .is-center to the slide in the middle. */
  opacity: 0.5;
  transition: opacity 0.45s ease;
}

.info-banner-slide.is-center {
  opacity: 1;
}

.info-banner-slide img {
  width: 100%;
}

.info-banner-dots {
  display: flex;
  justify-content: center;
  gap: 7px;
  margin-top: 9px;
}

.info-banner-dots button {
  width: 6px;
  height: 6px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #efd9d6;
  cursor: pointer;
}

.info-banner-dots button.is-active {
  background: #d9798e;
}

.reason-section {
  padding: 0 12px 18px;
  background: #fff;
}

.reason-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid #f2dedc;
  border-radius: 6px;
  background: #fff;
}

.reason-card {
  min-width: 0;
  min-height: 98px;
  padding: 10px 6px 8px;
  text-align: center;
  border-left: 1px solid #f2dedc;
}

.reason-card:first-child {
  border-left: 0;
}

.reason-icon {
  display: flex;
  justify-content: center;
  margin-bottom: 6px;
  color: #ee6f91;
}

.reason-icon svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.reason-card h3 {
  /* 8px keeps even the longest heading (10 chars, e.g. 韓国トレンドを先取り)
     on a single line within the ~85px card text width, so no character drops
     to a second line. min-height reserves one line so the <p> below stays
     aligned across all four cards. */
  min-height: 16px;
  margin: 0;
  color: #3f2b26;
  font-size: 8px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.reason-card p {
  margin: 4px 0 0;
  color: #594541;
  font-size: 7px;
  line-height: 1.45;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.pickup-section {
  padding: 26px 14px 30px;
  background:
    linear-gradient(180deg, #fdf3f1 0%, #faf1ee 40%, #f6ece9 100%);
}

.pickup-title {
  margin-bottom: 22px;
}

.pickup-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 13px;
}

.pickup-card {
  /* Per-card color theme (default = rose, matching pickup-01). Override with the
     --lavender / --cream modifier classes so each card's accents match the tint
     of its banner image. */
  --accent: #cf9aa1;
  --accent-grad-1: #d99aa3;
  --accent-grad-2: #cd8893;
  --chip-bg: #f8ebe9;
  --chip-text: #9a7a74;
  --desc-text: #4a302b;
  --btn-shadow: rgba(195, 128, 140, 0.28);
  display: flex;
  flex-direction: column;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 18px rgba(150, 96, 88, 0.12);
  overflow: hidden;
}

.pickup-card--lavender {
  --accent: #a294c4;
  --accent-grad-1: #ab9ccf;
  --accent-grad-2: #9486bd;
  --chip-bg: #efebf7;
  --chip-text: #7d72a0;
  --desc-text: #3f3651;
  --btn-shadow: rgba(140, 124, 180, 0.28);
}

.pickup-card--cream {
  --accent: #c3a07c;
  --accent-grad-1: #cba886;
  --accent-grad-2: #b8916b;
  --chip-bg: #f5ede2;
  --chip-text: #9a7f63;
  --desc-text: #4a3a29;
  --btn-shadow: rgba(180, 150, 110, 0.28);
}

/* Pinker purple (mauve) — pickup-05 人気カラコン調査 */
.pickup-card--mauve {
  --accent: #b98bb0;
  --accent-grad-1: #c197b8;
  --accent-grad-2: #aa7ba2;
  --chip-bg: #f5ecf3;
  --chip-text: #93728c;
  --desc-text: #4a3548;
  --btn-shadow: rgba(170, 123, 162, 0.28);
}

/* Bluer purple (periwinkle) — pickup-06 韓国アイドル風 */
.pickup-card--periwinkle {
  --accent: #8b8fc6;
  --accent-grad-1: #969bd0;
  --accent-grad-2: #7d82bb;
  --chip-bg: #ecedf7;
  --chip-text: #6f739c;
  --desc-text: #353851;
  --btn-shadow: rgba(125, 130, 187, 0.28);
}

.pickup-thumb {
  display: block;
}

.pickup-thumb img {
  /* All 6 banners are pre-exported to a uniform 16:9, so an aspect-ratio box
     keeps every card the same height while scaling proportionally with the
     responsive layout (no fixed pixel height = no awkward downscale blur).
     object-fit: cover is a no-op safety net against sub-pixel rounding. */
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  object-fit: cover;
}

.pickup-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 12px 11px 13px;
}

.pickup-tag {
  align-self: flex-start;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 8.5px;
  letter-spacing: 0.04em;
}

.pickup-desc {
  margin: 8px 0 10px;
  color: var(--desc-text);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.01em;
}

.pickup-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin: 0 0 13px;
  padding: 0;
  list-style: none;
}

.pickup-specs li {
  padding: 3px 6px;
  border-radius: 4px;
  background: var(--chip-bg);
  color: var(--chip-text);
  font-size: 8px;
  line-height: 1.2;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.pickup-button {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: auto;
  min-height: 32px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent-grad-1), var(--accent-grad-2));
  color: #fff;
  font-size: 10.5px;
  letter-spacing: 0.06em;
  box-shadow: 0 3px 8px var(--btn-shadow);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.pickup-button::after {
  content: "";
  position: absolute;
  right: 14px;
  width: 5px;
  height: 5px;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  transform: rotate(45deg);
}

.pickup-button:hover,
.pickup-button:active {
  opacity: 0.9;
  transform: translateY(1px);
}

.benefit-section {
  padding: 28px 10px 30px;
  background: #fffdfc;
}

.benefit-title {
  margin-bottom: 22px;
}

.benefit-title h2 {
  letter-spacing: 0.22em;
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
}

.benefit-item {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: center;
  padding: 13px 4px 16px;
  border: 1px solid #f1e2e0;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 4px 12px rgba(150, 96, 88, 0.06);
  text-align: center;
}

.benefit-label {
  position: relative;
  margin: 0 0 6px;
  padding-bottom: 7px;
  color: #5c413c;
  font-size: 9px;
  letter-spacing: 0;
  white-space: nowrap;
}

.benefit-label::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: #e3a7af;
  transform: translateX(-50%);
}

.benefit-icon {
  display: grid;
  place-items: center;
  min-width: 0;
  width: 100%;
  height: 56px;
  margin-bottom: 8px;
  overflow: hidden;
}

.benefit-icon img {
  width: auto;
  height: 50px;
  max-width: 100%;
  object-fit: contain;
}

.benefit-value {
  margin: 0;
  color: #4a302b;
  font-size: 11px;
  line-height: 1.45;
  letter-spacing: 0.01em;
}

.benefit-value strong {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0;
}

.benefit-value-accent {
  margin-top: 4px;
  color: #db7f8e;
  font-size: 14px;
  font-weight: 700;
}

.review-section {
  padding: 28px 0 30px;
  background: #fff;
}

.review-title {
  margin-bottom: 20px;
  padding: 0 14px;
}

.review-slider {
  position: relative;
}

.review-track {
  display: flex;
  gap: 12px;
  padding: 4px 14px 10px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-left: 14px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.review-track::-webkit-scrollbar {
  display: none;
}

.review-card {
  flex: 0 0 min(220px, 74%);
  scroll-snap-align: start;
  border: 1px solid #f1e2e0;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 6px 16px rgba(150, 96, 88, 0.08);
  overflow: hidden;
}

.review-thumb {
  /* 1:1 to match the supplied square review photos (1254x1254) — no cropping,
     and every card's thumb is the same height so all three rows align. */
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.review-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.review-name {
  margin: 11px 11px 8px;
  color: #432723;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.45;
}

.review-rating {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0 11px 9px;
}

.review-stars {
  letter-spacing: 1px;
  font-size: 13px;
}

.review-stars i {
  font-style: normal;
  color: #e2d3d1;
}

.review-stars i.on {
  color: #ef9aa6;
}

.review-score {
  color: #b07b7f;
  font-size: 12px;
  font-weight: 600;
}

.review-user {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0 11px 13px;
}

.review-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #fbeef0;
  overflow: hidden;
}

.review-user p {
  margin: 0;
  color: #6a4b46;
  font-size: 11px;
  line-height: 1.4;
}

.review-arrow {
  position: absolute;
  top: 42%;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 1px solid #f0dcdc;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 3px 8px rgba(150, 96, 88, 0.16);
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.review-arrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-top: 1.6px solid #c98a93;
  border-right: 1.6px solid #c98a93;
}

.review-prev {
  left: 4px;
}

.review-prev::before {
  transform: rotate(-135deg);
  margin-left: 3px;
}

.review-next {
  right: 4px;
}

.review-next::before {
  transform: rotate(45deg);
  margin-right: 3px;
}

.review-arrow:disabled {
  opacity: 0.35;
  cursor: default;
}

.review-more {
  display: flex;
  align-items: center;
  justify-content: center;
  width: calc(100% - 28px);
  margin: 16px 14px 0;
  min-height: 40px;
  border: 1px solid #e0b8bc;
  border-radius: 999px;
  background: #fff;
  color: #5c3e39;
  font-size: 12px;
  letter-spacing: 0.06em;
}

.review-more::after {
  content: "";
  width: 6px;
  height: 6px;
  margin-left: 10px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: rotate(45deg);
}

.contact-search {
  padding: 22px 10px 24px;
  background:
    linear-gradient(90deg, rgba(250, 242, 240, 0.8), #fff 18%, #fff 82%, rgba(250, 242, 240, 0.8));
}

.search-title {
  margin-bottom: 14px;
}

.search-button-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.search-button-grid a {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px 0 12px;
  border: 1px solid #d9b7b4;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.72);
  color: #5c4641;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-align: center;
}

.search-button-grid a::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 12px;
  width: 6px;
  height: 6px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: translateY(-50%) rotate(45deg);
}

.image-search-title {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  margin: 14px 0 12px;
  background: linear-gradient(90deg, #c79d99, #dfa2ab);
  color: #fff;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-align: center;
}

.image-search-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.image-search-grid a {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 5px;
}

/* 2026-09 指示: ラベルは画像に焼き込まず、写真＋HTMLテキストで重ねる
   （英語表記削除・「ナチュラル」への変更など文言修正がHTML1行で済むように）。 */
.image-search-grid a::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(70, 40, 38, 0.32), rgba(70, 40, 38, 0) 55%);
  pointer-events: none;
}

.image-search-label {
  position: absolute;
  left: 10px;
  bottom: 12px;
  color: #fff;
  font-size: 19px;
  letter-spacing: 0.04em;
  line-height: 1.1;
  white-space: nowrap;
  text-shadow: 0 1px 6px rgba(60, 30, 30, 0.28);
}

.image-search-check {
  position: absolute;
  right: 8px;
  bottom: 10px;
  color: #fff;
  font-family: "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-shadow: 0 1px 4px rgba(60, 30, 30, 0.3);
}

.image-search-grid img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1672 / 941;
  object-fit: cover;
  transition: transform 0.25s ease;
}

.image-search-grid a:hover img,
.image-search-grid a:active img {
  transform: scale(1.025);
}

.ranking-section {
  padding: 28px 10px 26px;
  background:
    linear-gradient(90deg, rgba(250, 242, 240, 0.9), #fff 18%, #fff 82%, rgba(250, 242, 240, 0.9));
}

.ranking-title {
  margin-bottom: 12px;
}

.ranking-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 0 0 4px;
}

.ranking-tabs button {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  height: 42px;
  padding: 0 6px;
  border: 1px solid #eed3d1;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.82);
  color: #563c38;
  cursor: pointer;
  font-size: 14px;
  line-height: 1;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.ranking-tabs button.is-active {
  border-color: #df9aa2;
  background: linear-gradient(135deg, #e39ba7, #d87e8f);
  color: #fff;
}

.ranking-panel {
  padding-top: 4px;
}

.ranking-panel[hidden] {
  display: none;
}

.ranking-grid {
  /* 5 items: 3 cards on the top row (2 tracks each), 2 wider cards on the
     bottom row (3 tracks each). */
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
}

.ranking-card {
  grid-column: span 2;
  min-width: 0;
  overflow: hidden;
  border: 1px solid #efd0cc;
  border-radius: 6px;
  background: #fff;
}

.ranking-card:nth-child(n + 4) {
  grid-column: span 3;
}

.ranking-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.rank-no {
  margin: 5px 0 3px;
  color: #df8293;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 21px;
  line-height: 1;
  text-align: center;
}

.ranking-thumb {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1 / 1;
  margin: 0 5px;
  overflow: hidden;
  border-radius: 4px;
  background:
    linear-gradient(135deg, #fff4f4, #f5e8e5),
    repeating-linear-gradient(45deg, transparent 0 8px, rgba(216, 126, 143, 0.08) 8px 16px);
}

.ranking-thumb::before {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px dashed rgba(205, 144, 148, 0.56);
  border-radius: 4px;
}

.ranking-thumb:has(img)::before {
  display: none;
}

.ranking-thumb img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ranking-thumb span {
  position: relative;
  z-index: 1;
  color: #bc7b83;
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  font-size: 10px;
}

.ranking-body {
  padding: 6px 8px 9px;
}

.brand-name {
  margin: 0 0 2px;
  color: #6b504b;
  font-size: 10px;
  line-height: 1.35;
}

.ranking-body h3 {
  /* Two-line height so the period/price rows start at the same y across the
     row (single-line names reserve the 2nd line). */
  min-height: 28px;
  margin: 0 0 4px;
  color: #46302c;
  font-size: 10px;
  font-weight: 500;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.period {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  height: 18px;
  margin: 0 0 6px;
  border: 1px solid #e8919b;
  border-radius: 999px;
  color: #df8293;
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  font-size: 10px;
  font-weight: 700;
}

.price {
  margin: 0;
  color: #df8293;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 17px;
  line-height: 1;
}

.ranking-more {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 38px;
  margin-top: 14px;
  border: 1px solid #e7bdbb;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.7);
  color: #5c3e39;
  font-size: 12px;
  letter-spacing: 0.08em;
}

.ranking-more::after {
  content: "";
  width: 7px;
  height: 7px;
  margin-left: 10px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: rotate(45deg);
}

.news-section,
.brand-lineup,
.welcome-guide,
.calendar-section {
  padding: 22px 14px 0;
  background: #fff;
}

.section-title {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.section-title span {
  height: 1px;
  background: #8d665e;
  opacity: 0.56;
}

.section-title h2 {
  margin: 0;
  color: #432723;
  font-size: 19px;
  font-weight: 500;
  text-align: center;
  white-space: nowrap;
}

.section-title small {
  display: block;
  margin-top: 4px;
  color: #dc8594;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 10px;
  font-weight: 600;
}

.news-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid #e7dfdd;
}

.news-list li {
  padding: 10px 0;
  border-bottom: 1px solid #e7dfdd;
}

.news-list time {
  display: block;
  margin-bottom: 3px;
  color: #6e5a56;
  font-family: Arial, sans-serif;
  font-size: 10px;
}

.news-list a {
  display: block;
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.45;
}

.brand-lineup {
  padding-top: 34px;
}

.brand-title {
  margin-bottom: 14px;
}

.brand-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px;
  width: min(100%, 324px);
  margin: 0 auto;
}

.brand-grid a {
  overflow: hidden;
  background: #fbf7f4;
}

.brand-grid img {
  width: 100%;
  transition: transform 0.3s ease;
}

.brand-grid a:active img,
.brand-grid a:hover img {
  transform: scale(1.025);
}

.guide-title {
  margin-top: 18px;
}

.guide-accordion {
  display: grid;
  gap: 8px;
}

.guide-item {
  overflow: hidden;
  border: 1px solid #f0bec9;
  border-radius: 5px;
  background: #fff;
}

.guide-button {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 42px;
  padding: 0 16px 0 42px;
  border: 0;
  background: #fff;
  cursor: pointer;
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  font-size: 12px;
}

.guide-button::before {
  content: "!";
  position: absolute;
  left: 14px;
  display: grid;
  place-items: center;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: #ef8197;
  color: #fff;
  font-family: Arial, sans-serif;
  font-size: 11px;
  font-weight: 700;
}

.guide-button span,
.footer-item button span {
  position: relative;
  width: 11px;
  height: 11px;
  color: transparent;
}

.guide-button span::after,
.footer-item button span::after {
  content: "";
  position: absolute;
  inset: 0;
  width: 7px;
  height: 7px;
  margin: auto;
  border-right: 2px solid #ef8197;
  border-bottom: 2px solid #ef8197;
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}

.guide-item.is-open .guide-button span::after,
.footer-item.is-open button span::after {
  transform: rotate(225deg);
}

.guide-content {
  display: none;
  align-items: center;
  gap: 16px;
  padding: 18px 20px 20px;
  border-top: 1px solid #f8e2e6;
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
}

.guide-item.is-open .guide-content {
  display: flex;
}

.guide-content p {
  margin: 0;
  color: #655754;
  font-size: 10px;
  line-height: 1.8;
}

.guide-icon {
  flex: 0 0 54px;
}

.guide-icon svg {
  width: 54px;
  height: 54px;
  fill: none;
  stroke: #ff91a6;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.guide-note {
  margin: 18px 0 0;
  color: #e6788d;
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  font-size: 10px;
  text-align: center;
}

.calendar-section {
  padding-top: 30px;
  padding-bottom: 28px;
  text-align: center;
}

.calendar-section h2 {
  margin: 0;
  color: #3f312d;
  font-size: 25px;
  font-weight: 500;
}

.calendar-section > p {
  margin: 8px 0 14px;
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  font-size: 10px;
  font-weight: 700;
}

.calendar-wrap {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  max-width: 300px;
  margin: 0 auto;
}

.lp .month h3 {
  margin: 0 0 4px;
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  font-size: 10px;
}

.lp .month table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  font-family: Arial, sans-serif;
  font-size: 9px;
  background: #fff;
}

.lp .month th,
.lp .month td {
  width: 14.285%;
  height: 17px;
  border: 1px solid #9e9e9e;
  text-align: center;
  vertical-align: middle;
}

.lp .month th {
  color: #fff;
  background: #555;
  font-weight: 700;
}

.lp .month th:first-child {
  color: #ffb9c3;
}

.lp .month th:last-child {
  color: #99c5e9;
}

.lp .month td.closed {
  background: #ff98a9;
}

.calendar-legend {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  font-size: 9px;
}

.calendar-legend li {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.calendar-legend span {
  width: 24px;
  height: 7px;
  display: inline-block;
}

.calendar-legend .closed {
  background: #ff98a9;
}

.calendar-legend .shipping {
  background: #75afe6;
}

.page-footer {
  color: #ddd;
  background: #000;
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
}

.page-footer > h2 {
  margin: 0;
  padding: 8px 10px;
  background: #222;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
}

.footer-inner {
  padding: 16px 28px 30px;
}

.footer-item {
  margin-top: 8px;
}

.footer-item button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 28px;
  padding: 0 10px;
  border: 0;
  background: #303030;
  color: #eee;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  text-align: left;
}

.footer-item div {
  display: none;
  padding: 10px;
  background: #0b0b0b;
  line-height: 1.75;
}

.footer-item.is-open div {
  display: block;
}

.footer-item p,
.footer-small,
.lp .copyright {
  margin: 0;
  font-size: 10px;
}

.footer-small {
  padding: 12px 0 22px;
}

.page-footer a {
  color: #ff52c6;
}

.footer-logo {
  display: flex;
  justify-content: center;
  margin: 8px 0 18px;
}

.footer-logo img {
  width: 132px;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 28px;
  margin-bottom: 18px;
}

.social-links img {
  width: 46px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 7px 12px;
  margin-bottom: 12px;
  font-size: 10px;
  font-weight: 700;
}

.lp .copyright {
  padding-top: 4px;
  color: #ccc;
  text-align: center;
}

@media (min-width: 560px) {
  .lp {
    margin-top: 20px;
    margin-bottom: 20px;
    border-radius: 8px;
  }
}
