/* =========================================
   リセットcss
========================================= */
:root {
  --primary-blue: #1b4e6b;
  --dark-blue: #133a52;
  --text-main: #333333;
  --text-light: #ffffff;
  --bg-white: #ffffff;
  --font-en: "Montserrat", sans-serif;
  --font-ja: "Noto Sans JP", sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
}

body {
  font-family: var(--font-ja);
  color: var(--text-main);
  line-height: 1.6;
}

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

ul {
  list-style: none;
}

.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}

.service .container,
.why-us .container,
.footer .container {
  max-width: 100%;
  padding: 0 15%;
}

.sp-drawer {
  display: none;
}

/* ローディングアニメーション */
.loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: var(--bg-white);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.loading-screen.is-loaded {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loading-logo-wrap {
  position: relative;
  width: 240px;
  max-width: 60vw;
}

.loading-logo-wrap img {
  width: 100%;
  height: auto;
  display: block;
}

.loading-logo-base {
  filter: grayscale(100%) opacity(0.15);
}

.loading-logo-color {
  position: absolute;
  top: 0;
  left: 0;
  clip-path: inset(100% 0 0 0);
  animation: logo-fill 1.8s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

@keyframes logo-fill {
  0% {
    clip-path: inset(100% 0 0 0);
  }

  100% {
    clip-path: inset(0 0 0 0);
  }
}

/* =========================================
   ヘッダーとドロップダウンメニュー
========================================= */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  pointer-events: none;
  mix-blend-mode: difference;
}

body:has(.has-child:hover) .header,
body:has(.sub-menu:hover) .header {
  mix-blend-mode: normal !important;
}

.header-inner {
  display: flex;
  align-items: center;
  padding: 12px 40px;
  color: #ffffff;
  pointer-events: auto;
  min-height: 124px;
}

.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 90;
  pointer-events: none;
}

body:has(.has-child:hover) .menu-overlay,
body:has(.sub-menu:hover) .menu-overlay {
  opacity: 1;
  visibility: visible;
}

.logo {
  margin-right: auto;
}

.logo img {
  height: 100px;
  width: auto;
  vertical-align: middle;
  filter: none !important;
  mix-blend-mode: normal !important;
}

body:has(.has-child:hover) .logo img,
body:has(.sub-menu:hover) .logo img {
  content: url("img/logo2.svg");
}

.global-nav {
  margin-right: clamp(20px, 5vw, 100px);
}

.global-nav ul {
  display: flex;
  gap: clamp(20px, 4vw, 80px);
  font-family: var(--font-ja);
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
}

.global-nav ul li a,
.btn-header-contact {
  white-space: nowrap;
}

body:has(.has-child:hover) .global-nav>ul>li>a,
body:has(.sub-menu:hover) .global-nav>ul>li>a {
  color: #000000 !important;
  font-weight: 700 !important;
  text-shadow: none;
  mix-blend-mode: normal !important;
}

.global-nav>ul>li>a {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #ffffff;
  transition: opacity 0.3s ease;
  position: relative;
  z-index: 100 !important;
  opacity: 1;
  animation: none;
}

.global-nav ul li a:hover {
  opacity: 0.7;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* お問い合わせボタン  */
.btn-header-contact {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  background: #ffffff !important;
  color: #000000 !important;
  padding: 12px 28px;
  border-radius: 40px;
  font-weight: bold;
  font-family: var(--font-ja);
  font-size: 1rem;
  position: relative;
  z-index: 101;
  opacity: 1 !important;
  animation: none !important;
  transition: background-color 0.3s ease, color 0.3s ease, opacity 0.3s ease, transform 0.3s ease;
}

/* =========================================
   ドロップダウンメニュー
========================================= */
.has-child {
  position: static !important;
}

.has-child>a {
  display: flex;
  align-items: center;
  gap: 6px;
  position: relative;
  padding-bottom: 20px;
  margin-bottom: -20px;
}

.has-child>a::after {
  content: "▼";
  font-size: 0.5rem;
  margin-top: 2px;
  transform: scaleX(1.3);
  opacity: 0.9;
  transition: transform 0.3s ease;
}

.has-child:hover>a::after {
  transform: scaleX(1.3) rotate(180deg);
}

.sub-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: auto;
  min-height: 60vh;
  transform: translateY(-100%);
  display: flex;
  justify-content: flex-start;
  background: #ffffff;
  z-index: 95;
  padding: 124px 0 50px 0;
  border-radius: 0;
  border: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  margin-top: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  mix-blend-mode: normal !important;
  transition:
    transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1),
    visibility 0s linear 0.4s;
  text-align: left;
}

.sub-menu::before {
  display: none;
}

.has-child:hover .sub-menu,
.sub-menu:hover {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
  transition:
    transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1),
    visibility 0s linear 0s;
}

.has-child>a::before {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 100px;
  display: block !important;
  z-index: 10;
}

.global-nav ul li .mega-left {
  position: absolute;
  top: 124px;
  left: 0;
  width: 40vw;
  height: calc(100% - 124px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-end;
  padding: 0 50px 50px 0;
  margin-right: 0;
  border-right: none;
  text-decoration: none;
  overflow: hidden;
  z-index: 96;
}

.mega-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  margin-bottom: 0;
  border-radius: 0;
}

.mega-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), filter 0.8s ease;
}

.has-child:hover .mega-image img {
  transform: scale(1.05);
  filter: grayscale(0%);
}

.mega-title-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
  z-index: 1;
}

