@import url('https://fonts.googleapis.com/css2?family=M+PLUS+Rounded+1c:wght@400;500;700&family=Zen+Maru+Gothic:wght@500;700&display=swap');

:root{--pink:#ff7f7f;--yellow:#ffff7f;--mint:#7fffbf;--blue:#7fbfff;--peach:#f6b085;--ink:#242424;--paper:#fffdf8}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body.subpage{margin:0;color:var(--ink);background:var(--paper);font-family:"M PLUS Rounded 1c",sans-serif;line-height:1.85}
body.subpage a{color:inherit;text-decoration:none}
body.subpage img{max-width:100%}
.sub-header{position:sticky;top:0;z-index:30;display:flex;align-items:center;justify-content:space-between;gap:28px;min-height:86px;padding:12px 5vw;background:rgba(255,253,248,.95);backdrop-filter:blur(10px);border-bottom:1px solid rgba(0,0,0,.08)}
.sub-logo img{display:block;width:180px}
.sub-nav{display:flex;gap:20px;align-items:center;font-size:.78rem;font-weight:700;letter-spacing:.07em}
.sub-nav a{padding:8px 0;position:relative;white-space:nowrap}
.sub-nav a::after{content:"";position:absolute;left:0;right:100%;bottom:2px;height:3px;border-radius:99px;background:linear-gradient(90deg,var(--pink),var(--yellow));transition:.25s}
.sub-nav a:hover::after,.sub-nav a.active::after{right:0}
.sub-nav .login-btn{padding:8px 16px;border:2px solid var(--ink);border-radius:999px;background:#fff}
.sub-nav .login-btn::after{display:none}
.sub-nav .login-btn:hover{background:var(--ink);color:#fff}

.sub-hero{position:relative;overflow:hidden;min-height:440px;display:grid;place-items:center;padding:95px 24px 80px;text-align:center}
.sub-hero.guide{background:#fff7df}
.sub-hero.howto{background:#f4f0ff}
.sub-hero-inner{position:relative;z-index:2;max-width:880px}
.sub-eyebrow{margin:0 0 15px;font-size:.78rem;font-weight:700;letter-spacing:.23em}
.sub-hero h1,.sub-section h2,.sub-cta h2{margin:0;font-family:"Zen Maru Gothic",sans-serif;font-weight:700;letter-spacing:.03em}
.sub-hero h1{font-size:clamp(2.5rem,6vw,5.2rem);line-height:1.25}
.sub-hero .lead{max-width:720px;margin:26px auto 0;font-size:1.02rem}
.hero-dot{position:absolute;border-radius:50%;border:2px solid var(--ink)}
.hero-dot.d1{width:110px;height:110px;background:var(--pink);left:7%;top:20%}
.hero-dot.d2{width:78px;height:78px;background:var(--yellow);right:11%;top:14%}
.hero-dot.d3{width:145px;height:145px;background:var(--blue);right:-20px;bottom:-25px}
.hero-dot.d4{width:90px;height:90px;background:var(--mint);left:13%;bottom:10%}

.sub-section{padding:95px 24px}
.sub-section.alt{background:#fff}
.sub-inner{max-width:1120px;margin:0 auto}
.sub-inner.narrow{max-width:850px}
.sub-kicker{margin:0 0 10px;font-size:.75rem;font-weight:700;letter-spacing:.18em}
.sub-section h2{font-size:clamp(1.9rem,4vw,3.3rem);line-height:1.4}
.sub-copy{margin:24px 0 0;font-size:1rem}

.info-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;margin-top:42px}
.info-card{min-height:230px;padding:30px;border:2px solid var(--ink);border-radius:24px;background:#fff;box-shadow:6px 6px 0 var(--ink)}
.info-card .no{display:block;font-size:.76rem;font-weight:700;letter-spacing:.12em;margin-bottom:13px}
.info-card h3{margin:0 0 12px;font-family:"Zen Maru Gothic",sans-serif;font-size:1.55rem}
.info-card p{margin:0;font-size:.94rem}
.info-card.pink{background:#ffd8d8}.info-card.yellow{background:#fffec8}.info-card.mint{background:#d8ffe9}.info-card.blue{background:#ddebff}

.steps-list{display:grid;gap:20px;margin-top:45px}
.step-row{display:grid;grid-template-columns:90px 1fr;gap:26px;align-items:center;padding:28px 30px;border:2px solid var(--ink);border-radius:24px;background:#fff}
.step-num{width:72px;height:72px;display:grid;place-items:center;border:2px solid var(--ink);border-radius:50%;font-family:"Zen Maru Gothic",sans-serif;font-size:1.25rem;font-weight:700}
.step-row:nth-child(1) .step-num{background:#ffd8d8}.step-row:nth-child(2) .step-num{background:#fffec8}.step-row:nth-child(3) .step-num{background:#d8ffe9}.step-row:nth-child(4) .step-num{background:#ddebff}.step-row:nth-child(5) .step-num{background:#ffd9c2}
.step-row h3{margin:0 0 7px;font-family:"Zen Maru Gothic",sans-serif;font-size:1.45rem}
.step-row p{margin:0}

.note-box{margin-top:42px;padding:26px 28px;border:2px dashed var(--ink);border-radius:22px;background:#fffdf2}
.note-box strong{display:block;margin-bottom:8px;font-family:"Zen Maru Gothic",sans-serif;font-size:1.2rem}

.sub-cta{padding:88px 24px;background:linear-gradient(135deg,#ffd8d8,#fffec8,#d8ffe9,#ddebff)}
.sub-cta-inner{max-width:900px;margin:auto;padding:52px 36px;text-align:center;background:rgba(255,255,255,.92);border:2px solid var(--ink);border-radius:30px;box-shadow:7px 7px 0 var(--ink)}
.sub-cta h2{font-size:clamp(1.8rem,4vw,3rem)}
.sub-actions{display:flex;justify-content:center;gap:14px;flex-wrap:wrap;margin-top:28px}
.sub-btn{display:inline-flex;align-items:center;justify-content:center;min-height:50px;padding:0 22px;border:2px solid var(--ink);border-radius:999px;font-weight:700;background:#fff}
.sub-btn.primary{background:var(--ink);color:#fff}
.sub-footer{padding:40px 24px;text-align:center}.sub-footer img{width:160px}.sub-footer p{margin:8px 0 0;font-size:.72rem;font-weight:700;letter-spacing:.12em}

@media(max-width:900px){
  .sub-header{position:relative;align-items:flex-start;flex-direction:column;gap:8px;padding:12px 22px}
  .sub-nav{width:100%;overflow-x:auto;gap:16px;padding-bottom:4px}
  .sub-logo img{width:155px}
}
@media(max-width:700px){
  .info-grid{grid-template-columns:1fr}
  .step-row{grid-template-columns:70px 1fr;gap:16px;padding:22px 20px}
  .step-num{width:60px;height:60px}
}
@media(max-width:520px){
  .sub-hero{min-height:400px;padding:72px 20px 60px}
  .sub-hero h1{font-size:2.35rem}
  .sub-section{padding:72px 20px}
  .sub-section h2{font-size:2rem}
  .sub-actions{flex-direction:column}
  .sub-btn{width:100%}
}

/* ===== littlepalette 共通スマートフォンメニュー ===== */

.lp-mobile-menu {
  display: none;
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  background: #fff;
  border: 2px solid #222;
  border-radius: 12px;
  cursor: pointer;
  padding: 10px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  position: relative;
  z-index: 42;
}

.lp-mobile-menu span {
  display: block;
  width: 100%;
  height: 2px;
  background: #222;
  border-radius: 2px;
  transition: .25s;
}

.lp-mobile-menu.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.lp-mobile-menu.is-open span:nth-child(2) {
  opacity: 0;
}

.lp-mobile-menu.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 760px) {
  .concept-header,
  .sub-header {
    position: sticky;
    top: 0;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    min-height: 74px;
    padding: 10px 18px;
    z-index: 40;
  }

  .lp-mobile-menu {
    display: flex;
  }

  .concept-nav,
  .sub-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    max-width: none;
    max-height: calc(100dvh - 74px);
    overflow-y: auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 20px 20px;
    background: #fffdf8;
    border-bottom: 2px solid #eee;
    box-shadow: 0 12px 20px rgba(0,0,0,.08);
    white-space: normal;
  }

  .concept-nav.is-open,
  .sub-nav.is-open {
    display: flex;
  }

  .concept-nav a,
  .sub-nav a {
    display: block;
    padding: 13px 10px;
    border-bottom: 1px solid #eee;
    font-size: 15px;
  }
}

/* ===== GUIDE / HOW TO USE Hero ===== */

.sub-hero.guide,
.sub-hero.howto {
  min-height: 590px;
  padding: 110px 24px 90px;
  background:
    radial-gradient(
      circle at 15% 20%,
      rgba(255,127,127,.14),
      transparent 23%
    ),
    radial-gradient(
      circle at 85% 30%,
      rgba(127,255,191,.18),
      transparent 24%
    ),
    #fffdf8;
}

.sub-hero-inner {
  max-width: 920px;
  position: relative;
  z-index: 2;
}

.sub-hero h1 {
  font-size: clamp(2.35rem,5.8vw,5.4rem);
  line-height: 1.35;
}

.hero-dot {
  border: none;
  opacity: .9;
  animation: lpFloat 7s ease-in-out infinite;
}

.hero-dot.d1 {
  width: 150px;
  height: 150px;
  left: 7%;
  top: 16%;
  background: #ff7f7f;
}

.hero-dot.d2 {
  width: 105px;
  height: 105px;
  right: 10%;
  top: 18%;
  background: #ffff7f;
  animation-delay: -1.5s;
}

.hero-dot.d3 {
  width: 190px;
  height: 190px;
  right: -30px;
  bottom: 5%;
  background: #7fffbf;
  animation-delay: -3s;
}

.hero-dot.d4 {
  width: 92px;
  height: 92px;
  left: 13%;
  bottom: 11%;
  background: #7fbfff;
  animation-delay: -4.5s;
}

@keyframes lpFloat {
  0%, 100% {
    transform: translateY(0) rotate(0);
  }
  50% {
    transform: translateY(-18px) rotate(6deg);
  }
}

@media (max-width: 600px) {
  .sub-hero.guide,
  .sub-hero.howto {
    min-height: 520px;
    padding: 80px 20px 70px;
  }

  .sub-hero h1 {
    font-size: 2.35rem;
  }

  .hero-dot.d1 {
    width: 95px;
    height: 95px;
    left: -15px;
  }

  .hero-dot.d2 {
    width: 75px;
    height: 75px;
    right: -5px;
  }

  .hero-dot.d3 {
    width: 120px;
    height: 120px;
  }

  .hero-dot.d4 {
    width: 65px;
    height: 65px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-dot {
    animation: none;
  }
}
