:root {
  --bg: #f4f4f2;
  --surface: #ffffff;
  --surface-soft: #f8f8f6;
  --text: #1f2933;
  --text-soft: #4b5563;
  --line: #e5e7eb;
  --line-deep: #d5d9df;
  --accent: #1f2933;
  --accent-soft: #eef1f4;
  --max: 1160px;
  --radius: 24px;
  --shadow-soft: 0 12px 34px rgba(15, 23, 42, 0.06);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: #fff;
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
  line-height: 1.8;
  letter-spacing: 0.01em;
}

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(229, 231, 235, 0.85);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 86px;
}

.brand img {
  width: min(290px, 56vw);
}

.global-nav ul,
.footer-nav ul,
.notice-list,
.policy-list,
.career-list,
.license-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.global-nav ul,
.footer-nav ul {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 26px;
}

.global-nav a,
.footer-nav a {
  color: #25313b;
  font-size: 0.96rem;
}

.global-nav a:hover,
.footer-nav a:hover {
  color: #111827;
}

.hero-home {
  padding: 28px 0 56px;
  background: linear-gradient(180deg, #fafaf8 0%, #f5f5f2 100%);
}

.hero-home-inner {
  display: grid;
  grid-template-columns: minmax(280px, 420px) 1fr;
  gap: 32px;
  align-items: start;
}

.hero-home-copy {
  padding: 0;
}

.eyebrow {
  margin: 0 0 12px;
  font-size: 0.86rem;
  letter-spacing: 0.08em;
  color: #6b7280;
}

.hero-title {
  margin: 0;
  font-size: clamp(1.6rem, 3.6vw, 2.8rem);
  line-height: 1.18;
  letter-spacing: -0.01em;
  font-weight: 700;
  color: #17212b;
}

.hero-text {
  margin: 160px 0 0;
  color: var(--text-soft);
  font-size: 1.02rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 24px;
  margin-top: 26px;
}

.text-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 3px;
  color: #111827;
  font-weight: 500;
}

.text-link::after {
  content: "→";
  font-size: 0.95rem;
}

.text-link:hover {
  opacity: 0.75;
}

.hero-home-visual {
  position: relative;
  overflow: hidden;
  min-height: 460px;
  border-radius: 28px;
  background: #e5e7eb;
  box-shadow: var(--shadow-soft);
}

.hero-home-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 52%;
}

.home-links {
  padding: 28px 0 54px;
  background: #fff;
}

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

.feature-card {
  display: block;
  min-height: 220px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.03);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-3px);
  border-color: #cfd5dd;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.08);
}

.feature-label {
  margin: 0 0 14px;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  color: #7b8794;
  text-transform: uppercase;
}

.feature-card h2 {
  margin: 0 0 10px;
  font-size: 1.3rem;
  line-height: 1.35;
  color: #1f2933;
}

.feature-card p:last-child {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.96rem;
}

.section-wrap {
  background: var(--bg);
  padding: 70px 0 84px;
}

.home-news-wrap {
  background: #f6f5f2;
}

.home-news {
  display: grid;
  grid-template-columns: minmax(240px, 360px) 1fr;
  gap: 32px;
  padding: 34px;
  border: 1px solid #e7e4dd;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow-soft);
}

.home-news-head {
  padding-right: 12px;
}

.section-title,
.page-title {
  margin: 0;
  font-size: clamp(1.95rem, 3.5vw, 3rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #19232d;
}

.page-title {
  margin-bottom: 30px;
}

.home-news-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.lead {
  margin: 0;
  font-size: 1.02rem;
  color: var(--text-soft);
}

.news-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.95rem;
  transition: transform 0.2s ease, opacity 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

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

.button-dark {
  background: #1f2933;
  color: #fff;
  box-shadow: 0 8px 20px rgba(31, 41, 51, 0.12);
}

.button-dark:hover {
  background: #111827;
}

.button-light {
  background: #fff;
  color: #1f2933;
  border-color: #d8dde3;
}

.button-light:hover {
  border-color: #c7ced6;
  background: #f8fafb;
}

.button .arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  font-size: 14px;
  background: rgba(255, 255, 255, 0.16);
}

