/* =========================================================
   Infinity合同会社 — style.css
   Design reference: zenthic-inc.com (measured 2026-09-14)
   ========================================================= */

/* ---------- Tokens ---------- */
:root {
  --color-brand: #00254b;          /* navy: headings, body copy, buttons */
  --color-sky: #37b2e4;
  --color-sky-light: #97e1ff;
  --color-ice: #f6fcff;
  --color-text: #333333;
  --color-text-secondary: #272626;
  --color-inverse: #ffffff;
  --color-surface: #ffffff;
  --color-surface-muted: #fafafa;
  --color-surface-dark: #000000;
  --color-rule: #e6e6e6;
  --color-error: #c8102e;
  --color-focus: #00254b;

  --font-ja: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans JP", "Yu Gothic", YuGothic, Meiryo, sans-serif;
  --font-en: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Helvetica Neue", Arial, var(--font-ja);
  --font-label: "Josefin Sans", "Helvetica Neue", Arial, sans-serif;

  --header-h: 76px;
  --container: 1140px;
  --gutter: 20px;

  --motion-instant: 200ms;
  --motion-fast: 300ms;
  --motion-normal: 400ms;
  --ease-pointer: cubic-bezier(.58, .3, .005, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  overflow-x: clip;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  overflow-x: clip;
  background: var(--color-surface);
  color: var(--color-text);
  font-family: var(--font-ja);
  font-size: 16px;
  line-height: 1.7;
  font-feature-settings: "palt" 0;
  -webkit-font-smoothing: antialiased;
  line-break: strict;
  word-break: keep-all;      /* breaks come from BudouX <wbr> inserted at build */
  overflow-wrap: anywhere;   /* safety net for over-long runs */
  text-wrap: pretty;
}
h1, h2, h3, h4, .sec-title__ja, .hero__eyebrow, .service__lead { text-wrap: balance; }

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input, textarea { font: inherit; color: inherit; }

.nw { white-space: nowrap; }
.prose { word-break: normal; text-align: justify; text-justify: inter-character; }
.prose :is(h1, h2, h3, h4) { word-break: keep-all; text-align: left; }
main:focus { outline: none; }

.container {
  width: min(var(--container), 100% - var(--gutter) * 2);
  margin-inline: auto;
}

:focus-visible {
  outline: 2px solid var(--color-focus);
  outline-offset: 3px;
}
.on-dark :focus-visible,
.on-dark:focus-visible { outline-color: var(--color-inverse); }

.skip-link {
  position: fixed;
  top: 8px; left: 8px;
  z-index: 1000;
  padding: 10px 16px;
  background: var(--color-brand);
  color: var(--color-inverse);
  font-size: 14px;
  transform: translateY(-200%);
  transition: transform var(--motion-instant);
}
.skip-link:focus-visible { transform: none; outline-color: var(--color-sky-light); }

/* ---------- Motion primitives ---------- */
@keyframes fadeInDown {
  from { opacity: 0; transform: translate3d(0, -100%, 0); }
  to   { opacity: 1; transform: none; }
}
@keyframes fadeInRight {
  from { opacity: 0; transform: translate3d(100%, 0, 0); }
  to   { opacity: 1; transform: none; }
}
@keyframes revealInBottom {
  to { transform: scaleY(0); }
}
@keyframes scrollLine {
  0%    { transform: scale(1, 0); transform-origin: 0 0; }
  50%   { transform: scale(1, 1); transform-origin: 0 0; }
  50.1% { transform: scale(1, 1); transform-origin: 0 100%; }
  100%  { transform: scale(1, 0); transform-origin: 0 100%; }
}

/* Text reveal: a cover in the background colour collapses downward */
.js .reveal {
  position: relative;
  display: inline-block;
}
.js .reveal::after {
  content: "";
  position: absolute;
  inset: -2px -4px;
  background: var(--mask, var(--color-surface));
  transform-origin: center bottom;
  pointer-events: none;
}
.js .reveal.is-inview::after { animation: revealInBottom 1s ease forwards; }

/* Slide in from the right by own width */
.js .fade-right { opacity: 0; }
.js .fade-right.is-inview { animation: fadeInRight 1.25s ease both; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: var(--color-surface);
}
.js .site-header { animation: fadeInDown 1.25s ease .5s both; }

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding-inline: 50px;
}

