@charset "utf-8";
/* CSS Document */

@media only screen and (max-width: 840px) {
  html {
    font-size: 58% !important;
  }
}

/* 汎用パーツ */
.sub-inner {
  max-width: 1100px;
  width: 88%;
  margin: auto;

  color: #333;
}

.p-top-search::before {
  display: none !important;
}

/* btn */
.btn {
  display: block;
  padding: 15px 20px;
  padding-right: 36px;
  background: #273885;

  color: #fff !important;

  position: relative;
  z-index: 2;
}
.btn::before {
  content: "";
  position: absolute;
  top: 50%;
  right: 40px;
  display: block;
  width: 1px;
  height: 1.6rem;

  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);

  background-color: #fff;
}

.btn_link::after {
  content: "";
  display: block;
  width: 14px;
  height: 13px;
  background: url("../img/icon_btn-link.svg") no-repeat;

  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
}

.btn_link:hover::after {
  -webkit-animation: fade-arrow 0.6s forwards;
          animation: fade-arrow 0.6s forwards;
}
/* fadeArrow
------------------------- */
@-webkit-keyframes fade-arrow {
  0% {
    -webkit-transform: translateX(0) translateY(-50%);
            transform: translateX(0) translateY(-50%);
    opacity: 1;
  }
  50% {
    -webkit-transform: translateX(100%) translateY(-50%);
            transform: translateX(100%) translateY(-50%);
    opacity: 0;
  }
  51% {
    -webkit-transform: translateX(-100%) translateY(-50%);
            transform: translateX(-100%) translateY(-50%);
    opacity: 0;
  }
  100% {
    -webkit-transform: translateX(0) translateY(-50%);
            transform: translateX(0) translateY(-50%);
    opacity: 1;
  }
}
@keyframes fade-arrow {
  0% {
    -webkit-transform: translateX(0) translateY(-50%);
            transform: translateX(0) translateY(-50%);
    opacity: 1;
  }
  50% {
    -webkit-transform: translateX(100%) translateY(-50%);
            transform: translateX(100%) translateY(-50%);
    opacity: 0;
  }
  51% {
    -webkit-transform: translateX(-100%) translateY(-50%);
            transform: translateX(-100%) translateY(-50%);
    opacity: 0;
  }
  100% {
    -webkit-transform: translateX(0) translateY(-50%);
            transform: translateX(0) translateY(-50%);
    opacity: 1;
  }
}

/* サブヘッダー */
#sub-content {
}

#sub-header {
  background: url("../img/sub-header_bg.svg"), linear-gradient(to left, #c9e5fe 0%, #f6fbff 100%);
  background-repeat: no-repeat;
  background-position: right -7.82% center, center;
  background-size: min(46%, 800px) auto, 100%;

  margin-bottom: 40px;
}

#sub-header .sub-inner {
  height: 300px;

  display: flex;
  justify-content: flex-start;
  align-items: center;

  position: relative;
}

.sub-inner hgroup h1 {
  font-size: 4.0rem;
  font-weight: bold;
  margin-bottom: 15px;
}

.h1-caption {
  color: #273885;
  font-size: 2.0rem;
  font-weight: bold;
}

@media screen and (max-width: 768px) {
  #sub-header .sub-inner {
    height: 200px;
  }
  .sub-inner hgroup h1 {
    font-size: 3.2rem;
  }
  
  .h1-caption {
    font-size: 1.6rem;
  }
  
}


/* ぱんくず */
.sub-ul_bread {
  position: absolute;
  right: 0;
  bottom: 0;

  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 8px;

  padding: 15px 0;
  font-size: 1.4rem;
}
.sub-ul_bread li {
  display: flex;
  align-items: center;
  font-size: 1.4rem;
  line-height: 1.2rem;
}
.sub-ul_bread li a {
  color: #AAAAAA;
  font-size: 1.4rem;
  text-decoration: none;
}
.sub-ul_bread li a:hover {
  text-decoration: underline;
}
.sub-ul_bread li:not(:last-child)::after {
  content: "";
  display: block;
  width: 1px;
  height: 1em;
  background-color: #aaa;
  transform: rotate(15deg) translateY(1px);
  margin-left: 8px;
}




/* サブコンテンツ部汎用 */
#sub-content h2 {
  font-size: 3.0rem;
  font-weight: bold;
  line-height: 3.4rem;
  margin-bottom: 38px;
  position: relative;
}

#sub-content h2::after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(
    to right, 
    #153169 0px, 
    #153169 100px, 
    #dddddd 100px, 
    #dddddd 100%
  );
}

.sub-inner_box {
  margin-bottom: 80px;
}

.single-model_contentwrap > .sub-inner_box > .wp-block-group__inner-container > p {
  margin-bottom: 2em;
}

.single-model_contentwrap > .sub-inner_box > .wp-block-group__inner-container > .wp-block-columns {
  margin-bottom: 2em;

}

.single-model_contentwrap > .sub-inner_box > .wp-block-group__inner-container > figure {
  margin-bottom: 3em;
}
.single-model_contentwrap figcaption {
  font-size: 1.6rem;
  margin-top: 8px;
}

@media screen and (max-width: 768px) {
  .sub-ul_bread {
    flex-direction: column;
    align-items: flex-end;
  }
  #sub-content h2 {
    font-size: 2.4rem;
  }
}