.mega-title-en {
  font-family: var(--font-en);
  font-size: clamp(2rem, 3.5vw, 4rem);
  white-space: nowrap;
  font-weight: 900;
  color: #ffffff;
  line-height: 1;
  letter-spacing: 0.05em;
  position: relative;
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.mega-title-ja {
  font-size: 1.2rem;
  font-weight: bold;
  color: #ffffff;
  margin-top: 10px;
  letter-spacing: 0.05em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.global-nav ul li a.mega-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 25px;
  padding: 10px 30px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  background-color: rgba(0, 0, 0, 0.2);
  color: #ffffff !important;
  font-family: var(--font-ja);
  font-size: 0.85rem;
  font-weight: bold;
  letter-spacing: 0.1em;
  border-radius: 40px;
  transition: all 0.5s ease;
  text-shadow: none;
  backdrop-filter: blur(4px);
  text-decoration: none;
  pointer-events: auto;
  mix-blend-mode: normal !important;
}

.global-nav ul li a.mega-btn:hover {
  background-color: #ffffff;
  color: var(--primary-blue) !important;
  border-color: #ffffff;
}

.global-nav ul li a.mega-btn span {
  display: inline-block;
}

@keyframes text-fade-flip {
  0% {
    opacity: 1;
    transform: translateY(0);
  }

  40% {
    opacity: 0;
    transform: translateY(-10px);
  }

  41% {
    opacity: 0;
    transform: translateY(10px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.global-nav ul li a.mega-btn:hover span {
  animation: text-fade-flip 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.mega-right {
  display: flex;
  align-items: flex-start;
  width: 60vw;
  max-width: 100%;
  margin-left: 40vw;
  padding: 30px 8vw 0;
  position: relative;
  z-index: 96;
}

.mega-right ul {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 60px;
  width: 100%;
}

.global-nav .sub-menu .mega-right ul li.list-item {
  display: flex;
  flex-direction: column;
  animation: none;
  opacity: 1;
  padding-bottom: 12px;
  mix-blend-mode: normal !important;
}

.list-title {
  font-family: var(--font-en);
  font-size: 0.85rem;
  font-weight: 500;
  color: #999999 !important;
  margin-bottom: 5px;
  letter-spacing: 0.05em;
  mix-blend-mode: normal !important;
}

.global-nav .sub-menu .mega-right ul li a {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  padding: 8px 0;
  font-size: 0.95rem;
  font-weight: 500;
  color: #333333 !important;
  mix-blend-mode: normal !important;
  opacity: 0.8;
  transition: opacity 0.3s ease;
  white-space: nowrap;
  width: 100%;
  gap: 20px;
  position: relative;
  border-bottom: 1px solid #e0e0e0;
}

.global-nav .sub-menu .mega-right ul li a::before {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: var(--primary-blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.global-nav .sub-menu .mega-right ul li a:hover::before {
  transform: scaleX(1);
}

.global-nav .sub-menu .mega-right ul li a:hover {
  opacity: 1;
  color: var(--primary-blue) !important;
}

.global-nav .sub-menu .mega-right ul li a::after {
  content: "";
  display: block;
  width: 6px;
  height: 6px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
  opacity: 0.3;
  margin-left: auto;
  transition: transform 0.3s ease, opacity 0.3s ease;
  mix-blend-mode: normal !important;
}

.global-nav .sub-menu .mega-right ul li a:hover::after {
  transform: rotate(45deg) translate(2px, -2px);
  opacity: 1;
}

@keyframes imageSwapAnim {
  0% {
    filter: grayscale(100%);
    transform: scale(1);
  }

  100% {
    filter: grayscale(0%);
    transform: scale(1.08);
  }
}

@keyframes imageSwapAnimAlt {
  0% {
    filter: grayscale(100%);
    transform: scale(1);
  }

  100% {
    filter: grayscale(0%);
    transform: scale(1.08);
  }
}

.mega-image-anim {
  animation: imageSwapAnim 1.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.mega-image-anim-alt {
  animation: imageSwapAnimAlt 1.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* お問い合わせボタン */
.btn-header-contact {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  color: #000000;
  padding: 12px 28px;
  border-radius: 40px;
  font-weight: bold;
  font-family: var(--font-ja);
  font-size: 1rem;
  transition: opacity 0.3s ease, transform 0.3s ease;
  mix-blend-mode: difference;
  position: relative;
  z-index: 100;
}

.btn-header-contact:hover {
  opacity: 0.8;
  transform: translateY(-2px);
}

.btn-header-contact .mail-icon {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

body:has(.has-child:hover) .btn-header-contact,
body:has(.sub-menu:hover) .btn-header-contact {
  background: var(--primary-blue) !important;
  color: #ffffff !important;
  mix-blend-mode: normal !important;
}

.logo,
.global-nav>ul>li>a {
  color: #ffffff;
  position: relative;
  z-index: 100;
  opacity: 1;
  animation: none;
}

/* =========================================
   ヒーローセクション
========================================= */
.hero {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  z-index: 0;
}

.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  z-index: -3;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom,
      rgba(0, 0, 0, 0.4) 0%,
      rgba(27, 78, 107, 0.8) 100%);
  z-index: -2;
}

.hero-darken {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #000000;
  opacity: 0;
  z-index: -1;
  pointer-events: none;
}

@keyframes hero-title-reveal {
  0% {
    opacity: 0;
    filter: blur(20px);
    transform: scale(1.1);
    letter-spacing: 0.15em;
  }

  100% {
    opacity: 1;
    filter: blur(0);
    transform: scale(1);
    letter-spacing: 0.05em;
  }
}

@keyframes hero-subtitle-reveal {
  0% {
    opacity: 0;
    transform: translateY(30px);
    letter-spacing: 0.4em;
  }

  100% {
    opacity: 1;
    transform: translateY(0);
    letter-spacing: 0.2em;
  }
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-content h1 {
  color: var(--text-light);
  font-family: var(--font-en);
  font-size: 10rem;
  font-weight: 900;
  line-height: 1.1;
  text-align: center;
  letter-spacing: 0.05em;
  animation: hero-title-reveal 2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-subtitle {
  color: var(--text-light);
  font-family: var(--font-ja);
  font-size: 1.5rem;
  font-weight: 700;
  text-align: center;
  letter-spacing: 0.2em;
  margin-top: 25px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  opacity: 0;
  animation: hero-subtitle-reveal 1.8s cubic-bezier(0.16, 1, 0.3, 1) 0.6s forwards;
}

/* =========================================
   図形 アニメーション
========================================= */
.hero-shapes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
}

.shape-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
  object-fit: contain;
  mix-blend-mode: screen;
  opacity: 0;
  border: none !important;
  outline: none !important;
  will-change: transform, opacity, filter;
  transform: translateZ(0);
  backface-visibility: hidden;
  image-rendering: -webkit-optimize-contrast;
}

.shooting-line,
.shooting-line-2 {
  z-index: 10;
  mix-blend-mode: screen;
  opacity: 0.9;
  -webkit-mask-image: linear-gradient(-45deg,
      transparent 45%,
      rgba(0, 0, 0, 1) 50%,
      transparent 55%);
  mask-image: linear-gradient(-45deg,
      transparent 45%,
      rgba(0, 0, 0, 1) 50%,
      transparent 55%);
  -webkit-mask-size: 300% 300%;
  mask-size: 300% 300%;
}

.shooting-line {
  left: 50%;
  top: -15%;
  animation: shooting-star-mask 4s linear infinite;
}

.shooting-line-2 {
  left: -40%;
  top: -40%;
  animation: shooting-star-mask 5s linear infinite 2s;
}

@keyframes shooting-star-mask {
  0% {
    -webkit-mask-position: 100% 100%;
    mask-position: 100% 100%;
  }

  70% {
    -webkit-mask-position: 0% 0%;
    mask-position: 0% 0%;
  }

  100% {
    -webkit-mask-position: 0% 0%;
    mask-position: 0% 0%;
  }
}

.shape-1-photo,
.shape-2-photo {
  width: 100% !important;
  height: 100% !important;
  position: absolute;
  top: 0;
  left: 0;
  mix-blend-mode: normal !important;
  opacity: 0;
  will-change: opacity;
  transition: opacity 2.5s cubic-bezier(0.25, 1, 0.5, 1);
  -webkit-mask-image: url("img/shapes.webp");
  mask-image: url("img/shapes.webp");
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  background-repeat: no-repeat;
}

.shape-1-photo {
  transform: translate(45%, -55%) scale(1.4);
  background-image: url("img/sportscar.webp");
  background-size: 40% !important;
  background-position: 30% 100% !important;
  transition-delay: 0s !important;
}

.shape-2-photo {
  transform: translate(-55%, 60%) scale(1.4);
  background-image: url("img/seibi.webp");
  background-size: 70% !important;
  background-position: 30% -10% !important;
  transition-delay: 1s !important;
}

.shape-1-photo.is-active,
.shape-2-photo.is-active {
  opacity: 1;
}

.shape-1 {
  animation: flow-left-top 1.5s cubic-bezier(0.16, 1, 0.3, 1) 0s forwards;
}

.shape-2 {
  animation: flow-left-bottom 1.5s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
}

.shape-3 {
  animation: flow-right-top 1.5s cubic-bezier(0.16, 1, 0.3, 1) 0.4s forwards;
}

.shape-4 {
  animation: flow-pure-left 1.5s cubic-bezier(0.16, 1, 0.3, 1) 0.6s forwards;
}

.shape-5 {
  animation: flow-zoom 1.5s cubic-bezier(0.16, 1, 0.3, 1) 0.8s forwards;
}

@keyframes flow-left-top {
  0% {
    opacity: 0;
    transform: translate(45%, -55%) scale(1.4);
    clip-path: inset(0 0 100% 0);
  }

  100% {
    opacity: 1;
    transform: translate(45%, -55%) scale(1.4);
    clip-path: inset(0 0 0 0);
  }
}

@keyframes flow-left-bottom {
  0% {
    opacity: 0;
    transform: translate(-55%, 60%) scale(1.4);
    clip-path: inset(0 0 100% 0);
  }

  100% {
    opacity: 1;
    transform: translate(-55%, 60%) scale(1.4);
    clip-path: inset(0 0 0 0);
  }
}

@keyframes flow-right-top {
  0% {
    opacity: 0;
    transform: translate(26%, -14%) scale(0.3);
    clip-path: inset(0 0 100% 0);
  }

  100% {
    opacity: 1;
    transform: translate(26%, -14%) scale(0.3);
    clip-path: inset(0 0 0 0);
  }
}

@keyframes flow-pure-left {
  0% {
    opacity: 0;
    transform: translate(-18%, -40%) scale(0.3);
    clip-path: inset(0 0 100% 0);
  }

  100% {
    opacity: 1;
    transform: translate(-18%, -40%) scale(0.3);
    clip-path: inset(0 0 0 0);
  }
}

@keyframes flow-zoom {
  0% {
    opacity: 0;
    transform: translate(40%, 45%) scale(0.5);
    clip-path: inset(0 0 100% 0);
  }

  100% {
    opacity: 1;
    transform: translate(40%, 45%) scale(0.5);
    clip-path: inset(0 0 0 0);
  }
}

/* =========================================
   文章
========================================= */
.about {
  background: linear-gradient(to bottom,
      transparent 0%,
      transparent 65%,
      var(--primary-blue) 100%);
  padding: 100px 0;
  text-align: center;
  position: relative;
  z-index: 20;
  margin-top: 30vh;
}

.about-title {
  position: relative;
  z-index: 2;
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 50px;
  letter-spacing: 0.1em;
  color: #ffffff;
}

.about-text {
  position: relative;
  z-index: 2;
  font-weight: 900;
  font-size: clamp(1.0rem, 3.0vw, 2.3rem) !important;
  line-height: 2.2;
  padding-bottom: 30vh;
  margin-bottom: 40px;
  color: #ffffff;
}

.scroll-reveal-wrap .reveal-mask {
  display: block;
  margin-bottom: 2em;
}

.scroll-reveal-wrap .reveal-mask:last-child {
  margin-bottom: 0;
}

.reveal-mask {
  perspective: 1000px;
  will-change: opacity, filter, transform;
}

.reveal-mask .reveal-inner {
  display: block;
}

.reveal-mask .reveal-inner .char {
  display: inline-block;
  opacity: 0;
  transform: translateX(-15px) skewX(-15deg);
  filter: blur(12px);
  transition-property: transform, opacity, filter;
  transition-duration: 1.2s;
  transition-timing-function: cubic-bezier(0.25, 1, 0.5, 1);
  transition-delay: var(--delay);
}

.reveal-mask.is-visible .reveal-inner .char {
  opacity: 1;
  transform: translateX(0) skewX(0deg);
  filter: blur(0px);
}

/* =========================================
   事業内容
========================================= */
.service {
  background-color: var(--primary-blue);
  color: var(--text-light);
  padding: 120px 0;
  position: relative;
  z-index: 20;
}

.service .container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 80px;
}

.section-header {
  position: sticky;
  top: 160px;
  width: 25%;
  flex-shrink: 0;
}

.section-title-en {
  font-family: var(--font-en);
  font-size: 3.5rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  line-height: 1;
}

.section-subtitle {
  font-size: 1rem;
  letter-spacing: 0.1em;
  margin-top: 15px;
  margin-bottom: 0;
  opacity: 0.8;
}

.service-list {
  display: flex;
  flex-direction: column;
  width: 68%;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-bottom: 0;
}

.service-item {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 50px 10px;
  margin: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  z-index: 1;
  overflow: hidden;
  box-shadow: none !important;
  border-radius: 0 !important;
  min-height: auto;
}

.service-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: var(--bg-white);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.6s ease-in-out;
  z-index: -1;
}

.service-item:hover::before {
  transform: scaleX(1);
  transform-origin: left;
}

.service-info {
  flex: 1;
  padding-right: 40px;
}

.service-info h3 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: bold;
  letter-spacing: 0.05em;
  margin-bottom: 20px;
  word-break: keep-all;
}

.service-info p {
  font-size: 1rem;
  line-height: 1.8;
  opacity: 0.9;
  margin-bottom: 40px;
}

.arrow-link {
  font-size: 1rem;
  font-family: var(--font-en);
  letter-spacing: 0.05em;
  display: inline-flex;
  align-items: center;
  gap: 20px;
  cursor: pointer;
  transition: color 0.4s ease;
}

.arrow-link::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
}

.arrow-link .circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid #ffffff;
  border-radius: 50%;
  overflow: hidden;
  transition: border-color 0.6s ease;
}

.arrow-link .arrow {
  font-style: normal;
  font-weight: 300;
  font-size: 1.2rem;
  transition: color 0.4s ease;
}

@keyframes fade-flip-in {
  0% {
    opacity: 1;
    transform: translateY(0);
    color: var(--text-light);
  }

  40% {
    opacity: 0;
    transform: translateY(-15px);
    color: var(--text-light);
  }

  41% {
    opacity: 0;
    transform: translateY(15px);
    color: var(--primary-blue);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
    color: var(--primary-blue);
  }
}

@keyframes fade-flip-out {
  0% {
    opacity: 1;
    transform: translateY(0);
    color: var(--primary-blue);
  }

  40% {
    opacity: 0;
    transform: translateY(-15px);
    color: var(--primary-blue);
  }

  41% {
    opacity: 0;
    transform: translateY(15px);
    color: var(--text-light);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
    color: var(--text-light);
  }
}

.service-item.is-enter .service-info h3,
.service-item.is-enter .service-info p {
  animation: fade-flip-in 0.8s ease forwards;
}

.service-item.is-enter .arrow-link {
  color: var(--primary-blue);
}

.service-item.is-enter .arrow-link .circle {
  border-color: var(--primary-blue);
}

.service-item.is-enter .arrow-link .arrow {
  color: var(--primary-blue);
}

.service-item.is-leave .service-info h3,
.service-item.is-leave .service-info p {
  animation: fade-flip-out 0.8s ease forwards;
}

.service-item.is-leave .arrow-link {
  color: var(--text-light);
}

.service-item.is-leave .arrow-link .circle {
  border-color: #ffffff;
}

.service-item.is-leave .arrow-link .arrow {
  color: #ffffff;
}

.service-item:hover .arrow-link .arrow {
  animation: fly-arrow 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fly-arrow {
  0% {
    transform: translateX(0);
  }

  40% {
    transform: translateX(150%);
  }

  41% {
    transform: translateX(-150%);
  }

  100% {
    transform: translateX(0);
  }
}

.service-img {
  width: 42%;
  aspect-ratio: 16 / 9;
  height: auto;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  -webkit-mask-image: -webkit-radial-gradient(white, black);
}

.service-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease-in-out;
}

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

/* =========================================
   代表挨拶・会社概要
========================================= */
.mid-banners {
  display: flex;
  width: 100%;
  height: 320px;
  position: relative;
  z-index: 20;
}

.banner {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 10%;
  color: var(--text-light);
  overflow: hidden;
  text-decoration: none;
}

.banner-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 0;
}

.banner-left .banner-bg {
  background-image: url("img/President’s Message.webp");
  background-position: center 70%;
}

.banner-right .banner-bg {
  background-image: url("img/Company Profile.webp");
}

.banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(19, 58, 82, 0.5);
  transition: background 0.5s ease;
  z-index: 1;
}

.banner-text {
  position: relative;
  z-index: 2;
  text-align: left;
}

.banner-text h3 {
  font-size: 2.2rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  margin-bottom: 5px;
}

.banner-text .en-title {
  font-family: var(--font-ja);
  font-size: 1rem;
  font-weight: 300;
  letter-spacing: 0.05em;
  opacity: 0.9;
}

.banner-arrow {
  position: relative;
  z-index: 2;
  font-size: 1rem;
  font-family: var(--font-en);
  letter-spacing: 0.05em;
  display: inline-flex;
  align-items: center;
  gap: 20px;
}

.banner-arrow .circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid #ffffff;
  border-radius: 50%;
  overflow: hidden;
  transition: background-color 0.4s ease, border-color 0.4s ease;
}

