@charset "utf-8";

/* ============================================================
   LINE連携LP — style.css
   こどもの森 e-shop
   ============================================================ */

/* ============================================================
   1. CSS Variables
   ============================================================ */
:root {
  --lp-accent:        #06C755;
  --lp-accent-dark:   #05A849;
  --lp-text-main:     #1A1A1A;
  --lp-text-sub:      #777777;
  --lp-white:         #FFFFFF;
  --lp-black:         #1A1A1A;
  --lp-bg-alt:        #F5F5F5;
  --lp-bg-green:      #F0FFF7;
  --lp-font-base:     'Zen Maru Gothic', 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'Meiryo', sans-serif;
  --lp-font-en:       'Inter', 'Helvetica Neue', sans-serif;
  --lp-section-py:    48px;
  --lp-section-py-pc: 72px;
  --lp-content-px:    20px;
  --lp-content-max:   750px;
  --lp-radius-sm:     8px;
  --lp-radius-md:     12px;
  --lp-radius-pill:   60px;
  --lp-ease:          cubic-bezier(.25, 1, .5, 1);
  --lp-duration:      .8s;
}

/* ============================================================
   2. Reset
   ============================================================ */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 62.5%;
  line-height: 1.7;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--lp-font-base);
  font-size: 1.4rem;
  color: var(--lp-text-main);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

li { list-style: none; }

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

a.inline {
  display: inline;
  color: var(--lp-accent);
  text-decoration: underline;
}

/* ============================================================
   3. W2 Vendor Overrides
   ============================================================ */
.global-header,
.l-header,
.p-header,
.p-product-list__category-title { display: none; }

.global-contents__inner {
  width: 100% !important;
  padding: 0 !important;
}

#tblLayout { width: 100% !important; }

table { border-collapse: collapse; margin: 0; padding: 0; }
td, th { padding: 0; margin: 0; }

main + div { display: none; }

/* ============================================================
   4. Responsive Utilities
   ============================================================ */
.sp-only { display: block; }
.pc-only { display: none; }

@media (min-width: 768px) {
  .sp-only { display: none; }
  .pc-only { display: block; }
}

/* ============================================================
   5. LP Wrapper — full width
   ============================================================ */
.lp-wrap {
  width: 100%;
  overflow: hidden;
}

/* ============================================================
   6. Section content centering
   背景色は100%幅、コンテンツは最大750pxで中央配置
   ============================================================ */
.lp-breadcrumb,
.line-hero,
.merit-section,
.howto-section,
.line-cta,
.lp-notes,
.lp-footer__inner {
  padding-left:  max(var(--lp-content-px), calc((100% - var(--lp-content-max)) / 2));
  padding-right: max(var(--lp-content-px), calc((100% - var(--lp-content-max)) / 2));
}

/* ============================================================
   7. Section Heading
   ============================================================ */
.lp-section-head {
  text-align: center;
  margin-bottom: 36px;
}

.lp-section-head__en {
  display: block;
  font-family: var(--lp-font-en);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--lp-accent);
  margin-bottom: 6px;
}

.lp-section-head__title {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--lp-text-main);
  letter-spacing: .06em;
  position: relative;
  display: inline-block;
  padding-bottom: 14px;
}

.lp-section-head__title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 32px;
  height: 3px;
  background: var(--lp-accent);
  border-radius: 2px;
}

@media (min-width: 768px) {
  .lp-section-head {
    margin-bottom: 48px;
  }

  .lp-section-head__title {
    font-size: 2.6rem;
  }
}

/* ============================================================
   8. Buttons
   ============================================================ */
.lp-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--lp-accent);
  color: var(--lp-white);
  padding: 20px 32px;
  border-radius: var(--lp-radius-pill);
  font-size: 1.7rem;
  font-weight: 900;
  letter-spacing: .06em;
  max-width: 480px;
  margin: 0 auto;
  transition: opacity .2s, transform .15s;
  border: none;
  cursor: pointer;
}

.lp-btn:hover {
  opacity: .85;
}

.lp-btn:active {
  transform: scale(.97);
}

