html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", Arial, sans-serif;
}

[hidden] {
  display: none !important;
}

[class*="_mobileMenuPanel_"].is-open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

[class*="_mobileMenuButton_"].is-open > span:first-child {
  transform: translateY(6px) rotate(45deg);
}

[class*="_mobileMenuButton_"].is-open > span:nth-child(2) {
  opacity: 0;
}

[class*="_mobileMenuButton_"].is-open > span:last-child {
  transform: translateY(-6px) rotate(-45deg);
}

html.plan5-menu-open {
  overflow: hidden;
}

.plan5-mobile-parent-row {
  min-height: 54px;
  display: flex;
  align-items: center;
  border-bottom: 0;
}

.plan5-mobile-parent-row > a {
  align-self: stretch;
  display: flex;
  align-items: center;
  flex: 1;
  color: var(--navy);
  font-size: 14px;
  font-weight: 650;
}

.plan5-menu-disclosure {
  width: 46px;
  height: 46px;
  padding: 0;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: var(--blue);
  border: 0;
  background: transparent;
  cursor: pointer;
  font-family: Arial, sans-serif;
}

.plan5-menu-disclosure span {
  display: block;
  font-size: 18px;
  line-height: 1;
  transform: translateY(-2px);
  transition: transform .2s ease;
}

.plan5-menu-disclosure.is-expanded span {
  transform: translateY(1px) rotate(180deg);
}

.plan5-mobile-children {
  padding: 0 0 0 16px !important;
  display: none !important;
  gap: 0 !important;
}

.plan5-mobile-children.is-expanded {
  display: grid !important;
}

.plan5-mobile-children > a {
  min-height: 48px !important;
  padding: 0 !important;
  color: var(--navy) !important;
  border-top: 1px solid #e0e7ec;
  background: transparent !important;
  font-size: 13px !important;
  font-weight: 650;
}

.plan5-mobile-ai {
  padding: 0 !important;
  display: block !important;
  border-top: 1px solid #e0e7ec;
  background: transparent !important;
}

.plan5-mobile-ai-row {
  min-height: 48px;
  display: flex;
  align-items: center;
}

.plan5-mobile-ai-row > a {
  align-self: stretch;
  padding: 0;
  display: flex;
  align-items: center;
  flex: 1;
  color: var(--navy);
  font-size: 13px;
  font-weight: 650;
}

.plan5-mobile-ai-row .plan5-menu-disclosure {
  width: 44px;
  height: 44px;
}

.plan5-mobile-grandchildren {
  padding: 0 0 0 16px !important;
  display: none !important;
  border-top: 1px solid #e0e7ec;
}

.plan5-mobile-grandchildren.is-expanded {
  display: grid !important;
}

.plan5-mobile-grandchildren > a {
  min-height: 42px;
  padding: 0 !important;
  display: flex;
  align-items: center;
  color: #4f6278 !important;
  border-bottom: 1px solid #edf1f4;
  font-size: 11px !important;
  line-height: 1.45;
}

.plan5-mobile-grandchildren > a::before {
  display: none !important;
}

.plan5-mobile-grandchildren > a:last-child {
  border-bottom: 0;
}

/* 資料公開前は、お問い合わせ導線を単独で自然に見せる */
._mobileMenuCtas_1lpql_369 > a:only-child,
._mobileMenuCtas_bb0xv_391 > a:only-child {
  grid-column: 1 / -1;
}

._contactSection_1lpql_460 > article:only-child,
._contactSection_bb0xv_469 > article:only-child {
  grid-column: 1 / -1;
  border-top: 0;
  border-left: 0;
}

@media (width >= 761px) {
  ._contactSection_1lpql_460 > article:only-child,
  ._contactSection_bb0xv_469 > article:only-child {
    grid-template-columns: minmax(0, 1fr) minmax(250px, 310px);
    align-items: center;
    gap: 48px;
    min-height: 210px;
    padding-top: 40px;
    padding-bottom: 40px;
    display: grid;
  }

  ._contactSection_1lpql_460 > article:only-child > a,
  ._contactSection_bb0xv_469 > article:only-child > a {
    width: 100%;
    justify-self: end;
  }

  ._contactSection_1lpql_460 > article:only-child h2 br,
  ._contactSection_bb0xv_469 > article:only-child h2 br {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
