/* ----------------------------
   Theme (match Peska LP tone)
---------------------------- */
:root{
  --bg: #fff5f7;
  --bg-soft: #fff5f7;        /* very light pink */
  --bg-soft-2: #ffeef3;      /* slightly stronger pink */
  --text: #1a1a1a;
  --muted: #6c6c6c;
  --line: rgba(107,42,58,0.12);

  --wine: #6b2a3a;           /* heading color (maroon) */
  --pink: #e86b8a;           /* primary */
  --pink-2: #f095a5;         /* gradient */
  --pink-3: #db6689;         /* gradient */
  --btn-shadow: 0 14px 30px rgba(219,102,137,0.25);

  --card: rgba(255,255,255,0.85);
  --radius: 0px;
  --container: 1120px;
}

*{ box-sizing: border-box; }
html, body{ height: 100%; }
body{
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  color: var(--text);
  line-height: 1.7;
  /* background:
    radial-gradient(1200px 700px at 50% -120px, var(--bg-soft-2), transparent 60%),
    linear-gradient(180deg, var(--bg-soft), #ffffff 55%); */
}

img{ max-width: 100%; height: auto; display: block; }
a{ color: inherit; text-decoration: none; }

.container{
  width: min(var(--container), calc(100% - 48px));
  margin: 0 auto;
}

/* ----------------------------
   Header
---------------------------- */
.site-header{
  padding: 18px 0 8px;
}

