:root {
  --color-yamaha-violet: #4B1E78;
  --color-bright-violet: #7B47D2;
  --color-bright-violet-80: #956CDB;
  --color-light-violet-40: #EFDBF7;
  --color-dark-violet: #26193A;
  --color-light-gray-80: #A3A3A3;
}


/* ============================
   Section Header (共通)
   カラーバー + 紫タイトル帯
   ============================ */

.section-header {
  width: 100%;
}

.color-bar {
  width: 100%;
  height: 10px;
  object-fit: cover;
  object-position: top;
  display: block;
}

.section-header__title {
  background-color: var(--color-yamaha-violet);
  color: #fff;
  font-size: 24px;
  font-weight: 700;
  padding: 16px 24px;
  text-align: center;
  margin: 0;
}


/* ============================
   CTAバナー テキストラベル
   ============================ */

.cta-banner__label {
  white-space: nowrap;
}

/* ============================
   Shared: btn-icon / step-link / FA アイコンサイズ
   ============================ */

.btn-icon {
  display: inline-flex;
  align-items: center;
  margin-left: 8px;
  flex-shrink: 0;
}

.step-link-item {
  display: flex;
  align-items: center;
  gap: 4px;
}

.step-link-item .fa {
  font-size: 30px;
  color: var(--color-bright-violet);
  -webkit-text-stroke: 0.5px var(--color-bright-violet);
  flex-shrink: 0;
}

.step-link {
  font-size: 18px;
  color: #333333;
  text-decoration: underline;
  transition: opacity 0.3s ease;
}

.step-link:hover {
  opacity: 0.7;
}

.text-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 12px;
}

.btn-step .fa,
.btn-cta .fa,
.btn-final .fa {
  font-size: 24px;
}

/* ============================
   MV セクション
   ============================ */

.section-mv {
  width: 100%;
}

.img-mv {
  width: 100%;
  max-width: 1200px;
  height: auto;
  display: block;
}

/* ============================
   Intro セクション
   ============================ */

.section-intro {
  padding: 48px 24px;
}

.intro-layout {
  display: flex;
  gap: 60px;
  align-items: flex-start;
}

.intro-text {
  flex: 1;
}

.intro-heading {
  font-size: 28px;
  font-weight: 700;
  color: var(--color-yamaha-violet);
  line-height: 1.4;
  margin-bottom: 20px;
}

.intro-body {
  font-size: 20px;
  line-height: 1.6;
  color: var(--color-dark-violet);
  margin-bottom: 16px;
}

.intro-body:last-child {
  margin-bottom: 0;
}

.intro-present {
  flex-shrink: 0;
  width: 280px;
}

.intro-present img {
  width: 100%;
  max-width: 280px;
  height: auto;
}

/* ============================
   Period (開催期間) セクション
   ============================ */

.section-period {
  border-top: 1px solid #e5e5e5;
}

.period-list {
  display: flex;
  padding: 32px 24px;
}

.period-item {
  flex: 1;
  padding: 0 40px;
  border-right: 1px solid var(--color-bright-violet-80);
}

.period-item:first-child {
  padding-left: 0;
}

.period-item--last {
  border-right: none;
  padding-right: 0;
}

.period-item__top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 4px;
}

.period-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100px;
  padding: 2px 0;
  border-radius: 30px;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  background-color: var(--color-light-gray-80);
  flex-shrink: 0;
}

.period-item.active .period-badge {
  background-color: var(--color-yamaha-violet);
}

.period-status {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-yamaha-violet);
}

.period-date {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--color-light-gray-80);
}

.period-item.active .period-date {
  color: var(--color-yamaha-violet);
}

.period-note {
  padding: 30px 24px 32px;
  font-size: 15px;
  line-height: 1.6;
  color: #333333;
  border-top: 1px solid var(--color-bright-violet-80);
  text-align: center;
}

.period-note__title {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-yamaha-violet);
  margin-bottom: 10px;
}

.period-note p + p {
  margin-top: 6px;
}

/* ============================
   Howto (参加方法) セクション
   ============================ */

.howto-content {
  background-color: var(--color-bright-violet);
  color: #fff;
  padding: 40px 30px;
}

.howto-lead {
  max-width: 1140px;
  margin: 0 auto 36px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.6;
  text-align: center;
}

/* Step List */

.step-list-wrapper {
  max-width: 1140px;
  margin: 0 auto;
}

.step-list {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
  align-items: stretch;
}

