@charset "UTF-8";

:root {
  --main: #eb5e00;
  --main-dark: #c44f00;
  --main-light: #fdeee3;
  --ink: #1b1d20;
  --ink-soft: #4a4f57;
  --line: #e3e5e9;
  --bg: #ffffff;
  --bg-alt: #f6f7f9;
  --dark: #16181c;
  --header-h: 60px;
  --cta-h: 60px;
  --container: 1160px;
  --radius: 4px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  font-size: 15px;
  line-height: 1.9;
  color: var(--ink);
  background: var(--bg);
  font-feature-settings: "palt";
  overflow-wrap: anywhere;
  padding-bottom: var(--cta-h);
}

body.is-locked { overflow: hidden; }

img,
svg,
iframe { max-width: 100%; }

img { height: auto; display: block; }

a { color: inherit; text-decoration: none; transition: color .25s var(--ease), background-color .25s var(--ease), border-color .25s var(--ease), opacity .25s var(--ease); }

ul, ol { list-style: none; margin: 0; padding: 0; }

h1, h2, h3, p, figure, dl, dd { margin: 0; }

table { border-collapse: collapse; width: 100%; }

button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

:focus-visible { outline: 3px solid var(--main); outline-offset: 2px; }

.skip-link {
  position: absolute;
  left: 8px;
  top: -60px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--ink);
  color: #fff;
  transition: top .2s;
}
.skip-link:focus { top: 8px; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 20px;
}

.note {
  display: block;
  font-size: 12px;
  color: var(--ink-soft);
  margin-top: 6px;
}

/* ---------- header ---------- */
.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 130;
  height: var(--header-h);
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid var(--line);
  transition: background-color .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}

.header.is-transparent {
  background: transparent;
  border-bottom-color: transparent;
}

.header.is-scrolled { box-shadow: 0 2px 18px rgba(0, 0, 0, .08); }

body.is-locked .header {
  background: transparent;
  border-bottom-color: transparent;
  box-shadow: none;
}

.header__inner {
  height: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.logo {
  position: relative;
  z-index: 120;
  display: flex;
  align-items: center;
  min-width: 0;
  flex-shrink: 1;
}

.logo__img {
  display: block;
  width: auto;
  height: 27px;
  max-width: min(168px, 42vw);
}

.drawer-toggle {
  position: relative;
  z-index: 120;
  flex: none;
  width: 44px;
  height: 44px;
  display: grid;
  place-content: center;
  gap: 6px;
}

.drawer-toggle__bar {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  transition: transform .3s var(--ease), opacity .2s var(--ease), background-color .3s var(--ease);
}

.header.is-transparent .drawer-toggle__bar { background: #fff; }

.drawer-toggle[aria-expanded="true"] .drawer-toggle__bar { background: #fff; }
.drawer-toggle[aria-expanded="true"] .drawer-toggle__bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.drawer-toggle[aria-expanded="true"] .drawer-toggle__bar:nth-child(2) { opacity: 0; }
.drawer-toggle[aria-expanded="true"] .drawer-toggle__bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.nav {
  position: fixed;
  inset: 0;
  z-index: 110;
  background: var(--dark);
  padding: calc(var(--header-h) + 24px) 24px 40px;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
}

.nav.is-open { opacity: 1; visibility: visible; transform: none; }

.nav__list { border-top: 1px solid rgba(255, 255, 255, .14); }

.nav__link {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 18px 4px;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, .14);
}

.nav__ja { font-size: 17px; font-weight: 700; }

.nav__en {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 12px;
  letter-spacing: .16em;
  color: var(--main);
}

.nav__contact { margin-top: 32px; }

.nav__tel {
  display: block;
  text-align: center;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .3);
  padding: 16px;
}

.nav__tel-label { display: block; font-size: 12px; letter-spacing: .08em; }

.nav__tel-num {
  display: block;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 30px;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--main);
  line-height: 1.2;
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
}

.hero__media { position: absolute; inset: 0; }

.hero__media picture { display: block; width: 100%; height: 100%; }

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: heroZoom 16s var(--ease) forwards;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 12, 15, .72) 0%, rgba(10, 12, 15, .45) 45%, rgba(10, 12, 15, .8) 100%);
}

@keyframes heroZoom {
  from { transform: scale(1.12); }
  to { transform: scale(1); }
}

.hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding: calc(var(--header-h) + 40px) 20px 120px;
}

.hero__brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-inline: auto;
  margin-bottom: 44px;
}