.site-logo {
  margin: 0;
  font-size: 25px;
  font-weight: 700;
  line-height: 1;
  color: var(--color-text-secondary);
  white-space: nowrap;
}
.site-logo a { display: inline-block; padding-block: 8px; }

.global-nav__list { display: flex; }
.global-nav__link {
  position: relative;
  display: block;
  padding: 13px 20px;
  font-size: 15px;
  font-weight: 500;
  line-height: 20px;
  letter-spacing: 1.5px;
  color: var(--color-text);
  white-space: nowrap;
  transition: color var(--motion-normal);
}
.global-nav__link::after {
  content: "";
  position: absolute;
  bottom: 6px;
  left: 100%;
  width: 10px;
  height: 1px;
  background: var(--color-brand);
  opacity: 0;
  transition: all var(--motion-fast) var(--ease-pointer);
}
.global-nav__link:hover::after,
.global-nav__link:focus-visible::after {
  left: 20px;
  width: calc(100% - 40px);
  opacity: 1;
}
.global-nav__link:active { color: var(--color-brand); }

/* Hamburger */
.menu-toggle {
  display: none;
  position: relative;
  width: 50px;
  height: 50px;
  margin: 0;
  padding: 0;
  border: 0;
  background: var(--color-brand);
  cursor: pointer;
  transition: background-color var(--motion-fast);
}
.menu-toggle__line {
  position: absolute;
  left: 12.5px;
  width: 25px;
  height: 2.5px;
  background: var(--color-inverse);
  transition: transform var(--motion-fast) ease-in-out, opacity var(--motion-fast) ease-in-out;
}
.menu-toggle__line:nth-child(1) { top: 17px; }
.menu-toggle__line:nth-child(2) { top: 23.75px; }
.menu-toggle__line:nth-child(3) { top: 30.5px; }
.menu-toggle[aria-expanded="true"] .menu-toggle__line:nth-child(1) { transform: translateY(6.75px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__line:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .menu-toggle__line:nth-child(3) { transform: translateY(-6.75px) rotate(-45deg); }
.menu-toggle:focus-visible { outline-offset: -4px; outline-color: var(--color-sky-light); }

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  z-index: 90;
  visibility: hidden;
}
.mobile-menu.is-open { visibility: visible; }
.site-header::after {
  content: "";
  position: absolute;
  inset: 0 50px 0 0;
  background: rgba(0, 0, 0, .8);
  opacity: 0;
  pointer-events: none;
  transition: opacity .6s ease;
}
.menu-open .site-header::after { opacity: 1; pointer-events: auto; }
@media (min-width: 1025px) { .mobile-menu { display: none; } }
.mobile-menu__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .8);
  opacity: 0;
  transition: opacity .6s ease;
}
.mobile-menu.is-open .mobile-menu__overlay { opacity: 1; }
.mobile-menu__panel {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: min(302px, 100%);
  padding-top: 0;
  background: var(--color-brand);
  overflow-y: auto;
  opacity: 0;
  transform: translate3d(100%, 0, 0);
  transition: transform .6s ease, opacity .6s ease;
}
.mobile-menu.is-open .mobile-menu__panel { opacity: 1; transform: none; }
.mobile-menu__link {
  display: block;
  padding: 11.5px 20px;
  border-bottom: 1px solid #def0f7;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 1.5px;
  color: var(--color-inverse);
  transition: background-color var(--motion-fast);
}
.mobile-menu__link:hover { background: rgba(255, 255, 255, .08); }
.mobile-menu__link:focus-visible { outline-color: var(--color-inverse); outline-offset: -4px; }

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-block;
  padding: 10px 30px;
  overflow: hidden;
  background: var(--color-brand);
  color: var(--color-inverse);
  font-size: 13px;
  font-weight: 500;
  line-height: 22px;
  letter-spacing: 3px;
  white-space: nowrap;
  border: 0;
  border-radius: 0;
  cursor: pointer;
  isolation: isolate;
  transition: color var(--motion-normal) ease-in, background-color var(--motion-normal) ease-in, transform var(--motion-instant);
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  z-index: -1;
  width: 0;
  background: var(--color-text);
  transition: width var(--motion-fast);
}
.btn::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 5px;
  width: 0;
  height: 1px;
  background: var(--color-inverse);
  transition: width var(--motion-fast);
}
.btn:hover::before,
.btn:focus-visible::before { width: 100%; }
.btn:hover::after,
.btn:focus-visible::after { width: 20px; transition-delay: .2s; }
.btn:active { transform: translateY(1px); }
.btn:disabled,
.btn[aria-disabled="true"] {
  background: #8a98a8;
  cursor: not-allowed;
}
.btn:disabled::before,
.btn:disabled::after { display: none; }
.btn.is-loading { pointer-events: none; opacity: .7; }