.banner-arrow .arrow {
  font-style: normal;
  font-weight: 300;
  font-size: 1.2rem;
  color: #ffffff;
  transition: color 0.4s ease;
}

.banner:hover .banner-bg {
  transform: scale(1.05);
}

.banner:hover::before {
  background: rgba(19, 58, 82, 0);
}

.banner:hover .banner-arrow .circle {
  background-color: #ffffff;
  border-color: #ffffff;
}

.banner:hover .banner-arrow .arrow {
  color: var(--primary-blue);
  animation: fly-arrow 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* =========================================
   選ばれる理由
========================================= */
.footer-stack-wrap {
  position: relative;
  z-index: 10;
  display: block;
}

.why-us {
  position: relative;
  min-height: 100vh;
  height: auto;
  display: block;
  background-color: #e8edf5;
  padding-top: 100px;
  padding-bottom: 0;
  text-align: left;
  z-index: 1;
  transform-origin: center bottom;
}

.why-us-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("img/Texture.png");
  background-size: 130% 130%;
  background-position: 100% 100%;
  mix-blend-mode: screen;
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  -webkit-clip-path: inset(0 0 100% 0);
  clip-path: inset(0 0 100% 0);
  transition: opacity 6s cubic-bezier(0.16, 1, 0.3, 1) 1.5s, clip-path 6s cubic-bezier(0.16, 1, 0.3, 1) 1.5s;
}

