@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Nunito:wght@400;600;700;800&display=swap');

:root {
  --cyan:   #00E5FF;
  --pink:   #FF3CAC;
  --yellow: #FFE033;
  --dark:   #0D0D0D;
  --darker: #080808;
  --card:   #161616;
  --border: rgba(255,255,255,0.08);
  --text:   #F0F0F0;
  --muted:  rgba(240,240,240,0.55);
  --hero-glow: var(--cyan);
  --r: 14px;
  --cyan-soft:   #7EEEFF;
  --pink-soft:   #FF80C8;
  --yellow-soft: #FFE87A;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; overflow-x: clip; }

body {
  font-family: 'Nunito', sans-serif;
  background: var(--darker);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

/* ââ NAV ââ */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(8,8,8,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 clamp(1rem,5vw,3rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}

.nav-logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 28px;
  letter-spacing: 3px;
  background: linear-gradient(90deg, var(--cyan), var(--pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
  transition: color .2s;
  letter-spacing: .5px;
}

.nav-links a:hover { color: var(--text); }
.nav-links a.active { color: var(--cyan); }

/* ââ ãã³ãã¼ã¬ã¼ãã¿ã³ ââ */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 200;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform .25s, opacity .25s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ââ ã¢ãã¤ã«ã¡ãã¥ã¼ãã­ã¯ã¼ ââ */
.mob-menu {
  display: none;
  position: fixed;
  top: 60px;
  left: 0;
  right: 0;
  background: rgba(8,8,8,0.97);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 1.5rem 1.5rem 2rem;
  z-index: 150;
  flex-direction: column;
  gap: .5rem;
}
.mob-menu.open { display: flex; }
.mob-menu a {
  display: block;
  font-size: 16px;
  font-weight: 700;
  color: var(--muted);
  text-decoration: none;
  padding: .75rem 0;
  border-bottom: 1px solid var(--border);
  transition: color .2s;
}
.mob-menu a:last-child { border-bottom: none; }
.mob-menu a:hover,
.mob-menu a.active { color: var(--cyan); }

/* ââ BUTTONS ââ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 100px;
  font-family: 'Nunito', sans-serif;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .5px;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: transform .18s, opacity .18s;
}
.btn:hover { transform: translateY(-2px); opacity: .9; }
.btn:active { transform: translateY(0); }

.btn-cyan {
  background: linear-gradient(135deg, var(--cyan), #0099B8);
  color: #001E26;
}
.btn-pink {
  background: linear-gradient(135deg, var(--pink), #B800B8);
  color: #fff;
}
.btn-outline {
  background: transparent;
  border: 2px solid var(--border);
  color: var(--text);
}
.btn-outline:hover { border-color: rgba(255,255,255,0.3); }
.btn-yellow {
  background: linear-gradient(135deg, var(--yellow), #E6A000);
  color: #1a1000;
}

/* ââ SECTION UTIL ââ */
.section {
  /* ç½éæ¯: paddingç¸¦:æ¨ª â 1:1.414 â 4rem:5.65rem â clamp */
  padding: clamp(3rem,8vw,6rem) clamp(1rem,5vw,3rem);
  max-width: 1100px;
  margin: 0 auto;
}

.section-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--cyan);
  /* é»éæ¯: labelä¸ä½ç½:titleä¸ä½ç½ = 1:1.618 â 0.75rem:1.2rem */
  margin-bottom: .75rem;
}

.section-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(36px, 6vw, 58px);
  letter-spacing: 3px;
  line-height: 1;
  color: var(--text);
  margin-bottom: 1.2rem;
}

.section-sub {
  font-size: 15px;
  color: var(--muted);
  /* é»éæ¯: max-width â section max-width / 1.618 â 680px */
  max-width: 540px;
  line-height: 1.8;
}

/* ââ CARD ââ */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r);
  overflow: hidden;
  transition: border-color .25s, transform .25s;
}
.card:hover { border-color: rgba(255,255,255,0.18); transform: translateY(-4px); }