/* 製品・サービス */
.service-content_wrap_box {
}
.service-content_wrap {
  background: #fff;
  box-shadow: 0px 10px 50px rgba(0, 0, 0, 0.16);
  padding: 30px 50px 30px 0;
}
.service-content_wrap + .service-content_wrap {
  margin-top: 20px;
}
.service-content_ttl {
  font-size: 2.4rem;
  line-height: 3.0rem;
  font-weight: bold;
  
  padding-right: 50px;
  margin-bottom: 25px;

  position: relative;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 10px;
}
.service-content_ttl::before {
  content: "";
  display: block;
  width: 35px;
  height: 4px;
  flex-shrink: 0;
  background: #153169;
}

.service-index h3 {
  font-size: 2.6rem;
  font-weight: bold;
  padding: 15px 20px;
  background: #EEEEEE;

  margin-bottom: 30px;
}

.service-content_wrap_box + h3 {
  margin-top: 60px;
}

@media screen and (max-width: 768px) {
  .service-content_wrap {
    padding: 20px 0px 20px 0;
  }

  .service-content_ttl {
    font-size: 2.0rem;
  }

  .service-index h3 {
    font-size: 1.9rem;
  }

  .service-content_ttl::before {
    width: 18px;
  }

}

.service-content_introduction {
  display: flex;
  justify-content: space-between;
  gap: 40px;

  margin-left: 50px;
}

.service-content_photo {
}

/* swiper */
.slider-wrapper {
  width: 480px;
  display: flex;
  gap: 20px;
}

.main-swiper {
  width: 350px;
  margin: 0 !important;
}

.service-content_photo .main-swiper {
  aspect-ratio: 390 / 292;
}

.main-swiper img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border: 1px solid #ccc;
}

.thumb-swiper {
  width: 110px;
}

.thumb-swiper .swiper-wrapper {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.thumb-swiper .swiper-wrapper .swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;

  width: 100% !important;
  height: 92px !important;
  border: 1px solid #ccc;

  margin: 0 !important;
  position: relative;
}
.swiper-slide {
  background: #fff;
}

.thumb-swiper img {
  width: 100%;
  height: 100%;
  object-fit: contain;

  transition: 0.2s;
}

.thumb-swiper .swiper-wrapper .swiper-slide-thumb-active::after {
  content: "";
  display: block;
  width: calc(100% + 2px);
  height: calc(100% + 2px);
  aspect-ratio: 110/92;
  border: 5px solid #F5F262 !important;

  position: absolute;
  left: -1px;
  top: -1px;
  z-index: 2;
}

.service-content_text {
  width: calc(100% - 520px);
}

.service-content_catchcopy {
  color: #273885;
  font-size: 2.2rem;
  font-weight: bold;
  line-height: 3.4rem;
  margin-bottom: 20px;
}

.service-content_lead {
  font-size: 1.6rem;
  line-height: 3.0rem;
  margin-bottom: 40px;
}

.btn_link {
  font-size: 2.0rem;
  font-weight: bold;
  text-decoration: none;
  padding: 25px 20px;
}

.p-top-contents__item {
  margin-bottom: 80px;
}

@media screen and (max-width: 1000px) {
  .service-content_introduction {
    flex-direction: column;
    gap: 32px;
  }
  .service-content_photo {
    width: 100%;
  }

  .slider-wrapper {
    width: 100%;
  }
  
  .main-swiper {
    width: 74%;
  }
  
  .thumb-swiper {
    width: calc(26% - 20px);
  }

  .thumb-swiper .swiper-wrapper{
    height: auto;
    aspect-ratio: 110 / 92;
  }
  .thumb-swiper .swiper-wrapper .swiper-slide {
    height: auto !important;
  }

  .service-content_text {
    width: 100%;
  }

}

@media screen and (max-width: 768px) {
  .service-content_introduction {
    padding: 0 25px 25px;
    margin-left: 0;
  }
  .service-content_catchcopy {
    font-size: 2.2rem;
    line-height: 3.2rem;
  }

  .service-content_lead {
    font-size: 1.6rem;
    line-height: 3.0rem;
    margin-bottom: 40px;
  }
}



/* 製品・サービス詳細 */
.service_detail-copy {
  color: #273885;
  font-size: 2.6rem;
  font-weight: bold;
  line-height: 4.0rem;

  margin-top: 50px;
  margin-bottom: 60px;
}

.service_detail h3 {
  display: flex;
  align-items: center;
  gap: 7px;

  font-size: 2.0rem;
  font-weight: bold;
  padding: 8px 30px 10px 15px;
  margin-bottom: 20px;

  background-color: #273885;
  color: #ffffff;
  width: fit-content; 
  clip-path: polygon(0 0, 100% 0, calc(100% - 15px) 100%, 0 100%);
}
.service_detail h3::before {
  content: "";
  display: block;
  
  width: 14px;
  height: 14px;
  
  border: 3px solid #ffffff;
  border-radius: 50%;
  
  flex-shrink: 0;
}

.service_detail-lead {
  font-size: 1.6rem;
  line-height: 3.0rem;
}

.service_detail .slider-wrapper {
  margin-top: 40px;
  width: 100%;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 80px;
}

.service_detail .main-swiper {
  width: 57%;
  margin: 0;
}

.service_detail .main-swiper img {
  aspect-ratio: 636 / 530;
}

.service_detail .main-swiper figure {
  margin: 0;
}

.service_detail .main-swiper figcaption {
  margin-top: 10px;
  font-size: 1.6rem;
}

.service_detail .thumb-swiper {
  width: 37%;
  margin: 0;
}

.service_detail .thumb-swiper .swiper-wrapper {
  display: flex;
  justify-content: flex-start;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 12px;
}

.service_detail .thumb-swiper .swiper-wrapper .swiper-slide {
  width: calc(50% - 6px) !important;
  height: auto !important;
  aspect-ratio: 202 / 168;
  margin: 0 !important;
}

