@charset "UTF-8";
/* ============================================================
   WOLFHOUND Inc. — sample corporate site
   Original stylesheet written for this sample project.
   Layout/interaction patterns benchmark a typical SES corporate
   site; all code, copy and artwork in this repo are original.
   ============================================================ */

/* ---------- tokens ---------- */
:root {
  --ink: #202020;
  --ink-soft: #514e4e;
  --paper: #f2f1f1;
  --gray: #eaeaea;
  --gray-d: #c9c9c9;
  --orange: #ff7a1a;
  --orange-d: #e85f0a;
  --white: #fff;
  --font-ja: "Yu Gothic", "游ゴシック体", YuGothic, "Hiragino Kaku Gothic ProN",
    "Hiragino Sans", "メイリオ", sans-serif;
  --font-en: "Jost", "Avenir Next", "Futura", sans-serif;
  --font-min: "BIZ UDPMincho", "Hiragino Mincho ProN", serif;
  --header-h: 70px;
}

/* ---------- reset / base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: auto;
}
body {
  font-family: var(--font-ja);
  color: var(--ink);
  background: var(--white);
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: 0.04em;
  -webkit-font-smoothing: antialiased;
}
img,
svg,
video {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}
a {
  color: inherit;
  text-decoration: none;
}
ul,
ol {
  list-style: none;
}
button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
}
::selection {
  background: var(--orange);
  color: #fff;
}

/* ---------- layout utils ---------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 24px;
}
.pc-only {
  display: block;
}
.sp-only {
  display: none;
}
@media (max-width: 991px) {
  .pc-only {
    display: none;
  }
  .sp-only {
    display: block;
  }
}

/* section title: huge EN label + ja sub */
.sec__title {
  margin-bottom: 48px;
}
.sec__title .en {
  display: block;
  font-family: var(--font-en);
  font-size: clamp(48px, 7vw, 96px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.06em;
}
.sec__title .ja {
  display: inline-block;
  margin-top: 14px;
  font-size: 15px;
  font-weight: 700;
  padding-left: 44px;
  position: relative;
}
.sec__title .ja::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 32px;
  height: 2px;
  background: var(--orange);
}
.sec__title.white {
  color: #fff;
}

/* arrow text link */
.link__more {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-en);
  font-size: 14px;
  letter-spacing: 0.18em;
  font-weight: 500;
  position: relative;
  padding-bottom: 6px;
}
.link__more::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform-origin: right;
  transition: transform 0.4s;
}
.link__more:hover::after {
  transform: scaleX(0.3);
}
.link__more .arrow {
  width: 34px;
  height: 8px;
  position: relative;
}
.link__more .arrow::before {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 1px;
  background: currentColor;
}
.link__more .arrow::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 9px;
  height: 9px;
  border-top: 1px solid currentColor;
  transform: skewX(45deg) translateY(-1px);
}

/* solid button */
.btn {
  display: inline-block;
  background: var(--ink);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.1em;
  padding: 18px 56px;
  border-radius: 999px;
  position: relative;
  overflow: hidden;
  transition: 0.3s;
}
.btn::after {
  content: "→";
  margin-left: 12px;
  font-family: var(--font-en);
}
.btn:hover {
  background: var(--orange);
}
.btn.orange {
  background: var(--orange);
}
.btn.orange:hover {
  background: var(--orange-d);
}
.btn.line {
  background: transparent;
  border: 1px solid currentColor;
}
.btn.line:hover {
  background: rgba(255, 255, 255, 0.16);
}

/* scroll reveal */
.move__target {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 1s ease, transform 1s ease;
}
.move__target.e-v {
  opacity: 1;
  transform: translateY(0);
}
.move__target.delay-1 {
  transition-delay: 0.15s;
}
.move__target.delay-2 {
  transition-delay: 0.3s;
}
.move__target.delay-3 {
  transition-delay: 0.45s;
}

/* ============================================================
   header (PC) — fixed top / hidden at page top on home /
   slides away on scroll down, returns on scroll up
   ============================================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: #fff;
  box-shadow: 0 1px 0 rgba(32, 32, 32, 0.06);
  transform: translateY(0);
  transition: transform 0.4s, opacity 0.4s;
}
body.is-down .header {
  transform: translateY(-100%);
  transition: transform 0.2s;
}
body.is-top.home .header {
  opacity: 0;
  pointer-events: none;
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  padding-inline: 28px;
}
.header .logo img {
  height: 26px;
  width: auto;
  display: block;
}
.gnav__list {
  display: flex;
  align-items: center;
}
.gnav__item {
  position: relative;
}
.gnav__item > a {
  display: block;
  height: var(--header-h);
  line-height: var(--header-h);
  padding: 0 20px;
  font-size: 14.5px;
  font-weight: 700;
  position: relative;
  transition: color 0.2s;
}
.gnav__item > a:hover {
  color: var(--orange);
}
.gnav__item > a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 14px;
  margin: auto;
  width: 24px;
  height: 2px;
  background: var(--orange);
}
.gnav__item.contact > a {
  background: var(--ink);
  color: #fff;
  padding: 0 30px;
}
@media (max-width: 1199px) {
  .header__inner {
    padding-inline: 16px;
  }
  .header .logo img {
    height: 20px;
  }
  .gnav__item > a {
    padding: 0 10px;
    font-size: 13px;
  }
  .gnav__item.contact > a {
    padding: 0 18px;
  }
}
.gnav__item.contact > a:hover {
  background: var(--orange);
  color: #fff;
}
/* dropdown (会社案内) */
.gnav__child-wrap {
  position: fixed;
  left: 0;
  top: var(--header-h);
  width: 100%;
  background: #fff;
  padding: 34px 0;
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
  box-shadow: 0 24px 40px rgba(0, 0, 0, 0.08);
}
.gnav__item:hover .gnav__child-wrap,
.gnav__child-wrap.open {
  opacity: 1;
  visibility: visible;
}
.gnav__child-list {
  display: flex;
  justify-content: center;
  gap: 48px;
}
.gnav__child-item a {
  display: block;
  text-align: center;
}
.gnav__child-item .en {
  display: block;
  font-family: var(--font-en);
  font-size: 13px;
  letter-spacing: 0.2em;
  color: var(--orange);
}
.gnav__child-item .ja {
  font-size: 15px;
  font-weight: 700;
}
.gnav__child-item a:hover .ja {
  color: var(--orange);
}

