:root {
  --wine-light: #b70608;
  --wine-deep: #3d0810;
  --red: #a5191d;
  --gold: #c6b341;
  --gold-light: #eadb9c;
  --paper: #fbf7ec;
  --paper-white: #fffdf7;
  --ink: #332b24;
  --muted: #82785e;
  --line: #d9c77a;
  --serif: "Yu Mincho", YuMincho, "Hiragino Mincho ProN", "Noto Serif CJK JP", serif;
  --sans: "Yu Gothic", YuGothic, "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  line-height: 1.8;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
}

/* ヘッダー */
.hero {
  position: relative;
  z-index: 2;
  isolation: isolate;
  background-color: var(--paper);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  box-shadow:
    inset 25px 0 25px -18px #f4e4ce,
    inset -25px 0 25px -18px #f4e4ce;
}

.hero-picture {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
}

.hero-picture img {
  display: block;
  width: 100%;
  height: auto;
}

/* ヘッダーの特典バッジ */
.benefit-badge {
  position: absolute;
  z-index: 5;
  top: calc(100% - 250px);
  right: clamp(18px, 4.8vw, 92px);
  display: block;
  width: clamp(190px, 17vw, 315px);
  line-height: 0;
  transform-origin: 50% 50%;
  animation: badge-sway 5s ease-in-out infinite;
  transition: opacity 0.3s ease;
}

.benefit-badge img {
  display: block;
  width: 100%;
  height: auto;
}

.benefit-badge:hover {
  opacity: 0.72;
}

.benefit-badge[hidden] {
  display: none;
}

@keyframes badge-sway {
  0%,
  100% {
    transform: rotate(-3deg) translateY(0);
  }

  50% {
    transform: rotate(3deg) translateY(-8px);
  }
}

/* バッジ位置：中間幅 */
@media (max-width: 1589px) and (min-width: 876px) {
  .benefit-badge {
    top: calc(100% - 130px);
    right: clamp(12px, 3vw, 48px);
    width: clamp(160px, 17vw, 270px);
  }
}

@media (max-width: 875.99px) and (min-width: 621px) {
  .benefit-badge {
    top: calc(100% - 90px);
    right: clamp(12px, 3vw, 48px);
    width: clamp(160px, 17vw, 270px);
  }
}

.hero-divider {
  position: relative;
  z-index: 1;
  height: clamp(115px, 13vw, 230px);
  overflow: hidden;
}

.hero-divider img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: fill;
}

/* メイン */
.page-main {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin-top: -1px;
  padding: 0 0 100px;
  background-color: var(--paper);
}

.page-main::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  box-shadow:
    inset 25px 0 25px -18px #f4e4ce,
    inset -25px 0 25px -18px #f4e4ce,
    inset 0 -25px 25px -18px #f4e4ce;
}

.page-main > .section {
  position: relative;
  z-index: 1;
}

.content-wrap {
  width: min(1360px, calc(100% - 64px));
  margin-inline: auto;
}

.section {
  padding: 36px 0 84px;
}

/* セクション見出し */
.section-heading {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 118px;
  margin: 0 0 38px;
  text-align: center;
}

.section-heading h2 {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.35em;
  margin: 0;
  padding: 0 18px;
  color: var(--red);
  background: var(--paper);
  font: 700 clamp(30px, 3vw, 43px)/1.35 var(--serif);
  letter-spacing: 0.08em;
}

