:root {
  --navy: #172337;
  --navy-deep: #121c2b;
  --navy-light: #26364c;

  --dawn: #e3a65f;
  --dawn-light: #ffd691;

  --bg: #fafaf8;
  --bg-muted: #f3f5f6;
  --surface: #ffffff;

  --text: #222831;
  --text-soft: #657080;

  --line: #e3e7ea;

  --dailycsv: #278c89;
  --bancho: #52627a;

  --max-width: 1080px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 400;
  color: var(--text);
  background: var(--bg);
  line-height: 1.8;
}

a {
  color: inherit;
}

.container {
  width: min(calc(100% - 48px), var(--max-width));
  margin: 0 auto;
}

.narrow {
  max-width: 760px;
}

/* =========================
   Header / Brand
   ========================= */

.site-header {
  position: relative;
  overflow: hidden;
  min-height: 160px;
  padding: 28px 0;

  color: white;

  background:
    radial-gradient(
      circle at 100% 0%,
      rgba(255, 214, 145, 0.70) 0%,
      rgba(242, 181, 92, 0.34) 13%,
      rgba(242, 181, 92, 0.12) 27%,
      rgba(242, 181, 92, 0) 45%
    ),
    linear-gradient(
      135deg,
      var(--navy-deep) 0%,
      var(--navy) 54%,
      var(--navy-light) 100%
    );
}

.brand-ja {
  font-family: "Kaisei Opti", serif;
  font-weight: 500;
  font-size: 32px;
  letter-spacing: 0.08em;
  line-height: 1.35;
  color: var(--dawn);
}

.brand-en {
  margin-top: 3px;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 300;
  font-size: 12px;
  letter-spacing: 0.30em;
  color: rgba(255, 255, 255, 0.72);
}

/* =========================
   Intro / Hero
   ========================= */

.intro {
  padding-top: 88px;
  padding-bottom: 72px;
  background: var(--bg);
}

.intro h1 {
  margin: 0;
  font-size: clamp(38px, 5vw, 54px);
  line-height: 1.48;
  letter-spacing: 0.02em;
  font-weight: 500;
  color: var(--text);
}

.intro p {
  margin: 32px 0 0;
  max-width: 680px;
  font-size: 18px;
  line-height: 2;
  color: var(--text-soft);
}

/* =========================
   Common Sections
   ========================= */

.section {
  padding: 88px 0;
}

.section-muted {
  background: var(--bg-muted);
}

.section-heading {
  margin-bottom: 42px;
}

.section-kicker {
  display: block;
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.24em;
  color: var(--text-soft);
}

.section-heading h2 {
  margin: 0;
  font-size: 30px;
  line-height: 1.5;
  font-weight: 500;
}

/* =========================
   Products
   ========================= */

.products {
  padding-top: 56px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.product-card {
  min-height: 290px;
  padding: 34px;

  display: flex;
  flex-direction: column;
  justify-content: space-between;

  text-decoration: none;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;

  transition:
    transform 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease;
}

.product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(24, 36, 50, 0.07);
}

.product-card-dailycsv:hover {
  border-color: rgba(39, 140, 137, 0.55);
}

.product-card-bancho:hover {
  border-color: rgba(82, 98, 122, 0.55);
}

.product-label {
  margin: 0 0 12px;
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--text-soft);
}

.product-card h3 {
  margin: 0 0 14px;
  font-size: 28px;
  line-height: 1.4;
  font-weight: 500;
}

.product-card p {
  margin: 0;
  color: var(--text-soft);
}

.product-link {
  margin-top: 34px;
  font-size: 14px;
  font-weight: 500;
}

.product-card-dailycsv .product-link {
  color: var(--dailycsv);
}

.product-card-bancho .product-link {
  color: var(--bancho);
}

/* 後で製品アイコンを入れるとき用 */

.product-title {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 14px;
}

.product-title h3 {
  margin: 0;
}

.product-title img {
  display: block;
  width: 68px;
  height: 68px;
  object-fit: contain;
  flex: 0 0 68px;
}

/* =========================
   About
   ========================= */

.about-text {
  margin: 0;
  font-size: 17px;
  color: var(--text-soft);
}

/* =========================
   Contact
   ========================= */

.contact p {
  color: var(--text-soft);
}

.contact-mail {
  margin-top: 28px;
}

.contact-mail a {
  color: var(--navy);
  font-size: 19px;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

/* =========================
   Footer
   ========================= */

footer {
  padding: 40px 0;
  color: rgba(255, 255, 255, 0.72);
  background: var(--navy-deep);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 32px;
}

.footer-brand {
  font-family: "Kaisei Opti", serif;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: white;
}

.footer-brand-en {
  margin-top: 3px;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: 9px;
  font-weight: 300;
  letter-spacing: 0.26em;
  color: rgba(255, 255, 255, 0.60);
}

.copyright {
  font-size: 12px;
}

/* =========================
   Responsive
   ========================= */

@media (max-width: 720px) {
  .container {
    width: min(calc(100% - 36px), var(--max-width));
  }

  .site-header {
    min-height: 140px;
    padding-top: 24px;
    padding-bottom: 24px;
  }

  .brand-ja {
    font-size: 26px;
  }

  .brand-en {
    font-size: 10px;
  }

  .intro {
    padding-top: 68px;
    padding-bottom: 54px;
  }

  .intro h1 {
    font-size: 34px;
  }

  .intro p {
    font-size: 16px;
  }

  .section {
    padding: 70px 0;
  }

  .products {
    padding-top: 42px;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}