@charset "UTF-8";
/* ==========================================================================
   MUSASHI 公式サイト スタイルシート
   配色はApp Store掲載スクリーンショットから採取（濃紺 × 朱赤 × 生成り × 金）
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. デザイントークン
   -------------------------------------------------------------------------- */
:root {
  --navy:         #22314F;
  --navy-deep:    #1A2740;
  --navy-light:   #2E4068;
  --vermilion:    #C8402B;
  --vermilion-dk: #A8331F;
  --washi:        #F4EFE4;
  --washi-dk:     #E6DECB;
  --gold:         #C4A63C;
  --pine:         #1F5145;
  --sumi:         #1F1D1B;
  --sumi-mute:    #5C5751;
  --white:        #FFFFFF;

  --font-mincho: "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", "MS PMincho", serif;
  --font-gothic: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;

  --header-h: 64px;
  --wrap: 1100px;
  --radius: 12px;
  --shadow-sm: 0 2px 8px rgba(31, 29, 27, .08);
  --shadow-md: 0 8px 28px rgba(31, 29, 27, .14);
  --shadow-lg: 0 18px 48px rgba(26, 39, 64, .28);
}

/* --------------------------------------------------------------------------
   2. リセットとベース
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-gothic);
  font-size: 16px;
  line-height: 1.9;
  color: var(--sumi);
  background: var(--washi);
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; vertical-align: bottom; }

a { color: var(--vermilion-dk); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 {
  font-family: var(--font-mincho);
  font-weight: 600;
  line-height: 1.45;
  margin: 0;
}

table { border-collapse: collapse; }

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

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

/* --------------------------------------------------------------------------
   3. App Store ボタン（Apple公式バッジは使わず自前実装）
   -------------------------------------------------------------------------- */
.btn-appstore {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #000;
  color: var(--white);
  border-radius: 8px;
  padding: 0 14px;
  height: 38px;
  font-family: var(--font-gothic);
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, .28);
  transition: transform .15s ease, box-shadow .15s ease;
  white-space: nowrap;
}
.btn-appstore:hover {
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, .3);
}
.btn-appstore svg { width: 20px; height: 20px; flex: none; fill: currentColor; }
.btn-appstore .as-txt { display: flex; flex-direction: column; line-height: 1.15; }
.btn-appstore .as-sm { font-size: 9px; letter-spacing: .04em; opacity: .82; }
.btn-appstore .as-lg { font-size: 14px; font-weight: 600; letter-spacing: .02em; }

.btn-appstore--lg { height: 54px; padding: 0 22px; border-radius: 10px; }
.btn-appstore--lg svg { width: 27px; height: 27px; }
.btn-appstore--lg .as-sm { font-size: 11px; }
.btn-appstore--lg .as-lg { font-size: 19px; }

/* 汎用ボタン */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 32px;
  border-radius: 999px;
  background: var(--vermilion);
  color: var(--white);
  font-weight: 600;
  letter-spacing: .04em;
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: background .15s ease, transform .15s ease;
}
.btn:hover {
  background: var(--vermilion-dk);
  color: var(--white);
  text-decoration: none;
  transform: translateY(-1px);
}

/* --------------------------------------------------------------------------
   4. ヘッダー
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: var(--navy);
  border-bottom: 2px solid var(--gold);
}
.site-header__inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.brand:hover { text-decoration: none; }
.brand__mark {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  flex: none;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .18);
}
.brand__name {
  font-family: var(--font-mincho);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: .14em;
  color: var(--white);
}

.site-nav { display: flex; align-items: center; gap: 26px; }
.site-nav__list { display: flex; align-items: center; gap: 24px; list-style: none; margin: 0; padding: 0; }
.site-nav__list a {
  color: rgba(255, 255, 255, .88);
  font-size: 14px;
  letter-spacing: .06em;
  text-decoration: none;
  padding-bottom: 3px;
  border-bottom: 1px solid transparent;
}
.site-nav__list a:hover {
  color: var(--white);
  border-bottom-color: var(--gold);
  text-decoration: none;
}

/* --------------------------------------------------------------------------
   5. ヒーロー
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  background: linear-gradient(170deg, var(--navy) 0%, var(--navy-deep) 100%);
  overflow: hidden;
}
/* 籠目（かごめ）を思わせる斜め格子を薄く重ねる */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(45deg,  rgba(255, 255, 255, .055) 0 1px, transparent 1px 24px),
    repeating-linear-gradient(-45deg, rgba(255, 255, 255, .055) 0 1px, transparent 1px 24px);
  pointer-events: none;
}
/* 金の光をひとつ落として奥行きを出す */
.hero::after {
  content: "";
  position: absolute;
  top: -18%;
  right: -10%;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(196, 166, 60, .17) 0%, transparent 68%);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 56px;
  align-items: center;
  padding: 76px 24px 84px;
}