/* ââ BADGE ââ */
.badge {
  display: inline-block;
  /* é»éæ¯: height:width â 1:2.618 â 24px:62px */
  padding: 4px 14px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.badge-cyan   { background: rgba(0,229,255,0.12);  color: #fff; border: 1px solid rgba(0,229,255,0.35); }
.badge-pink   { background: rgba(255,60,172,0.12); color: #fff; border: 1px solid rgba(255,60,172,0.35); }
.badge-yellow { background: rgba(255,224,51,0.12); color: #fff; border: 1px solid rgba(255,224,51,0.35); }

/* マテリアルカード用アウトラインバッジ */
.badge-outline-cyan   { border: 1px solid rgba(0,229,255,0.4);   color: rgba(240,240,240,0.8); background: transparent; }
.badge-outline-pink   { border: 1px solid rgba(255,60,172,0.4);  color: rgba(240,240,240,0.8); background: transparent; }
.badge-outline-yellow { border: 1px solid rgba(255,224,51,0.4);  color: rgba(240,240,240,0.8); background: transparent; }
.badge-outline-white  { border: 1px solid rgba(240,240,240,0.4); color: var(--text); background: transparent; }

/* ââ GRID UTILS ââ */
/* é»éæ¯ã«ã©ã : 1100px / 1.618 â 680px â 2ã«ã©ã minmax */
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.618rem; }
/* ç½éæ¯ã«ã©ã : 1100px / 3 â 340px â 3ã«ã©ã minmax */
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.414rem; align-items: stretch; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; }

/* ââ SPEC TABLE ââ */
.spec-table { width: 100%; border-collapse: collapse; }
.spec-table tr { border-bottom: 1px solid var(--border); }
.spec-table tr:last-child { border-bottom: none; }
.spec-table td { padding: 10px 0; font-size: 13px; }
.spec-table td:first-child { color: var(--muted); width: 45%; }
.spec-table td:last-child { font-weight: 700; color: var(--text); text-align: right; }

/* ââ æ¥æ¬èªãã­ã¹ãæãè¿ãå¶å¾¡ ââ */
.section-sub,
.step-desc,
.tl-desc,
.feat-desc,
.price-desc,
.why-desc,
.mat-desc,
.faq-a,
.hero-sub,
.page-sub,
.why-desc,
.info-card-sub,
.form-sub {
  word-break: normal;
  overflow-wrap: break-word;
  line-height: 1.8;
}
.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--r);
  overflow: hidden;
  align-items: stretch;
}
.step { background: var(--card); padding: 1.5rem 1.25rem; position: relative; display: flex; flex-direction: column; }
.step-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 42px;
  line-height: 1;
  color: var(--border);
  margin-bottom: .5rem;
}
.step-title { font-size: 14px; font-weight: 800; color: var(--text); margin-bottom: .25rem; }
.step-desc { font-size: 13px; color: var(--muted); line-height: 1.6; overflow-wrap: break-word; word-break: normal; }

/* ã¿ã¤ã ã©ã¤ã³ï¼ã¢ãã¤ã«å°ç¨ï¼ */
.steps-timeline { display: none; }
.tl-item {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 0 1rem;
  position: relative;
}
.tl-item + .tl-item { margin-top: 0; }
.tl-left { display: flex; flex-direction: column; align-items: center; }
.tl-num {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--card);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 16px;
  color: var(--cyan);
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}
.tl-line {
  width: 1px;
  flex: 1;
  background: var(--border);
  margin: 4px 0;
  min-height: 20px;
}
.tl-item:last-child .tl-line { display: none; }
.tl-right { padding-bottom: 1.5rem; }
.tl-title { font-size: 15px; font-weight: 800; color: var(--text); margin-bottom: .3rem; line-height: 1.3; padding-top: 7px; }
.tl-desc { font-size: 14px; color: var(--muted); line-height: 1.65; }

/* ââ FORM ââ */
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-size: 12px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); margin-bottom: .5rem; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-family: 'Nunito', sans-serif;
  font-size: 14px;
  padding: 12px 16px;
  transition: border-color .2s;
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--cyan); }
.form-group select option { background: var(--dark); }
.form-group textarea { resize: vertical; min-height: 120px; }

/* ââ FOOTER ââ */
footer {
  border-top: 1px solid var(--border);
  padding: 2.5rem clamp(1rem,5vw,3rem);
  text-align: center;
}
.footer-logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 22px;
  letter-spacing: 3px;
  background: linear-gradient(90deg, var(--cyan), var(--pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: .75rem;
}
footer p { font-size: 12px; color: var(--muted); }
footer p a { white-space: nowrap; }
.footer-trademark { font-size: 11px; color: rgba(240,240,240,0.25); margin-top: .5rem; line-height: 1.7; }

/* ââ ACCENT LINE ââ */
.accent-line {
  display: inline-block;
  width: 40px;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--pink));
  margin-bottom: 1.5rem;
}