.step-card {
  flex: 1;
  background-color: #fff;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}

.step-label {
  width: 100%;
  max-width: 67px;
  height: auto;
  display: block;
}

.step-text {
  font-size: 18px;
  line-height: 1.4;
  color: var(--color-yamaha-violet);
}

.step-img {
  width: 100%;
  max-width: 312px;
  height: auto;
}

.step-links {
  display: flex;
  flex-direction: column;
  gap: 5px;
  align-self: stretch;
  text-align: left;
}

.step-btns {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-self: stretch;
  margin-top: auto;
}

.btn-step {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 280px;
  height: 50px;
  margin: 0 auto;
  padding: 0 20px;
  border: none;
  border-radius: 8px;
  background-color: var(--color-yamaha-violet);
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.btn-step:hover {
  opacity: 0.7;
  color: #fff;
  text-decoration: none;
}

/* Prize Box */

.prize-box {
  background-color: #fff;
  border-top: 5px solid var(--color-yamaha-violet);
  border-radius: 0;
  padding: 40px;
  color: #333333;
}

.prize-section {
  padding-bottom: 24px;
  margin-bottom: 24px;
  border-bottom: 1px solid #e5e5e5;
}

.prize-section:last-child {
  padding-bottom: 0;
  margin-bottom: 0;
  border-bottom: none;
}

.prize-row {
  display: flex;
  align-items: center;
  gap: 17px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.prize-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-yamaha-violet);
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: 30px;
  white-space: nowrap;
  flex-shrink: 0;
}

.prize-title {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.4;
  color: #000;
}

.prize-note {
  font-size: 16px;
  color: #333333;
  margin-top: 8px;
  line-height: 1.5;
}

.prize-lottery {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.prize-lottery__text {
  flex: 1;
}

.prize-products {
  position: relative;
  width: 340px;
  height: 186px;
  flex-shrink: 0;
}

.prize-product {
  height: auto;
}

.prize-product--speaker {
  position: absolute;
  width: 154px;
  top: 7px;
  left: 0;
}

.prize-product--headphone {
  position: absolute;
  width: 186px;
  top: 0;
  left: 154px;
}

/* ============================
   CTA バナー
   ============================ */

.cta-banner {
  background-color: var(--color-light-violet-40);
  padding: 40px 24px;
  text-align: center;
  border-radius: 8px;
}

/* 各セクション固有のCTAバナー余白（セクションクラスから子要素を指定） */
.section-howto .cta-banner {
  margin-top: 20px;
  margin-bottom: 60px;
}

.section-overview .cta-banner {
  margin-top: 30px;
  margin-bottom: 60px;
}

.cta-banner__text {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-yamaha-violet);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  line-height: 1.5;
  flex-wrap: nowrap;
}

.cta-bracket {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.cta-bracket--right svg {
  transform: scaleX(-1);
}

.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 320px;
  height: 60px;
  padding: 0 20px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.btn-cta--outline {
  background-color: #fff;
  border: 2px solid var(--color-yamaha-violet);
  color: var(--color-yamaha-violet);
}

.btn-cta--outline:hover,
.btn-cta--outline:focus {
  background-color: var(--color-yamaha-violet);
  color: #fff;
  text-decoration: none;
}

/* ============================
   Overview (キャンペーン概要) セクション
   ============================ */

.overview-content {
  padding: 32px 0 40px;
  font-size: 18px;
  line-height: 1.6;
}

/* ============================
   Terms (応募規約) セクション
   ============================ */

.section-inquiry {
  padding-bottom: 24px;
  font-size: 18px;
  line-height: 1.8;
}

.terms-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background-color: var(--color-yamaha-violet);
  color: #fff;
  padding: 16px 40px;
  border-radius: 8px;
  border: none;
  text-align: left;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.terms-header:hover {
  opacity: 0.9;
}

.terms-header__title {
  font-size: 24px;
  font-weight: 700;
}

.terms-header .fa-angle-down {
  font-size: 24px;
  transition: transform 0.35s ease;
  transform: rotate(180deg);
}

.terms-header.collapsed .fa-angle-down {
  transform: rotate(0deg);
}

.terms-content {
  padding: 32px 40px;
  font-size: 18px;
  line-height: 1.8;
}


/* ============================
   Text Block (共通)
   ============================ */

.text-block {
  margin-bottom: 32px;
}

.text-block:last-child {
  margin-bottom: 0;
}

.text-block p + p {
  margin-top: 8px;
}

.text-block ul {
  margin: 8px 0;
}

.text-block--bordered {
  border-top: 1px solid #CCCCCC;
  padding-top: 28px;
  margin-top: 32px;
}

.text-heading {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-yamaha-violet);
  margin-bottom: 12px;
}

.text-warning {
  font-size: 18px;
  color: var(--color-bright-violet);
  font-weight: 700;
  margin-bottom: 8px;
}

/* ============================
   Final CTA セクション
   ============================ */

.section-final-cta {
  display: flex;
  gap: 20px;
  justify-content: center;
  align-items: center;
  padding: 48px 24px;
  flex-wrap: wrap;
}

.btn-final {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 320px;
  height: 60px;
  padding: 0 20px;
  background-color: var(--color-yamaha-violet);
  border: 2px solid var(--color-yamaha-violet);
  color: #fff;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.btn-final:hover,
.btn-final:focus {
  background-color: #fff;
  color: var(--color-yamaha-violet);
  text-decoration: none;
}

/* ============================
   Responsive: SP (～767px)
   ============================ */

@media screen and (max-width: 767px) {

  body {
    font-size: 15px;
  }

  .section-header__title {
    font-size: 18px;
    padding: 12px 16px;
  }

  /* Intro */
  .section-intro {
    padding: 32px 16px;
  }

  .intro-layout {
    flex-direction: column;
    gap: 28px;
  }

  .intro-heading {
    font-size: 20px;
  }

  .intro-body {
    font-size: 16px;
  }

  .intro-present {
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .intro-present img {
    margin: 0 auto;
  }

  /* Period */
  .period-list {
    flex-direction: column;
    padding: 24px 16px;
    gap: 0;
  }

  .period-item {
    border-right: none;
    border-bottom: 1px solid var(--color-bright-violet-80);
    padding: 0 0 24px 0;
    margin-bottom: 24px;
  }

  .period-item:first-child {
    padding-left: 0;
  }

  .period-item--last {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
  }

  .period-date {
    font-size: 22px;
  }

  .period-note {
    padding: 20px 16px 24px;
    text-align: left;
  }

  /* Howto */
  .howto-content {
    padding: 28px 16px;
  }

  .howto-lead {
    margin-bottom: 24px;
    text-align: left;
    font-size: 15px;
  }

  .step-list {
    flex-direction: column;
    gap: 16px;
    margin-bottom: 16px;
  }

  .step-card {
    padding: 20px 16px;
  }

  .step-img {
    max-width: 100%;
  }

  .step-text {
    font-size: 16px;
  }

  .step-links {
    align-self: stretch;
    text-align: left;
  }

  .step-btns {
    align-self: stretch;
  }

  .btn-step {
    max-width: 100%;
    font-size: 15px;
  }

  /* Prize */
  .prize-box {
    padding: 20px 16px;
  }

  .prize-lottery {
    flex-direction: column;
    gap: 20px;
  }

  .prize-products {
    position: static;
    width: 100%;
    height: auto;
    display: flex;
    gap: 12px;
    align-items: flex-end;
    justify-content: center;
  }

  .prize-product--speaker {
    position: static;
    width: 45%;
    max-width: 154px;
  }

  .prize-product--headphone {
    position: static;
    width: 55%;
    max-width: 186px;
  }

  .prize-title {
    font-size: 18px;
  }

  .prize-badge {
    font-size: 14px;
    padding: 6px 14px;
  }

  /* CTA Banner */
  .cta-banner {
    padding: 32px 16px;
  }

  .section-howto .cta-banner {
    margin-top: 20px;
    margin-bottom: 40px;
  }

  .section-overview .cta-banner {
    margin-top: 20px;
    margin-bottom: 40px;
  }

  .cta-banner__text {
    font-size: 15px;
    gap: 8px;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .btn-cta {
    max-width: 100%;
    font-size: 15px;
  }

  /* Overview */
  .overview-content {
    padding: 24px 0 32px;
    font-size: 15px;
  }

  .text-heading {
    font-size: 16px;
  }

  /* Terms */
  .section-terms {
    padding-bottom: 32px;
  }

  .terms-header {
    padding: 14px 16px;
  }

  .terms-header__title {
    font-size: 18px;
  }

  .terms-content {
    padding: 20px 16px;
    font-size: 15px;
  }

  .section-inquiry {
    padding: 0 0 20px;
    font-size: 15px;
  }

  /* CTAバナー SP: ラベルテキスト折り返し */
  .cta-banner__label {
    white-space: normal;
    flex: 1;
    text-align: center;
  }

  /* Final CTA */
  .section-final-cta {
    flex-direction: column;
    align-items: center;
    padding: 32px 16px;
    gap: 12px;
  }

  .btn-final {
    max-width: 100%;
    font-size: 15px;
  }
}

/* ============================
   Responsive: Tablet (768px～1199px)
   ============================ */

@media screen and (min-width: 768px) and (max-width: 1199px) {

  .section-intro {
    padding-inline: 20px;
  }

  .period-list,
  .period-note {
    padding-inline: 20px;
  }

  .howto-content {
    padding-inline: 20px;
  }

  .overview-content,
  .terms-content {
    padding-inline: 20px;
  }

  .terms-header {
    padding-inline: 20px;
  }

  .cta-banner {
    padding-inline: 20px;
  }

  .section-final-cta {
    padding-inline: 20px;
  }
}
