.sidenav {
  width: 22%;
  padding-left: 14px;
  padding-right: 14px;
  padding-bottom: 6px;
}

.sidenav {
  display: flex;
  flex-direction: column;

  scrollbar-gutter: stable;
}

.sidenav > .ibr-menu-groups {
  flex: 0 0 auto;
  margin-bottom: 12px;
}

.ibr-sidenav-old {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  padding-top: 12px;
  border-top: 2px solid #0c2a7b;
}

.ibr-menu {
  margin-top: 94px;
  padding: 12px;
  background: linear-gradient(135deg, #eef4fc 0%, #ffffff 60%, #e6effb 100%);
  font-family: "Hiragino Kaku Gothic ProN", "Meiryo", sans-serif;
}

.ibr-menu *,
.ibr-menu *::before,
.ibr-menu *::after {
  box-sizing: border-box;
}

.ibr-menu-groups {
  display: block;
  margin: 0;
  padding: 0;
  list-style: none;
  font-family: "Hiragino Kaku Gothic ProN", "Meiryo", sans-serif;
  letter-spacing: normal;
}

.ibr-menu-groups *,
.ibr-menu-groups *::before {
  box-sizing: border-box;
}

.ibr-menu-groups > li + li {
  margin-top: 6px;
}

.ibr-menu-groups-sp {
  display: none;
}

.ibr-menu-group {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 10px 10px;
  border: 0;
  border-radius: 8px;
  background: #0c2a7b;
  color: #ffffff;
  font-size: 14px;
  font-weight: bold;
  line-height: 1.35;
  text-align: left;
  cursor: pointer;
  transition: background 0.15s;
}

.ibr-menu-group .key {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #ffffff;
  color: #0c2a7b;
  font-size: 14px;
}

.ibr-menu-groups .ibr-menu-group {
  min-height: 46px;
}

.ibr-menu-group:hover,
.ibr-menu-group:focus {
  background: #1d4fc4;
  outline: none;
}

.ibr-menu-group.is-active {
  background: #e8001b;
}

.ibr-menu-group.is-active .key {
  color: #e8001b;
}

.ibr-menu-g > .ibr-menu-group {
  align-self: start;
  min-width: 0;
}

.ibr-menu-group .txt {
  display: block;
  flex: 1 1 auto;
  min-width: 0;
}

.ibr-menu-group .ttl {
  display: block;
  min-width: 0;
}

.ibr-menu-group-img {
  display: block;
  max-width: 100%;
  height: auto;
}

@media screen and (min-width: 1400px) {
  .ibr-menu-groups .ibr-menu-group .ttl,
  .ibr-menu-groups .ibr-menu-item {
    white-space: nowrap;
  }
}

.ibr-menu-home,
.ibr-menu-home.is-active,
.ibr-menu-home:focus {
  background: #0c2a7b;
  cursor: default;
}

.ibr-menu-g[data-group="home"]:hover > .ibr-menu-home {
  background: #e8001b;
}

.ibr-menu-home .ibr-menu-group-img.on,
.ibr-menu-g[data-group="home"]:hover > .ibr-menu-home .ibr-menu-group-img.off {
  display: none;
}

.ibr-menu-g[data-group="home"]:hover > .ibr-menu-home .ibr-menu-group-img.on {
  display: block;
}

.ibr-menu-g {
  display: grid;

  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto 0fr;
  align-content: start;
  row-gap: 0;
  transition: grid-template-rows 0.35s ease, row-gap 0.35s ease;
}

.ibr-menu-g.is-open {
  grid-template-rows: auto 1fr;
  row-gap: 4px;
}

.ibr-menu-groups .ibr-menu-items {
  min-height: 0;
  margin: 0 0 0 10px;
  padding: 0;
  list-style: none;
  border-left: 3px solid #e8001b;
  border-radius: 0 6px 6px 0;
  background: #ffffff;
  box-shadow: 0 1px 6px rgba(12, 42, 123, 0.12);
  overflow: hidden;
  visibility: hidden;
  transition: visibility 0s linear 0.35s;
}

.ibr-menu-g.is-open > .ibr-menu-items {
  visibility: visible;
  transition-delay: 0s;
}

.ibr-menu-groups .ibr-menu-items > li {
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.ibr-menu-g.is-open > .ibr-menu-items > li {
  opacity: 1;
  transform: none;
}

.ibr-menu-g.is-open > .ibr-menu-items > li:nth-child(1)  { transition-delay: 0.03s; }
.ibr-menu-g.is-open > .ibr-menu-items > li:nth-child(2)  { transition-delay: 0.06s; }
.ibr-menu-g.is-open > .ibr-menu-items > li:nth-child(3)  { transition-delay: 0.09s; }
.ibr-menu-g.is-open > .ibr-menu-items > li:nth-child(4)  { transition-delay: 0.12s; }
.ibr-menu-g.is-open > .ibr-menu-items > li:nth-child(5)  { transition-delay: 0.15s; }
.ibr-menu-g.is-open > .ibr-menu-items > li:nth-child(6)  { transition-delay: 0.18s; }
.ibr-menu-g.is-open > .ibr-menu-items > li:nth-child(7)  { transition-delay: 0.21s; }
.ibr-menu-g.is-open > .ibr-menu-items > li:nth-child(8)  { transition-delay: 0.24s; }
.ibr-menu-g.is-open > .ibr-menu-items > li:nth-child(9)  { transition-delay: 0.27s; }
.ibr-menu-g.is-open > .ibr-menu-items > li:nth-child(10) { transition-delay: 0.30s; }
.ibr-menu-g.is-open > .ibr-menu-items > li:nth-child(n+11) { transition-delay: 0.33s; }

@media (prefers-reduced-motion: reduce) {
  .ibr-menu-g,
  .ibr-menu-groups .ibr-menu-items,
  .ibr-menu-groups .ibr-menu-items > li {
    transition: none !important;
  }
}

.ibr-menu-stage {
  position: relative;
  min-width: 0;
  height: 600px;
}

.ibr-menu .aips-top {
  height: 100%;
  margin-top: 0;
  padding: 0;
  background: none;
}

.ibr-menu-panel {
  display: none;
  grid-template-columns: 1fr;
  gap: 12px;
  height: 100%;
}

.ibr-menu.is-panel .aips-top {
  display: none;
}

.ibr-menu.is-panel .ibr-menu-panel {
  display: grid;
}

.ibr-menu-item {
  display: block;
  width: 100%;
  padding: 9px 12px;
  border: 0;
  border-bottom: 1px solid #e3e8f3;
  background: #ffffff;
  color: #1a1a1a;
  font-size: 12px;
  line-height: 1.45;
  text-align: left;
  cursor: pointer;
  position: relative;
}

.ibr-menu-item-img {
  display: block;
  max-width: 100%;
  height: auto;
}

.ibr-menu-item-img.on,
.ibr-menu-item.is-active .ibr-menu-item-img.off {
  display: none;
}

.ibr-menu-item.is-active .ibr-menu-item-img.on {
  display: block;
}

.ibr-menu-items li:last-child .ibr-menu-item {
  border-bottom: 0;
}

.ibr-menu-item:hover,
.ibr-menu-item:focus {
  background: #eef4fc;
  outline: none;
}

.ibr-menu-item.is-active {
  background: #dfe9ff;
  color: #0c2a7b;
  font-weight: bold;
}

.ibr-menu-item[data-aips],
.ibr-menu-item[data-aips]:hover,
.ibr-menu-item[data-aips]:focus,
.ibr-menu-item[data-aips].is-active {
  background: #ffffff;
  cursor: default;
}

.ibr-menu-item[data-aips].is-active .ibr-menu-item-img.off {
  display: block;
}

.ibr-menu-item[data-aips].is-active .ibr-menu-item-img.on {
  display: none;
}

.ibr-badge {
  display: inline-block;
  margin-left: 4px;
  padding: 0 5px;
  border-radius: 3px;
  font-size: 11px;
  font-weight: bold;
  line-height: 1.6;
  vertical-align: 1px;
}

.ibr-badge-new {
  background: #ffd400;
  color: #c00000;
}

.ibr-badge-hot {
  background: #e8001b;
  color: #ffffff;
}

.ibr-menu-group .ibr-badge {
  flex: 0 0 auto;
  margin-left: 0;
  white-space: nowrap;
  box-shadow: 0 0 0 1px #ffffff;
}

.ibr-menu-group.is-active .ibr-badge-hot {
  background: #ffd400;
  color: #c00000;
}

.ibr-menu-main {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  border-radius: 10px;
  background: #ffffff;
  box-shadow: 0 2px 10px rgba(12, 42, 123, 0.12);
}

.ibr-menu-main-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 14px;
  background: #0c2a7b;
  color: #ffffff;
  font-size: 15px;
  font-weight: bold;
}

.ibr-menu-main-head .solver {
  display: inline-block;
  margin-left: 10px;
  padding: 1px 10px;
  border-radius: 12px;
  background: #ffd400;
  color: #c00000;
  font-size: 13px;
  white-space: nowrap;
  vertical-align: 1px;
}

.ibr-menu-main-head .ttl {
  flex: 1 1 auto;
  min-width: 0;
}

.ibr-menu-head-img {
  display: block;
  max-width: 100%;
  height: auto;
}

.ibr-menu-main-head .more {
  flex: 0 0 auto;
  padding: 3px 12px;
  border-radius: 14px;
  background: #ffffff;
  color: #0c2a7b;
  font-size: 13px;
  text-decoration: none;
}

.ibr-menu-main-head .more:hover {
  background: #ffd400;
  color: #0c2a7b;
  text-decoration: none;
}

.ibr-menu-main-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  padding: 12px 16px;
}