.lp-btn--outline {
  background: transparent;
  border: 2px solid var(--lp-accent);
  color: var(--lp-accent);
  font-size: 1.5rem;
  padding: 16px 28px;
}

.lp-btn--outline:hover {
  background: var(--lp-accent);
  color: var(--lp-white);
  opacity: 1;
}

/* ============================================================
   9. Notes / Disclaimer
   ============================================================ */
.lp-notes {
  background: var(--lp-white);
  padding-top: 40px;
  padding-bottom: 48px;
  border-top: 1px solid #E8E8E8;
}

.lp-notes__title {
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--lp-text-main);
  text-align: center;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 2px solid #E8E8E8;
  letter-spacing: .06em;
}

.lp-notes__list {
  margin-bottom: 12px;
}

.lp-notes__list li {
  font-size: 1.25rem;
  color: #888;
  line-height: 1.9;
  padding-left: 1.8em;
  position: relative;
  margin-bottom: 2px;
}

.lp-notes__list li::before {
  content: "※";
  position: absolute;
  left: 0;
  color: #bbb;
}

.lp-notes__sub-head {
  font-size: 1.25rem;
  font-weight: 700;
  color: #666;
  margin: 20px 0 6px;
}

/* ============================================================
   10. Footer
   ============================================================ */
.lp-footer {
  background: var(--lp-black);
}

.lp-footer__inner {
  padding-top: 40px;
  padding-bottom: 40px;
  text-align: center;
}

.lp-footer__logo {
  width: auto;
  height: 100px;
  display: block;
  margin: 0 auto 24px;
}

.lp-footer__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 24px;
}

.lp-footer__nav-item a {
  display: inline;
  font-size: 1.2rem;
  color: rgba(255,255,255,.55);
  padding: 4px 10px;
  border-right: 1px solid rgba(255,255,255,.15);
  text-decoration: none;
  line-height: 1.8;
}

.lp-footer__nav-item:last-child a {
  border-right: none;
}

.lp-footer__nav-item a:hover {
  color: rgba(255,255,255,.85);
}

.lp-footer__copy {
  font-size: 1.1rem;
  color: rgba(255,255,255,.3);
  letter-spacing: .04em;
}

/* ============================================================
   11. Animations
   ============================================================ */
.lp-fadein {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity var(--lp-duration) var(--lp-ease),
              transform var(--lp-duration) var(--lp-ease);
}

.lp-fadein.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.lp-fadein:nth-child(2) { transition-delay: .1s; }
.lp-fadein:nth-child(3) { transition-delay: .2s; }
.lp-fadein:nth-child(4) { transition-delay: .3s; }

@keyframes lp-pulse {
  0%, 100% { transform: scale(1); }
  50%       { transform: scale(1.03); }
}

.lp-pulse {
  animation: lp-pulse 2.5s ease-in-out infinite;
}

/* ============================================================
   LP固有スタイル
   ============================================================ */

/* --- BREADCRUMB -------------------------------------------- */
.lp-breadcrumb {
  background: #F5F5F5;
  padding-top: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid #E8E8E8;
}

.lp-breadcrumb__list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.lp-breadcrumb__item {
  display: flex;
  align-items: center;
  font-size: 1.2rem;
  color: #999;
  line-height: 1.5;
}

.lp-breadcrumb__item a {
  display: inline;
  color: #999;
  text-decoration: none;
  font-size: 1.2rem;
}

.lp-breadcrumb__item a:hover {
  text-decoration: underline;
}

.lp-breadcrumb__item + .lp-breadcrumb__item::before {
  content: ">";
  margin: 0 8px;
  color: #ccc;
  font-size: 1rem;
}

.lp-breadcrumb__item--current {
  color: #555;
}

/* --- HERO -------------------------------------------------- */
.line-hero {
  background: #fff;
  padding-top: 40px;
  padding-bottom: 48px;
  text-align: center;
  border-bottom: 1px solid #E8E8E8;
}

.line-hero__brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 28px;
}

.line-hero__logo-img {
  flex-shrink: 0;
  width: auto;
  height: 72px;
  display: block;
}