.hero__logo {
  display: block;
  height: auto;
}

.hero__logo--main {
  width: min(252px, 70vw);
}

.hero__logo--sub {
  width: min(320px, 88vw);
  filter: brightness(0) invert(1);
  opacity: .78;
}

.hero__en {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 13px;
  letter-spacing: .3em;
  color: var(--main);
  margin-bottom: 16px;
}

.hero__copy {
  font-size: clamp(28px, 8.5vw, 40px);
  font-weight: 900;
  line-height: 1.45;
  letter-spacing: .04em;
  text-shadow: 0 2px 24px rgba(0, 0, 0, .35);
}

.hero__copy span { display: block; }

.hero__lead {
  margin-top: 20px;
  font-size: 14px;
  line-height: 2;
  text-shadow: 0 2px 16px rgba(0, 0, 0, .4);
}

.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  z-index: 2;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 11px;
  letter-spacing: .24em;
  color: #fff;
  padding-bottom: 56px;
}

.hero__scroll::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 1px;
  height: 44px;
  background: rgba(255, 255, 255, .4);
  overflow: hidden;
}

.hero__scroll::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 1px;
  height: 44px;
  background: var(--main);
  transform-origin: top;
  animation: scrollLine 2.2s ease-in-out infinite;
  z-index: 1;
}

@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; }
  45% { transform: scaleY(1); transform-origin: top; }
  55% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ---------- section common ---------- */
.section {
  position: relative;
  padding: 64px 0;
  scroll-margin-top: var(--header-h);
}

.section--works,
.section--news { background: var(--bg-alt); }

.section__head { margin-bottom: 36px; }

.section__title {
  font-size: 26px;
  font-weight: 900;
  line-height: 1.4;
  letter-spacing: .06em;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.section__title::before {
  content: "";
  width: 40px;
  height: 3px;
  background: var(--main);
  margin-bottom: 14px;
}

.section__en {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .26em;
  color: var(--main);
}

.section__lead { margin-top: 18px; color: var(--ink-soft); font-size: 14px; }

.section__head--light .section__title { color: #fff; }
.section__head--light .section__lead { color: rgba(255, 255, 255, .8); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  padding: 12px 28px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .06em;
  border: 1px solid transparent;
  text-align: center;
}

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

.btn--outline-light { border-color: rgba(255, 255, 255, .55); color: #fff; }
.btn--outline-light:hover { background: #fff; color: var(--ink); border-color: #fff; }

.btn-group { display: grid; gap: 12px; margin-top: 28px; }

/* ---------- tag list ---------- */
.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.tag-list li {
  font-size: 12px;
  line-height: 1.6;
  padding: 4px 10px;
  background: var(--main-light);
  color: var(--main-dark);
  border-radius: 999px;
}

/* ---------- service ---------- */
.service-list { display: grid; gap: 40px; }

.service-card__media {
  position: relative;
  overflow: hidden;
}

.service-card__media img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  transition: transform .6s var(--ease);
}

.service-card:hover .service-card__media img { transform: scale(1.05); }

.service-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 12, 15, .08) 0%, rgba(10, 12, 15, .55) 100%);
  pointer-events: none;
}

.service-card__title-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  margin: 0;
  padding: 20px 16px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: .04em;
  color: #fff;
  text-shadow: 0 1px 12px rgba(0, 0, 0, .45);
}

.service-card__body { padding-top: 16px; }

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

.service-card__text { font-size: 14px; color: var(--ink-soft); }

/* ---------- works ---------- */
.works__tabs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-bottom: 20px;
}

.works__tab {
  min-height: 48px;
  padding: 10px 8px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .02em;
  color: var(--ink-soft);
  background: #fff;
  border: 1px solid var(--line);
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}

.works__tab.is-active {
  background: var(--main);
  border-color: var(--main);
  color: #fff;
}

.works__panel[hidden] { display: none; }

.slider__viewport { position: relative; background: var(--dark); }

.slider__track {
  position: relative;
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.slider__track::-webkit-scrollbar { display: none; }

.slide {
  flex: 0 0 100%;
  position: relative;
  margin: 0;
  scroll-snap-align: center;
}

.slide img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.slide__cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 40px 16px 16px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
  color: #fff;
  background: linear-gradient(180deg, rgba(10, 12, 15, 0) 0%, rgba(10, 12, 15, .75) 100%);
}

