:root {
  --green: #1c9c63;
  --blue: #175d99;
  --red: #b75a1f;
  --white: #ffffff;
  --gray: #cccccc;
  --grayE: #eeeeee;
  --black: #1a1a1a;
}
body {
  font-family: 'Noto Sans JP', sans-serif;
  background-color: var(--white);
  color: var(--black);
}
img {
  display: block;
  width: 100%;
  height: auto;
}
.diagram {
  width: 1440px;
}

.top {
  font-weight: bold;
  max-width: 800px;
  margin-inline: auto;
}
.top h1 {
  font-size: 2rem;
  letter-spacing: 0.1em;
}
.top ul {
  margin-top: 3em;
}
.top li:not(:first-child) {
  margin-top: 1em;
}
.top li a {
  font-size: 1.5rem;
  text-decoration: underline;
}

.contents {
  margin-top: 10em;
  margin-bottom: 5em;
  width: 1440px;
}
.contents-title {
  font-size: 2em;
  font-weight: bold;
  text-align: center;
}
.contents-buttons {
  margin-top: 6em;
  display: flex;
  justify-content: center;
  gap: 1em;
}
.contents-buttons a {
  padding: 1.3em 2em;
  display: inline-block;
  font-size: 18px;
  color: var(--white);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4em;
}
.contents-buttons a p {
  flex-shrink: 0;
}
.contents-buttons a span {
  flex-shrink: 0;
  background-color: var(--white);
  display: inline-block;
  width: 3em;
  height: 3em;
  border-radius: 50%;
  position: relative;
}
.contents-buttons a span::before {
  content: '';
  display: inline-block;
  width: 12px;
  height: 12px;
  border-top: 2px solid var(--blue);
  border-right: 2px solid var(--blue);
  rotate: 45deg;
  transform-origin: center;
  position: absolute;
  top: 50%;
  left: 50%;
  translate: -50% -50%;
}
.contents-buttons a:first-child {
  background-color: var(--blue);
}
.contents-buttons a:nth-child(2) {
  background-color: var(--green);
  span::before {
    border-color: var(--green);
  }
}
.contents-buttons a:last-child {
  background-color: var(--red);
  span::before {
    border-color: var(--red);
  }
}

.modal,
.modalPic {
  width: unset;
  max-width: unset;
  height: unset;
  max-height: unset;
  padding: unset;
  color: unset;
  background-color: unset;
  border: unset;
  background: rgba(0, 0, 0, 0.5);
  text-align: center;
}
.modalContainer {
  margin-top: 40px;
  margin-bottom: 40px;
  background-color: var(--white);
  width: 1000px;
  margin-inline: auto;
  padding: 60px 80px;
  position: relative;
}

.modalOpen {
  cursor: pointer;
  content: '';
  display: inline-block;
  width: 100%;
  height: 100%;
}

.modalClose,
.modalPicClose {
  content: '';
  display: inline-block;
  width: 40px;
  height: 40px;
  position: relative;
  border-radius: 50%;
  rotate: 45deg;
  position: absolute;
  top: 20px;
  right: 40px;
  cursor: pointer;
}
.modalClose {
  background-color: var(--blue);
}
.modalPicClose {
  background-color: var(--white);
  right: 24px;
}
.modalClose span,
.modalClose::before,
.modalPicClose span,
.modalPicClose::before {
  content: '';
  display: inline-block;
  background-color: var(--white);
  position: absolute;
  top: 50%;
  left: 50%;
  translate: -50% -50%;
}
.modalClose span,
.modalPicClose span {
  width: 50%;
  height: 1px;
}
.modalClose::before,
.modalPicClose::before {
  height: 50%;
  width: 1px;
}
.modalPicClose span,
.modalPicClose::before {
  background-color: var(--blue);
}

.modalPicOpen {
  position: absolute;
  top: 10px;
  right: 8px;
  cursor: pointer;
}
.modalPicOpen img {
  width: 28px;
}

