:root {
  --bg: #f5f7f8;
  --surface: #ffffff;
  --text: #1f2933;
  --muted: #5b6871;
  --primary: #123b5d;
  --secondary: #1e6074;
  --accent: #28a8c8;
  --line: #d7dee3;
  --radius-lg: 32px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --shadow: 0 20px 50px rgba(16, 36, 56, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 120px;
}

body {
  margin: 0;
  background:
    radial-gradient(
      circle at top left,
      rgba(24, 106, 187, 0.16),
      transparent 24%
    ),
    linear-gradient(180deg, #f9fbfc 0%, var(--bg) 100%);
  color: var(--text);
  font-family: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;
}

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

img {
  display: block;
}

.site-header,
.site-footer,
.hero,
.section,
.lower-shell {
  width: min(calc(100% - 48px), 1180px);
  margin-inline: auto;
}

.site-header,
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
header {
  margin-top: 0;
}
.site-header {
  position: sticky;
  width: 100%;
  top: 0;
  z-index: 20;
  padding: 16px 20px;
  margin-top: 7px;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 15vw;
  max-width: 110px;
  object-fit: contain;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-copy strong {
  font-size: 0.95rem;
}

.brand-copy span {
  color: var(--muted);
  font-size: 0.72rem;
}

.site-nav,
.header-actions,
.footer-links {
  display: flex;
  align-items: center;
  gap: 18px;
}

.site-nav,
.footer-links {
  color: var(--muted);
  font-size: 0.92rem;
}
.site-nav a,
.footer-links a {
  transition: 0.3s;
  padding: 0.5rem;
}
.site-nav a:hover,
.footer-links a:hover {
  color: rgba(107, 180, 239, 0.96);
}

.mobile-nav-only {
  display: none;
}

.social-links {
  display: flex;
  align-items: center;
  gap: 10px;
}

.social-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  color: var(--primary);
  box-shadow: 0 10px 24px rgba(16, 36, 56, 0.06);
  transition: 0.3s;
}
.social-link:hover {
  filter: brightness(1.1);
}

.social-link-label {
  position: absolute;
  left: 50%;
  bottom: 100%;
  transform: translateX(-50%) translateY(6px);
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(38, 114, 177, 0.96);
  color: #fff;
  font-size: 0.74rem;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.18s ease,
    transform 0.18s ease;
}

.social-link-label::after {
  content: "";
  position: absolute;
  left: 50%;
  top: calc(100% - 5px);
  width: 8px;
  height: 8px;
  background: rgba(38, 114, 177, 0.96);
  transform: translateX(-50%) rotate(45deg);
}

.social-link:hover .social-link-label,
.social-link:focus-visible .social-link-label {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.social-link.line-link {
  color: #06c755;
}

.social-link.youtube-link {
  color: #ff0033;
}

.mobile-nav-social {
  display: none;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: none;
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.3s;
}

.button-primary {
  background: linear-gradient(135deg, var(--secondary), var(--primary));
  color: #fff;
}
.button:hover {
  filter: brightness(1.5);
}
.button-secondary {
  border: 1px solid rgba(18, 47, 93, 0.14);
  background: rgba(255, 255, 255, 0.76);
  color: var(--primary);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--secondary);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.section {
  padding: 77px 0;
  scroll-margin-top: 80px;
}

.section-heading {
  max-width: 100%;
  margin-bottom: 21px;
}

.lower-header {
  scroll-margin-top: 120px;
}

.section-heading h2,
.lower-header h1 {
  margin: 0 0 12px;
  font-size: clamp(1.9rem, 3vw, 3rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.section-heading p,
.lower-header p,
.card p,
.news-item p,
.contact-cta p {
  color: var(--muted);
  line-height: 1.8;
}

.card-grid {
  display: grid;
  gap: 20px;
}

.card-grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card-grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card,
.news-item,
.contact-form {
  padding: 28px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(215, 222, 227, 0.88);
  /* border-radius: var(--radius-md); */
  box-shadow: var(--shadow);
}

.card h3 {
  margin: 0 0 10px;
  font-size: 1.3rem;
}

.issue-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 20px;
  background: linear-gradient(135deg, rgb(255, 255, 255), rgb(237, 249, 255));
}

.issue-card-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  border-radius: calc(var(--radius-md) - 8px);
  /* background: linear-gradient(135deg, rgb(255, 255, 255), rgb(237, 249, 255)); */
}

.issue-card-text {
  margin: 0;
  color: var(--text);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.7;
}

.strength-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.strength-card-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: calc(var(--radius-md) - 8px);
  background: linear-gradient(
    135deg,
    rgba(15, 49, 86, 0.12),
    rgba(211, 161, 91, 0.18)
  );
}

.card-number {
  display: inline-block;
  margin-bottom: 4px;
  color: var(--primary);
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1;
}

.news-list {
  display: grid;
  gap: 14px;
}

.news-item {
  transition: 0.3s;
}
.news-item:hover {
  transform: translateY(-4px);
  border-color: rgba #1e6d7447 (30, 109, 116, 0.28);
  box-shadow: 0 24px 54px rgba(16, 36, 56, 0.1);
}

.news-link {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 16px;
  align-items: center;
  width: 100%;
}

.news-item time {
  color: var(--secondary);
  font-weight: 700;
}

.news-title {
  margin: 0;
  color: var(--text);
  font-weight: 700;
}

.news-empty,
.news-detail-empty {
  margin: 0;
  padding: 28px;
  border: 1px solid rgba(215, 222, 227, 0.88);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow);
  color: var(--muted);
}

.news-pagination-wrap {
  margin-top: 24px;
}

.news-pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pagination-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.82);
  color: var(--secondary);
  font-weight: 700;
  box-shadow: var(--shadow);
}