/* ââ HERO BG GLOW ââ */
.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .25;
  pointer-events: none;
}

/* ââ RESPONSIVE ââ */
@media (max-width: 640px) {
  /* NAV */
  nav { padding: 0 1rem; }
  .nav-links { display: none; }
  .hamburger { display: flex; }

  /* HEROï¼index.htmlï¼ */
  .hero { min-height: calc(100svh - 60px); padding: 2rem 1.25rem; }
  .hero-sub { text-align: center; }
  .sp-br { display: inline; } /* スマホのみ改行 */
  .hero-title {
    font-size: clamp(52px, 16vw, 72px);
    letter-spacing: 2px;
  }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { text-align: center; justify-content: center; width: 100%; min-width: unset; }

  /* PAGE HEROï¼åãµã¼ãã¹ãã¼ã¸ï¼ */
  .page-hero { padding: 4rem 1.25rem 3rem; overflow: hidden; }
  .page-title { font-size: clamp(36px, 11vw, 56px); letter-spacing: 1px; }
  .stat-row { gap: 1.25rem; }
  .stat-num { font-size: 26px; }

  /* SECTIONS */
  .section { padding: 3rem 1.25rem; }

  /* GRIDS â 1ã«ã©ã  */
  .grid-2,
  .grid-3,
  .grid-4 { grid-template-columns: 1fr; }

  /* why-card ãã­ã¹ãæº¢ãé²æ­¢ */
  .why-card { min-width: 0; overflow: hidden; }
  .why-desc { overflow-wrap: break-word; }

  /* STEPSï¼æ¨ªã°ãªããï¼â ã¢ãã¤ã«ã§ã¯éè¡¨ç¤º */
  .steps { display: none; }

  /* ã¿ã¤ã ã©ã¤ã³ â ã¢ãã¤ã«ã®ã¿è¡¨ç¤º */
  .steps-timeline { display: block; }

  /* SPEC / ä»æ§ã»ã¯ã·ã§ã³ã®grid â ç¸¦ç©ã¿ */
  [style*="grid-template-columns:1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }

  /* SERVICE CARDSï¼indexï¼ */
  .service-card-title { font-size: 26px; }

  /* PRICING CARDS â 1ã«ã©ã  */
  .grid-2[style*="max-width:700px"] { grid-template-columns: 1fr; }

  /* SECTION TITLE */
  .section-title { font-size: 32px; }

  /* BUTTONS */
  .btn { padding: 12px 20px; font-size: 13px; }

  /* CTA BANDï¼indexï¼ */
  .cta-band { margin: 0 1rem 3rem; padding: 3rem 1.25rem; }

  /* FOOTER */
  footer { padding: 2rem 1.25rem; }

  /* SHEET PREVIEW */
  .sheet-preview { padding: 1.5rem 1rem; }

  /* CONTACT */
  .contact-wrap { padding: 2.5rem 1.25rem; }
  .form-card { padding: 1.5rem 1.25rem; }
  .form-row { grid-template-columns: 1fr; }

  /* 3D PRINT spec-grid â 2ã«ã©ã ç¶­æ */
  .spec-grid { grid-template-columns: 1fr 1fr; }

  /* mat-card grid â 1ã«ã©ã  */
  .grid-3 .mat-card { width: 100%; }

  /* RADIO GROUP */
  .radio-group { gap: .5rem; }
  .radio-label { font-size: 12px; padding: 7px 12px; }

  /* UPLOAD ZONE */
  .upload-zone { padding: 1.5rem 1rem; }
}


/* ── reCAPTCHA badge fix ── */
/* overflow-x:clip on html/body can hide position:fixed badge in some browsers */
.grecaptcha-badge {
  visibility: visible !important;
  opacity: 1 !important;
  z-index: 9999 !important;
}

/* ── UTILITY CLASSES ── */
/* 大きい要素用（タイトル・数字・section-label）*/
.text-cyan   { color: var(--cyan); }
.text-yellow { color: var(--yellow); }
.text-pink   { color: var(--pink); }

/* 小さいテキスト用（リスト・バッジ・本文中の強調）*/
.text-cyan-sm   { color: var(--cyan-soft); }
.text-yellow-sm { color: var(--yellow-soft); }
.text-pink-sm   { color: var(--pink-soft); }

.mt-2  { margin-top: 2rem; }
.mt-15 { margin-top: 1.5rem; }

/* グレー帯セクション ラッパー */
.section-alt {
  background: var(--card);
  padding: 4rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
/* .section-alt 内コンテナ */
.section-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 clamp(1rem,5vw,3rem);
}

/* 注記テキスト */
.note-text {
  font-size: 13px;
  color: var(--muted);
  margin-top: 1.5rem;
  line-height: 1.8;
}

/* FAQリストラッパー */
.faq-list {
  margin-top: 2rem;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

/* セクション末尾CTAブロック */
.section-cta {
  margin-top: 2rem;
  text-align: center;
}

/* フッター内アンダーラインリンク */
.footer-link {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* 料金案内 注記ブロック */
.price-note {
  margin-top: 1.5rem;
  padding: 1.5rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r);
  font-size: 13px;
  color: var(--muted);
  line-height: 1.8;
}

/* hero ボタン幅揃え */
.hero-actions .btn { min-width: 220px; justify-content: center; }

.spec-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 2rem;
  align-items: start;
}
.img-placeholder {
  width: 100%;
  aspect-ratio: 1/1;
  background: var(--darker);
  border: 1px solid var(--border);
  border-radius: var(--r);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: .75rem;
}
.spec-photo {
  width: 100%;
  max-width: 280px;
  height: auto;
  border-radius: var(--r);
  display: block;
}
.icon-lg  { font-size: 32px; }
.caption  { font-size: 13px; color: var(--muted); }
.warn-text {
  font-size: 11px;
  color: rgba(255,100,100,0.85);
  line-height: 1.6;
  display: block;
  margin-top: .3rem;
}
.mb-15 { margin-bottom: 1.5rem; }
.price-grid-sm {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px,1fr));
  gap: 1.414rem;
  margin: 2rem auto 0;
  max-width: 680px;
  text-align: left;
}
.cta-sub {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 1rem;
}
@media (max-width: 640px) {
  .spec-layout { grid-template-columns: 1fr; }
  .price-grid-sm { max-width: 100%; }
}

