:root {
  --green: #5ba05e;
  --green-dark: #3f7a44;
  --yellow: #f0b23e;
  --blue: #4a7fc1;
  --pink: #d95f8d;
  --ink: #1f2a26;
  --ink-soft: #4c5a55;
  --bg: #ffffff;
  --bg-soft: #f4f8f5;
  --line: #e2e9e4;
  --radius: 14px;
  --maxw: 1080px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.8;
  font-size: 16px;
}

img { max-width: 100%; display: block; }

a { color: var(--green-dark); text-decoration: none; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .inner {
  max-width: var(--maxw); margin: 0 auto; padding: 12px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { width: 40px; height: 40px; }
.brand .name { font-weight: 700; font-size: 1.05rem; letter-spacing: 0.02em; color: var(--ink); }
.brand .name small { display: block; font-size: 0.68rem; font-weight: 500; color: var(--ink-soft); letter-spacing: 0.08em; }

.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; font-size: 1.1rem; cursor: pointer; color: var(--ink); }

.site-nav ul { display: flex; gap: 22px; list-style: none; align-items: center; }
.site-nav a { color: var(--ink-soft); font-size: 0.92rem; font-weight: 500; }
.site-nav a:hover, .site-nav a.active { color: var(--green-dark); }
.site-nav .cta a {
  background: var(--green); color: #fff; padding: 9px 18px; border-radius: 999px; font-weight: 600;
}
.site-nav .cta a:hover { background: var(--green-dark); }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 12px 24px 20px; }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; align-items: flex-start; gap: 14px; }
}

/* ---------- hero ---------- */
.hero {
  background: linear-gradient(135deg, #eef7ef 0%, #fdfaf2 45%, #eef2fa 100%);
  padding: 88px 0 72px;
  position: relative; overflow: hidden;
}
.hero .bars { position: absolute; right: -60px; top: -40px; width: 380px; opacity: 0.1; }
.hero h1 { font-size: clamp(1.6rem, 4vw, 2.5rem); font-weight: 800; line-height: 1.5; letter-spacing: 0.02em; }
.hero p.lead { margin-top: 18px; font-size: clamp(1rem, 2vw, 1.15rem); color: var(--ink-soft); max-width: 640px; }
.hero .actions { margin-top: 32px; display: flex; gap: 14px; flex-wrap: wrap; }

.btn {
  display: inline-block; padding: 13px 28px; border-radius: 999px; font-weight: 700; font-size: 0.95rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--green); color: #fff; box-shadow: 0 6px 18px rgba(91, 160, 94, 0.35); }
.btn-primary:hover { background: var(--green-dark); color: #fff; }
.btn-ghost { border: 2px solid var(--green); color: var(--green-dark); background: #fff; }

/* ---------- page hero (subpages) ---------- */
.page-hero { background: linear-gradient(135deg, #eef7ef, #f6f9f3); padding: 56px 0 44px; border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(1.5rem, 3.4vw, 2.1rem); font-weight: 800; }
.page-hero p { margin-top: 10px; color: var(--ink-soft); max-width: 720px; }
.breadcrumb { font-size: 0.8rem; color: var(--ink-soft); margin-bottom: 14px; }
.breadcrumb a { color: var(--ink-soft); }

/* ---------- sections ---------- */
section.block { padding: 72px 0; }
section.block.alt { background: var(--bg-soft); }

.section-title { text-align: center; margin-bottom: 44px; }
.section-title .en { display: block; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.24em; color: var(--green); text-transform: uppercase; }
.section-title h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); font-weight: 800; margin-top: 6px; }
.section-title p.sub { color: var(--ink-soft); margin-top: 10px; }

/* ---------- cards ---------- */
.grid { display: grid; gap: 24px; }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 860px) { .grid.cols-3, .grid.cols-2 { grid-template-columns: 1fr; } }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 26px; position: relative;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.card:hover { box-shadow: 0 10px 28px rgba(31, 42, 38, 0.08); transform: translateY(-3px); }
.card .tag { position: absolute; top: 0; left: 26px; transform: translateY(-50%);
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; color: #fff;
  padding: 4px 14px; border-radius: 999px; background: var(--green); }
.card.c-yellow .tag { background: var(--yellow); }
.card.c-blue .tag { background: var(--blue); }
.card.c-pink .tag { background: var(--pink); }
.card h3 { font-size: 1.12rem; font-weight: 700; margin-bottom: 10px; }
.card ul { list-style: none; margin-top: 8px; }
.card ul li { padding-left: 1.2em; position: relative; color: var(--ink-soft); font-size: 0.95rem; margin-bottom: 6px; }
.card ul li::before { content: "\2713"; position: absolute; left: 0; color: var(--green); font-weight: 700; }
.card p { color: var(--ink-soft); font-size: 0.95rem; }
.card .more { display: inline-block; margin-top: 14px; font-weight: 700; font-size: 0.9rem; }
.card .more::after { content: " \2192"; }

/* ---------- feature rows ---------- */
.feature { display: flex; gap: 36px; align-items: flex-start; margin-bottom: 48px; }
.feature:last-child { margin-bottom: 0; }
.feature .num {
  flex: 0 0 64px; height: 64px; border-radius: 18px; display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1.3rem; color: #fff; background: var(--green);
}
.feature:nth-child(4n+2) .num { background: var(--yellow); }
.feature:nth-child(4n+3) .num { background: var(--blue); }
.feature:nth-child(4n+0) .num { background: var(--pink); }
.feature h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 8px; }
.feature p { color: var(--ink-soft); }
@media (max-width: 640px) { .feature { flex-direction: column; gap: 14px; } }

/* ---------- table ---------- */
.spec-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.spec-table th, .spec-table td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); font-size: 0.95rem; }
.spec-table th { background: var(--bg-soft); width: 32%; font-weight: 700; color: var(--ink); vertical-align: top; }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: none; }

/* ---------- topics ---------- */
.topic { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 28px; margin-bottom: 20px; }
.topic .date { font-size: 0.8rem; font-weight: 700; color: var(--green); letter-spacing: 0.06em; }
.topic h3 { font-size: 1.1rem; font-weight: 700; margin: 6px 0 8px; }
.topic p { color: var(--ink-soft); font-size: 0.95rem; }

/* ---------- contact ---------- */
.contact-band {
  background: linear-gradient(135deg, var(--green-dark), var(--green));
  color: #fff; padding: 64px 0; text-align: center;
}
.contact-band h2 { font-size: clamp(1.3rem, 3vw, 1.7rem); font-weight: 800; }
.contact-band p { margin-top: 10px; opacity: 0.92; }
.contact-band .channels { margin-top: 28px; display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }
.contact-band .channels a {
  background: #fff; color: var(--green-dark); font-weight: 700; padding: 14px 30px; border-radius: 999px;
  display: inline-flex; align-items: center; gap: 8px;
}
.contact-band .channels a:hover { background: #f0f7f0; }

/* ---------- footer ---------- */
.site-footer { background: #22302a; color: #cfe0d4; padding: 48px 0 28px; font-size: 0.9rem; }
.site-footer .cols { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.site-footer .brand-f { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 700; }
.site-footer .brand-f img { width: 34px; height: 34px; }
.site-footer ul { list-style: none; display: flex; gap: 18px; flex-wrap: wrap; }
.site-footer a { color: #cfe0d4; }
.site-footer a:hover { color: #fff; }
.site-footer .copy { margin-top: 30px; text-align: center; font-size: 0.8rem; color: #90a698; }
