/* =========================================
   リセット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;
}

.sp-drawer,
.hamburger {
  display: none !important;
}

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

body {
  font-family: var(--font-ja);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  width: 100%;
}

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,
.page-philosophy .container {
  max-width: 100%;
  padding: 0 15%;
}

body.is-closing-menu .sub-menu,
body.is-closing-menu .menu-overlay {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

body.is-closing-menu .header {
  mix-blend-mode: difference !important;
}

/* =========================================
   ヘッダー
========================================= */
.logo-wrapper {
  position: fixed;
  top: 12px;
  left: 40px;
  z-index: 105;
  pointer-events: auto;
  opacity: 1;
  animation: none;
}

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

.logo-placeholder {
  margin-right: auto;
  width: 220px;
  height: 100px;
}

/* ヘッダー */
.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 {
  opacity: 1;
  visibility: visible;
}

.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;
}

.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;
}

/* ドロップダウンメニュー */
.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;
}

.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 {
  mix-blend-mode: difference;
  position: relative;
  z-index: 100;
  opacity: 1;
  animation: none;
}

.logo {
  animation-delay: 0.5s;
}

.global-nav>ul>li:nth-child(1)>a {
  animation-delay: 0.6s;
}

.global-nav>ul>li:nth-child(2)>a {
  animation-delay: 0.7s;
}

.global-nav>ul>li:nth-child(3)>a {
  animation-delay: 0.8s;
}

.global-nav>ul>li:nth-child(4)>a {
  animation-delay: 0.9s;
}

.global-nav>ul>li:nth-child(5)>a {
  animation-delay: 1s;
}

.global-nav>ul>li:nth-child(6)>a {
  animation-delay: 1.1s;
}

.btn-header-contact {
  animation-delay: 1.3s;
}

.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;
}

/* =========================================
   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-family: var(--font-en);
  font-weight: 900;
  font-size: 5rem;
  margin-bottom: 5px;
  letter-spacing: 0.08em;
  line-height: 1;
}

.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;
}

@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;
  }
}


/* =========================================
   アニメーション
========================================= */
@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);
}

.slide-in-left {
  opacity: 0;
  transform: translateX(-50px);
  transition:
    opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1),
    transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.slide-in-left.is-visible {
  opacity: 1;
  transform: translateX(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 .stagger-item.zoom-in {
  transform: translateY(0) scale(0.85);
}

.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;
}

/* =========================================
   ページ遷移
========================================= */
.page-transition-bg,
.page-transition-main {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 99999;
  pointer-events: none;
  transform-origin: bottom;
  transform: scaleY(1);
  transition: transform 0.8s cubic-bezier(0.8, 0, 0.2, 1);
}

.page-transition-bg {
  background-color: var(--primary-blue);
}

.page-transition-main {
  background-color: var(--dark-blue);
}

body.is-loaded .page-transition-bg,
body.is-loaded .page-transition-main {
  transform-origin: top;
  transform: scaleY(0);
}

body.is-loaded .page-transition-main {
  transition-delay: 0s;
}

body.is-loaded .page-transition-bg {
  transition-delay: 0.15s;
}

body.is-leaving .page-transition-bg,
body.is-leaving .page-transition-main {
  transform-origin: bottom;
  transform: scaleY(1);
}

body.is-leaving .page-transition-bg {
  transition-delay: 0s;
}

body.is-leaving .page-transition-main {
  transition-delay: 0.15s;
}

/* =========================================
   ヒーローセクション
========================================= */
.page-philosophy {
  padding-top: 240px;
  background-color: #ffffff;
  color: var(--text-main);
  position: relative;
  z-index: 10;
}

.top-image {
  position: relative !important;
  z-index: 2 !important;
  width: calc(100% + 15vw) !important;
  max-width: 100vw;
  margin-right: -15vw !important;
  margin-bottom: 80px !important;
}

.top-image img {
  width: 100% !important;
  height: 400px !important;
  object-fit: cover !important;
  object-position: 100% 30% !important;
  border-radius: 4px 0 0 4px !important;
  display: block;
}

.page-hero {
  position: relative;
  padding: 80px 0 40px;
  margin-bottom: 0;
}

.ph-content {
  display: block;
  width: 100%;
  position: relative;
  z-index: 2;
  transform: translateY(-80px);
}

/* 英字タイトル */
.ph-title-en {
  font-family: var(--font-en);
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--primary-blue);
  line-height: 1;
  letter-spacing: 0.05em;
}