.service_detail .thumb-swiper img {
  width: 100%;
  aspect-ratio: 202 / 168;
}

@media screen and (max-width: 768px) {
  .service_detail-copy {
    font-size: 2.2rem;
    line-height: 3.2rem;
  }
  
  .service_detail h3 {
    font-size: 1.8rem;
    padding: 11px 30px 10px 15px;
  }

  .service_detail-lead {
    font-size: 1.6rem;
  }

  .service_detail .slider-wrapper {
    flex-direction: column;
    gap: 50px;
  }
  
  .service_detail .main-swiper {
    width: 100%;
  }
  .service_detail .thumb-swiper {
    width: 100%;
  }
  .service_detail .thumb-swiper .swiper-wrapper {
    align-items: flex-start;
    gap: 10px;
    aspect-ratio: auto;
  }
  .service_detail .thumb-swiper .swiper-wrapper .swiper-slide {
    width: calc((100% - 30px) / 4) !important;
  }


}

.service_detail-reason {
  background: #F9F9F9;
  padding: 50px 0;
}

.service_detail-reason_wrap {
  counter-reset: num;
}

.service_detail-reason_box {
  counter-increment: num;
}

.service_detail-reason_ttl {
  display: flex;
  align-items: center;
  gap: 20px;

  font-size: 2.4rem;
  line-height: 3.0rem;
  font-weight: bold;
}

.service_detail-reason_ttl::before {
  content: counter(num, decimal-leading-zero); 
  color: #273885;
}

