:root {
  --ink: #1f2a44;
  --ink2: #566079;
  --red: #d8412b;
  --paper: #f7f0e1;
  --paper2: #ede3cc;
  --gold: #ffd34d;
}
* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
}
body {
  font-family: 'Hiragino Maru Gothic ProN', 'Hiragino Sans', 'Noto Sans JP', 'Apple SD Gothic Neo', system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a {
  color: var(--ink);
}
.wrap {
  max-width: 920px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ヘッダー */
.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  text-decoration: none;
  font-size: 17px;
  white-space: nowrap;
}
.brand img {
  width: 36px;
  height: 36px;
  border-radius: 9px;
}
.langs {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.langs a {
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  padding: 3px 9px;
  border-radius: 14px;
  background: rgba(31, 42, 68, 0.08);
}
.langs a.on {
  background: var(--ink);
  color: #fff;
}

/* 狭い画面：ロゴの下に言語を1列で並べ、入りきらない分は横にスクロール */
@media (max-width: 640px) {
  .top {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }
  .langs {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    scrollbar-width: none;
    margin: 0 -20px;
    padding: 0 20px;
  }
  .langs::-webkit-scrollbar {
    display: none;
  }
  .langs a {
    flex: none;
  }
}

/* ヒーロー */
.hero {
  position: relative;
  overflow: hidden;
  background: #0f1830 url('assets/kv.jpg') center 30% / cover no-repeat;
  color: #fff;
  text-align: center;
  padding: 36px 20px 44px;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(247, 240, 225, 0.55) 0%, rgba(247, 240, 225, 0) 35%, rgba(31, 42, 68, 0.92) 85%);
}
.hero > * {
  position: relative;
}
.hero .logo {
  width: min(420px, 86%);
  height: auto;
  filter: drop-shadow(0 4px 10px rgba(31, 42, 68, 0.35));
}
.hero h1 {
  margin: 18px 0 6px;
  font-size: clamp(17px, 3.6vw, 24px);
  font-weight: 900;
  /* 「、」で折り返し、単語の途中で切らない */
  word-break: keep-all;
  overflow-wrap: anywhere;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}
.hero p {
  margin: 0 auto;
  max-width: 560px;
  font-weight: 700;
  font-size: 15px;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5);
}
.store {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  background: #000;
  color: #fff;
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 12px;
  font-weight: 800;
  border: 1.5px solid rgba(255, 255, 255, 0.5);
}
.store small {
  display: block;
  font-size: 11px;
  font-weight: 500;
  opacity: 0.8;
  line-height: 1.1;
}
.store.soon {
  background: rgba(0, 0, 0, 0.45);
}

/* 本文 */
section {
  padding: 44px 0;
}
section + section {
  border-top: 2px dashed var(--paper2);
}
h2 {
  font-size: 22px;
  font-weight: 900;
  margin: 0 0 16px;
  padding-left: 14px;
  border-left: 8px solid var(--red);
}
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px;
}
.card {
  background: #fff;
  border: 2.5px solid var(--ink);
  border-radius: 14px;
  box-shadow: 0 5px 0 var(--ink);
  padding: 16px 18px;
}
.card h3 {
  margin: 0 0 6px;
  font-size: 17px;
}
.card p {
  margin: 0;
  font-size: 14px;
  color: var(--ink2);
}
/* 3カラム。各カラムは説明が上、スマホが下（スマホの頭の位置は3つでそろえる）。狭い画面では1列 */
.features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 48px 40px;
}
.feature {
  display: flex;
  flex-direction: column;
}
.feature .text {
  order: 1;
  margin-bottom: 20px;
}
/* 画面：背景は置かず、スマホをまるごと。頭の位置は3つでそろえる */
.feature .shot {
  order: 2;
  margin-top: auto;
  padding-bottom: 12px;
}
.feature .shot img {
  display: block;
  width: 62%;
  margin: 0 auto;
  border: 6px solid #0b1020;
  border-radius: 32px;
  box-shadow: 0 14px 28px rgba(31, 42, 68, 0.28);
}
.feature h3 {
  margin: 0 0 8px;
  font-size: 20px;
  line-height: 1.4;
  /* 日本語は「、」で折り返し、1文字だけの行を作らない */
  word-break: keep-all;
  overflow-wrap: anywhere;
}
.feature p {
  margin: 0;
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink2);
}
.feature .punch {
  margin-top: 0;
}
@media (max-width: 760px) {
  .features {
    grid-template-columns: 1fr;
    gap: 40px;
    max-width: 420px;
    margin: 0 auto;
  }
  .feature .shot img {
    width: 70%;
  }
}
/* Q&A：タップで開く質問のリスト */
.faq {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.faq details {
  background: #fff;
  border: 2px solid var(--ink);
  border-radius: 12px;
}
.faq summary {
  position: relative;
  list-style: none;
  cursor: pointer;
  padding: 14px 48px 14px 46px;
  font-weight: 800;
  font-size: 16px;
  line-height: 1.5;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::before {
  content: 'Q';
  position: absolute;
  left: 16px;
  top: 13px;
  font-weight: 900;
  font-size: 18px;
  color: var(--red);
}
.faq summary::after {
  content: '+';
  position: absolute;
  right: 18px;
  top: 10px;
  font-size: 24px;
  font-weight: 700;
  color: var(--ink2);
}
.faq details[open] summary::after {
  content: '−';
}
.faq details p {
  position: relative;
  margin: 0;
  padding: 0 20px 16px 46px;
  font-size: 15px;
  color: var(--ink2);
}
.faq details p::before {
  content: 'A';
  position: absolute;
  left: 16px;
  top: -1px;
  font-weight: 900;
  font-size: 18px;
  color: var(--ink);
}
.hanko {
  display: inline-block;
  color: var(--red);
  border: 3px solid var(--red);
  border-radius: 6px;
  padding: 2px 10px;
  font-weight: 900;
  transform: rotate(-3deg);
  margin: 0 4px;
}
.price {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.price .card b {
  font-size: 24px;
  color: var(--red);
}
.note {
  font-size: 13px;
  color: var(--ink2);
}
.legal {
  font-size: 15px;
}
.legal h3 {
  margin: 22px 0 6px;
  font-size: 16px;
}
.legal ul {
  padding-left: 1.3em;
}
footer {
  padding: 28px 0 40px;
  font-size: 13px;
  color: var(--ink2);
  border-top: 2px solid var(--ink);
}
footer nav a {
  margin-right: 14px;
}
