/* スライダー部分 */
section.slider-area img, section.slider-area02 img
 {
    border-radius: 20px;
}
section.slider-area02 {
    padding-bottom: 20px;
    background-color: #eff2f8;
}

@media screen and (min-width: 1023px){
  section.slider-area02 {
      padding-bottom: 0;
      background-color: #eff2f8;
  }
}
.front-seko-jirei {
  margin: 40px auto;
  position: relative;
}
@media (max-width: 767px) {
  .front-seko-jirei {
    margin: 0 auto;
    position: relative;
  }
  section.slider-area02 {
    padding-bottom: 0;
    background-color: #eff2f8;
}
}
.swiper-wrapper {
  margin-bottom: 15px;
}

/* カード共通デザイン */
.seko-item {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  text-align: center;
  overflow: hidden;
}

.seko-thumb img {
  width: 100%;
  height: auto;
  display: block;
}

p.seko-title {
  padding: 20px 20px 10px 20px;
  font-weight: 100;
  font-size: 15px;
  line-height: 22px;
}

/* --- スマホ用 --- */
@media (max-width: 767px) {
  .sekoSwiper .swiper-slide {
    width: 70% !important; /* 前後チラ見せ */
  }
}

/* --- タブレット以上 --- */
@media (min-width: 768px) {
  .sekoSwiper .swiper-slide {
    flex-shrink: 0;        /* 縮まないようにする */
    width: 350px !important; /* 固定幅 */
  }
}

  /* 矢印をスライダー外に配置 */
  .swiper-button-prev {
    left: -60px;
  }
  .swiper-button-next {
    right: -60px;
  }