.pagination-link.is-active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.pagination-link.is-disabled {
  color: var(--muted);
  opacity: 0.45;
}

.news-detail-card {
  padding: 32px;
  border: 1px solid rgba(215, 222, 227, 0.88);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow);
}

.news-detail-date {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--secondary);
  font-weight: 700;
}

.news-detail-title {
  margin: 0 0 20px;
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  line-height: 1.4;
}

.news-detail-body p {
  margin: 0 0 3px;
  color: var(--muted);
  line-height: 1.9;
}

.news-detail-back {
  margin: 28px 0 0;
}

.news-detail-back a {
  color: var(--secondary);
  font-weight: 700;
}

.lower-shell {
  padding: 48px 0 72px;
}

.lower-header {
  max-width: 760px;
  padding-top: 24px;
}

.section-center {
  text-align: center;
}

.site-footer {
  padding: 26px 100px 32px;
  align-items: flex-start;
  gap: 48px;
  padding-top: 56px;
  /* background: #101c25; */

background: #8498b0;
background: linear-gradient(155deg,rgba(132, 152, 176, 1) 0%, rgba(42, 70, 97, 1) 43%, rgba(16, 28, 37, 1) 100%);
  color: #fff;
  width: 100%;
}

.footer-brand {
  align-items: center;
  gap: 24px;
}

.site-footer .brand-mark {
  width: clamp(120px, 23vw, 350px);
  max-width: none;
}

.site-footer .brand-copy {
  gap: 8px;
}

.site-footer .brand-copy p {
  font-size: clamp(1.5rem, 2vw, 1.95rem);
  letter-spacing: -0.02em;
}

.site-footer .brand-copy span {
  font-size: clamp(0.98rem, 1.2vw, 1.25rem);
  color: #62707c;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 26px;
  min-width: min(100%, 280px);
}

.site-footer .social-links {
  gap: 16px;
}

.site-footer .social-link {
  width: 68px;
  height: 68px;
}

.site-footer .social-link img {
  width: auto;
  max-width: 38px;
  height: auto;
}

.site-footer .youtube-link img {
  max-width: 44px;
}

.footer-links {
  display: grid;
  gap: 8px;
  justify-items: flex-start;
  padding: 0;
  margin: 0;
  list-style: none;
  color: #667380;
  color: #ebebeb;
  font-size: clamp(0.92rem, 1.1vw, 1.1rem);
  line-height: 1.55;
}

.footer-links a {
  padding: 0;
}

.footer-copyright {
  color: #ebebeb;

  font-size: clamp(1rem, 1.2vw, 1.12rem);
}

.menu-toggle {
  display: none;
}

