@charset "UTF-8";

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

html {
  scroll-behavior: smooth;
  background-color: #000;
  /*  overscroll-behavior-y: none;*/
}

body {
  margin: 0;
  color: #1a1311;
  line-height: 1.6;
  background-color: #fff;
  font-family: 'Helvetica Neue', Helvetica, 'Zen Kaku Gothic New', Arial, sans-serif;
  font-weight: 500;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

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

p,
h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
}

/* =========================
   Utility
========================= */
.fade-up {
  opacity: 0;
  transform: translate3d(0, 12px, 0);
  transition:
    opacity 1.2s ease,
    transform 1.2s ease;
}

.fade-up.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.fade-up--delay1 {
  transition-delay: 0.2s;
}

.fade-up--delay2 {
  transition-delay: 0.4s;
}

.fade-up--delay3 {
  transition-delay: 0.6s;
}

.sp-only {
  display: none;
}
.pc-only {
  display: inline;
}

@media screen and (max-width: 767px) {
  .sp-only {
    display: inline;
  }
  .pc-only {
    display: none;
  }
}

/* =========================
   Layout
========================= */
.container {
  width: 100%;
  max-width: 1904px;
  margin-inline: auto;
  padding-inline: 120px;
}

/* -------------------------
   Layout Responsive
------------------------- */
@media screen and (min-width: 768px) and (max-width: 1024px) {
  .container {
    padding-inline: 48px;
  }
}

@media screen and (max-width: 767px) {
  .container {
    padding-inline: 20px;
  }
}

/* =========================
   Common Components
========================= */
.section {
  padding-top: 280px;
  padding-bottom: 400px;
}

.sectionHeading {
  margin-bottom: 100px;
}

.sectionHeading__title {
  font-size: 30px;
  line-height: 1.1;
  font-weight: 500;
}

.narrow {
  max-width: 800px;
}

.textBlock {
  max-width: 680px;
}

.textBlock__text {
  font-size: 14px;
  line-height: 2;
  font-weight: 500;
}

.textBlock__text + .textBlock__text {
  margin-top: 1em;
}

.textLink {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.textLink:hover {
  opacity: 0.7;
}

/* Button */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 200px;
  height: 64px;
  padding: 0 32px;
  border: 1px solid transparent;
  background-color: #140c0c;
  color: #fff;
  font-size: 15px;
  line-height: 1;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  transition:
    background-color 0.25s ease,
    color 0.25s ease,
    opacity 0.25s ease;
}

.button:hover {
  background-color: #fff;
  color: #140c0c;
  border-color: #140c0c;
}

.libraryButton {
  position: relative;
  overflow: hidden;

  display: flex;
  align-items: center;
  justify-content: center;

  width: 100%;
  max-width: 1000px;
  min-height: 140px;
  padding: 20px 56px;

  background-color: #140c0c;
  color: #fff;
  text-decoration: none;

  border: 1px solid transparent;

  transition:
    background-color 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease;
}

.libraryButton:hover {
  background-color: #fff;
  color: #140c0c;
  border-color: #140c0c;
}

.libraryButton__text {
  font-size: 20px;
  line-height: 1.25;
  font-weight: 400;
  text-align: center;

  transition: color 0.25s ease;
}

.libraryButton__arrow {
  position: absolute;
  top: 50%;
  right: 18px;

  width: 10px;
  height: 10px;

  border-top: 1px solid #fff;
  border-right: 1px solid #fff;

  transform: translateY(-50%) rotate(45deg);

  transition:
    transform 0.25s ease,
    border-color 0.25s ease;
}

.libraryButton:hover .libraryButton__arrow {
  border-color: #140c0c;
  transform: translateY(-50%) translateX(4px) rotate(45deg);
}

/* -------------------------
   Common Components Responsive
------------------------- */
@media screen and (max-width: 767px) {
  .section {
    padding-top: 150px;
    padding-bottom: 200px;
  }

  .sectionHeading {
    margin-bottom: 80px;
  }

  .sectionHeading__title {
    font-size: 24px;
  }

  .button {
    display: flex;
    width: 100%;
    min-width: 0;
    height: 56px;
    padding: 0 20px;
  }

  .libraryButton {
    min-height: 86px;
    padding: 16px 44px 16px 20px;
  }

  .libraryButton__text {
    font-size: 15px;
  }

  .libraryButton__arrow {
    right: 14px;
    width: 7px;
    height: 7px;
  }
}

/* =========================
   Header
========================= */
.header {
  position: sticky;
  top: 0;
  width: 100%;
  padding: 0;
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  z-index: 1000;
  transition:
    box-shadow 0.35s ease,
    background-color 0.35s ease;
}