/* ---------- Section titles ---------- */
.sec-title__en {
  font-family: var(--font-en);
  font-size: 80px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0;
  color: var(--color-brand);
}
.sec-title__ja {
  margin-top: 20px;
  font-size: 20px;
  line-height: 34px;
  color: var(--color-text);
}
.sec-title--brand .sec-title__ja { color: var(--color-brand); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  height: 765px;
  overflow: hidden;
}
.hero__slides {
  position: absolute;
  inset: 0 133px 0 0;
  overflow: hidden;
  background: #dfe6ec;
}
.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .5s ease;
}
.hero__slide.is-active { opacity: 1; }
.hero__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  transition: transform 10s linear;
}
.hero__slide.is-zoom img {
  transform: scale(1.3);
  transition-duration: 20s;
}

.hero__content {
  position: absolute;
  top: 35%;
  left: 16%;
  right: 180px;
  z-index: 2;
  color: var(--color-inverse);
  text-shadow: 0 0 10px rgba(0, 0, 0, .54);
}
.hero__eyebrow {
  text-shadow: 0 0 10px rgba(0, 0, 0, .54), 0 1px 3px rgba(0, 0, 0, .4);
  font-family: var(--font-en);
  font-size: 20px;
  line-height: 34px;
  letter-spacing: 3px;
}
.hero__title {
  margin-top: 18px;
  font-size: 70px;
  font-weight: 900;
  line-height: 1.5;
  letter-spacing: 10px;
}
.hero .reveal { --mask: var(--color-surface); }

.hero__wordmark {
  position: absolute;
  right: 62px;
  bottom: -18px;
  z-index: 1;
  margin: 0;
  font-family: var(--font-en);
  font-size: 147px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
  color: transparent;
  -webkit-text-stroke: 1px #000;
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}

.hero__scroll {
  position: absolute;
  right: 62px;
  bottom: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding-top: 8px;
  transition: opacity var(--motion-instant);
}
.hero__scroll:hover { opacity: .5; }
.hero__scroll-label {
  font-family: var(--font-label);
  font-size: 10px;
  line-height: 1;
  letter-spacing: .2em;
  color: var(--color-text);
  writing-mode: vertical-lr;
}
.hero__scroll-line {
  position: relative;
  width: 1px;
  height: 100px;
  background: #ddd;
  overflow: hidden;
}
.hero__scroll-line::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #000;
  animation: scrollLine 1.5s cubic-bezier(1, 0, 0, 1) infinite;
}

