@charset "UTF-8";

/* =========================================================
   Fightell 公式サイト
   カラーはアプリ本体（Flutter）の配色に合わせている。
   ========================================================= */

:root {
  --cream: #fbf3e1;
  --cream-light: #fffdf7;
  --cream-card: #ffffff;
  --gold: #e0b23c;
  --gold-dark: #c8971f;
  --gold-light: #f6d98a;
  --gold-pale: #fbebc7;
  --brown: #5c4326;
  --brown-soft: #9c8265;
  --brown-line: #e9d9b8;
  --pink: #e87ba4;
  --green: #7cb342;
  --dark: #3b2b1a;

  --radius-l: 28px;
  --radius-m: 20px;
  --radius-s: 14px;
  --shadow: 0 6px 20px rgba(146, 110, 47, 0.12);
  --shadow-soft: 0 3px 10px rgba(146, 110, 47, 0.1);
  --max: 1080px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--brown);
  font-family: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "ヒラギノ丸ゴ ProN W4",
    "Yu Gothic", "游ゴシック体", "Meiryo", sans-serif;
  font-size: 16px;
  line-height: 1.9;
  -webkit-text-size-adjust: 100%;
}

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

a {
  color: var(--gold-dark);
}

h1,
h2,
h3 {
  line-height: 1.5;
  margin: 0;
  font-weight: 700;
}

.container {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: 20px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- ヘッダー ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 243, 225, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--brown-line);
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 64px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--brown);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 0.02em;
}

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 10px;
}

.global-nav {
  margin-left: auto;
  display: none;
  gap: 24px;
}

.global-nav a {
  color: var(--brown);
  text-decoration: none;
  font-size: 15px;
}

.global-nav a:hover {
  color: var(--gold-dark);
}

.site-header .btn-header {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  padding: 8px 18px;
  border-radius: 999px;
  background: var(--gold);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  box-shadow: var(--shadow-soft);
  white-space: nowrap;
}

.site-header .btn-header:hover {
  background: var(--gold-dark);
}

/* ---------- セクション共通 ---------- */

.section {
  padding: 72px 0;
}

.section--light {
  background: var(--cream-light);
}

.section__head {
  text-align: center;
  margin-bottom: 40px;
}

.section__label {
  display: inline-block;
  font-size: 13px;
  letter-spacing: 0.18em;
  color: var(--gold-dark);
  margin: 0 0 6px;
}

.section__title {
  font-size: 26px;
}

.section__title span {
  position: relative;
  padding-bottom: 8px;
}

.section__title span::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 56px;
  height: 4px;
  border-radius: 2px;
  background: var(--gold-light);
}

.section__lead {
  margin: 20px auto 0;
  max-width: 640px;
  font-size: 15px;
  color: var(--brown-soft);
}

