/* ============================================================
   Design tokens / カラー変数
   ============================================================ */

/* 公式サイト(ecobike.co.jp)から採取した実測カラー
   green #00a23f / deep #006b39 / band #cfe7ce / amber #fbb71f / yellow #fffb00 / ink #3f3c3c */
:root {
  --green: #00a23f;
  --deep: #006b39;
  --ink: #3f3c3c;
  --pale: #eaf4ea;
  --band: #cfe7ce;
  --amber: #fbb71f;
  --yellow: #fffb00;
  --orange: #f39800;
  --muted: #4f5d56;
  --line: #d5e5d5;
  --white: #fff;
  --shadow: 0 20px 55px rgba(7, 69, 42, .14);
}

/* ============================================================
   Base / ベーススタイル
   ============================================================ */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Noto Sans JP", "Yu Gothic", Meiryo, sans-serif;
  line-height: 1.9;
  letter-spacing: .03em;
  background: #fff;
}

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

a {
  color: inherit;
}

.container {
  width: min(1120px, calc(100% - 48px));
  margin: auto;
}

.section {
  padding: 82px 0;
}

/* ============================================================
   Header / ヘッダー
   ============================================================ */

.site-header {
  position: fixed;
  z-index: 20;
  inset: 0 0 auto;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(0, 0, 0, .06);
}