.button-light .arrow {
  background: #eef2f5;
}

.card {
  background: var(--surface);
  padding: 42px clamp(20px, 4vw, 48px);
  border: 1px solid #e6ebf1;
  border-radius: 24px;
}

.page-card {
  background: #fff;
  padding: 42px clamp(20px, 4vw, 56px) 60px;
  border: 1px solid #e6ebf1;
  border-radius: 24px;
  margin: 48px auto 72px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
}

.notice-grid {
  display: grid;
  gap: 28px;
}

.notice-board {
  min-height: 120px;
  padding: 24px;
  background: #fbfdff;
  border: 1px dashed #c8d7e6;
  color: var(--text-soft);
  border-radius: 16px;
}

.divider-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin: 40px 0 20px;
  color: #334155;
}

.divider-title::before,
.divider-title::after {
  content: "";
  width: 72px;
  height: 1px;
  background: #cbd5e1;
}

.empty-posts {
  text-align: center;
  color: var(--text-soft);
  margin-bottom: 26px;
}

.center {
  text-align: center;
}

.profile-name {
  margin: 10px 0 26px;
  font-size: clamp(24px, 2.5vw, 34px);
  line-height: 1.5;
}

.info-block + .info-block {
  margin-top: 28px;
}

.subheading {
  margin: 0 0 10px;
  font-size: 1.18rem;
  color: #1f2933;
}

.career-list li,
.license-list li,
.policy-list li,
.notice-list li {
  position: relative;
  margin: 8px 0;
  padding-left: 1.1em;
}

.career-list li::before,
.license-list li::before,
.notice-list li::before,
.policy-list li::before {
  content: "・";
  position: absolute;
  left: 0;
  color: #4b5563;
}

.policy-list h2 {
  margin: 0 0 8px;
  font-size: 1.2rem;
  color: #1f2933;
}

.policy-list li {
  margin: 0 0 26px;
}

.note-box {
  background: #f5f7f8;
  border: 1px solid #dfe5ea;
  padding: 20px;
  color: #43515e;
  border-radius: 16px;
}

.manual-box {
  background: #fff;
  border: 1px solid #e3e8ee;
  border-radius: 18px;
  padding: 24px;
  margin-top: 24px;
}

.manual-code {
  background: #111827;
  color: #e5e7eb;
  padding: 18px;
  border-radius: 14px;
  overflow-x: auto;
  font-size: 0.94rem;
  line-height: 1.7;
}

.site-footer {
  border-top: 1px solid #edf0f3;
  background: #fff;
  padding: 28px 0 34px;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-brand img {
  width: min(220px, 50vw);
}

.copyright {
  color: #7b8794;
  font-size: 0.95rem;
}

@media (max-width: 980px) {
  .hero-home-inner,
  .home-news,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .hero-home-visual {
    min-height: 420px;
  }

  .feature-grid {
    gap: 14px;
    margin-top: 0;
  }

  .home-links {
    padding-top: 18px;
  }
}

@media (max-width: 820px) {
  .header-inner,
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .global-nav ul,
  .footer-nav ul {
    gap: 14px 18px;
  }

  .hero-home {
    padding-top: 18px;
  }

  .hero-home-visual {
    min-height: 320px;
    border-radius: 22px;
  }

  .hero-title {
    font-size: clamp(2rem, 9vw, 3rem);
  }

  .hero-text {
    margin: 36px 0 0;
  }

  .section-wrap {
    padding: 44px 0 58px;
  }

  .home-news {
    padding: 24px;
    border-radius: 22px;
  }

  .page-card {
    margin-top: 28px;
  }
}