.marker {
  background: linear-gradient(to top, #F5F262 10px, transparent 10px);
  display: inline; 
}

.service_detail-reason_check_wrap {
  padding: 15px 35px 40px;
}


.service_detail-reason_check {
  font-size: 1.8rem;
  line-height: 3.2rem;

  padding: 10px 0 10px 20px;
  background: url("../img/icon_check.svg") no-repeat;
  background-position: left top 21px;

  border-bottom: 1px dashed #ccc;
}

.service_detail-reason_checkpoint {
  display: inline;
  font-weight: bold;
}

.service_detail-reason_checktext {
  display: inline;
}


.service_detail-others {
  padding: 50px 0;
}

.column_4-box_wrap > div {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.column_4-box {
  width: calc((100% / 4) - 20px);
  background: #E7F2FC;
  padding: 20px;
}

.column_4-box_ttl {
  font-size: 1.8rem;
  line-height: 2.4rem;
  font-weight: bold;
  margin-bottom: 10px;
}

.table-scroll {
  border: 1px solid #ccc;
  padding: 15px 50px;
}

.table-scroll table {
  width: 100%;
  border-collapse: collapse;
}

.table-scroll table td {
  font-size: 1.6rem;
  line-height: 2.8rem;
  padding: 20px 20px 20px 0;
  border: 0;
}

.table-scroll table td:first-child {
  width: 180px;
  font-weight: bold;
}
.table-scroll table td:last-child {
  padding-right: 0;
}

.table-scroll tr + tr {
  border-spacing: 0;
  border-top: 1px dashed #ccc;
}


@media screen and (max-width: 1000px) {
  .column_4-box {
    width: calc((100% / 2) - 10px);
  }

}

@media screen and (max-width: 768px) {
  .service_detail-reason_box + .service_detail-reason_box {
    margin-top: 30px;
  }
  .service_detail-reason_check_wrap {
    padding: 10px 0;
  }
  .service_detail-reason_check {

  }

  .column_4-box {
    width: 100%;
  }

  .table-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-timeline-name: --my-table-scroll;
    scroll-timeline-axis: inline;
    position: relative;
  }

  .table-scroll::before {
    content: "scroll";
    display: block;
    
    position: sticky;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    margin-top: -180px;

    z-index: 10;
    
    width: 180px;
    height: 180px;    
    
    background-color: rgba(0, 0, 0, 0.6);
    border-radius: 16px;
    
    background-image: url('../img/icon_table-scroll.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 90px auto;
    
    pointer-events: none;
    
    animation: fadeOutHint 0.5s ease forwards;
    animation-delay: 3s;

    padding-top: 137px;
    text-align: center;
    font-size: 1.8rem;
    font-weight: bold;
    color: #fff;
  }
  
  @supports (animation-timeline: scroll()) {
    .table-scroll::before {
      animation: fadeOutHint linear forwards;
      animation-timeline: --my-table-scroll;
      animation-range: 0px 80px;
      animation-delay: 0s; 
    }
  }
  @keyframes fadeOutHint {
    to {
      opacity: 0;
      visibility: hidden;
    }
  }
  
  .table-scroll table {
    width: max-content !important;
    border-collapse: collapse;
  }


}


.service_detail-download {
  padding: 80px 0;
  background: linear-gradient(to left, #c9e5fe 0%, #f6fbff 100%);
}

.service_detail-download h3 {
  font-size: 3.0rem;
  font-weight: bold;
  text-align: center;
  margin-bottom: 40px;
}

.service_detail-download-wrap {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.service_detail-download-box {
  background: #fff;
  padding: 30px;

  display: flex;
  justify-content: space-between;
  align-items: center;
}

.service_detail-download-box p, .service_detail-download-box a {
  width: calc(50% - 20px);
  text-decoration: none;
}

.service_detail-download-box p {
  font-size: 1.8rem;
  font-weight: bold;
  line-height: 3.0rem;
}

.service_detail-download-btn {
  font-size: 2.0rem;
  font-weight: bold;
  padding: 25px 60px 25px 20px;
}

.service_detail-download-btn::before {
  right: 45px;
}

.service_detail-download-btn::after {
  content: "";
  display: block;
  width: 16px;
  height: 17px;
  background: url("../img/icon_btn-download.svg") no-repeat;

  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
}

.service_detail-download-btn:hover::after {
  -webkit-animation: fade-download 0.6s forwards;
          animation: fade-download 0.6s forwards;
}

@-webkit-keyframes fade-download {
  0% {
    -webkit-transform: translateX(0) translateY(-50%);
            transform: translateX(0) translateY(-50%);
    opacity: 1;
  }
  50% {
    -webkit-transform: translateX(0) translateY(50%);
            transform: translateX(0) translateY(50%);
    opacity: 0;
  }
  51% {
    -webkit-transform: translateX(0) translateY(-150%);
            transform: translateX(0) translateY(-150%);
    opacity: 0;
  }
  100% {
    -webkit-transform: translateX(0) translateY(-50%);
            transform: translateX(0) translateY(-50%);
    opacity: 1;
  }
}

@keyframes fade-download {
  0% {
    -webkit-transform: translateX(0) translateY(-50%);
            transform: translateX(0) translateY(-50%);
    opacity: 1;
  }
  50% {
    -webkit-transform: translateX(0) translateY(50%);
            transform: translateX(0) translateY(50%);
    opacity: 0;
  }
  51% {
    -webkit-transform: translateX(0) translateY(-150%);
            transform: translateX(0) translateY(-150%);
    opacity: 0;
  }
  100% {
    -webkit-transform: translateX(0) translateY(-50%);
            transform: translateX(0) translateY(-50%);
    opacity: 1;
  }
}

@media screen and (max-width: 768px) {
  .service_detail-download-box {
    flex-direction: column;
    gap: 10px;
  }

  .service_detail-download-box p, .service_detail-download-box a {
    width: 100%;
  }

}



/* 活用実績 */
.case-lead {
  font-size: 1.6rem;
  line-height: 3.0rem;
}

.case-search_area {
  padding: 45px 30px;
  background: #273885;
  border-radius: 10px;

  margin-top: 40px;
}

.case-search_box {
  display: flex;
  justify-content: flex-start;
  gap: 50px;
}

.case-search_box + .case-search_box {
  border-top: 1px solid #fff;
  padding-top: 30px;
  margin-top: 30px;
}

.case-search__title {
  width: 110px;

  color: #fff;
  font-size: 2.0rem;
  font-weight: bold;
}



.case-input-check {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.case-search__list {
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 20px;

  flex: 1;
}

.case-search__list label {
  width: calc((100% / 4) - 20px);
}

.case-input-check + span {
  display: block;
  padding: 6px 10px 8px;
  background-color: #ffffff;
  border-radius: 999px;      

  color: #273885;
  font-size: 1.6rem;
  font-weight: bold;
  line-height: 1.5;
  text-align: center;
  
  cursor: pointer;
  transition: 0.3s;
}

.case-input-check:checked + span {
  background-color: #F5F262;
}

.case-input-check + span:hover {
  opacity: 0.8;
}

@media screen and (max-width: 1260px) {
  .case-search_box {
    flex-direction: column;
    gap: 20px;
  }

}
@media screen and (max-width: 1100px) {
  .case-search__list label {
    width: calc((100% / 3) - 20px);
  }

}
@media screen and (max-width: 768px) {
  .case-search__list label {
    width: calc((100% / 2) - 20px);
  }

}
@media screen and (max-width: 640px) {
  .case-search__list label {
    font-size: 1.4rem;
  }

}
@media screen and (max-width: 480px) {
  .case-search__list label {
    width: 100%;
  }

}

.case-wrap {
  margin-top: 100px;

  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;

  margin-bottom: 80px;
}

.case-wrap::after {
  content: "";
  width: calc((100% / 3) - 40px);
}

.case-content {
  display: flex;
  width: calc((100% / 3) - 40px);
  background: #fff;
  box-shadow: 0px 10px 99px rgba(0, 0, 0, 0.16);
}

.case-content a {
  display: flex;
  flex-direction: column;
  text-decoration: none;
}
.case-content a:hover .btn_link::after {
  -webkit-animation: fade-arrow 0.6s forwards;
  animation: fade-arrow 0.6s forwards;
}
.case-content .btn_link:hover {
  -webkit-animation: none;
  animation: none;
}

.case-content_thumb {
  overflow: hidden;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #273885;
}

.case-content img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center;
  transition: 0.4s;
}
.case-content a:hover img {
  transform: scale(1.1,1.1);
  opacity: 0.8;
}

.case-content_text {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  padding: 5px 20px 20px;
}

.case-content_text dl {
  display: flex;
  justify-content: flex-start;

  font-size: 1.6rem;
  line-height: 1.5;
}
.case-content_text dl:last-of-type {
  margin-bottom: 8px;
}

.case-content_text dl + dl {
  border-top: 1px dashed #ccc;
}

.case-content_text dt {
  width: 80px;
  font-weight: bold;
  padding: 8px 0;
}

.case-content_text dd {
  flex: 1;
  padding: 8px 0;
}

.case-content_text .btn {
  margin-top: auto;
  font-size: 1.6rem;
}

.is-hidden {
  display: none;
}

@media screen and (max-width: 1100px) {
  .case-wrap {
    gap: 20px;
  }
  .case-wrap::after {
    content: "";
    width: calc((100% / 3) - 20px);
  }
  
  .case-content {
    width: calc((100% / 3) - 20px);
  }

  .case-content_text dl {
    flex-direction: column;
  }
  .case-content_text dt {
    padding-bottom: 0;
  }
  .case-content_text dd {
    padding-top: 0;
  }
}
@media screen and (max-width: 768px) {
  .case-wrap::after {
    content: "";
    width: calc((100% / 2) - 10px);
  }
  
  .case-content {
    width: calc((100% / 2) - 10px);
  }

  .case-content_text {
    padding: 15px 20px;
  }
  .case-content dl {
    font-size: 1.4rem;
  }
}

@media screen and (max-width: 640px) {
  .case-wrap::after {
    content: "";
    width: 100%;
  }
  
  .case-content {
    width: 100%;
  }

  .case-content_text dl {
    flex-direction: row;
  }


  .case-content_thumb {
    aspect-ratio: 3 / 2;
  }
  
  .case-content img {
    aspect-ratio: 3 / 2;
  }

  .case-content_text dt {
    padding: 8px 0;
  }
  
  .case-content_text dd {
    padding: 8px 0;
  }

}


/* modal */
.modal {

}

.modal-wrap {
  display: flex;
  justify-content: space-between;
  gap: 80px;
}

.swiper-wrap {
  position: relative;
}
.swiper-button-prev {
  left: -60px !important;
}
.swiper-button-next {
  right: -60px !important;
}
.swiper-button-next, .swiper-button-prev {
  color: #273885 !important;
}
.swiper-horizontal>.swiper-pagination-bullets, .swiper-pagination-bullets.swiper-pagination-horizontal, .swiper-pagination-custom, .swiper-pagination-fraction {
  bottom: -25px !important;
  top: auto !important;
}
.swiper-pagination-bullet {
  margin: 0 12px !important;
}
.swiper-pagination-bullet {
  background: #EEEEEE !important;
  opacity: 1 !important;
}
.swiper-pagination-bullet-active {
  background: #273885 !important;
  opacity: 1 !important;
}

.modal-slide {
  width: 57%;
}
.modal-slide img {
  width: 100%;
  height: auto;
  aspect-ratio: 1/1;
  object-fit: cover;
  object-position: center;
}
.modal-text {
  width: calc(43% - 80px);
}

.modal-text dl {
  margin-top: 15px;
}

.modal-text dt {
  display: flex;
  align-items: center;
  gap: 7px;

  font-size: 1.6rem;
  font-weight: bold;
  margin-bottom: 5px;

  color: #273885;
}
.modal-text dt::before {
  content: "";
  display: block;
  
  width: 14px;
  height: 14px;
  
  border: 3px solid #273885;
  border-radius: 50%;
  
  flex-shrink: 0;
}

.modal-text dd {
  font-size: 1.6rem;
  line-height: 3.0rem;
}

.modal-comment {
  margin-top: 50px;
  border: 2px solid #273885;
  border-radius: 10px;

  background: #fff;
}

.modal-comment_ttl {
  display: flex;
  align-items: center;
  gap: 7px;

  font-size: 1.6rem;
  font-weight: bold;
  padding: 5px 30px 7px 15px;

  background-color: #273885;
  color: #ffffff;
  width: fit-content; 
  clip-path: polygon(0 0, 100% 0, calc(100% - 15px) 100%, 0 100%);
}
.modal-comment_ttl::before {
  content: "";
  display: block;
  
  width: 14px;
  height: 14px;
  
  border: 3px solid #ffffff;
  border-radius: 50%;
  
  flex-shrink: 0;
}

.modal-comment_text {
  padding: 5px 45px 10px;
}

.modal-comment_text p {
  font-size: 1.6rem;
  line-height: 3.0rem;
}

.modal-comment_text p + p {
  margin-top: 2rem;
}


/* モーダル機能 */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal.is-active {
  opacity: 1;
  visibility: visible;
}

.modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7); /* 半透明の黒 */
  cursor: pointer; /* クリックできることを伝える */
}

/* モーダルの白い箱 */
.modal-container {
  position: relative;
}

.modal-scroll {
  position: relative;
  width: 90vw;
  max-width: 1000px;
  max-height: 85vh;
  background: #fff;
  padding: 75px;
  overflow-y: scroll;
  overflow-x: hidden;

  z-index: 1;
}

/* バツボタン */
.modal-close {
  position: absolute;
  top: -45px;
  right: 0px;
  width: 32px;
  height: 32px;
  cursor: pointer;
  z-index: 2;
}

/* バツボタンの「×」の線を描画（画像不要） */
.modal-close::before,
.modal-close::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 40px;
  height: 2px;
  background-color: #fff;
}
.modal-close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}
.modal-close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}
.modal-close:hover::before,
.modal-close:hover::after {
  background-color: #888; /* ホバーで少し色を薄くする */
}