/***************************** 1023px以上
*****************************/
@media screen and (min-width: 1023px){
  .top-text07{
    padding-bottom: 20px;
    font-size: 30px;
    text-align: center;
  }
  .top-text08{
    width: 700px;
    margin: 20px auto 0 auto;
    font-size: 16px;
    line-height: 1.3em;
  }
  .top-box01{
    position: relative;
    width: 100%;
    padding: 50px 0 0 0;
    border-bottom: #FF0000 5px solid;
  }
  .top-box01 img{
    display: block;
    position: relative;
    width: 150px;
    left: 50%;
    margin-left: 350px;
  }
  .top-box02{
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 100px 0;
    background-image: url('../images/service-haikei.png');
    background-size: 70%;
    background-position: bottom left;
    background-repeat: no-repeat;
  }
  .top-box02-left{
    width: 300px;
  }
  .top-box02-left a{
    display: block;
    width: 180px;
    height: 54px;
    line-height: 54px;
    border-radius: 27px;
    color: #FFF;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    letter-spacing: 0.1vw;
    background-color: #FF0000;
  }
  .top-box02-left a:hover{
    color: #FFF;
    opacity: 0.7;
  }
  .top-box02-right{
    display: flex;
    justify-content: space-between;
    flex-wrap:wrap;
    width: 650px;
  }
  a.top-box02-right-mini{
    display: block;
    width: 120px;
    height: 120px;
    margin: 20px;
    padding-top: 20px;
    background-color: #eff2f8;
    border-radius: 20px;
  }
  a.top-box02-right-mini img{
    display: block;
    width: 60%;
    margin: auto;
  }
  .top-box02-text01{
    padding-top: 5px;
    font-size: 14px;
    line-height: 18px;
    text-align: center;
  }
  .top-box03-titlebox{
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    width: 1000px;
    margin: 100px auto 50px auto;
  }
  .top-box03-titlebox-left{
    width: 720px;
  }
  .top-box03-titlebox-right a{
    display: block;
    width: 180px;
    height: 54px;
    line-height: 54px;
    border-radius: 27px;
    color: #FFF;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    letter-spacing: 0.1vw;
    background-color: #FF0000;
  }
  .top-box03-titlebox-right a:hover {
    color: #FFF;
    opacity: 0.7;
  }
  .top-box04{
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 8vw;
    padding: 100px 0 50px 0;
    background-color: #eff2f8;
  }
  .top-box04-left{
    width: 300px;
    padding-left: 20px;
  }
  .top-box04-left a{
    display: block;
    width: 180px;
    height: 54px;
    line-height: 54px;
    border-radius: 27px;
    color: #FFF;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    letter-spacing: 0.1vw;
    background-color: #FF0000;
  }
  .top-box04-left a:hover {
    color: #FFF;
    opacity: 0.7;
  }
  .top-box04-right{
    width: 620px;
    padding-left: 100px;
  }
  .top-box04-right ul {
    list-style-type: decimal;
    font-size: 17px;
    letter-spacing: 1px;
  }
  .top-box04-right li{
    padding: 5px 0;
  }
  .top-box04-text01{
    font-size: 28px;
    color: #FF0000;
  }
  .top-box05{
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 100px 0 0 0;
  }
  .top-box05-right{
    width: 670px;
  }
  .top-box06{
    width: 95%;
    margin: 0 auto 100px auto;
  }
  #sb_instagram .sb_instagram_header .sbi_header_text, .sb_instagram_header .sbi_header_text {
    width: 1000px;
    margin: auto;
    display: flex;
    gap: 20px;
    justify-content: flex-start;
    align-items: center;
  }
  .related-entry-card,.entry-card a {
    display: flex;
    justify-content: space-between;
    height: 100%;
    margin-bottom: 30px;
  }
  .entry-card-thumbnail {
    width: 140px;
    padding-right: 15px;
  }
  img.attachment-medium.size-medium.wp-post-image {
    display: block;
    width: 100%;
  }
  .entry-card-thumbnail img.attachment-medium.size-medium.wp-post-image{
    border-radius: 8px;
  }
  .entry-card-content {
    margin-left: 0;
  }
  .top-box05-right h2.entry-card-title {
    font-size: 15px;
    line-height: 21px;
    text-align: left;
  }
  p.entry-card-excerpt {
    font-size: 14px;
    line-height: 21px;
  }

  a.ins-bn{
    display: block;
    width: 800px;
    margin: 80px auto;
  }
  a.ins-bn img{
    width: 100%;
  }

  .top-text01{
    font-size: 28px;
    font-weight: 600;
    letter-spacing: 3px;
  }
  .top-text02{
    width: 200px;
    padding: 10px 0 40px 0;
    font-size: 15px;
  }
  .top-text03{
    padding: 10px 0 0 0;
    font-size: 15px;
  }
  .top-text04{
    width: 100%;
    padding: 10px 0 40px 0;
    font-size: 15px;
  }
  .top-text05,.top-text06{
    display: none;
  }

  .custom-card {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 25px;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
  }
  .custom-card a {
    display: flex;
    text-decoration: none;
    color: inherit;
    width: 100%;
  }
  .card-thumb {
    width: 170px;
    margin-right: 15px;
    object-fit: cover;
  }
  .card-thumb img{
    border-radius: 10px;
  }
  .card-content {
    flex: 1;
  }
  .card-tags {
    margin-bottom: 8px;
  }
  .tag-item {
    display: inline-block;
    background-color: #FF6A00;
    color: #fff;
    font-size: 12px;
    padding: 1px 5px;
    border-radius: 6px;
    margin-right: 6px;
  }
  .card-title {
    line-height: 1.4;
  }

}
/***************************** 
1022px以下
*****************************/
@media screen and (max-width: 1022px){
  .top-text07{
    padding-bottom: 20px;
    font-size: 25px;
    text-align: center;
  }
  .top-text08{
    width: 700px;
    margin: auto;
    font-size: 16px;
    line-height: 28px;
  }
  .top-box01{
    position: relative;
    width: 100%;
    padding: 0;
    border-bottom: #FF0000 5px solid;
  }
  .top-box01 img{
    display: block;
    position: relative;
    width: 150px;
    left: 50%;
    margin-left: 200px;
  }
  .top-box02{
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 80px 0;
    background-image: url('../images/service-haikei.png');
    background-size: 90%;
    background-position: bottom left;
    background-repeat: no-repeat;
  }
  .top-box02-left{
    width: 300px;
    padding-left: 20px;
  }
  .top-box02-left a{
    display: block;
    width: 180px;
    height: 54px;
    line-height: 54px;
    border-radius: 27px;
    color: #FFF;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    letter-spacing: 0.1vw;
    border-radius: 25px;
    background-color: #FF0000;
  }
  .top-box02-left a:hover {
    color: #FFF;
    opacity: 0.7;
  }
  .top-box02-right{
    display: flex;
    justify-content: space-around;
    flex-wrap:wrap;
    width: 650px;
  }
  a.top-box02-right-mini{
    display: block;
    width: 120px;
    height: 120px;
    margin: 10px 8px;
    padding-top: 20px;
    background-color: #eff2f8;
    border-radius: 20px;
  }
  a.top-box02-right-mini img{
    display: block;
    width: 60%;
    margin: auto;
  }
  .top-box02-text01{
    padding-top: 5px;
    font-size: 14px;
    line-height: 18px;
    text-align: center;
  }
  .top-box03-titlebox{
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    width: 95%;
    margin: 100px auto;
  }
  .top-box03-titlebox-left{
    width: 70%;
  }
  .top-box03-titlebox-right a{
    display: block;
    width: 180px;
    height: 54px;
    line-height: 54px;
    border-radius: 27px;
    color: #FFF;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    letter-spacing: 0.1vw;
    background-color: #FF0000;
  }
  .top-box03-titlebox-right a:hover {
    color: #FFF;
    opacity: 0.7;
  }
  .top-box04{
    width: 100%;
    display: block;
    justify-content: center;
    padding: 100px 0 50px 0;
    background-color: #eff2f8;
  }
  .top-box04-left{
    width: 100%;
    padding-left: 0;
    text-align: center;
  }
  .top-box04-left a{
    display: none;
  }
  .top-box04-right{
    width: 530px;
    padding-left: 30px;
    margin: 0 auto;
  }
  .top-box04-right ul {
    list-style-type: decimal;
    font-size: 17px;
    letter-spacing: 0.1vw;
  }
  .top-box04-right li{
    padding: 5px 0;
  }
  .top-box04-text01{
    font-size: 28px;
    color: #FF0000;
  }
  .top-box05{
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 8vw 0 2vw 0;
  }
  .top-box05-right{
    width: 650px;
  }
  section.top-box06 {
    width: 90%;
    margin: 0 auto 8vw auto;
  }
  .related-entry-card, .entry-card a {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    height: 100%;
    margin-bottom: 30px;
  }
  .top-box05-right.entry-card-thumbnail {
    width: 18%;
  }
  .entry-card-thumbnail {
    width: 18%;
    padding-right: 15px;
  }
  img.attachment-medium.size-medium.wp-post-image {
    display: block;
    border-radius: 10px;
    width: 100%;
  }

  .top-box05-right,.entry-card-content {
    width: 80%;
    margin-left: 0;
  }
  h2.entry-card-title {
    font-size: 15px;
    line-height: 21px;
    text-align: left;
    padding-bottom: 0;
  }
  p.entry-card-excerpt {
    font-size: 14px;
    line-height: 21px;
  }
  
  a.ins-bn
  {
    display: block;
    width: 700px;
    margin: 80px auto;
  }
  a.ins-bn img{
    width: 100%;
  }
  .top-text01{
    font-size: 30px;
    font-weight: 600;
    letter-spacing: 0.3vw;
  }
  .top-text02{
    width: 200px;
    padding: 10px 0 40px 0;
    font-size: 15px;
  }
  .top-text03{
    padding: 10px 0 0 0;
    font-size: 15px;
  }
  .top-text04{
    width: 100%;
    padding: 10px 0 40px 0;
    font-size: 15px;
  }
  .top-text05{
    display: none;
  }
  .top-text06{
    display: block;
    width: 200px;
    height: 50px;
    line-height: 50px;
    margin: 5vw auto 0 auto;
    color: #FFF;
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    letter-spacing: 0.1vw;
    border-radius: 25px;
    background-color: #FF0000;
  }
  .top-text06 a{
    color: #FFF;
  }

  .custom-card {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 25px;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
  }
  .custom-card a {
    display: flex;
    text-decoration: none;
    color: inherit;
    width: 100%;
  }
  .card-thumb {
    width: 170px;
    margin-right: 15px;
    object-fit: cover;
  }
  .card-thumb img{
    border-radius: 10px;
  }
  .card-content {
    flex: 1;
  }
  .card-tags {
    margin-bottom: 8px;
  }
  .tag-item {
    display: inline-block;
    background-color: #FF6A00;
    color: #fff;
    font-size: 12px;
    padding: 1px 5px;
    border-radius: 6px;
    margin-right: 6px;
  }
  .card-title {
    line-height: 1.4;
  }
}

