html { scroll-behavior: smooth; }

:root {
  --anchor-offset: 88px;
  --bg: #f5f6f7;
  --surface: #ffffff;
  --text: #111827;
  --muted: #5b6472;
  --line: #d5dbe4;
  --line-soft: #e6ebf2;
  --brand-dark: #0f1829;
  --brand-accent: #244a9a;
  --container: 1240px;
  --radius: 12px;
}

#about,
#services,
#achievements,
#news,
#contact,
#history,
#recruit {
  scroll-margin-top: var(--anchor-offset);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', sans-serif;
  line-height: 1.75;
}

a { color: inherit; }

.site-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  background: #0f4775;
  color: #fff;
  transition: opacity 0.55s ease, visibility 0.55s ease;
}

.site-loader.is-done {
  opacity: 0;
  visibility: hidden;
}

.site-loader-inner {
  width: min(92vw, 620px);
  text-align: center;
}

.site-loader-emblem {
  width: 130px;
  height: 130px;
  margin: 0 auto 0.7rem;
  position: relative;
}

.emblem-circle {
  position: absolute;
  inset: 8px;
  border: 4px solid rgba(255, 255, 255, 0.95);
  border-radius: 999px;
}

.emblem-bldg {
  position: absolute;
  bottom: 30px;
  width: 26px;
  border: 4px solid rgba(255, 255, 255, 0.95);
  border-bottom: 0;
  background: transparent;
  transform-origin: bottom;
}

.emblem-bldg-a {
  left: 38px;
  height: 62px;
  transform: skewY(-10deg);
}

.emblem-bldg-b {
  right: 38px;
  height: 52px;
  transform: skewY(10deg);
}

.emblem-ground {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  height: 20px;
  border-top: 4px solid rgba(255, 255, 255, 0.95);
  border-radius: 50% 50% 0 0;
}

.site-loader-brand {
  margin: 0;
  font-size: 1rem;
  letter-spacing: 0.1em;
  opacity: 0.95;
}

.site-loader-text {
  margin: 1rem 0 0;
  font-size: clamp(2rem, 5vw, 2.8rem);
  letter-spacing: 0.05em;
  line-height: 1.1;
}

.site-loader-bar {
  width: min(72vw, 600px);
  height: 16px;
  margin: 1.2rem auto 0;
  border: 2px solid rgba(255, 255, 255, 0.95);
  border-radius: 999px;
  padding: 2px;
}

.site-loader-bar span {
  display: block;
  height: 100%;
  width: 0%;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
}

.container,
.site-header-inner,
.footer-inner,
.section-container,
.header-container,
.footer-container {
  width: min(var(--container), calc(100% - 2.4rem));
  margin: 0 auto;
}

.section {
  padding: clamp(3.5rem, 8vw, 7rem) 0;
}

.section-title {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.2;
  letter-spacing: 0.04em;
  font-weight: 800;
}

.section-subtitle {
  margin-top: 0.9rem;
  color: var(--muted);
  font-size: clamp(1rem, 1.7vw, 1.2rem);
}

/* Header */
.site-header,
.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  background: rgba(15, 24, 41, 0.94);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px);
}

body.admin-bar .site-header,
body.admin-bar .header {
  top: 32px;
}

body.home .site-header {
  background: rgba(11, 20, 36, 0.84);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(12px);
}

.site-header-inner,
.header-container {
  min-height: 88px;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.site-logo,
.logo {
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.06em;
  font-size: clamp(1.15rem, 1.8vw, 1.6rem);
  text-align: center;
  flex: 0 0 auto;
}

.site-logo a,
.logo a {
  text-decoration: none;
}

.global-nav,
.nav-desktop {
  display: none;
  align-items: center;
  gap: clamp(0.65rem, 1.15vw, 1.25rem);
  flex: 1 1 0;
}

.global-nav a,
.nav-desktop a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.95);
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: opacity 0.2s ease;
}

.global-nav a:hover,
.nav-desktop a:hover {
  opacity: 0.72;
}

.global-nav-left,
.nav-desktop-left { justify-content: flex-start; }
.global-nav-right,
.nav-desktop-right { justify-content: flex-end; }

