/* ==========================================================================
   株式会社ライコム — デザインシステム
   ========================================================================== */

:root {
  --color-primary: #0c7a2e;
  --color-primary-dark: #085c22;
  --color-primary-light: #e6f4ea;
  --color-accent: #7ecf4a;
  --color-text: #1f2a24;
  --color-text-muted: #5b6b61;
  --color-bg: #ffffff;
  --color-bg-alt: #f5f8f6;
  --color-border: #dfe7e2;
  --color-footer: #14201a;
  --font-sans: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic",
    sans-serif;
  --shadow-sm: 0 1px 3px rgba(20, 32, 26, 0.08);
  --shadow-md: 0 6px 24px rgba(20, 32, 26, 0.1);
  --radius: 14px;
  --container: 1080px;
  --header-h: 68px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.85;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--color-primary);
}

a:hover {
  color: var(--color-primary-dark);
}

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

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -48px;
  left: 8px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--color-primary);
  color: #fff;
  border-radius: 0 0 8px 8px;
  text-decoration: none;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 0;
  color: #fff;
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

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

.brand:hover {
  color: var(--color-text);
}

.brand-mark {
  flex: none;
}

.brand-name {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand-tag {
  display: none;
  font-size: 0.72rem;
  color: var(--color-text-muted);
}

@media (min-width: 640px) {
  .brand-tag {
    display: block;
  }
}

.global-nav ul {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.global-nav a {
  display: block;
  padding: 8px 14px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-text);
  text-decoration: none;
  border-radius: 8px;
  transition: background 0.15s, color 0.15s;
}

.global-nav a:hover,
.global-nav a[aria-current="page"] {
  background: var(--color-primary-light);
  color: var(--color-primary-dark);
}

.global-nav .nav-cta a {
  background: var(--color-primary);
  color: #fff;
}

.global-nav .nav-cta a:hover {
  background: var(--color-primary-dark);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: none;
  border: 0;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 860px) {
  .nav-toggle {
    display: flex;
  }

  .global-nav {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-md);
    display: none;
  }

  .global-nav.is-open {
    display: block;
  }

  .global-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 16px 20px;
  }

  .global-nav a {
    padding: 14px 16px;
    font-size: 1rem;
  }

  .global-nav .nav-cta {
    margin-top: 8px;
  }

  .global-nav .nav-cta a {
    text-align: center;
  }
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #0a5b24 0%, #0c7a2e 45%, #199a44 100%);
  color: #fff;
  padding: 96px 0 110px;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(600px 300px at 85% 20%, rgba(126, 207, 74, 0.35), transparent 70%),
    radial-gradient(500px 260px at 10% 90%, rgba(255, 255, 255, 0.08), transparent 70%);
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-label {
  display: inline-block;
  padding: 6px 14px;
  margin-bottom: 20px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
}

.hero h1 {
  margin: 0 0 20px;
  font-size: clamp(1.8rem, 4.5vw, 3rem);
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: 0.02em;
}

.hero p {
  max-width: 620px;
  margin: 0 0 36px;
  font-size: clamp(0.95rem, 1.6vw, 1.1rem);
  color: rgba(255, 255, 255, 0.92);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: 999px;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
}

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

.btn-primary {
  background: #fff;
  color: var(--color-primary-dark);
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  color: var(--color-primary-dark);
}

.btn-outline {
  border: 2px solid rgba(255, 255, 255, 0.7);
  color: #fff;
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.btn-solid {
  background: var(--color-primary);
  color: #fff;
}

.btn-solid:hover {
  background: var(--color-primary-dark);
  color: #fff;
}

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */

.section {
  padding: 88px 0;
}

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

.section-head {
  max-width: 640px;
  margin: 0 auto 52px;
  text-align: center;
}

.section-head .en {
  display: block;
  margin-bottom: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-primary);
}

.section-head h2 {
  margin: 0 0 14px;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 800;
  line-height: 1.4;
}

.section-head p {
  margin: 0;
  color: var(--color-text-muted);
}

/* Cards */

.card-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.card {
  display: flex;
  flex-direction: column;
  padding: 32px 28px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s;
}

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

.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin-bottom: 20px;
  background: var(--color-primary-light);
  border-radius: 14px;
  color: var(--color-primary);
}

.card h3 {
  margin: 0 0 10px;
  font-size: 1.15rem;
  font-weight: 700;
}

.card p {
  margin: 0;
  font-size: 0.94rem;
  color: var(--color-text-muted);
  flex-grow: 1;
}

.card .card-link {
  margin-top: 18px;
  font-weight: 700;
  font-size: 0.94rem;
  text-decoration: none;
}

/* Feature list (強み) */

.feature-grid {
  display: grid;
  gap: 32px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.feature {
  text-align: center;
  padding: 0 12px;
}

.feature .num {
  display: inline-block;
  margin-bottom: 12px;
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1;
}

.feature h3 {
  margin: 0 0 10px;
  font-size: 1.1rem;
}

.feature p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--color-text-muted);
}