.hero__logo {
  width: 96px;
  height: 96px;
  border-radius: 22px;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255, 255, 255, .16);
  margin-bottom: 26px;
}
.hero__title {
  font-size: 46px;
  letter-spacing: .18em;
  color: var(--white);
  margin-bottom: 6px;
}
.hero__sub {
  font-family: var(--font-mincho);
  font-size: 15px;
  letter-spacing: .3em;
  color: var(--gold);
  margin: 0 0 26px;
}
.hero__lead {
  font-family: var(--font-mincho);
  font-size: 24px;
  line-height: 1.75;
  color: var(--white);
  margin: 0 0 14px;
}
.hero__text {
  font-size: 15px;
  color: rgba(255, 255, 255, .8);
  margin: 0 0 30px;
  max-width: 34em;
}
.hero__actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.hero__meta {
  font-size: 13px;
  color: rgba(255, 255, 255, .62);
  margin: 16px 0 0;
  letter-spacing: .04em;
}

/* 端末フレーム */
.device {
  position: relative;
  border: 10px solid var(--navy-light);
  border-radius: 38px;
  background: var(--navy-light);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  line-height: 0;
  max-width: 300px;
}
.device img { border-radius: 28px; display: block; width: 100%; }
.device--flat { box-shadow: var(--shadow-md); }

/* --------------------------------------------------------------------------
   6. セクション共通
   -------------------------------------------------------------------------- */
.section { padding: 82px 0; }
.section--washi { background: var(--washi); }
.section--paper { background: var(--white); }
.section--tint { background: var(--washi-dk); }

.section__head { text-align: center; margin-bottom: 52px; }
.section__title {
  font-size: 30px;
  letter-spacing: .12em;
  color: var(--navy);
  margin-bottom: 16px;
}
/* 見出し下の朱赤の短い罫 */
.section__title::after {
  content: "";
  display: block;
  width: 46px;
  height: 3px;
  margin: 18px auto 0;
  background: var(--vermilion);
}
.section__lead {
  font-size: 15px;
  color: var(--sumi-mute);
  margin: 0;
}

/* --------------------------------------------------------------------------
   7. 特徴カード
   -------------------------------------------------------------------------- */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.feature {
  background: var(--white);
  border: 1px solid var(--washi-dk);
  border-top: 3px solid var(--vermilion);
  border-radius: var(--radius);
  padding: 34px 28px;
  box-shadow: var(--shadow-sm);
}
.feature__icon {
  width: 56px;
  height: 56px;
  color: var(--vermilion);
  margin-bottom: 18px;
}
.feature__title {
  font-size: 19px;
  color: var(--navy);
  margin-bottom: 12px;
  letter-spacing: .06em;
}
.feature__text {
  font-size: 14.5px;
  color: var(--sumi-mute);
  margin: 0;
  line-height: 1.85;
}

/* --------------------------------------------------------------------------
   8. 画面紹介
   -------------------------------------------------------------------------- */