/***************************** 767px以下
*****************************/
@media screen and (max-width: 767px){
  .top-text07{
    padding-bottom: 20px;
    font-size: 22px;
    text-align: center;
    font-weight: 600;
  }
  .top-box01{
    position: relative;
    width: 100%;
    padding: 50px 0 0 0;
    border-bottom: #FF0000 5px solid;
  }
  .top-box01 img{
    display: block;
    position: static;
    width: 17vw;
    left: 0;
    margin: 0 0 0 auto;
    padding-right: 3%;
  }
  .top-box01{
    position: relative;
    width: 100%;
    padding: 0;
    border-bottom: #FF0000 5px solid;
  }
  .top-box01 img{
    display: block;
    position: relative;
    width: 130px;
    left: 0;
  }
  .top-box02{
    width: 100%;
    display: block;
    justify-content: center;
    padding: 10vw 0;
    background-image: url('../images/service-haikei.png');
    background-size: 100%;
    background-position: bottom left;
    background-repeat: no-repeat;
  }
  .top-box02-left{
    width: 95%;
    padding-left: 0;
    margin: auto;
  }
  .top-box02-left a{
    display: none;
  }
  .top-box02-right{
    display: flex;
    justify-content: space-around;
    flex-wrap:wrap;
    width: 100%;
    margin: 5vw auto 0 auto;
  }
  a.top-box02-right-mini{
    display: block;
    width: 120px;
    height: 120px;
    margin: 10px 5px;
    padding-top: 20px;
    background-color: #eff2f8;
;
    border-radius: 20px;
  }
  a.top-box02-right-mini img{
    display: block;
    width: 60%;
    margin: auto;
  }
  .top-box02-text01{
    padding-top: 5px;
    font-size: 14px;
    line-height: 18px;
    text-align: center;
  }
  .top-box03-titlebox{
    display: block;
    justify-content: space-between;
    align-items: flex-end;
    width: 95%;
    margin: 15vw auto 0 auto;
  }
  .top-box03-titlebox-left{
    width: 95%;
    margin: auto;
  }
  .top-box03-titlebox-right a{
    display: none;
  }
  .top-box04{
    width: 100%;
    display: block;
    justify-content: center;
    margin-top: 15vw;
    padding: 10vw 0;
    background-color: #eff2f8;
  }
  .top-box04-left{
    width: 100%;
    padding-left: 0;
    text-align: center;
  }
  .top-box04-left a{
    display: none;
  }
  .top-box04-right{
    width: 90%;
    padding-left: 30px;
    margin: 0 auto;
  }
  .top-box04-right ul {
    list-style-type: decimal;
    font-size: 16px;
    font-weight: 100;
    letter-spacing: 0.1vw;
  }
  .top-box04-right li{
    padding: 5px 0;
  }
  .top-box04-text01{
    font-size: 25px;
    color: #FF0000;
    line-height: 25px;
  }
  .top-box05{
    width: 100%;
    display: block;
    justify-content: center;
    padding: 10vw 0;
  }
  .top-box05-right{
    width: 95%;
    margin: auto;
  }
  section.top-box06 {
    width: 98%;
    margin: 0 auto 8vw auto;
  }
  .entry-cards {
    padding-top: 5vw;
  }
  .related-entry-card,.entry-card a {
    display: block;
    justify-content: space-between;
    height: 100%;
    margin-bottom: 3vw;
  }
  .entry-card-thumbnail {
    width: 70%;
    margin: 0 auto 2vw auto;
  }
  img.attachment-medium.size-medium.wp-post-image {
    display: block;
    border-radius: 10px;
  }
  .entry-card-content {
    width: 77%;
    margin-left: 0;
  }
  h2.entry-card-title {
    font-size: 15px;
    line-height: 21px;
    text-align: left;
    padding-bottom: 0;
  }
  p.entry-card-excerpt {
    font-size: 14px;
    line-height: 21px;
  }
  a.ins-bn
  {
    display: block;
    width: 95%;
    margin: 10vw auto;
  }
  a.ins-bn img{
    width: 100%;
  }
  .top-text01{
    font-size: 30px;
    font-weight: 600;
    letter-spacing: 0.3vw;
    text-align: center;
  }
  .top-text02{
    width: 100%;
    padding: 2vw 0 0 0;
    font-size: 15px;
    text-align: center;
  }
  .top-text03{
    padding: 2vw 0 5vw 0;
    font-size: 15px;
  }
  .top-text04{
    width: 90%;
    margin: auto;
    padding: 10px 0 5vw 0;
    font-size: 15px;
    text-align: start;
  }
  .top-text05,.top-text06{
    display: block;
    width: 200px;
    height: 50px;
    line-height: 50px;
    margin: 5vw auto 0 auto;
    color: #FFF;
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    letter-spacing: 0.1vw;
    border-radius: 25px;
    background-color: #FF0000;
  }
  .top-text05 a,.top-text06 a{
    color: #FFF;
  }
  .top-text08 {
    width: 95%;
    margin: auto;
    font-size: 16px;
    line-height: 28px;
  }
}