/* =========================================================
   Demaecan × DiDi campaign LP
   Shared styles (PC base) + SP overrides via media query
   ========================================================= */

:root {
  --red: #e8352b;
  --red-deep: #d3271e;
  --red-grad-top: #f0584d;
  --red-grad-bottom: #e22a20;
  --pink: #f6b3b1;          /* deeper salmon band */
  --pink-light: #fce2e1;    /* light pink band */
  --ink: #3f2f2f;           /* warm dark text */
  --ink-soft: #6b5a5a;
  --white: #ffffff;
  --card-shadow: 0 10px 30px rgba(180, 70, 70, 0.18);
  --maxw: 1080px;
  --radius: 18px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans",
    "Yu Gothic", Meiryo, sans-serif;
  color: var(--ink);
  background: var(--pink-light);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

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

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

.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 24px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--white);
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.06);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 900;
  font-size: 20px;
  letter-spacing: 0.02em;
}
.brand-demae { color: var(--red); }
.brand-x { color: #bbb; font-weight: 500; }
.brand-didi { color: #ff6a2c; }
.header-cta {
  background: var(--red);
  color: var(--white);
  font-weight: 700;
  font-size: 14px;
  padding: 9px 18px;
  border-radius: 999px;
}

/* ---------- Key Visual ---------- */
.kv img { width: 100%; }

/* ---------- Period band ---------- */
.period {
  background: var(--white);
  padding: 22px 0;
}
.period-text {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  font-weight: 900;
  color: #1a1a1a;
  flex-wrap: wrap;
}
.period-label {
  font-size: 23px;
  letter-spacing: 0.12em;
}
.period-sep {
  font-size: 23px;
  margin: 0 4px;
}
.period-date {
  font-size: 44px;
  letter-spacing: 0.01em;
  display: inline-flex;
  align-items: center;
}
.period-date .year {
  font-size: 35px;
}
.period-date .slash {
  font-style: normal;
  color: #bdbdbd;
  font-weight: 700;
  margin: 0 1px;
}
.period-date .dow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #1a1a1a;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  margin: 0 4px 0 5px;
  position: relative;
  top: 1px;
}
.period-date .tilde {
  color: #1a1a1a;
  font-weight: 700;
  margin: 0 6px;
}

/* ---------- Section background helpers ---------- */
.section-pink { background: var(--pink); }
.section-pink-light { background: var(--pink-light); }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--pink-light);
  padding: 40px 0;
}
.cta-inner { text-align: center; }
.cta-lead {
  margin: 0 0 16px;
  font-weight: 700;
  color: var(--red-deep);
  font-size: 15px;
}
.cta-lead .cta-strong {
  font-size: 1.5em;
  font-weight: 900;
}
.btn-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #da3734;
  color: var(--white);
  font-weight: 700;
  font-size: 18px;
  padding: 18px 46px;
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(218, 55, 52, 0.35);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  max-width: 100%;
}
.btn-pill:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(218, 55, 52, 0.4);
}
.btn-pill .arrow { font-weight: 900; }

/* ---------- Section titles ---------- */
.eyebrow {
  text-align: center;
  color: var(--ink-soft);
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin: 0 0 6px;
  font-weight: 500;
}
.eyebrow--brand {
  font-family: "Inter", sans-serif;
  font-style: normal;
  text-transform: none;
  letter-spacing: 0.02em;
  font-size: 16px;
  font-weight: 700;
}
.sec-title {
  text-align: center;
  font-size: 28px;
  font-weight: 900;
  margin: 0 0 40px;
  letter-spacing: 0.02em;
}
.sec-title .hl { color: var(--red); }

