/* Sitelize 紹介サイト。配色・余白は Manualize のサイト（navy × 黄）に合わせる */
:root {
  --navy: #1f3a5f;
  --navy-light: #2d4f7c;
  --navy-dark: #172c49;
  --accent: #f2c200;
  --alt: #f6f8fb;
  --text: #1f2937;
  --muted: #4b5563;
  --line: #e5e7eb;
  --white: #ffffff;
  --radius: 12px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
img { max-width: 100%; }

.container { max-width: 72rem; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 48rem; }
.center { text-align: center; margin-top: 32px; }

@media (min-width: 640px) { .container { padding: 0 24px; } }

/* ---- ボタン ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 32px; border-radius: 8px; font-weight: 700; text-decoration: none;
  border: 2px solid transparent; transition: background .2s, color .2s;
}
.btn-sm { padding: 8px 16px; font-size: .875rem; }
.btn-primary { background: var(--navy); color: var(--white); }
.btn-primary:hover { background: var(--navy-light); }
.btn-outline { border-color: var(--navy); color: var(--navy); background: var(--white); }
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-accent { background: var(--accent); color: var(--navy); }
.btn-accent:hover { background: #ffd633; }
.btn-outline-white { border-color: rgba(255,255,255,.7); color: var(--white); }
.btn-outline-white:hover { background: rgba(255,255,255,.1); }
.btn-row { display: flex; flex-direction: column; gap: 12px; margin-top: 32px; }
@media (min-width: 640px) { .btn-row { flex-direction: row; } }

/* ---- ヘッダー ---- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.95); backdrop-filter: blur(6px);
  border-bottom: 1px solid #f3f4f6;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { display: flex; align-items: center; gap: 8px; text-decoration: none; }
.logo-mark {
  display: flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 6px;
  background: var(--accent); color: var(--navy); font-weight: 700; font-size: 1.125rem;
}
.logo-text { font-size: 1.25rem; font-weight: 700; color: var(--navy); letter-spacing: -.01em; }
.logo-text-dark { color: var(--white); }

.main-nav { display: none; align-items: center; gap: 24px; }
.main-nav a:not(.btn) { font-size: .875rem; font-weight: 700; color: #374151; text-decoration: none; }
.main-nav a:not(.btn):hover { color: var(--navy); }

.menu-toggle { position: absolute; opacity: 0; width: 1px; height: 1px; }
.menu-button {
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; cursor: pointer;
}
.menu-button span, .menu-button span::before, .menu-button span::after {
  display: block; width: 22px; height: 2px; background: var(--navy); position: relative; content: "";
}
.menu-button span::before { position: absolute; top: -7px; }
.menu-button span::after { position: absolute; top: 7px; }
.menu-toggle:focus-visible + .menu-button { outline: 2px solid var(--navy); border-radius: 6px; }
.menu-toggle:checked ~ .main-nav {
  display: flex; flex-direction: column; align-items: stretch; gap: 0;
  position: absolute; top: 64px; left: 0; right: 0;
  background: var(--white); border-bottom: 1px solid var(--line); padding: 8px 16px 16px;
}
.menu-toggle:checked ~ .main-nav a:not(.btn) { padding: 12px 4px; border-bottom: 1px solid #f3f4f6; }
.menu-toggle:checked ~ .main-nav .btn { margin-top: 12px; }

@media (min-width: 1024px) {
  .menu-button { display: none; }
  .main-nav, .menu-toggle:checked ~ .main-nav {
    display: flex; flex-direction: row; position: static; padding: 0; border: 0; gap: 24px; align-items: center;
  }
  .menu-toggle:checked ~ .main-nav a:not(.btn) { padding: 0; border: 0; }
  .menu-toggle:checked ~ .main-nav .btn { margin-top: 0; }
}

/* ---- 見出し ---- */
.eyebrow { font-size: .875rem; font-weight: 700; letter-spacing: .15em; color: var(--navy-light); }
.section-heading { max-width: 48rem; margin: 0 auto 48px; text-align: center; }
.section-heading h2 { margin-top: 8px; font-size: 1.5rem; line-height: 1.5; color: var(--navy); }
.heading-bar { width: 48px; height: 4px; border-radius: 4px; background: var(--accent); margin: 16px auto 0; }
.lead { margin-top: 20px; color: var(--muted); }
@media (min-width: 640px) { .section-heading h2 { font-size: 1.875rem; } }

.section { padding: 64px 0; }
.section-alt { background: var(--alt); }
@media (min-width: 640px) { .section { padding: 80px 0; } }

.page-hero { background: var(--alt); padding: 64px 0; text-align: center; }
.page-hero h1 { margin-top: 8px; font-size: 1.875rem; color: var(--navy); line-height: 1.4; }
.page-hero .lead { max-width: 44rem; margin-left: auto; margin-right: auto; }
@media (min-width: 640px) { .page-hero h1 { font-size: 2.25rem; } }

/* ---- ヒーロー ---- */
.hero { background: linear-gradient(to bottom, var(--alt), var(--white)); }
.hero-grid { display: grid; gap: 48px; align-items: center; padding-top: 56px; padding-bottom: 64px; }
@media (min-width: 1024px) { .hero-grid { grid-template-columns: 1fr 1fr; padding-top: 96px; padding-bottom: 96px; } }
.hero-eyebrow { font-size: .875rem; font-weight: 700; color: var(--navy-light); }
.hero h1 { margin-top: 12px; font-size: 1.875rem; line-height: 1.45; color: var(--navy); }
@media (min-width: 640px) { .hero h1 { font-size: 2.25rem; } }
@media (min-width: 1024px) { .hero h1 { font-size: 2.6rem; } }
.hero-lead { margin-top: 24px; color: #374151; }
.badge-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; list-style: none; }
.badge-list li {
  border: 1px solid rgba(31,58,95,.2); background: var(--white); color: var(--navy);
  font-size: .875rem; font-weight: 700; border-radius: 999px; padding: 6px 14px;
}

/* ---- 製品画面（ブラウザ枠＋スクリーンショット） ---- */
.shot-frame {
  position: relative; border-radius: 12px; background: var(--white); overflow: hidden;
  box-shadow: 0 20px 40px rgba(31,58,95,.15), 0 0 0 1px rgba(31,58,95,.08);
}
.shot-bar { display: flex; align-items: center; gap: 6px; background: var(--alt); border-bottom: 1px solid var(--line); padding: 9px 14px; }
.shot-bar span { width: 10px; height: 10px; border-radius: 50%; background: #d1d5db; }
.shot-bar i { margin-left: 10px; height: 14px; flex: 1; border-radius: 4px; background: var(--white); }
.shot-frame img { display: block; width: 100%; height: auto; }
.mock-note { margin-top: 8px; text-align: right; font-size: .75rem; color: #9ca3af; }

/* 機能ページ：画面と説明を左右交互に並べる */
.feature-blocks { display: grid; gap: 72px; }
.feature-block { display: grid; gap: 28px; align-items: center; }
@media (min-width: 1024px) {
  .feature-block { grid-template-columns: 1fr 1.25fr; gap: 48px; }
  .feature-block.reverse > :first-child { order: 2; }
}
.feature-block h3 { margin-top: 10px; font-size: 1.35rem; line-height: 1.5; color: var(--navy); }
.feature-block .catch { margin-top: 6px; font-weight: 700; color: var(--navy-light); }
.feature-block .desc { margin-top: 12px; color: var(--muted); line-height: 1.9; }
.feature-block ul { margin-top: 14px; display: grid; gap: 8px; }
.feature-block li { position: relative; padding-left: 22px; line-height: 1.7; }
.feature-block li::before { content: ""; position: absolute; left: 2px; top: .55em; width: 10px; height: 10px; border-radius: 3px; background: var(--accent); }
.feature-eyebrow { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: .8rem; font-weight: 700; letter-spacing: .08em; color: var(--muted); }

/* トップページ：製品画面3枚 */
.shot-grid { display: grid; gap: 28px; }
@media (min-width: 768px) { .shot-grid { grid-template-columns: repeat(3, 1fr); } }
.shot-grid h3 { margin-top: 14px; font-size: 1rem; color: var(--navy); }
.shot-grid p { margin-top: 4px; font-size: .9rem; color: var(--muted); line-height: 1.7; }

/* ---- 課題 ---- */
.problem-list { list-style: none; display: grid; gap: 16px; max-width: 56rem; margin: 0 auto; }
@media (min-width: 640px) { .problem-list { grid-template-columns: 1fr 1fr; } .problem-list li:last-child { grid-column: span 2; } }
.problem-list li {
  position: relative; background: var(--alt); border-radius: var(--radius);
  padding: 20px 20px 20px 52px; color: #374151;
}
.problem-list li::before {
  content: "!"; position: absolute; left: 18px; top: 21px;
  width: 22px; height: 22px; border-radius: 50%;
  background: rgba(242,194,0,.3); border: 2px solid var(--navy); color: var(--navy);
  font-size: .75rem; font-weight: 700; display: flex; align-items: center; justify-content: center; line-height: 1;
}

/* ---- 流れ ---- */
.flow { list-style: none; display: grid; gap: 16px; }
@media (min-width: 768px) { .flow { grid-template-columns: repeat(4, 1fr); } }
.flow li { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.flow li.flow-ai { background: #fffbe8; border-color: #f0dc9a; }
.flow-num {
  display: flex; align-items: center; justify-content: center; width: 36px; height: 36px;
  border-radius: 8px; background: var(--navy); color: var(--white); font-weight: 700;
}
.flow h3 { margin-top: 12px; color: var(--navy); font-size: 1.125rem; }
.flow p { margin-top: 6px; font-size: .9rem; color: var(--muted); }

/* ---- カード ---- */
.card-grid { display: grid; gap: 20px; }
@media (min-width: 640px) { .card-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .card-grid { grid-template-columns: repeat(3, 1fr); } }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: 0 1px 2px rgba(0,0,0,.04); }
.card-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.num-badge {
  display: flex; align-items: center; justify-content: center; width: 40px; height: 40px;
  border-radius: 8px; background: var(--navy); color: var(--white); font-weight: 700;
}
.tags { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.tag { font-size: .75rem; font-weight: 700; border-radius: 999px; padding: 2px 10px; border: 1px solid rgba(31,58,95,.3); color: var(--navy); }
.tag-ai { background: var(--accent); border-color: var(--accent); }
.tag-b { background: var(--navy); color: var(--white); border-color: var(--navy); }
.card h3 { margin-top: 16px; font-size: 1.125rem; color: var(--navy); }
.card p { margin-top: 8px; font-size: .9rem; color: var(--muted); }
.small-note { margin-top: 24px; text-align: center; font-size: .875rem; color: var(--muted); }

.three-grid { display: grid; gap: 20px; }
@media (min-width: 768px) { .three-grid { grid-template-columns: repeat(3, 1fr); } }
.point { background: var(--white); border-radius: var(--radius); padding: 28px; border-top: 4px solid var(--accent); }
.point h3 { color: var(--navy); font-size: 1.125rem; }
.point p { margin-top: 8px; font-size: .9rem; color: var(--muted); }

/* ---- 料金 ---- */
.price-grid { display: grid; gap: 24px; max-width: 60rem; margin: 0 auto; }
@media (min-width: 768px) { .price-grid { grid-template-columns: 1fr 1fr; } }
.price-card { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 32px 28px; box-shadow: 0 1px 3px rgba(0,0,0,.05); }
.price-card-featured { border: 2px solid var(--navy); }
.featured-label {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%); white-space: nowrap;
  background: var(--accent); color: var(--navy); font-size: .8rem; font-weight: 700; border-radius: 999px; padding: 4px 14px;
}
.price-plan { font-size: .875rem; font-weight: 700; color: var(--navy-light); }
.price-card h3 { font-size: 1.375rem; color: var(--navy); }
.price { margin-top: 16px; color: var(--navy); font-weight: 700; }
.price-num { font-size: 2.25rem; letter-spacing: -.01em; }
.price-unit { font-size: .875rem; color: var(--muted); font-weight: 400; margin-left: 4px; }
.price-breakdown { margin-top: 6px; font-size: .8rem; color: var(--muted); }
.check-list { list-style: none; margin-top: 20px; border-top: 1px solid var(--line); padding-top: 16px; }
.check-list li { position: relative; padding-left: 26px; margin-top: 8px; font-size: .925rem; }
.check-list li::before {
  content: ""; position: absolute; left: 4px; top: 7px; width: 12px; height: 7px;
  border-left: 3px solid var(--accent); border-bottom: 3px solid var(--accent); transform: rotate(-45deg);
}
.price-after { margin-top: 20px; background: var(--alt); border-radius: 8px; padding: 10px 14px; font-size: .875rem; font-weight: 700; color: var(--navy); }
.note-list { list-style: none; max-width: 60rem; margin: 24px auto 0; }
.note-list li { position: relative; padding-left: 1.1em; font-size: .875rem; color: var(--muted); margin-top: 4px; }
.note-list li::before { content: "※"; position: absolute; left: 0; }
.note-list-strong li { font-size: .95rem; color: var(--text); margin-top: 10px; }
.note-list-strong li::before { content: "・"; color: var(--navy); font-weight: 700; }

/* ---- バナー・注意 ---- */
.banner {
  display: flex; flex-direction: column; gap: 20px; align-items: flex-start;
  background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 32px;
}
.banner h2 { margin-top: 4px; font-size: 1.25rem; color: var(--navy); line-height: 1.5; }
.banner p { margin-top: 6px; font-size: .9rem; color: var(--muted); }
@media (min-width: 768px) { .banner { flex-direction: row; align-items: center; justify-content: space-between; } .banner .btn { flex-shrink: 0; } }

.notice { background: #fffbe8; border: 1px solid #f0dc9a; border-left: 4px solid var(--accent); border-radius: 8px; padding: 16px 20px; margin-bottom: 48px; font-size: .95rem; }
.notice-navy { background: var(--alt); border-color: #d5dde8; border-left-color: var(--navy); margin: 32px 0 0; }
.notice-navy .note-list { margin-top: 8px; }

.section .section-heading:not(:first-child) { margin-top: 64px; }
.narrow > p { color: #374151; }

/* ---- 表 ---- */
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); background: var(--white); }
.table { width: 100%; border-collapse: collapse; font-size: .9rem; min-width: 520px; }
.table th { background: var(--navy); color: var(--white); text-align: left; padding: 12px 14px; font-weight: 700; }
.table td { padding: 12px 14px; border-top: 1px solid var(--line); vertical-align: top; }
.table tbody tr:nth-child(even) td { background: #fafbfd; }
.nowrap { white-space: nowrap; }
.center-cell { text-align: center; }
.star { color: #8a6d00; font-weight: 700; }
.section-alt .table-wrap + .section-heading { margin-top: 64px; }

/* ---- 手順 ---- */
.steps { list-style: none; counter-reset: step; max-width: 48rem; margin: 0 auto; }
.steps li { counter-increment: step; position: relative; padding: 0 0 28px 60px; }
.steps li::before {
  content: counter(step); position: absolute; left: 0; top: 0; width: 40px; height: 40px; border-radius: 50%;
  background: var(--navy); color: var(--white); font-weight: 700; display: flex; align-items: center; justify-content: center;
}
.steps li:not(:last-child)::after { content: ""; position: absolute; left: 19px; top: 44px; bottom: 4px; width: 2px; background: #d5dde8; }
.steps strong { display: block; color: var(--navy); font-size: 1.05rem; padding-top: 6px; }
.steps span { display: block; margin-top: 2px; color: var(--muted); font-size: .925rem; }

/* ---- FAQ ---- */
.faq { max-width: 48rem; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: var(--alt); border-radius: var(--radius); padding: 0 20px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 28px 18px 0; position: relative; font-weight: 700; color: var(--navy); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 14px; font-size: 1.4rem; color: var(--navy-light); }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding-bottom: 18px; color: #374151; font-size: .95rem; }

/* ---- お問い合わせ・運営者 ---- */
.contact-grid { display: grid; gap: 20px; }
@media (min-width: 640px) { .contact-grid { grid-template-columns: 1fr 1fr; } }
.contact-card { display: block; text-decoration: none; background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 28px; transition: border-color .2s; }
.contact-card:hover { border-color: var(--navy); }
.contact-label { font-size: .875rem; font-weight: 700; color: var(--navy-light); }
.contact-value { margin-top: 4px; font-size: 1.1rem; font-weight: 700; color: var(--navy); word-break: break-all; }
.contact-help { margin-top: 8px; font-size: .85rem; color: var(--muted); }

.info-list { border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.info-list div { display: grid; gap: 4px; padding: 20px 24px; }
.info-list div:nth-child(even) { background: rgba(246,248,251,.6); }
.info-list dt { font-size: .875rem; font-weight: 700; color: var(--navy); }
.info-list dd a { color: var(--navy); font-weight: 700; }
@media (min-width: 640px) { .info-list div { grid-template-columns: 10rem 1fr; gap: 16px; } }

.prose h2 { margin-top: 32px; font-size: 1.125rem; color: var(--navy); border-left: 4px solid var(--navy); padding-left: 12px; }
.prose p { margin-top: 10px; color: #374151; }
.prose .small-note { text-align: left; }

/* ---- CTA・フッター ---- */
.cta { background: var(--navy); color: var(--white); padding: 64px 0; text-align: center; }
.cta h2 { font-size: 1.5rem; line-height: 1.5; }
.cta p { margin-top: 12px; color: #d1d5db; }
.cta .btn-row { justify-content: center; }

.site-footer { background: var(--navy-dark); color: var(--white); padding: 48px 0 24px; }
.footer-grid { display: grid; gap: 40px; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer-lead { margin-top: 16px; font-size: .875rem; color: #d1d5db; }
.site-footer h2 { font-size: .875rem; color: #9ca3af; }
.site-footer ul { list-style: none; margin-top: 16px; }
.site-footer li { margin-top: 8px; }
.site-footer li a { font-size: .875rem; color: #e5e7eb; text-decoration: none; }
.site-footer li a:hover { color: var(--accent); }
.copyright { text-align: center; margin-top: 40px; font-size: .75rem; color: #9ca3af; }
