/* ==========================================================================
   inthefog.co.jp — static rebuild of the STUDIO site
   Breakpoints follow the original: 1140px / 840px / 540px (max-width).
   ========================================================================== */

:root {
  --c-orange: #f68b1e;
  --c-yellow: #f1cd38;
  --c-text: #000;
  --c-sub: #575757;
  --c-mute: #acacac;
  --c-footer: #151515;
  --grad: linear-gradient(90deg, #f68b1e, #f1cd38);
  --grad-soft: linear-gradient(90deg, #f68b1e, rgba(241, 205, 56, .9));
  --font: Inter, 'Noto Sans JP', sans-serif;
  --ease: cubic-bezier(.4, .4, 0, 1);
  --ease-io: cubic-bezier(.445, .05, .55, .95);
  --wrap: min(1400px, calc(100% - 200px));
}

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

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

body {
  margin: 0;
  background: #fff;
  color: var(--c-text);
  font-family: var(--font);
  font-weight: 400;
  line-height: 1;
  word-spacing: 1px;
  -webkit-font-smoothing: antialiased;
}

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

:focus-visible { outline: 2px solid var(--c-orange); outline-offset: 3px; }
[tabindex="-1"]:focus { outline: none; }

.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }

html.is-menu-open { overflow: hidden; }

.page {
  position: relative;
  z-index: 0;
  overflow: hidden; /* fallback: Safari < 16 */
  overflow: clip;
  background: #fff;
}

.dot {
  flex: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--grad);
}

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- buttons (gradient pill with dot -> arrow on hover) ---------- */
.btn {
  position: relative;
  display: flex;
  flex: none;
  align-items: center;
  border-radius: 96px;
  background: var(--grad);
  color: #fff;
}
.btn__label { font-size: 16px; line-height: 1.4; }
.btn__icon {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
}
.btn__dot,
.news-item__dot,
.contact-band__dot {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: width .3s var(--ease), height .3s var(--ease);
}
.btn__dot { width: 6px; height: 6px; background: #fff; }
.btn__arrow,
.news-item__arrow,
.contact-band__arrow {
  flex: none;
  opacity: 0;
  transform: translate(-10px, 10px) rotate(-45deg);
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.btn__arrow { width: 18px; height: 18px; fill: url(#grad-brand); }

.btn--header { width: 160px; height: 50px; padding-left: 20px; }
.btn--lg { width: 220px; height: 60px; justify-content: center; }
.btn--menu { width: 220px; max-width: 100%; height: 50px; padding-left: 50px; }
.btn--menu .btn__label { font-size: 18px; }

@media (hover: hover) {
  .btn:hover .btn__dot { width: 26px; height: 26px; }
  .btn--lg:hover .btn__dot { width: 36px; height: 36px; }
  .btn:hover .btn__arrow,
  .news-item__in:hover .news-item__arrow,
  .contact-band:hover .contact-band__arrow {
    opacity: 1;
    transform: rotate(-45deg);
    transition-delay: .2s;
  }
}

/* ---------- header ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 30px 30px 0;
}
.site-header__logo { display: block; flex: none; width: 210px; height: 54px; }
.site-header__logo img { width: 100%; height: 100%; object-fit: cover; }

.gnav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0 30px;
  height: 60px;
  padding: 0 5px 0 30px;
  border-radius: 64px;
  background: rgba(255, 255, 255, .5);
  -webkit-backdrop-filter: brightness(120%) blur(60px);
  backdrop-filter: brightness(120%) blur(60px);
}
.gnav__link { position: relative; display: flex; flex-direction: column; }
.gnav__txt {
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  transition: opacity .3s var(--ease-io), transform .3s var(--ease-io);
}
.gnav__txt--hover {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transform: translateY(10px);
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
@media (hover: hover) {
  .gnav__link:hover .gnav__txt { opacity: 0; transform: translateY(-10px); }
  .gnav__link:hover .gnav__txt--hover { opacity: 1; transform: none; }
}

.menu-btn {
  display: none;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 70px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--grad-soft);
  cursor: pointer;
}
.menu-btn__lines { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; width: 30px; }
.menu-btn__lines span { display: block; width: 100%; height: 2px; background: #fff; }
.menu-btn__lines span:last-child { width: 70%; }

/* ---------- hero ---------- */
.hero {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  height: 100vh;
  height: 100dvh;
}
.hero__inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  max-width: calc(100% - 140px);
  margin: 0 0 140px 140px;
}
.hero__label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 20px;
  letter-spacing: .05em;
  line-height: 1.4;
}
.hero__label .dot { margin-bottom: 1px; }
.hero__title { margin-top: 20px; font-size: 60px; font-weight: 600; line-height: 1.4; }
.hero__sub { color: var(--c-sub); font-size: 20px; letter-spacing: .05em; line-height: 1; }

/* ---------- mission ---------- */
.mission {
  padding: 120px 0 270px;
  border-radius: 140px 0 0 0;
  background: var(--grad-soft);
}
.mission__inner { width: min(1400px, calc(100% - 280px)); margin-inline: auto; }
.mission__text { color: #fff; font-size: 24px; font-weight: 500; line-height: 2.2; }

/* ---------- shared section parts ---------- */
.service__inner,
.value__inner,
.company__inner,
.recruit__inner,
.news__inner { width: var(--wrap); margin-inline: auto; }

.sec-head { display: flex; flex-direction: column; gap: 20px; width: 100%; }
.sec-head__line { display: block; width: 100%; height: 1px; background: #000; }
.sec-head__title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 20px;
  letter-spacing: .05em;
  line-height: 1;
}
.sec-head__title .dot { margin-top: 1px; }

/* ---------- service ---------- */
.service {
  position: relative;
  margin-top: -140px;
  padding: 150px 0 80px;
  border-radius: 0 140px 0 0;
  background: #fff;
}
.service__body {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 40px 80px;
  margin-top: 60px;
}
.service__lead { flex: none; width: 260px; max-width: 100%; }
.service__lead p { font-size: 16px; line-height: 1.8; }
.service__list { flex: 1; min-width: 0; margin-top: 8px; border-top: 1px solid var(--c-mute); }

.service-card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px 30px;
  padding: 30px 0;
  border-bottom: 1px solid var(--c-mute);
}
.service-card__img {
  flex: none;
  width: 200px;
  max-width: 100%;
  height: 140px;
  overflow: hidden;
  border-radius: 8px;
}
.service-card__img img { width: 100%; height: 100%; object-fit: cover; }
.service-card__body {
  display: flex;
  flex: 1;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 40px;
  min-width: 0;
}
.service-card__head { display: flex; flex: none; flex-direction: column; gap: 4px; width: 220px; max-width: 100%; }
.service-card__title { font-size: 24px; font-weight: 500; letter-spacing: .05em; line-height: 1.4; }
.service-card__en { color: var(--c-mute); font-size: 14px; letter-spacing: .05em; line-height: 1.4; }
.service-card__desc { flex: 1 1 200px; font-size: 15px; line-height: 1.8; }

/* ---------- value ---------- */
.value {
  position: relative;
  z-index: 1;
  padding: 140px 0;
  border-radius: 0 0 0 140px;
  background: #fff;
}
.value__inner { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 0 80px; }
.value__main { display: flex; flex: 1; flex-direction: column; gap: 60px; }
.value__list { display: flex; flex-wrap: wrap; gap: 60px 50px; }
.value-item {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: center;
  width: calc(50% - 25px);
}
.value-item__in { display: flex; flex-direction: column; }
.value-item__label {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 20px;
  font-size: 14px;
  line-height: 1;
}
.value-item__line { flex: none; width: 30px; height: 1px; background: var(--grad); }
.value-item__num { font-size: 16px; }
.value-item__title { margin-bottom: 14px; font-size: 20px; line-height: 1.4; }
.value-item__text { font-size: 15px; line-height: 1.8; }
.value__copy {
  margin-top: -80px;
  font-size: 36px;
  line-height: 1.6;
  writing-mode: vertical-rl;
}

/* ---------- company ---------- */
.company {
  position: relative;
  margin-top: -140px;
  padding: 140px 0;
  background: rgba(244, 246, 246, .8);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
}
.company__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: flex-end;
  padding-top: 140px;
}
.company__table { width: calc(60% - 48px); margin-top: 40px; }
.company__list { display: flex; flex-direction: column; gap: 14px; }
.company__row {
  display: flex;
  align-items: flex-start;
  padding-bottom: 14px;
  border-bottom: 1px solid #ccc;
}
.company__row dt {
  flex: none;
  width: 150px;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: .05em;
  line-height: 1.4;
}
.company__row dd { flex: 1; min-width: 0; font-size: 16px; line-height: 1.4; }

/* ---------- recruit ---------- */
.recruit {
  position: relative;
  z-index: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.recruit__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px 80px;
  padding-top: 140px;
}
.recruit__photos {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-end;
  overflow: hidden;
}
.recruit__photo1 { display: flex; flex-direction: column; align-items: flex-start; width: 100%; }
.recruit__photo1 img { width: 80%; border-radius: 12px; }
.recruit__photo2 { width: 40%; margin-top: -40px; overflow: hidden; border-radius: 12px; }
.recruit__photo2 img { width: 100%; }
.recruit__content { display: flex; flex-direction: column; gap: 40px; }
.recruit__text { display: flex; flex-direction: column; gap: 20px; max-width: 100%; }
.recruit__title { font-size: 40px; font-weight: 600; line-height: 1.4; }
.recruit__desc { width: 410px; max-width: 100%; font-size: 16px; line-height: 1.8; }
.recruit__cta { display: flex; width: 100%; }

/* ---------- marquees ---------- */
.marquee { display: flex; flex: none; overflow: hidden; }
.marquee__track { display: flex; flex: none; }
@media (prefers-reduced-motion: no-preference) {
  .marquee--hiring .marquee__track { animation: marquee-left 80s linear -16s infinite; }
  .marquee--contact .marquee__track { animation: marquee-right 80s linear -13s infinite; }
}
@keyframes marquee-left { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes marquee-right { from { transform: translateX(-50%); } to { transform: translateX(0); } }

.marquee--hiring {
  position: relative;
  z-index: -1;
  width: 120vw;
  margin-top: -100px;
}
.marquee__item {
  flex: none;
  padding: 0 30px;
  color: #f4f6f6;
  font-size: 10vw;
  font-weight: 200;
  line-height: 1.4;
  white-space: nowrap;
}

/* ---------- news ---------- */
.news { position: relative; padding: 140px 0; }
.news__inner { display: flex; flex-direction: column; align-items: flex-end; }
.news__box { display: flex; flex-direction: column; gap: 50px; width: 800px; max-width: 100%; }
.news__list { display: flex; flex-direction: column; gap: 14px; }
.news-item { padding-bottom: 14px; border-bottom: 1px dotted var(--c-mute); }
.news-item__in { display: flex; align-items: center; gap: 0 10px; }
.news-item__body { display: flex; flex: 1; flex-direction: column; gap: 6px; min-width: 0; }
.news-item__date { color: var(--c-sub); font-size: 14px; line-height: 1.4; }
.news-item__text { font-size: 16px; line-height: 1.6; }
.news-item__icon {
  position: relative;
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 50px;
}
.news-item__dot { width: 6px; height: 6px; background: var(--c-orange); }
.news-item__arrow { width: 18px; height: 18px; fill: #fff; }
@media (hover: hover) {
  .news-item__in:hover .news-item__dot { width: 36px; height: 36px; }
}

/* ---------- contact band ---------- */
.contact-band {
  position: relative;
  z-index: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 80px 0;
  background: linear-gradient(45deg, rgba(246, 139, 30, .8) 30%, #f1cd38 100%);
  -webkit-backdrop-filter: brightness(90%) saturate(140%) blur(20px);
  backdrop-filter: brightness(90%) saturate(140%) blur(20px);
  color: #fff;
}
.marquee--contact { width: 120vw; }
.contact-band__item {
  display: flex;
  flex: none;
  align-items: center;
  gap: 40px;
  padding: 0 30px;
}
.contact-band__txt { font-size: 10vw; font-weight: 200; line-height: 1; white-space: nowrap; }
.contact-band__icon {
  position: relative;
  display: flex;
  flex: none;
  align-items: center;
  align-self: stretch;
  justify-content: center;
  width: 100px;
}
.contact-band__dot { width: 20px; height: 20px; background: #fff; }
.contact-band__arrow { width: 32px; height: 32px; fill: url(#grad-brand); }
@media (hover: hover) {
  .contact-band:hover .contact-band__dot { width: 80px; height: 80px; }
}

/* ---------- footer ---------- */
.site-footer { position: relative; padding: 100px; }
.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
}
.site-footer__info { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.site-footer__logo {
  position: relative;
  z-index: 4;
  display: block;
  width: 260px;
  max-width: 100%;
  height: 46px;
  margin-bottom: 20px;
  transition: opacity .3s var(--ease);
}
.site-footer__logo img { width: 100%; height: 100%; object-fit: cover; }
.site-footer__name { color: var(--c-footer); font-size: 16px; letter-spacing: .05em; line-height: 1.4; }
.site-footer__addr {
  margin-top: 10px;
  color: var(--c-footer);
  font-size: 13px;
  letter-spacing: .05em;
  line-height: 1.4;
}
.site-footer__link { color: var(--c-orange); font-size: 20px; line-height: 1.4; transition: opacity .3s var(--ease); }
.site-footer__copy { font-size: 10px; font-weight: 300; line-height: 1.4; text-align: center; }
.site-footer__copy small { font-size: inherit; }
@media (hover: hover) {
  .site-footer__logo:hover,
  .site-footer__link:hover { opacity: .7; }
}

.to-top {
  position: absolute;
  top: -30px;
  right: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.to-top__circle {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #000;
}
.to-top__arrow {
  width: 24px;
  height: 24px;
  fill: #fff;
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.to-top__arrow--next {
  position: absolute;
  top: 50%;
  left: 50%;
  margin: -12px 0 0 -12px;
  opacity: 0;
  transform: translateY(10px);
}
.to-top__label { font-size: 14px; line-height: 1; }
@media (hover: hover) {
  .to-top:hover .to-top__arrow { opacity: 0; }
  .to-top:hover .to-top__arrow--next { opacity: 1; transform: none; transition-delay: .1s; }
}

/* ---------- background circles (Lottie) ---------- */
.bg-circles {
  position: fixed;
  top: 0;
  left: 0;
  z-index: -1;
  width: 100%;
  height: 100vh;
  overflow: hidden; /* fallback: Safari < 16 */
  pointer-events: none;
}
/* Clip sideways only, so the circles may extend below the first screen like the original. */
@supports (overflow: clip) {
  .bg-circles { overflow: visible; overflow-x: clip; }
}
.bg-circles__a {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
}
.bg-circles__b {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-end;
  width: 100vw;
}
.bg-circles__lottie { flex: none; }
.bg-circles__lottie--a { width: 1000px; max-width: 100%; height: 1000px; transform: translate(-380px, -500px); }
.bg-circles__lottie--b { width: 100vw; max-width: 100vw; height: 120vh; transform: translate(300px, 200px); }

/* ---------- menu (dialog) ---------- */
.menu {
  position: fixed;
  inset: 0;
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  margin: 0;
  padding: 0;
  overflow: visible;
  border: 0;
  background: transparent;
}
.menu[open] { display: flex; }
.menu::backdrop { background: rgba(0, 0, 0, .16); }
.menu__frame,
.menu__close {
  opacity: 0;
  transform: translateY(-100px);
  transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.menu.is-open .menu__frame,
.menu.is-open .menu__close { opacity: 1; transform: none; }
.menu__frame {
  width: 100%;
  height: 100%;
  padding: 30px;
  background: linear-gradient(45deg, rgba(246, 139, 30, .9), #f1cd38);
}
.menu__panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  height: 100%;
  padding: 80px;
  overflow-y: auto;
  border-radius: 16px;
  background: #fff;
}
.menu__nav { display: flex; flex-direction: column; width: 100%; }
.menu__group { display: flex; flex-direction: column; gap: 20px; }
.menu__group--sub { margin-top: 20px; }
.menu__link {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-bottom: 20px;
  border-bottom: 1px solid #e3e3e3;
}
.menu__en {
  margin-bottom: 4px;
  font-size: 32px;
  font-weight: 500;
  letter-spacing: .05em;
  line-height: 1.1;
}
.menu__ja { font-size: 14px; font-weight: 500; letter-spacing: .05em; line-height: 1.1; }
.menu__cta { display: flex; justify-content: center; width: 100%; }
.menu__close {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100px;
  height: 100px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #000;
  cursor: pointer;
}
.menu__close svg { width: 34px; height: 34px; fill: none; stroke: #fff; stroke-width: 1.5; }
@media (hover: hover) {
  .menu__close:hover { background: #888; }
}

/* ---------- 404 ---------- */
.notfound {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 24px;
  min-height: 70vh;
  padding: 160px 100px 80px;
}
.notfound__title { font-size: 40px; font-weight: 700; line-height: 1.4; }
.notfound__text { font-size: 16px; line-height: 1.8; }
@media (max-width: 840px) { .notfound { padding: 160px 60px 80px; } }
@media (max-width: 540px) {
  .notfound { padding: 140px 30px 60px; }
  .notfound__title { font-size: 28px; font-weight: 400; }
  .notfound__text { font-size: 15px; }
}

/* ---------- scroll reveal (only when JS runs and motion is allowed) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] {
    opacity: 0;
    transform: translateY(var(--reveal-y, 10px));
    transition: opacity .6s var(--ease-io), transform .6s var(--ease-io);
    transition-delay: var(--reveal-delay, 0s);
  }
  .js [data-reveal="fade"] { transform: none; }
  .js [data-reveal="head"] { opacity: 1; transform: none; }
  .js [data-reveal="head"] .sec-head__line {
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform .6s var(--ease-io) .1s;
  }
  .js [data-reveal="head"] .sec-head__title { opacity: 0; transition: opacity .6s var(--ease-io) .2s; }
  .js [data-reveal].is-revealed { opacity: 1; transform: none; }
  .js [data-reveal].is-revealed .sec-head__line { transform: none; }
  .js [data-reveal].is-revealed .sec-head__title { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .menu__frame,
  .menu__close { transition: none; }
}

/* ==========================================================================
   <= 1140px
   ========================================================================== */
@media (max-width: 1140px) {
  :root { --wrap: min(1400px, calc(100% - 120px)); }

  .gnav { gap: 0 20px; }
  .gnav__txt { font-size: 15px; font-weight: 400; }

  .hero__inner { max-width: calc(100% - 60px); margin: 0 0 80px 60px; }
  .hero__title { font-size: 48px; font-weight: 400; }

  .mission__inner { width: calc(100% - 120px); }

  .service__body { margin-top: 40px; }
  /* The original keeps the list beside the lead here and squeezes the
     description into a one-character column; give it the full row instead. */
  .service__list { flex: 1 1 100%; }
  .service-card__head { width: 180px; }

  .value__copy { font-size: 28px; }

  .company__inner { flex-direction: column; justify-content: flex-start; }
  .company__table { width: calc(80% - 24px); }
}

/* ==========================================================================
   <= 840px
   ========================================================================== */
@media (max-width: 840px) {
  .site-header { padding: 30px 24px 0 30px; }
  .gnav { display: none; }
  .menu-btn { display: flex; }

  .service-card__img { height: 180px; }
  .service-card__head { width: 100%; margin-bottom: 20px; }

  .value__inner { gap: 0 50px; }
  .value-item { width: 100%; }
  .value-item__in { flex: 1; }

  .company__table { width: 100%; margin-top: 60px; }
  .company__row dt { font-weight: 400; }

  .recruit__content { width: 100%; }

  .marquee__item,
  .contact-band__txt { font-size: 14vw; }

  .site-footer { padding: 100px 60px; }

  .bg-circles__lottie--a { transform: translate(-420px, -460px); }
  .bg-circles__b { width: 120%; height: 120%; bottom: auto; }
  .bg-circles__lottie--b { transform: translate(200px, 50px); }
}

/* ==========================================================================
   <= 540px
   ========================================================================== */
@media (max-width: 540px) {
  :root { --wrap: calc(100% - 60px); }

  .site-header { padding: 20px 20px 0; }
  .site-header__logo { width: 190px; }
  .menu-btn {
    width: 50px;
    height: 50px;
    background: linear-gradient(45deg, rgba(246, 139, 30, .9) 0%, #f1cd38 100%);
  }
  .menu-btn__lines { gap: 6px; width: 20px; }
  .menu-btn__lines span { height: 1px; }

  .hero { justify-content: center; }
  .hero__inner { gap: 14px; margin: 80px 30px 0; }
  .hero__label { font-size: 14px; }
  .hero__title { font-size: 34px; }
  .hero__sub { font-size: 18px; }

  .mission { padding: 80px 0 120px; border-radius: 60px 0 0 0; }
  .mission__inner { width: calc(100% - 60px); }
  .mission__text { font-size: 16px; font-weight: 400; }

  .sec-head__title { font-size: 18px; }

  .service { margin-top: -60px; padding: 100px 0 0; border-radius: 0 60px 0 0; }
  .service__lead p { font-size: 15px; }
  .service-card__img { width: 100%; }
  .service-card__title { font-size: 22px; font-weight: 400; }

  .value { padding: 120px 0 80px; border-radius: 0 0 0 60px; }
  .value__inner { gap: 0 30px; }
  .value-item__label { font-size: 12px; }
  .value-item__text { font-size: 14px; }
  .value__copy { margin-top: -40px; font-size: 20px; }

  .company { margin-top: -60px; padding: 60px 0 80px; }
  .company__inner { padding-top: 80px; }
  .company__row dt { width: 68px; font-size: 14px; letter-spacing: normal; }
  .company__row dd { font-size: 14px; letter-spacing: .05em; }

  .recruit__inner { gap: 30px 80px; padding-top: 80px; }
  .recruit__photo1 img { width: 85%; border-radius: 8px; }
  .recruit__photo2 { width: 45%; margin-top: -20px; border-radius: 8px; }
  .recruit__content { align-items: center; }
  .recruit__title { font-size: 28px; font-weight: 400; }
  .recruit__desc { font-size: 15px; }
  .recruit__cta { justify-content: center; }
  .btn--lg { height: 50px; }

  .marquee--hiring { width: 140vw; margin-top: -40px; transform: translateX(-20px); }
  .marquee__item { font-size: 18vw; }

  .news { padding: 80px 0; }
  .news-item__date { font-size: 12px; }
  .news-item__text { font-size: 15px; }
  .news-item__icon { width: 40px; }

  .contact-band { margin-top: 40px; padding: 50px 0; }
  .marquee--contact { width: 140vw; }
  .contact-band__item { gap: 20px; }
  .contact-band__icon { width: auto; }
  .contact-band__dot { width: 10px; height: 10px; }
  .contact-band__arrow { width: 20px; height: 20px; }

  .site-footer { padding: 80px 30px; }
  .site-footer__inner { flex-direction: column; align-items: center; }
  .site-footer__info { align-items: center; }
  .site-footer__logo { width: 220px; }
  .site-footer__name { font-size: 14px; }
  .site-footer__addr { font-size: 12px; text-align: center; }
  .site-footer__copy { font-size: 11px; }

  .to-top { top: -24px; right: 20px; align-items: flex-end; gap: 6px; }
  .to-top__circle { width: 50px; height: 50px; }
  .to-top__label { align-self: center; font-size: 12px; }

  .bg-circles__a { align-items: center; width: 150vw; height: 150vh; height: 150dvh; }
  .bg-circles__lottie--a { width: 1300px; height: 1300px; transform: translate(-240px, -680px); }
  .bg-circles__b { width: 140%; height: 140%; }
  .bg-circles__lottie--b { width: 140vw; max-width: 140vw; transform: translate(80px, -80px); }

  .menu__frame { padding: 14px; }
  .menu__panel { padding: 60px 40px; }
  .menu__group { gap: 14px; }
  .menu__group--sub { margin-top: 14px; }
  .menu__link {
    flex-direction: row;
    align-items: center;
    padding-bottom: 14px;
    border-bottom-color: #d5dddd;
  }
  .menu__en { margin: 0 10px 0 0; font-size: 24px; }
  .menu__ja { font-size: 12px; font-weight: 400; }
  .menu__close { top: 10px; right: 10px; width: 60px; height: 60px; }
  .menu__close svg { width: 24px; height: 24px; }

  @media (hover: hover) {
    .contact-band:hover .contact-band__dot { width: 50px; height: 50px; }
  }
}
