/* ページ共通 */
#breadcrumbs {
  padding: 1rem 0;
}
.service-menu {
  padding-top: calc(7rem - 1px);
  background-color: #0C1E84;
  color: #FFF;
  font-weight: bold;
  font-size: 1.4rem;
}
.service-menu ul {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4rem;
  padding: 2rem 5rem;
}
.service-menu li::before {
  content: "-";
  color: #FFF;
  margin-right: 2px;
}
.service-menu a:hover {
  color: #D2E4FF;
}
@media screen and (max-width:980px) {
  .service-menu ul {
    flex-wrap: wrap;
    column-gap: 2rem;
    row-gap: 1rem;
    padding: 2rem 2rem;
  }
}
@media screen and (max-width:680px) {
  .service-menu ul {
    display: none;
  }
}
/* 一覧 */
.service-list {
  display: grid;
  gap: 6rem;
}
.service-list_item:nth-child(2n-1) {
  display: grid;
  grid-template-columns: 4fr 6fr;
}
.service-list_item:nth-child(2n) {
  display: grid;
  grid-template-columns: 6fr 4fr;
}
.service-list_img {
  padding: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.service-list_text {
  background-color: #F0F6FF;
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2rem;
  min-height: 30rem;
}
.service-list_item:nth-child(2n-1) .service-list_text {
  box-shadow: 10px 10px #d2e4ff;
}
.service-list_item:nth-child(2n) .service-list_text {
  order: -1;
  box-shadow: -10px 10px #d2e4ff;
}

.service-list_text .st-subcta_btn {
  margin-right: 0;
}
.service-list_title {
  color: #0C1E84;
  font-size: 3.2rem;
}
@media screen and (max-width:980px) {
  .service-list {
    display: grid;
    gap: 6rem;
  }
  .service-list_item:nth-child(2n-1) {
    grid-template-columns: 1fr 1fr;
  }
  .service-list_item:nth-child(2n) {
    grid-template-columns: 1fr 1fr;
  }
  .service-list_img {
    padding: 3rem;
  }
  .service-list_text {
    padding: 2rem;
    gap: 2rem;
    min-height: auto;
  }
  .service-list_title {
    font-size: 2.4rem;
  }
}
@media screen and (max-width:680px) {
  .service-list_item:nth-child(2n-1) {
    grid-template-columns: auto;
  }
  .service-list_item:nth-child(2n) {
    grid-template-columns: auto;
  }
  .service-list_item:nth-child(2n) .service-list_text {
    order: auto;
    box-shadow: 10px 10px #d2e4ff;
  }
}
/* 詳細ページ共通 */
.single-service h2:not(.st-cta_ttl) {
  font-size: 4rem;
  text-align: center;
  padding-bottom: 6rem;
  position: relative;
  font-style: normal;
  font-weight: 800;
}
.single-service h2:not(.st-cta_ttl):first-letter {
  color: #C7020C;
}
.single-service .bg_blue h2 {
  color: #FFF;
}
.single-service .bg_blue h2:first-letter {
  color: #FFF500;
}
.single-service h3:not(.st-article_title) {
  font-size: 3.2rem;
  color: #0C1E84;
  padding-bottom: 2rem;
  font-style: normal;
  font-weight: 800;
}
.single-service h4 {
  font-size: 2.4rem;
  color: #0C1E84;
  padding-bottom: 1rem;
  font-style: normal;
  font-weight: 800;
}
.single-service .em-txt {
  font-size: 3.2rem;
  color: #0C1E84;
  font-weight: 800;
  padding-top: 2rem;
}
.single-service .service_list .orange .service_list_ttl {
  text-align: center;
  color: #0A0A0A;
}
.single-service .service_list .orange .service_list_ttl:after {
  content: "";
  display: block;
  width: 3rem;
  border-top: 6px dotted #FAB800;
  margin: 1rem auto 0;
}
.single-service .page-main > *:not(.service-mv),
.single-service .page-main > *:not(.st-cta) {
  padding: 10rem 0;
}

.single-service .page-main > .bg_white + .bg_white {
  padding-top: 0;
}
.single-service .page-main section:not(.st-cta) .inner > *:not(h2):not(h3):not(h4):not(:last-child) {
  margin-bottom: 4rem;
}
.single-service section:not(.st-cta) .inner > h3 {
  margin-top: 6rem;
}

.single-service .page-main .bg_blue .inner > h3,
.single-service .page-main .bg_blue .inner > h4 {
  color: #FFF500;
}
.single-service .page-main .bg_blue .inner > p {
  color: #FFF;
}
.single-service .page-main .bg_blue .inner > .em-txt {
  color: #FFF;
}
.single-service .post-list {
  text-align: center;
}

@media screen and (max-width:980px) {
  .single-service h2:not(.st-cta_ttl) {
    font-size: 2.4rem;
    padding-bottom: 2rem;
  }
  .single-service h3:not(.st-article_title) {
    font-size: 2rem;
    padding-bottom: 1rem;
  }
  .single-service h4 {
    font-size: 1.8rem;
    padding-bottom: 1rem;
  }
  .single-service .em-txt {
    font-size: 2.4rem;
  }
  .single-service .service_list .orange .service_list_ttl:after {
    margin-top: 0.5rem;
  }
  .single-service .page-main > *:not(.service-mv),
  .single-service .page-main > *:not(.st-cta) {
    padding: 6rem 0;
  }
  
}
/* レイアウト */
.service_list {
  display: grid;
  gap: 3rem;
  font-size: 1.6rem;
}
.service_list.column2-box {
  grid-template-columns: 1fr 1fr;
}
.service_list.column3-box {
  grid-template-columns: 1fr 1fr 1fr;
}
.service_list .bg_white,
.service_list .bg_sky {
  border-radius: 1rem;
  padding: 1.5em;
  height: 100%;
}
.service_list .orange {
  margin-bottom: 1.5em;
}
@media screen and (max-width:980px) {
  .service_list {
    gap: 2rem;
  }
}
@media screen and (max-width:680px) {
  .service_list {
    gap: 3rem;
  }
  .service_list.column2-box,
  .service_list.column3-box {
    grid-template-columns: auto;
  }
}

/* mv */
.service-mv {
  height: 55rem;
  margin-top: 0;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url(../../img/bg_service.jpg);
  background-size: cover;
}
.service-mv .inner {
  position: relative;
  z-index: 1;
}
.service-mv h1 {
  font-size: 6.4rem;
  color: #0C1E84;
  line-height: 1.2;
  position: relative;
  font-weight: bold;
  text-align: center;
  -webkit-text-stroke: 10px #FFF;
}
.service-mv h1::before {
  content: attr(data-txt);
  -webkit-text-stroke: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  width: 100%;
}
.service-mv .bg_img {
  position: absolute;
  display: block;
  bottom: -4rem;
  right: 5%;
}
.service-mv .bg_img img {
  max-width: 30rem;
  width: 50vw;
}
.service-mv_point {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin: 3rem 0;
}
.service-mv_point li {
  text-align: center;
  background-color: #FFF;
  box-shadow: 5px 5px #D2E4FF;
  padding: 2rem 4rem;
  font-weight: bold;
  font-size: 2.4rem;
  position: relative;
}
.service-mv_point li::before,
.service-mv_point li::after {
  content: "";
  background-color: #B4D2FF;
  display: block;
  position: absolute;
  height: 8px;
  width: 8px;
  border-radius: 50%;
}
.service-mv_point li::before {
  left: 1rem;
  top: 1rem;
}
.service-mv_point li::after {
  right: 1rem;
  bottom: 1rem;
}

.service-mv_point li span {
  color: #0C1E84;
  font-size: 3.2rem;
}
.service-mv_cta {
  display: flex;
  justify-content: center;
  gap: 1rem;
}
.service-mv_cta li a {
  width: 40rem;
  height: 10rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 100vw;
  outline: 1px solid white;
  outline-offset: -0.4rem;
  transition: 0.5s;
  font-size: 1.6rem;
  line-height: 1;
  font-weight: bold;
}
.service-mv_cta li a:hover {
  outline-offset: 0rem;
}
.service-mv_cta .contact a {
  background-color: #FFF500;
}
.service-mv_cta .tel a {
  color: #fff;
  background-color: #0C1E84;
}
.service-mv_cta a em {
  font-size: 3.2rem;
}
.service-mv_cta a span {
  font-size: 1.6rem;
}
@media screen and (max-width:980px) {
  .service-mv {
    height: 50rem;
  }
  .service-mv h1 {
    font-size: 4rem;
  }
  .service-mv_point li {
    padding: 1.5rem 3rem;
    font-size: 2rem;
  }
  .service-mv_point li span {
    font-size: 2.4rem;
  }
  .service-mv_cta li a {
    width: 30rem;
    height: 7rem;
    font-size: 1.4rem;
  }
  .service-mv_cta a em {
    font-size: 2.4rem;
  }
  .service-mv_cta a span {
    font-size: 1.4rem;
  }
}
@media screen and (max-width:680px) {
  .service-mv {
    width: 100%;
    height: 60rem;
    overflow: hidden;
  }
  .service-mv h1 {
    font-size: 3.2rem;
    -webkit-text-stroke: 5px #FFF;
  }
  .service-mv .bg_img {
    bottom: 2rem;
    right: -5%;
  }
  .service-mv .bg_img img {
    max-width: 55rem;
    width: 70vw;
  }
  .service-mv_point {
    display: flex;
    gap: 1rem;
    margin: 2rem auto;
    flex-direction: column;
  }
  .service-mv_point li {
    padding: 1rem 2rem;
    font-size: 1.6rem;
  }
  .service-mv_point li span {
    font-size: 2rem;
  }
  .service-mv_cta {
    flex-direction: column;
  }
  .service-mv_cta li a {
    width: 100%;
    font-size: 1.4rem;
  }
}
/* 詳細パーツ */
.check-box1 {
  margin: 0 auto;
  font-weight: bold;
  font-size: 2.4rem;
}
.check-box1 li {
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
}
.check-box1 li:last-child {
  margin-bottom: 0;
}
.check-box1 li::before {
  content: "";
  background-image: url(../../img/ic_check1.svg);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
  height: 1.5em;
  width: 1.5em;
  margin-right: 1rem;
  flex-shrink: 0;
  align-self: flex-start;
}
.list-box {
  font-size: 2.4rem;
  color: #0C1E84;
  padding-bottom: 2rem;
  font-style: normal;
  font-weight: 800;
}
.list-box li {
  background-color: #FFF;
  border-radius: 1rem;
  padding: 2rem;
}
.flow-box {
  display: grid;
  counter-reset: flow 0;
  gap: 6rem;
}
.flow-box li {
  position: relative;
  display: grid;
  grid-template-columns: 10rem auto;
}
.flow-box li::before {
  counter-increment: flow;
  content: counter(flow,decimal-leading-zero);
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #FFF500;
  font-size: 4rem;
  font-weight: bold;
}
.flow-box li::after {
  content: "";
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 20px 30px 0 30px;
  border-color: #FFF transparent transparent transparent;
  position: absolute;
  top: calc(100% + 2rem);
  left: 50%;
  transform: translateX(-50%);
  opacity: .5;
}
.flow-box li:last-child::after {
  content: none;
}
.flow-box li section {
  padding: 3rem;
  background-color: #fff;
}
.gallery-box {
  display: grid;
  gap: 3rem;
}
.gallery-box.column2-box {
  grid-template-columns: 1fr 1fr;
}
.gallery-box.column3-box {
  grid-template-columns: 1fr 1fr 1fr;
}
.gallery-box.column4-box {
  grid-template-columns: 1fr 1fr 1fr 1fr;
}
.gallery-box li {
  padding: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 3px;
  box-shadow: 0px 3px 10px 0 #e5e5e5;
  border: 1px rgba(221, 221, 221, 0) solid; 
}
.gallery-box li figure {
  max-width: 20rem;
  vertical-align: top;
}
.gallery-box li figure img {
  width: 100%;
}
.gallery-box li figcaption {
  font-size: 1.4rem;
  margin-top: 1em;
  text-align: center;
}
.icon-box {
  display: grid;
  gap: 3rem 2rem;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
}
.icon-box li i {
  display: block;
  border-radius: 1rem;
  padding: 2rem;
  aspect-ratio: 1 / 1;
}
.icon-box li i img {
  aspect-ratio: 1 / 1;
  object-fit: contain;
  object-position: center;
  width: 100%;
  height: 100%;
}
.icon-box li p {
  font-size: 1.4rem;
  font-weight: bold;
  margin-top: 0.5em;
  text-align: center;
}
.wp-block-table {
  overflow-x: scroll;
}
.single-service table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
}
.single-service table small {
  font-size: 0.8em;
  display: block;
}
.single-service table th,
.single-service table td {
  min-width: 15rem;
  padding: 1em;
  text-align: center;
  border: 5px solid #F0F6FF;
  background-color: #FFF;
}
.single-service table th {
  background-color: #0C1E84;
  color: #FFF;
  font-weight: bold;
}
.single-service table td.bg_clear {
  background-color: transparent;
}
.single-service table th.xscore {
  background-color: #C7020C;
}
.single-service table thead,
.single-service table tfoot {
  border: none;
}
.single-service table thead td {
  background-color: transparent;
  padding-bottom: 0;
  color: #0C1E84;
  font-weight: bold;
}
.single-service table tfoot td {
  background-color: #2F2E41;
  color: #FFF;
  font-weight: bold;
}
.single-service table ~ figcaption {
  font-size: 0.8em;
  margin-bottom: 1rem;
}