/* ---------- About grid ---------- */
.about { padding: 64px 0; background: #fdcccb; }
.about-grid {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 720px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.about-item { text-align: center; }
.about-icon {
  height: 200px;
  margin: 0 auto 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-icon img { width: auto; height: 200px; object-fit: contain; }
.about-cap {
  margin: 0;
  font-weight: 900;
  font-size: 20px;
  line-height: 1.6;
  color: var(--ink);
}
.about-cap small {
  display: inline-block;
  margin-top: 4px;
  font-size: 11px;
  font-weight: 700;
  color: var(--ink-soft);
}

/* ---------- Tips grid ---------- */
.tips { padding: 64px 0; background: #fde3e4; }
.tips-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: start;
}
.tips-item { text-align: center; }
.tips-item--center { margin-top: 64px; }
.tips-img {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  margin-bottom: 16px;
}
.tips-img img { width: 100%; aspect-ratio: 1 / 0.95; object-fit: cover; }
.tips-eyebrow {
  margin: 0 0 6px;
  font-size: 15px;
  letter-spacing: 0.04em;
  color: var(--red);
  font-weight: 700;
}
.tips-cap {
  margin: 0;
  font-weight: 700;
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink);
}
/* center item: text sits above the image */
.tips-item--center .tips-cap { margin-bottom: 16px; }

/* ---------- Coupons ---------- */
.coupons { padding: 64px 0; background: #fdcccb; }
.coupon-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  max-width: 760px;
  margin: 0 auto 28px;
}
.coupon-card {
  background: #fce3e2;
  border-radius: 20px;
  padding: 30px 28px 32px;
  text-align: center;
}
.coupon-badge {
  display: inline-block;
  background: var(--red);
  color: var(--white);
  font-size: 16px;
  font-weight: 700;
  padding: 9px 26px;
  border-radius: 999px;
  white-space: nowrap;
  margin: 0 auto 24px;
}
.coupon-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 150px;
  margin-bottom: 16px;
}
.coupon-visual img { max-height: 150px; width: auto; }
.coupon-visual--multi { gap: 12px; }
.coupon-visual--multi img { max-height: 128px; }
.coupon-visual--multi .coupon-multi {
  font-size: 36px;
  font-weight: 900;
  color: var(--ink);
  white-space: nowrap;
}
.coupon-name {
  margin: 0 0 20px;
  font-weight: 700;
  font-size: 18px;
  color: var(--ink);
}
.coupon-code {
  background: var(--white);
  border-radius: 14px;
  padding: 14px 8px;
}
.coupon-code-label {
  display: block;
  font-size: 12px;
  color: var(--ink-soft);
  margin-bottom: 4px;
}
.coupon-code-value {
  display: block;
  color: var(--red);
  font-weight: 900;
  font-size: 28px;
  letter-spacing: 0.05em;
}
.coupon-note {
  background: var(--white);
  border-radius: 14px;
  padding: 14px 10px;
}
.coupon-note p {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.6;
}

/* Terms box */
.terms-box {
  background: rgba(255, 255, 255, 0.55);
  border-radius: var(--radius);
  padding: 28px 34px;
  max-width: 760px;
  margin: 0 auto;
  box-shadow: 0 6px 18px rgba(180, 70, 70, 0.12);
}
.terms-box ul {
  margin: 0;
  padding-left: 1.2em;
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.8;
}
.terms-box > ul > li {
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 10px;
}
.terms-box ul ul {
  margin-top: 6px;
  font-weight: 400;
  color: var(--ink-soft);
}

/* ---------- Campaign overview ---------- */
.overview { padding: 64px 0 72px; background: #fdcccb; }
.accordion {
  background: var(--white);
  border-radius: var(--radius);
  max-width: 820px;
  margin: 0 auto;
  box-shadow: 0 6px 18px rgba(180, 70, 70, 0.12);
  overflow: hidden;
}
.accordion summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 26px;
  font-weight: 700;
  font-size: 16px;
}
.accordion summary::-webkit-details-marker { display: none; }
.acc-icon {
  position: relative;
  width: 16px;
  height: 16px;
  flex: none;
}
.acc-icon::before,
.acc-icon::after {
  content: "";
  position: absolute;
  background: var(--ink-soft);
  transition: transform 0.2s ease;
}
.acc-icon::before, .acc-icon::after { background: var(--red); }
.acc-icon::before { top: 7px; left: 0; width: 16px; height: 2px; }
.acc-icon::after { top: 0; left: 7px; width: 2px; height: 16px; }
.accordion[open] .acc-icon::after { transform: scaleY(0); }
.acc-body {
  padding: 0 26px 26px;
  border-top: 1px solid #f0d9d8;
}
.acc-body h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 10px;
  padding-top: 20px;
  border-top: 1px solid #f0d9d8;
}
.acc-body > h3:first-child { border-top: none; padding-top: 20px; }
.acc-body p { margin: 0 0 8px; font-size: 13px; }
.acc-body p.acc-note {
  font-size: 12px;
  color: var(--red);
}
.acc-body ul {
  margin: 0 0 10px;
  padding-left: 1.4em;
  font-size: 12.5px;
  color: var(--ink-soft);
  line-height: 1.8;
  list-style: disc;
}
.acc-body ul ul {
  margin: 4px 0 6px;
}
.acc-body li { margin-bottom: 2px; }
.acc-body a { text-decoration: underline; word-break: break-all; }
.acc-body a.acc-link { color: var(--red); }