@media screen and (max-width: 768px) {
  .modal-scroll {
    padding: 35px;
  }
  .modal-wrap {
    flex-direction: column;
    gap: 50px;
  }
  .modal-slide {
    width: 100%;
  }
  .modal-text {
    width: 100%;
  }
  .swiper-button-prev {
    left: -39px !important;
  }
  .swiper-button-next {
    right: -39px !important;
  }
  .swiper-navigation-icon {
    width: 15px !important;
  }


}


/* search */
.search-result_wrap {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.search-result {
  
}

.search-result_li {
}

.search-result_li > a {
  display: block;
  padding: 20px;
  text-decoration: none;
  border: 1px solid #273885;

  transition: 0.3s;
}
.search-result_li > a:hover {
  border-color: #ED6D20;
}

.search-result_ttl {
  color: #273885;
  font-size: 2.0rem;
  font-weight: bold;
  margin-bottom: 10px;
}

.highlight {
  display: inline-block;
  padding: 4px 8px;
  margin: 0 4px;
  background: yellow;
}

/* subpage */

.company-column {
  gap: 40px;
  margin-bottom: 50px;
}

.company-column .wp-block-column:first-child {
  flex-basis: 55% !important;
  display: flex;
  justify-content: center;
  flex-direction: column;
}

.company-column .wp-block-column:last-child {
  flex-basis: calc(45% - 40px) !important;
}

.company-column .wp-block-column:last-child img {
}

.company-copy_lead {
  color: #273885;
  font-size: 2.6rem;
  font-weight: bold;
  line-height: 3.6rem;

  margin-bottom: 30px; 
}

.company-column figure {
  margin: 0 !important;
}

.company_dl-wrap {

}

.company_dl > .wp-block-group__inner-container {
  display: flex;
  flex-direction: row;
  align-items: normal;
}

.company_dl > .wp-block-group__inner-container .company_dt {
  width: 200px;
  padding: 20px 20px 20px 0;
  
  flex-shrink: 0;
  margin: 0;

  color: #273885;
  font-weight: bold;

  border-top: 2px solid #273885;
}

.company_dl > .wp-block-group__inner-container .company_dd {
  flex-grow: 1;
  margin: 0;
  padding: 20px 0;

  border-top: 2px solid #ccc;
}

.company_dl-wrap .company_dl:last-child .wp-block-group__inner-container .company_dt {
  border-bottom: 2px solid #273885;
}

.company_dl-wrap .company_dl:last-child .wp-block-group__inner-container .company_dd {
  border-bottom: 2px solid #ccc;
}



.company_map {
  margin-top: 20px;
  width: 100%;
  aspect-ratio: 6 / 4;
}

.recruit-bg_wrap {
  background: #f7f7f7;
  padding: 80px 0;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
}

.recruit-bg_wrap > div {
  max-width: 1100px;
  width: 88%;
  margin: auto;
}

.recruit-wrap {
  margin-bottom: 40px;
}

.recruit_h3 {
  font-size: 2.2rem;
  font-weight: bold;
  padding: 15px 20px 18px;
  background: #fff;

  margin-bottom: 30px;
}

.company_dl-recruit .company_dl > .wp-block-group__inner-container .company_dt {
  text-align: center;
  color: #273885;
  padding: 20px;
  border-top: 1px solid #273885 !important;
}

.company_dl-recruit .company_dl > .wp-block-group__inner-container .company_dd {
  padding: 20px !important;
  border-top: 1px solid #273885 !important;
}
.company_dl-recruit .company_dl:last-child .wp-block-group__inner-container .company_dt {
  border-bottom: 1px solid #273885 !important;
}

.company_dl-recruit .company_dl:last-child .wp-block-group__inner-container .company_dd {
  border-bottom: 1px solid #273885 !important;
}

.company_dl-recruit .company_dl > .wp-block-group__inner-container .company_dd a {
  color: #273885;
  font-weight: bold;
}



@media screen and (max-width: 768px) {
  .company_dl > .wp-block-group__inner-container {
      flex-direction: column;
      gap: 0;
    }

  .company_dl > .wp-block-group__inner-container .company_dt {
    width: 100%;
    padding: 15px;

    color: #273885;

    background: #f1f1f1;
    border: 0 !important;
  }
  .company_dl > .wp-block-group__inner-container .company_dt p {
    font-size: 1.8rem;
  }
  
  .company_dl > .wp-block-group__inner-container .company_dd {
    padding: 15px 15px 30px;
    font-size: 1.4rem;
    border: 0 !important;
  }
  .company_dl > .wp-block-group__inner-container .company_dd p {
    font-size: 1.6rem;
  }
  
  .company_dl-wrap .company_dl:last-child .wp-block-group__inner-container .company_dt {
    border: 0 !important;
  }
  
  .company_dl-wrap .company_dl:last-child .wp-block-group__inner-container .company_dd {
    border: 0 !important;
  }

  .company_dl-recruit .company_dl > .wp-block-group__inner-container .company_dt {
    padding: 15px;
  }
  .company_dl-recruit .company_dl > .wp-block-group__inner-container .company_dt p {
    text-align: left;
  }
  .company_dl-recruit .company_dl > .wp-block-group__inner-container .company_dd {
    padding: 15px 15px 45px !important;
  }

  .company_dl-recruit .company_dl:last-child .wp-block-group__inner-container .company_dt {
    border-bottom: 0 !important;
  }
  
  .company_dl-recruit .company_dl:last-child .wp-block-group__inner-container .company_dd {
    border-bottom: 0 !important;
  }

}



/* よくある質問 */
.qanda-wrap {
  border: 1px solid #273885;
  border-radius: 10px;
  padding: 10px 15px;
  margin-bottom: 20px;
}

.qanda-q {
  cursor: pointer;
  position: relative;
  padding: 16px 40px 16px 0;
  user-select: none;
}

.qanda-q .wp-block-group__inner-container,
.qanda-a .wp-block-group__inner-container {
  position: relative;
  padding-left: 53px;
}

.qanda-q .wp-block-group__inner-container p:first-child,
.qanda-a .wp-block-group__inner-container p:first-child {
  margin-top: 0;
}

.qanda-q .wp-block-group__inner-container p:last-child,
.qanda-a .wp-block-group__inner-container p:last-child {
  margin-bottom: 0;
}

.qanda-q .wp-block-group__inner-container::before {
  content: "Q";
  position: absolute;
  left: 8px;
  top: 0px;
  font-size: 28px;
  font-weight: bold;
  color: #273885;
  line-height: 1;
}

.qanda-a .wp-block-group__inner-container::before {
  content: "A";
  position: absolute;
  left: 0;
  top: 21px;

  font-size: 24px;
  font-weight: bold;
  line-height: 1;

  color: #fff;

  background: #273885;
  width: 36px;
  height: 36px;
  aspect-ratio: 1/1;
  border-radius: 50%;

  display: flex;
  align-items: center;
  justify-content: center;

  padding-left: 1px;
  padding-bottom: 3px;
}

.qanda-q::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 16px;
  width: 16px;
  height: 2px;
  background-color: #333;
  transform: translateY(-50%);
}

