:root {
  --ink: #17223b;
  --muted: #5f6b7a;
  --paper: #ffffff;
  --mist: #eef8f8;
  --mist-strong: #dff3f1;
  --blush: #fff1ed;
  --cream: #fff8e7;
  --coral: #f06f61;
  --coral-dark: #bf4e45;
  --teal: #20a7a0;
  --teal-dark: #157d78;
  --orange: #ff9f43;
  --orange-dark: #dc7b1c;
  --blue: #4a90e2;
  --line: rgba(23, 34, 59, 0.11);
  --shadow: 0 18px 50px rgba(23, 34, 59, 0.12);
  --soft-shadow: 0 10px 28px rgba(23, 34, 59, 0.08);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", "Noto Sans JP", sans-serif;
  line-height: 1.75;
  letter-spacing: 0;
  background:
    radial-gradient(circle at 7% 12%, rgba(32, 167, 160, 0.12), transparent 30%),
    radial-gradient(circle at 92% 4%, rgba(240, 111, 97, 0.14), transparent 28%),
    linear-gradient(180deg, #fffdfb 0%, #ffffff 36%, #f8fbfb 100%);
}

a { color: inherit; }

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(18px);
}

.wrap {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 70px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 900;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(135deg, var(--coral), var(--orange) 55%, var(--teal));
  box-shadow: 0 10px 22px rgba(240, 111, 97, 0.25);
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 10px 18px;
  color: #394354;
  font-size: 14px;
  font-weight: 800;
}

.nav a {
  text-decoration: none;
}

.nav-cta {
  min-height: 40px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  color: #fff;
  background: var(--ink);
  box-shadow: var(--soft-shadow);
}

.hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: min(720px, calc(100svh - 84px));
  padding: 72px 0 58px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.93) 38%, rgba(255, 255, 255, 0.34) 65%, rgba(255, 255, 255, 0.12) 100%),
    url("./hero-workstyle.jpg") center right / cover no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 100px;
  background: linear-gradient(180deg, transparent, #fff);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 640px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 0 14px;
  border: 1px solid rgba(32, 167, 160, 0.22);
  border-radius: 999px;
  color: var(--teal-dark);
  background: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  font-weight: 900;
  box-shadow: var(--soft-shadow);
}

.hero h1 {
  margin: 22px 0 18px;
  font-size: clamp(42px, 7vw, 76px);
  line-height: 1.04;
  letter-spacing: 0;
}

.hero h1 span {
  display: block;
}

.hero-lead {
  max-width: 560px;
  margin: 0;
  color: #394354;
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.9;
  font-weight: 650;
}

.hero-actions,
.inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 900;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--orange), var(--coral));
  box-shadow: 0 16px 34px rgba(255, 159, 67, 0.28);
}

.button-secondary {
  color: var(--ink);
  border-color: rgba(23, 34, 59, 0.16);
  background: rgba(255, 255, 255, 0.72);
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.hero-stat {
  min-width: 128px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.86);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.68);
  box-shadow: var(--soft-shadow);
}

.hero-stat strong {
  display: block;
  font-size: 20px;
  line-height: 1.1;
}

.hero-stat span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.band {
  padding: 72px 0;
}

.band-muted {
  background: linear-gradient(180deg, #fff 0%, #f7fbfb 100%);
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.section-kicker {
  margin: 0 0 8px;
  color: var(--coral-dark);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.section-title {
  margin: 0;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.18;
}

.section-copy {
  max-width: 660px;
  margin: 10px 0 0;
  color: var(--muted);
}

.notice-pill {
  max-width: 360px;
  padding: 12px 14px;
  border-radius: 18px;
  color: #8a4f0d;
  background: var(--cream);
  font-size: 13px;
  font-weight: 850;
}

.feature-grid,
.article-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.feature-card,
.article-card,
.recommend-card {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--soft-shadow);
}

.feature-card {
  padding: 22px;
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 18px;
  color: #fff;
  background: linear-gradient(135deg, var(--teal), var(--blue));
  font-size: 22px;
  font-weight: 900;
}

.feature-card:nth-child(2) .feature-icon {
  background: linear-gradient(135deg, var(--coral), var(--orange));
}

.feature-card:nth-child(3) .feature-icon {
  background: linear-gradient(135deg, var(--ink), var(--teal));
}

.feature-card h3,
.recommend-card h3,
.article-card h3 {
  margin: 16px 0 8px;
  line-height: 1.35;
}

.feature-card p,
.recommend-card p,
.article-card p {
  margin: 0;
  color: var(--muted);
}

.recommend-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.recommend-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 390px;
  padding: 26px;
  overflow: hidden;
}

.recommend-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 92% 12%, rgba(32, 167, 160, 0.16), transparent 26%),
    radial-gradient(circle at 8% 88%, rgba(240, 111, 97, 0.12), transparent 30%);
  pointer-events: none;
}

.recommend-card > * {
  position: relative;
}

.recommend-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  color: var(--teal-dark);
  background: var(--mist-strong);
}

.rating {
  color: #d8861f;
  font-size: 13px;
  font-weight: 900;
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 22px 0;
  padding: 0;
  list-style: none;
  color: #394354;
  font-weight: 700;
}

.check-list li {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 8px;
}

