@charset "UTF-8";

:root {
  --ModernHeaderHeight: 72px;
  --ModernHeaderHeightSp: 64px;
  --HeaderBrand: #1A1C57;
  --HeaderInk: #101116;
  --HeaderMuted: #606575;
  --HeaderAccent: #A7354A;
  --HeaderLine: rgba(26, 28, 87, 0.12);
}

html {
  scroll-padding-top: calc(var(--ModernHeaderHeight) + 18px);
}

main,
footer {
  margin-left: 0 !important;
}

body:not(#home) main {
  padding-top: var(--ModernHeaderHeight);
}

#top-strength-title,
#works {
  scroll-margin-top: calc(var(--ModernHeaderHeight) + 18px);
}

.pc_hamburger,
.drawer_overlay {
  display: none !important;
}

#header.site_header,
#header.site_header * {
  box-sizing: border-box;
}

#header.site_header {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  z-index: 10000 !important;
  width: 100% !important;
  height: var(--ModernHeaderHeight) !important;
  padding: 0 clamp(18px, 4vw, 56px) !important;
  color: var(--HeaderInk) !important;
  background: rgba(255, 255, 255, 0.9) !important;
  border-bottom: 1px solid rgba(26, 28, 87, 0.1) !important;
  box-shadow: 0 10px 32px rgba(16, 17, 22, 0.055) !important;
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  transform: none !important;
  overflow: visible !important;
  transition: background-color 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

#header.site_header.is-scrolled {
  background: rgba(255, 255, 255, 0.98) !important;
  border-bottom-color: rgba(26, 28, 87, 0.18) !important;
  box-shadow: 0 16px 42px rgba(16, 17, 22, 0.11) !important;
}

#header.site_header a {
  color: var(--HeaderInk) !important;
  text-decoration: none !important;
}

#header.site_header a:hover {
  opacity: 1;
}

#header.site_header .header_inner_scroll,
#header.site_header .site_header_inner {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: clamp(18px, 3vw, 38px);
  width: 100%;
  max-width: 1200px;
  height: 100%;
  margin: 0 auto;
  padding: 0 !important;
}

#header.site_header nav,
#header.site_header nav > div {
  padding-top: 0 !important;
}

.site_brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  min-width: 0;
  color: var(--HeaderInk) !important;
}

.site_brand_logo {
  display: block;
  width: auto;
  max-width: 220px;
  height: 38px;
  object-fit: contain;
}

.site_brand_logo[src=""],
.site_brand_logo:not([src]) {
  display: none;
}

.site_brand_fallback {
  display: none;
  color: var(--HeaderBrand) !important;
  font-family: "Noto Serif JP", "Hiragino Mincho ProN", serif;
  font-size: clamp(21px, 2.2vw, 27px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0;
  white-space: nowrap;
}

.site_brand_logo[src=""] + .site_brand_fallback,
.site_brand_logo:not([src]) + .site_brand_fallback {
  display: inline-block;
}

.site_brand_text {
  display: grid !important;
  gap: 4px;
  min-width: 0;
}

.site_brand_logo_text {
  color: var(--HeaderBrand) !important;
  font-family: "Noto Serif JP", "Hiragino Mincho ProN", serif;
  font-size: clamp(21px, 2.2vw, 27px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0;
}

.site_brand_sub {
  color: var(--HeaderMuted) !important;
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site_nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 1 1 auto;
  min-width: 0;
}

.site_nav ul {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(18px, 2.4vw, 34px);
  margin: 0;
  padding: 0;
}

.site_nav li {
  display: block !important;
  padding: 0 !important;
}

.site_nav li::before,
.site_nav li::after {
  content: none !important;
}

.site_nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  color: #252733 !important;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
  white-space: nowrap;
  padding: 10px 0;
}

.site_nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 3px;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--HeaderBrand), var(--HeaderAccent));
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 0.22s ease;
}

.site_nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left center;
}