/* ---------- About (top) ---------- */
.about {
  display: flex;
  align-items: flex-start;
  gap: 60px;
  padding-top: 100px;
}
.about__text {
  flex: 0 1 454px;
  margin-left: 16%;
  padding-top: 0;
}
.about__heading {
  margin-top: 40px;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: -.5px;
  color: var(--color-brand);
}
.about__body {
  margin-top: 20px;
  font-size: 15px;
  line-height: 30px;
  color: var(--color-brand);
}
.about__btn { margin-top: 70px; }
.about__photo {
  flex: 0 0 48.26%;
  margin-left: auto;
  aspect-ratio: 695 / 580;
  overflow: hidden;
}
.about__photo img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Service ---------- */
.service {
  padding-top: 72px;
  padding-bottom: 120px;
}
.service__head {
  display: grid;
  grid-template-columns: max-content minmax(0, 460px);
  justify-content: start;
  column-gap: 24px;
  align-items: start;
}
.service__lead {
  margin-top: 42px;
  font-size: 15px;
  line-height: 30px;
  color: var(--color-brand);
}
.service__block { margin-top: 85px; }
.service__block + .service__block { margin-top: 100px; }
.service__gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.service__gallery figure {
  aspect-ratio: 380 / 253;
  overflow: hidden;
}
.service__gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.service__name {
  margin-top: 55px;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--color-brand);
}
.service__body {
  margin-top: 15px;
  font-size: 16px;
  line-height: 27.2px;
  color: var(--color-brand);
}

/* ---------- News (top) ---------- */
.news-band {
  background: linear-gradient(90deg, var(--color-surface-muted) 0 70%, transparent 70% 100%);
}
.news-band__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 70%;
  column-gap: 40px;
  align-items: end;
  padding-top: 86px;
}
.news-band .reveal { --mask: var(--color-surface-muted); }
.news-band__btn { margin: 19px 0 0; }
.news-card {
  padding: 60px 40px;
  background: var(--color-surface);
  box-shadow: 0 0 10px rgba(226, 226, 226, .5);
}

.news-list__item { border-bottom: 1px solid var(--color-rule); }
.news-list__link {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 8px 0 30px;
  color: var(--color-text);
}
.news-list__tag {
  flex: none;
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
}
.news-list__date {
  flex: none;
  font-family: var(--font-en);
  font-size: 13px;
  letter-spacing: 1px;
}
.news-list__title {
  flex: 1;
  margin-left: -20px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1px;
  transition: color var(--motion-fast);
}
.news-list__arrow {
  flex: none;
  display: grid;
  place-items: center;
  width: 30px;
  height: 24px;
  border-left: 1px solid var(--color-rule);
  transition: transform var(--motion-fast) var(--ease-pointer);
}
.news-list__link:hover .news-list__title { color: var(--color-brand); text-decoration: underline; text-underline-offset: 4px; }
.news-list__link:hover .news-list__arrow { transform: translateX(4px); }
.news-list__link:focus-visible { outline-offset: 4px; }

/* ---------- Footer CTA ---------- */
.site-footer { margin-top: 180px; }
.page-sub .site-footer { margin-top: 120px; }

.footer-cta {
  position: relative;
  display: grid;
  background-color: var(--color-sky);
  isolation: isolate;
}
.footer-cta__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: .77;
}
.footer-cta__bg img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.3) saturate(.9); }
.footer-cta__item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 300px;
  padding: 40px 20px;
  color: var(--color-inverse);
  text-align: center;
}
.footer-cta__item::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(30deg, var(--color-brand) 0%, rgba(255, 255, 255, 0) 60%);
  opacity: .69;
  transition: opacity var(--motion-fast);
}
.footer-cta__item:hover::before,
.footer-cta__item:focus-visible::before { opacity: .5; }
.footer-cta__item:focus-visible { outline-color: var(--color-inverse); outline-offset: -8px; }
.footer-cta__title {
  font-size: 35px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 4.5px;
}
.footer-cta__sub {
  margin-top: 6px;
  font-size: 15px;
  letter-spacing: 1.5px;
}

.footer-nav {
  background: var(--color-brand);
}
.footer-nav__list {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  min-height: 80px;
}
.footer-nav__link {
  position: relative;
  display: block;
  padding: 13px 10px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 1.9px;
  color: var(--color-inverse);
}
.footer-nav__link::after {
  content: "";
  position: absolute;
  left: 10px; right: 10px; bottom: 8px;
  height: 1px;
  background: var(--color-sky-light);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--motion-fast) var(--ease-pointer);
}
.footer-nav__link:hover::after,
.footer-nav__link:focus-visible::after { transform: scaleX(1); transform-origin: left; }