/* Greeting */

.greeting {
  max-width: 720px;
  margin: 0 auto;
  padding: 44px 40px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.greeting p {
  margin: 0 0 1.2em;
}

.greeting .sign {
  margin: 1.6em 0 0;
  text-align: right;
  font-weight: 700;
}

/* CTA band */

.cta-band {
  background: linear-gradient(135deg, #0a5b24, #199a44);
  color: #fff;
  text-align: center;
  padding: 72px 0;
}

.cta-band h2 {
  margin: 0 0 14px;
  font-size: clamp(1.4rem, 3vw, 2rem);
}

.cta-band p {
  margin: 0 0 30px;
  color: rgba(255, 255, 255, 0.9);
}

/* --------------------------------------------------------------------------
   Page hero(下層ページ)
   -------------------------------------------------------------------------- */

.page-hero {
  background: linear-gradient(135deg, #0a5b24, #199a44);
  color: #fff;
  padding: 64px 0;
}

.page-hero h1 {
  margin: 0 0 8px;
  font-size: clamp(1.6rem, 3.4vw, 2.4rem);
  font-weight: 800;
}

.page-hero p {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
}

.breadcrumb {
  padding: 14px 0;
  font-size: 0.84rem;
  background: var(--color-bg-alt);
  border-bottom: 1px solid var(--color-border);
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.breadcrumb li + li::before {
  content: "/";
  margin-right: 6px;
  color: var(--color-text-muted);
}

.breadcrumb a {
  text-decoration: none;
}

/* --------------------------------------------------------------------------
   Tables / Timeline
   -------------------------------------------------------------------------- */

.info-table {
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.info-table th,
.info-table td {
  padding: 18px 24px;
  border-bottom: 1px solid var(--color-border);
  text-align: left;
  vertical-align: top;
}

.info-table tr:last-child th,
.info-table tr:last-child td {
  border-bottom: 0;
}

.info-table th {
  width: 30%;
  min-width: 120px;
  background: var(--color-bg-alt);
  font-weight: 700;
  white-space: nowrap;
}

@media (max-width: 560px) {
  .info-table th,
  .info-table td {
    display: block;
    width: 100%;
    padding: 12px 18px;
  }

  .info-table th {
    border-bottom: 0;
  }
}

.timeline {
  max-width: 720px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
  position: relative;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 6px;
  bottom: 6px;
  left: 7px;
  width: 2px;
  background: var(--color-border);
}

.timeline li {
  position: relative;
  padding: 0 0 32px 40px;
}

.timeline li:last-child {
  padding-bottom: 0;
}

.timeline li::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 0;
  width: 16px;
  height: 16px;
  background: var(--color-primary);
  border: 3px solid #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 2px var(--color-primary-light);
}

.timeline .year {
  display: block;
  font-weight: 800;
  color: var(--color-primary);
}

.timeline p {
  margin: 4px 0 0;
  color: var(--color-text-muted);
}

/* --------------------------------------------------------------------------
   Contact
   -------------------------------------------------------------------------- */

.contact-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  max-width: 880px;
  margin: 0 auto;
}

.contact-card {
  padding: 36px 30px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  text-align: center;
}

.contact-card h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
}

.contact-card .big {
  display: block;
  margin: 10px 0;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-primary-dark);
  text-decoration: none;
  word-break: break-all;
}

.contact-card p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--color-text-muted);
}

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */

.faq {
  max-width: 760px;
  margin: 0 auto;
}

.faq details {
  margin-bottom: 14px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.faq summary {
  padding: 18px 22px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 48px;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  color: var(--color-primary);
  transition: transform 0.2s;
}

.faq details[open] summary::after {
  content: "−";
}

.faq .faq-body {
  padding: 0 22px 18px;
  color: var(--color-text-muted);
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer {
  background: var(--color-footer);
  color: #c8d2cc;
  padding: 64px 0 32px;
  font-size: 0.92rem;
}

.footer-grid {
  display: grid;
  gap: 40px;
  grid-template-columns: 1.4fr 1fr 1fr;
  margin-bottom: 48px;
}

@media (max-width: 720px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

.site-footer h3 {
  margin: 0 0 14px;
  font-size: 1rem;
  color: #fff;
}

.site-footer .footer-tagline,
.site-footer p {
  margin: 0;
  line-height: 1.8;
  color: #8fa197;
}

.site-footer address {
  font-style: normal;
  line-height: 2;
}

.site-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer li {
  margin-bottom: 8px;
}

.site-footer a {
  color: #c8d2cc;
  text-decoration: none;
}

.site-footer a:hover {
  color: #fff;
  text-decoration: underline;
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  text-align: center;
  font-size: 0.82rem;
  color: #8fa197;
}

/* --------------------------------------------------------------------------
   Scroll reveal
   -------------------------------------------------------------------------- */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .btn:hover,
  .card:hover {
    transform: none;
  }
}
