/* =========================================================
   公式アプリLP（明るい・画像中心・コーポレートカラー準拠）
   Brand: #0F3876
   ========================================================= */

:root{
  --brand: #0F3876;
  --brand-2: #0B2A5A;

  /* 眩しくない“オフホワイト” */
  --bg: #FBFCFF;         /* ほぼ白だけど白じゃない */
  --surface: #FFFFFF;

  /* 文字も少し軽く（黒すぎない） */
  --text: #18212B;
  --muted: #556574;

  --shadow-soft: 0 10px 26px rgba(15,56,118,0.08);
  --shadow: 0 14px 34px rgba(15,56,118,0.10);

  --bs-primary: var(--brand);
  --bs-primary-rgb: 15,56,118;
  --bs-link-color: var(--brand);
  --bs-link-hover-color: var(--brand-2);
}


body{
  background: var(--bg);
  color: var(--text);
}

/* header */
.site-header{
  background: rgba(255,255,255,0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(15,56,118,0.10);
}
.navbar-brand{
  letter-spacing: .02em;
}

/* hero */
.hero-section{
  background:
    radial-gradient(900px 520px at 12% 15%, rgba(15,56,118,0.10), transparent 64%),
    radial-gradient(700px 520px at 90% 10%, rgba(15,56,118,0.06), transparent 58%),
    linear-gradient(180deg, #FBFCFF 0%, #FFFFFF 55%, #FBFCFF 100%);
}


h1, h2, h3{
  color: var(--brand-2);
}

.text-muted, .text-secondary{
  color: var(--muted) !important;
}
.text-strong{
  color: var(--brand-2);
  font-weight: 700;
}

/* badge */
.badge-soft{
  background: rgba(15,56,118,0.10);
  color: var(--brand);
  border: 1px solid rgba(15,56,118,0.20);
  font-weight: 800;
}

/* buttons */
.btn-primary{
  background: var(--brand) !important;
  border-color: var(--brand) !important;
  box-shadow: 0 10px 20px rgba(15,56,118,0.18);
  border-radius: 12px;
}
.btn-primary:hover{
  background: var(--brand-2) !important;
  border-color: var(--brand-2) !important;
}

.btn-outline-primary{
  border-color: rgba(15,56,118,0.35) !important;
  color: var(--brand) !important;
  background: rgba(255,255,255,0.7);
  border-radius: 12px;
}
.btn-outline-primary:hover{
  background: rgba(15,56,118,0.08) !important;
}

/* section lead */
.section-lead{
  max-width: 46rem;
  margin-left: auto;
  margin-right: auto;
  color: var(--muted);
}

/* cards */
.card{
  border-radius: 18px;
  background: var(--surface);
  border: 1px solid rgba(15,56,118,0.10);
  box-shadow: var(--shadow-soft);
}
.card-mini .card-body{
  padding: 16px 16px;
}
.mini-title{
  font-weight: 800;
  color: var(--brand-2);
  margin-bottom: 2px;
}
.mini-text{
  color: var(--muted);
  font-size: 0.95rem;
}

/* card accent: 青→白（ダサさ回避） */
.card-accent{
  position: relative;
  overflow: hidden;
}
.card-accent::before{
  content:"";
  position:absolute;
  top:0; left:0; right:0;
  height: 8px;
  background: linear-gradient(90deg, rgba(15,56,118,1) 0%, rgba(255,255,255,1) 100%);
  opacity: .95;
}

/* soft section background */
.section-soft{
  background: linear-gradient(180deg, rgba(255,255,255,1) 0%, rgba(244,250,255,1) 100%);
  border-top: 1px solid rgba(15,56,118,0.08);
  border-bottom: 1px solid rgba(15,56,118,0.08);
}

/* =========================================================
   Store badges: Apple/Googleの見た目ズレを吸収する
   - “同じ高さの箱”に入れて中央揃え
   ========================================================= */
/* =========================
   ストアダウンロードバッジ
   ========================= */

.store-badges {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 16px;               /* バッジ間の余白 */
  max-width: 100%;
  flex-wrap: nowrap;       /* ★縦並びにさせない */
}

.store-link {
  display: inline-block;
  flex: 0 0 auto;
}

.store-badge {
  display: block;
  max-width: 180px;        /* ★PCでの最大幅（調整可） */
  width: 100%;             /* 親に合わせて縮小 */
  height: auto;            /* 縦横比維持 */
}

/* タブレット */
@media (max-width: 991.98px) {
  .store-badge {
    max-width: 160px;
  }
}

/* スマホ */
@media (max-width: 575.98px) {
  .store-badges {
    gap: 12px;
  }

  .store-badge {
    max-width: 140px;      /* ★スマホでも横に2つ並ぶサイズ */
  }
}


/* =========================================================
   Phone shots (縦長画像を主役に見せる)
   ========================================================= */
.phone-shot{
  background: #fff;
  border: 1px solid rgba(15,56,118,0.10);
  border-radius: 22px;
  padding: 10px;
  box-shadow: var(--shadow);
  max-height: 520px;
  width: auto;
  object-fit: contain;
}
.phone-shot--hero{
  max-height: 640px;
}

@media (max-width: 991.98px){
  .phone-shot--hero{ max-height: 520px; }
}
@media (max-width: 575.98px){
  .phone-shot, .phone-shot--hero{ max-height: 420px; }
}

/* feature cards */
.feature-card .feature-media{
  padding-bottom: 6px;
}
.badge-note{
  display:inline-block;
  background: rgba(15,56,118,0.08);
  border: 1px solid rgba(15,56,118,0.16);
  color: var(--brand-2);
  font-weight: 700;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 0.78rem;
}

/* FAQ accordion */
.accordion{
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(15,56,118,0.12);
  box-shadow: var(--shadow-soft);
  background: #fff;
}
.accordion-item{
  border: 0;
}
.accordion-button{
  font-weight: 800;
  color: var(--brand-2);
  background: rgba(255,255,255,0.95);
}
.accordion-button:not(.collapsed){
  background: linear-gradient(90deg, rgba(15,56,118,0.12) 0%, rgba(255,255,255,1) 70%);
}
.accordion-body{
  color: var(--muted);
}

/* download section */
.download-section{
  background: linear-gradient(180deg, rgba(255,255,255,1) 0%, rgba(244,250,255,1) 100%);
  border-top: 1px solid rgba(15,56,118,0.08);
}

.qr-image{
  max-width: 260px;
  background: #fff;
  padding: 12px;
  border-radius: 16px;
  border: 1px solid rgba(15,56,118,0.10);
  box-shadow: var(--shadow-soft);
}

/* footer */
.footer-soft{
  border-top: 1px solid rgba(15,56,118,0.08);
}

/* セクション内の区切り：カードではなく線＋余白 */
/* 区切り：カードではなく、余白＋薄い線 */
.feature-row{
  padding: 18px 0;
  border-bottom: 1px solid rgba(15,56,118,0.10);
}
.feature-row:last-child{
  border-bottom: 0;
}

/* 見出し：アクセント（淡いレモン）で“マーカー風” */
.feature-title{
  display: inline-block;
  font-weight: 700;
  color: #0B2A5A;
  padding: 4px 8px;
  line-height: 1.5;
  border-radius: 10px;
  background: rgba(255, 232, 140, 0.55); /* ←アクセント色（見やすい） */
}

/* 本文：余計な強調をせず読みやすく */
.feature-text{
  color: var(--muted);
  line-height: 1.9;
  margin: 10px 0 0;
}


/* 本文ブロック：左右余白を確保（端に寄りすぎ対策） */
.feature-list{
  max-width: 920px;                 /* 行の長さを制限（読みやすさ） */
  margin: 0 auto;                   /* 中央寄せ */
  padding: 0 24px;                  /* 左右余白 */
}

@media (max-width: 575.98px){
  .feature-list{
    padding: 0 16px;                /* スマホはやや小さめ */
  }
}

/* 対象（カードなし・文章で見せる） */
.forwho-text{
  max-width: 860px;
  padding: 18px 22px;
  background: rgba(255,255,255,0.75);
  border: 1px solid rgba(15,56,118,0.10);
  border-radius: 18px;
  box-shadow: var(--shadow-soft);
}

@media (max-width: 575.98px){
  .forwho-text{
    padding: 16px 16px;
  }
}

.forwho-lead{
  font-size: 1.05rem;
  line-height: 1.9;
  color: var(--muted);
}

.forwho-mark{
  display: inline-block;
  padding: 2px 6px;
  border-radius: 10px;
  background: rgba(255, 232, 140, 0.55); /* アクセント色（見やすい） */
  color: #0B2A5A;
  font-weight: 700;
}

.forwho-list{
  margin: 0 0 14px;
  padding-left: 1.1rem;
  color: var(--muted);
  line-height: 1.9;
}

.forwho-note{
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.8;
}

/* スマホ時：全体の左右余白を少し詰める */
@media (max-width: 575.98px){
  .container{
    padding-left: 12px;
    padding-right: 12px;
  }
}

/* スマホ時：機能紹介カードの余白を縮小 */
@media (max-width: 575.98px){
  .feature-card .feature-media{
    padding: 10px 8px;   /* ここが効く */
  }

  .feature-card .card-body{
    padding-left: 12px;
    padding-right: 12px;
  }
}
/* スマホ時：端末画像の内側余白を減らす */
@media (max-width: 575.98px){
  .phone-shot{
    padding: 6px;        /* PC:10px → SP:6px */
    border-radius: 18px;
  }
}

/* =========================================================
   文字サイズ全体を底上げ（読みやすさUP）
   ========================================================= */

/* 基準サイズ：PCは少し大きめ、スマホはさらに読みやすく */
html { font-size: 17px; }           /* 16px → 17px */
@media (max-width: 575.98px){
  html { font-size: 18px; }         /* スマホは18px（見やすい） */
}

/* 本文の行間を少しゆったり（読み疲れ防止） */
body{
  line-height: 1.75;
}

/* Bootstrapの「small」が小さすぎるのを緩和 */
.small{
  font-size: 0.95rem !important;    /* 0.875rem → 0.95rem相当 */
}

/* カード内本文の small も見やすく */
.feature-card .card-body .small,
.feature-card .card-body p{
  font-size: 0.98rem;
}

/* H2の存在感（セクション見出し） */
h2{
  font-size: clamp(1.35rem, 1.1rem + 1vw, 1.75rem);
}

/* featuresのタイトル（h6）が小さく感じるので少し戻す */
.feature-card h3.h6{
  font-size: 1.05rem;               /* 見出しとして十分 */
}

/* FAQの質問（ボタン）が小さく見える対策 */
.accordion-button{
  font-size: 1.02rem;
}

/* FAQの回答本文 */
.accordion-body{
  font-size: 1rem;
}

/* for-who の文章も少し大きく（すでに1.05remだが全体基準変更に合わせる） */
.forwho-lead{
  font-size: 1.08rem;
}
.forwho-note{
  font-size: 0.98rem;
}

/* =========================================================
   Share buttons
   ========================================================= */
.share-wrap{
  max-width: 520px;
}

.share-label{
  font-size: 0.95rem;
  color: var(--muted);
  margin-bottom: 8px;
}

.share-buttons{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.share-btn{
  appearance: none;
  border: 1px solid rgba(15,56,118,0.18);
  background: rgba(255,255,255,0.9);
  color: var(--brand-2);
  border-radius: 999px;
  padding: 8px 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(15,56,118,0.08);
  transition: transform .08s ease, box-shadow .08s ease, background .08s ease;
  font-weight: 600;
}

.share-btn:hover{
  transform: translateY(-1px);
  box-shadow: 0 12px 22px rgba(15,56,118,0.10);
  background: #fff;
}

.share-btn svg{
  width: 18px;
  height: 18px;
  fill: currentColor;
  flex: 0 0 auto;
}

/* ブランド色は“やりすぎない” */
.share-btn.is-x{ color: #111; border-color: rgba(0,0,0,0.18); }
.share-btn.is-line{ color: #06C755; border-color: rgba(6,199,85,0.25); }
.share-btn.is-copy{ color: var(--brand); }

.share-toast{
  margin-top: 8px;
  font-size: 0.92rem;
  color: var(--muted);
  min-height: 1.2em;
}

/* スマホ：ボタンを詰めて押しやすく */
@media (max-width: 575.98px){
  .share-btn{
    padding: 9px 12px;
  }
}