/* ============================================================
   header (SP) — bar fixed to the bottom of the screen
   ============================================================ */
.header__sp {
  display: none;
}
@media (max-width: 991px) {
  .header {
    display: none;
  }
  .header__sp {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 60px;
    z-index: 100;
    background: rgba(32, 32, 32, 0.94);
    padding: 0 6px 0 18px;
  }
  .header__sp .logo img {
    height: 20px;
    width: auto;
  }
  .gnav__sp-open {
    width: 60px;
    height: 60px;
    display: grid;
    place-items: center;
  }
  .gnav__sp-open span,
  .gnav__sp-open span::before,
  .gnav__sp-open span::after {
    display: block;
    width: 26px;
    height: 2px;
    background: #fff;
    position: relative;
    transition: 0.3s;
  }
  .gnav__sp-open span::before,
  .gnav__sp-open span::after {
    content: "";
    position: absolute;
  }
  .gnav__sp-open span::before {
    top: -8px;
  }
  .gnav__sp-open span::after {
    top: 8px;
  }
}
/* fullscreen SP menu */
.gnav__sp {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(24, 24, 24, 0.97);
  color: #fff;
  flex-direction: column;
  justify-content: center;
  padding: 60px 36px;
  overflow-y: auto;
}
.gnav__sp .logo {
  margin-bottom: 36px;
}
.gnav__sp .logo img {
  height: 22px;
  width: auto;
}
.gnav__sp-list {
  display: grid;
  gap: 4px;
}
.gnav__sp-item a {
  display: block;
  padding: 12px 0;
  font-size: 18px;
  font-weight: 700;
}
.gnav__sp-item .en {
  display: block;
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--orange);
  font-weight: 400;
}
.gnav__sp-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
}
.gnav__sp-close::before,
.gnav__sp-close::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 30px;
  height: 2px;
  background: #fff;
  transform: rotate(45deg);
}
.gnav__sp-close::after {
  transform: rotate(-45deg);
}

/* ============================================================
   page decoration — fixed side "SCROLL" indicator
   ============================================================ */
.page__decoration {
  position: fixed;
  inset: 0;
  height: 100vh;
  z-index: 60;
  pointer-events: none;
}
.page__decoration .scroll {
  position: absolute;
  right: 34px;
  bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  opacity: 0;
  transition: opacity 0.6s;
}
.page__decoration .scroll.show {
  opacity: 1;
}
.page__decoration .scroll .txt {
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 0.34em;
  writing-mode: vertical-rl;
  color: currentColor;
}
.page__decoration .scroll .bar {
  width: 1px;
  height: 88px;
  background: rgba(32, 32, 32, 0.25);
  overflow: hidden;
  position: relative;
}
.page__decoration .scroll .bar::after {
  content: "";
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--orange);
  animation: scrollline 2s ease-in-out infinite;
}
@keyframes scrollline {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(200%);
  }
}
@media (max-width: 991px) {
  .page__decoration .scroll {
    right: 16px;
    bottom: 70px;
  }
}

/* ============================================================
   mainvisual
   ============================================================ */
.mainvisual {
  height: 100vh;
  min-height: 600px;
  background: var(--paper);
  overflow: hidden;
  position: relative;
}
.mainvisual .container {
  height: 100%;
  position: relative;
  max-width: 1320px;
}
.mainvisual__inner {
  height: 100%;
  position: relative;
}
.mainvisual__catch {
  position: absolute;
  left: 0;
  top: 22vh;
  z-index: 10;
  color: #fff;
}
.mainvisual__catch .en {
  font-family: var(--font-en);
  font-weight: 400;
  font-size: clamp(44px, 9vw, 132px);
  line-height: 1.04;
  background: rgba(32, 32, 32, 0.82);
  padding: 0.06em 0.18em;
  display: inline-block;
  position: relative;
  overflow: hidden;
}
.mainvisual__catch .en::after {
  content: "";
  position: absolute;
  inset: 0;
  background: #fff;
  animation: catchsweep 1.4s ease-in-out 1s 1 both;
}
@keyframes catchsweep {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(101%);
  }
}
.mainvisual__catch .ja {
  margin-top: 22px;
  font-family: var(--font-min);
  font-size: clamp(15px, 1.6vw, 22px);
  letter-spacing: 0.14em;
  color: var(--ink);
  opacity: 0;
  animation: fadein 1.2s ease 2.2s 1 both;
}
@keyframes fadein {
  to {
    opacity: 1;
  }
}
.mainvisual__img {
  position: absolute;
  right: -92px;
  bottom: 40px;
  width: min(72%, 980px);
  height: calc(100% - 140px);
  overflow: hidden;
}
.mainvisual .slide__wrap,
.mainvisual .slide__wrap-sp,
.mainvisual .slide__list,
.mainvisual .slide__item,
.mainvisual .slide__item-img {
  height: 100%;
}
.mainvisual .slide__item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.mainvisual .slide__wrap-sp {
  display: none;
}
/* ken burns on the active slide */
.mainvisual .swiper-slide-active .slide__item-img img,
.mainvisual .swiper-slide-duplicate-active .slide__item-img img,
.mainvisual .swiper-slide-prev .slide__item-img img {
  animation: zoomup 10s linear 0s 1 both;
}
@keyframes zoomup {
  0% {
    transform: scale(1.06);
  }
  100% {
    transform: scale(1.2);
  }
}
@media (max-width: 991px) {
  .mainvisual__catch {
    top: 14vh;
  }
  .mainvisual__img {
    right: -24px;
    width: 88%;
    height: calc(100% - 200px);
    bottom: 80px;
  }
  .mainvisual .slide__wrap {
    display: none;
  }
  .mainvisual .slide__wrap-sp {
    display: block;
  }
}