.btn,
.nav-desktop .btn-outline,
.nav-desktop .btn-contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  text-decoration: none;
  padding: 0.52rem 1.1rem;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

a.btn,
.hero-cta,
.nav-mobile .btn-contact,
.pickup-arrow,
.news-tab,
.menu-toggle {
  transition:
    background-color 0.34s cubic-bezier(0.22, 1, 0.36, 1),
    color 0.34s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.34s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.34s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.34s cubic-bezier(0.22, 1, 0.36, 1);
}

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

.btn-solid,
.nav-desktop .btn-contact {
  background: rgba(255, 255, 255, 0.95);
  color: #18243a;
}

.global-nav a.btn-outline {
  border-color: rgba(255, 255, 255, 0.52);
  color: #f8fbff;
}

.global-nav a.btn-solid {
  background: #0f172a;
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #f8fbff;
}

.global-nav a.btn-solid:hover {
  opacity: 1;
  background: #1d2a43;
}

.btn-outline:hover,
.btn-outline:focus-visible {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.95);
  transform: translateY(-1px);
}

.btn-solid:hover,
.btn-solid:focus-visible {
  background: #1f2f4c;
  color: #fff;
  transform: translateY(-1px);
}

.btn-dark {
  background: var(--brand-dark);
  color: #fff;
}

.btn-full { width: 100%; }

.menu-toggle {
  width: 36px;
  height: 36px;
  margin-left: auto;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #fff;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0;
  cursor: pointer;
}

.menu-toggle-bar {
  width: 24px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition:
    transform 0.34s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.24s ease;
}

.menu-toggle:hover,
.menu-toggle:focus-visible {
  transform: translateY(-1px);
}

.menu-toggle.is-open .menu-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.is-open .menu-toggle-bar:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-open .menu-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-mobile {
  display: none;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding: 0.75rem 0 1rem;
  background: rgba(12, 18, 31, 0.97);
}

.nav-mobile.active { display: block; }

.nav-mobile a {
  display: block;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.95);
  font-weight: 600;
  padding: 0.58rem calc((100% - min(var(--container), calc(100% - 2.4rem))) / 2 + 0.2rem);
}

.nav-mobile .btn-contact {
  background: #fff;
  color: #18243a;
  margin: 0.5rem calc((100% - min(var(--container), calc(100% - 2.4rem))) / 2 + 0.2rem) 0;
  border-radius: 999px;
  text-align: center;
}

.nav-mobile .btn-contact:hover,
.nav-mobile .btn-contact:focus-visible {
  background: #dfe7f5;
  color: #10213c;
  transform: translateY(-1px);
}

/* Hero */
.hero {
  position: relative;
  min-height: max(760px, 100vh);
  padding-top: 88px;
  overflow: hidden;
}

.hero-bg,
.hero-bg-gradient {
  position: absolute;
  inset: 0;
}

.hero-bg-gradient {
  background:
    radial-gradient(90% 130% at 18% 15%, rgba(245, 120, 44, 0.94) 0%, rgba(242, 137, 93, 0.83) 42%, rgba(239, 168, 182, 0.75) 62%, rgba(34, 75, 175, 0.95) 100%),
    linear-gradient(114deg, #f0802f 0%, #f3b0c2 48%, #103fae 100%);
}

.hero-diagonal {
  position: absolute;
  right: -16vw;
  bottom: -36vh;
  width: 68vw;
  height: 78vh;
  background: linear-gradient(130deg, rgba(12, 42, 130, 0.84) 0%, rgba(8, 35, 112, 0.96) 100%);
  transform: rotate(38deg);
  z-index: 0;
  box-shadow: 0 -18px 55px rgba(14, 38, 109, 0.35);
}

.hero-center-image {
  position: absolute;
  left: 46%;
  top: 53%;
  width: min(32vw, 430px);
  aspect-ratio: 3 / 4;
  transform: translate(-50%, -50%);
  z-index: 1;
}

.hero-center-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  box-shadow: 0 30px 60px rgba(11, 20, 38, 0.3);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: clamp(10.5rem, 18vh, 13rem) 0 6rem;
  color: #fff;
}

.hero-kicker {
  margin: 0;
  font-family: 'Times New Roman', serif;
  font-size: clamp(1.25rem, 2.8vw, 2.4rem);
}