.header-inner {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand img {
  width: auto;
  height: 28px;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.header-nav a {
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
}

/* ============================================================
   Buttons / ボタン
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 28px;
  border-radius: 999px;
  background: var(--orange);
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  box-shadow: 0 12px 26px rgba(243, 152, 0, .25);
  transition: .2s;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-small {
  min-height: 42px;
  padding: 0 20px;
}

/* ============================================================
   Hero / ヒーロー
   ============================================================ */

.hero {
  position: relative;
  min-height: 720px;
  padding-top: 76px;
  color: #fff;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 76px 0 0;
  background: url('hero.jpg') center/cover no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 76px 0 0;
  background: linear-gradient(90deg, rgba(0, 54, 30, .80) 0%, rgba(0, 77, 42, .66) 44%, rgba(0, 69, 38, .22) 73%, rgba(0, 0, 0, .05) 100%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  min-height: 610px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 400px;
  gap: 56px;
  align-items: flex-start;
  padding-top: 54px;
}

.hero-copy {
  max-width: 780px;
  padding-top: 10px;
}

.hero-topnote {
  margin: 0 0 14px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
}

.hero-title-wrap {
  display: block;
}

.hero-title {
  margin: 0;
  font-size: clamp(50px, 5.9vw, 74px);
  line-height: 1.02;
  letter-spacing: .01em;
  font-weight: 900;
}

.hero-title .dx {
  display: inline-block;
  margin-left: 10px;
  color: transparent;
  -webkit-text-stroke: 2px #fff;
  text-stroke: 2px #fff;
  font-weight: 500;
  letter-spacing: .04em;
}

.hero-leads {
  margin-top: 24px;
}

.hero-leads p {
  margin: 0;
  font-size: clamp(22px, 2.8vw, 30px);
  font-weight: 800;
  line-height: 1.55;
}

.hero-text {
  max-width: 520px;
  font-size: 16px;
  line-height: 1.8;
  margin: 22px 0 0;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-top: 34px;
}

.text-link {
  font-weight: 800;
  text-decoration: none;
}

.text-link span {
  display: inline-block;
  margin-left: 4px;
}

/* ============================================================
   Price card / 料金カード
   ============================================================ */

.price-card {
  align-self: end;
  justify-self: end;
  margin-bottom: 50px;
  width: 400px;
  max-width: 100%;
  padding: 30px 28px;
  border-radius: 24px;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(6px);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.price-badge {
  display: inline-block;
  margin: 0 0 16px;
  padding: 7px 18px;
  border-radius: 999px;
  background: var(--pale);
  color: var(--deep);
  font-weight: 900;
  font-size: 14px;
  line-height: 1.4;
}

/* 金額の代わりに置く見出し。幅に応じて縮むので折り返しが崩れない */
.price-headline {
  margin: 0 0 16px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
  font-size: clamp(22px, 2vw, 27px);
  font-weight: 900;
  line-height: 1.5;
  letter-spacing: .02em;
  color: var(--deep);
}

.price-btn {
  width: 100%;
  margin-top: 22px;
  justify-content: center;
}

.price-copy {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.6;
}

.price-list {
  margin: 20px 0 0;
  padding: 20px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
  display: grid;
  gap: 9px;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--muted);
}

.price-list li {
  position: relative;
  padding-left: 18px;
}

.price-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: .58em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
}

/* ============================================================
   Section headings / 見出し共通
   ============================================================ */

.eyebrow {
  margin: 0 0 18px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .2em;
}

.eyebrow.green {
  color: var(--green);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

.section-heading h2,
.compare-copy h2,
.support-copy h2,
.contact h2 {
  font-size: clamp(32px, 4.2vw, 52px);
  line-height: 1.25;
  letter-spacing: .03em;
  margin-bottom: 20px;
}

.section-heading.center {
  text-align: center;
}

.section-heading.split {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
  align-items: end;
  margin-bottom: 34px;
}

/* ============================================================
   Problem / お悩みセクション
   ============================================================ */

.problem {
  background: #fff;
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 34px;
}

.problem-grid article {
  padding: 30px 26px;
  border: 1px solid var(--line);
  border-radius: 22px;
  text-align: center;
}

.problem-grid h3 {
  font-size: 24px;
  line-height: 1.45;
  margin: 18px 0 14px;
}

.problem-grid p {
  margin: 0;
  color: var(--muted);
}

.section-icon {
  display: block;
  object-fit: contain;
}

.problem-icon {
  width: 104px;
  height: 104px;
  margin: 0 auto;
}

/* ============================================================
   Solution / 5つの解決策
   ============================================================ */

.solution {
  background: var(--pale);
}

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

.feature-grid article {
  position: relative;
  padding: 28px 18px 26px;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 8px 28px rgba(7, 69, 42, .06);
  text-align: center;
}

/* アイコンの枠を固定して、5枚の見出しの開始位置を揃える */
.feature-icon {
  width: 104px;
  height: 104px;
  margin: 0 auto 10px;
}

.feature-grid h3 {
  font-size: 19px;
  line-height: 1.5;
  margin: 0 0 14px;
  min-height: 3.6em;
}

.feature-grid p {
  font-size: 15px;
  line-height: 1.75;
  color: var(--muted);
  margin: 0;
}

/* ============================================================
   Compare / Before-After 比較
   ============================================================ */

.compare-wrap {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 48px;
  align-items: center;
}

/* 見出しが4行に折り返さないよう、この列だけ他セクションより少し小さく */
.compare-copy h2 {
  font-size: clamp(28px, 3.3vw, 40px);
}

.compare-copy p:last-child {
  color: var(--muted);
}

.compare-table {
  display: grid;
  grid-template-columns: 1fr 52px 1fr;
  align-items: stretch;
}

.compare-col {
  border-radius: 24px;
  padding: 30px;
}

.compare-col h3 {
  font-size: 18px;
  margin-bottom: 20px;
}

.compare-col p {
  padding: 12px 0 12px 30px;
  margin: 0;
  border-bottom: 1px solid rgba(0, 0, 0, .08);
  position: relative;
}

.compare-col p:before {
  position: absolute;
  left: 0;
  font-weight: 900;
}

.before {
  background: #f2f2f2;
  color: #5f6360;
}

.before p:before {
  content: "×";
}

.after {
  background: var(--green);
  color: #fff;
}

.after p:before {
  content: "✓";
}

.arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: var(--orange);
}

/* ============================================================
   Target / おすすめ対象
   ============================================================ */

.target {
  background: #f7fbf7;
}

.target-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 42px;
}

.target-grid div {
  padding: 22px 24px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--line);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.target-grid div span {
  line-height: 1.4;
}

.target-icon {
  width: 68px;
  height: 68px;
  flex: 0 0 68px;
  padding: 9px;
  border-radius: 50%;
  background: var(--pale);
  object-fit: contain;
}

/* ============================================================
   Support / サポート紹介
   ============================================================ */

.support-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 68px;
  align-items: center;
}

.support-image img {
  width: 100%;
  height: auto;
  border-radius: 30px;
  box-shadow: var(--shadow);
  aspect-ratio: 4/3;
  object-fit: cover;
}

.support-copy h2 {
  font-size: clamp(28px, 3.6vw, 46px);
}

.support-copy h2 span {
  white-space: nowrap;
}

.support-copy p {
  color: var(--muted);
}

.support-copy ul {
  padding-left: 22px;
}