.header-inner{
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.brand-logo{
  width: 220px;
  height: 64px;
  object-fit: contain;
  border-radius: 10px;
}

/* ----------------------------
   Hero (FV)
---------------------------- */
.hero{
  padding: 104px 0 20px;
  background: url(../images/bgimage.jpg);
  background-size: cover;
  background-position: center;
  filter: saturate(1.05);
}

.hero-inner{
  display: grid;
  gap: 18px;
  background-color: rgb(0 0 0 / 30%);
  border-radius: 8px;
}

.maincopy-pc {
  height: auto;
  width: 100%;
  max-width: 1120px;
  margin: auto;
}
.maincopy-sp {
  display: none;
}
@media (max-width: 520px){
  .maincopy-pc {
  display: none;
}
  .maincopy-sp {
    display: block;
  height: auto;
  width: 100%;
  max-width: 1120px;
  margin: auto;
  }
}


.hero-partner{
  display: flex;
  justify-content: center;
  margin-top: 6px;
}

.partner-logos{
  display: flex;
  align-items: center;
  gap: 18px;
}

.partner-logo{
  width: 280px;
  height: 64px;
  object-fit: contain;
  border-radius: 10px;
}

.partner-x{
  font-size: 44px;
  line-height: 1;
  color: #fff;
  opacity: 0.9;
}

.hero-copy{
  text-align: center;
  padding: 8px 0;
}

.hero-kicker{
  font-size: 34px;
  margin: 0 0 10px;
  font-weight: 900;
  letter-spacing: 0.02em;
  color: #fff;
}

.hero-amount{
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  gap: 6px;
  margin: 0 0 10px;
}

.amount-num{
  font-size: 40px;
  font-weight: 1000;
  letter-spacing: -0.02em;
  color: #db6689;
}
.campaign-day {
    font-size: 40px;
  font-weight: 1000;
  letter-spacing: -0.02em;
  color: #db6689;
}

.amount-unit{
  font-size: 48px;
  font-weight: 1000;
  color: #fff;
}

.hero-title{
  font-size: 56px;
  margin: 0 0 14px;
  font-weight: 1000;
  letter-spacing: 0.01em;
  color: #fff;
}

.hero-subcopy{
  font-size: 28px;
  margin: 0 0 18px;
  font-weight: 900;
  color: #fff;
}

.hero-cta{
  display: flex;
  justify-content: center;
  margin: 12px 0 12px;
}

.hero-note{
  font-size: 14px;
  color: var(--bg);
  margin: 0;
  font-weight: bold;
}

/* ----------------------------
   Sections
---------------------------- */
.section{
  padding: 64px 0;
}

.section-alt{
  background:
    radial-gradient(1000px 520px at 50% 0%, var(--bg-soft-2), transparent 70%),
    linear-gradient(180deg, rgba(255,245,247,0.75), rgba(255,255,255,0) 65%);
}

.section-head{
  text-align: center;
  margin-bottom: 22px;
}

/* ----------------------------
   Ribbon heading (like image #3)
---------------------------- */
.section-title{
  margin: 0;
  font-size: 30px;
  font-weight: 1000;
  color: var(--wine);
  letter-spacing: 0.02em;
}

/* Use <h2 class="section-title ribbon"><span>Title</span></h2> */
.ribbon{
  display: inline-block;
  position: relative;
  padding: 14px 64px;
  color: #fff;
  border-radius: 10px;
  background: linear-gradient(180deg, #4d66f0 0%, #4059e6 100%); /* ribbon color like sample */
  box-shadow: 0 14px 30px rgba(64,89,230,0.20);
  clip-path: polygon(0 0, 100% 0, 94% 100%, 6% 100%); /* slanted ends */
}

.ribbon span{
  display: inline-block;
}

/* ----------------------------
   Card
---------------------------- */
.card{
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 22px;
  /* box-shadow: 0 18px 50px rgba(107,42,58,0.07); */
  backdrop-filter: blur(6px);
}

.card-title{
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 1000;
  color: var(--wine);
  text-align: center;
}

.card-text{
  margin: 0;
  color: #333;
}

.card-list{
  margin: 0;
  padding-left: 1.2em;
}

.card-list li{
  margin: 8px 0;
}

/* ----------------------------
   Benefit
---------------------------- */
.benefit{
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px dashed rgba(107,42,58,0.18);
}

.benefit-label{
  font-size: 18px;
  color: var(--muted);
  margin-bottom: 6px;
  text-align: center;
}

.benefit-value{
  font-size: 22px;
  font-weight: 1000;
  color: #000;
  text-align: center;
}

.benefit-note{
  font-size: 13px;
  color: var(--muted);
  margin-top: 6px;
  text-align: center;
}

/* ----------------------------
   Steps
---------------------------- */
/* ========== HOWTO (参加方法) ========== */

.howto{
  display: grid;
  gap: 18px;
}

/* Step card */
.howto-card{
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  /* box-shadow: 0 18px 50px rgba(107,42,58,0.07); */
  backdrop-filter: blur(6px);

  /* 左右余白を固定して、画像が入っても崩れない */
  padding: 22px 22px;
}

/* 中の要素の左右余白を“統一”するため、childは基本100%幅 */
.howto-card > *{
  width: 100%;
}

.howto-badge{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(232,107,138,0.12);
  color: var(--wine);
  font-weight: 1000;
  margin-bottom: 10px;
  width: auto; /* badgeだけ自動幅 */
}

.howto-title{
  margin: 0 0 10px;
  font-size: 20px;
  font-weight: 1000;
  color: var(--wine);
}

.howto-text{
  margin: 12px 0 0;
  color: #333;
}

/* list */
.howto-list{
  margin: 12px 0 0;
  padding-left: 1.2em;
  color: #333;
}

.howto-list li{
  margin: 8px 0;
}

/* 仮画像 */
.howto-media{
  margin: 10px 0 0;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(107,42,58,0.12);
  background: rgba(0,0,0,0.03);
}

.howto-media img{
  display: block;
  width: 100%;
  height: 220px;         /* 仮の高さ（差し替え前提） */
  object-fit: cover;
}

/* actions */
.howto-actions{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
  justify-content: center;
}

/* result card */
.howto-result{
  margin-top: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 22px;
  /* box-shadow: 0 18px 50px rgba(107,42,58,0.07); */
}

.howto-result-title{
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 1000;
  text-align: center;
  color: var(--wine);
}

.howto-result-note{
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}
.howto-result-gole {
  font-size: 30px;
  font-weight: 1000;
  color: #db6689;
}

@media (max-width: 520px){
  .howto-media img{
    height: 180px;
  }
}


/* ----------------------------
   Buttons (Peska LP-ish)
---------------------------- */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 64px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 1000;
  border: 1px solid transparent;
  transition: transform .05s ease, filter .15s ease, background .15s ease;
  user-select: none;
  white-space: nowrap;
  width: 48%;
  font-size: larger;
}

.btn:active{ transform: translateY(1px); }

.btn-primary{
  color: #fff;
  background: linear-gradient(90deg, var(--pink-3), var(--pink-2));
}

.btn-primary:hover{
  filter: brightness(1.02);
}

.btn-outline{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 1000;
  border: 1px solid transparent;
  transition: transform .05s ease, filter .15s ease, background .15s ease;
  user-select: none;
  white-space: nowrap;
  background: rgba(255,255,255,0.9);
  border-color: rgba(232,107,138,0.35);
  color: var(--wine);
}

.btn-outline:hover{
  background: rgba(255,255,255,1);
}

.center{
  display: flex;
  justify-content: center;
}

/* ----------------------------
   Result area
---------------------------- */
.result{
  margin-top: 22px;
}

.result-title{
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 1000;
  text-align: center;
  color: var(--wine);
}

.result-note{
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

/* ----------------------------
   2-column grid
---------------------------- */
.grid-2{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

/* ----------------------------
   Manual
---------------------------- */
.manual{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.manual-body{ flex: 1; }
.manual-cta{ display: flex; justify-content: flex-end; }

/* ----------------------------
   FAQ
---------------------------- */
.faq{
  display: grid;
  gap: 14px;
}

.faq-item{
  padding: 0;
  overflow: hidden;
}

.faq-q{
  list-style: none;
  cursor: pointer;
  padding: 18px 22px;
  font-weight: 1000;
  color: var(--wine);
  position: relative;
}

.faq-q::-webkit-details-marker{ display: none; }

.faq-q::after{
  content: "＋";
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(107,42,58,0.7);
  font-weight: 1000;
}

details[open] .faq-q::after{ content: "－"; }

.faq-a{
  padding: 0 22px 18px;
  color: #333;
}

/* ----------------------------
   Notes
---------------------------- */
.notes{
  margin: 0;
  padding-left: 1.2em;
  color: #333;
}

.notes li{ margin: 8px 0; }

/* ----------------------------
   Closing CTA section
---------------------------- */
.cta-section{
  padding-top: 44px;
  padding-bottom: 80px;
}

.cta{
  text-align: center;
  /* background:
    radial-gradient(900px 360px at 50% 0%, rgba(232,107,138,0.18), transparent 70%),
    rgba(255,255,255,0.85); */
}

.cta-title{
  margin: 0 0 6px;
  font-size: 26px;
  font-weight: 1000;
  color: var(--wine);
}

.cta-text{
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 14px;
}

/* ----------------------------
   Footer
---------------------------- */
.site-footer{
  padding: 26px 0;
  border-top: 1px solid rgba(107,42,58,0.10);
  background: rgba(255,255,255,0.6);
}

.footer-inner{
  display: flex;
  justify-content: center;
  color: var(--muted);
}

/* ----------------------------
   Responsive
---------------------------- */
@media (max-width: 900px){
  .partner-logo{ width: 44vw; height: 56px; }
  .partner-x{ font-size: 34px; }

  .hero-kicker{ font-size: 24px; }
  .amount-num{ font-size: 70px; }
  .amount-unit{ font-size: 34px; }
  .hero-title{ font-size: 36px; }
  .hero-subcopy{ font-size: 20px; }

  .grid-2{ grid-template-columns: 1fr; }
  .manual{ flex-direction: column; align-items: flex-start; }
  .manual-cta{ justify-content: flex-start; }

  .ribbon{ padding: 12px 42px; font-size: 24px; }
}

@media (max-width: 520px){
  .container{ width: min(var(--container), calc(100% - 32px)); }
  .brand-logo{ width: 180px; height: 54px; }

  .partner-logos{ gap: 12px; }
  .partner-logo{ width: 42vw; height: 52px; }

  .hero-kicker{ font-size: 20px; }
  .amount-num{ font-size: 28px; }
  .campaign-day{ font-size: 35px; }
  .amount-unit{ font-size: 28px; }
  .hero-title{ font-size: 30px; }
  .hero-subcopy{ font-size: 18px; }

  .btn{ width: 100%; max-width: 340px; }
  .step-actions .btn{ width: auto; }

  .ribbon{ padding: 12px 26px; font-size: 20px; }
}

/* ========== Fixed Header ========== */

.site-header--fixed{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;

  /* 透け感＋背景ぼかし（LPトンマナに合わせる） */
  background: rgba(255,255,255);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  border-bottom: 1px solid rgba(107,42,58,0.08);
}

/* ヘッダー固定分、コンテンツを下にずらす */
/* body{
  padding-top: 92px; 
} */

/* SP調整 */
@media (max-width: 520px){
  body{
    padding-top: 80px;
  }
}

.cardGrid {
    display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 18px;
}

@media (max-width: 980px) {
    .cardGrid { grid-template-columns: repeat(2, 1fr); }
}

.about-card {
  padding: 16px;
  text-align: center;
  border: 1px solid var(--line);
}
.about-card img {
    width: 80px;
    height: auto;
    margin: auto;
}
.card__text {
  text-align: left;
}

.section__lead {
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}

.split__side {
  margin-top: 18px;
}
.bullets {
  margin: 0;
  padding: 16px;
  list-style: none;
  border-radius: 8px;
  border: 1px solid rgba(219,102,137,0.18);
  background: rgba(219,102,137,0.06);
  display: grid;
  gap: 10px;
}
.bullets li {
  display: flex;
  gap: 10px;
  color: var(--muted);
  justify-content: center;
  font-size: 20px;
}
.bullets li::before {
  content: "✓";
  color: #3bcd42;
  font-weight: 900;
}