/* リセットとベーススタイル */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --font-size-h2-en: clamp(2.313rem, 1.069rem + 4.98vw, 4.25rem);
  --font-light: 300;
  --font-normal: 400;
  --font-medium: 500;
  --font-semibold: 600;
  --font-bold: 700;
  --font-black: 800;
  --font-en: "skolar-sans-latin-compressed", sans-serif;
  --font-title: "Zen Maru Gothic", sans-serif;
  --font-ja: "Zen Kaku Gothic New", sans-serif;
  --color-text: #231815;
  --color-gold: #c09b36;
  --color-gold-light: #c7a035;
  --color-gold-line: #d3bb7e;
  --color-bg-period: #e2cf99;
  --color-bg-white: #fffcf4;
  --color-bg-black: #392d2f;
  --color-primary: #807878;
  --color-accent: #EFA046;
  --color-bg-gray: #F9F8F8;
  --color-border: #B6B1B1;
  --color-border-img: #ECEAEA;
  --color-border-title: #FCC800;
  --color-red: #E8380D;
  --color-orange: #ED6D35;
  --space-side: 12px;
  --space-inner-side: 8px;
  --height-footer-gnavi: 95px;
  --size-btn-scrolltop: clamp(3.125rem, 1.484rem + 7.5vw, 5rem);
  --hover-animation: .4s cubic-bezier(.25, .46, .45, .94);
  --hover-opacity: 70%;
  --hover-color: #8D8686;
  --border-radius: 10px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-ja);
  font-weight: 500;
  line-height: 1.6;
  color: var(--color-text);
}

img {
  max-width: 100%;
  height: auto;
}

@media (width <= 768px) {
  .pc-only {
    display: none;
  }
}



/* ヘッダーセクション */
.header {
  position: relative;
  overflow: hidden;
  padding: 85px 20px;
  background-color: var(--color-gold);
  /* background: linear-gradient(135deg, #8B6914 0%, #A0822D 100%); */
}

/* .header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
      45deg,
        transparent,
        transparent 10px,
        rgba(212, 175, 55, 0.1) 10px,
        rgba(212, 175, 55, 0.1) 20px
    );
    pointer-events: none;
} */

.header-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

.title-box {
  position: relative;
  text-align: center;
  /* padding: 40px 30px; */
  /* border: 4px solid #D4AF37; */
  /* background-color: #FDFBF5; */
  /* box-shadow: 
        0 0 0 2px #8B6914,
        0 0 20px rgba(212, 175, 55, 0.3),
        inset 0 0 20px rgba(212, 175, 55, 0.1); */
}


/* アールデコ調の装飾 */
/* .title-box::before,
.title-box::after {
  content: '';
  position: absolute;
  width: 30px;
    height: 30px;
    border: 3px solid #D4AF37;
    }

    .title-box::before {
  top: -15px;
  left: -15px;
    border-right: none;
    border-bottom: none;
    }

    .title-box::after {
    bottom: -15px;
    right: -15px;
    border-left: none;
    border-top: none;
    }
    
    .premium-text {
    font-size: 1.5rem; /* 24px /
    font-weight: bold;
    color: #D4AF37;
    letter-spacing: 0.2em;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.main-title {
  font-size: 2rem; /* 32px /
    font-weight: bold;
    color: #8B6914;
    margin: 20px 0;
    line-height: 1.4;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.subtitle {
  font-size: 1.125rem; /* 18px /
    color: #2C2416;
    margin-top: 15px;
    } */

    
/* 特典セクション */
.benefits-section {
  padding: 150px 20px 100px;
  background-color: var(--color-bg-black);
}

.benefits-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 800px;
  margin: 0 auto;
}

.benefit-card {
  position: relative;
  width: 800px;
  margin-bottom: 120px;
  padding: 30px;
  text-align: center;
  color: #fff;
  border: 3px solid #fff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.benefit-card:nth-child(n + 3) {
  width: 380px;
  max-width: 48%;
}

.benefit-header {
  display: flex;
  align-items: center;
  width: 110px;
  margin: -80px auto 20px;
  padding-inline: 20px;
  background-color: var(--color-bg-black);
}
.crown-icon {
  font-size: 1.75rem; /* 28px */
  filter: drop-shadow(2px 2px 4px rgba(212, 175, 55, 0.5));
}

.benefit-number {
  font-size: 2rem; /* 32px */
  font-weight: bold;
  color: #D4AF37;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.benefit-title {
  margin-bottom: 10px;
  font-family: var(--font-title);
  font-size: 2.5rem; /* 40px */
  font-weight: var(--font-bold);
  line-height: 1.4;
}

.benefit-description {
  margin-block: 30px;
  font-family: var(--font-title);
  font-size: 1.25rem; /* 20px */
  font-weight: var(--font-bold);
  line-height: 2;
}

.benefit-period, .benefit-detail {
  display: flex;
  align-items: center;
  width: fit-content;
  height: 48px;
  margin: 8px auto 0;
  font-size: 1.125rem; /* 18px */
}

