@charset "UTF-8";

/* ==========================================================================
   SIMPLE HP PAGE / REMEDORA STYLE
   ========================================================================== */

.simple-hp-page {
  padding-top: var(--header-height);
  background: var(--c-white);
  color: var(--c-dark);
}

/* 共通見出し */
.simple-hp-heading {
  margin-bottom: 56px;
  text-align: center;
}
.simple-hp-heading__en {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--c-accent);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.simple-hp-heading__ja {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 900;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--c-black);
}
.simple-hp-heading__desc {
  margin-top: 12px;
  font-size: 0.9rem;
  color: var(--c-gray);
}

/* ==========================================================================
   1. HERO
   ========================================================================== */
.simple-hp-hero {
  padding: 80px 24px;
}
.simple-hp-hero__inner {
  display: flex;
  flex-direction: column;
  gap: 48px;
}
@media (min-width: 769px) {
  .simple-hp-hero__inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
  .simple-hp-hero__content { flex: 1.2; padding-right: 40px; }
  .simple-hp-hero__visual { flex: 0.8; }
}

.simple-hp-hero__eyebrow {
  margin: 0 0 16px;
  color: var(--c-accent);
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}
.simple-hp-hero__title {
  margin: 0 0 24px;
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 900;
  line-height: 1.3;
  letter-spacing: -0.02em;
}
.simple-hp-hero__lead {
  margin: 0 0 40px;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.9;
  color: var(--c-dark);
}

.simple-hp-hero__pricebox {
  display: inline-flex;
  flex-direction: column;
  border-left: 4px solid var(--c-black);
  padding-left: 20px;
  margin-bottom: 40px;
}
.simple-hp-hero__label {
  color: var(--c-accent);
  font-size: 0.85rem;
  font-weight: 900;
  margin-bottom: 4px;
}
.simple-hp-hero__price {
  font-family: var(--font-mono);
  font-size: 2.5rem;
  font-weight: 900;
  line-height: 1;
  color: var(--c-black);
}
.simple-hp-hero__price span {
  font-family: var(--font-base);
  font-size: 1rem;
  font-weight: 700;
  margin-left: 4px;
}
.simple-hp-hero__monthly {
  margin: 8px 0 0;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--c-dark);
}

/* 共通スマホモックアップ */
.simple-hp-mockup {
  width: 100%;
  max-width: 280px;
  aspect-ratio: 9 / 19;
  margin: 0 auto;
  border: 8px solid var(--c-black);
  border-radius: 32px;
  background: #f8fafc;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(15, 44, 89, 0.1);
}
.simple-hp-mockup::before {
  content: "";
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 40%; height: 20px;
  background: var(--c-black);
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
  z-index: 2;
}
/* モックアップ内画面（外枠・切り抜き） */
.mockup-screen {
  width: 100%; 
  height: 100%;
  background: var(--c-white);
  position: relative;
  overflow: hidden; /* はみ出したiframeを隠す */
}

/* iframeを包むコンテナ（ここで解像度と倍率を制御） */
.iframe-wrapper {
  /*
    幅を400pxに設定（375px + スクロールバー分の余裕25px）
    scale(0.704)後: 400 * 0.704 = 281.6px → .mockup-screen の264pxで右側がクリップされる
    スクロールバー位置: (400-17) * 0.704 = 270px > 264px → クリップ範囲外になり非表示
  */
  width: 400px;
  height: 792px;
  transform-origin: top left;
  transform: scale(0.704);
  position: absolute;
  top: 0;
  left: 0;
}

/* iframe本体 */
.iframe-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}
.hero-mockup { transform: rotate(-2deg); }

/* ==========================================================================
   2. SCOPE (このプランでできること) - 縦整理
   ========================================================================== */
.simple-hp-scope__list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.scope-row {
  display: flex;
  align-items: flex-start;
  padding: 32px 0;
  border-bottom: 1px solid rgba(15, 44, 89, 0.1);
}
.scope-row:last-child {
  border-bottom: none;
}
.scope-row__num {
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--c-accent);
  margin-right: 32px;
  line-height: 1;
  padding-top: 4px;
}
.scope-row__text strong {
  display: block;
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--c-black);
  margin-bottom: 12px;
}
.scope-row__text p {
  margin: 0;
  color: var(--c-dark);
  line-height: 1.8;
  font-size: 0.95rem;
}
@media (max-width: 768px) {
  .scope-row { flex-direction: column; padding: 24px 0; }
  .scope-row__num { margin-bottom: 12px; }
}

