/* オープニングアニメーションは index.html の inline script が自動クリックするため、
   ボタンを画面に表示しないよう意図的に非表示にしている。削除するとボタンが露出する。 */
.OpeningSkipBtn {
  display: none;
}

/* Header コンポーネントが init 時に gsap.set(opacity:0) するが、
   KvFirstView:animation:end イベントが未着でも 7 秒後に確実に表示されるよう保証する */
@keyframes headerFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.Header {
  animation: headerFadeIn 0.5s ease 5s both;
}

.Header:has(.SimpleMenu.is-open) .HeaderLogo,
.Header:has(.SimpleMenu.is-open) .lang-switcher {
  display: none;
}


.KvIntro {
  display: grid;
  min-height: 100svh;
  overflow: hidden;
  place-items: end center;
}

.KvIntro-firstView {
  display: none;
}

.KvIntro-scrollDown {
  display: block;
}

.KvIntro-lead {
  color: #fff;
  margin: 0 auto;
  max-width: 50rem;
  overflow: hidden;
  padding: clamp(7rem, 12vw, 12rem) clamp(1.5rem, 7vw, 7.5rem) clamp(3rem, 8vw, 7rem);
  position: relative;
  text-align: center;
  width: 100%;
}

.KvIntro-logo {
  border-radius: 50%;
  display: block;
  height: clamp(3.5rem, 7vw, 5.5rem);
  margin: 0 auto clamp(1rem, 2vw, 1.5rem);
  mask-image: radial-gradient(circle, #000 62%, transparent 100%);
  -webkit-mask-image: radial-gradient(circle, #000 62%, transparent 100%);
  object-fit: cover;
  width: clamp(3.5rem, 7vw, 5.5rem);
}

.KvIntro-leadHeader {
  display: block;
  /* GSAP sets these values inline during the imported opening sequence. */
  filter: none !important;
  font-size: clamp(0.95rem, 1.8vw, 1.35rem);
  letter-spacing: 0;
  line-height: 1.5;
  opacity: 1 !important;
  transform: none !important;
  visibility: visible !important;
}

.KvIntro-leadText {
  color: #fff;
  font-size: clamp(0.75rem, 1.3vw, 0.95rem);
  letter-spacing: 0.02em;
  line-height: 1.9;
  margin-top: clamp(3rem, 6vw, 5rem);
  text-align: left;
  text-transform: none;
}

.KvIntro-brand {
  color: rgba(255, 255, 255, 0.85);
  display: block;
  font-family: Cinzel, serif;
  font-size: clamp(1rem, 2vw, 1.5rem);
  font-weight: 500;
  letter-spacing: 0.2em;
  margin-top: clamp(1rem, 2vw, 1.5rem);
  text-align: center;
  text-transform: uppercase;
}

.KvIntro-btn {
  margin-top: clamp(1.5rem, 3vw, 2.5rem);
}

.HeaderLogo {
  background: url("/anvicons/assets/images/anvicons/logo-wide.webp") center / contain no-repeat;
  display: block;
  height: clamp(2.1rem, 4vw, 3.4rem);
  width: clamp(8.8rem, 17vw, 13.5rem);
}

.lang-switcher {
  color: #fff;
  flex: 0 0 auto;
  margin-inline-start: auto;
  position: relative;
  z-index: 1;
}

.lang-switcher__toggle {
  align-items: center;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  border-radius: 999px;
  color: #333;
  cursor: pointer;
  display: inline-flex;
  font-size: 0.625rem;
  font-weight: 700;
  justify-content: center;
  letter-spacing: 0.03em;
  line-height: 1;
  padding: 0.3rem 0.5rem;
  transform-origin: right center;
  transform: scale(0.6) translateY(-25%);
  white-space: nowrap;
}

.lang-switcher__arrow {
  display: none;
}

.lang-switcher__current {
  white-space: nowrap;
}

.lang-switcher__menu {
  background: #fff;
  color: #211f1d;
  list-style: none;
  margin: 0.35rem 0 0;
  min-width: 8.5rem;
  padding: 0.4rem;
  position: absolute;
  right: 0;
}

.lang-switcher__menu a {
  display: block;
  padding: 0.45rem 0.55rem;
  text-decoration: none;
}

.lang-switcher__menu a[aria-selected="true"] {
  background: #efe8df;
}

.BusinessSection-textItem {
  white-space: normal;
}

.anv-top-footer {
  color: #4d4d4d;
  font-size: 0.5rem;
  line-height: 1.2;
  opacity: 0.55;
  letter-spacing: 0.08em;
  padding: clamp(1.25rem, 3vw, 2.5rem);
  text-align: center;
}

.Header-menuBtn {
  align-self: flex-start;
}

.SimpleMenu[hidden] {
  display: none;
}

.SimpleMenu {
  display: flex;
  inset: 0;
  justify-content: flex-start;
  position: fixed;
  z-index: 900;
}

.SimpleMenu-backdrop {
  background: rgba(7, 10, 16, 0.72);
  backdrop-filter: blur(0px);
  inset: 0;
  opacity: 0;
  position: absolute;
  transition: opacity 0.28s ease, backdrop-filter 0.28s ease;
  z-index: 0;
  width: 100%;
}

.SimpleMenu.is-open .SimpleMenu-backdrop {
  backdrop-filter: blur(6px);
  opacity: 1;
}

.SimpleMenu-panel {
  background: #fff;
  box-shadow: 8px 0 32px rgba(0, 0, 0, 0.22);
  display: flex;
  flex-direction: column;
  height: 100%;
  max-width: 360px;
  opacity: 0;
  overflow-y: auto;
  padding: 4.5rem 1.75rem 2.5rem;
  position: relative;
  transform: translateX(-12px) scale(0.985);
  transform-origin: top left;
  transition: opacity 0.32s ease, transform 0.42s cubic-bezier(0.22, 1, 0.36, 1);
  width: min(86vw, 360px);
  z-index: 1;
}

.SimpleMenu.is-open .SimpleMenu-panel {
  opacity: 1;
  transform: none;
}

.SimpleMenu-close {
  align-items: center;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 9999px;
  color: #333;
  display: flex;
  font-size: 1.75rem;
  height: 2.75rem;
  justify-content: center;
  left: 1rem;
  line-height: 1;
  position: absolute;
  top: 1rem;
  transition: background 0.2s ease, transform 0.3s ease;
  width: 2.75rem;
}

.SimpleMenu-close:hover {
  background: rgba(0, 0, 0, 0.1);
  transform: rotate(90deg);
}

.SimpleMenu-close:active {
  background: rgba(0, 0, 0, 0.18);
}

.SimpleMenu-nav {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.SimpleMenu-link {
  background: transparent;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 0;
  color: #1a1a1a;
  display: block;
  font-family: "Lora", "Noto Sans JP", YuGothic, "游ゴシック", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  font-size: clamp(0.9rem, 3.3vw, 1rem);
  letter-spacing: 0.04em;
  line-height: 1.4;
  opacity: 0;
  padding: 0.75rem 0.25rem;
  text-decoration: none;
  transform: translateY(8px);
  transition: color 0.15s ease, opacity 0.28s ease, transform 0.36s cubic-bezier(0.22, 1, 0.36, 1);
  width: 100%;
}

.SimpleMenu.is-open .SimpleMenu-link {
  opacity: 1;
  transform: none;
}

.SimpleMenu.is-open .SimpleMenu-link:nth-child(1) { transition-delay: 0.10s, 0.10s, 0.10s; }
.SimpleMenu.is-open .SimpleMenu-link:nth-child(2) { transition-delay: 0.16s, 0.16s, 0.16s; }
.SimpleMenu.is-open .SimpleMenu-link:nth-child(3) { transition-delay: 0.22s, 0.22s, 0.22s; }
.SimpleMenu.is-open .SimpleMenu-link:nth-child(4) { transition-delay: 0.28s, 0.28s, 0.28s; }
.SimpleMenu.is-open .SimpleMenu-link:nth-child(5) { transition-delay: 0.34s, 0.34s, 0.34s; }
.SimpleMenu.is-open .SimpleMenu-link:nth-child(6) { transition-delay: 0.40s, 0.40s, 0.40s; }

.SimpleMenu-link:hover,
.SimpleMenu-link:active {
  color: #0b3d91;
}

body.simple-menu-open {
  overflow: hidden;
  touch-action: none;
}

@media screen and (max-width: 820.98px) {
  .OurService-content {
    margin-left: 0;
    padding-inline: 1.25rem;
  }

  .BusinessSection-contentInner {
    padding-inline: 1.5rem;
  }

  .BusinessSection-textArea {
    left: 0;
    margin-left: 0;
  }

  .AboutUs-lead {
    margin-left: 0;
    padding-inline: 1.25rem;
    width: 100%;
  }

  .KvIntro {
    min-height: 92svh;
    overflow: visible;
    padding-bottom: 4rem;
  }

  .KvIntro-lead {
    overflow: visible;
    padding-inline: 1rem;
    padding-bottom: 0;
  }

  .KvIntro-leadHeader {
    font-size: clamp(0.4rem, 2.5vw, 0.65rem);
    white-space: nowrap;
  }

  .KvIntro-leadText {
    font-size: clamp(0.7rem, 3vw, 0.85rem);
    margin-top: 50svh;
  }

  .Header-inner {
    gap: 0.5rem;
    justify-content: flex-start;
    align-items: flex-start;
  }

  .Header-logo {
    margin-right: 0;
  }

  .HeaderLogo {
    height: 52px;
    width: 144px;
  }

  .SimpleMenu-panel {
    padding: 4rem 1.375rem 2rem;
    width: min(86vw, 320px);
  }

  .SimpleMenu-close {
    left: 0.75rem;
    top: 0.75rem;
  }

  .SimpleMenu-link {
    font-size: 0.85rem;
    line-height: 1.25;
    padding: 0.55rem 0.25rem;
  }

  .ScrollDownSign-arrow {
    align-items: center;
    display: grid;
    height: 1.6rem;
    justify-items: center;
    padding: 0;
    rotate: 0deg;
    width: 1rem;
    border-radius: 0.5rem;
  }

}

/* タブレット縦（481px〜820px）: スマホより上寄せ、vw の min を下げて余白を減らす */
@media screen and (min-width: 481px) and (max-width: 820.98px) {
  .KvIntro-lead {
    padding-top: clamp(3rem, 12vw, 12rem);
  }
}

@media screen and (min-width: 821px) {
  .AwardSectionContainer {
    margin-top: 10rem;
  }

  /* ContactSection PC 調整 */
  .ContactSection-title ._pc {
    display: none;
  }

  .ContactSection-link {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .ContactSection-content {
    text-align: center;
    margin-inline: auto;
    margin-top: 0;
  }

  .ContactSection-title {
    font-size: clamp(2.8rem, 4.8vw, 4.8rem);
    line-height: 0.95;
    margin-bottom: 0.9rem;
    white-space: nowrap;
  }

  .ContactSection-subTitle {
    font-size: clamp(1.25rem, 1.8vw, 2.25rem);
    letter-spacing: 0.05em;
  }

  .ContactSection-text {
    font-size: clamp(1rem, 1.2vw, 1.4rem);
    line-height: 1.95;
    margin-inline: auto;
    max-width: 34rem;
  }

  .ContactSection-btn {
    width: 11rem;
    height: 5.5rem;
  }

  .ContactSection-arrow {
    width: 2.5rem;
    height: 2.5rem;
  }

  .BusinessSection-imgArea {
    width: min(32rem, 60vh);
    height: min(32rem, 60vh);
    top: 8rem;
  }

  .KvIntro-lead {
    padding: clamp(8rem, 22svh, 20rem) clamp(1.5rem, 7vw, 7.5rem) clamp(3rem, 8vw, 7rem);
  }

  .KvIntro-logo {
    height: clamp(8rem, 14vw, 12rem);
    width: clamp(8rem, 14vw, 12rem);
  }

  .KvIntro-brand {
    font-size: clamp(1rem, 3vw, 3rem);
  }

  .KvIntro-leadText {
    font-size: clamp(0.55rem, 1.8vw, 1.8rem);
    margin-top: clamp(6rem, 45svh, 45rem);
  }

  .BusinessSection-text {
    font-size: 1.125rem;
    text-shadow:
      0 0 12px rgba(255, 255, 255, 0.9),
      0 0 24px rgba(255, 255, 255, 0.7),
      0 0 4px rgba(255, 255, 255, 0.95);
  }

  .BusinessSection-titleText {
    text-shadow:
      0 0 12px rgba(255, 255, 255, 0.9),
      0 0 24px rgba(255, 255, 255, 0.7),
      0 0 4px rgba(255, 255, 255, 0.95);
  }

  .ScrollDownSign-inner {
    bottom: 1.5rem;
    right: 1rem;
  }

  .ScrollDownSign-arrow {
    align-items: center;
    display: grid;
    height: 1.9rem;
    justify-items: center;
    padding: 0;
    rotate: 0deg;
    width: 1.25rem;
    border-radius: 0.55rem;
  }

  .ScrollDownSign-arrow svg,
  .ScrollDownSign-arrow path {
    display: none;
  }

  .ScrollDownSign-arrow::before {
    color: #fff;
    content: "↓";
    display: grid;
    font-size: 1.15rem;
    height: 100%;
    place-items: center;
    width: 100%;
  }

  .lang-switcher {
    font-size: 14px;
    margin-left: 0;
    position: absolute;
    right: 0;
    top: 0;
  }

  .lang-switcher__toggle {
    border-radius: 999px;
    font-size: 0.8rem;
    min-height: 2.3rem;
    min-width: 4.6rem;
    padding: 0.45rem 0.8rem;
    transform: none;
  }
}

.ContactSection-title,
.LoadingAnimation-numberWrap,
.MenuItem-main,
.CardBlock-number,
.SectionTitle-text,
.AwardSection-marqueeSingle,
.BusinessSection-titleNumber,
.BusinessSection-titleText,
.KvFirstView-headerText,
.MarqueeStart-text,
.KvIntro-leadHeader {
  font-family: "Lora", "Noto Sans JP", YuGothic, "游ゴシック", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
}

.AwardSection-marqueeSingle {
  display: inline-block;
  white-space: nowrap;
}

.AwardSection-contentInner {
  padding: 1rem 1rem 1.25rem;
}

.AwardSection-content {
  --blur-progress: 16px;
  background-color: rgba(153, 153, 153, 0.18);
}

.ContactSection-link {
  position: relative;
  display: block;
  overflow: hidden;
}

.ContactSection-link > .CommonBgGL-bg._sp {
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

.ContactSection-content {
  position: relative;
  z-index: 1;
}

.ContactSection-subTitle {
  font-size: 0.8125rem;
  font-weight: 700;
}

.ContactSection-text {
  font-size: 0.6875rem;
  font-weight: 700;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.45);
}

.ContactSection-arrow {
  width: 1.125rem;
  height: 1.125rem;
}

@media screen and (min-width: 821px) {
  .ContactSection-link {
    align-items: center;
    display: flex;
    justify-content: center;
    min-height: min(46rem, 68svh);
  }

  .ContactSection-content {
    margin-inline: auto;
    max-width: 52rem;
    text-align: center;
    width: 100%;
  }

  .ContactSection-title {
    font-size: clamp(2.8rem, 4.8vw, 4.8rem);
    line-height: 0.95;
    margin-bottom: 0.9rem;
    white-space: nowrap;
  }

  .ContactSection-subTitle {
    font-size: clamp(1.25rem, 1.8vw, 2.25rem);
    font-weight: 700;
    letter-spacing: 0.05em;
  }

  .ContactSection-text {
    font-size: clamp(1rem, 1.2vw, 1.4rem);
    font-weight: 700;
    line-height: 1.95;
    margin-inline: auto;
    max-width: 34rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.45);
  }
}

@media screen and (max-width: 820.98px) {
  .ContactSection-content {
    padding-inline: 0.75rem;
  }

  .ContactSection-text {
    font-size: 0.4875rem;
  }

  .ContactSection-arrowWrap {
    transform: scale(0.8);
  }

  .ContactSection-arrow {
    width: 0.875rem;
    height: 0.875rem;
  }
}

@media screen and (min-width: 821px) {
  .AwardSection-contentInner {
    padding: 11rem 4rem 11rem;
  }
}

@media screen and (min-width: 821px) {
  .AwardSection-contentText {
    margin-top: 1.5rem;
  }

  .AwardSection-btn {
    margin-top: 1.5rem;
  }
}

@media screen and (max-width: 820.98px) {
  .AwardSectionContainer {
    margin-top: 5rem;
  }

  .AwardSection {
    padding-bottom: 13.625rem;
  }

  .AwardSection-content {
    bottom: 2rem;
  }

  .AwardSection-content .SectionTitle-text {
    font-size: 0.85rem;
    line-height: 1.15;
  }

  .AwardSection-contentText {
    margin-top: 0.9rem;
  }

  .AwardSection-btn {
    margin-top: 0.9rem;
  }
}