.line-hero__x {
  font-size: 2rem;
  color: #D0D0D0;
  font-weight: 300;
}

.line-hero__shop-img {
  width: auto;
  height: 72px;
  display: block;
}

.line-hero__title {
  font-size: 2.6rem;
  font-weight: 900;
  color: var(--lp-text-main);
  line-height: 1.45;
  letter-spacing: .04em;
  margin-bottom: 14px;
}

.line-hero__title em {
  font-style: normal;
  color: var(--lp-accent);
}

.line-hero__sub {
  font-size: 1.4rem;
  color: var(--lp-text-sub);
  line-height: 1.9;
}

@media (min-width: 768px) {
  .line-hero {
    padding-top: 56px;
    padding-bottom: 64px;
  }

  .line-hero__title {
    font-size: 3.4rem;
  }
}

/* --- MERIT ------------------------------------------------- */
.merit-section {
  padding-top: var(--lp-section-py);
  padding-bottom: var(--lp-section-py);
  background: var(--lp-white);
}

.merit-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.merit-card {
  background: var(--lp-white);
  border-radius: var(--lp-radius-md);
  padding: 24px 16px;
  text-align: center;
  border: 1px solid #E0E0E0;
}

.merit-card--highlight {
  border: 2px solid var(--lp-accent);
  background: var(--lp-bg-green);
  /* grid-column: span 2; */
}

.merit-card__title {
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--lp-text-main);
  margin-bottom: 8px;
  line-height: 1.4;
}

.merit-card__badge {
  display: inline-block;
  background: var(--lp-accent);
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: 30px;
  letter-spacing: .08em;
  margin-bottom: 10px;
}

.merit-card__coupon {
  font-size: 4rem;
  font-weight: 900;
  color: var(--lp-accent);
  line-height: 1;
  letter-spacing: -.02em;
}

.merit-card__coupon span {
  font-size: 2.2rem;
}

.merit-card__desc {
  font-size: 1.25rem;
  color: var(--lp-text-sub);
  line-height: 1.7;
  margin-top: 8px;
  text-align: left;
}

@media (min-width: 768px) {
  .merit-section {
    padding-top: var(--lp-section-py-pc);
    padding-bottom: var(--lp-section-py-pc);
  }

  .merit-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
  }

  .merit-card--highlight {
    grid-column: span 1;
  }
}

/* --- PREREQUISITE NOTE ------------------------------------- */
.prereq-note {
  background: #FFFBF0;
  border: 1px solid #F0D080;
  border-radius: var(--lp-radius-md);
  padding: 20px;
  margin-bottom: 32px;
}

.prereq-note__title {
  font-size: 1.4rem;
  font-weight: 900;
  color: #8A6A00;
  margin-bottom: 10px;
}

.prereq-note__list li {
  font-size: 1.3rem;
  color: #6B5400;
  line-height: 1.9;
  padding-left: 1.4em;
  position: relative;
}

.prereq-note__list li::before {
  content: ">";
  position: absolute;
  left: 0;
  font-size: 1rem;
  font-weight: 700;
  color: #C8A000;
  top: .25em;
}

/* --- HOW TO STEPS ------------------------------------------ */
.howto-section {
  padding-top: var(--lp-section-py);
  padding-bottom: var(--lp-section-py);
  background: var(--lp-bg-alt);
}

.howto-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.howto-step {
  background: var(--lp-white);
  border-radius: var(--lp-radius-md);
  padding: 28px 24px;
  border: 1px solid #E0E0E0;
}

.howto-step__header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.howto-step__header.no-margin {
  margin-bottom: 0;
}

.howto-step__num {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  background: var(--lp-accent);
  color: var(--lp-white);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: var(--lp-font-en);
}

.howto-step__num-label {
  font-size: .9rem;
  font-weight: 700;
  letter-spacing: .08em;
  line-height: 1;
  margin-bottom: 1px;
}

.howto-step__num-val {
  font-size: 1.8rem;
  font-weight: 900;
  line-height: 1;
}

.howto-step__title {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--lp-text-main);
  line-height: 1.4;
}

.howto-step__desc {
  font-size: 1.4rem;
  color: var(--lp-text-main);
  line-height: 1.9;
}