/* ==========================================================================
   3. DEMO (見せ場・横スクロール)
   ========================================================================== */
.simple-hp-demo {
  overflow: hidden;
  padding-bottom: 100px;
}
.simple-hp-demo__scroll {
  width: 100%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 24px;
  /* スクロールバー非表示: 全ブラウザ対応 */
  scrollbar-width: none;        /* Firefox */
  -ms-overflow-style: none;     /* IE / Legacy Edge */
  /* margin trick: スクロールバー分だけ下に押し出して親の overflow:hidden でクリップ */
  padding-bottom: 40px;
  margin-bottom: -40px;
}
.simple-hp-demo__scroll::-webkit-scrollbar {
  display: none;   /* Chrome / Safari / Edge Chromium */
  width: 0;
  height: 0;
}

.demo-track {
  display: flex;
  gap: 32px;
  padding: 0 calc(50vw - 140px); /* 画面中央にスナップさせる余白 */
}
.demo-item {
  scroll-snap-align: center;
  flex: 0 0 auto;
  width: 280px;
}
.demo-label {
  text-align: center;
  margin-top: 24px;
  font-weight: 900;
  font-size: 1rem;
  color: var(--c-black);
}
.demo-spacer {
  flex: 0 0 1px; /* 右端のスクロール余白用 */
}

/* PC: items align with container left edge */
@media (min-width: 900px) {
  .demo-track {
    padding-left: max(24px, calc((100vw - 1080px) / 2 + 24px));
    padding-right: 60px;
  }
}

/* ==========================================================================
   4. COMPARE (比較)
   ========================================================================== */
.simple-hp-compare__wrapper {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
@media (min-width: 769px) {
  .simple-hp-compare__wrapper {
    flex-direction: row;
    align-items: stretch;
  }
}

.compare-card {
  flex: 1;
  background: var(--c-white);
  border-radius: 8px;
  padding: 40px 32px;
}

/* 自社プラン（強く見せる） */
.compare-card.is-remedora {
  border: 3px solid var(--c-black);
  box-shadow: 0 16px 32px rgba(15, 44, 89, 0.08);
  position: relative;
  z-index: 2;
}
/* 他社（静かに見せる） */
.compare-card.is-general {
  border: 1px solid var(--c-border);
  background: transparent;
}

.compare-card__header {
  text-align: center;
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--c-border);
}
.compare-card.is-remedora .compare-card__header {
  border-bottom-color: var(--c-black);
}
.compare-card__header h3 {
  font-size: 1.3rem;
  margin-bottom: 8px;
}
.compare-card__header p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--c-gray);
  font-weight: 700;
}