.hero h1 {
  margin: 1.1rem 0 0;
  font-size: clamp(3rem, 10vw, 7rem);
  line-height: 1.12;
  letter-spacing: 0.07em;
  max-width: 8ch;
}

.hero-copy {
  margin-top: 1.45rem;
  max-width: 42ch;
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  color: rgba(255, 255, 255, 0.92);
}

.hero-cta {
  display: inline-flex;
  margin-top: 2.1rem;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 999px;
  color: #fff;
  text-decoration: none;
  padding: 0.92rem 1.8rem;
  font-weight: 700;
}

.hero-cta:hover {
  background: rgba(255, 255, 255, 0.96);
  color: #18243a;
  transform: translateY(-1px);
}

body.home main {
  display: flex;
  flex-direction: column;
}

body.home main > .hero { order: 1; }
body.home main > #history { order: 2; }
body.home main > #achievements { order: 3; }
body.home main > #about { order: 4; }
body.home main > #services { order: 5; }
body.home main > #news { order: 6; }
body.home main > #recruit { order: 7; }
body.home main > #contact { order: 8; }

.hero-side-note {
  position: absolute;
  right: max(2.2rem, calc((100vw - var(--container)) / 2));
  top: 42%;
  transform: translateY(-50%);
  color: #fff;
  z-index: 1;
}

.hero-side-brand {
  margin: 0;
  font-size: clamp(1.8rem, 3.2vw, 3rem);
  font-family: 'Times New Roman', serif;
}

body.home .hero-side-note {
  display: none;
}

.hero-side-anniv {
  margin: 0.3rem 0 0;
  font-size: clamp(1.55rem, 3.1vw, 2.9rem);
  line-height: 1.1;
  font-family: 'Times New Roman', serif;
}

.hero-update-box {
  position: absolute;
  right: 0;
  bottom: 0;
  width: min(420px, 88vw);
  background: rgba(255, 255, 255, 0.95);
  color: #1a202c;
  z-index: 2;
  padding: 1.2rem 1.35rem;
}

body.home .hero-update-box {
  display: none;
}

.hero-update-title {
  margin: 0 0 0.5rem;
  font-family: 'Times New Roman', serif;
  font-size: 1.65rem;
  color: #213454;
}

.hero-update-box > p:not(.hero-update-title) {
  margin: 0;
  color: #2e3b50;
  font-size: 0.98rem;
}