.ibr-menu-main-body:not(.is-aips) img,
.ibr-menu-main-body:not(.is-aips) video {
  max-width: 100%;
  height: auto;
}

.ibr-menu-main-body .ibr-logo-title {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 14px;
}

.ibr-menu-main-body:not(.is-aips) .ibr-logo-title img {
  flex: 0 0 auto;
  width: auto;
  height: 60px;
  max-width: none;
}

.ibr-menu-main-body .ibr-logo-title span {
  margin-left: 6px;
  font-size: 20px;
  font-weight: bold;
  line-height: 1.4;
  color: #000;
}

.ibr-menu-main-body .ibr-split-video {
  margin-bottom: 12px;
}

.ibr-menu-main-body .ibr-numbered {
  margin-bottom: 24px;
}

.ibr-menu-main-body .ibr-split-video video {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  margin-bottom: 12px;
}

.ibr-menu-main-body .ibr-split-video > :last-child {
  margin-bottom: 0;
}

.ibr-menu-main-body .ibr-split-img {
  margin-top: 0;
}

.ibr-menu-main-body .ibr-split-text :is(p, div, section):last-child {
  margin-bottom: 0;
  padding-bottom: 0;
}

.ibr-menu-main-body .ibr-top0 {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

.ibr-menu-main-body .ibr-split-video > :first-child {
  margin-top: 0;
}

.ibr-menu-main-body .ibr-split-text,
.ibr-menu-main-body .ibr-split-text *:not(a) {
  font-weight: normal !important;
  color: #000 !important;
}

.ibr-menu-main-body .ibr-split-text :is(p, div, section, font, span) {
  padding-left: 0 !important;
  margin-left: 0 !important;
  text-indent: 0 !important;
  text-align: left !important;
}

.ibr-menu-main-body .ibr-split-text,
.ibr-menu-main-body .ibr-split-text * {
  font-family: "Meiryo", "メイリオ", "Hiragino Kaku Gothic ProN", sans-serif !important;
  font-size: 16px !important;
  letter-spacing: 0 !important;
  line-height: 1.5 !important;
}

.ibr-menu-main-body .ibr-numbered {
  margin-bottom: 24px;
}

.ibr-menu-main-body .ibr-split-video video {
  display: block;
  width: 100%;
  height: auto;
  margin-bottom: 12px;
}

.ibr-menu-main-body .ibr-flow .row {
  display: block;
}

.ibr-menu-main-body .ibr-flow .col-sm {
  max-width: 100%;
  padding-left: 0;
  padding-right: 0;
}

.ibr-menu-main-body .ibr-split-img img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  margin: 0 0 12px;
}