.screens { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.screen { text-align: center; }
.screen .device { margin: 0 auto 18px; max-width: 260px; }
.screen__cap {
  font-family: var(--font-mincho);
  font-size: 16px;
  letter-spacing: .1em;
  color: var(--navy);
  margin: 0 0 6px;
}
.screen__note { font-size: 13px; color: var(--sumi-mute); margin: 0; }

/* --------------------------------------------------------------------------
   9. 料金表
   -------------------------------------------------------------------------- */
.price-note {
  text-align: center;
  font-size: 15px;
  color: var(--sumi-mute);
  margin: 0 0 30px;
}
.price-note strong { color: var(--vermilion-dk); font-size: 17px; }

.price-table {
  width: 100%;
  max-width: 680px;
  margin: 0 auto 34px;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.price-table caption {
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-mincho);
  font-size: 17px;
  letter-spacing: .18em;
  padding: 13px 10px;
}
.price-table th,
.price-table td {
  padding: 15px 22px;
  border-bottom: 1px solid var(--washi-dk);
  font-size: 15px;
  text-align: left;
}
.price-table th { font-weight: 500; color: var(--sumi); width: 58%; }
.price-table td { text-align: right; font-weight: 600; color: var(--navy); white-space: nowrap; }
.price-table tr:last-child th,
.price-table tr:last-child td { border-bottom: none; }
.price-table tbody tr:nth-child(even) { background: rgba(230, 222, 203, .34); }

.badge-free {
  display: inline-block;
  background: var(--vermilion);
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  border-radius: 999px;
  padding: 3px 14px;
}

/* --------------------------------------------------------------------------
   10. CTA（ダウンロード導線）
   -------------------------------------------------------------------------- */
.cta {
  background: linear-gradient(150deg, var(--navy) 0%, var(--navy-deep) 100%);
  padding: 66px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(45deg,  rgba(255, 255, 255, .045) 0 1px, transparent 1px 22px),
    repeating-linear-gradient(-45deg, rgba(255, 255, 255, .045) 0 1px, transparent 1px 22px);
}
.cta__inner { position: relative; z-index: 1; }
.cta__title {
  font-size: 26px;
  letter-spacing: .14em;
  color: var(--white);
  margin-bottom: 14px;
}
.cta__text { color: rgba(255, 255, 255, .78); font-size: 15px; margin: 0 0 28px; }
.cta .btn-appstore { margin-inline: auto; }

/* --------------------------------------------------------------------------
   11. 法務文書（利用規約 / プライバシーポリシー / 特商法）
   -------------------------------------------------------------------------- */
.page-hero {
  background: var(--navy);
  padding: 46px 0;
  text-align: center;
  border-bottom: 2px solid var(--gold);
}
.page-hero__title {
  color: var(--white);
  font-size: 27px;
  letter-spacing: .2em;
  margin: 0;
}
.page-hero__en {
  display: block;
  font-family: var(--font-gothic);
  font-size: 11px;
  letter-spacing: .3em;
  color: var(--gold);
  margin-top: 12px;
}

.legal { padding: 66px 0 88px; background: var(--washi); }
.legal__card {
  background: var(--white);
  border: 1px solid var(--washi-dk);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  max-width: 900px;
  margin-inline: auto;
  padding: 52px 56px;
}
.legal__body {
  font-size: 15px;
  line-height: 2.05;
  color: var(--sumi);
}
.legal__body p { margin: 0; }
/* 条見出しに朱赤の縦罫を添える */
.legal__body strong {
  display: inline-block;
  font-family: var(--font-mincho);
  font-size: 17px;
  font-weight: 600;
  color: var(--navy);
  border-left: 4px solid var(--vermilion);
  padding: 2px 0 2px 12px;
  margin: 12px 0 4px;
  letter-spacing: .06em;
}
.legal__body a { color: var(--vermilion-dk); word-break: break-all; }
.legal__foot {
  text-align: center;
  margin-top: 34px;
  font-size: 13px;
  color: var(--sumi-mute);
}

/* 特商法の項目一覧 */
.spec-list {
  display: grid;
  grid-template-columns: 220px 1fr;
  margin: 0;
}
.spec-list dt,
.spec-list dd { border-bottom: 1px solid var(--washi-dk); }
.spec-list > :nth-last-child(1),
.spec-list > :nth-last-child(2) { border-bottom: none; }
.spec-list dt {
  font-family: var(--font-mincho);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .06em;
  color: var(--navy);
  background: rgba(230, 222, 203, .38);
  padding: 18px 22px;
  margin: 0;
}
.spec-list dd {
  font-size: 15px;
  color: var(--sumi);
  padding: 18px 22px;
  margin: 0;
  line-height: 1.9;
}

/* --------------------------------------------------------------------------
   12. フッター
   -------------------------------------------------------------------------- */
.site-footer { background: var(--navy); color: rgba(255, 255, 255, .86); }

.footer-contact { text-align: center; padding: 62px 0 56px; }
.footer-contact__title {
  font-size: 23px;
  letter-spacing: .14em;
  color: var(--white);
  margin-bottom: 14px;
}
.footer-contact p { font-size: 14.5px; margin: 0 0 26px; color: rgba(255, 255, 255, .76); }

.footer-note {
  background: var(--navy-light);
  padding: 22px 0;
  text-align: center;
}
.footer-note p {
  margin: 0;
  font-size: 13px;
  line-height: 1.95;
  color: rgba(255, 255, 255, .8);
}

.footer-bottom {
  padding: 28px 0 34px;
  border-top: 1px solid rgba(255, 255, 255, .12);
}
.footer-links {
  display: flex;
  justify-content: center;
  gap: 30px;
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  flex-wrap: wrap;
}
.footer-links a {
  color: rgba(255, 255, 255, .84);
  font-size: 13.5px;
  letter-spacing: .06em;
  text-decoration: none;
}
.footer-links a:hover { color: var(--gold); text-decoration: none; }
.copyright {
  text-align: center;
  font-size: 12px;
  letter-spacing: .06em;
  color: rgba(255, 255, 255, .5);
  margin: 0;
}

/* --------------------------------------------------------------------------
   13. 年齢確認オーバーレイ
   -------------------------------------------------------------------------- */
#ageConfirmOverlay {
  position: fixed;
  z-index: 999999;
  inset: 0;
  background: linear-gradient(170deg, var(--navy) 0%, var(--navy-deep) 100%);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 24px;
}
#ageConfirmOverlay::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(45deg,  rgba(255, 255, 255, .05) 0 1px, transparent 1px 24px),
    repeating-linear-gradient(-45deg, rgba(255, 255, 255, .05) 0 1px, transparent 1px 24px);
}
.age-confirm-box {
  position: relative;
  z-index: 1;
  background: var(--washi);
  border-radius: 16px;
  border-top: 4px solid var(--vermilion);
  box-shadow: var(--shadow-lg);
  padding: 44px 38px 38px;
  text-align: center;
  max-width: 440px;
  width: 100%;
}
.age-confirm-box__mark {
  width: 56px;
  height: 56px;
  border-radius: 13px;
  margin-bottom: 20px;
}
.age-confirm-box h1 {
  font-size: 21px;
  letter-spacing: .16em;
  color: var(--navy);
  margin-bottom: 10px;
}
.age-confirm-box h3 {
  font-size: 16px;
  color: var(--sumi);
  margin-bottom: 18px;
}
.age-confirm-box p {
  font-size: 13.5px;
  line-height: 1.85;
  color: var(--sumi-mute);
  margin: 0 0 28px;
}
/* 補足として控えめに見せる一文 */
.is-faint { opacity: .5; }
.age-confirm-buttons { display: flex; gap: 14px; justify-content: center; }
.age-confirm-buttons button {
  min-width: 132px;
  height: 50px;
  border-radius: 999px;
  border: 0;
  font-family: var(--font-gothic);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: .06em;
  cursor: pointer;
  transition: background .15s ease, transform .15s ease;
}
.age-confirm-buttons .btn-yes { background: var(--vermilion); color: var(--white); }
.age-confirm-buttons .btn-yes:hover { background: var(--vermilion-dk); transform: translateY(-1px); }
.age-confirm-buttons .btn-no {
  background: transparent;
  color: var(--sumi-mute);
  border: 1px solid var(--washi-dk);
}
.age-confirm-buttons .btn-no:hover { background: var(--washi-dk); }