.benefit-period > span,
.benefit-detail > span {
  display: inline-flex;
  align-items: center;
  height: 48px;
  padding: 10px;
  text-align: center;
  line-height: 48px;
  color: var(--color-bg-black);
  background-color: var(--color-bg-period);
}

.benefit-period span:has(+ span),
.benefit-detail span:has(+ span) {
  padding-inline: 16px;
}

.benefit-detail span:has(+ span) {
  width: 250px;
}

.benefit-period span + span,
.benefit-detail span + span {
  margin-left: 6px;
  font-size: 1.25rem; /* 20px */
  font-weight: var(--font-bold);
}

.benefit-detail span + span {
  width: 161px;
}

.benefit-period .date,
.benefit-detail .date {
  margin-left: 4px;
  padding: 0;
  font-size: 1.5rem; /* 24px */
}

.benefit-note {
  margin-top: 20px;
  font-size: 0.875rem; /* 14px */
  color: #fff;
}

.star-icon {
  display: inline-block;
  width: 40px;
  margin-left: 2px;
  vertical-align: middle;
}


/* お買い上げ金額積立期間と特典対象期間セクション */
.period-section {
  padding: 60px 20px;
}

.period-title {
  margin-bottom: 60px;
  text-align: center;
  font-family: var(--font-title);
  font-size: 2.688rem; /* 43px */
  font-weight: bold;
  color: var(--color-accent);
}

.period-list {
  max-width: 850px;
  margin: 0 auto 20px;
  text-align: center;
}

.period-list li {
  margin-bottom: 20px;
}

.period-list li:first-child {
  margin-bottom: 60px;
}

.list-title {
  margin-bottom: 20px;
  font-family: var(--font-title);
  font-size: 2.25rem; /* 36px */
  font-weight: bold;
}

.period-list p {
  margin-block: 1em;
  font-size: 1.125rem; /* 18px */
  font-weight: bold;
}

.list-title + p {
  margin-bottom: 20px;
}

.list-note {
  width: fit-content;
  margin: 0 auto 40px;
  padding-left: 1em;
  text-indent: -1em;
}

.confirm-title {
  margin-bottom: 20px;
  font-family: var(--font-title);
  font-size: 1.375rem; /* 22px */
  font-weight: bold;
  text-align: center;
}

.confirm-title + p {
  margin-bottom: 20px;
  font-family: var(--font-title);
  font-size: 1.125rem; /* 18px */
  font-weight: bold;
  text-align: center;
}

/* 利用金額確認方法セクション */
.steps-section {
  padding: 60px 20px;
  background-color: var(--color-gold);
}

.steps-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 80px 100px;
  background-color: var(--color-bg-white);
}

.steps-title {
  margin: 0 -80px 50px;
  padding-block: 30px;
  text-align: center;
  font-family: var(--font-title);
  font-size: 1.75rem; /* 28px */
  font-weight: bold;
  color: #fff;
  background-color: var(--color-bg-black);
}

.step-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 40px;
  border-bottom: 1px solid var(--color-gold-line);
}

.step-item:has(+ .steps-note) {
  margin-bottom: 0;
  border-bottom: none;
}

.step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 60px;
  font-size: 6rem; /* 96px */
  line-height: 1;
  color: var(--color-gold);
}

.step-content {
  display: flex;
  flex: 1;
  max-width: 100%;
  padding-bottom: 40px;
}

.step-description {
  margin-bottom: 15px;
  padding-top: 40px;
  font-size: 1.313rem; /* 21px */
  font-weight: bold;
  line-height: 1.6;
  color: #2C2416;
}

.step-action {
  position: relative;
  margin-top: 8px;
  margin-bottom: 8px;
  padding-left: 15px;
  font-size: 0.875rem; /* 14px */
  color: #8B6914;
}

.step-action::before {
  position: absolute;
  top: 0;
  left: 0;
  content: '→';
  font-weight: bold;
  color: #D4AF37;
}

.img-box2 {
  width: 440px;
  margin-inline: auto;
}

.img-box3 {
  width: 320px;
  margin-inline: 84px auto;
}

.img-box4 {
  width: 580px;
  margin-inline: -40px auto;
}

.img-box5 {
  width: 330px;
  margin-inline: 50px auto;
}

.img-box6 {
  width: 283px;
  margin-inline: 50px auto;
}

.qr-code-box {
  width: 160px;
  margin: 0 auto;
}

.steps-note {
  padding: 0 100px 40px;
  font-size: 0.875rem; /* 14px */
}

.card-link-container {
  display: flex;
  justify-content: center;
  width: 100%;
  margin: 0;
  padding-block: 10px 20px;
  text-align: center;
  background: var(--color-gold);
}

.card-link {
  position: relative;
  display: block;
  width: 560px;
  max-width: 90%;
  padding: 10px 20px;
  font-size: clamp(0.938rem, 0.875rem + 0.5vw, 1.5rem); /* 24px */
  font-weight: bold;
  color: #fff;
  background: #000;
}