.slider__nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-top: -22px;
  color: #fff;
  background: rgba(20, 23, 28, .55);
  transition: background-color .25s var(--ease), opacity .25s var(--ease);
}

.slider__nav:hover { background: var(--main); }

.slider__nav[disabled] { opacity: .25; pointer-events: none; }

.slider__nav--prev { left: 0; }
.slider__nav--next { right: 0; }

.slider__count {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  padding: 4px 12px;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 14px;
  letter-spacing: .08em;
  color: #fff;
  background: rgba(20, 23, 28, .55);
}

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

.slider__thumb {
  display: block;
  width: 100%;
  padding: 0;
  border: 2px solid transparent;
  opacity: .5;
  transition: opacity .25s var(--ease), border-color .25s var(--ease);
}

.slider__thumb img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.slider__thumb.is-active { opacity: 1; border-color: var(--main); }
.slider__thumb:hover { opacity: 1; }

/* ---------- company ---------- */
.message { margin-bottom: 56px; }

.message__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.message__body { padding-top: 24px; }

.message__title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 16px;
  padding-left: 14px;
  border-left: 3px solid var(--main);
  line-height: 1.5;
}

.message__body p + p { margin-top: 16px; }

.message__body p { font-size: 14px; color: var(--ink-soft); }

.message__sign { margin-top: 24px !important; text-align: right; color: var(--ink) !important; }

.block + .block { margin-top: 56px; }

.block__title {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: .04em;
  padding-bottom: 12px;
  margin-bottom: 20px;
  border-bottom: 2px solid var(--ink);
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.block__en {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .2em;
  color: var(--main);
}

.outline th,
.outline td {
  display: block;
  width: 100%;
  text-align: left;
  font-size: 14px;
}

.outline th {
  background: var(--bg-alt);
  font-weight: 700;
  padding: 10px 14px;
  border-left: 3px solid var(--main);
}

.outline td { padding: 14px 14px 22px; color: var(--ink-soft); }

.outline a { color: var(--main-dark); text-decoration: underline; }

.office + .office { margin-top: 16px; }

.office__name { font-weight: 700; color: var(--ink); }

.history { position: relative; padding-left: 18px; }

.history::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: var(--line);
}

.history li { position: relative; padding-bottom: 22px; }

.history li::before {
  content: "";
  position: absolute;
  left: -18px;
  top: 9px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--main);
}

.history__date {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--ink);
}

.history__text { font-size: 14px; color: var(--ink-soft); }

.license { display: grid; gap: 20px; }

.license__card {
  border: 1px solid var(--line);
  border-top: 3px solid var(--main);
  padding: 22px 20px;
  background: #fff;
}

.license__cat { font-size: 12px; letter-spacing: .08em; color: var(--main); font-weight: 700; }

.license__num { font-size: 16px; font-weight: 700; margin-top: 6px; line-height: 1.6; }

.license__date { font-size: 13px; color: var(--ink-soft); }

/* ---------- recruit ---------- */
.section--recruit {
  color: #fff;
  overflow: hidden;
  padding: 72px 0;
}

.recruit__bg { position: absolute; inset: 0; }

.recruit__bg img { width: 100%; height: 100%; object-fit: cover; }

.section--recruit::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(16, 18, 22, .78);
}

.section--recruit .container { position: relative; z-index: 2; }

.recruit__catch {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.7;
  margin-bottom: 18px;
}

.recruit__text { font-size: 14px; color: rgba(255, 255, 255, .82); }

.recruit__jobs { margin-top: 28px; display: grid; gap: 14px; }

.recruit__jobs li {
  border: 1px solid rgba(255, 255, 255, .22);
  padding: 16px 18px;
  background: rgba(255, 255, 255, .04);
}

.recruit__job-title {
  display: block;
  font-weight: 700;
  font-size: 16px;
  color: var(--main);
  margin-bottom: 4px;
}

.recruit__job-text { font-size: 13px; color: rgba(255, 255, 255, .8); }

/* ---------- news ---------- */
.news-list { border-top: 1px solid var(--line); }

.news-item {
  padding: 18px 4px;
  border-bottom: 1px solid var(--line);
}

.news-item__date {
  display: block;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 14px;
  letter-spacing: .1em;
  color: var(--main);
  margin-bottom: 4px;
}

.news-item__text { font-size: 14px; }

/* ---------- contact ---------- */
.contact-cards { display: grid; gap: 16px; }

.contact-card {
  display: block;
  text-align: center;
  padding: 28px 20px;
  border: 1px solid var(--line);
  background: #fff;
}