/* ============================================================
   message — fullscreen dark reveal
   ============================================================ */
.message__section {
  height: 100vh;
  min-height: 640px;
  overflow: hidden;
  display: flex;
  align-items: center;
  background-color: #dedddd;
  background-image: url("../images/bg_message.svg");
  background-size: cover;
  background-position: center;
  background-blend-mode: overlay;
  transition: background-color 0.6s;
  position: relative;
}
.message__section.show {
  background-color: var(--ink-soft);
}
.message__label {
  position: absolute;
  right: 40px;
  bottom: 36px;
  text-align: right;
  color: #fff;
  opacity: 0;
  transition: opacity 0.8s;
}
.message__section.show.step1 .message__label {
  opacity: 1;
}
.message__label .ja {
  font-size: 13px;
  font-weight: 700;
}
.message__label .en {
  font-family: var(--font-en);
  font-size: 44px;
  line-height: 1;
  letter-spacing: 0.12em;
}
.message__inner {
  color: #fff;
  opacity: 0;
  transition: opacity 0.8s;
  max-width: 860px;
}
.message__section.show.step1 .message__inner {
  opacity: 1;
}
.message__title {
  font-family: var(--font-min);
  font-size: clamp(26px, 3.6vw, 48px);
  letter-spacing: 0.1em;
  line-height: 1.6;
  margin-bottom: 36px;
}
.message__summary {
  font-size: 15.5px;
  line-height: 2.3;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s, transform 0.8s;
}
.message__section.show.step2 .message__summary {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   division — three businesses, hover expands photo
   ============================================================ */
.division__section {
  padding: 120px 0;
  background: var(--paper);
}
.division__main {
  position: relative;
  margin-bottom: 40px;
}
.division__list {
  display: flex;
}
.division__item {
  width: 33.3333%;
  min-height: 480px;
  position: relative;
  overflow: hidden;
  background: #fff;
  outline: 1px solid var(--gray);
  display: flex;
  flex-direction: column;
}
.division__body {
  position: relative;
  z-index: 2;
  padding: 44px 36px 260px;
  transition: color 0.4s;
}
.division__item .name {
  margin-bottom: 18px;
}
.division__item .name .en {
  display: block;
  font-family: var(--font-en);
  font-size: 34px;
  line-height: 1.1;
  letter-spacing: 0.04em;
}
.division__item .name .ja {
  font-size: 14px;
  font-weight: 700;
  color: var(--orange);
}
.division__item .text {
  font-size: 14px;
  line-height: 2.1;
  margin-bottom: 22px;
}
.division__item .link__more {
  font-size: 12px;
}
/* photo window pinned to the bottom; grows to full height on hover */
.division__item .img {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 216px;
  z-index: 1;
  transition: height 0.6s cubic-bezier(0.25, 0.6, 0.3, 1);
  overflow: hidden;
}
.division__item .img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(20, 20, 20, 0);
  transition: background 0.5s;
}
.division__item .img img {
  width: 300%;
  max-width: none;
  height: 100%;
  object-fit: cover;
  display: block;
}
.division__item:nth-child(2) .img img {
  transform: translateX(-33.3333%);
}
.division__item:nth-child(3) .img img {
  transform: translateX(-66.6666%);
}
@media (min-width: 768px) {
  .division__item:hover .img {
    height: 100%;
  }
  .division__item:hover .img::after {
    background: rgba(20, 20, 20, 0.55);
  }
  .division__item:hover .division__body {
    color: #fff;
  }
  .division__item:hover .name .ja {
    color: #ffb27a;
  }
}
.division__foot {
  text-align: right;
}
@media (max-width: 767px) {
  .division__section {
    padding: 80px 0;
  }
  .division__list {
    flex-direction: column;
  }
  .division__item {
    width: 100%;
    min-height: 0;
  }
  .division__body {
    padding: 32px 24px 240px;
  }
}

/* ============================================================
   product — photo bg + dotted dark filter (diagonal clip)
   + live CSS-3D laptop mockup
   ============================================================ */