.howto-step__note {
  background: #F5F5F5;
  border-left: 3px solid var(--lp-accent);
  padding: 12px 16px;
  margin-top: 14px;
}

.howto-step__note p {
  font-size: 1.25rem;
  color: #666;
  line-height: 1.85;
}

.howto-step__note a.inline {
  display: inline;
  color: var(--lp-accent);
  text-decoration: underline;
}

.howto-step__note--warn {
  background: #FFF8F0;
  border-left-color: #E8A000;
}

.howto-step__note--warn p {
  color: #7A5000;
}

.howto-step__img {
  margin-top: 22px;
  border: 1px solid #E0E0E0;
}

.howto-step__img-placeholder {
  margin-top: 22px;
  background: #F4F4F4;
  border: 2px dashed #D0D0D0;
  border-radius: var(--lp-radius-sm);
  padding: 56px 24px;
  text-align: center;
  color: #ABABAB;
  font-size: 1.3rem;
}

@media (min-width: 768px) {
  .howto-section {
    padding-top: var(--lp-section-py-pc);
    padding-bottom: var(--lp-section-py-pc);
  }

  .howto-step {
    padding: 32px 40px;
  }
}

/* --- CTA --------------------------------------------------- */
.line-cta {
  background: var(--lp-white);
  padding-top: var(--lp-section-py);
  padding-bottom: 60px;
  text-align: center;
  border-top: 1px solid #E8E8E8;
}

.line-cta__title {
  font-size: 2rem;
  font-weight: 900;
  color: var(--lp-text-main);
  margin-bottom: 10px;
  line-height: 1.5;
  letter-spacing: .04em;
}

.line-cta__lead {
  font-size: 1.4rem;
  color: var(--lp-text-sub);
  line-height: 1.85;
  margin-bottom: 32px;
}

.line-cta__sub {
  margin-top: 20px;
}

.line-cta__sub-label {
  font-size: 1.25rem;
  color: var(--lp-text-sub);
  margin-bottom: 10px;
}

@media (min-width: 768px) {
  .line-cta {
    padding-top: var(--lp-section-py-pc);
    padding-bottom: 80px;
  }

  .line-cta__title {
    font-size: 2.4rem;
  }
}

/* ============================================================
   Lightbox
   ============================================================ */
.lp-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .85);
  z-index: 9000;
  align-items: center;
  justify-content: center;
  padding: 16px;
  cursor: zoom-out;
}

.lp-lightbox.is-open {
  display: flex;
}

.lp-lightbox__img {
  display: block;
  max-width: min(90vw, 700px);
  max-height: 88vh;
  width: auto;
  height: auto;
  border-radius: var(--lp-radius-sm);
  cursor: default;
}

.lp-lightbox__close {
  position: fixed;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, .15);
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 50%;
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 9001;
}

.howto-step__img[src],
.howto-step__img img {
  cursor: zoom-in;
}

.howto-step__zoom-hint {
  display: block;
  text-align: center;
  font-size: 1.1rem;
  color: #aaa;
  margin-top: 6px;
  letter-spacing: .04em;
}

/* ---- LINE SP / PC 出し分け ---- */
.line-touch-only  { display: flex; }
.line-pointer-only { display: none; }

@media (pointer: coarse) {
  .line-touch-only  { display: flex; }
  .line-pointer-only { display: none; }
}

@media (pointer: fine) {
  .line-touch-only  { display: none; }
  .line-pointer-only { display: flex; }
}

/* QRコードブロック */
.line-qr {
  flex-direction: column;
  align-items: center;
  gap: 12px;
  background: var(--lp-bg-green);
  border-radius: var(--lp-radius-md);
  padding: 20px;
  border: 1px solid rgba(6, 199, 85, .3);
  max-width: 320px;
  margin: 0 auto;
}

.line-qr__img {
  width: 140px;
  height: 140px;
  border-radius: 8px;
  display: block;
}

.line-qr__label {
  font-size: 1.3rem;
  color: var(--lp-text-sub);
  text-align: center;
  line-height: 1.7;
}
