.header_outer::before {
  content: "";
  position: absolute;
  border-bottom: 2px solid #999;
  height: 0;
  left: 0;
  right: 0;
  bottom: -1px;
  pointer-events: none;
}

.main_outer {
  position: relative;
  background-image: linear-gradient(0deg, transparent calc(100% - 1px), rgb(191.1, 191.1, 184.1) calc(100% - 1px)), linear-gradient(90deg, transparent calc(100% - 1px), rgb(191.1, 191.1, 184.1) calc(100% - 1px));
  background-repeat: repeat;
  background-position: center top;
  padding: 0 10px;
}
@media (min-width: 769px) {
  .main_outer {
    background-size: 4rem 4rem;
  }
}
@media (max-width: 768px) {
  .main_outer {
    background-size: 3.75rem 3.75rem;
  }
}

@media (min-width: 769px) {
  .main_inner {
    padding: 4rem 0;
  }
}
@media (max-width: 768px) {
  .main_inner {
    padding: 3rem 0 4rem;
  }
}

.frame_area {
  display: flex;
  position: relative;
  margin: 0 auto;
}
@media (min-width: 769px) {
  .frame_area {
    justify-content: flex-end;
    max-width: 128rem;
  }
}
@media (max-width: 768px) {
  .frame_area {
    flex-direction: column;
    max-width: 33.5rem;
  }
}

.frame_content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  background: #fff;
  border: 2px solid #282896;
  width: 100%;
}
@media (min-width: 769px) {
  .frame_content {
    max-width: 112rem;
    padding: 5.7rem 0 0;
  }
}
@media (max-width: 768px) {
  .frame_content {
    padding: 3rem 0 0;
  }
}

.frame_index {
  position: relative;
  background: #282896;
}
@media (min-width: 769px) {
  .frame_index {
    order: 2;
    flex-shrink: 0;
    clip-path: polygon(0 0, 100% 0, 100% 34rem, 2rem 38rem, 2rem calc(100% - 2rem), 0 100%);
    width: 8rem;
    max-height: 100rem;
    min-height: 42.1rem;
    padding-bottom: 7rem;
  }
}
@media (max-width: 768px) {
  .frame_index {
    clip-path: polygon(0 0, 20.4rem 0, 22.8rem 3.6rem, calc(100% - 1.2rem) 3.6rem, 100% 4.8rem, 100% 100%, 0 100%);
    width: 100%;
    height: 5.8rem;
  }
}
.frame_index::before {
  content: "";
  position: absolute;
  background: var(--main-color);
  inset: 0;
}
@media (min-width: 769px) {
  .frame_index::before {
    clip-path: polygon(0 2px, calc(100% - 2px) 2px, calc(100% - 2px) 33.9rem, calc(2rem - 2px) 37.9rem, calc(2rem - 2px) calc(100% - 2.1rem), 0 calc(100% - 3px));
  }
}
@media (max-width: 768px) {
  .frame_index::before {
    clip-path: polygon(2px 2px, 20.25rem 2px, 22.65rem calc(3.6rem + 2px), calc(100% - 1.3rem) calc(3.6rem + 2px), calc(100% - 2px) 4.9rem, calc(100% - 2px) 100%, 2px 100%);
  }
}
.frame_index img {
  position: relative;
}

.head_area {
  display: flex;
  align-items: center;
  position: relative;
  margin: 0 auto;
}
@media (min-width: 769px) {
  .head_area {
    justify-content: center;
    width: 84.051%;
    min-height: 10rem;
    padding: 1.4rem 0;
  }
}
@media (max-width: 768px) {
  .head_area {
    width: 29.5rem;
    min-height: 7.8rem;
    padding: 1.7rem 0;
  }
}
.head_area::before, .head_area::after {
  content: "";
  position: absolute;
  background: #282896;
  border-radius: 2px;
  right: 0;
  height: 2px;
  pointer-events: none;
}
.head_area::before {
  top: 0;
}
@media (min-width: 769px) {
  .head_area::before {
    left: 0;
  }
}
.head_area::after {
  left: 0;
  bottom: 0;
}

.head_image {
  position: absolute;
}
.head_image img {
  object-fit: contain;
}

.head_h1 {
  letter-spacing: 0.05em;
  font-weight: 700;
  color: #282896;
}
@media (min-width: 769px) {
  .head_h1 {
    line-height: 1.389;
    font-size: 3.6rem;
    text-align: center;
  }
  .head_h1 > h1 {
    font: inherit;
  }
  .head_h1 > h1:first-of-type {
    margin-top: -0.194em;
  }
  .head_h1 > h1:last-of-type {
    margin-bottom: -0.194em;
  }
}
@media (max-width: 768px) {
  .head_h1 {
    line-height: 1.2;
    font-size: 2rem;
  }
  .head_h1 > h1 {
    font: inherit;
  }
  .head_h1 > h1:first-of-type {
    margin-top: -0.1em;
  }
  .head_h1 > h1:last-of-type {
    margin-bottom: -0.1em;
  }
}