.why-us-bg.is-visible {
  opacity: 1;
  clip-path: inset(0 0 0 0);
}

.why-us-content {
  position: relative;
  z-index: 2;
  width: 100%;
}

.why-us-header {
  margin-bottom: 50px;
  text-align: left;
}

.why-us-title {
  font-family: var(--font-en);
  font-size: 3em;
  font-weight: 900;
  color: var(--primary-blue);
  line-height: 1.1;
  letter-spacing: 0.05em;
  margin-bottom: 15px;
  text-align: left;
}

.why-us-subtitle {
  font-size: 1.1rem;
  font-weight: bold;
  color: var(--primary-blue);
  letter-spacing: 0.1em;
  text-align: left;
}

.why-us-body {
  position: relative;
  width: 100%;
  padding-bottom: 20px;
  text-align: left;
}

.why-us-body .desc {
  font-size: 0.95rem;
  line-height: 2.4;
  color: var(--primary-blue);
  max-width: 800px;
  margin: 0;
  text-align: left;
}

.why-us-btn-wrap {
  width: 100%;
  display: flex;
  justify-content: flex-end;
  margin-top: 50px;
  position: relative;
  z-index: 3;
}

.arrow-link.dark-theme {
  color: var(--primary-blue);
}

.arrow-link.dark-theme .circle {
  border-color: var(--primary-blue);
}

