.contents {
  width: 75%;
  max-width: 1080px;
  color: #004b93;
  font-size: 16px;
  margin: 0 auto;
  padding: 40px 0;
  line-height: 30px;
}
.contents .access {
  width: 75%;
  font-weight: bold;
  border: 2px solid #001976;
  font-size: 18px;
  padding: 75px 28px;
  line-height: 36px;
  margin: 40px auto;
}
.tabs {
  margin-top: 50px;
  padding-bottom: 40px;
  padding-left: 0;
  padding-right: 0;
  background-color: #fff;
  width: 75%;
  max-width: 1080px;
  margin: 0 auto;
}

.tab-item {
  width: calc(100% / 4);
  height: 50px;
  font-size: 18px;
  text-align: center;
  color: #004b93;
  display: flex;
  justify-content: center;
  align-items: center;
  float: left;
  text-align: center;
  transition: all 0.2s ease;
  border-bottom: 1px solid #004b93;
}
.tab-item:hover {
  opacity: 0.75;
}

input[name='tab-item'] {
  display: none;
}

.tab-content {
  display: none;
  padding: 40px 0 0;
  clear: both;
  overflow: hidden;
  text-align: center;
  margin-bottom: 40px;
}

.tab-content img {
  width: 80%;
  height: auto;
  margin: 0 auto;
}

#company:checked ~ #company-content,
#nobori:checked ~ #nobori-content,
#honor:checked ~ #honor-content,
#partner:checked ~ #partner-content {
  display: block;
}

.tabs input:checked + .tab-item {
  background-color: #004b93;
  color: #fff;
  font-weight: bold;
}

.tab-content .section {
  margin-bottom: 62px;
}
.tab-content .band {
  width: 100%;
  color: #fff;
  background-color: #004b93;
  text-align: left;
  padding-top: 12px;
  padding-bottom: 12px;
}
.tab-content .band p {
  width: 100%;
  margin: 0 auto 0 30px;
  font-size: 18px;
  font-weight: bold;
}
.tab-content .text {
  color: #004b93;
  text-align: left;
  font-size: 16px;
  width: 92%;
  margin: 40px auto;
}
.tab-content .text a {
  text-decoration: underline;
  font-weight: bold;
}
.tab-content .text span {
  font-weight: bold;
}

.tab-content .images {
  width: 92%;
  display: flex;
  flex-direction: row;
  justify-content: center;
  margin: 0 auto;
}
.tab-content .image0 {
  width: 50%;
}
.tab-content .image1 {
  margin-top: 40px;
  width: 100%;
}
.subtitle {
  font-size: 20px;
  font-weight: bold;
  text-align: left;
  color: #001976;
  margin-top: 41px;
}
#company-content .text {
  margin-bottom: 0;
}
@media (max-width: 767px) {
  .contents {
    width: 92%;
  }
  .contents .access {
    width: calc(100% - 34px);
    font-weight: bold;
    border: 2px solid #001976;
    font-size: 16px;
    padding: 20px 15px;
    line-height: 1.8;
    margin: 20px auto 0;
  }
  .tabs {
    width: 92%;
  }
  .tab-item {
    width: 100%;
    height: 50px;
    font-size: 18px;
    text-align: center;
    color: #004b93;
    display: flex;
    justify-content: center;
    align-items: center;
    float: left;
    text-align: center;
    transition: all 0.2s ease;
    border: 1px solid #004b93;
    margin-top: -1px;
  }

  .tab-content img {
    width: 100%;
    height: auto;
    margin: 0 auto;
  }

  .tab-content {
    display: none;
    padding: 40px 0 0;
    clear: both;
    overflow: hidden;
    text-align: center;
  }
}


.s-partner-intro {
  margin: 0 0 50px;
}
.s-partner-intro__text {
  margin: 0 0 30px;
}
.s-partner-intro__button {
}
.s-partner-intro__button a {
  position: relative;
  display: block;
  width: fit-content;
  margin: 0 auto;
  padding: 15px 20px 15px calc(20px + 60px);
  font-weight: bold;
  color: #fff;
  background: #004b93;
  border-radius: 20px 5px 5px 20px;
}
.s-partner-intro__button a::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 60px;
  height: 100%;
  vertical-align: middle;
  background: #dc000c;
  border-radius: 5px 0 0 5px;
}
.s-partner-intro__button a::after {
  content: '▶';
  position: absolute;
  top: calc((100% - 1.6em) / 2);
  left: calc((60px - 1em) / 2);
  color: #fff;
}
.s-partner-document-image-list {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
}
.s-partner-document-image-list__item {
  flex: 0 0 calc((100% - (40px * 4)) / 5);
}
.s-partner-document-image-list__item img {
  width: 100%;
  vertical-align: top;
}

@media (max-width: 767px) {
  .s-partner-document-image-list {
    margin: 0 20px;
  }
  .s-partner-document-image-list__item:nth-child(1) {
    flex: 0 0 60%;
  }
  .s-partner-document-image-list__item {
    flex: 0 0 calc((100% - (40px * 1)) / 2);
  }
}