.product__section {
  padding-top: 120px;
  margin-bottom: 200px;
}
.product__scene {
  position: relative;
  padding: 110px 0 60px;
}
.product__scene-bg {
  position: absolute;
  inset: 0;
  background: #ccc url("../images/office_fukuoka.svg") center / cover no-repeat;
}
/* translucent ink + dot texture, cut on a diagonal like a film filter */
.product__scene-filter {
  position: absolute;
  inset: 0 auto 0 0;
  width: 67%;
  background-color: rgba(12, 9, 8, 0.78);
  background-image: radial-gradient(
    rgba(255, 255, 255, 0.13) 1px,
    transparent 1.5px
  );
  background-size: 7px 7px;
  -webkit-clip-path: polygon(0 0, 100% 0, 80% 100%, 0 100%);
  clip-path: polygon(0 0, 100% 0, 80% 100%, 0 100%);
}
.product__label {
  position: absolute;
  top: -0.55em;
  left: 0;
  right: 0;
  text-align: center;
  font-family: var(--font-en);
  font-size: clamp(56px, 8vw, 120px);
  line-height: 1;
  letter-spacing: 0.1em;
  color: #fff;
  mix-blend-mode: difference;
  z-index: 2;
  pointer-events: none;
}
.product__scene-inner {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 48px;
}
.product__copy {
  width: 44%;
  flex-shrink: 0;
  color: #fff;
}
.product__heading {
  font-family: var(--font-min);
  font-size: clamp(24px, 2.4vw, 34px);
  line-height: 1.8;
  letter-spacing: 0.08em;
  margin-bottom: 28px;
}
.product__heading .accent {
  color: var(--orange);
}
.product__text {
  font-size: 15px;
  margin-bottom: 36px;
  color: rgba(255, 255, 255, 0.88);
}

/* ---------- composited MacBook photo (built by tools/composite_macbook.py) ---------- */
.product__device {
  flex: 1;
  display: flex;
  justify-content: center;
  margin-bottom: -110px;
  animation: devicefloat 7s ease-in-out infinite alternate;
}
@keyframes devicefloat {
  from {
    translate: 0 0;
  }
  to {
    translate: 0 -12px;
  }
}
.product__device img {
  width: min(100%, 760px);
  height: auto;
  filter: drop-shadow(0 36px 44px rgba(0, 0, 0, 0.45));
}
@media (max-width: 991px) {
  .product__section {
    margin-bottom: 120px;
  }
  .product__scene {
    padding: 80px 0 40px;
  }
  .product__scene-filter {
    width: 100%;
    -webkit-clip-path: none;
    clip-path: none;
  }
  .product__scene-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .product__copy {
    width: 100%;
  }
  .product__device {
    width: 100%;
    margin-top: 30px;
    margin-bottom: -80px;
  }
}

/* ============================================================
   service
   ============================================================ */
.service__section {
  padding-top: 40px;
  margin-bottom: 200px;
}
.service__list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.service__item {
  background: #fff;
  border: 1px solid var(--gray);
  display: flex;
  flex-direction: column;
}
.service__item .img {
  overflow: hidden;
}
.service__item .img img {
  transition: transform 0.8s;
  display: block;
}
.service__item:hover .img img {
  transform: scale(1.06);
}
.service__item .body {
  padding: 34px 32px 40px;
}
.service__item .name {
  margin-bottom: 14px;
}
.service__item .name .en {
  display: block;
  font-family: var(--font-en);
  font-size: 13px;
  letter-spacing: 0.24em;
  color: var(--orange);
}
.service__item .name .ja {
  font-size: 22px;
  font-weight: 700;
}
.service__item .text {
  font-size: 14px;
  margin-bottom: 22px;
}
.service__foot {
  text-align: right;
}
@media (max-width: 767px) {
  .service__section {
    margin-bottom: 120px;
  }
  .service__list {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   works — overflowing card slider with progressbar
   ============================================================ */
.works__section {
  padding: 60px 0 80px;
  overflow: hidden;
  position: relative;
  background: var(--ink);
  color: #fff;
}
.works__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 44px;
}
.works__slider-wrap {
  position: relative;
  cursor: none;
}
.works__slider-wrap .swiper {
  overflow: visible;
}
.works__card {
  background: #2b2b2b;
  height: auto;
  display: flex;
  flex-direction: column;
}
.works__card .img {
  overflow: hidden;
}
.works__card .img img {
  display: block;
  width: 100%;
}
.works__card .body {
  padding: 26px 28px 34px;
}
.works__card .cat {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--orange);
  border: 1px solid var(--orange);
  padding: 2px 12px;
  margin-bottom: 14px;
}
.works__card .title {
  font-size: 19px;
  font-weight: 700;
  line-height: 1.6;
  margin-bottom: 12px;
}
.works__card .text {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 14px;
}
.works__card .role {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
}
.works__progress.swiper-pagination-progressbar {
  position: relative;
  margin-top: 40px;
  height: 2px;
  background: rgba(255, 255, 255, 0.2);
}
.works__progress .swiper-pagination-progressbar-fill {
  background: var(--orange);
}
.works__nav {
  display: flex;
  gap: 12px;
}
.works__nav button {
  width: 52px;
  height: 52px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  display: grid;
  place-items: center;
  transition: 0.3s;
  cursor: pointer;
}
.works__nav button:hover {
  border-color: var(--orange);
  background: var(--orange);
}
.works__nav button svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: #fff;
  stroke-width: 1.6;
}
.works__foot {
  margin-top: 44px;
  text-align: right;
}
/* mouse-follow cursor */
.cursor__wrap {
  position: relative;
}
.cursor__target {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 30;
  width: 96px;
  height: 96px;
  margin: -48px 0 0 -48px;
  border-radius: 50%;
  background: rgba(255, 122, 26, 0.92);
  color: #fff;
  display: grid;
  place-items: center;
  font-family: var(--font-en);
  font-size: 12px;
  letter-spacing: 0.22em;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
}
@media (max-width: 991px) {
  .works__slider-wrap {
    cursor: auto;
  }
  .cursor__target {
    display: none;
  }
}

