@import url('https://fonts.googleapis.com/css2?family=Zen+Kaku+Gothic+New:wght@500;700&family=Noto+Sans+JP:wght@400;500&display=swap');

:root {
  --ink: #1E2B33;
  --paper: #F6F5F1;
  --sky: #5B84A6;
  --sky-soft: #DCE6EC;
  --line: #D8D6CF;
  --sub: #6B7580;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: 'Noto Sans JP', sans-serif;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

:focus-visible {
  outline: 2px solid var(--sky);
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── ヘッダー / ナビ ───────────────────────────── */
header {
  padding: 32px 0 20px;
  border-bottom: 1px solid var(--line);
}

header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.logo {
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 0.02em;
}

.logo span {
  color: var(--sky);
}

nav.gnav {
  display: flex;
  gap: 28px;
}

nav.gnav a {
  font-size: 13.5px;
  color: var(--sub);
  position: relative;
  padding: 4px 0;
  transition: color 0.15s ease;
}

nav.gnav a:hover {
  color: var(--ink);
}

nav.gnav a[aria-current="page"] {
  color: var(--ink);
  font-weight: 500;
}

nav.gnav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  background: var(--sky);
  border-radius: 2px;
}

/* ── 共通の本文まわり ─────────────────────────── */
main {
  padding: 64px 0 48px;
}

.eyebrow {
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--sky);
  font-weight: 500;
  margin-bottom: 14px;
  text-transform: uppercase;
}

h1 {
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-weight: 700;
  font-size: clamp(28px, 5vw, 40px);
  line-height: 1.5;
  letter-spacing: 0.01em;
  margin-bottom: 20px;
}

h2 {
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-weight: 700;
  font-size: 21px;
  line-height: 1.6;
  margin: 44px 0 16px;
}

.lead {
  color: #4A5760;
  font-size: 15px;
  max-width: 46ch;
  margin-bottom: 56px;
}

p {
  font-size: 14.5px;
  color: #40494F;
  max-width: 58ch;
  margin-bottom: 18px;
}

/* ── ツールカード ─────────────────────────────── */
.tools {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 40px;
}

.tool-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.tool-card:hover,
.tool-card:focus-visible {
  border-color: var(--sky);
  transform: translateY(-1px);
}

.tool-info .tool-name {
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-weight: 500;
  font-size: 16px;
  margin-bottom: 4px;
}

.tool-info .tool-desc {
  font-size: 13px;
  color: #6B7580;
}

.tool-tags {
  display: flex;
  gap: 6px;
  margin-top: 8px;
  flex-wrap: wrap;
}

.tool-tag {
  font-size: 11px;
  color: var(--sky);
  background: var(--sky-soft);
  padding: 3px 9px;
  border-radius: 20px;
}

.tool-arrow {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--sky-soft);
  color: var(--sky);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.soon {
  padding: 22px 24px;
  border: 1px dashed var(--line);
  border-radius: 10px;
  color: #96A0A8;
  font-size: 13px;
}

/* ── カード / ボックス（About・Contactで使う） ──── */
.box {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 24px;
  margin-bottom: 16px;
}

.principles {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 24px 0 48px;
}

.principle {
  display: flex;
  gap: 16px;
  align-items: baseline;
}

.principle .num {
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-size: 13px;
  color: var(--sky);
  flex-shrink: 0;
  width: 22px;
}

.principle .text .t {
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-weight: 500;
  font-size: 15px;
  margin-bottom: 4px;
}

.principle .text .d {
  font-size: 13.5px;
  color: var(--sub);
}

/* ── 連絡先カード ─────────────────────────────── */
.contact-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  margin-bottom: 12px;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.contact-card:hover,
.contact-card:focus-visible {
  border-color: var(--sky);
  transform: translateY(-1px);
}

.contact-card .c-info .c-label {
  font-size: 12px;
  color: var(--sub);
  margin-bottom: 4px;
}

.contact-card .c-info .c-value {
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-weight: 500;
  font-size: 15.5px;
}

.note {
  font-size: 12.5px;
  color: #96A0A8;
  margin-top: 24px;
}

/* ── フッター ──────────────────────────────────── */
footer {
  border-top: 1px solid var(--line);
  padding: 28px 0 40px;
  font-size: 13px;
  color: #7C8891;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

footer a:hover {
  color: var(--sky);
}

footer .fnav {
  display: flex;
  gap: 16px;
}

@media (max-width: 480px) {
  .tool-card { padding: 18px; }
  nav.gnav { gap: 18px; }
}