/* ---------- ヒーロー ---------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: 48px 0 64px;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: var(--gold-pale);
  z-index: 0;
}

.hero::before {
  width: 320px;
  height: 320px;
  top: -140px;
  right: -110px;
}

.hero::after {
  width: 220px;
  height: 220px;
  bottom: -120px;
  left: -90px;
  background: var(--gold-light);
  opacity: 0.5;
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 40px;
  align-items: center;
}

.hero__eyebrow {
  display: inline-block;
  margin: 0 0 14px;
  padding: 5px 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px dashed var(--gold-light);
  color: var(--gold-dark);
  font-size: 13px;
}

.hero__title {
  font-size: 34px;
  letter-spacing: 0.01em;
  margin-bottom: 8px;
}

.hero__name {
  display: block;
  font-size: 21px;
  color: var(--gold-dark);
  font-weight: 700;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}

.hero__lead {
  font-size: 16px;
  color: var(--brown-soft);
  margin: 16px 0 28px;
}

.hero__note {
  margin: 14px 0 0;
  font-size: 13px;
  color: var(--brown-soft);
}

.hero__visual {
  display: flex;
  justify-content: center;
}

.hero__stage {
  position: relative;
}

.hero__chick {
  position: absolute;
  width: 112px;
  right: -46px;
  bottom: 10px;
  filter: drop-shadow(0 6px 10px rgba(146, 110, 47, 0.2));
}

.hero__bubble {
  position: absolute;
  top: 40px;
  right: calc(100% - 46px);
  margin: 0;
  background: #fff;
  border: 2px dashed var(--gold-light);
  border-radius: var(--radius-m);
  padding: 10px 16px;
  font-size: 14px;
  box-shadow: var(--shadow-soft);
  white-space: nowrap;
}

/* スマートフォンでは吹き出しを端末画像の上に置く */
@media (max-width: 899px) {
  .hero__stage {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero__bubble {
    position: static;
    order: -1;
    margin: 0 0 14px;
  }
}

/* ---------- ストアバッジ（Apple/Google公式配布のバッジ画像） ---------- */

.store-buttons {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.store-badge {
  display: inline-flex;
  border-radius: 8px;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

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

.store-badge:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

/* Google Playの画像は元々上下に透明な余白を含んでいたが、Appleのバッジと
   高さを正確に揃えるため、余白を除去した画像に差し替えてある
   （images/google-play-badge.png）。そのため両方とも同じheightでよい。 */
.store-badge img {
  display: block;
  height: 46px;
  width: auto;
}

.store-badge.is-preparing {
  filter: grayscale(1);
  opacity: 0.5;
  pointer-events: none;
}

/* ---------- 端末フレーム ---------- */

.phone {
  position: relative;
  width: 260px;
  max-width: 72vw;
  padding: 10px;
  border-radius: 38px;
  background: linear-gradient(160deg, #fff 0%, var(--gold-pale) 100%);
  border: 2px solid var(--brown-line);
  box-shadow: var(--shadow);
}

.phone::before {
  content: "";
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: 62px;
  height: 6px;
  border-radius: 3px;
  background: rgba(92, 67, 38, 0.18);
  z-index: 2;
}

.phone img {
  border-radius: 28px;
  width: 100%;
}

/* ---------- Fightellとは（4ステップ） ---------- */

.steps {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr;
  list-style: none;
  padding: 0;
  margin: 0;
}

.step {
  position: relative;
  background: var(--cream-card);
  border: 1px solid var(--brown-line);
  border-radius: var(--radius-l);
  padding: 26px 20px 22px;
  text-align: center;
  box-shadow: var(--shadow-soft);
}

.step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gold);
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 10px;
}

.step img {
  width: auto;
  height: 112px;
  object-fit: contain;
  margin: 0 auto 10px;
}

.step__title {
  font-size: 18px;
  margin-bottom: 6px;
}

.step__text {
  margin: 0;
  font-size: 14px;
  color: var(--brown-soft);
}

.step::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -14px;
  transform: translateX(-50%) rotate(90deg);
  width: 0;
  height: 0;
  border-left: 10px solid var(--gold-light);
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
}

.step:last-child::after {
  display: none;
}

.about__summary {
  margin: 44px auto 0;
  max-width: 760px;
  background: var(--gold-pale);
  border-radius: var(--radius-m);
  padding: 22px 24px;
  font-size: 15px;
  text-align: center;
}

.about__summary p {
  margin: 0;
}

/* ---------- こんな人におすすめ ---------- */

.recommend {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
  max-width: 760px;
  margin: 0 auto;
  list-style: none;
  padding: 0;
}

.recommend li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: var(--cream-card);
  border: 1px solid var(--brown-line);
  border-radius: var(--radius-m);
  padding: 16px 20px;
  font-size: 15px;
  box-shadow: var(--shadow-soft);
}

