@charset "UTF-8";

/* =========================================
   1. VARIABLES & RESET
   ========================================= */
:root {
  --c-bg: #ffffff;
  --c-text: #111111;
  --c-green: #237472;
  --c-green-muted: #4a6b6a;
  --c-gray-light: #e5e5e5;
  --font-en: "Montserrat", sans-serif;
  --font-jp: "Noto Sans JP", sans-serif;
  --header-height: 80px;
}

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

body {
  color: var(--c-text);
  font-family: var(--font-jp);
  overflow-x: hidden;
  background-color: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.inline {
  display: inline-block;
}

/* =========================================
   2. UTILITIES & LAYOUT
   ========================================= */
.l-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 5vw;
}

/* Animation Targets */
.js-fade-up,
.js-fade-right,
.js-fade-left,
.js-news-anim,
.js-news-item,
.js-srv-fade,
.js-srv-card,
.js-ph-anim,
.js-cmp-anim,
.js-cnt-anim {
  opacity: 0;
  transform: translateY(30px);
}

/* Helpers */
.c-green {
  color: var(--c-green);
}
.c-white {
  color: #fff;
}

.u-hidden-pc {
  display: none;
}
.u-hidden-sp {
  display: inline;
}

/* =========================================
   3. HEADER
   ========================================= */
.header-container {
  position: fixed;
  top: 25px;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  z-index: 1000;
  transform: translateY(-150%);
  transition: top 0.3s;
}

.header-pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: clamp(320px, 92%, 1100px); /* 320~1100pxの間で92%幅 */
  height: 60px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  padding: 0 30px;
  border-radius: 60px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(255, 255, 255, 1);
  position: relative;
  overflow: visible;
}

.header-logo {
  font-family: var(--font-en);
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.02em;
  color: var(--c-text);
  text-decoration: none;
  z-index: 1002;
}

/* Desktop Nav */
.nav-wrap-pc {
  display: block;
}
.nav-list {
  display: flex;
  list-style: none;
  gap: 0;
  position: relative;
  background: #f0f0f0;
  padding: 4px;
  border-radius: 40px;
}
.nav-item {
  position: relative;
  z-index: 2;
}
.nav-item a {
  display: block;
  text-decoration: none;
  color: #888;
  font-size: 12px;
  font-weight: 700;
  font-family: var(--font-en);
  padding: 8px 18px;
  border-radius: 30px;
  transition: color 0.3s;
  text-transform: uppercase;
}
.nav-item a:hover {
  color: #fff;
}
.nav-highlight {
  position: absolute;
  top: 4px;
  left: 4px;
  height: calc(100% - 8px);
  background-color: var(--c-text);
  border-radius: 30px;
  z-index: 1;
  pointer-events: none;
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Dropdown */
.dropdown-list {
  position: absolute;
  top: 140%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  min-width: 160px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border: 1px solid #eee;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  padding: 8px;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 100;
}
.nav-item.has-dropdown:hover .dropdown-list {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.dropdown-list li a {
  display: block;
  font-size: 11px;
  color: #555;
  padding: 10px 16px;
  border-radius: 8px;
  white-space: nowrap;
  text-align: center;
  transition: background 0.2s, color 0.2s;
  margin: 0;
  width: 100%;
}
.dropdown-list li a:hover {
  background-color: #f4f4f4;
  color: var(--c-green);
}

/* Hamburger Button */
.hamburger-btn {
  display: none; /* デフォルト非表示、メディアクエリで表示 */
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  cursor: pointer;
  position: relative;
  z-index: 1002;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
}
.bar {
  width: 24px;
  height: 2px;
  background-color: var(--c-text);
  transition: all 0.3s;
}

/* Mobile Menu Overlay */
.mobile-menu-cover {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: #050505;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  padding: 80px 40px;
  transform: translateX(100%);
  transition: transform 0.6s cubic-bezier(0.19, 1, 0.22, 1);
  pointer-events: none;
  overflow-y: auto;
}
.mobile-menu-cover.is-active {
  transform: translateX(0);
  pointer-events: all;
}
.menu-close-btn {
  position: absolute;
  top: 30px;
  right: 30px;
  width: 40px;
  height: 40px;
  background: none;
  border: 1px solid #333;
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}
.menu-close-btn::before,
.menu-close-btn::after {
  content: "";
  position: absolute;
  width: 16px;
  height: 1px;
  background-color: #fff;
}
.menu-close-btn::before {
  transform: rotate(45deg);
}
.menu-close-btn::after {
  transform: rotate(-45deg);
}
.menu-close-btn:hover {
  border-color: #fff;
  transform: rotate(90deg);
}

.mobile-nav-list {
  list-style: none;
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
}
.mobile-nav-item {
  border-bottom: 1px solid #222;
  position: relative;
}
.mobile-link-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
}
.mobile-nav-link {
  font-family: var(--font-en);
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: color 0.3s;
  flex-grow: 1;
}
.mobile-nav-link:hover {
  color: var(--c-green);
}

.submenu-toggle {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #666;
  transition: color 0.3s;
}
.submenu-toggle:hover {
  color: #fff;
}
.toggle-icon {
  font-size: 12px;
  transition: transform 0.3s;
}
.submenu-toggle.is-open .toggle-icon {
  transform: rotate(180deg);
}

.mobile-submenu {
  height: 0;
  overflow: hidden;
  transition: height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  background: #111;
  border-radius: 8px;
}
.mobile-submenu-list {
  list-style: none;
  padding: 10px 0;
}
.mobile-sub-item a {
  display: block;
  padding: 12px 20px;
  font-size: 14px;
  color: #aaa;
  text-decoration: none;
  transition: all 0.3s;
  border-left: 2px solid transparent;
}
.mobile-sub-item a:hover {
  color: #fff;
  background: #1a1a1a;
  border-left-color: var(--c-green);
}

/* =========================================
   4. CONTACT SECTION (SHARED)
   ========================================= */
.contact-section {
  position: relative;
  background-color: #050505;
  color: #fff;
  /* 上下paddingをfluidに */
  padding: clamp(100px, 15vw, 180px) 0 40px;
  overflow: hidden;
  z-index: 20;
}
.contact-bg-marquee {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  transform: translateY(-50%) rotate(-5deg) scale(1.1);
  pointer-events: none;
  opacity: 0.05;
  z-index: 0;
}
.marquee-track {
  display: flex;
  white-space: nowrap;
  will-change: transform;
}
.marquee-item {
  font-family: var(--font-en);
  font-weight: 900;
  font-size: 15vw; /* ビューポート依存でサイズ固定 */
  line-height: 1;
  padding-right: 4vw;
  color: #fff;
}
.contact-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 5vw;
  z-index: 1;
  text-align: center;
}
.contact-heading {
  font-family: var(--font-en);
  font-size: clamp(48px, 10vw, 120px);
  font-weight: 800;
  line-height: 1;
  margin-bottom: 40px;
}
.contact-heading .c-green {
  color: var(--c-green);
}