.section-heading h2 small {
  font-size: 0.58em;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.section-heading::before,
.section-heading::after {
  content: "";
  position: absolute;
  top: 50%;
  width: clamp(90px, 25vw, 360px);
  height: 100%;
  background-repeat: no-repeat;
  background-size: auto 100%;
  transform: translateY(-50%);
  pointer-events: none;
}

.section-heading::before {
  right: calc(50% + 190px);
  background-image: url("../images/section-heading-pattern-left.png");
  background-position: right center;
}

.section-heading::after {
  left: calc(50% + 190px);
  background-image: url("../images/section-heading-pattern-right.png");
  background-position: left center;
}

/* HTML内の左右装飾線はスマートフォン用 */
.section-heading__ornament {
  display: none;
}

.section-heading .en {
  position: absolute;
  top: calc(50% + 34px);
  left: 50%;
  padding: 0 10px;
  color: var(--muted);
  background: var(--paper);
  font: 10px/1.4 var(--sans);
  letter-spacing: 0.25em;
  transform: translateX(-50%);
}

/* アコーディオン共通 */
.accordion-list {
  display: grid;
  gap: 16px;
}

details.accordion {
  overflow: clip;
  background: rgba(255, 253, 247, 0.96);
  border: 1px solid var(--line);
  border-radius: 4px;
  box-shadow: 0 5px 14px rgba(85, 58, 20, 0.045);
}

details.accordion[open] {
  box-shadow: 0 9px 22px rgba(85, 58, 20, 0.075);
}

.accordion-panel {
  overflow: hidden;
}

details.accordion > summary {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 36px;
  align-items: center;
  gap: 16px;
  min-height: 92px;
  padding: 16px 28px;
  cursor: pointer;
  list-style: none;
  user-select: none;
}

details.accordion > summary::-webkit-details-marker {
  display: none;
}

details.accordion > summary:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: -4px;
}

/* 花アイコン */
.flower-mark {
  position: relative;
  display: block;
  width: 28px;
  height: 28px;
  margin: auto;
}

.flower-mark::before {
  content: "";
  display: block;
  width: 24px;
  height: 24px;
  background: url("../images/song-list-icon.png") center / contain no-repeat;
}

/* 収録曲 */
.disc-title {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 12px;
  font: 600 23px/1.3 var(--serif);
  letter-spacing: 0.08em;
}

.disc-title small {
  color: var(--muted);
  font: 10px/1 var(--sans);
  letter-spacing: 0.16em;
}

.track-panel {
  padding: 0 28px 20px 86px;
  border-top: 1px solid var(--line);
}

.track-list {
  margin: 0;
  padding: 13px 0 0;
  list-style: none;
  counter-reset: track;
}

.track-list li {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 14px;
  padding: 8px 0;
  border-bottom: 1px dotted #e7dfc8;
  font-size: 15px;
  counter-increment: track;
}

.track-list li:last-child {
  border-bottom: 0;
}

.track-list li::before {
  color: #a28b3c;
  font: 11px/1.8 var(--sans);
  content: counter(track, decimal-leading-zero);
}

/* インフォメーション */
details.accordion[data-exclusive-group="information"] > summary {
  grid-template-columns: minmax(0, 1fr) 36px;
}

.info-summary {
  display: grid;
  grid-template-columns: 42px 150px minmax(0, 1fr);
  align-items: center;
  gap: 16px;
}

.info-summary .flower-mark {
  width: 42px;
  height: 42px;
}

.info-summary .flower-mark::before {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: url("../images/info-list-icon.png") center / contain no-repeat;
}