.lead_area {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #282896;
}
@media (min-width: 769px) {
  .lead_area {
    row-gap: 2.5rem;
    margin-top: 5rem;
  }
}
@media (max-width: 768px) {
  .lead_area {
    row-gap: 2rem;
    margin-top: 3rem;
  }
}

.lead_text {
  letter-spacing: 0.05em;
  font-weight: 700;
}
@media (min-width: 769px) {
  .lead_text {
    line-height: 1.35;
    font-size: 2rem;
  }
  .lead_text > p {
    font: inherit;
  }
  .lead_text > p:first-of-type {
    margin-top: -0.175em;
  }
  .lead_text > p:last-of-type {
    margin-bottom: -0.175em;
  }
}
@media (max-width: 768px) {
  .lead_text {
    line-height: 1.25;
    font-size: 1.6rem;
    text-align: center;
  }
  .lead_text > p {
    font: inherit;
  }
  .lead_text > p:first-of-type {
    margin-top: -0.125em;
  }
  .lead_text > p:last-of-type {
    margin-bottom: -0.125em;
  }
}

.lead_caption {
  display: flex;
  flex-direction: column;
  row-gap: 1rem;
}
@media (min-width: 769px) {
  .lead_caption {
    align-items: flex-end;
  }
}
@media (max-width: 768px) {
  .lead_caption {
    align-items: center;
  }
}

.lead_head {
  letter-spacing: 0.05em;
  font-weight: 700;
}
@media (min-width: 769px) {
  .lead_head {
    line-height: 1.2;
    font-size: 3.6rem;
  }
  .lead_head > p {
    font: inherit;
  }
  .lead_head > p:first-of-type {
    margin-top: -0.099em;
  }
  .lead_head > p:last-of-type {
    margin-bottom: -0.099em;
  }
}
@media (max-width: 768px) {
  .lead_head {
    line-height: 1.2;
    font-size: 2rem;
    text-align: center;
  }
  .lead_head > p {
    font: inherit;
  }
  .lead_head > p:first-of-type {
    margin-top: -0.1em;
  }
  .lead_head > p:last-of-type {
    margin-bottom: -0.1em;
  }
}
.lead_head sup {
  display: inline-block;
  font-size: 0.9em;
  vertical-align: top;
  translate: 0 0%;
}

.lead_note {
  letter-spacing: 0.05em;
  font-weight: 700;
}
@media (min-width: 769px) {
  .lead_note {
    line-height: 1.2;
    font-size: 1.2rem;
  }
  .lead_note > p {
    font: inherit;
  }
  .lead_note > p:first-of-type {
    margin-top: -0.099em;
  }
  .lead_note > p:last-of-type {
    margin-bottom: -0.099em;
  }
}
@media (max-width: 768px) {
  .lead_note {
    line-height: 1.2;
    font-size: 1rem;
    text-align: center;
  }
  .lead_note > p {
    font: inherit;
  }
  .lead_note > p:first-of-type {
    margin-top: -0.1em;
  }
  .lead_note > p:last-of-type {
    margin-bottom: -0.1em;
  }
}
.lead_note sup {
  display: inline-block;
  font-size: 0.9em;
  vertical-align: top;
  translate: 0 0%;
}

.body_area {
  position: relative;
  margin: 0 auto;
  z-index: 5;
}
@media (min-width: 769px) {
  .body_area {
    width: 84.051%;
  }
}

.image_area {
  position: relative;
  margin: 0 auto;
}

.detail_area {
  display: flex;
  flex-direction: column;
}
@media (min-width: 769px) {
  .detail_area {
    row-gap: 5rem;
    padding-top: 4rem;
  }
}
@media (max-width: 768px) {
  .detail_area {
    row-gap: 4rem;
    padding-top: 2rem;
  }
  .detail_area:has(.detail_block.tech:first-of-type) {
    padding-top: 4rem;
  }
}

.detail_block {
  display: flex;
  margin: 0 auto;
}
@media (min-width: 769px) {
  .detail_block {
    justify-content: space-between;
    align-items: flex-start;
    column-gap: 3rem;
    width: 100%;
  }
}
@media (max-width: 768px) {
  .detail_block {
    flex-direction: column;
    row-gap: 2.2rem;
    width: 29.5rem;
  }
  .detail_block.tech {
    padding-top: 1.5rem;
  }
}

