@charset "UTF-8";
/* =========================================================
   ComDesign 暫定ページ  style.css
   ========================================================= */

:root {
  --blue: #155495;
  --blue-dark: #004485;
  --blue-pale: #e8eef4;
  --gray-bg: #f6f8fa;
  --gray-line: #d9dee4;
  --text: #000;
  --text-sub: #333;
  --accent: #e0401b;
  --header-h: 72px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 游ゴシック体, YuGothic, 游ゴシック, "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  font-weight: 500;
  color: var(--text);
  background: #fff;
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--blue); }
ul { list-style: none; }
.inner { max-width: 1000px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 720px; margin: 0 auto; padding: 0 16px; }
.num { font-family: Oswald, sans-serif; font-weight: 500; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: #fff; border-bottom: 1px solid #eee;
}
.site-header .inner {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--header-h);
}
.header-logo img { height: 48px; width: auto; }
.header-right { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.header-btns { display: flex; gap: 6px; }
.header-btns a {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--blue); color: #fff; text-decoration: none;
  font-size: 12px; font-weight: 600; line-height: 1; padding: 8px 16px;
  transition: opacity .2s;
}
.header-btns a:hover { opacity: .85; }
.header-btns svg { width: 13px; height: 13px; }
.gnav ul { display: flex; gap: 22px; }
.gnav a { color: var(--text); text-decoration: none; font-size: 13px; }
.gnav a:hover { color: var(--blue); }

/* ハンバーガー（CSSのみ） */
.nav-toggle, .nav-btn { display: none; }

/* ---------- Hero ---------- */
/* 画像の実寸（1280×560）まで広がり、それ以上は左右を余白にする */
.hero {
  position: relative;
  max-width: 1280px;
  margin: 0 auto;
  aspect-ratio: 1280 / 560;
  background: #dbe9f2 url("../image/image_01.jpg") center / cover no-repeat;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: rgba(255, 255, 255, .35);
}
.hero-logo { position: relative; width: 200px; }

/* ---------- Notice（トップ画像の前面） ---------- */
.notice {
  position: absolute; top: 24px; left: 50%; transform: translateX(-50%);
  z-index: 1; width: calc(100% - 32px); max-width: 640px;
  background: rgba(0, 68, 133, .88); color: #fff; text-align: center;
  font-size: 14px; line-height: 1.7; padding: 12px 20px;
}
.notice strong { font-weight: 700; }
.hero-logo img { width: 100%; height: auto; }

/* ---------- Common section ---------- */
section { padding: 88px 0; scroll-margin-top: var(--header-h); }
.sec-label {
  text-align: center; color: var(--blue);
  font-family: Oswald, sans-serif; font-size: 14px; letter-spacing: .2em;
}
.sec-title { text-align: center; font-size: 30px; line-height: 1.5; margin-bottom: 40px; }
.sub-title { text-align: center; font-size: 24px; margin: 80px 0 32px; }
.lead-title { text-align: center; font-size: 22px; line-height: 1.8; }
.lead-title::after {
  content: ""; display: block; width: 60px; height: 2px;
  background: var(--blue); margin: 24px auto 32px;
}
.body-text p { font-size: 15px; color: var(--text-sub); margin-bottom: 1.2em; }
.note { font-size: 12px; color: #555; }
.bg-gray { background: var(--gray-bg); }

/* ---------- Features ---------- */
.feature-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px; margin-top: 40px;
}
.feature { background: #fff; padding: 30px 26px; border-top: 3px solid var(--blue); }
.feature svg { width: 56px; height: 56px; margin-bottom: 16px; }
.feature h4 { font-size: 18px; line-height: 1.6; margin-bottom: 10px; color: var(--blue-dark); }
.feature p { font-size: 14px; color: var(--text-sub); line-height: 1.85; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; margin-top: 72px; }
.stats h3 { font-size: 26px; margin-bottom: 16px; }
.stats p { font-size: 15px; color: var(--text-sub); }
.stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 24px; text-align: center; }
.stat-grid dt { font-size: 14px; font-weight: 600; }
.stat-grid dd { font-family: Oswald, sans-serif; color: var(--blue); font-size: 58px; line-height: 1.15; }
.stat-grid dd small { font-size: 24px; }