/* ============================================================
   about — pinned background long-scroll section (PC)
   ============================================================ */
.about__section {
  position: relative;
  background: #f9f9f9;
  height: 5400px;
  color: #fff;
}
.about__bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.about__bg .layer {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.4s ease;
}
.about__bg .layer-1 {
  background-image: url("../images/bg_about1.svg");
  opacity: 1;
}
.about__bg .layer-2 {
  background-image: url("../images/bg_about2.svg");
}
.about__bg .layer-3 {
  background-image: url("../images/bg_about3.svg");
}
/* pinned mode: the bg sticks to the viewport */
.about__section.bg__fixed .about__bg {
  position: fixed;
  inset: 0;
  z-index: 1;
}
.about__section.bg__bottom .about__bg {
  position: absolute;
  top: auto;
  bottom: 0;
  height: 100vh;
}
.about__section.bg__1 .layer-2 {
  opacity: 1;
}
.about__section.bg__2 .layer-3 {
  opacity: 1;
}
.about__pin {
  position: sticky;
  top: 0;
  height: 100vh;
  display: grid;
  place-items: center;
  z-index: 2;
}
.about__item {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 0 24px;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s ease, transform 1s ease;
}
.about__item.is-show {
  opacity: 1;
  transform: translateY(0);
}
.about__item .sec__title {
  margin-bottom: 28px;
}
.about__item .catch {
  font-family: var(--font-min);
  font-size: clamp(26px, 3.4vw, 46px);
  letter-spacing: 0.12em;
  margin-bottom: 24px;
  line-height: 1.7;
}
.about__item .catch .quote {
  color: var(--orange);
}
.about__item .text {
  max-width: 720px;
  margin-inline: auto;
  font-size: 15px;
  line-height: 2.3;
  margin-bottom: 30px;
}
.about__progress {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 4px;
  z-index: 40;
  appearance: none;
  border: none;
  background: rgba(255, 255, 255, 0.18);
  opacity: 0;
  transition: opacity 0.4s;
  display: block;
}
.about__progress.show {
  opacity: 1;
}
.about__progress::-webkit-progress-bar {
  background: rgba(255, 255, 255, 0.18);
}
.about__progress::-webkit-progress-value {
  background: var(--orange);
}
.about__progress::-moz-progress-bar {
  background: var(--orange);
}
/* SP variant */
.about__section-sp {
  display: none;
  background: var(--ink-soft);
  color: #fff;
  padding: 90px 0 70px;
  overflow: hidden;
}
.about__sp-item {
  margin-bottom: 56px;
}
.about__sp-item .catch {
  font-family: var(--font-min);
  font-size: 24px;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
  line-height: 1.7;
}
.about__sp-item .catch .quote {
  color: var(--orange);
}
.about__sp-item .text {
  font-size: 14px;
}
.about__sp-slide {
  margin: 0 -24px 48px;
}
.about__sp-slide .swiper-slide img {
  display: block;
  width: 100%;
}
@media (max-width: 991px) {
  .about__section {
    display: none;
  }
  .about__section-sp {
    display: block;
  }
}

/* ============================================================
   news
   ============================================================ */
.news__section {
  background: var(--paper);
  padding: 120px 0;
  overflow: hidden;
}
.news__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 36px;
}
.news__list {
  border-top: 1px solid var(--gray-d);
}
.news__item a {
  display: flex;
  align-items: baseline;
  gap: 28px;
  padding: 30px 8px;
  border-bottom: 1px solid var(--gray-d);
  transition: background 0.3s;
  position: relative;
}
.news__item a:hover {
  background: #fff;
}
.news__item .date {
  font-family: var(--font-en);
  font-size: 14px;
  letter-spacing: 0.08em;
  color: var(--orange);
  white-space: nowrap;
}
.news__item .body {
  flex: 1;
  min-width: 0;
}
.news__item .title {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 6px;
}
.news__item .excerpt {
  font-size: 13.5px;
  color: #6b6b6b;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news__item .more {
  font-family: var(--font-en);
  font-size: 12px;
  letter-spacing: 0.24em;
  white-space: nowrap;
}
.news__item a:hover .more {
  color: var(--orange);
}
@media (max-width: 767px) {
  .news__section {
    padding: 80px 0;
  }
  .news__item a {
    flex-wrap: wrap;
    gap: 8px 20px;
  }
  .news__item .body {
    flex-basis: 100%;
    order: 3;
  }
}

/* ============================================================
   footer — company cards / recruit / contact / main
   ============================================================ */