.qanda-q::before {
  content: "";
  position: absolute;
  top: 50%;
  right: 16px;
  width: 16px;
  height: 2px;
  background-color: #333;
  transform: translateY(-50%) rotate(90deg);
  transition: transform 0.3s ease;
}


.qanda-wrap .qanda-a > .wp-block-group__inner-container {
  border-top: 1px dotted #ccc;
}

.qanda-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s ease;
}

.qanda-a > .wp-block-group__inner-container {
  min-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: opacity 0.3s ease, padding 0.3s ease;
}

.qanda-wrap.is-open .qanda-q::before {
  transform: translateY(-50%) rotate(0deg);
}

.qanda-wrap.is-open .qanda-a {
  grid-template-rows: 1fr;
}

.qanda-wrap.is-open .qanda-a > .wp-block-group__inner-container {
  opacity: 1;
  padding-top: 20px;
  padding-bottom: 24px;
}

.qanda-q p {
  font-size: 2.0rem;
  font-weight: bold;
}

.qanda-q p + p, .qanda-a p + p {
  margin-top: 2em;
}

.pagelink-wrap {
  margin-bottom: 50px;
}

.pagelink-wrap > div {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.pagelink-wrap a {
  display: block;

  background: #f1f1f1;
  padding: 15px 60px 15px 20px;

  color: #333;
  text-decoration: none;

  position: relative;
}

.pagelink-wrap a::before {
  content: "";
  position: absolute;
  top: 50%;
  right: 40px;
  display: block;
  width: 1px;
  height: 1.6rem;

  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);

  background-color: #333;
}