@media (max-width: 1120px) {
  .site-header {
    position: sticky;
    top: 0;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
  }

  .site-nav {
    display: none;
  }

  .site-nav.is-open {
    position: absolute;
    top: calc(100% + 14px);
    left: 0;
    right: 0;
    display: grid;
    gap: 10px;
    padding: 18px;
    background: linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.98),
      rgba(245, 249, 251, 0.96)
    );
    border: 1px solid rgba(215, 222, 227, 0.88);
    border-radius: 24px;
    box-shadow: 0 24px 48px rgba(16, 36, 56, 0.14);
    backdrop-filter: blur(18px);
  }

  .site-nav.is-open a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 52px;
    padding: 0 18px;
    border: 1px solid rgba(215, 222, 227, 0.88);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.92);
    color: var(--text);
    font-size: 0.96rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    box-shadow: 0 10px 24px rgba(16, 36, 56, 0.06);
  }

  .site-nav.is-open a::after {
    content: "";
    width: 8px;
    height: 8px;
    border-top: 2px solid var(--secondary);
    border-right: 2px solid var(--secondary);
    transform: rotate(45deg);
  }

  .site-nav.is-open .mobile-nav-only {
    display: flex;
  }

  .header-actions .social-links {
    display: none;
  }

  .mobile-nav-social {
    display: none;
  }

  .site-nav.is-open .mobile-nav-social {
    display: flex;
    justify-content: flex-start;
    gap: 12px;
    margin-top: 4px;
    padding-top: 8px;
  }

  .site-nav.is-open .mobile-nav-social .social-link {
    width: auto;
    height: auto;
    padding: 0;
    border: none;
    background: transparent;
    box-shadow: none;
  }

  .site-nav.is-open .mobile-nav-social .social-link::after {
    content: none;
  }

  .site-nav.is-open .mobile-nav-social .social-link-label {
    display: none;
  }

  .brand-copy strong {
    display: none;
  }

  .header-actions {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    min-height: 46px;
    padding: 0 18px;
    border: 1px solid rgba(18, 47, 93, 0.1);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary);
    font-weight: 700;
    letter-spacing: 0.08em;
    box-shadow: 0 12px 28px rgba(16, 36, 56, 0.08);
  }

  .card-grid-4,
  .card-grid-3,
  .card-grid-2 {
    grid-template-columns: 1fr 1fr;
  }

  .news-item,
  .news-link {
    grid-template-columns: 1fr;
    gap: 10px;
    align-items: flex-start;
  }
}

@media (max-width: 767px) {
  html {
    scroll-padding-top: 96px;
  }

  .section,
  .lower-header {
    scroll-margin-top: 96px;
  }

  .site-header {
    width: min(calc(100% - 24px), 1180px);
    padding: 14px 16px;
    margin-top: 12px;
  }

  .brand-mark {
    width: 84px;
  }

  .brand-copy span {
    font-size: 0.68rem;
  }

  .site-nav.is-open {
    top: calc(100% + 10px);
    padding: 14px;
    border-radius: 20px;
  }

  .site-nav.is-open a {
    min-height: 48px;
    padding: 0 14px;
    font-size: 0.92rem;
  }

  .menu-toggle {
    min-height: 42px;
    padding: 0 16px;
    font-size: 0.84rem;
  }
}

@media (max-width: 720px) {
  .site-header,
  .site-footer,
  .hero,
  .section,
  .lower-shell {
    width: min(calc(100% - 24px), 1180px);
  }

  .site-header {
    top: 10px;
    padding: 12px 14px;
    border-radius: 24px;
  }

  .brand-copy span,
  .lang-link {
    display: none;
  }

  .card-grid-4,
  .card-grid-3,
  .card-grid-2 {
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }

  .header-actions .button {
    width: auto;
  }

  .news-item {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 32px;
    padding-top: 40px;
    width: auto;
  }

  .footer-brand {
    gap: 16px;
    flex-direction: column;
  }

  .site-footer .brand-mark {
    width: min(150px, 34vw);
  }

  .footer-content {
    width: 67%;
    gap: 22px;
    margin: 0 auto;
  }

  .site-footer .social-link {
    width: 60px;
    height: 60px;
  }
  .site-nav a:hover,
  .footer-links a:hover {
    filter: brightness(1);
  }
}