.header.is-scrolled {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.header__inner {
  width: 100%;
  min-height: 80px;
  padding-right: 60px;
  padding-left: 120px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: min-height 0.35s ease;
}

.header.is-scrolled .header__inner {
  min-height: 64px;
}

.header__logo {
  line-height: 0;
}

.header__logo img {
  transform-origin: left center;
  transition: transform 0.35s ease;
  display: block;
}

.header.is-scrolled .header__logo img {
  transform: scale(0.9);
}

.header__logoLink {
  display: inline-flex;
  align-items: center;
}

.header__nav {
  margin-left: 40px;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav__item:last-child {
  border-left: 1px solid #bcbcbc;
  padding-left: 32px;
}

.nav__link {
  font-size: 12px;
  font-weight: 400;
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 4px 8px;
  overflow: hidden;
  transition: color 0.25s ease;
}

.nav__link span {
  position: relative;
  z-index: 2;
}

.nav__link::before {
  content: '';
  position: absolute;
  inset: 0;
  background: #1a1311;
  clip-path: circle(0 at center);
  transition: clip-path 0.35s ease-out;
  z-index: 1;
}

.nav__link:hover::before {
  clip-path: circle(150% at center);
}

.nav__link:hover {
  color: #fff;
}

.nav__link--contact {
  color: #dc000c;
  font-weight: 500;
}

.nav__link--contact::before {
  background: #dc000c;
}

.header__menuButton {
  display: none;
}

/* -------------------------
   Header Responsive
------------------------- */
@media screen and (min-width: 768px) and (max-width: 1024px) {
  .header__inner {
    min-height: 64px;
    padding-right: 48px;
    padding-left: 48px;
    align-items: center;
  }

  .header.is-scrolled .header__inner {
    min-height: 52px;
  }

  .header__logo img {
    transition: transform 0.35s ease;
    transform-origin: left center;
  }

  .header__logoLink {
    transform: translateY(2px);
  }

  .header.is-scrolled .header__logo img {
    transform: scale(0.9);
  }

  .nav__list {
    align-items: center;
    gap: 24px;
  }

  .nav__link {
    display: inline-flex;
    align-items: center;
    min-height: 1.2em;
  }
}

@media screen and (max-width: 767px) {
  .header {
    padding: 0;
    background-color: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(8px);
  }

  .header.is-scrolled {
    padding: 0;
  }

  .header__inner {
    position: relative;
    min-height: calc(100px + env(safe-area-inset-top));
    padding: env(safe-area-inset-top) 20px 0;
    display: block;
    transition:
      min-height 0.35s ease,
      padding 0.35s ease;
  }

  .header__logo {
    position: absolute;
    left: 20px;
    top: 24px;
    z-index: 1200;
    margin: 0;
    line-height: 1;
    transition:
      top 0.35s ease,
      opacity 0.25s ease,
      visibility 0.25s ease;
  }

  .header__logo img {
    transform: scale(1.25);
    transform-origin: left top;
    transition: transform 0.35s ease;
  }

  .header.is-scrolled .header__logo img {
    transform: scale(1.1);
  }

  .header__menuButton {
    position: absolute;
    right: 20px;
    top: 40px;
    bottom: auto;
    z-index: 1200;
    display: inline-flex;
    width: 48px;
    height: 48px;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    appearance: none;
    cursor: pointer;
    transition:
      top 0.35s ease,
      right 0.35s ease,
      width 0.35s ease,
      height 0.35s ease;
  }

  .header__menuButtonLine {
    position: absolute;
    left: 9px;
    width: 30px;
    height: 1px;
    background-color: #666;
    transform-origin: center;
    transition:
      top 0.35s ease,
      left 0.35s ease,
      width 0.35s ease,
      transform 0.35s ease,
      opacity 0.25s ease,
      background-color 0.35s ease;
  }

  .header__menuButtonLine:nth-child(1) {
    top: 16px;
  }

  .header__menuButtonLine:nth-child(2) {
    top: 25px;
  }

  .header.is-menu-open .header__menuButtonLine:nth-child(1) {
    top: 21px;
    transform: rotate(30deg);
  }

  .header.is-menu-open .header__menuButtonLine:nth-child(2) {
    top: 21px;
    transform: rotate(-30deg);
  }

  .header.is-scrolled .header__inner {
    min-height: calc(60px + env(safe-area-inset-top));
  }

  .header.is-scrolled .header__logo {
    top: 12px;
  }

  .header.is-scrolled .header__logo img {
    transform: scale(0.92);
  }

  .header.is-scrolled .header__menuButton {
    top: 20px;
    width: 36px;
    height: 36px;
  }

  .header.is-scrolled .header__menuButtonLine {
    left: 7px;
    width: 22px;
  }

  .header.is-scrolled .header__menuButtonLine:nth-child(1) {
    top: 12px;
  }

  .header.is-scrolled .header__menuButtonLine:nth-child(2) {
    top: 19px;
  }

  .header.is-scrolled.is-menu-open .header__menuButtonLine:nth-child(1) {
    top: 16px;
  }

  .header.is-scrolled.is-menu-open .header__menuButtonLine:nth-child(2) {
    top: 16px;
  }

  .header__nav {
    position: fixed;
    inset: 0;
    z-index: 1100;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 0;
    padding: 0 20px;
    background-color: rgba(0, 0, 0, 0.96);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
      opacity 0.35s ease,
      visibility 0.35s ease;
  }

  .nav__list {
    width: 200px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }

  .nav__item {
    width: 100%;
    text-align: left;
  }

  .nav__item + .nav__item {
    margin-top: 32px;
  }

  .nav__item:last-child {
    border-left: none;
    padding-left: 0;
    margin-top: 0;
    margin-bottom: 40px;
    order: -1;
  }

  .nav__link {
    display: inline-block;
    padding: 0;
    font-size: 14px;
    line-height: 1.2;
    color: #fff;
    overflow: visible;
    text-align: left;
  }

  .nav__link::before {
    display: none;
  }

  .nav__link:hover {
    color: #fff;
  }

  .nav__link--contact {
    color: #dc000c;
    font-size: 19px;
    font-weight: 500;
  }

  .header.is-menu-open {
    background-color: transparent;
    backdrop-filter: none;
  }

  .header.is-menu-open .header__nav {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .header.is-menu-open .header__menuButtonLine {
    background-color: #fff;
  }

  .header.is-menu-open .header__menuButtonLine:nth-child(1) {
    top: 15px;
    transform: rotate(30deg);
  }

  .header.is-menu-open .header__menuButtonLine:nth-child(2) {
    top: 15px;
    transform: rotate(-30deg);
  }

  .header.is-menu-open .header__logo {
    opacity: 0;
    visibility: hidden;
  }

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

/* =========================
   Main
========================= */
main {
  background-color: #fafafa;
}

/* =========================
   Hero
========================= */
.hero {
  min-height: calc(100svh - 80px);
  display: flex;
  align-items: center;
}

.hero__inner {
  width: min(1200px, 90%);
  margin-inline: auto;
  padding: 160px 0 0;
  text-align: center;
  position: relative;
}

.hero__lottieWrap {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  max-width: 1050px;
  transform: translate(-50%, -50%);
  margin: 0;
}

.hero__lottie {
  width: 100%;
  max-width: 1050px;
  height: 120px;
  margin: 0 auto;
}

.hero__lottie svg,
.hero__lottie canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.hero__copyWrap {
  position: absolute;
  top: calc(50% + 250px);
  left: 50%;
  width: 100%;
  transform: translateX(-50%);
  text-align: center;
}

.hero__copy {
  font-size: 21px;
  font-weight: 500;
  opacity: 0;
  transform: translate3d(0, 12px, 0);
  transition:
    opacity 1.2s ease,
    transform 1.2s ease;
}

.hero__copy.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

/* -------------------------
   Hero Responsive
------------------------- */
@media screen and (max-width: 767px) {
  .hero__inner {
    width: 100%;
    padding: 80px 0 0;
  }

  .hero__lottieWrap {
    margin-bottom: 120px;
  }

  .hero__lottieWrap,
  .hero__copyWrap {
    position: static;
    transform: none;
  }

  .hero__lottie {
    width: 100%;
    height: auto;
  }

  .hero__copy {
    font-size: 18px;
  }
}

/* =========================
   About
========================= */
.about {
  margin-top: 900px;
  padding-bottom: 120px;
}

.page-about .about {
  margin-top: 0px;
  padding-bottom: 400px;
}

.about__content {
  width: 100%;
}

.about__title {
  font-size: 25px;
  line-height: 1.1;
  margin-top: 156px;
  font-weight: 700;
}

.about__textWrap {
  max-width: 680px;
  margin-top: 108px;
}

.about__text {
  font-size: 18px;
  line-height: 2;
  font-weight: 500;
}

.about__text + .about__text {
  margin-top: 32px;
}

.about__copyWrap {
  margin-top: 586px;
  text-align: center;
}

.about__copy {
  font-size: 30px;
  font-weight: 500;
}

@media screen and (max-width: 767px) {
  .page-about .about {
    padding-bottom: 150px;
  }
}

/* -------------------------
   About Service Flow
------------------------- */
.about__service {
  margin-top: 440px;
}

.serviceFlow {
  --service-gap: 240px;
  --service-dot-size: 14px;
  --service-line-color: rgba(26, 19, 17, 0.18);
  --service-dot-color: #dc000c;

  width: 100%;
  max-width: 1664px;
  margin-inline: auto;
  padding-inline: 0px;
}

@media screen and (min-width: 768px) and (max-width: 1024px) {
  .serviceFlow {
    --service-gap: 120px;
  }
}

/* -------------------------
   line
------------------------- */
.serviceFlow__line {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: var(--service-gap);
  align-items: center;
  height: 18px;
}

.serviceFlow__line::before {
  content: '';
  position: absolute;
  top: 8px;
  left: calc(16.6667% - (var(--service-gap) / 3));
  width: calc(66.6666% + (var(--service-gap) * 2 / 3));
  height: 1px;
  background-color: var(--service-line-color);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 1s cubic-bezier(0.22, 1, 0.36, 1);
}

.serviceFlow__dot {
  position: relative;
  justify-self: center;
  width: var(--service-dot-size);
  height: var(--service-dot-size);
  border-radius: 9999px;
  background-color: var(--service-dot-color);
  opacity: 0;
  transform: scale(0.4);
  z-index: 1;
}

/* -------------------------
   columns
------------------------- */
.serviceFlow__columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: var(--service-gap);
  margin-top: 52px;
}

.serviceFlow__item {
  text-align: center;
  opacity: 0;
  transform: translateY(28px);
}

.serviceFlow__title {
  max-width: 320px;
  margin-inline: auto;
  font-size: 17px;
  line-height: 1.4;
  font-weight: 500;
  color: #1a1311;
}

.serviceFlow__list {
  margin-top: 59px;
  padding: 0;
  list-style: none;
}

.serviceFlow__text {
  font-size: 13px;
  line-height: 2;
  color: #1a1311;
  opacity: 0;
  transform: translateY(14px);
}

.serviceFlow__text + .serviceFlow__text {
  margin-top: 2px;
}

/* -------------------------
   visible
------------------------- */
.serviceFlow.is-visible .serviceFlow__line::before {
  transform: scaleX(1);
}

.serviceFlow.is-visible .serviceFlow__dot--left {
  animation: serviceDotPop 0.45s cubic-bezier(0.22, 1, 0.36, 1) 0.05s forwards;
}

.serviceFlow.is-visible .serviceFlow__dot--center {
  animation: serviceDotPop 0.45s cubic-bezier(0.22, 1, 0.36, 1) 0.35s forwards;
}

.serviceFlow.is-visible .serviceFlow__dot--right {
  animation: serviceDotPop 0.45s cubic-bezier(0.22, 1, 0.36, 1) 0.65s forwards;
}

.serviceFlow.is-visible .serviceFlow__item--left {
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
  transition-delay: 0.85s;
  opacity: 1;
  transform: translateY(0);
}

.serviceFlow.is-visible .serviceFlow__item--center {
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
  transition-delay: 1s;
  opacity: 1;
  transform: translateY(0);
}

.serviceFlow.is-visible .serviceFlow__item--right {
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
  transition-delay: 1.15s;
  opacity: 1;
  transform: translateY(0);
}

/* 共通 */
.serviceFlow__text {
  opacity: 0;
}

/* 表示トリガー */
.serviceFlow.is-visible .serviceFlow__text {
  animation: serviceTextReveal 0.6s ease forwards;
  animation-delay: var(--delay);
}

/* -------------------------
   keyframes
------------------------- */
@keyframes serviceDotPop {
  0% {
    opacity: 0;
    transform: scale(0.35);
  }
  70% {
    opacity: 1;
    transform: scale(1.12);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes serviceTextReveal {
  0% {
    opacity: 0;
    transform: translateY(14px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* -------------------------
   About Responsive
------------------------- */
@media screen and (max-width: 767px) {
  .about {
    margin-top: 400px;
  }

  .about__title {
    font-size: 20px;
  }

  .about__text {
    font-size: 16px;
  }

  .about__copyWrap {
    margin-top: 300px;
  }

  .about__copy {
    font-size: 21px;
  }

  .about__service {
    margin-top: 125px;
  }

  .serviceFlow {
    max-width: none;
    padding-inline: 0;
  }

  .serviceFlow__line {
    display: none;
  }

  .serviceFlow__columns {
    --timeline-dot-size: 9px;
    --timeline-dot-top: 8px;
    --timeline-gap: 120px;
    --timeline-x: -27px;

    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    row-gap: var(--timeline-gap);
    margin-top: 0;
    padding-left: 32px;
  }

  .serviceFlow__columns::before {
    position: absolute;
    top: 8px;
    bottom: 180px;
    left: 6px;
    width: 1px;
    background-color: rgba(26, 19, 17, 0.22);
  }

  .serviceFlow__item {
    position: relative;
    text-align: left;
    opacity: 1;
    transform: none;
  }

  .serviceFlow__item::before {
    content: '';
    position: absolute;
    left: var(--timeline-x);
    top: var(--timeline-dot-top);
    width: var(--timeline-dot-size);
    height: var(--timeline-dot-size);
    border-radius: 9999px;
    background-color: #dc000c;
    transform: translateX(-50%) scale(0.3);
    opacity: 0;
  }

  .serviceFlow__item::after {
    content: '';
    position: absolute;
    left: var(--timeline-x);
    top: calc(var(--timeline-dot-top) + (var(--timeline-dot-size) / 2));
    width: 1px;
    height: calc(100% + var(--timeline-gap));
    background-color: rgba(26, 19, 17, 0.18);
    transform: translateX(-50%) scaleY(0);
    transform-origin: top center;
    opacity: 0;
  }

  .serviceFlow__item:last-child::after {
    display: none;
  }

  /* 表示時アニメーション */
  .serviceFlow.is-visible .serviceFlow__item:nth-child(1)::before {
    animation: serviceTimelineDotPop 0.45s cubic-bezier(0.22, 1, 0.36, 1) 0.05s forwards;
  }

  .serviceFlow.is-visible .serviceFlow__item:nth-child(1)::after {
    animation: serviceTimelineLineGrow 0.65s cubic-bezier(0.22, 1, 0.36, 1) 0.18s forwards;
  }

  .serviceFlow.is-visible .serviceFlow__item:nth-child(2)::before {
    animation: serviceTimelineDotPop 0.45s cubic-bezier(0.22, 1, 0.36, 1) 0.78s forwards;
  }

  .serviceFlow.is-visible .serviceFlow__item:nth-child(2)::after {
    animation: serviceTimelineLineGrow 0.65s cubic-bezier(0.22, 1, 0.36, 1) 0.91s forwards;
  }

  .serviceFlow.is-visible .serviceFlow__item:nth-child(3)::before {
    animation: serviceTimelineDotPop 0.45s cubic-bezier(0.22, 1, 0.36, 1) 1.51s forwards;
  }

  .serviceFlow__title {
    max-width: none;
    margin-inline: 0;
    font-size: 22px;
    line-height: 1.2;
    opacity: 0;
    transform: translateY(12px);
    margin-left: 32px;
  }

  .serviceFlow.is-visible .serviceFlow__item:nth-child(1) .serviceFlow__title {
    animation: serviceTimelineTitleReveal 0.55s ease 0.16s forwards;
    animation-delay: 0.22s;
  }

  .serviceFlow.is-visible .serviceFlow__item:nth-child(2) .serviceFlow__title {
    animation: serviceTimelineTitleReveal 0.55s ease 0.89s forwards;
    animation-delay: 0.95s;
  }

  .serviceFlow.is-visible .serviceFlow__item:nth-child(3) .serviceFlow__title {
    animation: serviceTimelineTitleReveal 0.55s ease 1.62s forwards;
    animation-delay: 1.58s;
  }

  .serviceFlow__list {
    margin-top: 28px;
    margin-left: 32px;
  }

  .serviceFlow__text {
    font-size: 13px;
    line-height: 2;
    opacity: 0;
    transform: translateY(10px);
  }

  .serviceFlow__item:nth-child(1) {
    --sp-list-start: 0.3s;
    --sp-base-delay: 1.05s;
  }

  .serviceFlow__item:nth-child(2) {
    --sp-list-start: 1.03s;
    --sp-base-delay: 1.18s;
  }

  .serviceFlow__item:nth-child(3) {
    --sp-list-start: 1.76s;
    --sp-base-delay: 1.31s;
  }

  .serviceFlow__text {
    opacity: 0;
    transform: translateY(10px);
  }

  .serviceFlow.is-visible .serviceFlow__text {
    animation: serviceTimelineTextReveal 0.5s ease forwards;
    animation-delay: calc(var(--sp-list-start) + (var(--delay) - var(--sp-base-delay)));
  }
  @keyframes serviceTimelineDotPop {
    0% {
      opacity: 0;
      transform: translateX(-50%) scale(0.3);
    }
    70% {
      opacity: 1;
      transform: translateX(-50%) scale(1.12);
    }
    100% {
      opacity: 1;
      transform: translateX(-50%) scale(1);
    }
  }

  @keyframes serviceTimelineLineGrow {
    0% {
      opacity: 1;
      transform: translateX(-50%) scaleY(0);
    }
    100% {
      opacity: 1;
      transform: translateX(-50%) scaleY(1);
    }
  }

  @keyframes serviceTimelineTitleReveal {
    0% {
      opacity: 0;
      transform: translateY(12px);
    }
    100% {
      opacity: 1;
      transform: translateY(0);
    }
  }

  @keyframes serviceTimelineTextReveal {
    0% {
      opacity: 0;
      transform: translateY(10px);
    }
    100% {
      opacity: 1;
      transform: translateY(0);
    }
  }
}

/* =========================
   Works
========================= */
.works {
  margin-top: 998px;
  padding-bottom: 310px;
}

.page-works .works {
  margin-top: 0px;
}

.works__inner > * + * {
  margin-top: 113px;
}

.works__list {
  display: grid;
  grid-template-columns: 1fr;
  row-gap: 141px;
  counter-reset: works;
}

.works__item {
  min-width: 0;
  counter-increment: works;
}

.worksCard {
  display: block;
  width: 100%;
}

.worksCard__number {
  margin-bottom: 14px;
  font-size: 14px;
  line-height: 1;
  font-weight: 400;
  display: block;
}

.worksCard__number::before {
  content: 'WORKS ' counter(works, decimal-leading-zero);
}

.worksCard__imageWrap {
  width: 100%;
  max-width: 1664px;
  margin-inline: auto;
  overflow: hidden;
  aspect-ratio: 1664 / 900;
  background-color: #f2f2f2;
}

.worksCard__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.worksCard:hover .worksCard__image {
  transform: scale(1.04);
  opacity: 0.65;
}

.worksCard__body {
  padding-top: 24px;
}

.worksCard__title {
  font-size: 15px;
  line-height: 1.4;
}

.worksCard__number,
.worksCard__imageWrap,
.worksCard__body {
  max-width: 1664px;
  margin-inline: auto;
}

/* -------------------------
   Works Responsive
------------------------- */
@media screen and (max-width: 767px) {
  .works {
    margin-top: 300px;
    padding-bottom: 200px;
  }

  .works__list {
    row-gap: 80px;
  }

  .worksCard__number {
    font-size: 12px;
  }

  .worksCard__body {
    padding-top: 20px;
  }

  .worksCard__title {
    font-size: 14px;
    font-weight: 500;
  }
}

/* =========================
   Footer
========================= */
.footer {
  background-color: #000;
  color: #fff;
  padding-top: 150px;
  padding-bottom: 88px;
}

.footer__inner {
  width: 100%;
  max-width: 1904px;
  margin-inline: auto;
}

.footer__grid {
  display: grid;
  grid-template-columns: minmax(260px, 420px) 1fr 180px 280px;
  grid-template-areas:
    'info library nav contact'
    'info library nav legal';
  column-gap: 100px;
  row-gap: 18px;
  align-items: stretch;
}

.footer__info {
  grid-area: info;
  max-width: 420px;
}

.footer__library {
  grid-area: library;
  justify-self: center;
  align-self: end;
}

.footer__nav {
  grid-area: nav;
}

.footer__contactBlock {
  grid-area: contact;
}

.footer__legal {
  grid-area: legal;
  display: flex;
  flex-direction: column;
}

/* info */
.footer__company,
.footer__address,
.footer__tel,
.footer__mail {
  font-size: 14px;
  line-height: 1.45;
  font-style: normal;
  font-weight: 400;
}

.footer__info > * + * {
  margin-top: 24px;
}

.footer__company {
  font-weight: 700;
}

.footer__link {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.25s ease;
}

.footer__link:hover {
  opacity: 0.75;
}

/* library */
.footer__libraryButton {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  min-width: 204px;
  min-height: 86px;
  padding: 20px 36px;
  border: 0.5px solid #ffffff7c;
  color: #fff;
  text-decoration: none;
  text-align: left;
  transition:
    background-color 0.25s ease,
    color 0.25s ease,
    opacity 0.25s ease;
}

.footer__libraryButton span {
  font-size: 14px;
  line-height: 1.25;
  font-weight: 500;
}

.footer__libraryButton:hover {
  background-color: #fff;
  color: #000;
}

/* nav */
.footer__navList {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer__navItem + .footer__navItem {
  margin-top: 26px;
}

.footer__navLink {
  color: #fff;
  text-decoration: none;
  font-size: 12px;
  line-height: 1.4;
  transition: opacity 0.25s ease;
}

.footer__navLink:hover {
  opacity: 0.75;
}

/* contact */
.footer__contactLink {
  color: #dc000c;
  text-decoration: none;
  font-size: 18px;
  line-height: 1.4;
  font-weight: 500;
  transition: opacity 0.25s ease;
}

.footer__contactLink:hover {
  opacity: 0.75;
}

/* legal */
.footer__legalList {
  margin: 0;
  padding: 0;
  list-style: none;
  margin-top: auto;
}

.footer__legalItem + .footer__legalItem {
  margin-top: 8px;
}

.footer__legalLink {
  color: #fff;
  text-decoration: none;
  font-size: 12px;
  line-height: 1.5;
  transition: opacity 0.25s ease;
}

.footer__legalLink:hover {
  opacity: 0.75;
}

.footer__copyright {
  margin-top: 16px;
  font-size: 14px;
  line-height: 1.4;
  font-weight: 500;
}

/* -------------------------
   Footer Responsive
------------------------- */
@media screen and (min-width: 768px) and (max-width: 1024px) {
  .footer {
    padding-top: 88px;
  }

  .footer__grid {
    grid-template-columns: 1fr 240px;
    grid-template-areas:
      'info contact'
      'info nav'
      'library legal';
    column-gap: 48px;
    row-gap: 48px;
    align-items: start;
  }

  .footer__info {
    max-width: none;
  }

  .footer__library {
    justify-self: start;
    align-self: start;
  }

  .footer__nav {
    margin: 0;
  }

  .footer__legal {
    display: block;
  }

  .footer__legalList {
    margin-top: 0;
  }
}

@media screen and (max-width: 767px) {
  .footer {
    padding-top: 60px;
    padding-bottom: calc(60px + env(safe-area-inset-bottom));
  }

  .footer__grid {
    grid-template-columns: 1fr auto;
    grid-template-areas:
      'contact contact'
      'nav library'
      'info info'
      'legal legal';
    column-gap: 24px;
    row-gap: 0;
    align-items: start;
  }

  .footer__contactBlock {
    margin-bottom: 35px;
  }

  .footer__contactLink {
    font-size: 16px;
    line-height: 1.1;
    font-weight: 500;
  }

  .footer__nav {
    margin-bottom: 60px;
    margin-left: 16px;
  }

  .footer__navItem + .footer__navItem {
    margin-top: 32px;
  }

  .footer__navLink {
    font-size: 13px;
    line-height: 1.1;
    font-weight: 500;
  }

  .footer__library {
    justify-self: end;
    align-self: end;
    margin-bottom: 60px;
  }

  .footer__libraryButton {
    min-width: 124px;
    min-height: 42px;
    padding: 12px 14px;
    border: 1px solid #ffffff7c;
  }

  .footer__libraryButton span {
    font-size: 12px;
    line-height: 1.28;
    font-weight: 500;
  }

  .footer__info {
    max-width: none;
    margin-bottom: 50px;
  }

  .footer__company,
  .footer__address,
  .footer__tel,
  .footer__mail {
    font-size: 12px;
    line-height: 1.42;
  }

  .footer__info > * + * {
    margin-top: 12px;
  }

  .footer__legalItem + .footer__legalItem {
    margin-top: 8px;
  }

  .footer__legalLink {
    font-size: 12px;
    line-height: 1.5;
  }

  .footer__copyright {
    margin-top: 18px;
    font-size: 12px;
    line-height: 1.4;
    font-weight: 700;
  }
}

/* =========================
   Scroll Indicator
========================= */

.scrollIndicator {
  position: fixed;
  right: 40px;
  bottom: 0;
  z-index: 50;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  opacity: 0.9;
  pointer-events: none;
}

.scrollIndicator__text {
  display: inline-block;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  transform: rotate(180deg);
  transform-origin: center;
  font-size: 12px;
  line-height: 1;
  letter-spacing: 0.08em;
  color: #1a1311;
}

.scrollIndicator__line {
  position: relative;
  display: block;
  width: 1px;
  height: 108px;
  background-color: rgba(26, 19, 17, 0.18);
  overflow: hidden;
}

.scrollIndicator__line::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 36px;
  background-color: #1a1311;
  animation: scrollLineMove 2.2s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

.scrollIndicator__line::after {
  content: '';
  position: absolute;
  top: 0;
  left: -2px;
  width: 5px;
  height: 5px;
  border-radius: 9999px;
  background-color: #1a1311;
  animation: scrollDotMove 2.2s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes scrollLineMove {
  0% {
    transform: translateY(-40px);
    opacity: 0;
  }
  15% {
    opacity: 1;
  }
  70% {
    opacity: 1;
  }
  100% {
    transform: translateY(112px);
    opacity: 0;
  }
}

@keyframes scrollDotMove {
  0% {
    transform: translateY(-10px);
    opacity: 0;
  }
  15% {
    opacity: 1;
  }
  70% {
    opacity: 1;
  }
  100% {
    transform: translateY(112px);
    opacity: 0;
  }
}

/* -------------------------
   Scroll Indicator Responsive
------------------------- */
@media screen and (min-width: 768px) and (max-width: 1024px) {
  .scrollIndicator {
    right: 20px;
  }
}

@media screen and (max-width: 767px) {
  .scrollIndicator {
    display: none;
  }
}

/* =========================
   Works Detail
========================= */
.page-works-detail .worksDetail {
  padding-bottom: 320px;
}

.worksDetail__inner {
  width: 100%;
}

.worksDetail__header {
  width: 100%;
  max-width: 1664px;
  margin-inline: auto;
}

.worksDetail__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
  margin-top: 22px;
  font-size: 12px;
  line-height: 1.6;
  font-weight: 400;
}

.worksDetail__year,
.worksDetail__categories {
  display: inline;
}

.worksDetail__category + .worksDetail__category::before {
  content: ' / ';
}

.worksDetail__title {
  font-size: 32px;
  line-height: 1.18;
  font-weight: 500;
  letter-spacing: 0;
}

.worksDetail__hero {
  width: 100%;
  max-width: 1664px;
  margin: 56px auto 0;
  overflow: hidden;
  background-color: #f2f2f2;
  aspect-ratio: 1664 / 900;
}

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

.worksDetail__heroImage {
  width: 100%;
  height: auto;
  object-fit: cover;
  opacity: 0;
  filter: blur(8px);
  transform: scale(1.02);
  transition:
    opacity 0.8s ease,
    filter 0.9s ease,
    transform 1s cubic-bezier(0.22, 1, 0.36, 1);
}

.worksDetail__hero.is-visible .worksDetail__heroImage {
  opacity: 1;
  filter: blur(0);
  transform: scale(1);
}

.worksDetail__sections {
  width: 100%;
  max-width: 1664px;
  margin: 180px auto 0;
}

.worksDetailSection + .worksDetailSection {
  margin-top: 220px;
}

.worksDetailSection__text {
  max-width: 980px;
  margin-inline: auto;
  text-align: center;
}

.worksDetailSection__heading {
  font-size: 22px;
  line-height: 1.5;
  font-weight: 500;
}

.worksDetailSection__lead {
  max-width: 850px;
  margin: 38px auto 0;
}

.worksDetail .textBlock__text {
  font-size: 17px;
  font-weight: 400;
  text-align: left;
}

.worksDetailSection__media {
  width: 100%;
  max-width: 1280px;
  margin: 88px auto 0;
}

.worksDetailSection__media--stack {
  display: grid;
  row-gap: 100px;
}

.worksDetailMedia {
  position: relative;
  width: 100%;
  margin: 0;
  overflow: hidden;
  background-color: #fafafa;
}

.worksDetailMedia__image,
.worksDetailMedia__video {
  display: block;
  width: 100%;
  height: auto;
}

.worksDetailMedia--video {
  width: 100%;
  max-width: 1280px;
  aspect-ratio: 1280 / 850;
  margin: 0 auto;
  background-color: #000;
  overflow: hidden;
}

.worksDetailMedia__video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  background-color: #000;
}

/* 再生開始後は16:9を維持して黒帯ありで表示 */
.worksDetailMedia--is-playing .worksDetailMedia__video {
  object-fit: contain;
}

/* 動画オーバーレイ */
.worksDetailMedia__playButton {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
}

.worksDetailMedia__playOverlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.42);
}

.worksDetailMedia__playIcon {
  position: relative;
  z-index: 1;
  width: 136px;
  aspect-ratio: 1;
  border: 4px solid rgba(255, 255, 255, 0.78);
  border-radius: 50%;
  backdrop-filter: blur(2px);
}

.worksDetailMedia__playIcon::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 53%;
  transform: translate(-50%, -50%);
  width: 0;
  height: 0;
  border-top: 22px solid transparent;
  border-bottom: 22px solid transparent;
  border-left: 34px solid rgba(255, 255, 255, 0.88);
}

.worksDetailMedia--is-playing .worksDetailMedia__playButton {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.worksDetail__next {
  max-width: 1664px;
  margin: 240px auto 0;
  display: flex;
  justify-content: flex-end;
  margin-right: 0;
}

.worksDetailNext {
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  padding: 12px 0;
  cursor: pointer;
}

.worksDetailNext__label {
  font-size: 15px;
  font-weight: 400;
  color: #1a1311;
  white-space: nowrap;
  transition: transform 0.3s ease-out;
}

.worksDetailNext__line {
  position: relative;
  width: 300px;
  height: 1px;
  background-color: rgba(26, 19, 17, 0.15);
  overflow: hidden;
}

.worksDetailNext__line::after {
  content: '';
  position: absolute;
  inset: 0;
  background-color: #1a1311;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.worksDetailNext:hover .worksDetailNext__label {
  transform: translateX(4px);
}

.worksDetailNext:hover .worksDetailNext__line::after {
  transform: scaleX(1);
}

.worksDetailSection__library {
  margin-top: 250px;
  display: flex;
  justify-content: center;
}

/* -------------------------
   Works Detail Responsive
------------------------- */
@media screen and (min-width: 768px) and (max-width: 1024px) {
  .worksDetailNext__line {
    width: 120px;
  }
}

@media screen and (max-width: 767px) {
  .page-works-detail .section {
    padding-top: 0;
  }

  .page-works-detail .worksDetail {
    padding-bottom: 180px;
  }

  .worksDetail__inner {
    display: flex;
    flex-direction: column;
  }

  .worksDetail__header {
    max-width: none;
    margin-top: 0;
  }

  .worksDetail__meta {
    gap: 6px 10px;
    margin-bottom: 24px;
    font-size: 12px;
    line-height: 1.7;
    flex-direction: column;
  }

  .worksDetail__title {
    font-size: 22px;
    line-height: 1.5;
    font-weight: 500;
  }

  .worksDetail__category {
    display: block;
  }

  .worksDetail__category + .worksDetail__category::before {
    content: '';
  }

  .worksDetail__hero {
    order: -1;
    margin: 0 0 24px;
    margin-inline: calc(50% - 50vw);
    width: 100vw;
    max-width: none;
    margin-inline: calc(50% - 50vw);
    aspect-ratio: 375 / 380;
    height: auto;
  }

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

  .worksDetail__heroImage {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center center;
    opacity: 0;
    filter: blur(8px);
    transform: scale(1.02);
    transition:
      opacity 0.8s ease,
      filter 0.9s ease,
      transform 1s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .worksDetail__hero.is-visible .worksDetail__heroImage {
    opacity: 1;
    filter: blur(0);
    transform: scale(1);
  }

  .worksDetail__sections {
    max-width: none;
    margin-top: 96px;
  }

  .worksDetailSection + .worksDetailSection {
    margin-top: 140px;
  }

  .worksDetailSection__text {
    max-width: none;
    text-align: left;
  }

  .worksDetailSection__heading {
    font-size: 18px;
    line-height: 1.8;
  }

  .worksDetailSection__lead {
    max-width: none;
    margin-top: 28px;
  }

  .worksDetail .textBlock__text {
    font-size: 14px;
  }

  .worksDetailSection__media {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    margin-top: 48px;
  }

  .worksDetailSection__media--stack {
    row-gap: 48px;
  }

  .worksDetailMedia__playButton,
  .worksDetailMedia__playOverlay {
    display: none;
  }

  .worksDetailMedia--stacked {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
  }

  .worksDetailMedia__stackedImage {
    display: block;
    width: 100%;
    height: auto;
  }

  .worksDetailMedia--video {
    max-width: 100%;
    aspect-ratio: 16 / 9;
    background: none;
  }

  .worksDetailMedia__video {
    object-fit: cover;
  }

  .worksDetailMedia--is-playing .worksDetailMedia__video {
    object-fit: contain;
  }

  .worksDetail__next {
    margin-top: 120px;
    margin-right: 0;
  }

  .worksDetailNext__line {
    width: 60px;
  }

  .worksDetailSection__library {
    margin-top: 50px;
  }
}

/* =========================
   Corporate
========================= */

.page-corporate .corporate {
  padding-bottom: 300px;
}

.corporate__inner {
  max-width: 800px;
}

.corporate__content {
  width: 100%;
}

.corporateTable {
  width: 100%;
}

.corporateTable__row {
  display: grid;
  grid-template-columns: 100px 1fr;
  column-gap: 40px;
  align-items: start;
}

.corporateTable__row + .corporateTable__row {
  margin-top: 24px;
}

.corporateTable__head,
.corporateTable__body {
  margin: 0;
  font-size: 14px;
  line-height: 2;
  font-weight: 500;
}

.corporateTable__head {
  position: relative;
  top: 0.08em;
  font-weight: 400;
}

.corporateTable__body {
  align-self: start;
}

.corporateTable__link {
  text-decoration: none;
  transition: opacity 0.25s ease;
}

.corporateTable__link:hover {
  opacity: 0.7;
}

.corporateAccess {
  margin-top: 300px;
}

.corporateAccess__heading {
  margin-bottom: 100px;
}

.corporateAccess__map {
  width: 100%;
  max-width: 800px;
}

.corporateAccess__map iframe {
  display: block;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 4 / 3;
  height: auto;
  border: 0;
}

/* -------------------------
   Corporate Responsive
------------------------- */

@media screen and (max-width: 767px) {
  .page-corporate .corporate {
    padding-bottom: 180px;
  }

  .corporateTable__row {
    grid-template-columns: 1fr;
    row-gap: 8px;
  }

  .corporateTable__row + .corporateTable__row {
    margin-top: 40px;
  }

  .corporateAccess {
    margin-top: 120px;
  }

  .corporateAccess__heading {
    margin-bottom: 24px;
  }

  .corporateAccess__map iframe {
    aspect-ratio: 1 / 1;
  }
}

/* =========================
   Recruit
========================= */
@media screen and (max-width: 767px) {
  .page-recruit .section {
    padding-bottom: 250px;
  }
}

/* =========================
   Contact
========================= */
.contactForm {
  max-width: 800px;
  margin-top: 100px;
}

.contactForm__form {
  width: 100%;
}

.contactForm__row {
  display: grid;
  grid-template-columns: 132px 1fr;
  column-gap: 52px;
  align-items: start;
}

.contactForm__row + .contactForm__row {
  margin-top: 78px;
}

.contactForm__label {
  display: block;
  padding-top: 14px;
  font-size: 14px;
  line-height: 1.7;
  font-weight: 500;
  color: #1a1311;
}

.contactForm__field {
  width: 100%;
}

.contactForm__input,
.contactForm__textarea {
  width: 100%;
  border: none;
  border-radius: 0;
  background-color: #e9e9e9;
  color: #1a1311;
  font: inherit;
  appearance: none;
}

.contactForm__input {
  height: 54px;
  padding: 0 20px;
}

.contactForm__textarea {
  min-height: 376px;
  padding: 18px 20px;
  resize: vertical;
}

.contactForm__input::placeholder,
.contactForm__textarea::placeholder {
  color: rgba(26, 19, 17, 0.28);
}

.contactForm__input:focus,
.contactForm__textarea:focus {
  outline: none;
}

.contactForm__actions {
  margin-top: 88px;
  padding-left: 184px;
}

.contactForm__note {
  margin-top: 120px;
  font-size: 14px;
  line-height: 1.8;
  color: #1a1311;
}

.contactForm__noteLink {
  text-decoration: underline;
  text-underline-offset: 0.18em;
  transition: opacity 0.25s ease;
}

.contactForm__noteLink:hover {
  opacity: 0.7;
}

.contactComplete__title {
  font-size: 24px;
  line-height: 1.5;
  font-weight: 700;
}

.contactComplete .textBlock {
  margin-top: 56px;
}

.contactComplete__tel {
  margin-top: 72px;
}

.contactComplete__telLink {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.2;
  transition: opacity 0.25s ease;
}

.contactComplete__telLink:hover {
  opacity: 0.7;
}

.contactComplete__actions {
  margin-top: 84px;
}

/* -------------------------
   Contact Responsive
------------------------- */
@media screen and (max-width: 767px) {
  .contactForm {
    margin-top: 64px;
  }

  .contactForm__row {
    grid-template-columns: 1fr;
    row-gap: 14px;
  }

  .contactForm__row + .contactForm__row {
    margin-top: 40px;
  }

  .contactForm__label {
    padding-top: 0;
    font-size: 13px;
    line-height: 1.6;
  }

  .contactForm__input {
    height: 50px;
    padding: 0 16px;
  }

  .contactForm__textarea {
    min-height: 240px;
    padding: 16px;
  }

  .contactForm__actions {
    margin-top: 56px;
    padding-left: 0;
  }

  .contactForm__note {
    margin-top: 56px;
    font-size: 12px;
    line-height: 1.8;
  }
}

/* =========================
   Privacy Policy
========================= */
/* 共通 */
.privacyPolicy__inner,
.privacyDetail__inner {
  max-width: 800px;
}

/* ===== 方針ページ ===== */
.privacyPolicy__meta {
  margin-bottom: 64px;
  text-align: right;
  font-size: 14px;
}

.privacyPolicy__body {
  font-size: 14px;
  line-height: 2.2;
}

.privacyPolicy__body > * + * {
  margin-top: 40px;
}

.privacyPolicy__list {
  padding-left: 1.5em;
  list-style: decimal;
  font-weight: 400;
}

.privacyPolicy__item + .privacyPolicy__item {
  margin-top: 40px;
}

.privacyPolicy__signature {
  margin-top: 80px;
  text-align: right;
  font-size: 14px;
  line-height: 2.2;
}

.privacyPolicy__signature > * + * {
  margin-top: 40px;
}

.privacyPolicy__contact {
  margin-top: 80px;
  font-size: 14px;
  line-height: 2.2;
}

.privacyPolicy__link {
  margin-top: 160px;
  font-size: 14px;
  font-weight: 400;
}

/* ===== 詳細ページ ===== */

.privacyDetail__body {
  font-size: 14px;
  line-height: 2.2;
}

.privacyDetail__body h2 {
  margin-top: 56px;
  font-size: 18px;
  font-weight: 500;
}

.privacyDetail__body h2:first-child {
  margin-top: 0;
}

.privacyDetail__body h3 {
  margin-top: 24px;
  font-size: 14px;
  font-weight: 400;
}

.privacyDetail__body p {
  margin-top: 16px;
}

.privacyDetail__body dl {
  margin-top: 16px;
  font-weight: 400;
}

.privacyDetail__body dt {
  margin-top: 4px;
}

.privacyDetail__body dd {
  margin-top: 4px;
  margin-left: 1.5em;
}

/* -------------------------
   Privacy Policy Responsive
------------------------- */
@media screen and (max-width: 767px) {
  .privacyDetail__body h2 {
    font-size: 16px;
  }
}

/* =========================
   404
========================= */
.page-error .main {
  min-height: calc(100vh - 80px);
}

.error404 {
  display: flex;
  align-items: center;
  min-height: calc(100vh - 80px);
  padding-top: 180px;
  padding-bottom: 180px;
}

.error404__inner {
  max-width: 800px;
}

.error404__code {
  font-size: clamp(72px, 14vw, 180px);
  line-height: 0.9;
  font-weight: 500;
  letter-spacing: 0.02em;
  opacity: 0;
  transform: translate3d(0, 16px, 0);
  animation: error404FadeUp 0.9s ease 0.1s forwards;
}

.error404__title {
  margin-top: 24px;
  font-size: 30px;
  line-height: 1.2;
  font-weight: 500;
  opacity: 0;
  transform: translate3d(0, 16px, 0);
  animation: error404FadeUp 0.9s ease 0.2s forwards;
}

.error404__text {
  margin-top: 32px;
  max-width: 520px;
  font-size: 14px;
  line-height: 2;
  opacity: 0;
  transform: translate3d(0, 16px, 0);
  animation: error404FadeUp 0.9s ease 0.3s forwards;
}

.error404__actions {
  margin-top: 56px;
  opacity: 0;
  transform: translate3d(0, 16px, 0);
  animation: error404FadeUp 0.9s ease 0.4s forwards;
}

.error404__button {
  min-width: 220px;
}

@keyframes error404FadeUp {
  0% {
    opacity: 0;
    transform: translate3d(0, 16px, 0);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

/* -------------------------
   404 Responsive
------------------------- */
@media screen and (max-width: 767px) {
  .page-error .main {
    min-height: auto;
  }

  .error404 {
    min-height: calc(100svh - 60px);
    padding-top: 140px;
    padding-bottom: 120px;
  }

  .error404__title {
    margin-top: 16px;
    font-size: 24px;
  }

  .error404__text {
    margin-top: 24px;
    font-size: 13px;
    line-height: 1.9;
  }

  .error404__actions {
    margin-top: 40px;
  }

  .error404__button {
    width: 100%;
    min-width: 0;
  }
}

.error_message {
  color: red;
  font-size: 18px;
}