.ibr-menu-main-body.is-aips {
  padding: 12px;
  overflow-y: auto;
}

.ibr-menu.is-panel .ibr-menu-main-body .aips-top {
  display: grid;
  height: auto;
}

.ibr-menu-main-body .container {
  max-width: 100%;
  padding-left: 0;
  padding-right: 0;
}

.ibr-menu-main-body .row {
  margin-left: 0;
  margin-right: 0;
}

.ibr-menu-side-part {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 16px;
  align-items: start;
}

.ibr-menu-side-part .product-accordion {
  margin-bottom: 0;
}

.ibr-menu-side-part .media-list {
  display: contents;
}

.ibr-menu-aips video {
  display: block;
  width: 100%;
  border-radius: 6px;
  background: #0f1b3d;
}

.ibr-menu-aips .lead {
  margin: 12px 0 4px;
  color: #0c2a7b;
  font-size: 17px;
  font-weight: bold;
}

.ibr-bottom-part.container {
  margin-top: 40px;
  margin-bottom: 40px;
}

.ibr-bottom-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 16px;
  align-items: start;
}

.ibr-bottom-grid .product-accordion {
  margin-bottom: 0;
}

.ibr-bottom-grid .media-list {
  display: contents;
}

@media screen and (max-width: 650px) {
  .ibr-bottom-grid {
    grid-template-columns: 1fr;
  }
}

.aips-top {
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto auto auto;
  grid-template-areas:
    "short"
    "orbit"
    "detail";
  justify-content: start;
}

.aips-top .aips-right {
  display: contents;
}

.aips-top .aips-left {
  grid-area: short;
  min-width: 0;
}

.aips-top .aips-orbit {
  grid-area: orbit;
  min-height: 160px;
  aspect-ratio: 9 / 4;
}

.aips-top .aips-detail {
  grid-area: detail;
  aspect-ratio: 16 / 9;
}

.aips-top .aips-orbit {
  container-type: size;
}

.aips-top .aips-orbit-center {
  overflow: hidden;
  padding: 0 7%;
}