/* ---------- Price ---------- */
.price-lead { text-align: center; font-size: 15px; color: var(--text-sub); margin-bottom: 40px; }
.price-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.price-card { background: #fff; border: 1px solid var(--gray-line); padding: 28px 24px; text-align: center; }
.price-card .en { font-family: Oswald, sans-serif; color: var(--blue); font-size: 13px; letter-spacing: .15em; }
.price-card h4 { font-size: 16px; margin: 4px 0 14px; }
.price-card .yen { font-family: Oswald, sans-serif; color: var(--blue); font-size: 44px; line-height: 1.1; }
.price-card .yen small { font-size: 22px; margin-right: 2px; }
.price-card .yen .per { font-family: inherit; font-size: 13px; color: var(--text-sub); }
.price-card .free { display: inline-block; background: var(--accent); color: #fff; border-radius: 50%;
  width: 84px; height: 84px; line-height: 1.3; font-size: 18px; font-weight: 700;
  padding-top: 18px; }
.price-card ul { margin-top: 14px; text-align: left; font-size: 13px; color: var(--text-sub); }
.price-card li { display: flex; justify-content: space-between; border-top: 1px dashed var(--gray-line); padding: 6px 0; }
.price-card li span:last-child { font-family: Oswald, sans-serif; color: var(--blue); font-size: 17px; }
.price-card .desc { margin-top: 12px; font-size: 12px; color: #555; text-align: left; line-height: 1.7; }

.compare-cond { background: var(--gray-bg); font-size: 14px; padding: 14px 20px; margin: 0 auto 20px; max-width: 760px; }
.compare-cond b { margin-right: 1em; }
.table-wrap { max-width: 760px; margin: 0 auto; overflow-x: auto; }
.compare { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 480px; }
.compare th, .compare td { border: 1px solid #b9c6d4; padding: 14px 12px; text-align: center; }
.compare thead th { background: #ddd; font-size: 13px; }
.compare thead th.ours { background: var(--blue); color: #fff; }
.compare tbody th { text-align: left; font-weight: 600; background: #fff; }
.compare tbody th small { display: block; font-size: 11px; font-weight: 500; }
.compare td b { font-family: Oswald, sans-serif; font-weight: 500; font-size: 18px; }
.compare td.ours { background: var(--gray-bg); color: var(--blue); }
.compare td.ours b { font-size: 26px; }
.compare td small { font-size: 11px; }

/* ---------- Flow ---------- */
.flow { max-width: 760px; margin: 0 auto; counter-reset: step; }
.flow li {
  position: relative; display: grid; grid-template-columns: 76px 1fr; gap: 16px;
  padding: 18px 0; border-bottom: 1px solid var(--gray-line);
}
.flow .step { font-family: Oswald, sans-serif; color: var(--blue); line-height: 1.1; text-align: center; font-size: 12px; letter-spacing: .1em; }
.flow .step b { display: block; font-size: 30px; font-weight: 500; letter-spacing: 0; }
.flow h4 { font-size: 16px; }
.flow p { font-size: 14px; color: var(--text-sub); }
.flow .period { display: inline-block; margin-top: 4px; background: var(--blue-pale); color: var(--blue-dark); font-size: 12px; padding: 0 10px; }
.flow-after { max-width: 760px; margin: 20px auto 0; background: var(--blue); color: #fff; padding: 16px 20px; font-size: 14px; }
.flow-after b { font-size: 16px; margin-right: 1em; }

/* ---------- Company ---------- */
.profile { max-width: 800px; margin: 0 auto; border-top: 1px solid var(--gray-line); }
.profile > div { display: grid; grid-template-columns: 200px 1fr; border-bottom: 1px solid var(--gray-line); }
.profile dt { padding: 18px 16px; font-weight: 600; font-size: 14px; }
.profile dd { padding: 18px 16px; font-size: 14px; color: var(--text-sub); }
.profile dd p + p { margin-top: .6em; }
.profile dd .lbl { display: block; font-weight: 600; color: var(--text); }

.doc-list li { position: relative; padding-left: 1.4em; }
.doc-list li::before { content: ""; position: absolute; left: 0; top: .55em; width: 9px; height: 11px; border: 1px solid var(--blue); }
.price-card sup { font-size: 10px; }

/* ---------- Contact ---------- */
.contact-lead { text-align: center; font-size: 14px; color: var(--text-sub); margin-bottom: 32px; }
.form-wrap { max-width: 760px; margin: 0 auto; background: #fff; border: 1px solid var(--gray-line); }
.form-wrap iframe { display: block; width: 100%; height: 1500px; border: 0; }
.contact-alt { max-width: 760px; margin: 32px auto 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-alt div { background: #fff; border: 1px solid var(--gray-line); padding: 20px; text-align: center; }
.contact-alt .lbl { font-size: 13px; color: #555; }
.contact-alt a { font-family: Oswald, sans-serif; font-size: 26px; text-decoration: none; }
.contact-alt a.mail { font-family: inherit; font-size: 18px; }

.mail-guide { max-width: 640px; margin: 0 auto; background: var(--gray-bg); border-top: 3px solid var(--blue); padding: 32px 36px; }
.mail-guide p { font-size: 15px; }
.mail-guide p a { font-weight: 700; word-break: break-all; }
.mail-guide ul { margin: 16px 0 24px; }
.mail-guide li { position: relative; padding-left: 1.2em; font-size: 15px; }
.mail-guide li::before { content: ""; position: absolute; left: 0; top: .8em; width: 6px; height: 6px; background: var(--blue); }
.mail-btn { display: block; max-width: 320px; margin: 0 auto; background: var(--blue); color: #fff; text-align: center; text-decoration: none; font-weight: 600; padding: 14px; transition: opacity .2s; }
.mail-btn:hover { opacity: .85; }
.contact-tel { text-align: center; font-size: 14px; margin-top: 24px; }
.contact-tel a { font-family: Oswald, sans-serif; font-size: 20px; text-decoration: none; }

/* ---------- Footer ---------- */
.site-footer { background: var(--blue); color: #fff; padding: 40px 0 24px; font-size: 13px; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 24px; margin-bottom: 20px; }
.footer-links a { color: #fff; }
.copyright { text-align: center; font-size: 11px; opacity: .85; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 860px) {
  :root { --header-h: 60px; }
  .header-logo img { height: 40px; }
  .header-right { display: none; }

  .nav-btn { display: block; position: relative; width: 44px; height: 44px; cursor: pointer; }
  .nav-btn span {
    position: absolute; left: 10px; width: 24px; height: 2px;
    background: var(--blue); transition: transform .2s, opacity .2s;
  }
  .nav-btn span:nth-child(1) { top: 14px; }
  .nav-btn span:nth-child(2) { top: 21px; }
  .nav-btn span:nth-child(3) { top: 28px; }
  .nav-toggle:checked ~ .header-right {
    display: flex; position: absolute; top: var(--header-h); left: 0; right: 0;
    flex-direction: column-reverse; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid #eee; padding: 8px 16px 16px;
  }
  .nav-toggle:checked ~ .header-right .gnav ul { flex-direction: column; gap: 0; }
  .nav-toggle:checked ~ .header-right .gnav a { display: block; padding: 12px 0; border-bottom: 1px solid #eee; font-size: 15px; }
  .nav-toggle:checked ~ .header-right .header-btns { margin-top: 14px; }
  .nav-toggle:checked ~ .header-right .header-btns a { flex: 1; justify-content: center; padding: 12px; }
  .nav-toggle:checked + .nav-btn span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle:checked + .nav-btn span:nth-child(2) { opacity: 0; }
  .nav-toggle:checked + .nav-btn span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .price-cards { grid-template-columns: 1fr; }
  /* タブレット・スマホでは画像比率のままだと低すぎるため高さを確保 */
  .hero { aspect-ratio: auto; min-height: 380px; padding-top: 110px; padding-bottom: 24px; }
  .notice { top: 16px; padding: 10px 12px; }
  .hero-logo { width: 150px; }
  .stats { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  section { padding: 60px 0; }
  .notice { font-size: 12px; }
  .sec-title { font-size: 24px; }
  .sub-title { font-size: 20px; margin-top: 56px; }
  .lead-title { font-size: 18px; }
  .lead-title br.pc { display: none; }
  .stat-grid dd { font-size: 44px; }
  .flow li { grid-template-columns: 56px 1fr; }
  .flow .step b { font-size: 24px; }
  .profile > div { grid-template-columns: 1fr; }
  .profile dt { padding: 14px 4px 0; }
  .profile dd { padding: 4px 4px 14px; }
  .mail-guide { padding: 24px 20px; }
}