.compare-list {
  list-style: none;
  padding: 0; margin: 0;
}
.compare-list li {
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
}
.compare-list span {
  font-size: 0.8rem;
  color: var(--c-gray);
  margin-bottom: 4px;
  font-weight: 700;
}
.compare-list strong {
  font-size: 1.1rem;
  color: var(--c-black);
}
.compare-list small { font-size: 0.8rem; color: var(--c-accent); font-weight: bold; }
.compare-list .compare-fit {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px dashed var(--c-border);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ==========================================================================
   5. PRICE & CONDITIONS
   ========================================================================== */
.price-box {
  max-width: 800px;
  margin: 0 auto 64px;
  background: var(--c-white);
  border: 1px solid var(--c-border);
}

.price-box__main {
  padding: 48px 32px;
  text-align: center;
  border-bottom: 1px solid var(--c-border);
}
.price-badge {
  display: inline-block;
  background: var(--c-black);
  color: var(--c-white);
  padding: 6px 16px;
  font-size: 0.85rem;
  font-weight: 900;
  margin-bottom: 16px;
}
.price-number {
  color: var(--c-black);
  margin-bottom: 16px;
}
.price-number .num {
  font-family: var(--font-mono);
  font-size: clamp(3rem, 6vw, 4.5rem);
  font-weight: 900;
  line-height: 1;
}
.price-number .unit {
  font-size: 1.2rem;
  font-weight: 700;
  margin-left: 8px;
}
.price-note {
  margin: 0;
  font-size: 0.95rem;
  color: var(--c-gray);
  font-weight: 700;
}

.price-conditions {
  display: flex;
  flex-direction: column;
}
@media (min-width: 769px) {
  .price-conditions { flex-direction: row; }
}
.condition-item {
  flex: 1;
  padding: 32px;
  text-align: center;
}
.condition-item:first-child {
  border-bottom: 1px solid var(--c-border);
}
@media (min-width: 769px) {
  .condition-item:first-child { border-bottom: none; border-right: 1px solid var(--c-border); }
}
.condition-item h4 {
  font-size: 0.9rem;
  color: var(--c-gray);
  margin-bottom: 8px;
}
.condition-item p strong {
  font-size: 1.3rem;
}
.condition-sub {
  display: block;
  margin-top: 8px;
  font-size: 0.8rem;
  color: var(--c-gray);
}

.rules-box {
  max-width: 800px;
  margin: 0 auto;
  padding: 32px;
  background: #f8fafc;
  border-radius: 8px;
}
.rules-box h3 {
  font-size: 1.1rem;
  margin-bottom: 16px;
  text-align: center;
}
.rules-box ul {
  padding-left: 20px;
  margin: 0;
  color: var(--c-dark);
  font-size: 0.95rem;
}
.rules-box li { margin-bottom: 8px; }

/* ==========================================================================
   6. REASON (なぜ作ったのか)
   ========================================================================== */
.reason-content {
  max-width: 720px;
  margin: 0 auto;
}
.reason-content p {
  font-size: 1.05rem;
  line-height: 2;
  margin-bottom: 24px;
}
.reason-content p:last-child { margin-bottom: 0; }

/* ==========================================================================
   7. FLOW (進行フロー)
   ========================================================================== */
.flow-timeline {
  max-width: 600px;
  margin: 0 auto;
}
.flow-step {
  display: flex;
  position: relative;
  padding-bottom: 40px;
}
.flow-step:last-child { padding-bottom: 0; }

/* 線 */
.flow-step::before {
  content: "";
  position: absolute;
  top: 32px;
  left: 15px; /* 丸の中心 */
  width: 2px;
  height: calc(100% - 32px);
  background: rgba(15, 44, 89, 0.1);
}
.flow-step:last-child::before { display: none; }

.flow-step__num {
  flex: 0 0 32px;
  height: 32px;
  background: var(--c-black);
  color: var(--c-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 900;
  margin-right: 24px;
  position: relative;
  z-index: 2;
}
.flow-step__content {
  padding-top: 4px; /* 数字と高さを合わせる */
}
.flow-step__content h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}
.flow-step__content p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--c-dark);
}

/* ==========================================================================
   8. FAQ (アコーディオン)
   ========================================================================== */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  border-top: 1px solid var(--c-border);
}
.faq-item {
  border-bottom: 1px solid var(--c-border);
}
.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 32px 0;
  font-size: 1.1rem;
  font-weight: 900;
  cursor: pointer;
  list-style: none; /* デフォルトの矢印消去 */
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q::after {
  content: "+";
  font-family: var(--font-mono);
  font-size: 1.5rem;
  color: var(--c-gray);
  transition: transform 0.3s;
}
.faq-item[open] .faq-q::after {
  content: "-";
  transform: rotate(180deg);
}
.faq-a {
  padding-bottom: 32px;
  color: var(--c-dark);
  font-size: 0.95rem;
  line-height: 1.8;
  animation: faq-fade 0.4s ease;
}
.faq-a p { margin: 0; }
@keyframes faq-fade {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   9. CTA
   ========================================================================== */
.simple-hp-cta {
  background: var(--c-accent);
  color: var(--c-white);
  padding: 100px 24px;
}
.simple-hp-cta h2 {
  color: var(--c-white);
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  margin-bottom: 16px;
}
.simple-hp-cta p {
  color: rgba(255,255,255,0.8);
  font-size: 1rem;
  margin-bottom: 40px;
}
.simple-hp-cta .cta-btn {
  background: var(--c-white);
  color: var(--c-accent);
  border-color: var(--c-white);
}
.simple-hp-cta .cta-btn:hover {
  background: transparent;
  color: var(--c-white);
}