.ph-title-ja {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 0.95rem;
  font-weight: bold;
  letter-spacing: 0.1em;
  color: #333333;
  margin-top: 15px;
}

.ph-title-ja .line {
  display: inline-block;
  width: 40px;
  height: 1px;
  background-color: #8da6b8;
}

/* テキスト */
.ph-text-intro {
  margin-bottom: 20px;
  padding-top: 0;
  opacity: 0;
  transform: translateY(20px);
  animation: ph-reveal-up 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.4s forwards;
}

.ph-text-intro p {
  font-size: 0.95rem;
  line-height: 2.4;
  font-weight: bold;
  color: #333333;
  text-align: left;
  letter-spacing: 0.15em;
}

/* 透かしロゴ */
.ph-watermark {
  position: absolute;
  top: 100%;
  right: 0;
  transform: translateY(-50%);
  width: 800px;
  max-width: 100%;
  z-index: 1;
  pointer-events: none;
}

.ph-watermark img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.layout-2col {
  display: flex;
  gap: 80px;
  padding-bottom: 100px;
}

/* =========================================
   追従メニュー
========================================= */
.sidebar {
  width: 220px;
  flex-shrink: 0;
  position: sticky;
  top: 180px;
  height: fit-content;
  margin-bottom: 60px;
}

.sidebar-title {
  font-size: 1.6rem;
  font-weight: bold;
  color: var(--primary-blue);
  letter-spacing: 0.1em;
  margin-bottom: 20px;
}

.sidebar-nav {
  border-top: 1px solid #eeeeee;
}

.sidebar-nav li {
  border-bottom: 1px solid #eeeeee;
  margin-bottom: 0;
}

.sidebar-nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  font-size: 0.95rem;
  font-weight: bold;
  color: #969696;
  letter-spacing: 0.1em;
  transition: color 0.3s ease;
}

.sidebar-nav a::after {
  content: "";
  display: block;
  width: 6px;
  height: 6px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.3s ease;
}

.sidebar-nav a:hover,
.sidebar-nav a.is-active {
  color: var(--primary-blue);
}

.sidebar-nav a:hover::after,
.sidebar-nav a.is-active::after {
  transform: rotate(45deg) translate(3px, -3px);
}

.main-content {
  flex: 1;
  min-width: 0;
}

/* =========================================
   縦線横線
========================================= */
.main-content {
  flex: 1;
  min-width: 0;
  position: relative;
}

.main-content::before {
  content: "";
  position: absolute;
  top: 530px;
  bottom: 0;
  left: 0;
  width: 1px;
  background-color: #dddddd;
  z-index: 5;
}

.content-section {
  position: relative;
  padding-left: 40px;
  margin-bottom: 180px;
}

.section-heading {
  position: relative;
  padding-bottom: 30px;
  margin-bottom: 60px;
}

.section-heading::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: -40px;
  width: calc(100% + 40px);
  height: 1px;
  background-color: #dddddd;
}

.section-heading .en {
  font-family: var(--font-en);
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--primary-blue);
  letter-spacing: 0.05em;
  line-height: 1;
}

.section-heading .ja {
  font-size: 1rem;
  font-weight: bold;
  color: #999999;
  margin-top: 5px;
}

/* =========================================
   アニメーション設定
========================================= */

/* PHILOSOPHY タイトル */
.ph-title-en {
  opacity: 0;
  transform: translateY(30px) skewY(2deg);
  animation: ph-reveal-up 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
}

/* 経営理念 */
.ph-title-ja {
  opacity: 0;
  transform: translateY(20px);
  animation: ph-reveal-up 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.4s forwards;
}

/* テキスト */
.ph-right p {
  opacity: 0;
  transform: translateY(20px);
  animation: ph-reveal-up 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.6s forwards;
}

/* 透かしロゴ */
.ph-watermark {
  opacity: 0;
  transform: translateY(-50%) translateX(30px);
  animation: ph-fade-slide 1.5s cubic-bezier(0.16, 1, 0.3, 1) 0.8s forwards;
}

/* 追従メニュー */
.sidebar {
  opacity: 0;
  transform: translateX(-30px);
  animation: ph-reveal-right 1.2s cubic-bezier(0.16, 1, 0.3, 1) 1s forwards;
}