/* ---------- Footer ---------- */
.site-footer {
  background: #fff;
  padding: 36px 0;
  text-align: center;
}
.footer-brand {
  font-weight: 900;
  font-size: 18px;
  margin: 0 0 14px;
  color: var(--red);
}
.footer-links {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
  display: flex;
  gap: 22px;
  justify-content: center;
  flex-wrap: wrap;
  font-size: 13px;
}
.footer-links a:hover { color: var(--red); text-decoration: underline; }
.footer-copy {
  margin: 0;
  font-size: 12px;
  color: var(--ink-soft);
}

/* =========================================================
   SP (mobile) overrides
   ========================================================= */
@media (max-width: 768px) {
  body { font-size: 15px; }

  .container { padding-inline: 18px; }

  .header-inner { height: 52px; }
  .brand { font-size: 17px; }
  .header-cta { font-size: 12px; padding: 8px 12px; }

  .period { padding: 16px 0; }
  .period-label { font-size: 14px; letter-spacing: 0.02em; }
  .period-sep { font-size: 14px; margin: 0; }
  .period-date { font-size: 21px; }
  .period-date .year { font-size: 17px; }
  .period-date .slash { margin: 0; }
  .period-date .dow { width: 16px; height: 16px; font-size: 9px; margin: 0 1px 0 2px; }
  .period-date .tilde { margin: 0 2px; }

  .cta-band { padding: 30px 0; }
  .cta-lead { font-size: 13px; }
  .btn-pill {
    font-size: 15px;
    padding: 16px 22px;
    width: 100%;
    justify-content: center;
    text-align: center;
    line-height: 1.4;
  }

  .sec-title { font-size: 22px; margin-bottom: 28px; }
  .eyebrow { font-size: 11px; }

  /* About: keep 3-column layout, smaller, edge-to-edge */
  .about { padding: 44px 0; }
  .about-grid { grid-template-columns: repeat(3, 1fr); gap: 4px; }
  .about-item { text-align: center; }
  .about-icon { height: 104px; margin: 0 auto 10px; }
  .about-icon img { height: 104px; }
  .about-cap { font-size: 12px; line-height: 1.55; }
  .about-cap small { font-size: 9px; margin-top: 2px; }

  /* Tips: alternating image/text rows */
  .tips { padding: 44px 0; }
  .tips .container { padding-inline: 20px; }
  .tips-grid { grid-template-columns: 1fr; gap: 28px; }
  .tips-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 14px;
    row-gap: 4px;
    align-items: center;
    text-align: left;
  }
  .tips-item--center { margin-top: 0; }
  .tips-img {
    margin-bottom: 0;
    border-radius: 16px;
  }
  .tips-img img {
    aspect-ratio: 1 / 1;
    object-fit: cover;
  }
  .tips-item .tips-img {
    grid-column: 1;
    grid-row: 1 / span 2;
  }
  .tips-item .tips-eyebrow {
    grid-column: 2;
    grid-row: 1;
    align-self: end;
    font-size: 14px;
    margin-bottom: 2px;
  }
  .tips-item .tips-cap {
    grid-column: 2;
    grid-row: 2;
    align-self: start;
    font-size: 17px;
    line-height: 1.45;
  }
  .tips-item--center .tips-img {
    grid-column: 2;
    grid-row: 1 / span 2;
  }
  .tips-item--center .tips-eyebrow {
    grid-column: 1;
    grid-row: 1;
    align-self: end;
  }
  .tips-item--center .tips-cap {
    grid-column: 1;
    grid-row: 2;
    align-self: start;
    margin-bottom: 0;
  }

  /* Coupons */
  .coupons { padding: 44px 0; }
  .coupon-cards { grid-template-columns: 1fr; gap: 30px; max-width: 420px; }
  .coupon-card { padding: 36px 18px 24px; }
  .coupon-code-value { font-size: 22px; }
  .terms-box { padding: 22px 18px; }
  .terms-box ul { font-size: 14px; }

  .overview { padding: 44px 0 52px; }
  .accordion summary { padding: 16px 18px; font-size: 15px; }
  .acc-body { padding: 4px 18px 20px; }

  .footer-links { gap: 14px; }
}

/* Tablet tweak */
@media (min-width: 769px) and (max-width: 980px) {
  .sec-title { font-size: 24px; }
  .about-icon { width: 110px; height: 110px; }
}

/* Temporarily hidden — delete this block to restore Header */
.site-header {
  display: none;
}