.detail_box {
  flex-shrink: 0;
  position: relative;
}
@media (min-width: 769px) {
  .detail_box {
    width: 44rem;
  }
}
.detail_box::before {
  content: "";
  position: absolute;
  border: 2px solid #282896;
  border-radius: 0.5rem;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}
.detail_block.tech .detail_box::after {
  content: "";
  position: absolute;
  background-image: url(../img/common/detail_tech.png);
  background-position: left top;
  background-repeat: no-repeat;
  background-size: contain;
  z-index: 2;
  pointer-events: none;
}
@media (min-width: 769px) {
  .detail_block.tech .detail_box::after {
    width: 10rem;
    height: 10rem;
    left: -8rem;
    top: -5.4rem;
  }
}
@media (max-width: 768px) {
  .detail_block.tech .detail_box::after {
    width: 6.7rem;
    height: 6.7rem;
    left: -1.6rem;
    top: -5rem;
  }
}
.detail_box > dt {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  background: var(--main-color);
  border-radius: 0.5rem 0.5rem 0 0;
  letter-spacing: 0.05em;
  font-weight: 700;
  text-align: center;
  color: #fff;
  overflow: hidden;
}
@media (min-width: 769px) {
  .detail_box > dt {
    min-height: 4.6rem;
    padding: 1.25rem 0;
    line-height: 1.389;
    font-size: 1.8rem;
  }
  .detail_box > dt > h2 {
    font: inherit;
  }
  .detail_box > dt > h2:first-of-type {
    margin-top: -0.194em;
  }
  .detail_box > dt > h2:last-of-type {
    margin-bottom: -0.194em;
  }
}
@media (max-width: 768px) {
  .detail_box > dt {
    min-height: 3rem;
    padding: 0.8rem 0;
    line-height: 1.286;
    font-size: 1.4rem;
  }
  .detail_box > dt > h2 {
    font: inherit;
  }
  .detail_box > dt > h2:first-of-type {
    margin-top: -0.142em;
  }
  .detail_box > dt > h2:last-of-type {
    margin-bottom: -0.142em;
  }
}
.detail_box > dd {
  position: relative;
  background: #e6e6d2;
  border-radius: 0 0 0.5rem 0.5rem;
  overflow: hidden;
}
.detail_box > dd::before {
  content: "";
  position: absolute;
  background: #282896;
  height: 2px;
  inset: 0 0 auto;
  pointer-events: none;
}

.detail_caption {
  position: relative;
}
@media (min-width: 769px) {
  .detail_caption {
    width: 46.8rem;
  }
  .detail_caption.long {
    padding-bottom: 5.2rem;
  }
}
@media screen and (min-width: 769px) and (max-width: 1279px) {
  .detail_block:last-of-type .detail_caption {
    padding-bottom: 5.2rem;
  }
}

.detail_line {
  position: relative;
  padding: 0.1rem 0;
}
@media (min-width: 769px) {
  .detail_line {
    margin-top: 1.9rem;
  }
}
.detail_line::before, .detail_line::after {
  content: "";
  position: absolute;
  background: #282896;
  border-radius: 2px;
  height: 2px;
  left: 0;
  right: 0;
  pointer-events: none;
}
.detail_line::before {
  top: 0;
}
.detail_line::after {
  bottom: 0;
}
.detail_line + .detail_note {
  text-align: right;
}
@media (min-width: 769px) {
  .detail_line + .detail_note {
    padding-top: 1.5rem;
  }
}
@media (max-width: 768px) {
  .detail_line + .detail_note {
    padding-top: 0.9rem;
  }
}

.detail_p {
  position: relative;
  clip-path: polygon(0 0.1rem, 100% 0.1rem, 100% calc(100% - 0.1rem), 0 calc(100% - 0.1rem));
  background-image: url(../img/common/line_left.png), url(../img/common/line_right.png);
  background-repeat: repeat-y;
  background-position: left top, right top;
  letter-spacing: 0.04em;
  font-weight: 500;
}
@media (min-width: 769px) {
  .detail_p {
    background-size: auto 5.2rem;
    min-height: 26rem;
    padding: 0 1.5rem;
    line-height: 2.6;
    font-size: 2rem;
  }
}
@media (max-width: 768px) {
  .detail_p {
    background-size: auto 3.1rem;
    padding: 0 0.9rem;
    line-height: 2.584;
    font-size: 1.2rem;
  }
}
.detail_p::before {
  content: "";
  position: absolute;
  background-image: url(../img/common/line_canter.png);
  background-repeat: repeat;
  background-position: center top;
  top: 0;
  bottom: 0;
  pointer-events: none;
}
@media (min-width: 769px) {
  .detail_p::before {
    background-size: auto 5.2rem;
    left: 0.2rem;
    right: 0.2rem;
  }
}
@media (max-width: 768px) {
  .detail_p::before {
    background-size: auto 3.1rem;
    left: 0.12rem;
    right: 0.12rem;
  }
}
.detail_p p {
  position: relative;
}
.detail_p p.center {
  text-align: center;
}
.detail_p p.right {
  text-align: right;
}

