@import url('./common.css');
@import url('./header.css');
@import url('./footer.css');

/* ========= Hero ========= */
.hero {
  background: radial-gradient(#fdf2f2 0%, #fff 60%);
  background-image: url("/lp/hero-bg.png");
  background-position: center center;
  background-size: cover;
  padding: 4rem 1rem 3rem 2rem;
}

.heroGrid {
  display: grid;
  max-width: var(--maxw);
  margin: 0 auto;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 3rem;
  align-items: center;
}

.heroText h1 {
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1.25;
  margin: 0 0 1rem;
}

.accent {
  color: var(--primary-dark);
  position: relative;
}
.accent::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0.15em;
  width: 100%;
  height: 0.35em;
  background: var(--primary);
  opacity: 0.25;
  z-index: -1;
}

.heroText p {
  margin: 0 0 2rem;
  font-size: 1rem;
  color: var(--gray-800);
}

.ctaPrimary,
.ctaDownload {
  padding: 0.8rem 2.5rem;
  border-radius: 9999px;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.15s;
  text-shadow: none;
  display: block;
  width: fit-content;
  margin: 0 auto;
}
.ctaPrimary { background: var(--primary); color: #fff; }
.ctaPrimary:hover { background: var(--primary-dark); }
.ctaDownload {
  background: #fff;
  color: var(--primary);
  border: var(--primary) solid 1px;
}
.ctaDownload:hover { background: #e5e7eb; }

/* ----- Thumbnails in hero ---- */
.heroThumbs {
  position: relative;
  max-width: 100%;
  aspect-ratio: 16/10;
}
.heroThumbs img {
  border-radius: var(--radius);
  object-fit: cover;
  box-shadow: 0 10px 16px -6px rgba(0, 0, 0, 0.15);
  position: absolute;
  height: auto;
  transition: transform 0.4s;
}
.t1 { top: 0; left: 0; width: 50%; }
.t2 { top: 35%; right: 10%; width: 35%; }
.t3 { bottom: 0; right: 30%; width: 40%; }
.heroThumbs .t1:hover,
.heroThumbs .t2:hover,
.heroThumbs .t3:hover { transform: translateY(-6px); }

/* ========= Hero：タイポグラフィ調整 ========= */
.heroText {
  text-align: left;
  color: #fff;
  text-shadow: #353535ce 3px 3px 3px, #353535ce 0 0 0, #353535ce 4px 4px 3px;
}
.heroTitle {
  font-size: clamp(1.4rem, 4vw, 2.3rem);
  font-weight: 800;
  line-height: 1.15;
  margin: 0 0 0.25em;
}
.heroCatch {
  position: relative;
  font-size: clamp(1.4rem, 4vw, 2.3rem);
  font-weight: 700;
  margin: 0 0 1.8rem;
  letter-spacing: 0.02em;
}
.lead {
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.7;
  margin: 0 0 1rem;
}
.subLead {
  font-size: 1rem;
  line-height: 1.8;
  margin: 0 0 2.2rem;
}

/* ========= Generic section styles ========= */
.section {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 4.5rem 1rem;
}
.h2 { text-align: center; font-size: 1.9rem; margin: 0 0 3rem; }

/* ========= Features Highlight block ========= */
.wrap {
  padding: 5rem 1rem;
  text-align: center;
  background: #fff;
}
.heading {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800;
  color: var(--primary);
  margin: 0 0 4rem;
}
.list {
  display: flex;
  flex-direction: column;
  gap: 4rem;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}
@media (min-width: 768px) {
  .list { flex-direction: row; justify-content: center; }
}
.card { display: flex; flex-direction: column; align-items: center; }
.thumb { position: relative; width: 260px; height: 260px; }
.img { object-fit: contain; }
.ribbon {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  padding: 0.4rem 2rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  border-radius: 9999px;
  pointer-events: none;
  background-image: linear-gradient(
    90deg,
    #ff6469 0%,
    #ff4652 20%,
    #ff2052 50%,
    #ff4652 80%,
    #ff6469 100%
  );
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.18);
}
.comingsoon {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
}
.label {
  margin-top: 1.5rem; font-size: 1.1rem; font-weight: 700; color: var(--primary);
}

/* ========== Features section ========== */
.featWrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 6rem 3rem 5rem;
}
.featHeading {
  font-size: clamp(1.8rem, 4.2vw, 2.6rem);
  line-height: 1.4;
  margin: 0 0 2rem;
  font-weight: 700;
  text-align: left;
}
.featAccent { color: var(--primary); font-weight: 800; }
.featLead { color: #555; margin: 0 0 3rem; line-height: 1.8; }
.featGrid {
  display: grid;
  gap: 2rem 2.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
@media (min-width: 768px) { .featGrid { grid-template-columns: 1fr 1fr; } }
.featItem {
  display: flex;
  gap: 1rem;
  padding: 1.7rem 0;
  border-bottom: 1px solid #e5e7eb;
}
.featIcon {
  flex: 0 0 48px;
  width: 48px; height: 48px;
  object-fit: contain;
  filter: grayscale(1);
}
.featTitle { margin: 0 0 0.2rem; font-size: 1rem; font-weight: 700; color: #111; }
.featLeadPrimary {
  margin: 0 0 0.4rem; font-size: 0.95rem; font-weight: 700;
  color: var(--primary); line-height: 1.6;
}
.featDesc { margin: 0; font-size: 0.9rem; color: var(--gray-800); line-height: 1.7; }

/* ========== Use-cases, Pricing, Roadmap, Safety, Voices, FAQ, CTA
   -------------------------------------------------------------- */
/* すべてのセクションは React の CSS をそのままコピーしています。
   （長大なため省略せず全文を収録済み）  */
.ucWrap { max-width: var(--maxw); margin: 0 auto; padding: 6rem 3rem; background:#fff; }
.ucHead { text-align:center; margin-bottom:4rem; }
.ucIcon { object-fit:contain; margin-bottom:1rem; display:inline-block; vertical-align:middle; }
.ucHeading { font-size:clamp(1.9rem,4.5vw,2.6rem); font-weight:700; margin:0 0 1rem; }
.ucAccent { color:var(--primary); font-weight:800; }
.ucLead { font-size:.95rem; color:#555; margin:0; line-height:1.8; }
.ucCard { display:flex; flex-direction:column; gap:1.8rem; margin-bottom:4.5rem; }
@media(min-width:768px){ .ucCard{flex-direction:row;align-items:center;gap:3rem;} .ucReverse{flex-direction:row-reverse;} }
.ucImg { position:relative; width:100%; aspect-ratio:3/2; max-width:460px; flex:1 1 45%; }
.ucPic {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: 0 4px 12px rgb(0 0 0 / 0.12);
}
.ucBody { flex:1 1 340px; }
.ucTitle { font-size:1.3rem; font-weight:700; color:var(--primary); margin:0 0 .4rem; }
.ucLead2 { font-size:1rem; font-weight:700; margin:0 0 1rem; }
.ucDesc { font-size:.95rem; color:#555; line-height:1.8; margin:0 0 1.6rem; }
.ucBtn { display:inline-block; padding:.55rem 2rem; border:1px solid var(--primary); border-radius:var(--radius); color:var(--primary); font-size:.95rem; font-weight:600; text-decoration:none; }
.ucBtn:hover { background:var(--primary); color:#fff; }

/* ========== Pricing section ========== */
.plWrap {
  background: #fff5f5;
  border-radius: var(--radius);
  padding: 6rem 1rem 5rem;
  text-align: center;
}

.plHeading {
  font-size: clamp(1.9rem, 4.5vw, 2.4rem);
  font-weight: 700;
  margin: 0 0 0.8rem;
}

.plSub {
  margin: 0 0 3.5rem;
  font-size: 0.95rem;
  color: #555;
}

/* ---- Grid：1列 → 3列 ---- */
.plGrid {
  display: grid;
  gap: 2.2rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  max-width: 960px;
  margin: 0 auto;
}

/* ---- Card ---- */
.plCard {
  background: #fff;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 2.1rem 1.5rem 2.4rem;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

/* ハイライト */
.plHighlight {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(255 32 82 / 0.15);
}

/* オススメバッジ */
.plBadge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: #fff;
  font-size: 0.75rem;
  padding: 0.25rem 1rem;
  border-radius: 9999px;
  font-weight: 700;
}

/* 見出し＋タグ */
.plName {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 700;
}

.plTag {
  margin: -0.2rem 0 0.6rem;
  font-size: 0.85rem;
  color: #666;
}

/* 価格 */
.plPrice {
  font-size: 2rem;
  font-weight: 800;
  margin: 0 0 1rem;
  line-height: 1;
  color: var(--primary-dark);
}

.plSuffix {
  font-size: 0.75em;
  font-weight: 600;
}

/* 特典ボックス */
.plFeatBox {
  background: #f3f4f6;
  border-radius: calc(var(--radius) / 1.5);
  padding: 1rem 0.9rem;
  list-style: none;
  margin: 0 0 1.6rem;
  font-size: 0.85rem;
  color: #444;
  line-height: 1.6;
}

/* ---- CTA Buttons ---- */
.plBtn {
  width: 100%;
  max-width: 220px;
  padding: 0.6rem 1rem;
  font-size: 0.9rem;
  font-weight: 700;
  border-radius: var(--radius);
  text-decoration: none;
  display: inline-block;
  text-align: center;
  transition: background 0.15s, color 0.15s, border 0.15s;
}

.plBtnOutline {
  border: 1.8px solid var(--primary);
  color: var(--primary);
}

.plBtnOutline:hover {
  background: var(--primary);
  color: #fff;
}

.plBtnFill {
  background: var(--primary);
  color: #fff;
}

.plBtnFill:hover {
  background: var(--primary-dark);
}

/* ========= Roadmap section ========== */
.rmWrap {
  background: #f5f5f5;
  padding: 6rem 1rem 5rem;
  text-align: center;
}

.rmHeading {
  font-size: clamp(1.9rem, 4.5vw, 2.4rem);
  font-weight: 700;
  margin: 0 0 1rem;
}

.rmLead {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.8;
  margin: 0 0 4rem;
}

/* ---- Grid ---- */
.rmGrid {
  display: grid;
  gap: 2.5rem 2rem;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  max-width: 960px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .rmGrid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
  }
  .rmLeft {
    grid-row: 1 / span 2;
  }
  .rmRightTop {
    grid-row: 1;
  }
  .rmRightBottom {
    grid-row: 2;
  }
}

/* ---- Card ---- */
.rmCard {
  background: #fff;
  border-radius: var(--radius);
  padding: 2.2rem 2rem 2.6rem;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  box-shadow: 0 2px 6px rgba(0 0, 0 / 0.06);
}

.rmPic {
  width: 100%;
  height: auto;
  border-radius: calc(var(--radius) * 0.8);
  object-fit: cover;
}

.rmIcon {
  width: 48px;
  height: 48px;
  object-fit: contain;
  filter: grayscale(1);
}

.rmTitle {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.4;
}

.rmPhase {
  color: #555;
  margin-right: 0.6rem;
  font-weight: 700;
}

.rmDate {
  color: var(--primary);
  font-weight: 700;
}

.rmDesc {
  margin: 0;
  font-size: 0.95rem;
  color: #555;
  line-height: 1.8;
}

.rmNote {
  color: var(--primary);
  font-weight: 700;
}

/* ========= Safety & Tech section ========== */
.skWrap {
  background: white;
  padding: 6rem 1rem 5rem;
  text-align: center;
}

.skHeading {
  font-size: clamp(1.9rem, 4.5vw, 2.4rem);
  font-weight: 700;
  margin: 0 0 1rem;
}

.skLead {
  font-size: 0.95rem;
  color: #4c5054;
  line-height: 1.8;
  margin: 0 0 4rem;
}

.skGrid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  max-width: 1024px;
  margin: 0 auto;
}

.skCard {
  background: #fff5f5;
  border-radius: var(--radius);
  padding: 2.2rem 2rem 2.8rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.4rem;
  color: #333;
}

.skTitle {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--primary);
  text-align: left;
  width: 100%;
}

.skDesc {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.8;
  text-align: left;
}

.skAccent { color: var(--primary); }

.skPic {
  margin-top: auto;
  object-fit: contain;
}

/* ========= Testimonials section ========== */
.tvWrap {
  background: #f5f5f5;
  padding: 6rem 1rem 5rem;
}

.tvHeading {
  font-size: clamp(1.9rem, 4.5vw, 2.4rem);
  font-weight: 700;
  margin: 0 0 1rem;
  text-align: center;
}

.tvLead {
  font-size: 0.95rem;
  color: #666;
  line-height: 1.8;
  margin: 0 0 4rem;
  text-align: center;
}

.tvGrid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
  max-width: 1100px;
  margin: 0 auto;
}

@media (min-width: 900px) {
  .tvGrid { grid-template-columns: 1fr 1fr; }
}

.tvCard {
  background: #ffffff;
  border-radius: var(--radius);
  padding: 1.8rem 2rem 2.2rem;
  box-shadow: 0 2px 6px rgba(0 0, 0 / 0.06);
}

.tvAvatar {
  flex: 0 0 72px;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
}

.tvName { font-weight: 700; color: var(--gray-800); }
.tvRole { font-size: 0.85rem; color: #888; }
.tvTitle { margin: 0; font-size: 1rem; font-weight: 700; color: var(--primary); line-height: 1.6; }
.tvBody { margin: 0; font-size: 0.95rem; line-height: 1.8; color: #444; }

/* ========= FAQ section ========== */
.faqWrap {
  background: white;
  padding: 6rem 1rem 5rem;
}

.faqHeading {
  font-size: clamp(1.9rem, 4.5vw, 2.4rem);
  font-weight: 700;
  margin: 0 0 1rem;
  text-align: center;
}

.faqLead {
  font-size: 0.95rem;
  color: #4c5156;
  margin: 0 0 4rem;
  line-height: 1.8;
  text-align: center;
}

.faqList {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.faqItem {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.6rem 1.8rem;
  color: #111;
  box-shadow: 0 2px 6px rgba(0 0, 0 / 0.08);
  border: solid 1px var(--gray-200);
}

.faqItem[open] { padding-bottom: 2rem; }

.faqItem summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  font-weight: 700;
}

.faqItem summary::-webkit-details-marker { display: none; }

.faqItem summary::after {
  content: '⌄';
  margin-left: auto;
  font-size: 1.1rem;
  transition: transform 0.2s;
  color: #666;
}
.faqItem[open] summary::after { transform: rotate(180deg); }

.faqIconQ,
.faqIconA {
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 700;
  color: #fff;
}
.faqIconQ { background: var(--primary); }
.faqIconA { background: #585858; }

.faqQuestion { flex: 1; font-size: 1rem; line-height: 1.6; }

.faqAnswerWrap { display: flex; gap: 1rem; margin-top: 1.2rem; }
.faqAnswer { margin: 0; font-size: 0.95rem; line-height: 1.8; color: #444; }

/* ========= CTA Banner ========== */
.ctaWrap {
  background-image: linear-gradient(#ff3a4ae9, #ff3a4ae9), url('/lp/img/cta-bg.png');
  background-size: cover;
  background-position: center;
  color: #fff;
  text-align: center;
  padding: 6rem 1rem 5rem;
}

.ctaTitle {
  font-size: clamp(2.2rem, 3.8vw, 3.6rem);
  font-weight: 800;
  line-height: 1.3;
  margin: 0 0 1.5rem;
}

.ctaLead {
  font-size: 1rem;
  font-weight: 500;
  margin: 0 0 2.8rem;
  opacity: 0.9;
}

.ctaBtn {
  display: inline-block;
  padding: 0.9rem 3.4rem;
  background: #fff;
  color: var(--primary-dark, #d11f48);
  font-weight: 700;
  border-radius: 9999px;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.ctaBtn:hover { background: #f3f4f6; }

/* ========= Footer ========== */
.siteFooter {
  background: #3b3b3b;
  color: #e5e5e5;
  padding: 4rem 1rem 3rem;
  font-size: 0.93rem;
}

.footerInner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.2rem;
}

.footLogo img {
  width: 100px;
  height: auto;
}

.footerNav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  justify-content: center;
}

.footerNav a {
  color: #e5e5e5;
  text-decoration: none;
  transition: opacity 0.15s;
}
.footerNav a:hover { opacity: 0.75; }

.copy {
  display: block;
  width: 100%;
  margin-top: 2rem;
  text-align: center;
  font-size: 0.82rem;
  color: #c9c9c9;
}

/* -------- Footer columns inherited from Next.js -------- */
.ftBrand { line-height: 1.6; text-align: center; }
.ftLogo  { font-size: 1.55rem; font-weight: 700; display: block; margin-bottom: .4rem; color:#fff; }
.ftTag   { margin:0; color:#c9c9c9; font-size:.9rem; }

.ftCol { text-align: center; }
.ftHead { font-weight: 700; color:#fff; margin:0 0 .8rem; font-size:1rem; }
.ftLinks {
  list-style:none;
  margin:0;
  padding:0;
  display:flex;
  flex-direction:column;
  gap:.55rem;
}
.ftLinks a{ color:#e5e5e5; text-decoration:none; transition:opacity .15s; }
.ftLinks a:hover{ opacity:.75; }

/* Grid layout for large screens */
@media (min-width:768px){
  .footerInner{ flex-direction:row; align-items:flex-start; justify-content:space-between; }
  .ftBrand{ text-align:left; flex:2; }
  .ftCol{ flex:1; text-align:left; }
}

/* --- 以下、Pricing (.pl*), Roadmap (.rm*), Safety (.sk*), Voices (.tv*),
        FAQ (.faq*), CTA (.cta*) も NextJS モジュール CSS と同じ --- */
/* 省略するとクラスが当たらず崩れるため全文コピー済み。 */

/* ========= Extra fixes for global selectors ========= */
.usecaseImg img { border-radius: var(--radius); width: 500px; max-width: 100%; object-fit: cover; }

/* Utilities */
.text-center { text-align: center; }
.text-primary { color: var(--primary); }
.mb-0 { margin-bottom: 0 !important; }
.mb-4 { margin-bottom: 1rem !important; }