.pagelink-wrap a::after {
  content: "";
  display: block;
  width: 14px;
  height: 13px;
  background: url("../img/icon_btn-link_black.svg") no-repeat;

  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%) rotate(90deg);
}

.pagelink-wrap a:hover::after {
  -webkit-animation: fade-anqor 0.6s forwards;
          animation: fade-anqor 0.6s forwards;
}

@-webkit-keyframes fade-anqor {
  0% {
    -webkit-transform: translateX(0) translateY(-50%) rotate(90deg);
            transform: translateX(0) translateY(-50%) rotate(90deg);
    opacity: 1;
  }
  50% {
    -webkit-transform: translateX(0) translateY(50%) rotate(90deg);
            transform: translateX(0) translateY(50%) rotate(90deg);
    opacity: 0;
  }
  51% {
    -webkit-transform: translateX(0) translateY(-150%) rotate(90deg);
            transform: translateX(0) translateY(-150%) rotate(90deg);
    opacity: 0;
  }
  100% {
    -webkit-transform: translateX(0) translateY(-50%) rotate(90deg);
            transform: translateX(0) translateY(-50%) rotate(90deg);
    opacity: 1;
  }
}

@keyframes fade-anqor {
  0% {
    -webkit-transform: translateX(0) translateY(-50%) rotate(90deg);
            transform: translateX(0) translateY(-50%) rotate(90deg);
    opacity: 1;
  }
  50% {
    -webkit-transform: translateX(0) translateY(50%) rotate(90deg);
            transform: translateX(0) translateY(50%) rotate(90deg);
    opacity: 0;
  }
  51% {
    -webkit-transform: translateX(0) translateY(-150%) rotate(90deg);
            transform: translateX(0) translateY(-150%) rotate(90deg);
    opacity: 0;
  }
  100% {
    -webkit-transform: translateX(0) translateY(-50%) rotate(90deg);
            transform: translateX(0) translateY(-50%) rotate(90deg);
    opacity: 1;
  }
}


@media screen and (max-width: 768px) {
  .qanda-q p {
    font-size: 1.6rem;
  }

  .pagelink-wrap > div {
    gap: 10px;
  }

  .pagelink-wrap > .wp-block-group__inner-container > p {
    width: 100%;
  }
  .pagelink-wrap > .wp-block-group__inner-container > p a {
    font-size: 1.6rem;
  }


}


/* プライバシーポリシー */
.privacy-policy_address {
  background: #f2f4fd;
  padding: 25px 30px;
  margin-top: 20px;
}

.privacy-policy_address p + p {
  margin-top: 15px;
}

.privacy-policy_address p:first-child {
  font-size: 1.8rem;
  font-weight: bold;
}

.privacy-policy_address a {
  color: #273885;
  font-weight: bold;
  text-decoration: underline;
}
.privacy-policy_address a:hover {
  text-decoration: none;
}

.ul-dot {
  margin-top: 20px;
}

.ul-dot li {
  display: flex;
  justify-content: flex-start;
  gap: 7px;

  padding: 8px 0;

  font-size: 1.6rem;
}
.ul-dot li::before {
  content: "";
  display: block;
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 50%;
  background: #333;
  margin-top: 6px;
}

.ul-num {
  margin-top: 20px;
  list-style-type: decimal !important;
  padding-left: 20px;
}

.ul-num li {
  padding: 8px 0;

  font-size: 1.6rem;
}


/* お問い合わせ */
.mailform {
  margin-top: 50px;

    width: 100%;
    display: flex;
    flex-wrap: wrap;
    border-top: 1px solid #ccc;
    margin-bottom: 20px;
}