.modalPicTtl {
  font-size: 14px;
  padding: 1em 0;
  border: 1px solid var(--blue);
}
.modalPicContainer {
  margin-top: 40px;
  margin-bottom: 40px;
  background-color: var(--white);
  width: 1000px;
  margin-inline: auto;
  position: relative;
}
.modalPicTopBtn {
  display: flex;
  gap: 1em;
  width: 100%;
  background-color: var(--blue);
  justify-content: flex-end;
  padding-right: 90px;
  padding-top: 1em;
  padding-bottom: 1em;
}
.modalPicTopBtn a,
.modalPicTopBtn button {
  background-color: var(--white);
  padding: 12px;
  font-size: 14px;
  width: 200px;
  text-align: center;
  cursor: pointer;
}
.modalPicContents {
  position: relative;
  height: 350px;
  overflow: hidden;
}
.modalPicContainerContents {
  padding: 2em;
}
.modalPicContainerContents figure {
  margin-top: 1.5em;
}

.tabPicture {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1em;
}

.tabItems {
  margin-top: 2em;
  display: flex;
  gap: 1em;
  width: 100%;
  margin-bottom: 30px;
  border-bottom: 3px solid var(--blue);
}

.tabItems span {
  cursor: pointer;
  width: 100%;
  padding: 10px;
  background-color: var(--grayE);
  border-radius: 10px 10px 0 0;
}

.tabItems span.active {
  background-color: var(--blue);
  color: var(--white);
}

.tabContents {
  width: 100%;
}

.tab-pane {
  display: none;
}

.tab-pane.active {
  display: block;
}

.back {
  margin-top: 3em;
  text-decoration: underline;
  text-align: center;
}

.backtop {
  content: '';
  position: absolute;
  width: 202px;
  height: 58px;
  top: 30px;
  left: 21px;
  z-index: 1;
}
.bt2 {
  width: 225px;
  height: 66px;
  top: 35px;
  left: 45px;
}
.bt-12-keito {
  top: 25px;
  left: 16px;
}

.modalContents {
  position: absolute;
  z-index: 1;
  width: 1.2rem;
  height: 1.2rem;
  top: 0;
  left: 0;
}

.modalContents_07syuno-keito-1 {
  top: 277px;
  left: 200px;
}
.modalContents_07syuno-keito-2 {
  top: 598px;
  left: 221px;
}
.modalContents_07syuno-keito-3 {
  top: 857px;
  left: 398px;
  width: 120px;
  height: 128px;
}
.modalContents_07syuno-keito-4 {
  top: 181px;
  left: 407px;
  width: 336px;
  height: 293px;
}

.modalContents_07gnss-keito-1 {
  top: 210px;
  left: 172px;
}
.modalContents_07gnss-keito-2 {
  top: 524px;
  left: 291px;
}
.modalContents_07gnss-keito-3 {
  top: 886px;
  left: 532px;
  width: 115px;
  height: 100px;
}
.modalContents_07gnss-keito-4 {
  top: 236px;
  left: 1120px;
  width: 117px;
  height: 106px;
}

.modalContents_07shingou-keito-1 {
  top: 297px;
  left: 199px;
}
.modalContents_07shingou-keito-2 {
  top: 621px;
  left: 221px;
}
.modalContents_07shingou-keito-3 {
  top: 906px;
  left: 680px;
  width: 101px;
  height: 81px;
}
.modalContents_07shingou-keito-4 {
  top: 641px;
  left: 1122px;
  width: 111px;
  height: 62px;
}

.modalContents_07monitor-keito-1 {
  top: 274px;
  left: 140px;
}
.modalContents_07monitor-keito-2 {
  top: 621px;
  left: 140px;
}
.modalContents_07monitor-keito-3 {
  top: 856px;
  left: 842px;
  width: 140px;
  height: 128px;
}
.modalContents_07monitor-keito-4 {
  top: 720px;
  left: 1122px;
  width: 185px;
  height: 120px;
}