.card-link::before {
  position: absolute;
  content: '';
  width: 16px;
  height: 16px;
  background: #fff;
  border-radius: 50%;
  top: 50%;
  right: 30px;
  margin-top: -8px;
}
.card-link::after {
  position: absolute;
  content: '';
  width: 0;
  height: 0;
  border: solid 4px transparent;
  border-left: solid 6px #000;
  top: 50%;
  right: 31px;
  margin-top: -4px;
}

/* フッターセクション */
/* .bg_gold {
  display: flex;
}
.bg_gold div:first-child {
  width: calc(100% - var(--size-btn-scrolltop));
  height: var(--size-btn-scrolltop);
  background-color: var(--color-gold);
} */

main {
  margin-bottom: calc(var(--size-btn-scrolltop) * -1);
}
main::after {
  content: '';
  display: block;
  width: calc(100% - var(--size-btn-scrolltop));
  height: var(--size-btn-scrolltop);
  margin-bottom: -(var(--size-btn-scrolltop));
  background-color: var(--color-gold);
 }

.footer {
  max-width: 1000px;
  margin: 0 auto;
  background-color: var(--color-bg-white);
}

.footer-message {
  margin-bottom: 25px;
  padding: 15px;
  text-align: center;
  font-family: var(--font-title);
  font-size: 1.75rem; /* 28px */
  font-weight: bold;
  color: #fff;
  background-color: var(--color-gold);
}

.note-list {
  padding-left: 0;
  list-style: none;
}

.note-list li {
  position: relative;
  margin-bottom: 5px;
  padding-left: 12px;
  font-size: 0.875rem; /* 14px */
  line-height: 1.6;
}

.note-list li::before {
  position: absolute;
  left: 0;
  content: '•';
}


/* レスポンシブデザイン */
@media (768px < width < 1024px) {
  .step-content {
    flex-direction: column;
  }
  [class*="img-box"] {
    margin-inline: auto;
    padding-right: 10px;
  }
}
@media (max-width: 768px) {
  .pc-only {
    display: none;
  }
  .header {
    padding: 30px 15px;
  }
  /* .title-box {
        padding: 30px 20px;
    } */
  .premium-text {
    font-size: 1.25rem; /* 20px */
  }
  .main-title {
    font-size: 1.5rem; /* 24px */
  }
  .subtitle {
    font-size: 1rem; /* 16px */
  }
  .benefits-section {
    padding: 60px 15px 0;
  }
  .benefit-header {
    width: 80px;
    margin: -54px auto 20px;
  }
  .benefit-card {
    margin-bottom: 70px;
    padding: 25px 20px;
  }
  .benefit-title {
    font-size: 1.125rem; /* 18px */
  }
  .star-icon {
    width: 20px;
    margin-left: 2px;
  }
  .benefit-description {
    font-size: 1rem;
  }
  .period-title {
    font-size: 1.25rem; /* 20px */
  }
  .list-title {
    font-size: 1.25rem; /* 20px */
  }
  .period-list p {
    font-size: 1rem; /* 16px */
  }
  .steps-section {
    padding: 40px 15px;
  }
  .steps-title {
    margin: 0 -15px 30px;
    font-size: 1.375rem; /* 22px */
  }
  .steps-container {
    padding: 0 15px;
  }
  .step-content {
    flex-direction: column;
  }
  .step-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .step-number {
    width: 50px;
    font-size: 2.125rem; /* 34px */
  }
  .step-description {
    padding-top: 20px;
    font-size: 1.125rem; /* 18px */
  }
  .step-description a {
    text-decoration: underline;
    text-underline-offset: 3px;
  }
  .step-content [class*="img-box"] {
    width: auto;
    margin-inline: 15px;
  }
  .step-content .img-box2 {
    width: 250px;
  }
  .step-content .img-box3 {
    width: 220px;
    padding-left: 40px;
  }
  .step-content .img-box4 {
    width: 315px;
    margin: 0;
  }
  .step-content .img-box5 {
    width: 240px;
    padding-left: 20px;
  }
  .step-content .img-box6 {
    width: 180px;
    padding-left: 17px;
  }
  .steps-note {
    padding: 0 0 40px;
  }
  .card-link {
    width: 82%;
    max-width: 500px;
    padding-inline: 20px;
    letter-spacing: normal;
  }
  .card-link::before {
    right: 10px;
  }
  .card-link::after {
    right: 11px;
  }
  .footer {
    padding: 30px 15px;
  }
  .footer-content {
    padding: 25px 20px;
  }
  .footer-message {
    font-size: 1.125rem; /* 18px */
  }
}

@media (max-width: 480px) {
  .main-title {
    font-size: 1.25rem; /* 20px */
  }
  .benefit-title {
    font-size: 1rem; /* 16px */
  }
  .steps-title {
    font-size: 1.125rem; /* 18px */
  }
}