/* ── 共通スピナー用 keyframes（sticker-editor/order/control で参照） ── */
@keyframes spin { to { transform: rotate(360deg); } }

/* ── FULFILLMENT BANNER (共通・index/sticker/その他で使用) ── */
.fulfill-banner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  background: var(--card);
  border: 1px solid rgba(255,224,51,0.15);
  border-radius: var(--r);
  padding: 1.75rem 2rem;
  margin-top: 1.5rem;
  text-decoration: none;
  color: var(--text);
  transition: transform .25s, border-color .25s;
  position: relative;
  overflow: hidden;
}
.fulfill-banner:hover {
  transform: translateY(-4px);
  border-color: rgba(255,224,51,0.5);
}
.fulfill-banner::before {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 160px; height: 160px;
  background: var(--yellow);
  border-radius: 50%;
  filter: blur(60px);
  opacity: .25;
}
.fulfill-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: rgba(255,224,51,0.10);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
}
.fulfill-body { flex: 1; position: relative; z-index: 1; }
.fulfill-tag {
  font-size: 10px; font-weight: 800;
  letter-spacing: 3px; text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: .15rem;
}
.fulfill-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 22px; letter-spacing: 1px;
}
.fulfill-desc { font-size: 14px; color: var(--muted); line-height: 1.7; margin-top: .25rem; }
.fulfill-new {
  font-size: 9px; font-weight: 800;
  background: var(--yellow); color: #1a1000;
  padding: 2px 8px; border-radius: 4px;
  letter-spacing: .5px; flex-shrink: 0;
}
.fulfill-arrow {
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  color: var(--muted);
  transition: background .2s, border-color .2s;
  flex-shrink: 0;
}
.fulfill-banner:hover .fulfill-arrow { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.15); }
@media (max-width: 640px) {
  .fulfill-banner { flex-direction: column; text-align: center; gap: 1rem; padding: 1.5rem; }
  .fulfill-arrow { display: none; }
}