.check-list span:first-child {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  color: #fff;
  background: var(--teal);
  font-size: 13px;
}

.recommend-card .button {
  width: 100%;
  margin-top: auto;
}

.article-card {
  overflow: hidden;
  transition: transform .18s ease, box-shadow .18s ease;
}

.article-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.article-card a {
  display: block;
  min-height: 100%;
  color: inherit;
  text-decoration: none;
}

.article-art {
  position: relative;
  min-height: 180px;
  overflow: hidden;
  background: var(--mist);
}

.article-art::before,
.article-art::after {
  content: "";
  position: absolute;
  border-radius: 999px;
}

.article-art::before {
  width: 170px;
  height: 170px;
  right: -42px;
  top: -45px;
  background: rgba(255, 255, 255, 0.52);
}

.article-art::after {
  width: 110px;
  height: 110px;
  left: 24px;
  bottom: -35px;
  background: rgba(255, 255, 255, 0.34);
}

.art-blank { background: linear-gradient(135deg, #e9f7ff, #ffffff 48%, #dff3f1); }
.art-fuyo { background: linear-gradient(135deg, #fff3df, #fff 50%, #ffe3dd); }
.art-short { background: linear-gradient(135deg, #eef2ff, #fff 50%, #ddf7f5); }

.art-symbol {
  position: absolute;
  left: 28px;
  top: 28px;
  display: grid;
  place-items: center;
  width: 74px;
  height: 74px;
  border-radius: 26px;
  color: #fff;
  background: linear-gradient(135deg, var(--ink), var(--teal));
  box-shadow: 0 18px 30px rgba(23, 34, 59, 0.14);
  font-size: 30px;
  font-weight: 900;
}

.article-body {
  padding: 22px;
}

.article-tag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  color: var(--coral-dark);
  background: var(--blush);
}

.date {
  margin-top: 16px;
  color: #7b8492;
  font-size: 13px;
  font-weight: 800;
}

.site-footer {
  padding: 34px 0 42px;
  color: #657083;
  border-top: 1px solid var(--line);
  background: #fff;
  font-size: 14px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-links a {
  text-decoration: none;
}

.article-page {
  background: #fffdfb;
}

.article-layout {
  width: min(860px, calc(100% - 40px));
  margin: 0 auto;
  padding: 56px 0 76px;
}

.article-header {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.78)),
    radial-gradient(circle at 92% 10%, rgba(32, 167, 160, 0.16), transparent 28%),
    radial-gradient(circle at 10% 86%, rgba(240, 111, 97, 0.12), transparent 28%);
  box-shadow: var(--soft-shadow);
}

.article-header h1 {
  margin: 16px 0 8px;
  font-size: clamp(32px, 5vw, 48px);
  line-height: 1.18;
}

.article-content {
  margin-top: 34px;
  color: #2d3544;
  font-size: 18px;
}

.article-content h2 {
  margin: 44px 0 14px;
  padding-top: 4px;
  font-size: 26px;
  line-height: 1.35;
}

.article-content h2::before {
  content: "";
  display: block;
  width: 52px;
  height: 5px;
  margin-bottom: 14px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--coral), var(--orange), var(--teal));
}

.article-content p {
  margin: 0 0 18px;
}

.article-content ul {
  display: grid;
  gap: 10px;
  margin: 18px 0 24px;
  padding-left: 1.2em;
}

.article-content a {
  color: var(--teal-dark);
  font-weight: 900;
}

.callout {
  margin-top: 32px;
  padding: 20px;
  border: 1px solid rgba(255, 159, 67, 0.28);
  border-radius: 22px;
  color: #7a460c;
  background: var(--cream);
  font-weight: 800;
}

.article-cta {
  margin-top: 42px;
  padding: 26px;
  border-radius: 26px;
  color: #fff;
  background: linear-gradient(135deg, var(--ink), var(--teal-dark));
  box-shadow: var(--shadow);
}

.article-cta p {
  margin: 0;
  font-weight: 850;
}

.article-cta .button {
  margin-top: 16px;
}

.legal-page .article-layout {
  max-width: 820px;
}

@media (max-width: 860px) {
  .topbar,
  .section-head,
  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    justify-content: flex-start;
  }

  .hero {
    min-height: auto;
    padding: 58px 0 52px;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.92) 58%, rgba(255, 255, 255, 0.54) 100%),
      url("./hero-workstyle.jpg") center right 28% / cover no-repeat;
  }

  .feature-grid,
  .recommend-grid,
  .article-grid {
    grid-template-columns: 1fr;
  }

  .recommend-card {
    min-height: auto;
  }

  .notice-pill {
    max-width: none;
  }
}

@media (max-width: 520px) {
  .wrap {
    width: min(100% - 28px, 1120px);
  }

  .brand {
    font-size: 15px;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
    border-radius: 12px;
  }

  .nav {
    gap: 8px 12px;
    font-size: 13px;
  }

  .hero h1 {
    font-size: 42px;
  }

  .hero-actions,
  .inline-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .band {
    padding: 54px 0;
  }

  .article-layout {
    width: min(100% - 28px, 860px);
    padding-top: 34px;
  }

  .article-header {
    padding: 24px;
    border-radius: 24px;
  }

  .article-content {
    font-size: 16px;
  }
}