/* Intro */
.section-intro { background: #fff; }

.intro-grid {
  display: grid;
  gap: 1rem;
}

.intro-main,
.intro-side {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem;
}

.intro-main h2 {
  margin: 0;
  font-size: clamp(1.45rem, 3vw, 2.2rem);
  line-height: 1.45;
}

.intro-main p,
.intro-side p {
  margin: 0.8rem 0 0;
  color: var(--muted);
}

.intro-side-title {
  margin: 0;
  color: var(--brand-accent);
  font-family: 'Times New Roman', serif;
  font-size: 1.6rem;
}

/* About links */
.section-about-links { background: #f7f8fa; }

.link-cards {
  margin-top: 1.7rem;
  display: grid;
  gap: 1rem;
}

.link-card {
  display: block;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
  padding: 1.3rem;
}

.link-card-en {
  display: block;
  color: #6f7b8d;
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.link-card strong {
  display: block;
  margin-top: 0.35rem;
  font-size: 1.2rem;
}

/* Services */
.section-services { background: #fff; }

.service-list {
  margin-top: 1.7rem;
  display: grid;
  gap: 1rem;
}

.service-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 1.2rem;
}

.service-item h3 {
  margin: 0;
  font-size: 1.2rem;
}

.service-item p {
  margin: 0.45rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Achievements */
.section-achievements { background: #f7f8fa; }

.achievements-grid {
  margin-top: 1.7rem;
  display: grid;
  gap: 1rem;
}

.achievement-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
}

.achievement-image {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.achievement-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.achievement-date {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  border-radius: 999px;
  background: rgba(17, 24, 39, 0.9);
  color: #fff;
  padding: 0.32rem 0.8rem;
  font-size: 0.82rem;
  font-weight: 700;
}

.achievement-content {
  padding: 1rem 1.1rem;
}

.achievement-content h2,
.achievement-content h3 {
  margin: 0;
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  line-height: 1.35;
}

.achievement-content a { text-decoration: none; }
.achievement-content a:hover { text-decoration: underline; }

.section-more {
  margin-top: 1.5rem;
  text-align: center;
}

.stats-grid {
  margin-top: 1.8rem;
  display: grid;
  gap: 1rem;
}

.stat-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-align: center;
  padding: 1.2rem;
}

.stat-number {
  font-size: clamp(2rem, 5vw, 2.8rem);
  line-height: 1;
  font-weight: 800;
}

.stat-label {
  margin-top: 0.4rem;
  color: var(--muted);
}

/* News */
.section-news { background: #fff; }
.news { padding: clamp(3.2rem, 7vw, 5.5rem) 0; }

.news-list {
  margin-top: 1.2rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.news-item + .news-item {
  border-top: 1px solid var(--line-soft);
}

.news-link {
  display: grid;
  gap: 0.35rem;
  padding: 1rem;
  text-decoration: none;
}

.news-link:hover .news-title { text-decoration: underline; }

.news-date {
  font-size: 0.86rem;
  color: #6c788a;
}

.news-title {
  font-size: 1rem;
  font-weight: 700;
}

/* Recruit */
.section-recruit {
  background: #eef2f7;
}

.recruit-grid {
  display: grid;
  gap: 1rem;
  align-items: start;
}

.recruit-grid p {
  margin: 0;
  color: var(--muted);
}

.recruit-grid .btn {
  margin-top: 1rem;
}

/* Contact */
.section-contact {
  background: #fff;
}

.contact-grid {
  display: grid;
  gap: 1rem;
}

.contact-panel,
.contact-form {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 1.2rem;
}

.contact-panel p {
  color: var(--muted);
}

.contact-list {
  margin: 1.2rem 0 0;
}

.contact-list dt {
  font-size: 0.9rem;
  color: #6b7280;
}

.contact-list dd {
  margin: 0.25rem 0 0.5rem;
}

.contact-list dd a {
  font-size: 1.3rem;
  font-weight: 800;
  text-decoration: none;
}

.contact-links {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
}

.contact-links li + li {
  margin-top: 0.45rem;
}

.contact-links a {
  text-decoration: none;
  border-bottom: 1px solid #c8d0dc;
}

.form-group { margin-bottom: 0.9rem; }

.form-group label {
  display: block;
  margin-bottom: 0.3rem;
  font-size: 0.9rem;
  font-weight: 700;
}

.required { color: #cf1124; }

.form-group input,
.form-group textarea {
  width: 100%;
  border: 1px solid #bcc6d4;
  border-radius: 8px;
  padding: 0.72rem 0.8rem;
  font: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: 0;
  border-color: var(--brand-accent);
  box-shadow: 0 0 0 3px rgba(36, 74, 154, 0.16);
}

/* Footer */
.site-footer,
.footer {
  background: #0e1522;
  color: #d5dcea;
}

.footer-inner {
  padding: clamp(2.2rem, 5vw, 3.8rem) 0 1.6rem;
  display: grid;
  gap: 1.5rem;
}

.footer-container {
  padding: clamp(2.2rem, 5vw, 3.8rem) 0 1.6rem;
}

.footer-grid {
  display: grid;
  gap: 1.5rem;
}

.footer-brand h3,
.footer-company h3 {
  margin: 0;
  color: #fff;
}

.footer-brand p,
.footer-company p,
.footer-company address,
.footer-tel {
  margin: 0.55rem 0 0;
  color: #9eacc1;
  font-style: normal;
}

.footer-nav-wrap h4,
.footer-contact h4,
.footer-links h4,
.footer-services h4 {
  margin: 0;
  color: #fff;
}

.footer-nav,
.footer-contact ul,
.footer-links ul,
.footer-services ul {
  list-style: none;
  margin: 0.6rem 0 0;
  padding: 0;
}

.footer-nav li,
.footer-contact li,
.footer-links li,
.footer-services li {
  margin-top: 0.45rem;
}

.footer-nav a,
.footer-contact a,
.footer-links a {
  text-decoration: none;
  color: #b9c4d7;
}

.footer-nav a:hover,
.footer-contact a:hover,
.footer-links a:hover {
  color: #fff;
}

.footer-services li { color: #9eacc1; }

.footer-bottom {
  border-top: 1px solid rgba(147, 162, 186, 0.35);
  text-align: center;
  padding-top: 1rem;
  color: #8fa0ba;
  font-size: 0.85rem;
}

/* Lower pages */
.post-main {
  min-height: 100vh;
  padding-top: 104px;
  background: #f4f6f9;
}

.post-section {
  padding: clamp(2rem, 5vw, 4rem) 0;
}

.post-article {
  max-width: 920px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.1rem, 3vw, 2.1rem);
}

.post-header {
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--line-soft);
  padding-bottom: 0.8rem;
}

.post-meta,
.post-author {
  margin: 0;
  color: #677385;
  font-size: 0.9rem;
}

.post-author { margin-top: 0.2rem; }

.post-title {
  margin: 0.6rem 0 0;
  font-size: clamp(1.45rem, 2.8vw, 2.2rem);
  line-height: 1.35;
}

.post-thumbnail {
  margin: 0 0 1.1rem;
}

.post-thumbnail img {
  width: 100%;
  border-radius: 10px;
}

.post-content {
  color: #243142;
}

.post-content > * + * { margin-top: 1em; }

.archive-achievements .nav-links {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
  gap: 0.45rem;
}

.archive-achievements {
  padding: clamp(3rem, 6vw, 5rem) 0;
}

.archive-achievements .nav-links a,
.archive-achievements .nav-links span {
  min-width: 2.2rem;
  height: 2.2rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  text-decoration: none;
  background: #fff;
}

.archive-achievements .nav-links .current {
  background: var(--brand-dark);
  color: #fff;
  border-color: var(--brand-dark);
}

/* Responsive */
@media (min-width: 768px) {
  .menu-toggle { display: none; }
  .global-nav,
  .nav-desktop { display: flex; }

  .intro-grid {
    grid-template-columns: 2.2fr 1fr;
  }

  .link-cards {
    grid-template-columns: repeat(3, 1fr);
  }

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

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

  .news-link {
    grid-template-columns: 130px 1fr;
    align-items: center;
    gap: 1rem;
  }

  .recruit-grid {
    grid-template-columns: 1fr 1.4fr;
  }

  .contact-grid {
    grid-template-columns: 1fr 1.2fr;
  }

  .footer-inner {
    grid-template-columns: 1.1fr 1fr 1fr;
    align-items: start;
  }

  .footer-grid {
    grid-template-columns: 1.1fr 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .service-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

@media (max-width: 767px) {
  body.admin-bar .site-header,
  body.admin-bar .header {
    top: 46px;
  }

  .site-header-inner,
  .header-container {
    min-height: 74px;
  }

  body.home .site-header {
    background: rgba(12, 18, 31, 0.88);
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(8px);
  }

  .hero {
    min-height: 820px;
    padding-top: 74px;
  }

  .hero-content {
    padding-top: 7.2rem;
    padding-bottom: 4rem;
  }

  .hero h1 {
    max-width: none;
    font-size: clamp(2.35rem, 15vw, 4rem);
  }

  .hero-center-image {
    left: 50%;
    top: 34%;
    width: min(80vw, 360px);
    opacity: 0.35;
  }

  .hero-side-note,
  .hero-update-box,
  .hero-diagonal {
    display: none;
  }
}

/* --- Showcase Sections (Top Page) --- */
body.home .section-label {
  margin: 0;
  font-family: 'Times New Roman', serif;
  font-size: 2.7rem;
  letter-spacing: 0.02em;
  color: #111;
}

.works-copy {
  background: #f3f4f6;
  padding-top: 6rem;
  padding-bottom: 4rem;
}

.works-headline {
  margin: 0.9rem 0 0;
  font-size: clamp(2.2rem, 4.8vw, 3.8rem);
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #0f172a;
}

.works-subline {
  margin: 0.5rem 0 0;
  font-size: clamp(1.05rem, 1.9vw, 1.3rem);
  line-height: 1.6;
  color: #4b5563;
}

.works-lead {
  margin: 1rem 0 0;
  max-width: 62ch;
  color: #5f6b7a;
  font-size: 1rem;
}

.about-panel {
  background: #fff;
}

.about-panel-grid {
  display: grid;
  gap: 1rem;
}

.about-message,
.about-facts {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 1.35rem;
}

.about-message h2 {
  margin: 0.45rem 0 0;
  font-size: clamp(1.35rem, 2.8vw, 2.3rem);
}

.about-message p {
  margin: 0.7rem 0 0;
  color: #5f6b7a;
}

.about-facts dl {
  margin: 0;
}

.about-facts dt {
  font-size: 0.84rem;
  color: #6f7d8f;
  margin-top: 0.7rem;
}

.about-facts dt:first-child { margin-top: 0; }
.about-facts dd { margin: 0.15rem 0 0; font-weight: 700; }

.service-block {
  background: #eef2f7;
}

.service-cards {
  margin-top: 1.4rem;
  display: grid;
  gap: 1rem;
}

.service-card {
  overflow: hidden;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #d0d8e3;
  box-shadow: 0 8px 22px rgba(18, 28, 44, 0.06);
}

.service-card-image {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.service-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.01);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.service-card h3 {
  margin: 0;
  padding: 0.85rem 1rem 1rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
}

.service-card:hover .service-card-image img {
  transform: scale(1.08);
}

.pickup-showcase {
  padding-top: 0;
  background: #f6f8fa;
}

.pickup-stage {
  position: relative;
  min-height: 72vh;
  background-position: center;
  background-size: cover;
}

.pickup-dim {
  position: absolute;
  inset: 0;
  background: rgba(14, 21, 34, 0.65);
  backdrop-filter: blur(2px);
}

.pickup-inner {
  position: relative;
  z-index: 1;
  min-height: 72vh;
  display: grid;
  align-items: center;
  grid-template-columns: 1fr auto 1fr;
  gap: 1rem;
  color: #fff;
}

.pickup-label {
  justify-self: start;
  font-family: 'Times New Roman', serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
}

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

.pickup-slider {
  position: relative;
}

.pickup-track {
  position: relative;
  width: min(34vw, 460px);
  margin: 0 auto;
}

.pickup-slide {
  display: none;
  text-align: center;
}

.pickup-slide.is-active {
  display: block;
}

.pickup-center-image {
  display: block;
  width: min(30vw, 430px);
  aspect-ratio: 3 / 4;
  margin: 0 auto;
}

.pickup-center-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pickup-title-link {
  display: inline-block;
  margin-top: 1rem;
  color: #fff;
  text-decoration: none;
  font-family: 'Times New Roman', serif;
  font-size: clamp(1.6rem, 2.8vw, 2.8rem);
}

.pickup-title-link span {
  display: inline-block;
  transition: transform 0.34s cubic-bezier(0.22, 1, 0.36, 1);
}

.pickup-title-link:hover span,
.pickup-title-link:focus-visible span {
  transform: translateX(8px);
}

.pickup-controls {
  position: absolute;
  left: 50%;
  bottom: -3.5rem;
  transform: translateX(-50%);
  display: flex;
  gap: 0.7rem;
}

.pickup-arrow {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.56);
  border-radius: 999px;
  background: rgba(9, 16, 32, 0.28);
  color: #fff;
  font-size: 1rem;
  cursor: pointer;
  transition:
    background-color 0.34s cubic-bezier(0.22, 1, 0.36, 1),
    color 0.34s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.34s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.34s cubic-bezier(0.22, 1, 0.36, 1);
}

.pickup-arrow:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.82);
  transform: translateY(-1px);
}

.news-nav .news-tab:hover,
.news-nav .news-tab:focus-visible {
  color: #435267;
}

.news-tab.is-active:hover,
.news-tab.is-active:focus-visible {
  color: #2563eb;
}

.pickup-more {
  justify-self: end;
  align-self: end;
  margin-bottom: 2rem;
}

.pickup-more a {
  color: #fff;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
  padding-bottom: 0.2rem;
}

.news-showcase {
  background: #f3f4f6;
}

.news-wrap {
  display: grid;
  gap: 1rem;
}

.news-nav {
  border-left: 1px solid #1f2b40;
  padding-left: 1rem;
}

.news-nav ul {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
}

.news-nav li {
  margin-top: 0.45rem;
}

.news-tab {
  border: 0;
  background: transparent;
  padding: 0;
  color: #8592a1;
  font-size: 2rem;
  font-family: 'Times New Roman', serif;
  cursor: pointer;
  text-align: left;
}

.news-tab.is-active {
  color: #2563eb;
}

.news-cards {
  display: grid;
  gap: 1rem;
}

.news-card-image {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 4px;
}

.news-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-card h3 {
  margin: 0.7rem 0 0;
  font-size: 1.8rem;
  line-height: 1.4;
  font-weight: 500;
}

.news-card h3 a {
  text-decoration: none;
}

.news-meta {
  margin: 0.5rem 0 0;
  color: #7e8b9a;
  font-size: 0.95rem;
}

.recruit-showcase {
  background: #f3f4f6;
  padding: 0;
}

.recruit-showcase > .container {
  padding-top: 5rem;
  padding-bottom: 2rem;
}

.recruit-title {
  margin: 0.6rem 0 0;
  font-size: clamp(2rem, 4.4vw, 3.2rem);
  line-height: 1.24;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: #0f172a;
}

.recruit-intro {
  margin: 0.8rem 0 0;
  color: #5f6b7a;
  font-size: 1.02rem;
}

.recruit-visual {
  position: relative;
  margin-top: 2rem;
  min-height: 62vh;
  overflow: hidden;
}

.recruit-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  position: absolute;
  inset: 0;
}

.recruit-overlay {
  position: relative;
  z-index: 1;
  min-height: 62vh;
  background: rgba(70, 170, 35, 0.58);
  color: #fff;
  display: grid;
  place-content: center;
  text-align: center;
  padding: 2rem;
}

.recruit-overlay p {
  margin: 0;
  font-size: 1.2rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.92;
}

.recruit-overlay h3 {
  margin: 0.9rem 0 0;
  font-size: clamp(1.7rem, 3.8vw, 3rem);
  line-height: 1.5;
  font-weight: 700;
}

.recruit-cta {
  margin-top: 1.3rem;
  border: 0;
  padding: 0.82rem 1.45rem;
}

.contact-split {
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1.8fr;
  min-height: 74vh;
}

.contact-panel-left {
  background: #9ba6b3;
  color: #111;
}

.contact-panel-inner {
  padding: clamp(2rem, 5vw, 4rem) clamp(1.2rem, 3vw, 2rem);
  max-width: 540px;
}

.contact-panel-inner p {
  font-size: clamp(1.1rem, 1.6vw, 1.4rem);
}

.contact-panel-right {
  position: relative;
}

.contact-gradient-art {
  position: absolute;
  inset: 0;
  background:
    conic-gradient(from 35deg at 58% 76%, #f18b35, #7fcf52, #1f4fae, #d45bb4, #f18b35);
  filter: saturate(0.9) contrast(0.95);
}

.js-reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.js-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (min-width: 900px) {
  .about-panel-grid {
    grid-template-columns: 1.2fr 1fr;
  }

  .news-wrap {
    grid-template-columns: 280px 1fr;
    align-items: start;
  }

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

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

@media (max-width: 900px) {
  .pickup-inner {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 2rem;
  }

  .pickup-label,
  .pickup-more {
    justify-self: center;
  }

  .pickup-more {
    align-self: center;
    margin: 0;
  }

  .pickup-center-image {
    width: min(70vw, 360px);
  }

  .pickup-track {
    width: 100%;
  }

  .contact-split {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .contact-panel-right {
    min-height: 300px;
  }

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

@media (max-width: 767px) {
  body.home .section-label {
    font-size: 2rem;
  }

  .works-copy {
    padding-top: 4rem;
  }

  .works-headline {
    font-size: clamp(1.8rem, 8vw, 2.5rem);
  }

  .news-nav li {
    margin-top: 0.25rem;
  }

  .news-tab {
    font-size: 1.55rem;
  }

  .news-card h3 {
    font-size: 1.4rem;
  }

  .service-cards {
    grid-template-columns: 1fr;
  }
}