.contact-card--tel { background: var(--main); border-color: var(--main); color: #fff; }
.contact-card--tel:hover { background: var(--main-dark); border-color: var(--main-dark); }
.contact-card--mail:hover { border-color: var(--main); }

.contact-card__label { display: block; font-size: 13px; font-weight: 700; letter-spacing: .08em; }

.contact-card__num {
  display: block;
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(28px, 8vw, 38px);
  font-weight: 600;
  letter-spacing: .04em;
  line-height: 1.3;
  margin: 6px 0 4px;
  word-break: break-all;
}

.contact-card--mail .contact-card__num { color: var(--main-dark); }

.contact-card__sub { display: block; font-size: 12px; opacity: .85; }

.access { margin-top: 40px; display: grid; gap: 32px; }

.access__title {
  font-size: 16px;
  font-weight: 700;
  padding-left: 12px;
  border-left: 3px solid var(--main);
  margin-bottom: 10px;
}

.access__addr { font-size: 14px; color: var(--ink-soft); margin-bottom: 14px; }

.access__map { position: relative; aspect-ratio: 4 / 3; background: var(--bg-alt); }

.access__map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- footer ---------- */
.footer {
  background: var(--dark);
  color: rgba(255, 255, 255, .78);
  padding: 48px 0 24px;
}

.footer__inner { display: grid; gap: 28px; }

.footer__name { font-size: 17px; font-weight: 700; color: #fff; margin-bottom: 12px; }

.footer__addr { font-size: 13px; line-height: 1.9; }

.footer__addr + .footer__addr { margin-top: 10px; }

.footer__addr a { color: var(--main); }

.footer__nav ul { display: flex; flex-wrap: wrap; gap: 10px 20px; }

.footer__nav a { font-size: 13px; position: relative; padding-left: 12px; }

.footer__nav a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 5px;
  height: 1px;
  background: var(--main);
}

.footer__nav a:hover { color: var(--main); }

.copyright {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  text-align: center;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 12px;
  letter-spacing: .12em;
}

/* ---------- page top ---------- */
.pagetop {
  position: fixed;
  right: 14px;
  bottom: calc(var(--cta-h) + 14px);
  z-index: 90;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  gap: 2px;
  background: var(--ink);
  color: #fff;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s, background-color .3s var(--ease);
}

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

.pagetop:hover { background: var(--main); }

.pagetop__arrow {
  width: 9px;
  height: 9px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(-45deg);
  margin-top: 4px;
}

.pagetop__text {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 8px;
  letter-spacing: .08em;
  line-height: 1;
}

/* ---------- fixed cta (sp) ---------- */
.fixed-cta {
  position: fixed;
  inset: auto 0 0;
  z-index: 95;
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: var(--cta-h);
  padding-bottom: env(safe-area-inset-bottom);
  background: var(--dark);
}

.fixed-cta__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .02em;
}