.footer-bottom {
  background: var(--color-surface-dark);
  color: var(--color-inverse);
  border-top: 1px solid #333;
}
.footer-bottom__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  min-height: 40px;
  font-size: 12px;
}
.footer-bottom a { transition: opacity var(--motion-instant); }
.footer-bottom a:hover { opacity: .7; }
.footer-bottom small { font-family: var(--font-en); font-size: 12px; }

/* ---------- Sub pages ---------- */
.page-title__inner { padding-block: 60px 0; }
.breadcrumb {
  margin-top: 50px;
  padding-block: 14px;
  border-top: 1px solid var(--color-rule);
  border-bottom: 1px solid var(--color-rule);
  font-size: 13px;
  letter-spacing: 1px;
}
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 4px 0; }
.breadcrumb li { display: flex; align-items: center; }
.breadcrumb li + li::before {
  content: "";
  width: 6px; height: 6px;
  margin: 0 14px 0 10px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: rotate(45deg);
}
.breadcrumb a { color: var(--color-brand); text-decoration: underline; text-underline-offset: 3px; }
.breadcrumb a:hover { text-decoration: none; }
.breadcrumb [aria-current] { color: var(--color-text); }

.sub-section { padding-top: 130px; }
.sub-section--tight { padding-top: 80px; }

/* Company outline */
.outline-list { margin-top: 50px; border-top: 1px solid var(--color-rule); }
.outline-list__row {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  border-bottom: 1px solid var(--color-rule);
}
.outline-list__row dt,
.outline-list__row dd {
  padding: 28px 20px;
  font-size: 16px;
  line-height: 1.7;
}
.outline-list__row dt {
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--color-brand);
}
.outline-list__row dd { color: var(--color-text); }

.access__body {
  margin-top: 40px;
  font-size: 16px;
  line-height: 1.9;
  color: var(--color-brand);
}
.access__name { font-weight: 700; letter-spacing: 1px; }
.access__map { margin-top: 50px; background: var(--color-surface-muted); }
.access__map iframe { display: block; width: 100%; height: 350px; border: 0; }

/* News archive / article */
.archive-list { margin-top: 50px; border-top: 1px solid var(--color-rule); }
.archive-list .news-list__link { padding: 30px 10px; }
.archive-list .news-list__title { margin-left: 0; font-size: 15px; }

.article { margin-top: 80px; }
.article__date {
  font-family: var(--font-en);
  font-size: 14px;
  letter-spacing: 1px;
  color: var(--color-text);
}
.article__title {
  margin-top: 12px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--color-rule);
  font-size: 32px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--color-brand);
}
.article__body {
  margin-top: 40px;
  font-size: 16px;
  line-height: 2;
  color: var(--color-text);
}
.article__body p + p { margin-top: 1em; }
.article__back { margin-top: 70px; text-align: center; }

/* Privacy policy */
.policy { margin-top: 80px; max-width: 960px; }
.policy__lead { font-size: 16px; line-height: 2; }
.policy__article { margin-top: 56px; }
.policy__article h2 {
  padding-bottom: 14px;
  border-bottom: 1px solid var(--color-brand);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 1px;
  color: var(--color-brand);
}
.policy__article > p { margin-top: 20px; font-size: 15px; line-height: 2; }
.policy ol {
  margin-top: 20px;
  padding-left: 1.8em;
  list-style: decimal;
  font-size: 15px;
  line-height: 2;
}
.policy ol ol { margin-top: 6px; list-style: decimal; }
.policy ol ol ol { list-style: lower-roman; }
.policy li + li { margin-top: 6px; }
.policy__contact {
  margin-top: 20px;
  padding: 24px 28px;
  background: var(--color-surface-muted);
  font-size: 15px;
  line-height: 2;
}
.policy__contact a { color: var(--color-brand); text-decoration: underline; text-underline-offset: 3px; }
.policy__end { margin-top: 40px; text-align: right; font-size: 15px; }

/* ---------- Responsive ---------- */
@media (max-width: 1280px) {
  .hero__content { left: 10%; }
  .hero__title { font-size: 60px; }
  .about__text { margin-left: 8%; }
}