.arrow-link.dark-theme .arrow {
  color: var(--primary-blue);
}

.arrow-link.dark-theme::before {
  display: none;
}

.why-us-btn-wrap:hover .arrow-link.dark-theme .arrow {
  animation: fly-arrow 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.why-us-bottom-img {
  position: relative;
  width: 100%;
  margin-top: -100px;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.why-us-bottom-img .img-container {
  position: relative;
  width: 100%;
  display: block;
}

.why-us-bottom-img img {
  width: 100%;
  height: auto !important;
  display: block;
  opacity: 1;
}

.why-us-bottom-img .img-container::after {
  content: "";
  position: absolute;
  inset: 0;
  background-color: var(--primary-blue);
  -webkit-mask-image: url("img/seibikoujou.png");
  mask-image: url("img/seibikoujou.png");
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  z-index: 2;
  clip-path: inset(0 0 0 0);
  transition: clip-path 2.5s cubic-bezier(0.25, 1, 0.5, 1) 0.8s;
  will-change: clip-path;
}

.why-us-bottom-img.is-visible .img-container::after {
  clip-path: inset(100% 0 0 0);
}

/* =========================================
   CONTACT、フッター
========================================= */
.footer {
  margin-top: 0 !important;
  position: relative;
  background-color: #222222;
  color: var(--text-light);
  padding: 100px 0 20px;
  overflow: hidden;
  z-index: 20;
  border-radius: 80px 80px 0 0;
  box-shadow: 0 -20px 50px rgba(0, 0, 0, 0.4);
}

.footer-content {
  position: relative;
  z-index: 3;
}

.contact-header {
  text-align: left;
  margin-bottom: 50px;
}

.contact-header .section-title-en {
  font-size: 5rem;
  margin-bottom: 5px;
  letter-spacing: 0.08em;
}

.contact-lead {
  margin-top: 30px;
  font-size: 1rem;
  line-height: 1.8;
  opacity: 0.6;
}

.contact-buttons {
  display: flex;
  gap: 30px;
  margin-bottom: 80px;
}

.btn-contact {
  position: relative;
  overflow: hidden;
  z-index: 1;
  flex: 1;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px 40px;
  border-radius: 12px;
  gap: 25px;
  transition: color 0.4s ease, border-color 0.4s ease;
  box-shadow: none;
}

.btn-contact::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #ffffff;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.6s ease-in-out;
  z-index: -1;
}

.btn-contact:hover::before {
  transform: scaleX(1);
  transform-origin: left;
}

.btn-contact:hover {
  color: #222222;
  border-color: #ffffff;
}

.btn-contact .icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  color: #ffffff;
  transition: color 0.4s ease;
}

.btn-contact:hover .icon {
  color: #222222;
}

.btn-contact .icon svg {
  width: 100%;
  height: 100%;
}

.btn-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  white-space: nowrap;
  align-items: center;
  margin-right: 60px;
}

.btn-phone .sub {
  font-size: 0.75rem;
  font-weight: normal;
  opacity: 0.7;
}

.btn-phone .main {
  font-family: var(--font-ja);
  font-size: 1.1rem;
  font-weight: bold;
}

.btn-phone .number {
  font-family: var(--font-en);
  font-size: 2.2rem;
  font-weight: 300;
  margin-left: 5px;
}

.btn-mail .main {
  font-size: 1.2rem;
  font-weight: normal;
  letter-spacing: 0.05em;
}

.btn-arrow {
  display: flex;
  align-items: center;
  color: #ffffff;
  position: absolute;
  right: 40px;
  transition: transform 0.3s ease, color 0.4s ease;
}

.btn-arrow svg {
  width: 70px;
  height: auto;
}

.btn-contact:hover .btn-arrow {
  transform: translateX(10px);
  color: #222222;
}

.footer-info-grid {
  display: flex;
  justify-content: space-between;
  padding-top: 60px;
  margin-bottom: 60px;
  position: relative;
}

.footer-info-grid::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
}

.footer-logo-area {
  width: 25%;
}

.footer-logo-area .company-name {
  font-weight: bold;
  font-size: 1.1rem;
  margin-bottom: 20px;
}

.footer-logo-area .address {
  font-size: 0.85rem;
  line-height: 1.8;
  opacity: 0.8;
  margin-bottom: 15px;
}

.footer-links-area {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  width: 70%;
}

.link-col {
  flex: 1;
}

.footer-nav-single .col-title {
  margin-bottom: 25px;
}

.footer-nav-single .col-title:last-child {
  margin-bottom: 0;
}

.footer-nav-single .col-title a {
  transition: opacity 0.3s ease;
}