/* --------------------------------------------------------------------------
   14. レスポンシブ（768px以下）
   -------------------------------------------------------------------------- */
@media screen and (max-width: 767px) {
  body { font-size: 15px; }
  .wrap { padding-inline: 18px; }

  .site-nav__list { display: none; }
  .brand__name { font-size: 18px; }

  .hero__inner {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 52px 18px 62px;
    text-align: center;
  }
  .hero__logo { width: 80px; height: 80px; margin-inline: auto; }
  .hero__title { font-size: 34px; }
  .hero__lead { font-size: 20px; }
  .hero__text { margin-inline: auto; }
  .hero__actions { justify-content: center; }
  .hero__device { display: flex; justify-content: center; }
  .device { max-width: 250px; }

  .section { padding: 56px 0; }
  .section__title { font-size: 24px; }
  .section__head { margin-bottom: 36px; }

  .features { grid-template-columns: 1fr; gap: 18px; }
  .feature { padding: 26px 22px; }

  /* 画面紹介は横スクロールで見せる */
  .screens {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 12px;
    margin-inline: -18px;
    padding-inline: 18px;
  }
  .screen { flex: 0 0 216px; scroll-snap-align: center; }
  .screen .device { max-width: 216px; }

  .price-table th, .price-table td { padding: 13px 14px; font-size: 14px; }
  .price-table th { width: 54%; }

  .legal { padding: 44px 0 62px; }
  .legal__card { padding: 30px 20px; border-radius: 8px; }
  .legal__body { font-size: 14.5px; line-height: 1.95; }
  .legal__body strong { font-size: 16px; }

  .spec-list { grid-template-columns: 1fr; }
  .spec-list dt { padding: 14px 16px 6px; background: rgba(230, 222, 203, .5); border-bottom: none; }
  .spec-list dd { padding: 12px 16px 16px; }

  .page-hero { padding: 34px 0; }
  .page-hero__title { font-size: 21px; }

  .cta { padding: 48px 0; }
  .cta__title { font-size: 21px; }

  .footer-links { gap: 0; flex-direction: column; }
  .footer-links li { width: 100%; margin-bottom: 12px; }

  .age-confirm-box { padding: 34px 22px 30px; }
  .age-confirm-buttons { flex-direction: column; }
  .age-confirm-buttons button { width: 100%; }
}

/* 中間幅（タブレット） */
@media screen and (min-width: 768px) and (max-width: 1023px) {
  .hero__inner { grid-template-columns: 1fr; gap: 44px; }
  .hero__device { display: flex; justify-content: center; }
  .features { grid-template-columns: 1fr 1fr; }
  .screens { grid-template-columns: repeat(3, 1fr); gap: 22px; }
  .legal__card { padding: 40px 34px; }
}
