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;
  }
}

/* Avoid unnatural Japanese breaks such as splitting before small kana. */
._page_1lpql_1 {
  line-break: strict;
  word-break: normal;
}

/* These cards are informational only, so do not imply click behavior. */
._reasonList_1lpql_1119 article {
  transition: none;
}

._reasonList_1lpql_1119 article:hover {
  border-color: #dce6ef;
  background: linear-gradient(135deg, #fff 0%, #fbfdff 100%);
  transform: none;
  box-shadow: 0 12px 30px #06265612;
}

/* Let the whole case card behave as its link without changing the grid. */
._useCaseGrid_1lpql_1018 article > a,
._caseGrid_bb0xv_1155 article > a {
  display: contents;
}

._useCaseGrid_1lpql_1018 article > a > div:last-child {
  padding: 22px 22px 12px;
}

._newsList_1lpql_1417 article {
  padding: 0;
  display: block;
}

._newsList_1lpql_1417 article > a {
  min-height: 88px;
  padding: 20px 24px;
  display: grid;
  grid-template-columns: 110px 100px 1fr;
  align-items: center;
  gap: 20px;
}

/* Match all case labels to the service blue. */
._caseVisual_1lpql_1035 > span {
  background: var(--blue);
}

/* Footer navigation does not need external-link arrows. */
._plan5FooterNav_1lpql_1659 a,
._footerNav_bb0xv_1370 a {
  padding-right: 0;
}

._plan5FooterNav_1lpql_1659 a::after,
._footerNav_bb0xv_1370 a::after {
  display: none;
}

._caseDetailLink_1274u_550 {
  color: var(--blue);
  border-top: 1px solid #e1e6ea;
  justify-content: space-between;
  align-items: center;
  margin-top: 18px;
  padding-top: 14px;
  font-size: 12px;
  font-weight: 700;
  display: flex;
}

._caseDetailLink_1274u_550 span {
  transition: transform .2s;
}

._caseDetailLink_1274u_550:hover span {
  transform: translate(4px, -4px);
}

._caseGrid_1274u_507 article {
  display: block;
}

._caseGrid_1274u_507 article > a {
  height: 100%;
  display: grid;
  grid-template-columns: minmax(280px, .9fr) 1.1fr;
}

._caseGrid_1274u_507 article > a:hover ._caseDetailLink_1274u_550 > span {
  transform: translate(4px, -4px);
}

/* Use a vector mask so iOS cannot render the arrow as an emoji. */
._guideRow_bb0xv_970 > a i {
  width: 16px;
  height: 16px;
  flex: none;
  font-size: 0;
  line-height: 0;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%3E%3Cpath%20d='M7%2017%2017%207M8%207h9v9'%20fill='none'%20stroke='black'%20stroke-width='1.8'%20stroke-linecap='round'%20stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%3E%3Cpath%20d='M7%2017%2017%207M8%207h9v9'%20fill='none'%20stroke='black'%20stroke-width='1.8'%20stroke-linecap='round'%20stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

@media (width <= 1100px) {
  ._caseGrid_1274u_507 article > a {
    grid-template-columns: 1fr;
  }
}

@media (width <= 760px) {
  ._newsList_1lpql_1417 article > a {
    grid-template-columns: 1fr auto;
    gap: 12px;
  }

  ._newsList_1lpql_1417 article > a h3 {
    grid-column: 1 / -1;
  }
}