.footer-nav-single .col-title a:hover {
  opacity: 0.7;
}

.col-title {
  font-size: 1.1rem;
  font-weight: bold;
  margin-bottom: 25px;
  color: var(--text-light);
}

.sub-links li {
  margin-bottom: 15px;
  display: flex;
  align-items: center;
}

.sub-links li a {
  font-size: 0.9rem;
  font-weight: normal;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.sub-links li a:hover {
  opacity: 1;
}

.sub-links li::before {
  content: "";
  display: inline-block;
  width: 15px;
  height: 1px;
  background-color: var(--text-light);
  margin-right: 15px;
  opacity: 0.7;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 20px;
  position: relative;
  z-index: 5;
}

.copyright {
  text-align: left;
  font-size: 0.7rem;
  font-family: var(--font-en);
  opacity: 0.5;
}

.back-to-top {
  display: flex;
  align-items: center;
  gap: 15px;
  color: #ffffff;
  opacity: 0.7;
  transition: opacity 0.4s ease;
}

.back-to-top:hover {
  opacity: 1;
}

.btt-text {
  font-family: var(--font-en);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
}

.btt-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  position: relative;
  overflow: hidden;
  transition: background-color 0.4s ease, border-color 0.4s ease, color 0.4s ease;
}

.btt-arrow svg {
  width: 18px;
  height: auto;
}

.back-to-top:hover .btt-arrow {
  background-color: #ffffff;
  border-color: #ffffff;
  color: #222222;
}

.back-to-top:hover .btt-arrow svg {
  animation: fly-up 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fly-up {
  0% {
    transform: translateY(0);
  }

  40% {
    transform: translateY(-150%);
  }

  41% {
    transform: translateY(150%);
  }

  100% {
    transform: translateY(0);
  }
}

.footer-watermark {
  position: absolute;
  bottom: 70px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-en);
  font-size: 12vw;
  font-weight: 900;
  line-height: 0.8;
  color: rgba(255, 255, 255, 0.1);
  white-space: nowrap;
  z-index: 2;
  pointer-events: none;
}

/* =========================================
   アニメーション
========================================= */
@keyframes float {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-20px);
  }

  100% {
    transform: translateY(0px);
  }
}

.float-anim {
  animation: float 4s ease-in-out infinite;
}

.floating-icon {
  position: absolute;
  opacity: 0.8;
  z-index: 1;
}