.footer {
  background: var(--ink);
  color: rgba(234, 234, 234, 0.85);
  position: relative;
}
/* company quick cards */
.footer__company {
  background: #fff;
  color: var(--ink);
  padding: 100px 0;
}
.footer__company .sec__title {
  text-align: center;
}
.footer__company .sec__title .ja::before {
  display: none;
}
.footer__company .sec__title .ja {
  padding-left: 0;
}
.company__card-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.company__card a {
  display: block;
  position: relative;
  overflow: hidden;
}
.company__card .img img {
  display: block;
  width: 100%;
  transition: transform 0.7s;
}
.company__card a:hover .img img {
  transform: scale(1.07);
}
.company__card .label {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  padding: 38px 18px 14px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.75));
  color: #fff;
}
.company__card .label-ja {
  font-size: 15px;
  font-weight: 700;
}
.company__card .label-en {
  display: block;
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 0.22em;
  color: #ffb27a;
}
@media (max-width: 767px) {
  .footer__company {
    padding: 70px 0;
  }
  .company__card-list {
    grid-template-columns: 1fr 1fr;
  }
}
/* recruit banner */
.recruit__section {
  padding: 90px 0;
  position: relative;
  z-index: 1;
  background-image: url("../images/bg_recruit.svg");
  background-size: cover;
  background-position: center;
}
.recruit__wrap {
  display: flex;
  align-items: center;
  gap: 40px;
  border: 1px solid #797979;
  background: linear-gradient(
    92deg,
    rgba(255, 255, 255, 0.14) 0%,
    rgba(255, 255, 255, 0.02) 100%
  );
  padding: 48px;
  color: #fff;
}
.recruit__thumb {
  width: 42%;
}
.recruit__thumb-inner {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  overflow: hidden;
  cursor: pointer;
}
.recruit__thumb-inner img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s;
}
.recruit__thumb-inner:hover img {
  transform: scale(1.05);
}
.recruit__thumb-inner .play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: rgba(237, 116, 28, 0.95);
  display: grid;
  place-items: center;
}
.recruit__thumb-inner .play::after {
  content: "";
  border-style: solid;
  border-width: 11px 0 11px 18px;
  border-color: transparent transparent transparent #fff;
  margin-left: 4px;
}
.recruit__thumb .note {
  display: block;
  text-align: center;
  font-family: var(--font-en);
  letter-spacing: 0.28em;
  font-size: 12px;
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.7);
}
.recruit__summary {
  flex: 1;
}
.recruit__summary .sec__title {
  margin-bottom: 20px;
}
.recruit__summary .catch {
  font-family: var(--font-min);
  font-size: clamp(20px, 2.2vw, 30px);
  line-height: 1.8;
  margin-bottom: 18px;
}
.recruit__summary .catch .quote {
  color: var(--orange);
}
.recruit__summary p {
  font-size: 14px;
  margin-bottom: 26px;
}
.recruit__summary p .strong {
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}
@media (max-width: 991px) {
  .recruit__wrap {
    flex-direction: column;
    padding: 28px 24px;
  }
  .recruit__thumb {
    width: 100%;
  }
}
/* contact banner */
.contact__section {
  padding: 90px 0;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.contact__section .sec__title {
  margin-bottom: 18px;
}
.contact__section p {
  margin-bottom: 30px;
  font-size: 14.5px;
}
/* footer main */
.footer__main {
  padding: 70px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.footer__cols {
  display: flex;
  justify-content: space-between;
  gap: 48px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}
.footer__info .logo img {
  height: 24px;
  width: auto;
  margin-bottom: 28px;
}
.footer__office {
  font-size: 13px;
  font-style: normal;
  line-height: 2;
  margin-bottom: 18px;
}
.footer__office .name {
  font-family: var(--font-en);
  letter-spacing: 0.2em;
  color: #ffb27a;
  font-size: 12px;
  display: block;
}
.footer__cert {
  font-size: 11px;
  color: rgba(234, 234, 234, 0.5);
  margin-top: 18px;
}
.footer__nav {
  display: flex;
  gap: 56px;
  flex-wrap: wrap;
}
.footer__nav-col {
  display: grid;
  gap: 10px;
  align-content: start;
}
.footer__nav-col a {
  font-size: 13.5px;
  transition: color 0.2s;
}
.footer__nav-col a:hover {
  color: var(--orange);
}
.footer__nav-col a .en {
  font-family: var(--font-en);
  letter-spacing: 0.16em;
  font-size: 11px;
  display: block;
  color: rgba(234, 234, 234, 0.5);
}
.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 22px 0;
  font-size: 12px;
}
.footer__legal {
  display: flex;
  gap: 26px;
}
.footer__legal a:hover {
  color: var(--orange);
}
.copyright {
  font-family: var(--font-en);
  letter-spacing: 0.14em;
  color: rgba(234, 234, 234, 0.55);
}
@media (max-width: 991px) {
  .footer {
    padding-bottom: 60px; /* room for the bottom SP header bar */
  }
}

/* ============================================================
   sub pages — common
   ============================================================ */
.page__header {
  padding: 170px 0 70px;
  background: var(--paper);
  overflow: hidden;
}
.page__header .en {
  display: block;
  font-family: var(--font-en);
  font-size: clamp(52px, 8vw, 110px);
  line-height: 1;
  letter-spacing: 0.04em;
}
.page__header .ja {
  display: inline-block;
  margin-top: 14px;
  font-size: 15px;
  font-weight: 700;
  padding-left: 44px;
  position: relative;
}
.page__header .ja::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 32px;
  height: 2px;
  background: var(--orange);
}
.breadcrumb {
  background: var(--paper);
  padding-bottom: 26px;
}
.breadcrumb ol {
  display: flex;
  gap: 8px;
  font-size: 12px;
  color: #8a8a8a;
}
.breadcrumb li + li::before {
  content: "/";
  margin-right: 8px;
}
.breadcrumb a:hover {
  color: var(--orange);
}
.page__body {
  padding: 90px 0 140px;
}
.page__section + .page__section {
  margin-top: 120px;
}
@media (max-width: 991px) {
  .page__header {
    padding-top: 90px;
  }
  .page__body {
    padding: 60px 0 90px;
  }
}