.fixed-cta__btn--tel { background: var(--main); }
.fixed-cta__btn--tel:active { background: var(--main-dark); }
.fixed-cta__btn--mail { background: #33383f; }
.fixed-cta__btn--mail:active { background: #22262b; }

.fixed-cta__icon { display: inline-flex; }

/* ---------- scroll animation ---------- */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}

.fade-in.is-shown { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  .fade-in { opacity: 1; transform: none; }
}

/* ---------- tablet ---------- */
@media (min-width: 768px) {
  body { font-size: 16px; padding-bottom: 0; }

  .container { padding-inline: 40px; }

  .section { padding: 96px 0; }

  .section__title { font-size: 32px; }

  .service-list { gap: 56px; }

  .works__tabs { grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 28px; }
  .works__tab { min-height: 56px; font-size: 15px; }

  .slide img { aspect-ratio: 16 / 9; }
  .slide__cap { padding: 60px 24px 20px; font-size: 17px; }

  .slider__nav { width: 56px; height: 56px; margin-top: -28px; }
  .slider__nav--prev { left: 16px; }
  .slider__nav--next { right: 16px; }

  .slider__count { top: 16px; right: 16px; font-size: 16px; }

  .slider__thumbs { gap: 10px; margin-top: 10px; }

  .license { grid-template-columns: repeat(2, 1fr); }
  .license__card:last-child { grid-column: 1 / -1; }

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

  .btn-group { grid-template-columns: repeat(2, 1fr); max-width: 640px; }

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

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

  .hero__brand { margin-bottom: 52px; }
  .hero__logo--main { width: min(306px, 63vw); }
  .hero__logo--sub { width: min(400px, 80vw); }

  .message { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
  .message__body { padding-top: 0; }

  .outline { table-layout: fixed; }

  .outline th,
  .outline td { display: table-cell; vertical-align: top; }

  .outline tr { border-bottom: 1px solid var(--line); }
  .outline tr:first-child { border-top: 1px solid var(--line); }

  .outline th { width: 220px; padding: 20px 24px; background: var(--bg-alt); border-left: 0; white-space: nowrap; }

  .outline td { padding: 20px 24px; }

  .history { padding-left: 24px; }

  .history li { display: grid; grid-template-columns: 150px 1fr; gap: 16px; }

  .history li::before { left: -24px; top: 12px; }

  .pagetop {
    right: 24px;
    bottom: 24px;
    width: 56px;
    height: 56px;
  }

  .fixed-cta { display: none; }

  .footer__inner { grid-template-columns: 1fr auto; gap: 40px; align-items: start; }

  .footer__nav ul { justify-content: flex-end; }
}

/* ---------- desktop ---------- */
@media (min-width: 1024px) {
  :root { --header-h: 84px; }

  .header__inner { padding-inline: 32px; }

  .logo__img { height: 38px; max-width: 256px; }

  .drawer-toggle { display: none; }

  .nav {
    position: static;
    inset: auto;
    display: flex;
    align-items: center;
    gap: 24px;
    background: none;
    padding: 0;
    overflow: visible;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .nav__list { display: flex; align-items: center; gap: 4px; border-top: 0; }

  .nav__link {
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 8px 14px;
    color: var(--ink);
    border-bottom: 0;
    position: relative;
  }

  .header.is-transparent .nav__link { color: #fff; }

  .nav__ja { font-size: 14px; }
  .nav__en { font-size: 10px; letter-spacing: .14em; opacity: .9; }

  .nav__link::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 0;
    height: 2px;
    background: var(--main);
    transform: translateX(-50%);
    transition: width .3s var(--ease);
  }

  .nav__link:hover::after,
  .nav__link.is-active::after { width: calc(100% - 20px); }

  .nav__link:hover { color: var(--main); }
  .header.is-transparent .nav__link:hover { color: var(--main); }

  .nav__link--contact {
    background: var(--main);
    color: #fff !important;
    margin-left: 10px;
    padding: 10px 20px;
  }
  .nav__link--contact .nav__en { color: rgba(255, 255, 255, .85); }
  .nav__link--contact:hover { background: var(--main-dark); }
  .nav__link--contact::after { display: none; }

  .nav__contact { display: none; }

  .hero__inner { padding-bottom: 160px; }
  .hero__brand { margin-bottom: 64px; gap: 16px; }
  .hero__logo--main { width: min(378px, 32vw); }
  .hero__logo--sub { width: min(480px, 42vw); }
  .hero__copy { font-size: clamp(44px, 5vw, 64px); }
  .hero__lead { font-size: 16px; margin-top: 28px; }

  .section__head { display: grid; grid-template-columns: 320px 1fr; gap: 40px; align-items: end; margin-bottom: 56px; }
  .section__lead { margin-top: 0; padding-bottom: 6px; }
  .section__title { font-size: 38px; }

  .service-card { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
  .service-card:nth-child(even) .service-card__media { order: 2; }
  .service-card__body { padding-top: 0; }
  .service-card__media::after,
  .service-card__title-overlay { display: none; }
  .service-card__title {
    position: static;
    width: auto;
    height: auto;
    margin: 0 0 12px;
    padding: 0;
    overflow: visible;
    clip: auto;
    white-space: normal;
    font-size: 26px;
    font-weight: 700;
    line-height: 1.5;
  }

  .slide__cap { font-size: 19px; }

  .section--recruit { padding: 120px 0; }
  .recruit__catch { font-size: 30px; }
  .recruit__body { max-width: 900px; }

  .news-item { display: grid; grid-template-columns: 160px 1fr; gap: 20px; align-items: baseline; padding: 22px 8px; }
  .news-item__date { margin-bottom: 0; font-size: 15px; }
}

@media (min-width: 1024px) and (hover: hover) {
  .contact-card--mail:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(0, 0, 0, .07); }
  .contact-card { transition: transform .3s var(--ease), box-shadow .3s var(--ease), background-color .25s var(--ease), border-color .25s var(--ease); }
}
