:root {
  --ef-ink: #111826;
  --ef-navy: #101a30;
  --ef-blue: #255fc4;
  --ef-cyan: #33c6e0;
  --ef-paper: #ffffff;
  --ef-mist: #f3f6fa;
  --ef-line: rgba(22, 35, 63, .16);
  --ef-display: "Shippori Mincho B1", "Hiragino Mincho ProN", serif;
  --ef-heading: "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;
  --ef-body: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", sans-serif;
  --ef-label: "Space Grotesk", sans-serif;
  --ef-serif: var(--ef-display);
  --ef-sans: var(--ef-body);
}

html { scroll-behavior: smooth; }
body { text-rendering: optimizeLegibility; }
#ec-intro { display: none !important; }

section[data-screen-label] h1 {
  font-family: var(--ef-display) !important;
  font-weight: 700 !important;
  letter-spacing: .015em !important;
  text-wrap: balance;
}

section[data-screen-label$="Hero"] h1 > span {
  font-family: inherit !important;
  font-size: inherit !important;
  font-weight: inherit !important;
  line-height: inherit !important;
  letter-spacing: inherit !important;
}

section[data-screen-label$="Hero"]:not(#ec-hero-root) h1::before {
  content: "";
  display: block;
  width: 42px;
  height: 1px;
  margin: 0 0 24px;
  background: currentColor;
  opacity: .42;
}

section[data-screen-label] h2 {
  font-family: var(--ef-heading) !important;
  font-weight: 900 !important;
  text-wrap: balance;
}
section[data-screen-label] p { text-wrap: pretty; }

a[style*="border-radius:999"],
button[style*="border-radius:999"] {
  border-radius: 2px !important;
}

a[style*="box-shadow"] { box-shadow: none !important; }

a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid rgba(51, 198, 224, .75) !important;
  outline-offset: 4px !important;
}

header[id] {
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

a[style*="position:fixed"][style*="bottom:"] {
  display: none !important;
}

.sg-drop {
  border-radius: 2px !important;
  box-shadow: 0 22px 54px rgba(12, 22, 42, .14) !important;
}

#ec-discipline h2,
#ec-core h2,
#ec-manifesto h2 {
  font-family: var(--ef-display) !important;
  font-weight: 700 !important;
}

#ec-discipline,
#ec-core,
#ec-manifesto,
section[data-screen-label="COMPANY 会社概要"] {
  padding-top: clamp(112px, 13vw, 184px) !important;
  padding-bottom: clamp(112px, 13vw, 184px) !important;
}

#ph-top {
  min-height: 88svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #fff !important;
  padding-top: clamp(150px, 19vh, 220px) !important;
  padding-bottom: clamp(100px, 12vw, 164px) !important;
}

#ph-top > div[data-reveal]:first-of-type {
  width: 100%;
  max-width: 1180px !important;
}

#ph-top h1 {
  max-width: 1120px !important;
  margin-bottom: clamp(44px, 6vw, 76px) !important;
  font-size: clamp(48px, 7.6vw, 104px) !important;
  line-height: 1.22 !important;
}

#ph-top h1 span {
  display: inline-block;
  white-space: nowrap;
}

#ph-top > div[data-reveal]:first-of-type > p {
  max-width: 540px !important;
  margin-left: auto !important;
  padding-left: 28px;
  border-left: 1px solid rgba(37, 95, 196, .38);
  font-family: var(--ef-sans) !important;
  font-size: clamp(16px, 1.6vw, 19px) !important;
  line-height: 2.15 !important;
}

#ph-top > div[data-reveal]:last-of-type {
  width: 100%;
  max-width: 1180px !important;
  margin-top: clamp(72px, 9vw, 112px) !important;
}

#ph-top > div[data-reveal]:last-of-type > div {
  border-color: var(--ef-line) !important;
}

#ph-top > div[data-reveal]:last-of-type a,
#ph-top > div[data-reveal]:last-of-type > div > div {
  padding-top: 24px !important;
  padding-bottom: 24px !important;
  border-radius: 0 !important;
}

#ph-vision,
#ph-mission,
#ph-value,
#ph-circle {
  min-height: 78svh;
  display: flex;
  align-items: center;
  padding-top: clamp(124px, 14vw, 190px) !important;
  padding-bottom: clamp(124px, 14vw, 190px) !important;
}

#ph-code,
#ph-profile {
  padding-top: clamp(124px, 14vw, 190px) !important;
  padding-bottom: clamp(124px, 14vw, 190px) !important;
}

#ph-vision h2,
#ph-mission h2,
#ph-value h2,
#ph-circle h2,
#ph-code h2,
#ph-profile h2 {
  font-family: var(--ef-display) !important;
  font-weight: 700 !important;
  font-size: clamp(38px, 5.6vw, 72px) !important;
  line-height: 1.42 !important;
  letter-spacing: .02em !important;
}

#ph-vision > div,
#ph-mission > div,
#ph-value > div,
#ph-circle > div,
#ph-code > div,
#ph-profile > div {
  width: 100%;
  max-width: 1120px !important;
}

section[data-screen-label$="Hero"]:not(#ec-hero-root):not(#ph-top) {
  min-height: min(76svh, 760px);
  display: flex;
  align-items: center;
  padding-top: clamp(148px, 17vh, 198px) !important;
  padding-bottom: clamp(92px, 10vw, 132px) !important;
}

section[data-screen-label$="Hero"]:not(#ec-hero-root):not(#ph-top) h1 {
  font-size: clamp(40px, 5.8vw, 76px) !important;
  line-height: 1.38 !important;
}

section[data-screen-label$="CTA"] {
  padding-top: clamp(104px, 12vw, 156px) !important;
  padding-bottom: clamp(104px, 12vw, 156px) !important;
}

input,
textarea,
select {
  border-radius: 2px !important;
  font-family: var(--ef-sans) !important;
}

@media (max-width: 720px) {
  section[data-screen-label$="Hero"]:not(#ec-hero-root) h1::before {
    width: 30px;
    margin-bottom: 18px;
  }

  #ph-top {
    min-height: auto;
    padding-top: 132px !important;
    padding-bottom: 92px !important;
  }

  #ph-top h1 {
    font-size: clamp(38px, 12.3vw, 58px) !important;
    margin-bottom: 36px !important;
  }

  #ph-top > div[data-reveal]:first-of-type > p {
    margin-left: 0 !important;
    padding-left: 18px;
  }

  #ph-top > div[data-reveal]:last-of-type {
    margin-top: 62px !important;
  }

  #ph-vision,
  #ph-mission,
  #ph-value,
  #ph-circle,
  #ph-code,
  #ph-profile {
    min-height: auto;
    padding-top: 96px !important;
    padding-bottom: 96px !important;
  }

  #ph-vision h2,
  #ph-mission h2,
  #ph-value h2,
  #ph-circle h2,
  #ph-code h2,
  #ph-profile h2 {
    font-size: clamp(32px, 9vw, 46px) !important;
  }

  section[data-screen-label$="Hero"]:not(#ec-hero-root):not(#ph-top) {
    min-height: auto;
    padding-top: 128px !important;
    padding-bottom: 86px !important;
  }

  section[data-screen-label$="Hero"]:not(#ec-hero-root):not(#ph-top) h1 {
    font-size: clamp(34px, 10vw, 50px) !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