.site_header_cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-width: 124px;
  min-height: 42px;
  padding: 0 20px;
  color: #fff !important;
  background: var(--HeaderAccent) !important;
  border: 1px solid var(--HeaderAccent) !important;
  border-radius: 999px;
  box-shadow: 0 12px 24px rgba(167, 53, 74, 0.16);
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
  transition: transform 0.22s ease, background-color 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.site_header_cta:hover {
  background: var(--HeaderBrand) !important;
  border-color: var(--HeaderBrand) !important;
  transform: translateY(-2px);
  box-shadow: 0 15px 28px rgba(26, 28, 87, 0.2);
}

#header.site_header .sp_nav,
#header.site_header .site_mobile_nav {
  display: none !important;
  height: auto !important;
}

body#home .mv {
  margin-top: var(--ModernHeaderHeight) !important;
  height: calc(100vh - var(--ModernHeaderHeight)) !important;
  height: calc(100svh - var(--ModernHeaderHeight)) !important;
  min-height: 560px !important;
}

body#home .mv_img_wrap img {
  object-position: center 45% !important;
}

body#home .mv_txt {
  top: 53% !important;
  bottom: auto !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
}

body#home .mv_txt h2 {
  font-size: clamp(28px, 3.4vw, 48px) !important;
  line-height: 1.65 !important;
}

@media screen and (max-width: 1120px) {
  .site_nav ul {
    gap: 18px;
  }

  .site_nav a,
  .site_header_cta {
    font-size: 13px;
  }

  .site_header_cta {
    min-width: 116px;
    padding-inline: 18px;
  }
}