.modalContents_07gnss-ari,
.modalContents_07syuno-ari,
.modalContents_07shingou-ari,
.modalContents_07monitor-ari {
  width: 3rem;
  height: 3rem;
}
.modalContents_07gnss-ari {
  top: 309px;
  left: 681px;
}
.modalContents_07syuno-ari {
  top: 491px;
  left: 811px;
}
.modalContents_07shingou-ari {
  top: 547px;
  left: 811px;
}
.modalContents_07monitor-ari {
  top: 506px;
  left: 599px;
}

.modalContents_07gnss-nashi,
.modalContents_07syuno-nashi,
.modalContents_07shingou-nashi,
.modalContents_07monitor-nashi {
  width: 3rem;
  height: 3rem;
}
.modalContents_07gnss-nashi {
  top: 276px;
  left: 1062px;
}
.modalContents_07syuno-nashi {
  top: 457px;
  left: 811px;
}
.modalContents_07shingou-nashi {
  top: 513px;
  left: 810px;
}
.modalContents_07monitor-nashi {
  top: 506px;
  left: 599px;
}

.modalContents_12syuno-keito-1 {
  top: 254px;
  left: 250px;
}
.modalContents_12syuno-keito-2 {
  top: 581px;
  left: 266px;
}
.modalContents_12syuno-keito-3 {
  top: 855px;
  left: 402px;
  width: 106px;
  height: 124px;
}
.modalContents_12syuno-keito-4 {
  top: 168px;
  left: 402px;
  width: 337px;
  height: 302px;
}

.modalContents_12gnss-keito-1 {
  top: 165px;
  left: 228px;
}
.modalContents_12gnss-keito-2 {
  top: 508px;
  left: 227px;
}
.modalContents_12gnss-keito-3 {
  top: 883px;
  left: 529px;
  width: 110px;
  height: 97px;
}
.modalContents_12gnss-keito-4 {
  top: 237px;
  left: 1118px;
  width: 126px;
  height: 100px;
}

.modalContents_12shingou-keito-1 {
  top: 275px;
  left: 250px;
}
.modalContents_12shingou-keito-2 {
  top: 602px;
  left: 266px;
}
.modalContents_12shingou-keito-3 {
  top: 900px;
  left: 673px;
  width: 100px;
  height: 80px;
}
.modalContents_12shingou-keito-4 {
  top: 639px;
  left: 1121px;
  width: 111px;
  height: 57px;
}

.modalContents_12monitor-keito-1 {
  top: 240px;
  left: 198px;
}
.modalContents_12monitor-keito-2 {
  top: 602px;
  left: 198px;
}
.modalContents_12monitor-keito-3 {
  top: 854px;
  left: 834px;
  width: 143px;
  height: 125px;
}
.modalContents_12monitor-keito-4 {
  top: 718px;
  left: 1115px;
  width: 184px;
  height: 112px;
}

.modalContents_12gnss-ari,
.modalContents_12syuno-ari,
.modalContents_12shingou-ari,
.modalContents_12monitor-ari {
  width: 3rem;
  height: 3rem;
}
.modalContents_12gnss-ari {
  top: 260px;
  left: 752px;
}
.modalContents_12syuno-ari {
  top: 457px;
  left: 823px;
}
.modalContents_12shingou-ari {
  top: 512px;
  left: 823px;
}
.modalContents_12monitor-ari {
  top: 448px;
  left: 668px;
}

.modalContents_12gnss-nashi,
.modalContents_12syuno-nashi,
.modalContents_12shingou-nashi,
.modalContents_12monitor-nashi {
  width: 3rem;
  height: 3rem;
}
.modalContents_12gnss-nashi {
  top: 312px;
  left: 724px;
}
.modalContents_12syuno-nashi {
  top: 462px;
  left: 823px;
}
.modalContents_12shingou-nashi {
  top: 512px;
  left: 823px;
}
.modalContents_12monitor-nashi {
  top: 540px;
  left: 668px;
}

/* 
.modalContents {
  background-color: rgba(0, 0, 255, 0.5);
}

.backtop {
  background-color: rgba(0, 128, 0, 0.5);
} */