@media screen and (max-width:980px) {
  .check-box1 {
    font-size: 1.8rem;
  }
  .list-box {
    font-size: 2rem;
    padding-bottom: 1rem;
  }
  .list-box li {
    padding: 1rem;
  }
  .flow-box {
    gap: 4rem;
  }
  .flow-box li {
    grid-template-columns: 5rem auto;
  }
  .flow-box li::before {
    font-size: 2rem;
  }
  .flow-box li::after {
    content: "";
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 10px 15px 0 15px;
    border-color: #FFF transparent transparent transparent;
    position: absolute;
    top: calc(100% + 1.5rem);
    left: 50%;
    transform: translateX(-50%);
    opacity: .5;
  }
  .flow-box li section {
    padding: 2rem;
  }
  .gallery-box {
    gap: 2rem;
  }
  /* テーブル見切れ用 */
  .wp-block-table {
    width: 100vw;
    margin: 0 calc(50% - 50vw);
    padding: 0 5%;
  }
}
@media screen and (max-width:680px) {
  .gallery-box {
    gap: 3rem;
  }
  .gallery-box.column2-box {
    grid-template-columns: auto;
  }
  .gallery-box.column3-box,
  .gallery-box.column4-box {
    gap: 1rem;
    grid-template-columns: 1fr 1fr;
  }
  .gallery-box li {
    padding: 1rem;
  }
  .icon-box {
    display: grid;
    gap: 2rem 1rem;
    grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
  }
  .icon-box li i {
    padding: 1.5rem;
  }
  /* 既存ギャラリー上書き用 */
  .wp-block-gallery.sp-gallery-gird-1 .wp-block-image {
    width: 100% !important;
  }

  .wp-block-gallery.has-nested-images figure.wp-block-image:not(#individual-image) {
    margin: 0;
    width: calc(50% - var(--wp--style--unstable-gallery-gap, 16px) / 2);
}

  .single-service table {
    width: auto !important;
  }
}