.aips-top .aips-orbit-center .ttl {
  font-size: clamp(9px, min(3.4cqw, 4.6cqh), 26px);
  line-height: 1.25;
  letter-spacing: 0;
}

.aips-top .aips-orbit-center .txt {
  font-size: clamp(7px, min(2.4cqw, 3cqh), 17px);
  line-height: 1.35;
  letter-spacing: 0;
}

.aips-top .aips-orbit-center .seg {
  display: block;
  word-break: auto-phrase;
}

.aips-top .aips-orbit-item {
  container-type: inline-size;
  letter-spacing: 0;
}

@media screen and (min-width: 651px) {
  .aips-top .aips-orbit-item {
    --sat: clamp(62px, 22cqh, 130px);
    width: var(--sat);
    height: var(--sat);
    margin: calc(var(--sat) / -2) 0 0 calc(var(--sat) / -2);
  }
  .aips-top .aips-orbit-item .new {
    font-size: clamp(10px, 13cqw, 14px);
  }
  .aips-top .aips-orbit-center {
    width: 40%;
    padding: 0 5%;
  }
}

.aips-top .aips-orbit-item > span:not(.new) {
  font-size: 15cqw;
  line-height: 1.2;
  white-space: nowrap;
}

.aips-top .aips-orbit-item .no {
  font-size: 21cqw;
}

.aips-top .aips-left .aips-short {
  justify-content: flex-start;
}

@media screen and (max-width: 650px) {
  .aips-top {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto 300px auto;
  }
  .aips-top .aips-orbit {
    aspect-ratio: auto;
  }
}

.ibr-menu-text .lead {
  margin: 4px 0 8px;
  color: #0c2a7b;
  font-size: 17px;
  font-weight: bold;
}

@keyframes ibr-nav-glow {
  0%   { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

@keyframes ibr-nav-beat {
  0%   { transform: scale(1); }
  14%  { transform: scale(1.25); }
  28%  { transform: scale(1); }
  42%  { transform: scale(1.25); }
  70%  { transform: scale(1); }
  100% { transform: scale(1); }
}

.header .navbar-light .navbar-nav .nav-link.ibr-nav-glow {
  position: relative;
  z-index: 1;
  background-image: linear-gradient(90deg, #1840e8 0%, #000000 25%, #1840e8 50%, #000000 75%, #1840e8 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  transform-origin: center center;
  animation: ibr-nav-glow 1.6s linear infinite, ibr-nav-beat 1.2s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
  .header .navbar-light .navbar-nav .nav-link.ibr-nav-glow {
    animation: ibr-nav-glow 1.6s linear infinite;
  }
}

@media screen and (max-width: 1100px) {

  .ibr-menu-groups .ibr-menu-group {
    min-height: 42px;
  }
  .ibr-menu-stage {
    height: 530px;
  }
  .ibr-menu-group {
    font-size: 12px;
    padding: 8px;
  }
  .ibr-menu-item {
    font-size: 11px;
  }
}

@media (max-width: 768px) {
  .ibr-menu-groups-sp {
    display: block;
    margin-bottom: 8px;
  }

  .main-container {
    padding-top: 0;
  }

  .sidenav {
    display: none;
  }
}

@media screen and (max-width: 650px) {
  .ibr-menu {
    padding: 8px;
  }
  .ibr-menu-stage {
    height: auto;
  }
  .ibr-menu .aips-top {
    height: auto;
  }
  .ibr-menu-panel {
    grid-template-columns: 1fr;
    grid-template-rows: 480px;
  }
  .ibr-menu-main-body.is-aips {
    overflow-y: auto;
  }
  .ibr-menu.is-panel .ibr-menu-main-body .aips-top {
    height: auto;
  }
  .ibr-menu-side-part {
    grid-template-columns: 1fr;
  }
}

.ibr-menu-notes {
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid #cccccc;
  color: #666666;
  font-size: 11px;
  line-height: 1.5;
}

.ibr-menu-notes p {
  margin: 0 0 6px;
}

.ibr-menu-notes a {
  color: #0c2a7b;
  text-decoration: underline;
}

.ibr-menu-notes-sp {
  display: none;
  margin-top: 10px;
}

@media (max-width: 768px) {
  .ibr-menu-notes-sp {
    display: block;
  }
}

#footer_sp .row > .col-sm:last-child {
  margin-top: 8px;
  padding-top: 20px;
  border-top: 1px solid #c8d0e0;
}

.header .home-contact-link-button-header {
  background-color: #0c2a7b;
}

.btn-submit {
  background-color: #0c2a7b;
}

.btn-submit:hover {
  background-color: #0a2266;
}

.aips-short:hover,
.aips-short:focus {
  box-shadow: 0 0 0 3px #0c2a7b, 0 4px 14px rgba(12, 42, 123, 0.25);
}