/* ============================================================
   Contact / お問い合わせ
   ============================================================ */

/* 公式サイトのCTA帯を踏襲：淡いグリーンの地に、白の破線を内側に回した
   グリーンパネル。右に自転車のGIFを配置。 */
/* 公式サイトのCTA帯を踏襲：淡いグリーンの地に、白の破線を内側に回した
   グリーンパネル。自転車はパネルの枠外・右上にはみ出させて配置する。 */
.contact {
  background: var(--band);
  padding-top: 154px;
}

.contact-panel {
  position: relative;
  padding: 42px 60px;
  border-radius: 32px;
  background: var(--green);
  color: #fff;
}

/* 内側の白い破線 */
.contact-panel::before {
  content: "";
  position: absolute;
  inset: 14px;
  border: 2px dashed rgba(255, 255, 255, .75);
  border-radius: 22px;
  pointer-events: none;
}

.contact-body {
  position: relative;
  z-index: 1;
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.contact .eyebrow {
  color: var(--yellow);
}

.contact h2 {
  color: #fff;
  font-size: clamp(24px, 2.8vw, 36px);
  line-height: 1.5;
  letter-spacing: .03em;
}

.contact-lead {
  margin: 0 0 26px;
  color: rgba(255, 255, 255, .92);
  letter-spacing: .03em;
}

/* 自転車はパネルの外、右上へ */
.contact-visual {
  position: absolute;
  right: 56px;
  bottom: calc(100% - 34px);
  width: 260px;
  pointer-events: none;
}

.contact-visual img {
  width: 100%;
  height: auto;
}

/* 公式サイトのボタンに合わせたオレンジ〜アンバーのグラデーション */
.btn-cta {
  justify-content: space-between;
  gap: 28px;
  min-width: 320px;
  padding: 0 26px 0 44px;
  background: linear-gradient(to top right, #f98e33, #fbc746);
  box-shadow: 0 10px 22px rgba(120, 60, 0, .22);
}

.btn-arrow {
  font-size: 20px;
  line-height: 1;
}

.btn-cta:hover .btn-arrow {
  transform: translateX(3px);
}

.btn-arrow {
  transition: transform .2s;
}

/* ============================================================
   Footer / フッター
   ============================================================ */

.site-footer {
  background: #fff;
  padding: 26px 0 30px;
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px 24px;
}

.site-footer a {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .14em;
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--green);
}

.site-footer small {
  font-size: 14px;
  letter-spacing: .06em;
  color: var(--muted);
}

/* ============================================================
   Floating CTA / 追従バナー
   ============================================================ */

.floating-cta {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 60;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-height: 58px;
  padding: 0 22px 0 26px;
  border-radius: 999px;
  background: linear-gradient(to top right, #f98e33, #fbc746);
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: .04em;
  text-decoration: none;
  box-shadow: 0 12px 30px rgba(120, 60, 0, .3);
  transition: opacity .3s, transform .3s, visibility .3s;
}

.floating-cta:hover {
  transform: translateY(-3px);
}

.floating-cta-arrow {
  font-size: 18px;
  line-height: 1;
}

/* 問い合わせセクション表示中は隠す */
.floating-cta.is-hidden {
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .floating-cta {
    transition: none;
  }
}

/* ============================================================
   Line-break utilities / 改行の出し分け
   ============================================================ */

/* PCでのみ改行し、スマホでは自然折り返しにする */
.br-pc {
  display: inline;
}

/* スマホでのみ改行する */
.br-sp {
  display: none;
}

/* ============================================================
   Responsive / レスポンシブ
   ============================================================ */

@media (max-width: 1100px) {
  .problem-grid {
    gap: 10px;
  }
  .problem-grid article {
    padding: 26px 16px;
  }
  .problem-grid p {
    font-size: 15px;
  }
  .section-heading.split {
    grid-template-columns: 1fr;
    gap: 14px;
    align-items: start;
  }
  .hero-inner {
    grid-template-columns: minmax(0, 1fr) 340px;
  }
  .compare-wrap {
    grid-template-columns: .92fr 1.08fr;
    gap: 36px;
  }
  .compare-table {
    grid-template-columns: 1fr 40px 1fr;
  }
  .compare-col {
    padding: 24px 18px;
  }
  .compare-col p {
    padding-left: 26px;
  }
  .price-card {
    width: 340px;
  }
}

@media (max-width: 960px) {
  .header-nav>a:not(.btn) {
    display: none;
  }
  .hero {
    min-height: auto;
  }
  .hero-inner {
    grid-template-columns: 1fr;
    padding: 90px 0 64px;
    gap: 36px;
  }
  .hero-copy {
    max-width: 100%;
  }
  .price-card {
    align-self: start;
    justify-self: start;
    margin-bottom: 0;
    width: min(100%, 460px);
    padding: 34px 30px;
  }
  .hero-overlay {
    background: linear-gradient(90deg, rgba(0, 55, 31, .88), rgba(0, 70, 38, .58));
  }
  .section-heading.split,
  .compare-wrap,
  .support-inner {
    grid-template-columns: 1fr;
    gap: 38px;
  }
  .contact-panel {
    padding: 48px 40px;
  }
  .contact-body {
    padding-left: 0;
  }
  .contact-visual {
    right: 24px;
    width: 200px;
  }
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 1fr;
  }
  .feature-grid article,
  .feature-grid article:nth-child(4) {
    grid-column: auto;
  }
  .feature-grid article:last-child {
    grid-column: 1/-1;
  }
  .problem-grid {
    grid-template-columns: 1fr;
  }
  .target-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .support-copy h2 {
    font-size: 30px;
    line-height: 1.35;
  }
}

@media (max-width: 640px) {
  .site-footer {
    padding-bottom: 96px;
  }
  .floating-cta {
    right: 14px;
    bottom: 14px;
    min-height: 50px;
    gap: 10px;
    padding: 0 18px 0 20px;
    font-size: 13.5px;
  }
  .br-pc {
    display: none;
  }
  .br-sp {
    display: inline;
  }
  .container {
    width: min(100% - 32px, 1120px);
  }
  .section {
    padding: 72px 0;
  }
  .header-inner {
    height: 64px;
  }
  .brand img {
    height: 24px;
  }
  .site-header {
    position: sticky;
  }
  .hero {
    padding-top: 0;
  }
  .hero-media,
  .hero-overlay {
    inset: 0;
  }
  .hero-inner {
    min-height: auto;
    padding: 34px 0 40px;
    display: block;
  }
  .hero-copy {
    padding-top: 0;
  }
  .hero-topnote {
    font-size: 15px;
    margin-bottom: 10px;
  }
  .hero-title {
    font-size: clamp(42px, 12vw, 58px);
  }
  .hero-title .dx {
    -webkit-text-stroke: 1.5px #fff;
  }
  .hero-leads {
    margin-top: 18px;
  }
  .hero-leads p {
    font-size: clamp(18px, 5.7vw, 26px);
    line-height: 1.45;
  }
  .hero-text {
    font-size: 14px;
    line-height: 1.75;
    max-width: none;
  }
  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }
  .btn {
    min-height: 52px;
    padding: 0 24px;
  }
  .price-card {
    margin-top: 28px;
    padding: 28px 24px;
    border-radius: 24px;
    width: 100%;
    max-width: 460px;
  }
  .price-copy {
    font-size: 15px;
  }
  .section-heading h2,
  .compare-copy h2 {
    font-size: 34px;
  }
  .contact h2 {
    font-size: 22px;
    line-height: 1.65;
  }
  .support-copy h2 {
    font-size: 24px;
    line-height: 1.45;
  }
  .section-heading.split {
    gap: 12px;
  }
  .feature-grid,
  .target-grid {
    grid-template-columns: 1fr;
  }
  .feature-grid article,
  .feature-grid article:nth-child(4),
  .feature-grid article:last-child {
    grid-column: auto;
  }
  .compare-table {
    grid-template-columns: 1fr;
  }
  .arrow {
    transform: rotate(90deg);
    height: 52px;
  }
  .contact {
    padding-top: 130px;
  }
  .contact-panel {
    padding: 34px 22px;
    border-radius: 24px;
  }
  .contact-body {
    text-align: left;
  }
  .contact-panel::before {
    inset: 10px;
    border-radius: 18px;
  }
  .contact-lead {
    font-size: 14px;
  }
  .contact-visual {
    right: 8px;
    width: 148px;
  }
  .btn-cta {
    width: 100%;
    min-width: 0;
    padding: 0 20px 0 28px;
  }
  .problem-icon {
    width: 88px;
    height: 88px;
  }
  .feature-icon {
    width: 92px;
    height: 92px;
  }
  .target-grid div {
    justify-content: flex-start;
    padding: 16px 18px;
  }
}