@media screen and (max-width: 900px) {
  :root {
    --ModernHeaderHeight: var(--ModernHeaderHeightSp);
  }

  html {
    scroll-padding-top: calc(var(--ModernHeaderHeightSp) + 14px);
  }

  body:not(#home) main {
    padding-top: 0;
  }

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

  #top-strength-title,
  #works {
    scroll-margin-top: calc(var(--ModernHeaderHeightSp) + 14px);
  }

  #header.site_header {
    height: var(--ModernHeaderHeightSp) !important;
    padding: 0 4.8% !important;
  }

  #header.site_header .site_header_inner {
    gap: 16px;
  }

  .site_brand_logo {
    max-width: 176px;
    height: 32px;
  }

  .site_brand_logo_text,
  .site_brand_fallback {
    font-size: 21px;
  }

  .site_brand_sub {
    font-size: 9px;
    letter-spacing: 0.1em;
  }

  .site_nav,
  .site_header_cta {
    display: none !important;
  }

  #header.site_header .sp_nav,
  #header.site_header .site_mobile_nav {
    display: block !important;
    margin-left: auto;
  }

  #header.site_header .hamburger.site_menu_toggle {
    position: relative !important;
    top: auto !important;
    right: auto !important;
    z-index: 10002 !important;
    display: block !important;
    width: 44px !important;
    height: 44px !important;
    margin: 0 !important;
    padding: 0 !important;
    cursor: pointer;
    background: #fff !important;
    border: 1px solid rgba(26, 28, 87, 0.16) !important;
    border-radius: 999px;
    box-shadow: 0 8px 22px rgba(16, 17, 22, 0.08);
  }

  #header.site_header .hamburger.site_menu_toggle span {
    position: absolute !important;
    left: 50% !important;
    display: block !important;
    width: 20px !important;
    height: 2px !important;
    background: var(--HeaderBrand) !important;
    border-radius: 999px;
    transform: translateX(-50%);
    transition: top 0.22s ease, transform 0.22s ease, opacity 0.22s ease;
  }

  #header.site_header .hamburger.site_menu_toggle span:nth-child(1) {
    top: 14px !important;
  }

  #header.site_header .hamburger.site_menu_toggle span:nth-child(2) {
    top: 21px !important;
  }

  #header.site_header .hamburger.site_menu_toggle span:nth-child(3) {
    top: 28px !important;
  }

  #header.site_header .hamburger.site_menu_toggle.active span:nth-child(1) {
    top: 21px !important;
    transform: translateX(-50%) rotate(45deg) !important;
  }

  #header.site_header .hamburger.site_menu_toggle.active span:nth-child(2) {
    opacity: 0;
  }

  #header.site_header .hamburger.site_menu_toggle.active span:nth-child(3) {
    top: 21px !important;
    transform: translateX(-50%) rotate(-45deg) !important;
  }

  #header.site_header nav.globalMenuSp.site_mobile_menu {
    position: fixed !important;
    top: var(--ModernHeaderHeightSp) !important;
    left: 0 !important;
    z-index: 10001 !important;
    display: block !important;
    width: 100% !important;
    height: calc(100vh - var(--ModernHeaderHeightSp)) !important;
    height: calc(100dvh - var(--ModernHeaderHeightSp)) !important;
    padding: 24px 5% 34px !important;
    color: var(--HeaderInk) !important;
    background: rgba(255, 255, 255, 0.98) !important;
    border-top: 1px solid rgba(26, 28, 87, 0.08);
    box-shadow: 0 24px 46px rgba(16, 17, 22, 0.12);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-10px) !important;
    transition: opacity 0.24s ease, visibility 0.24s ease, transform 0.24s ease;
    overflow-y: auto;
  }

  #header.site_header nav.globalMenuSp.site_mobile_menu.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) !important;
  }

  #header.site_header nav.globalMenuSp.site_mobile_menu ul {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  #header.site_header nav.globalMenuSp.site_mobile_menu li {
    position: relative;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border-bottom: 1px solid #dfe3ed !important;
  }

  #header.site_header nav.globalMenuSp.site_mobile_menu li::before,
  #header.site_header nav.globalMenuSp.site_mobile_menu li::after {
    content: none !important;
  }

  #header.site_header nav.globalMenuSp.site_mobile_menu ul a {
    display: block !important;
    color: var(--HeaderInk) !important;
    padding: 16px 0 !important;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.45;
  }

  #header.site_header .site_mobile_menu_cta {
    width: 100%;
    margin-top: 26px;
    padding: 22px 20px;
    background: #f5f7fb;
    border: 1px solid #dfe3ed;
    border-radius: 10px;
  }

  #header.site_header .site_mobile_menu_cta p {
    color: #3f4452 !important;
    font-size: 14px;
    line-height: 1.7;
    margin: 0 0 14px;
  }

  #header.site_header .site_mobile_menu_cta a {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 100% !important;
    min-height: 52px;
    padding: 0 18px !important;
    color: #fff !important;
    background: var(--HeaderAccent) !important;
    border: 1px solid var(--HeaderAccent) !important;
    border-radius: 999px;
    box-shadow: 0 12px 24px rgba(167, 53, 74, 0.16);
    font-size: 15px;
    font-weight: 800;
    line-height: 1;
    text-align: center;
  }

  #header.site_header .site_mobile_menu_cta a::before,
  #header.site_header .site_mobile_menu_cta a::after {
    content: none !important;
  }

  body#home .mv {
    margin-top: var(--ModernHeaderHeightSp) !important;
    height: calc(100vh - var(--ModernHeaderHeightSp)) !important;
    height: calc(100svh - var(--ModernHeaderHeightSp)) !important;
    min-height: 500px !important;
    padding-top: 0 !important;
    background-image: url("../images/mv_sp.jpg") !important;
    background-repeat: no-repeat !important;
    background-position: center center !important;
    background-size: cover !important;
    background-color: transparent !important;
  }

  body#home .mv_slider,
  body#home .mv_txt {
    display: none !important;
  }

  .lower_page_ttl_bg {
    margin-top: var(--ModernHeaderHeightSp) !important;
  }
}

@media screen and (max-width: 420px) {
  .site_brand_sub {
    display: none !important;
  }

  .site_brand_logo {
    max-width: 152px;
    height: 28px;
  }

  .site_brand_logo_text,
  .site_brand_fallback {
    font-size: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  #header.site_header,
  .site_nav a::after,
  .site_header_cta,
  #header.site_header .hamburger.site_menu_toggle span,
  #header.site_header nav.globalMenuSp.site_mobile_menu {
    transition: none !important;
  }
}