.recommend__check {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  margin-top: 3px;
  border-radius: 50%;
  background: var(--gold);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.recommend__check svg {
  width: 14px;
  height: 14px;
  stroke: #fff;
  stroke-width: 3;
  fill: none;
}

.recommend__chick {
  width: 130px;
  margin: 30px auto 0;
}

/* ---------- アプリ画面紹介 ---------- */

.screens {
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  justify-items: center;
  list-style: none;
  padding: 0;
  margin: 0;
}

.screens .phone {
  width: 100%;
  max-width: 240px;
}

.screen__caption {
  margin: 14px 0 0;
  text-align: center;
  font-size: 14px;
  color: var(--brown-soft);
}

.screen__caption strong {
  display: block;
  font-size: 16px;
  color: var(--brown);
}

/* ---------- ダウンロード ---------- */

.download {
  background: linear-gradient(180deg, var(--gold-pale) 0%, var(--cream) 100%);
  text-align: center;
}

.download__title {
  font-size: 26px;
  margin-bottom: 14px;
}

.download__text {
  color: var(--brown-soft);
  font-size: 15px;
  margin: 0 0 28px;
}

.download .store-buttons {
  justify-content: center;
}

.download__chick {
  width: 140px;
  margin: 0 auto 18px;
}

/* ---------- フッター ---------- */

.site-footer {
  background: var(--cream-light);
  border-top: 1px solid var(--brown-line);
  padding: 40px 0 32px;
}

.site-footer__inner {
  display: grid;
  gap: 20px;
  justify-items: center;
  text-align: center;
}

.site-footer .brand {
  font-size: 18px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 24px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-nav a {
  color: var(--brown);
  text-decoration: none;
  font-size: 14px;
}

.footer-nav a:hover {
  color: var(--gold-dark);
  text-decoration: underline;
}

.copyright {
  margin: 0;
  font-size: 13px;
  color: var(--brown-soft);
}

/* ---------- 規約・ポリシーページ ---------- */

.doc {
  padding: 48px 0 72px;
}

.doc__inner {
  max-width: 800px;
  margin-inline: auto;
  background: var(--cream-card);
  border: 1px solid var(--brown-line);
  border-radius: var(--radius-l);
  padding: 32px 24px;
  box-shadow: var(--shadow-soft);
}

.doc__title {
  font-size: 24px;
  text-align: center;
  margin-bottom: 20px;
}

.doc__intro {
  font-size: 15px;
  color: var(--brown-soft);
  margin: 0 0 28px;
}

.doc section {
  margin-bottom: 26px;
}

.doc h2 {
  font-size: 17px;
  margin-bottom: 8px;
  padding-left: 12px;
  border-left: 5px solid var(--gold-light);
}

.doc p {
  margin: 0 0 12px;
  font-size: 15px;
}

.doc__footer {
  border-top: 1px dashed var(--brown-line);
  padding-top: 18px;
  font-size: 14px;
  color: var(--brown-soft);
}

.doc__back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 26px;
  font-size: 14px;
  text-decoration: none;
  color: var(--gold-dark);
}

.doc__back:hover {
  text-decoration: underline;
}

/* ---------- レスポンシブ ---------- */

@media (min-width: 600px) {
  .section {
    padding: 88px 0;
  }

  .section__title {
    font-size: 30px;
  }

  .hero__title {
    font-size: 42px;
  }

  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .step::after {
    display: none;
  }

  .screens {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 36px;
  }

  .doc__inner {
    padding: 44px 48px;
  }
}

@media (min-width: 900px) {
  .global-nav {
    display: flex;
  }

  .site-header .btn-header {
    margin-left: 0;
  }

  .hero {
    padding: 72px 0 96px;
  }

  .hero__inner {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 48px;
  }

  .hero__title {
    font-size: 46px;
  }

  .hero__visual {
    justify-content: flex-end;
    padding-right: 30px;
  }

  .steps {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
  }

  .step::after {
    display: block;
    left: auto;
    right: -12px;
    bottom: auto;
    top: 50%;
    transform: translateY(-50%);
  }

  .screens {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
  }

  .screens .phone {
    max-width: 100%;
  }
}

/* ---------- Fightell Studio の作品 ---------- */
.work-card {
  display: grid;
  gap: 18px;
  max-width: 760px;
  margin: 0 auto;
  background: var(--cream-card);
  border: 1px solid var(--brown-line);
  border-radius: var(--radius-m);
  padding: 24px;
  box-shadow: var(--shadow-soft);
}

.work-card__tag {
  margin: 0 0 6px;
  color: var(--gold-dark);
  font-size: 13px;
  font-weight: 700;
}

.work-card__title {
  margin: 0 0 8px;
  font-size: 22px;
  color: var(--dark);
}

.work-card__text {
  margin: 0;
  color: var(--brown-soft);
  font-size: 15px;
  line-height: 1.8;
}

.work-card__btn {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 0 24px;
  border-radius: 999px;
  background: var(--gold);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  box-shadow: var(--shadow-soft);
}

.work-card__btn:hover {
  background: var(--gold-dark);
}

@media (min-width: 600px) {
  .work-card {
    grid-template-columns: 1fr auto;
    align-items: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .store-badge {
    transition: none;
  }
}