.fade-in-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.stagger-wrap .stagger-item {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.stagger-wrap.is-visible .stagger-item {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.stagger-wrap.is-visible .stagger-item:nth-child(1) {
  transition-delay: 0.1s;
}

.stagger-wrap.is-visible .stagger-item:nth-child(2) {
  transition-delay: 0.25s;
}

.stagger-wrap.is-visible .stagger-item:nth-child(3) {
  transition-delay: 0.4s;
}

.stagger-wrap.is-visible .stagger-item:nth-child(4) {
  transition-delay: 0.55s;
}

@media (pointer: fine) {

  body,
  a,
  button {
    cursor: none;
  }
}

.cursor,
.cursor-follower {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9999;
  mix-blend-mode: difference;
}

.cursor {
  width: 8px;
  height: 8px;
  background-color: #ffffff;
  border-radius: 50%;
  transition: opacity 0.2s ease;
}

.cursor-follower {
  width: 40px;
  height: 40px;
  border: 1.5px solid #ffffff;
  border-radius: 50%;
  transition: width 0.3s ease, height 0.3s ease, background-color 0.3s ease;
}

.cursor.is-active {
  opacity: 0;
}

.cursor-follower.is-active {
  width: 60px;
  height: 60px;
  background-color: #ffffff;
  border-color: transparent;
}

.sp-br {
  display: none;
}

/* =========================================
   タブレット版 (1096px以下)
========================================= */
@media screen and (max-width: 1096px) {
  .container {
    padding: 0 30px;
  }

  .service .container,
  .why-us .container,
  .footer .container {
    padding: 0 5%;
  }

  .global-nav {
    margin-right: 40px;
  }

  .global-nav ul {
    gap: 30px;
    font-size: 0.85rem;
  }

  .hero-content h1 {
    font-size: 7rem;
  }

  .service .container {
    gap: 40px;
  }

  .section-header {
    width: 30%;
  }

  .service-list {
    width: 65%;
  }

  .footer-info-grid {
    flex-wrap: wrap;
    gap: 40px;
  }

  .footer-logo-area,
  .footer-links-area {
    width: 100%;
  }
}

/* =========================================
   スマートフォン版 (820px以下)
========================================= */
@media screen and (max-width: 820px) {
  .sp-br {
    display: block;
  }

  .header {
    mix-blend-mode: normal !important;
    position: absolute !important;
    pointer-events: none !important;
    z-index: auto !important;
  }

  .header-inner {
    padding: 0 !important;
    min-height: 0 !important;
  }

  .logo {
    position: fixed !important;
    top: 15px !important;
    left: 15px !important;
    z-index: 100 !important;
    mix-blend-mode: difference !important;
    pointer-events: auto !important;
  }

  .logo img {
    height: 85px !important;
    width: auto !important;
    display: block !important;
    mix-blend-mode: normal !important;
    filter: none !important;
  }

  .header-actions {
    position: fixed !important;
    top: 30px !important;
    right: 20px !important;
    z-index: 101 !important;
    mix-blend-mode: normal !important;
    pointer-events: auto !important;
  }

  .hamburger {
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 56px !important;
    height: 56px !important;
    background-color: rgba(255, 255, 255, 0.5) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(255, 255, 255, 0.8) !important;
    border-radius: 50% !important;
    gap: 6px !important;
    cursor: pointer;
    mix-blend-mode: normal !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.3s ease !important;
  }

  .hamburger span {
    display: block;
    width: 26px !important;
    height: 2px !important;
    background-color: var(--primary-blue) !important;
    border-radius: 2px;
    transform-origin: center !important;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease, width 0.4s ease !important;
  }

  .hamburger:hover span:nth-child(1),
  .hamburger:hover span:nth-child(3) {
    width: 30px !important;
  }

  .hamburger.is-active {
    background-color: rgba(255, 255, 255, 0.9) !important;
    border-color: transparent !important;
  }

  .hamburger.is-active span {
    background-color: var(--primary-blue) !important;
    width: 28px !important;
  }

  .hamburger.is-active span:nth-child(1) {
    transform: translateY(8px) rotate(225deg) !important;
  }

  .hamburger.is-active span:nth-child(2) {
    opacity: 0 !important;
    transform: scaleX(0) !important;
  }

  .hamburger.is-active span:nth-child(3) {
    transform: translateY(-8px) rotate(-225deg) !important;
  }

  .btn-header-contact,
  .global-nav {
    display: none !important;
  }

  .hero-content h1 {
    font-size: 15vw;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .about {
    margin-top: 15vh;
    padding: 60px 0;
  }

  .about-title {
    font-size: 1.5rem;
    margin-bottom: 30px;
  }

  .about-text {
    font-size: 1.1rem;
    padding-bottom: 10vh;
  }

  .service {
    padding: 60px 0 0 !important;
  }

  .service-list .service-item:last-child {
    border-bottom: none !important;
  }

  .service .container {
    flex-direction: column;
    gap: 30px;
    padding: 0;
  }

  .section-header {
    position: static;
    width: 100%;
    padding: 0 5%;
  }

  .section-title-en {
    font-size: 2.5rem;
  }

  .service-list {
    width: 100%;
  }

  .service-item {
    flex-direction: column-reverse;
    padding: 30px 5%;
    gap: 20px;
    align-items: flex-start;
  }

  .service-info {
    padding-right: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
  }

  .service-info .arrow-link {
    margin-left: auto;
    width: fit-content;
  }

  .service-img {
    width: 100%;
  }

  .service-item:hover .service-info h3,
  .service-item:hover .service-info p,
  .service-item:active .service-info h3,
  .service-item:active .service-info p,
  .service-item.is-enter .service-info h3,
  .service-item.is-enter .service-info p {
    animation: none !important;
    color: var(--primary-blue) !important;
  }

  .service-item:hover .arrow-link,
  .service-item:active .arrow-link,
  .service-item.is-enter .arrow-link,
  .service-item:hover .arrow-link .circle,
  .service-item:active .arrow-link .circle,
  .service-item.is-enter .arrow-link .circle,
  .service-item:hover .arrow-link .arrow,
  .service-item:active .arrow-link .arrow,
  .service-item.is-enter .arrow-link .arrow {
    color: var(--primary-blue) !important;
    border-color: var(--primary-blue) !important;
  }

  .mid-banners {
    flex-direction: column;
    height: auto !important;
  }

  .banner {
    flex: none !important;
    width: 100% !important;
    height: 120px !important;
    padding: 0 5%;
  }

  .banner-text h3 {
    font-size: 1.1rem !important;
    margin-bottom: 2px !important;
  }

  .banner-text .en-title {
    font-size: 0.75rem !important;
  }

  .why-us {
    padding-top: 60px;
    padding-bottom: 0 !important;
  }

  .why-us-title {
    font-size: 2.2rem;
  }

  .why-us-body .desc {
    line-height: 2;
  }

  .why-us-bottom-img {
    margin-top: -30px;
    margin-bottom: -5px !important;
  }

  #whyus {
    transform: none !important;
    filter: none !important;
  }

  /* フッター＆ボタン（矢印サイズ・文字サイズ・重なり位置修正） */
  .footer {
    margin-top: -100px !important;
    padding: 50px 0 20px !important;
    border-radius: 40px 40px 0 0 !important;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.15) !important;
  }

  .contact-header .section-title-en {
    font-size: 2.8rem;
  }

  .contact-buttons {
    flex-direction: column;
    gap: 15px;
    margin-bottom: 50px;
  }

  .btn-contact {
    padding: 15px;
    gap: 15px;
  }

  .btn-text {
    margin-right: 20px !important;
  }

  .btn-phone .sub {
    font-size: 0.7rem !important;
  }

  .btn-phone .main {
    font-size: 0.95rem !important;
  }

  .btn-phone .number {
    font-size: 1.3rem !important;
  }

  .btn-mail .main {
    font-size: 0.95rem !important;
  }

  .btn-arrow {
    right: 15px !important;
  }

  .btn-arrow svg {
    width: 24px !important;
  }

  .footer-info-grid::before {
    display: none !important;
  }

  .footer-logo-area {
    text-align: center !important;
    margin-bottom: 40px !important;
  }

  .footer-logo-area .logo {
    position: static !important;
    margin: 0 auto !important;
    text-align: center !important;
    mix-blend-mode: normal !important;
  }

  .footer-logo-area .logo img {
    margin: 0 auto !important;
    display: block !important;
    height: 130px !important;
    width: auto !important;
    mix-blend-mode: normal !important;
  }

  .footer-logo-area .company-name,
  .footer-logo-area .address {
    display: none !important;
  }

  .footer-info-grid {
    flex-direction: column !important;
    padding-top: 20px !important;
  }

  .footer-links-area {
    width: 100% !important;
    flex-direction: column !important;
    gap: 0 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.2) !important;
  }

  .link-col {
    padding: 0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2) !important;
  }

  .col-title {
    margin-bottom: 0 !important;
    position: relative !important;
    padding: 0 !important;
  }

  .col-title a {
    display: flex !important;
    align-items: center !important;
    width: 100% !important;
    padding: 20px 10px !important;
    font-size: 1rem !important;
    font-weight: normal !important;
    color: #ffffff !important;
    cursor: pointer;
    text-decoration: none !important;
  }

  .col-title::before,
  .col-title::after {
    content: "" !important;
    position: absolute !important;
    right: 12px !important;
    top: 50% !important;
    width: 12px !important;
    height: 1.5px !important;
    background-color: #ffffff !important;
    border-radius: 2px !important;
    opacity: 0.8 !important;
    pointer-events: none !important;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
  }

  .col-title::before {
    transform: translateY(-50%) rotate(0deg) !important;
  }

  .col-title::after {
    transform: translateY(-50%) rotate(90deg) !important;
  }

  .link-col.is-open .col-title::before {
    transform: translateY(-50%) rotate(180deg) !important;
  }

  .link-col.is-open .col-title::after {
    transform: translateY(-50%) rotate(180deg) !important;
  }

  .footer-nav-single .col-title::before,
  .footer-nav-single .col-title::after {
    display: none !important;
  }

  .footer-nav-single {
    border-bottom: none !important;
  }

  .footer-nav-single .col-title {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2) !important;
  }

  .sub-links {
    max-height: 0 !important;
    opacity: 0 !important;
    visibility: hidden !important;
    overflow: hidden !important;
    padding: 0 10px 0 20px !important;
    transition: max-height 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease, padding 0.5s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.5s !important;
  }

  .link-col.is-open .sub-links {
    max-height: 400px !important;
    opacity: 1 !important;
    visibility: visible !important;
    padding: 0 10px 20px 20px !important;
  }

  .sub-links li {
    margin-bottom: 15px !important;
  }

  .sub-links li:last-child {
    margin-bottom: 0 !important;
  }

  .sub-links li::before {
    display: none !important;
  }

  .sub-links li a {
    font-size: 0.9rem !important;
    opacity: 0.6 !important;
  }

  .footer-bottom {
    justify-content: center !important;
    padding-top: 30px !important;
    flex-direction: row !important;
    border-top: none !important;
  }

  .back-to-top {
    display: none !important;
  }

  .copyright {
    text-align: center !important;
    width: 100% !important;
  }

  .footer-watermark {
    top: auto !important;
    bottom: 0 !important;
    left: 0 !important;
    width: max-content !important;
    white-space: nowrap !important;
    color: rgba(255, 255, 255, 0.1) !important;
    z-index: 1 !important;
    font-size: 0 !important;
    transform: translateX(0);
    animation: marquee-sp 15s linear infinite;
  }

  .footer-watermark br {
    display: none !important;
  }

  .footer-watermark::after {
    content: "TRUSTED AUTO EXPERTS.  TRUSTED AUTO EXPERTS.  TRUSTED AUTO EXPERTS.  " !important;
    font-size: 24vw !important;
    display: inline-block !important;
  }

  @keyframes marquee-sp {
    0% {
      transform: translateX(0);
    }

    100% {
      transform: translateX(-33.3333%);
    }
  }

  .sp-drawer {
    display: block !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background: rgba(19, 58, 82, 0.8) !important;
    backdrop-filter: blur(15px) !important;
    -webkit-backdrop-filter: blur(15px) !important;
    z-index: 999 !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.4s !important;
    overflow-y: auto !important;
    color: #ffffff !important;
  }

  .sp-drawer.is-active {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }

  .sp-drawer-header {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    padding: 0 !important;
    height: 0 !important;
  }

  .sp-drawer-logo {
    position: absolute !important;
    top: 15px !important;
    left: 15px !important;
  }

  .sp-drawer-logo img {
    height: 85px !important;
    width: auto !important;
    display: block !important;
    filter: brightness(0) invert(1) !important;
  }

  .sp-drawer-close {
    position: absolute !important;
    top: 30px !important;
    right: 20px !important;
    width: 56px !important;
    height: 56px !important;
    border-radius: 50% !important;
    border: 1px solid rgba(255, 255, 255, 0.8) !important;
    background: rgba(255, 255, 255, 0.12) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    cursor: pointer !important;
  }

  .sp-drawer-close span {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    width: 22px !important;
    height: 2px !important;
    background-color: #ffffff !important;
    border-radius: 2px !important;
  }

  .sp-drawer-close span:nth-child(1) {
    transform: translate(-50%, -50%) rotate(45deg) !important;
  }

  .sp-drawer-close span:nth-child(2) {
    transform: translate(-50%, -50%) rotate(-45deg) !important;
  }

  .sp-drawer-content {
    padding: 120px 30px 50px !important;
  }

  .sp-drawer-nav ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  .sp-drawer-nav>ul>li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.12) !important;
  }

  .sp-drawer-nav .nav-single {
    display: block !important;
    padding: 18px 0 !important;
    font-size: 1.05rem !important;
    font-weight: 500 !important;
    color: #ffffff !important;
    text-decoration: none !important;
    letter-spacing: 0.05em !important;
  }

  .accordion-header {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 18px 0 !important;
    font-size: 1.05rem !important;
    font-weight: 500 !important;
    color: #ffffff !important;
    cursor: pointer !important;
    letter-spacing: 0.05em !important;
  }

  .icon-toggle {
    position: relative !important;
    width: 12px !important;
    height: 12px !important;
  }

  .icon-toggle::before,
  .icon-toggle::after {
    content: "" !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    background-color: #ffffff !important;
    border-radius: 2px !important;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
  }

  .icon-toggle::before {
    width: 12px !important;
    height: 1.5px !important;
    transform: translate(-50%, -50%) rotate(0deg) !important;
  }

  .icon-toggle::after {
    width: 1.5px !important;
    height: 12px !important;
    transform: translate(-50%, -50%) rotate(0deg) !important;
  }

  .has-accordion.is-open .icon-toggle::before {
    transform: translate(-50%, -50%) rotate(180deg) !important;
  }

  .has-accordion.is-open .icon-toggle::after {
    transform: translate(-50%, -50%) rotate(90deg) !important;
    opacity: 1 !important;
  }

  .accordion-body {
    max-height: 0 !important;
    opacity: 0 !important;
    overflow: hidden !important;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease !important;
    padding-left: 10px !important;
  }

  .has-accordion.is-open .accordion-body {
    max-height: 400px !important;
    opacity: 1 !important;
    padding-bottom: 12px !important;
  }

  .accordion-body li a {
    display: block !important;
    padding: 8px 0 !important;
    font-size: 0.9rem !important;
    color: rgba(255, 255, 255, 0.7) !important;
    text-decoration: none !important;
  }

  .sp-drawer-footer {
    margin-top: 40px !important;
    text-align: center !important;
  }

  .sp-drawer-tel {
    display: inline-block !important;
    padding: 12px 28px !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    border-radius: 30px !important;
    color: #ffffff !important;
    font-size: 0.95rem !important;
    font-weight: 500 !important;
    text-decoration: none !important;
    background: rgba(255, 255, 255, 0.05) !important;
  }
}

@media screen and (min-width: 769px) {
  .footer-disable-hover {
    pointer-events: none !important;
    cursor: default !important;
    opacity: 1 !important;
  }

  .col-title:has(.footer-disable-hover) {
    pointer-events: none !important;
  }
}