@media (max-width: 1024px) {
  :root { --header-h: 50px; }
  .site-header__inner { padding: 0 0 0 10px; }
  .site-logo { font-size: 20px; }
  .global-nav { display: none; }
  .menu-toggle { display: block; }

  .hero { height: 620px; }
  .hero__slides { inset: 0 0 0 20px; }
  .hero__content { left: 40px; right: 40px; top: 36%; }
  .hero__title { font-size: 48px; letter-spacing: 8px; }
  .hero__wordmark { left: 40px; right: auto; bottom: 10px; }
  .hero__scroll { display: none; }

  .sec-title__en { font-size: 60px; }

  .about { flex-direction: column; gap: 60px; }
  .about__text { flex: none; margin: 0 var(--gutter); max-width: 640px; }
  .about__photo { flex: none; width: calc(100% - 39px); max-height: 580px; margin-left: 39px; }
  .site-footer { margin-top: 100px; }

  .service { padding-top: 140px; }
  .service__head { grid-template-columns: 1fr; }
  .service__lead { margin-top: 20px; }

  .news-band__inner { grid-template-columns: 1fr; row-gap: 40px; padding-block: 60px 0; }
  .news-card { margin-left: 8%; }
  .news-band__btn { margin: 26px 0 0; }

  .footer-nav { display: none; }
}

@media (max-width: 767px) {
  .hero { height: 506px; }
  .hero__content { left: 30px; right: 20px; top: 38%; }
  .hero__eyebrow { font-size: 15px; line-height: 24px; }
  .hero__title { margin-top: 10px; font-size: 26px; line-height: 39px; letter-spacing: 10px; }
  .hero__wordmark { left: 45px; bottom: 6px; }

  .sec-title__en { font-size: 40px; line-height: 52px; }
  .sec-title__en--long { font-size: clamp(28px, 9.2vw, 40px); }
  .sec-title__ja { margin-top: 6px; font-size: 15px; line-height: 1.6; }

  .about { padding-top: 90px; gap: 12px; }
  .hero__slide img { object-position: center 20%; }
  .about__heading { margin-top: 30px; font-size: 20px; }
  .about__body { margin-top: 20px; }
  .about__btn { margin-top: 15px; }
  .about__photo { aspect-ratio: 351 / 300; }

  .service { padding-top: 45px; padding-bottom: 60px; }
  .service__block { margin-top: 50px; }
  .service__block + .service__block { margin-top: 70px; }
  .service__gallery { grid-template-columns: 1fr; }
  .service__name { margin-top: 30px; font-size: 20px; }
  .service__body { font-size: 15px; line-height: 1.9; }

  .news-card { padding: 20px; }
  .news-band__inner { row-gap: 18px; }
  .news-band .sec-title__en { font-size: 30px; line-height: 1.3; }
  .news-list__link { flex-wrap: wrap; gap: 6px 16px; padding: 4px 0 20px; }
  .news-list__title { flex-basis: calc(100% - 50px); margin-left: 0; }
  .news-list__arrow { margin-left: auto; }

  .site-footer, .page-sub .site-footer { margin-top: 30px; }
  .footer-cta__item { min-height: 199px; }
  .footer-cta__title { font-size: 20px; }
  .footer-cta__sub { font-size: 13px; }
  .footer-bottom__inner { flex-direction: column; justify-content: center; gap: 4px; padding-block: 12px; }

  .breadcrumb { margin-top: 30px; }
  .sub-section { padding-top: 80px; }
  .outline-list__row { grid-template-columns: 1fr; }
  .outline-list__row dt { padding: 20px 10px 0; }
  .outline-list__row dd { padding: 6px 10px 20px; }
  .outline-list__row dd:empty::after { content: "\00a0"; }


  .article__title { font-size: 22px; }
  .archive-list .news-list__link { padding: 22px 4px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    transition-delay: 0s !important;
  }
  .hero__slide.is-zoom img { transform: none; }
  .hero__scroll-line::before { animation: none !important; transform: none; }
}