.top-image {
  opacity: 0;
  clip-path: inset(0 100% 0 0);
  animation: ph-wipe-right 1.5s cubic-bezier(0.16, 1, 0.3, 1) 1.2s forwards;
}

/* ヒーロー画像 */
.top-image img {
  transform: scale(1.15) !important;
  animation: ph-image-zoom 2s cubic-bezier(0.16, 1, 0.3, 1) 1.2s forwards;
}

/* --- アニメーション --- */
@keyframes ph-reveal-up {
  100% {
    opacity: 1;
    transform: translateY(0) skewY(0);
  }
}

@keyframes ph-fade-slide {
  100% {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
  }
}

@keyframes ph-reveal-right {
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes ph-wipe-right {
  100% {
    opacity: 1;
    clip-path: inset(0 0 0 0);
  }
}

@keyframes ph-image-zoom {
  100% {
    transform: scale(1) !important;
  }
}

/* Flow */
.flow-card {
  padding: 60px 40px;
}

.flow-header {
  text-align: center;
  margin-bottom: 60px;
}

.flow-en {
  font-family: var(--font-en);
  font-size: 1.4rem;
  color: #a1c1d6;
  letter-spacing: 0.05em;
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
}

.flow-title {
  font-size: 1.8rem;
  font-weight: bold;
  color: #333333;
  margin-bottom: 10px;
}

.flow-sub {
  font-size: 0.85rem;
  color: #555555;
}

.flow-steps {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 30px;
}

.flow-step-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 2px solid #c2d5e0;
  border-radius: 12px;
  padding: 55px 20px 40px;
  position: relative;
}