/* ---------- about page ---------- */
.promise__list {
  display: grid;
  gap: 64px;
}
.promise__item {
  display: flex;
  gap: 48px;
  align-items: center;
}
.promise__item:nth-child(even) {
  flex-direction: row-reverse;
}
.promise__item .img {
  width: 44%;
  flex-shrink: 0;
}
.promise__item .num {
  font-family: var(--font-en);
  font-size: 15px;
  letter-spacing: 0.2em;
  color: var(--orange);
  display: block;
  margin-bottom: 10px;
}
.promise__item h3 {
  font-size: 24px;
  line-height: 1.7;
  margin-bottom: 16px;
}
.promise__item p {
  font-size: 14.5px;
}
@media (max-width: 767px) {
  .promise__item,
  .promise__item:nth-child(even) {
    flex-direction: column;
  }
  .promise__item .img {
    width: 100%;
  }
}
.member__list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 36px 24px;
}
.member__item .img {
  margin-bottom: 14px;
  overflow: hidden;
}
.member__item .img img {
  display: block;
  transition: transform 0.6s;
}
.member__item:hover .img img {
  transform: scale(1.06);
}
.member__item .role {
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: var(--orange);
  font-weight: 700;
  display: block;
}
.member__item h3 {
  font-size: 17px;
  margin-bottom: 4px;
}
.member__item p {
  font-size: 12.5px;
  color: #6b6b6b;
  line-height: 1.8;
}
@media (max-width: 991px) {
  .member__list {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 575px) {
  .member__list {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ---------- works page ---------- */
.works__tab-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 48px;
}
.works__tab-item a {
  display: block;
  padding: 10px 26px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 700;
  transition: 0.25s;
}
.works__tab-item.active a,
.works__tab-item a:hover {
  background: var(--ink);
  color: #fff;
}
.works__list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px 40px;
  transition: opacity 0.3s;
}
.works__list.is-fading {
  opacity: 0;
}
.works__entry .img {
  overflow: hidden;
  margin-bottom: 18px;
}
.works__entry .img img {
  display: block;
  transition: transform 0.6s;
}
.works__entry:hover .img img {
  transform: scale(1.05);
}
.works__entry .cat {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: var(--orange);
  border: 1px solid var(--orange);
  padding: 2px 12px;
  margin-bottom: 10px;
}
.works__entry h3 {
  font-size: 19px;
  line-height: 1.6;
  margin-bottom: 10px;
}
.works__entry p {
  font-size: 13.5px;
  color: #555;
  margin-bottom: 8px;
}
.works__entry .role {
  font-size: 12px;
  color: #999;
}
@media (max-width: 767px) {
  .works__list {
    grid-template-columns: 1fr;
  }
}

/* ---------- service page ---------- */
.service__detail + .service__detail {
  margin-top: 110px;
}
.service__detail .head {
  display: flex;
  align-items: center;
  gap: 48px;
  margin-bottom: 36px;
}
.service__detail:nth-child(even) .head {
  flex-direction: row-reverse;
}
.service__detail .img {
  width: 46%;
  flex-shrink: 0;
}
.service__detail .en {
  display: block;
  font-family: var(--font-en);
  font-size: 14px;
  letter-spacing: 0.26em;
  color: var(--orange);
  margin-bottom: 8px;
}
.service__detail h2 {
  font-size: 28px;
  line-height: 1.6;
  margin-bottom: 18px;
}
.service__detail .lead {
  font-size: 14.5px;
}
.service__points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.service__points li {
  background: var(--paper);
  padding: 28px 24px;
}
.service__points .num {
  font-family: var(--font-en);
  color: var(--orange);
  font-size: 13px;
  letter-spacing: 0.2em;
  display: block;
  margin-bottom: 8px;
}
.service__points h4 {
  font-size: 16.5px;
  margin-bottom: 8px;
}
.service__points p {
  font-size: 13px;
  color: #555;
}
@media (max-width: 767px) {
  .service__detail .head,
  .service__detail:nth-child(even) .head {
    flex-direction: column;
  }
  .service__detail .img {
    width: 100%;
  }
  .service__points {
    grid-template-columns: 1fr;
  }
}

/* ---------- company page ---------- */
.ceo__wrap {
  display: flex;
  gap: 56px;
  align-items: flex-start;
}
.ceo__photo {
  width: 36%;
  flex-shrink: 0;
}
.ceo__photo .name {
  margin-top: 14px;
  font-size: 13px;
  color: #6b6b6b;
}
.ceo__photo .name strong {
  display: block;
  font-size: 18px;
  color: var(--ink);
}
.ceo__body .catch {
  font-family: var(--font-min);
  font-size: clamp(22px, 2.6vw, 32px);
  line-height: 1.8;
  margin-bottom: 24px;
}
.ceo__body p {
  font-size: 14.5px;
  margin-bottom: 18px;
}
@media (max-width: 767px) {
  .ceo__wrap {
    flex-direction: column;
  }
  .ceo__photo {
    width: 70%;
  }
}
/* endless image marquee strips */
.marquee {
  overflow: hidden;
  margin: 28px 0;
}
.marquee__track {
  display: flex;
  gap: 12px;
  width: max-content;
  animation: marquee 36s linear infinite;
}
.marquee.reverse .marquee__track {
  animation-direction: reverse;
}
.marquee__track img {
  width: 420px;
  display: block;
}
@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}
@media (max-width: 767px) {
  .marquee__track img {
    width: 260px;
  }
}
.dept__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.dept__item {
  border: 1px solid var(--gray);
  padding: 30px 26px;
}
.dept__item .en {
  font-family: var(--font-en);
  color: var(--orange);
  font-size: 12px;
  letter-spacing: 0.24em;
  display: block;
}
.dept__item h3 {
  font-size: 19px;
  margin-bottom: 10px;
}
.dept__item p {
  font-size: 13.5px;
  color: #555;
}
@media (max-width: 767px) {
  .dept__list {
    grid-template-columns: 1fr;
  }
}
.overview__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
}
.overview__table th,
.overview__table td {
  border-bottom: 1px solid var(--gray-d);
  padding: 20px 12px;
  text-align: left;
  vertical-align: top;
}
.overview__table th {
  width: 220px;
  font-weight: 700;
  white-space: nowrap;
}
@media (max-width: 575px) {
  .overview__table th {
    width: 110px;
  }
}
.gallery__box {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.gallery__box .img__link {
  display: block;
  overflow: hidden;
  cursor: zoom-in;
}
.gallery__box img {
  display: block;
  transition: transform 0.5s;
}
.gallery__box .img__link:hover img {
  transform: scale(1.07);
}
@media (max-width: 767px) {
  .gallery__box {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ---------- news page ---------- */
.news__page-wrap {
  display: flex;
  gap: 60px;
  align-items: flex-start;
}
.news__page-main {
  flex: 1;
  min-width: 0;
}
.news__side {
  width: 280px;
  flex-shrink: 0;
  display: grid;
  gap: 40px;
}
.news__side h4 {
  font-family: var(--font-en);
  font-size: 14px;
  letter-spacing: 0.24em;
  border-bottom: 2px solid var(--ink);
  padding-bottom: 8px;
  margin-bottom: 14px;
}
.news__search {
  display: flex;
  border: 1px solid var(--gray-d);
}
.news__search input {
  flex: 1;
  border: none;
  padding: 10px 14px;
  font: inherit;
  font-size: 13.5px;
  outline: none;
  min-width: 0;
}
.news__search button {
  background: var(--ink);
  color: #fff;
  padding: 0 18px;
  font-size: 13px;
}
.news__cat-list li,
.news__archive li {
  border-bottom: 1px dashed var(--gray-d);
}
.news__cat-list a,
.news__archive a {
  display: flex;
  justify-content: space-between;
  padding: 10px 4px;
  font-size: 13.5px;
}
.news__cat-list a:hover,
.news__archive a:hover {
  color: var(--orange);
}
.news__cat-list .count {
  color: #999;
  font-size: 12px;
}
.news__tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.news__tag-list a {
  font-size: 12px;
  border: 1px solid var(--gray-d);
  padding: 4px 12px;
  border-radius: 999px;
  transition: 0.25s;
}
.news__tag-list a:hover {
  border-color: var(--orange);
  color: var(--orange);
}
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 56px;
}
.pagination a,
.pagination span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--gray-d);
  font-family: var(--font-en);
  font-size: 14px;
}
.pagination .current {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.pagination a:hover {
  border-color: var(--orange);
  color: var(--orange);
}
@media (max-width: 991px) {
  .news__page-wrap {
    flex-direction: column;
  }
  .news__side {
    width: 100%;
  }
}

/* ---------- contact page ---------- */
.contact__lead {
  margin-bottom: 48px;
  font-size: 14.5px;
}
.contact__form {
  max-width: 760px;
}
.form__row {
  margin-bottom: 28px;
}
.form__row label {
  display: block;
  font-weight: 700;
  font-size: 14.5px;
  margin-bottom: 8px;
}
.form__row .req {
  display: inline-block;
  background: var(--orange);
  color: #fff;
  font-size: 10.5px;
  padding: 1px 8px;
  margin-left: 10px;
  vertical-align: 2px;
}
.form__row input[type="text"],
.form__row input[type="email"],
.form__row input[type="tel"],
.form__row select,
.form__row textarea {
  width: 100%;
  border: 1px solid var(--gray-d);
  background: #fafafa;
  padding: 14px 16px;
  font: inherit;
  font-size: 15px;
  outline: none;
  transition: border-color 0.2s;
}
.form__row input:focus,
.form__row select:focus,
.form__row textarea:focus {
  border-color: var(--orange);
  background: #fff;
}
.form__row textarea {
  min-height: 200px;
  resize: vertical;
}
.form__agree {
  font-size: 13.5px;
  margin: 36px 0;
}
.form__agree a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.form__agree a:hover {
  color: var(--orange);
}
.form__submit {
  text-align: center;
}
.form__submit .btn {
  min-width: 320px;
  border: none;
  cursor: pointer;
}
.form__submit .btn.is-sending {
  opacity: 0.5;
  pointer-events: none;
}
.done__message {
  display: none;
  background: var(--paper);
  border-left: 4px solid var(--orange);
  padding: 36px 32px;
  margin-top: 48px;
}
.done__message h2 {
  font-size: 20px;
  margin-bottom: 10px;
}
.done__message p {
  font-size: 14px;
}

/* ============================================================
   modal
   ============================================================ */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(10, 10, 10, 0.86);
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.modal__body {
  max-width: 980px;
  width: 100%;
  position: relative;
}
.modal__body img {
  display: block;
  width: 100%;
}
.modal__close {
  position: absolute;
  top: -52px;
  right: 0;
  width: 40px;
  height: 40px;
}
.modal__close::before,
.modal__close::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 30px;
  height: 2px;
  background: #fff;
  transform: rotate(45deg);
}
.modal__close::after {
  transform: rotate(-45deg);
}
.modal__player {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  background: #000;
}
.modal__player .player__inner {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #1d2733, #0c1014);
  color: #fff;
  text-align: center;
}
.modal__player .player__inner .en {
  font-family: var(--font-en);
  letter-spacing: 0.3em;
  font-size: 22px;
  display: block;
  margin-bottom: 8px;
}
.modal__player .player__inner p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
}

/* ============================================================
   first-view lock helper
   ============================================================ */
body.is-locked {
  overflow: hidden;
}