.info-date {
  color: var(--red);
  font: 700 16px/1.3 var(--sans);
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.info-title {
  font: 600 19px/1.6 var(--serif);
}

.info-panel {
  padding: 2px 40px 26px 218px;
  border-top: 1px solid var(--line);
  color: #554b3b;
  font-size: 15px;
}

.info-panel p {
  margin: 18px 0 8px;
}

.info-panel a {
  color: #927322;
  font-size: 13px;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.info-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: 12px;
}

.placeholder-note {
  color: var(--muted);
}

.info-highlight {
  color: var(--red);
  font-size: clamp(1rem, 2.2vw, 1.25rem);
  font-weight: 700;
}

/* 限定特典情報 */
.benefits-section {
  padding-top: 18px;
}

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

.benefit-card {
  min-width: 0;
  overflow: hidden;
  background: var(--paper-white);
  border: 1px solid var(--gold);
  box-shadow: 0 8px 22px rgba(63, 20, 17, 0.07);
}

.benefit-card h3 {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 68px;
  margin: 0;
  padding: 16px 22px;
  color: #fff8e2;
  background: var(--wine-light);
  border-bottom: 2px solid var(--gold);
  font: 600 clamp(17px, 1.6vw, 22px)/1.4 var(--serif);
  letter-spacing: 0.04em;
}

.benefit-card h3::before {
  content: "✦";
  flex: 0 0 auto;
  color: #ecd879;
  font: 20px/1 var(--sans);
}

.benefit-content {
  display: grid;
  grid-template-columns: minmax(145px, 0.7fr) minmax(0, 1.3fr);
  align-items: center;
  gap: clamp(18px, 2.4vw, 32px);
  min-height: 300px;
  padding: clamp(18px, 2.5vw, 30px);
}

.stand-product {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  align-self: start;
  justify-self: center;
  gap: 12px;
  width: min(100%, 190px);
  min-width: 0;
}

.stand-product img {
  display: block;
  width: 100%;
  max-height: 240px;
  object-fit: contain;
}

/* 特典商品の説明 */
.benefit-offer {
  min-width: 0;
  padding: clamp(16px, 2vw, 24px);
  color: var(--ink);
  background: var(--paper-white);
  border: 1px solid var(--gold);
  line-height: 1.7;
}

.benefit-offer__release {
  display: inline-block;
  margin: 0 0 12px;
  padding: 4px 12px;
  color: #fff8e2;
  background: var(--wine-light);
  font-size: clamp(13px, 1.5vw, 16px);
  font-weight: 700;
  letter-spacing: 0.06em;
}

.benefit-offer__title {
  margin: 0 0 14px;
  color: var(--red);
  font-family: var(--serif);
  font-size: clamp(18px, 1.6vw, 20px);
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.benefit-offer__edition {
  margin: 0 0 16px;
  font-size: clamp(14px, 1.5vw, 17px);
  font-weight: 700;
}

.benefit-offer__edition span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.9em;
  font-weight: 500;
}

.benefit-offer__perk {
  margin: 0 0 10px;
  padding: 9px;
  color: var(--red);
  background: #fbf3d7;
  font-size: 16px;
  font-weight: 700;
}

.benefit-offer__perk span {
  margin-right: 6px;
  color: #bd8c16;
  font-size: 16px;
  font-weight: 400;
}

.benefit-offer__note {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: clamp(12px, 1.3vw, 14px);
  line-height: 1.7;
}

.benefit-offer__price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.benefit-offer__code {
  margin-right: auto;
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.04em;
}

.benefit-offer__amount {
  color: var(--red);
  font-size: clamp(18px, 1.8vw, 20px);
  font-weight: 800;
  line-height: 1.2;
  white-space: nowrap;
}

.benefit-offer__tax {
  color: var(--muted);
  font-size: clamp(11px, 1.2vw, 13px);
  white-space: nowrap;
}

/* 旧形式の説明文が残っている場合にも対応 */
.benefit-caption {
  min-width: 0;
  margin: 0;
  color: var(--ink);
  font-size: clamp(13px, 1.5vw, 16px);
  line-height: 1.8;
  white-space: pre-line;
  overflow-wrap: anywhere;
}

/* フッター */
.site-footer {
  padding: 30px 16px;
  color: #e8ddbd;
  background: var(--wine-deep);
  text-align: center;
  font-size: 11px;
  letter-spacing: 0.1em;
}

.noscript {
  margin: 20px;
  padding: 18px;
  background: var(--paper-white);
  border: 1px solid var(--gold);
}

/* タブレット */
@media (max-width: 900px) {
  .content-wrap {
    width: min(100% - 40px, 720px);
  }

  .section {
    padding-bottom: 62px;
  }

  .benefit-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .benefit-card h3 {
    min-height: 64px;
    padding: 15px 18px;
    font-size: 19px;
  }

  .benefit-content {
    grid-template-columns: minmax(160px, 0.65fr) minmax(0, 1.35fr);
    min-height: 280px;
  }

  .stand-product {
    width: min(100%, 180px);
  }

  .info-panel {
    padding-left: 190px;
  }
}

/* スマートフォン */
@media (max-width: 620px) {
  .hero-divider {
    height: 105px;
  }

  .benefit-badge {
    top: calc(100% - 110px);
    right: 10px;
    width: 142px;
  }

  .content-wrap {
    width: calc(100% - 28px);
  }

  .section {
    padding: 92px 0 50px;
  }

  /* 見出し装飾を左右の線に切り替え */
  .section-heading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 88px;
  }

  .section-heading::before,
  .section-heading::after {
    content: none;
  }

  .section-heading__ornament {
    display: block;
    flex: 1 1 0;
    min-width: 8px;
    height: 1px;
    background: #a77b3b;
  }

  .section-heading h2 {
    flex: 0 0 auto;
    margin: 0;
    padding: 0 4px;
    font-size: clamp(20px, 5.5vw, 28px);
    white-space: nowrap;
  }

  .section-heading h2 small {
    font-size: 0.5em;
  }

  .section-heading .en {
    top: calc(50% + 25px);
    font-size: 8px;
  }

  .accordion-list {
    gap: 11px;
  }

  details.accordion > summary {
    grid-template-columns: 28px minmax(0, 1fr) 30px;
    gap: 10px;
    min-height: 74px;
    padding: 13px 12px;
  }

  .flower-mark {
    width: 23px;
    height: 23px;
  }

  .flower-mark::before {
    width: 23px;
    height: 23px;
  }

  .disc-title {
    gap: 7px;
    font-size: 19px;
  }

  .disc-title small {
    font-size: 8px;
  }

  details.accordion[data-exclusive-group="information"] > summary {
    grid-template-columns: minmax(0, 1fr) 30px;
  }

  .info-summary {
    grid-template-columns: 28px minmax(72px, auto) minmax(0, 1fr);
    gap: 8px;
  }

  .info-summary .flower-mark {
    width: 28px;
    height: 28px;
  }

  .info-date {
    font-size: 12px;
  }

  .info-title {
    font-size: 14px;
  }

  .toggle-icon {
    width: 26px;
    height: 26px;
  }

  .toggle-icon::before,
  .toggle-icon::after {
    top: 12px;
    right: 7px;
    left: 7px;
  }

  .track-panel {
    padding: 0 14px 14px 50px;
  }

  .track-list li {
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 8px;
    padding: 7px 0;
    font-size: 13px;
  }

  .info-panel {
    padding: 2px 16px 18px 50px;
    font-size: 13px;
  }

  .info-panel p {
    margin-top: 13px;
  }

  .benefits-section {
    padding-top: 28px;
  }

  .benefit-grid {
    gap: 18px;
  }

  .benefit-card h3 {
    min-height: 60px;
    padding: 14px 16px;
    font-size: 18px;
  }

  /* スマホではカード内を画像、説明文の順に縦並び */
  .benefit-content {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
    min-height: 0;
    padding: 20px 16px;
  }

  .stand-product {
    width: min(100%, 190px);
  }

  .stand-product img {
    max-height: 230px;
  }

  /* イベント限定盤の2画像だけ横並び */
  .benefit-card--event .stand-product {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: 12px;
    width: 100%;
  }

  .benefit-card--event .stand-product img {
    width: 100%;
    max-height: 220px;
    height: auto;
    justify-self: center;
    object-fit: contain;
  }

  .benefit-offer {
    padding: 16px;
  }

  .benefit-offer__title {
    font-size: clamp(20px, 6vw, 26px);
  }

  .benefit-offer__price {
    gap: 6px 10px;
  }

  .benefit-offer__code {
    flex-basis: 100%;
  }

  .benefit-offer__tax {
    white-space: normal;
  }

  .benefit-caption {
    font-size: 13px;
  }

  .site-footer {
    padding: 24px 12px;
  }
}

/* 小さなスマートフォン */
@media (max-width: 380px) {
  .benefit-content {
    padding-inline: 13px;
  }
}

/* 動きを抑えるOS設定に対応 */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
  }

  .benefit-badge {
    animation: none;
  }
}

@media (max-width: 620px) {
  .stand-product--pair {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: 12px;
    width: 100%;
  }

  .stand-product--pair img {
    width: 100%;
    height: auto;
    max-height: 220px;
    object-fit: contain;
  }
}