.flow-step-head {
  position: absolute;
  top: -25px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #ffffff;
  padding: 0 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.flow-step-num {
  font-family: var(--font-en);
  font-weight: 900;
  color: #a1c1d6;
  font-size: 2.5rem;
  line-height: 1;
}

.flow-step-title {
  font-size: 1.1rem;
  font-weight: bold;
  color: #333333;
}

.flow-step-icon {
  width: 160px;
  height: 160px;
  margin-bottom: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* アイコンのサイズ */
.flow-step-item:nth-child(1) .flow-step-icon img,
.flow-step-item:nth-child(2) .flow-step-icon img {
  width: 75%;
  height: 75%;
  object-fit: contain;
}

.flow-step-item:nth-child(3) .flow-step-icon img,
.flow-step-item:nth-child(4) .flow-step-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.flow-step-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

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

.flow-step-text .flow-step-lead {
  font-size: 1rem;
  font-weight: bold;
  color: var(--dark-blue);
  line-height: 1.4;
  margin-bottom: 12px;
  border-bottom: 1px dashed #e0e0e0;
  padding-bottom: 10px;
  white-space: nowrap;
  letter-spacing: -0.02em;
  text-align: center;
}

.flow-step-text .flow-step-lead strong {
  color: var(--primary-blue);
}

.flow-step-text .flow-step-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.flow-step-text .flow-step-list li {
  font-size: 0.8rem;
  color: #666666;
  line-height: 1.6;
  padding-left: 1.2em;
  position: relative;
}

.flow-step-text .flow-step-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: calc(1.6em / 2);
  transform: translateY(-50%);
  width: 5px;
  height: 5px;
  background-color: var(--primary-blue);
  border-radius: 50%;
}

.flow-step-text .flow-step-list li strong {
  color: #333333;
  font-weight: bold;
}

.flow-step-text .flow-step-docs {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 15px;
  padding-left: 5px;
}

.flow-step-text .flow-text-red {
  color: #e60012;
  font-weight: bold;
  font-size: 0.85rem;
}

.flow-step-text .flow-step-note {
  font-size: 0.7rem;
  color: #999999;
  display: block;
  margin-top: 15px;
  line-height: 1.6;
  background-color: #f8f9fa;
  padding: 8px 10px;
  border-radius: 4px;
}

/* =========================================
   板金塗装事業
========================================= */
.text-blue {
  color: var(--primary-blue);
}

.painting-section {
  margin-bottom: 80px !important;
}

.painting-intro {
  display: flex;
  justify-content: flex-start;
  max-width: 850px;
  margin-left: auto;
  padding: 0 40px;
}

.painting-intro-inner {
  display: flex;
  flex-direction: column;
}

.painting-intro .catchphrase {
  font-size: 2.2rem;
  font-weight: bold;
  line-height: 1.6;
  color: #333333;
  margin-bottom: 40px;
}

.painting-intro .desc {
  font-size: 0.95rem;
  line-height: 2.4;
  color: #555555;
  margin-left: 250px;
}

.sd-blue-bg {
  background-color: var(--primary-blue);
  margin-right: -15vw;
  padding: 60px 40px 230px;
  border-radius: 0 0 0 20px;
  margin-bottom: -180px;
}

.sd-block {
  margin-bottom: 40px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.sd-block:last-child {
  margin-bottom: 0;
}

.sd-sub-title-large {
  color: #ffffff;
  font-size: 1.5rem;
  font-weight: bold;
  letter-spacing: 0.1em;
  margin-bottom: 30px;
  padding-bottom: 15px;
  border-bottom: 1px solid #8da6b8;
}

.sd-rich-card-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.sd-rich-card {
  position: relative;
  background-color: #ffffff;
  border-radius: 12px;
  padding: 35px 60px 35px 40px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.sd-rich-card .card-num {
  display: inline-block;
  align-self: flex-start;
  font-family: var(--font-en);
  font-size: 0.75rem;
  color: var(--primary-blue);
  background-color: rgba(27, 78, 107, 0.08);
  padding: 6px 16px;
  border-radius: 30px;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
  font-weight: 700;
}

.sd-rich-card .card-title {
  font-size: 1.4rem;
  font-weight: bold;
  color: #333333;
  margin-bottom: 15px;
  letter-spacing: 0.05em;
}

.sd-rich-card .card-text {
  font-size: 0.95rem;
  color: #666666;
  line-height: 1.8;
}

/* =========================================
   タブレット・スマホ (1024px～)
========================================= */
@media screen and (max-width: 1024px) {
  .container {
    padding: 0 30px;
  }

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

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

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

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

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

  .page-philosophy {
    padding-top: 250px !important;
  }

  .page-hero {
    padding: 0 20px !important;
  }

  .ph-content {
    transform: none !important;
    margin-bottom: 20px !important;
  }

  .layout-2col {
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
    padding-bottom: 40px;
  }

  .main-content {
    display: contents !important;
  }

  .main-content::before {
    display: none !important;
  }

  .top-image {
    order: 1 !important;
    margin-top: 20px !important;
    margin-bottom: 25px !important;
    width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    max-width: 100vw !important;
    animation: none !important;
    opacity: 1 !important;
    clip-path: none !important;
    transform: none !important;
  }

  .top-image img {
    height: 200px !important;
    border-radius: 0 !important;
    animation: none !important;
    transform: none !important;
  }

  .ph-text-intro {
    order: 2 !important;
    margin-bottom: 25px !important;
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .content-section {
    order: 4 !important;
    width: 100% !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
    margin-bottom: 80px !important;
  }

  .sidebar {
    display: block !important;
    order: 3 !important;
    position: static !important;
    width: 100% !important;
    height: auto !important;
    padding: 0 !important;
    margin-top: 15px !important;
    margin-bottom: 40px !important;
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  .sidebar-title {
    display: none !important;
  }

  .sidebar-nav {
    display: block !important;
    border-top: 2px solid var(--primary-blue) !important;
    padding-top: 10px !important;
  }

  .sidebar-nav li {
    border-bottom: 1px solid #eeeeee !important;
    margin-bottom: 0 !important;
    counter-increment: nav-counter;
  }

  .sidebar-nav a {
    display: flex !important;
    align-items: center !important;
    padding: 14px 10px !important;
    font-size: 0.95rem !important;
    font-weight: bold !important;
    background: transparent !important;
    white-space: nowrap !important;
    transition: all 0.3s ease !important;
  }

  .sidebar-nav a::before {
    content: "0" counter(nav-counter);
    font-family: var(--font-en);
    font-size: 1.5rem;
    font-weight: 900;
    margin-right: 15px;
    transition: all 0.3s ease;
  }

  .sidebar-nav a::after {
    content: "";
    display: block;
    width: 14px;
    height: 22px;
    margin-left: auto;
    border: none !important;
    -webkit-mask-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='12' y1='3' x2='12' y2='21'%3E%3C/line%3E%3Cpolyline points='5 14 12 21 19 14'%3E%3C/polyline%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='12' y1='3' x2='12' y2='21'%3E%3C/line%3E%3Cpolyline points='5 14 12 21 19 14'%3E%3C/polyline%3E%3C/svg%3E");
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    transition: all 0.3s ease;
  }

  .sidebar-nav a:not(.is-active) {
    color: #cccccc !important;
  }

  .sidebar-nav a:not(.is-active)::before {
    color: #cccccc !important;
  }

  .sidebar-nav a:not(.is-active)::after {
    background-color: #cccccc !important;
    transform: translateY(0) !important;
  }

  .sidebar-nav a.is-active {
    color: var(--primary-blue) !important;
  }

  .sidebar-nav a.is-active::before {
    color: var(--primary-blue) !important;
  }

  .sidebar-nav a.is-active::after {
    background-color: var(--primary-blue) !important;
    transform: translateY(4px) !important;
  }

  .painting-section .section-heading {
    display: none !important;
  }

  .painting-section {
    padding-left: 0 !important;
  }

  .painting-intro {
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    margin-left: 0 !important;
  }

  .painting-intro .catchphrase,
  .painting-intro .desc {
    padding-left: 0 !important;
    margin-left: 0 !important;
  }

  .sd-blue-bg {
    order: 5 !important;
    width: 100% !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
    padding-bottom: 60px !important;
    margin-bottom: 0 !important;
    border-radius: 0 0 12px 12px !important;
  }
}

/* =========================================
   スマホ (768px～)
========================================= */
@media screen and (max-width: 768px) {
  .sp-br {
    display: block;
  }

  .header {
    mix-blend-mode: normal !important;
    position: static !important;
  }

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

  .logo-wrapper {
    top: 15px !important;
    left: 15px !important;
  }

  .logo-wrapper img {
    height: 85px !important;
    width: auto !important;
  }

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

  .hamburger {
    display: flex !important;
    position: fixed !important;
    top: 30px !important;
    right: 20px !important;
    z-index: 101 !important;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 56px !important;
    height: 56px !important;
    background-color: rgba(255, 255, 255, 0.7) !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;
    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;
    pointer-events: auto !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.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;
  }

  .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: none !important;
    mix-blend-mode: normal !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;
  }

  .footer {
    margin-top: 0 !important;
    padding: 50px 0 20px !important;
    border-radius: 40px 40px 0 0;
    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%);
    }
  }

  .page-philosophy {
    padding-top: 100px !important;
  }

  .page-hero {
    padding: 0 20px !important;
  }

  .ph-title-en {
    font-size: 2.2rem;
  }

  .ph-title-ja {
    margin-top: 5px;
  }

  .ph-content {
    margin-bottom: 10px !important;
  }

  .top-image img {
    height: 180px !important;
  }

  .ph-text-intro p {
    font-size: 0.85rem;
    line-height: 1.7;
    letter-spacing: 0.1em;
    margin-bottom: 20px;
  }

  /* 他子メニュー 非表示 */
  .sidebar {
    display: none !important;
  }

  .painting-intro .catchphrase {
    font-size: 1.4rem !important;
    margin-bottom: 20px !important;
    padding-left: 0 !important;
  }

  .painting-intro .desc {
    font-size: 0.85rem !important;
    line-height: 1.8 !important;
    padding-left: 0 !important;
    margin-left: 0 !important;
  }

  .sd-blue-bg {
    width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    max-width: 100vw !important;
    border-radius: 0 !important;
    padding: 40px 20px 110px !important;
    margin-bottom: -60px !important;
  }

  .sd-sub-title-large {
    font-size: 1.2rem !important;
    margin-bottom: 20px !important;
    padding-bottom: 10px !important;
  }

  .sd-rich-card {
    padding: 25px 20px !important;
  }

  .sd-rich-card .card-title {
    font-size: 1.15rem !important;
  }

  .sd-rich-card .card-text {
    font-size: 0.85rem !important;
  }

  .ph-text-intro {
    border-bottom: 1px solid #dddddd;
    padding-bottom: 30px;
    margin-bottom: 40px !important;
  }

  /* ご利用の流れ */
  .flow-steps {
    flex-direction: column !important;
    gap: 30px !important;
  }

  .flow-step-item {
    margin-bottom: 20px !important;
  }
}