.mailform dt {
    width: 30%;

    font-weight: bold;
    padding: 20px;
    background-color: #f7f7f7;
    border-bottom: 1px solid #ccc;

    display: flex;
    justify-content: center;
    align-items: center; 
}

.mailform dt p {
  width: 100%;

  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}
.hissu {
  background: red;
  color: #fff;
  padding: 4px 10px 6px;
  border-radius: 6px;
  flex-shrink: 0;

  line-height: 1;
  font-size: 1.3rem;
}

.mailform dd {
    width: 70%;

    padding: 20px;
    border-bottom: 1px solid #ccc;
}

.mailform dd p + p {
  margin-top: 15px;
}

@media screen and (max-width: 768px) {
    .mailform {
      flex-direction: column;
    }

    .mailform dt, .mailform dd {
      width: 100%;
      justify-content: flex-start;
    }

    .mailform dt p {
      display: flex;
      font-size: 1.8rem;
    }

    .mailform dd {
      padding: 20px 0 40px;
    }

    .mailform dd p {
      font-size: 1.6rem;
    }

}


.submit-confirm {
  margin: 20px 0 40px;
  padding: 25px 0 20px;
  text-align: center;
  background: #f1f1f1;
}

.submit-confirm .label-acceptance {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  line-height: 1.4;
}

/* CF7が自動出力する不要なspanタグの余白をリセット */
.submit-confirm .wpcf7-form-control-wrap,
.submit-confirm .wpcf7-form-control,
.submit-confirm .wpcf7-list-item {
  display: flex;
  margin: 0;
  padding: 0;
}

/* デフォルトのチェックボックスを消去し、四角い枠を直接作る */
.submit-confirm input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  margin: 0 10px 0 0;
  border: 1px solid #ccc;
  background-color: #fff;
  border-radius: 3px;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

/* チェックされた状態（:checked）のスタイルとSVGチェックマーク */
.submit-confirm input[type="checkbox"]:checked {
  background-color: #273885;
  border-color: #273885;
  background-image: url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="white" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"><polyline points="20 6 9 17 4 12"></polyline></svg>');
  background-size: 80%;
  background-position: center;
  background-repeat: no-repeat;
}

/* 送信 */
.submit-action {
  text-align: center;
  margin-top: 40px;
}
.wpcf7-spinner {
  display: none;
}

/* 送信ボタンベース */
.wpcf7-submit {
  display: inline-block;
  padding: 15px 20px;
  padding-right: 90px;
  background: #273885;

  color: #fff !important;
  font-size: 2.0rem;
  font-weight: bold;

  outline: 0;

  position: relative;
  z-index: 2;
}
.wpcf7-submit::before {
  content: "";
  position: absolute;
  top: 50%;
  right: 40px;
  display: block;
  width: 1px;
  height: 1.6rem;

  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);

  background-color: #fff;
}

.wpcf7-submit::after {
  content: "";
  display: block;
  width: 14px;
  height: 13px;
  background: url("../img/icon_btn-link.svg") no-repeat;

  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
}

.wpcf7-submit:not(:disabled):hover::after {
  -webkit-animation: fade-arrow 0.6s forwards;
          animation: fade-arrow 0.6s forwards;
}

/* 送信ボタン（未チェック時） */
.submit-action p button:disabled {
  background-color: #6473b5;
  color: #fff;
  cursor: not-allowed;
  border: none;
  opacity: 0.7;
}

.submit-action p button:not(:disabled) {
  background-color: #273885;
  color: #fff;
  cursor: pointer;
  transition: background-color 0.3s ease;
  border: 0;
}

/* 戻る */
.submit-action p input {
  display: inline-block;
  padding: 15px 20px;
  background: #4a4a4a;
  color: #fff !important;
  font-size: 2.0rem;
  border: none;
  position: relative;
  z-index: 2;
  cursor: pointer;
  transition: 0.3s;
}

.submit-action p input:hover {
  opacity: 0.7;
}

/* input類 */
.mailform input, .mailform textarea {
  width: 100%;

  padding: 10px 15px;
  background: #fafdff;
  border: 1px solid #CCCCCC;
  border-radius: 10px;
  transition: 0.3s;
}

.mailform input:focus, .mailform textarea:focus {
  background: #fff;
  outline: 0;
}

.mailform select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='9.4' height='6.1' viewBox='0 0 9.4 6.1'%3E%3Cpath d='M6.7,8.1,2,3.4,3.4,2,6.7,5.3,10,2l1.4,1.4Z' transform='translate(-2 -2)' fill='%23666'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: calc(100% - 15px) 50%;
  background-size: 9.4px 6.1px;
  padding-right: 40px;
  padding: 10px 30px 10px 15px;
  width: 280px;
  background-color: #fafdff;
  border: 1px solid #CCCCCC;
  border-radius: 10px;
  transition: 0.3s;
}

.wpcf7-response-output {
  font-size: 1.6rem;
  line-height: 2.6rem;
  padding: 10px;
}


/* 確認画面 */
.submit-action p {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
}

.contact_lead {
  font-size: 1.6rem;
  line-height: 2.8rem;
  margin-bottom: 40px;
}

.wpcf7-not-valid-tip {
  margin-top: 10px;
}

.thanks-wrap p:first-child {
  font-size: 2.0rem;
  font-weight: bold;
}

.thanks-wrap p + p {
  margin-top: 2em;
}

@media screen and (max-width: 768px) {
  .submit-confirm p {
    font-size: 1.6rem;
  }
  
  .contact_lead {
    font-size: 1.6rem;
    margin-bottom: 40px;
  }
  

}