@media (min-width: 769px) {
  .detail_note {
    padding: 0 1.5rem;
    line-height: 1.4;
    font-size: 1.5rem;
  }
  .detail_note > p {
    font: inherit;
  }
  .detail_note > p:first-of-type {
    margin-top: -0.2em;
  }
  .detail_note > p:last-of-type {
    margin-bottom: -0.2em;
  }
}
@media (max-width: 768px) {
  .detail_note {
    padding: 0 0.9rem;
    line-height: 1.4;
    font-size: 1rem;
  }
  .detail_note > p {
    font: inherit;
  }
  .detail_note > p:first-of-type {
    margin-top: -0.2em;
  }
  .detail_note > p:last-of-type {
    margin-bottom: -0.2em;
  }
}

.pager_area {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  position: relative;
  margin-top: auto;
}
@media (min-width: 769px) {
  .pager_area {
    padding: 10.4rem 5.6rem 4.1rem;
  }
}
@media (max-width: 768px) {
  .pager_area {
    padding: 7rem 1.8rem 2rem;
  }
}

.pager_arrow {
  display: flex;
  flex-direction: column;
  position: relative;
  color: #282896;
}
@media (min-width: 769px) {
  .pager_arrow {
    row-gap: 1.5rem;
    width: 10.2rem;
    height: 8.6rem;
  }
}
@media (max-width: 768px) {
  .pager_arrow {
    row-gap: 0.8rem;
    width: 5.1rem;
  }
}
.pager_arrow::before, .pager_arrow::after, .pager_arrow figure {
  content: "";
  position: absolute;
  width: 235.295%;
  height: 279.07%;
  bottom: -4.1rem;
  opacity: 0;
  z-index: 2;
  pointer-events: none;
}
@media (max-width: 768px) {
  .pager_arrow::before, .pager_arrow::after, .pager_arrow figure {
    display: none !important;
  }
}
.pager_arrow::before {
  width: 233.334%;
  height: 276.745%;
}
.pager_arrow::after {
  background-image: url(../img/common/pager_hover.png);
  background-repeat: no-repeat;
  background-size: cover;
}
.pager_arrow span {
  position: relative;
  width: 100%;
}
.pager_arrow p {
  position: relative;
  letter-spacing: 0.05em;
  line-height: 1;
  font-weight: 700;
}
@media (min-width: 769px) {
  .pager_arrow p {
    font-size: 2.2rem;
  }
}
@media (max-width: 768px) {
  .pager_arrow p {
    font-size: 1.2rem;
  }
}
.pager_arrow.prev {
  align-items: flex-end;
}
.pager_arrow.prev span {
  scale: -1 1;
}
.pager_arrow.prev::before, .pager_arrow.prev::after, .pager_arrow.prev figure {
  left: -5.6rem;
}
.pager_arrow.prev::before {
  background: var(--prev-color);
}
.pager_arrow.prev::after {
  scale: -1 1;
}
.pager_arrow.next::before, .pager_arrow.next::after, .pager_arrow.next figure {
  right: -5.6rem;
}
.pager_arrow.next::before {
  background: var(--next-color);
}
@media (min-width: 769px) {
  .pager_arrow:hover span, .pager_arrow:hover p {
    opacity: 0;
  }
  .pager_arrow:hover::before, .pager_arrow:hover::after, .pager_arrow:hover figure {
    opacity: 1;
  }
}
@media (max-width: 768px) {
  .pager_arrow:hover {
    opacity: 0.6;
  }
}

.pager_back {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #282896;
}
@media (min-width: 769px) {
  .pager_back {
    row-gap: 1.5rem;
  }
}
@media (max-width: 768px) {
  .pager_back {
    row-gap: 0.55rem;
  }
}
@media (min-width: 769px) {
  .pager_back span {
    width: 5.8rem;
  }
}
@media (max-width: 768px) {
  .pager_back span {
    width: 2.9rem;
  }
}
.pager_back p {
  position: relative;
  letter-spacing: 0.05em;
  line-height: 1;
  font-weight: 700;
}
@media (min-width: 769px) {
  .pager_back p {
    font-size: 2.2rem;
  }
}
@media (max-width: 768px) {
  .pager_back p {
    font-size: 1.2rem;
  }
}
.pager_back:hover {
  opacity: 0.6;
}