.contact-desc {
  font-size: clamp(14px, 2vw, 16px);
  line-height: 2;
  color: #aaa;
  margin-bottom: 80px;
}
.contact-btn-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 50px;
  margin-top: 40px;
}
.btn-solid-switch {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 320px;
  height: 60px;
  padding: 0 30px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background-color: transparent;
  text-decoration: none;
  overflow: hidden;
  transition: border-color 0.4s;
  box-sizing: border-box;
}
.btn-solid-switch::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--c-green);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 0;
}
.btn-text {
  position: relative;
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.1em;
  color: #fff;
  z-index: 1;
  transition: color 0.4s;
}
.btn-icon {
  position: relative;
  font-family: var(--font-en);
  font-size: 18px;
  color: #fff;
  z-index: 1;
  transition: color 0.4s, transform 0.4s;
}
.btn-solid-switch:hover {
  border-color: var(--c-green);
}
.btn-solid-switch:hover::before {
  transform: scaleX(1);
}
.btn-solid-switch:hover .btn-text {
  color: #000;
}
.btn-solid-switch:hover .btn-icon {
  color: #000;
  transform: translateX(10px);
}

/* =========================================
   5. FOOTER
   ========================================= */
.site-footer {
  position: relative;
  z-index: 20;
  background-color: #050505;
  color: #fff;
  padding: 80px 0 40px;
  font-family: var(--font-en);
}
.footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 40px;
}
.footer-logo {
  font-weight: 800;
  font-size: 28px;
  letter-spacing: 0.02em;
  line-height: 1;
}
.footer-nav-list {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.f-nav-item a {
  color: #aaa;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.05em;
  transition: color 0.3s;
}
.f-nav-item a:hover {
  color: var(--c-green);
}
.footer-bottom {
  text-align: center;
}
.copyright {
  font-size: 11px;
  color: #fff;
  letter-spacing: 0.05em;
  margin-top: 1rem;
  display: block;
}
.creater-name {
  font-size: 12px;
  color: #fff;
  letter-spacing: 0.05em;
}

/* =========================================
   6. RESPONSIVE MANAGER (Descending Order)
   ========================================= */

/* --- 1024px (Tablet / Small Desktop) --- */
@media (max-width: 1024px) {
  /* PC Nav非表示 -> ハンバーガーへ */
  .nav-wrap-pc {
    display: none;
  }
  .hamburger-btn {
    display: flex;
  }

  .header-pill {
    padding: 0 20px;
    height: 50px;
  }
}

/* --- 768px (Tablet Portrait) --- */
@media (max-width: 768px) {
  /* Footer Adjustment */
  .site-footer {
    padding-top: 60px;
  }
  .footer-row {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 40px;
    text-align: center;
  }
  .footer-nav-list {
    justify-content: center;
    gap: 15px 20px;
  }
}
@media (max-width: 576px) {
  .u-hidden-pc {
    display: inline;
  }
  .u-hidden-sp {
    display: none;
  }
}
/* --- 480px (Mobile) --- */
@media (max-width: 480px) {
  .mobile-menu-cover {
    padding: 60px 20px;
  }
  .mobile-nav-link {
    font-size: 20px;
  }
  .contact-bg-marquee {
    transform: translateY(-50%) rotate(-10deg) scale(1.2);
  }
}
