@charset "utf-8";
/*
Theme Name: ニッシンホーム
Theme URI:
Description:  
Author: SCS
Author URI: 
Version: 1.0
*/

/* index */

/* Swiper styles for main slide */
.fvSwiper {
  width: 50%;
  position: relative;
}

.fvSwiper .swiper-slide {
  width: 100%;
}

.fvSwiper .swiper-slide img {
  width: 100%;
  height: auto;
  aspect-ratio: 1080/1350;
  object-fit: cover;
}

.fvSwiper .swiper-pagination {
  bottom: 30px;
}

.fvSwiper .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background: #fff;
  opacity: 0.5;
  transition: opacity 0.3s;
}

.fvSwiper .swiper-pagination-bullet-active {
  opacity: 1;
}

.fvSwiper .swiper-button-next,
.fvSwiper .swiper-button-prev {
  color: #fff;
  width: 44px;
  height: 44px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 50%;
  margin-top: -22px;
}

.fvSwiper .swiper-button-next::after,
.fvSwiper .swiper-button-prev::after {
  font-size: 20px;
}

.fvSwiper .swiper-button-next {
  right: 20px;
}

.fvSwiper .swiper-button-prev {
  left: 20px;
}

@media only screen and (max-width:599px) {
  .fvSwiper {
    width: 100%;
  }
  
  .fvSwiper .swiper-button-next,
  .fvSwiper .swiper-button-prev {
    width: 30px;
    height: 30px;
    margin-top: -15px;
  }
  
  .fvSwiper .swiper-button-next::after,
  .fvSwiper .swiper-button-prev::after {
    font-size: 16px;
  }
  
  .fvSwiper .swiper-button-next {
    right: 10px;
  }
  
  .fvSwiper .swiper-button-prev {
    left: 10px;
  }
}
#index.home .content {
  text-align: center;
}

#index .sec-title {
  margin: 0 auto 20px;
}

#index .sec-text {
  margin-bottom: 60px;
}
#index .google_review{
  margin: 20px 0;
}
#index #fv {
  display: flex;
  flex-direction: row-reverse;
  justify-content: center;
  align-items: center;
  gap: 0;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

#index #fv .fv-movie {
  width: 60%;
}

#index #fv .fv-movie video {
  max-width: 100%;
}

#index #fv .swiper-slide img {
  margin: 0 0 0 auto;
}
#index #fv .leftbox{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 20px;
  width: 50%;
  padding: 20px 0;
}
#index #fv .leftbox .catch {
  font-size: clamp(1.65rem, 1.432rem + 1.09vw, 2.25rem);
  font-weight: 700;
  color: #009ADF;
  line-height: 1.6;
  font-family: "BIZ UDPMincho", sans-serif;
}
#index #fv .leftbox .sub-text{
  text-align: center;
   font-family: "BIZ UDPMincho", sans-serif;
  font-weight: 400;
}

#index #fv .leftbox img {
  max-width: 480px;
  width: 80%;
  display: block;
  margin: 0 auto;
}

#index #fv .swiper-pagination {
  text-align: right;
  padding-right: 100px;
}

#index #fv .swiper-pagination .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  margin: 0 5px;
  background: #fff;
  opacity: 0.5;
}

#index #fv .swiper-pagination .swiper-pagination-bullet-active {
  background: #009ADF;
  opacity: 1;
}
@media only screen and (max-width:599px) {
  #index #fv .leftbox {
    width: 100%;
  }
}
@media only screen and (max-width:768px) {
  #index #fv {
    flex-direction: column;
    width: 100%;
    max-width: none;
  }

  #index #fv .fv-movie {
    width: 100%;
  }


  #index #fv .swiper-pagination {
    text-align: center;
    padding-right: 0
  }

  #index #fv h3.sp-only {
    display: block !important;
  }

  #index #fv h3.sp-only {
    margin: 20px 0 20px;
    text-align: center;
  }

  #index #fv h3.sp-only img {
    width: 80vw;
  }
}

@media only screen and (max-width:599px) {}

#index #instagram {
  background: #f4f4f4;
  padding: 80px 0;
}

#index #instagram .instagram__title {
  text-align: center;
  max-width: 450px;
  margin: 0 auto 20px;
}

@media only screen and (max-width:768px) {
  #index #instagram {
    padding: 40px 0;
  }

  #index #instagram .instagram__title {
    max-width: 80%;
  }
}

#index #flow {
  background: #E8F5FA;
}

#index #flow::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  height: 800px;
  background: #fff;
  border-bottom: 20vw solid #E8F5FA;
  border-right: 100vw solid transparent;
}

#index #flow .content {
  max-width: 1100px;
}

#index #flow .flow-title {
  background: url("img/index/flow_title_bg.png") center bottom no-repeat;
  padding: 100px 0 120px 0;
}

#index #flow .flow-title h4 {
  font-size: 34px;
  color: #009ADF;
  letter-spacing: 0.2rem;
}

#index #flow .flow-title-img {
  margin: 0 auto;
}

#index #flow .flow-img-title {
  margin: 40px auto 30px auto;
  display: block;
  max-width: 250px;
}

#index #flow .flow-step {
  padding: 10px 0;
  position: relative;
}

#index .subject-en {
  font-family: 'Damion', cursive;
  color: #B8B8B8;
  margin-bottom: 10px;
}

#index #flow .flow-step .step-baloon01 {
  position: absolute;
  left: 390px;
  top: 0;
  z-index: 10;
}

#index #flow .flow-step .step-baloon02 {
  position: absolute;
  right: 100px;
  top: 0;
  z-index: 10;
}

#index #flow .flow-step .step-textarea {
  position: absolute;
  top: 0;
  right: 0;
  text-align: left;
  width: 42%;
}

#index #flow .flow-step .step-textarea .step-text-box-outerline {
  border: solid 3px #fff;
  margin-top: -65px;
  padding: 5px;
}

#index #flow .flow-step .step-textarea .step-textbox {
  background: hsl(0, 0%, 100%);
  padding: 50px 25px 50px 25px;
}

#index #flow .flow-step li {
  position: relative;
  margin-bottom: 90px;
}

#index #flow .flow-step .step-textarea .step-title {
  color: #009ADF;
  font-size: 23px;
  font-weight: bold;
  line-height: 1.6;
  margin: 0 0 15px 0;
}

#index #flow .flow-step .step-textarea .step-text {
  margin: 0 0 40px 0;
}

@media only screen and (min-width:600px) {
  #index #flow .flow-step li::before {
    content: "";
    display: block;
    padding-top: 50%;
  }

  #index #flow .flow-step li:nth-child(odd) .step-textarea .subject-en {
    margin-left: 125px;
  }

  #index #flow .flow-step li:nth-child(even) .step-title-img {
    display: block;
    margin: 0 0 0 auto;
  }

  #index #flow .flow-step li:nth-child(odd) .step-textarea {
    left: 0;
    right: auto;
  }

  #index #flow .flow-step .step-img {
    position: absolute;
    left: 0;
    top: 50px;
  }

  #index #flow .flow-step li:nth-child(odd) .step-img {
    position: absolute;
    left: auto;
    right: 0;
    top: 50px;
  }

  #index #flow .flow-step li:nth-of-type(1) .step-textarea .step-textbox {
    padding: 50px 25px 30px 25px;
  }

  #index #flow .flow-step li:nth-of-type(1) .step-textarea .step-text {
    margin: 0 0 30px 0;
  }
}

@media only screen and (max-width:599px) {
  #index #flow .flow-title-bg-top {
    background: url("img/index/flow_title_bg_top_sp.png") center bottom / contain no-repeat;
    padding: 20px;
  }

  #index #flow .flow-title {
    background: url("img/index/flow_title_bg_middle_sp.png") center top / contain repeat-y;
    padding: 0px 15px 20px 10px;
  }

  #index #flow .flow-title-img {
    width: 70vw;
    margin: 0 auto 20px;
  }

  #index #flow .flow-title-bg-bottom {
    background: url("img/index/flow_title_bg_bottom_sp.png") center top / contain no-repeat;
    padding: 30px;
  }

  #index #flow .flow-title h4 {
    font-size: 20px;
  }

  #index #flow .flow-title .flow-img-title {
    max-width: 200px;
  }

  #index #flow .flow-step .step-textarea {
    position: relative;
    width: 100%;
  }

  #index #flow .flow-step .step-title-img {
    width: 60%;
  }

  #index #flow .flow-step .step-img {
    margin-bottom: 20px;
  }

  #index #flow .flow-step .step-textarea .step-title {
    font-size: 18px;
  }

  #index #flow .flow-step li {
    position: relative;
    margin-bottom: 20px;
  }

  #index #flow .flow-step li:nth-child(even) .step-title-img {
    display: block;
    margin: 0 0 0 auto;
  }

  #index #flow .flow-step li:nth-child(odd) .step-textarea .subject-en {
    text-align: right;
  }

  #index #flow .flow-step .step-baloon01 {
    left: auto;
    right: 0;
    top: -50px;
    width: 50%;
  }

  #index #flow .flow-step .step-baloon02 {
    left: auto;
    right: 0;
    top: -50px;
    width: 50%;
  }
}

#index #works {
  padding: 90px 0 120px;
}

#index #works .sec-title {
  margin: 0 auto 60px;
}

#index #works .works-baloon {
  position: absolute;
  top: 0;
  left: 62%;
}
#index #works .works-list{
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}
#index #works .works-list li{
  width: calc((100% - 80px) / 5);
}
#index #works .works-list .post-img{
  border: 1px solid #ccc;
  padding: 5px;
  background: url("img/common/stripe_bg.png");
}
@media screen and (max-width: 767px) {
  #index #works .scroll-wrapper {
    width: 100%;
    overflow-x:auto;
    -webkit-overflow-scrolling: touch;
  }
  #index #works .works-list{
    width: 800px;
  }
}
@media only screen and (max-width:599px) {
  #index #works {
    padding: 20px 0 40px;
  }

  #index #works .content {
    background: none;
    padding: 0 5%
  }

  #index #works .sec-title {
    width: 100%;
    margin: 0 auto 20px;
  }

  #index #works .bg-works-top {
    background: url("img/index/works_bg_top_sp.svg") center bottom / contain no-repeat;
    padding: 20px;
  }

  #index #works .bg-works-middle {
    background: url("img/index/works_bg_middle_sp.svg") center top / contain repeat-y;
    padding: 0 50px 0;
  }

  #index #works .bg-works-bottom {
    background: url("img/index/works_bg_bottom_sp.svg") center top / contain no-repeat;
    padding: 30px;
  }

  #index #works .works-baloon {
    position: relative;
    margin: 0 auto -10px auto;
    top: auto;
    left: auto;
    width: 45%;
  }

  #index #works .sec-title-img {
    width: 70%;
    margin: 0 auto 20px;
  }
}

#index #simulation {
  background: url("img/common/stripe_y_bg.png");
  padding-bottom: 100px;
}

#index #simulation::before {
  content: '';
  background: #fff;
  position: absolute;
  top: 0;
  right: 0;
  height: 70px;
  width: 100%;
}

#index #simulation .simulation-img {
  display: block;
  margin: 0 auto 40px;
}

#index #simulation .image-list {
  display: flex;
  justify-content: space-between;
  margin: 0 80px 40px;
}

#index #simulation .image-list li {
  margin-bottom: 20px
}

#index #simulation .btn a {
  color: #131313;
}

@media only screen and (max-width:599px) {
  #index #simulation {
    padding-bottom: 40px;
  }

  #index #simulation::before {
    height: 40px;
  }

  #index #simulation .simulation-img {
    width: 70%;
    margin: 0 auto 20px;
  }

  #index .sec-text {
    margin-bottom: 30px;
  }

  #index #simulation .image-list {
    flex-wrap: wrap;
    margin: 0 10px 20px;
  }

  #index #simulation .image-list li {
    width: 32%;
  }

}
#index #staff .staff-list{
  margin: 40px auto;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}
#index #staff .staff-list .staff-item{
  width: calc((100% - 40px) / 2);
  position: relative;
}
#index #staff .staff-list .staff-item img{
  height: 250px;
}
@media screen and (max-width: 768px) {
  #index #staff .staff-list .staff-item img{
    height: 160px;
  }
}
#index #staff .staff-list .staff-item h3{
  font-size: 1.2rem;
  color:#0087CD;
  line-height: 1.2;
  margin-bottom: 0;
}
#index #staff .staff-list .staff-item h3 small{
  font-size: 0.8rem;
  color: #131313;
  font-weight: 500;
}
#index #staff .staff-burugorikun img{
  width: 33%;
}
@media screen and (max-width: 768px) {
  #index #staff .staff-burugorikun img{
    width: 70%;
  }
}
#index #staff .staff-burugorikun{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
}
@media screen and (max-width: 768px) {
  #index #staff .staff-burugorikun{
    flex-direction: column;
  }
}
#index #staff .staff-burugorikun .burugori-content h3{
  color: #105fa6;
  font-family: "RocknRoll One", sans-serif;
  font-size: clamp(2.5rem, 1.591rem + 4.55vw, 5rem);
  padding:0;
  margin: 0;
}
#index #staff .staff-burugorikun .burugori-content .h3-sub{
  font-size: clamp(0.8rem, 0.727rem + 0.36vw, 1rem);
  margin-bottom: 20px;
}
#index #staff .staff-burugorikun .burugori-content .burugori-text{
  font-size: clamp(1rem, 0.927rem + 0.36vw, 1.2rem);
}
@media screen and (max-width: 768px) {
  #index #staff .staff-list .staff-item{
    width: 46%;
  }
}
#index #banner{
  background: #E8F5FA;
  padding: 60px 0;
}
#index #blog {
  padding: 80px 0 0;
}

#index #blog .content .bg-top {
  background: url("img/index/blog_bg_top.png") no-repeat center bottom;
  background-size: contain;
  padding-bottom: 20px;
}

#index #blog .content .bg-middle {
  background: url("img/index/blog_bg_middle.png") repeat-y center;
  background-size: contain;
  padding: 0 60px 40px;
}

#index #blog .content .bg-bottom {
  background: url("img/index/blog_bg_bottom.png") no-repeat center top;
  background-size: contain;
}

#index #blog .sec-title {
  margin: 0 auto;
}

#index #blog .post-list {
  margin-bottom: 50px;
}

#index #blog .post-date {
  color: #808080;
  text-align: left;
}

@media only screen and (max-width:599px) {
  #index #blog {
    padding: 40px 0 0;
  }

  #index #blog .content .bg-top {
    background: url("img/index/blog_bg_top_sp.png") no-repeat center bottom;
    background-size: contain;
    padding-bottom: 0;
  }

  #index #blog .content .bg-middle {
    background: url("img/index/blog_bg_middle_sp.png") repeat-y center;
    background-size: contain;
    padding: 0 20px 10px;
  }

  #index #blog .content .bg-bottom {
    background: url("img/index/blog_bg_bottom_sp.png") no-repeat center top;
    background-size: contain;
    height: 40px;
  }

  #index #blog .sec-title {
    width: 80%;
    margin: 0 auto;
    padding-bottom: 20px;
  }

  #index #blog .sec-text {
    margin-bottom: 20px;
  }

  #index #blog .bg-middle {
    padding: 0 40px 40px;
  }

  #index #blog .post-list {
    margin-bottom: 20px;
  }
}

#index #guide {
  padding-top: 100px;
}

#index #guide .flex {
  margin-bottom: 60px;
}

#index #guide .guide-textarea {
  text-align: left;
  width: 40%;
}

#index #guide .guide-textarea img {
  margin-bottom: 40px
}

#index #guide .guide-textarea .guide-title {
  font-size: 24px;
  font-weight: bold;
  margin: 0 0 5px 0;
}

#index #guide .guide-textarea .title-en {
  margin-bottom: 20px
}

#index #guide .guide-textarea .guide-text {
  margin: 0 0 40px 0;
}

@media only screen and (max-width:599px) {
  #index #guide {
    padding-top: 20px;
  }

  #index #guide .flex {
    margin-bottom: 20px;
  }

  #index #guide .guide-textarea {
    width: 100%;
    margin-bottom: 20px;
  }

  #index #guide .guide-textarea img {
    margin-bottom: 20px;
  }

  #index #guide .guide-textarea .guide-title {
    font-size: 22px;
  }

  #index #guide .guide-textarea .guide-text {
    margin: 0 0 20px 0;
  }
}

#index #service {
  background: #F4F4F4;
  padding: 40px 0 100px;
}

#index #service::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  height: 300px;
  background: #FFF;
  border-bottom: 15vw solid #F4F4F4;
  border-right: 100vw solid transparent;
}

#index #service::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  height: 250px;
  background: #F4F4F4;
  border-bottom: 15vw solid #fff;
  border-right: 100vw solid transparent;
  z-index: 0;
}

#index #service .content {
  background: url("img/index/service_bg.png") no-repeat center bottom;
  background-size: contain;
  z-index: 1;
}

#index #service .sec-title {
  margin: 0 auto 20px;
}

#index #service .sec-text {
  margin-bottom: 30px;
}

#index #service .service-baloon {
  position: absolute;
  top: 0;
  right: 0;
}

#index #service .service-img01 {
  position: absolute;
  top: 160px;
  right: 70px;
}

#index #service .service-img02 {
  margin-bottom: 60px;
}

@media only screen and (min-width:600px) {
  #index #service .content {
    padding: 50px 19px 70px 5px;
  }
}

@media only screen and (max-width:599px) {
  #index #service {
    padding: 20px 0;
  }

  #index #service .content {
    background: none;
  }

  #index #service .sec-title {
    padding-bottom: 20px;
    margin: 0 auto;
  }

  #index #service .service-bg-top {
    background: url("img/index/service_bg_top_sp.svg") no-repeat center bottom;
    background-size: contain;
  }

  #index #service .service-bg-middle {
    background: url("img/index/service_bg_middle_sp.svg") repeat-y center;
    background-size: contain;
    padding: 0 12px 20px 5px;
  }

  #index #service .service-bg-bottom {
    background: url("img/index/service_bg_bottom_sp.svg") no-repeat center top;
    background-size: contain;
    padding: 20px;
  }

  #index #service .service-baloon {
    position: relative;
    margin: 0 0 0 auto;
    width: 70%;
    display: block;
  }

  #index #service .service-img01 {
    position: relative;
    top: 0;
    right: 0;
    margin-bottom: 20px;
  }

  #index #service .service-img02 {
    margin-bottom: 30px;
  }
}

#index #tips {
  background: #F4F4F4;
  padding: 60px 0 100px;
}

#index #tips::before {
  content: '';
  background: #FFF;
  position: absolute;
  top: 0;
  right: 0;
  height: 150px;
  width: 100%;
}

#index #tips .content {
  background: url("img/index/tips_bg.svg") no-repeat center bottom 15px;
  background-size: contain;
  max-width: 1120px;
}

#index #tips .sec-text {
  margin-bottom: 80px;
}

#index #tips .tips-list {
  font-size: 21px;
  font-weight: bold;
  margin-bottom: 60px;
}

#index #tips .tips-list li {
  margin-bottom: 20px;
}

#index #tips .tips-list li img {
  margin-right: 10px;
}

@media only screen and (max-width:599px) {
  #index #tips {
    padding: 20px 0;
  }

  #index #tips::before {
    height: 100px;
  }

  #index #tips .sec-text {
    margin-bottom: 20px;
  }

  #index #tips .sec-title {
    width: 100%;
  }

  #index #tips .content {
    background: none;
  }

  #index #tips .tips-list {
    font-size: 16px;
    margin-bottom: 20px;
  }

  #index #tips .tips-list li {
    margin-bottom: 10px;
  }

  #index #tips .tips-list li img {
    width: 20px;
  }
}

#index #staff {
  background: #EEF8FC;
  padding: 60px 0;
}

#index #staff .staff_box {
  width: 48%;
}

#index #staff .staff_name {
  background: #44CEE8;
  color: #fff;
  font-size: 25px;
  font-weight: bold;
  padding: 5px;
  margin-bottom: 20px;
}

@media only screen and (min-width:600px) {
  #index #staff .content {
    padding: 0 80px;
  }
}

@media only screen and (max-width:599px) {
  #index #staff .staff_box {
    width: 100%;
    margin-bottom: 20px;
  }

  #index #staff .staff_name {
    font-size: 20px;
    padding: 3px;
  }

  #index #staff .staff_box .flex {
    display: flex;
  }

  #index #staff .staff_box .flex .staff-title {
    width: 35%;
  }

  #index #staff .staff_box .flex iframe {
    width: 64% !important;
  }
}

#index #access::before {
  content: '';
  background: #E8F5FA;
  position: absolute;
  top: 0;
  right: 0;
  height: 150px;
  width: 100%;
}

@media only screen and (max-width:599px) {
  #index #access::before {
    height: 120px;
  }
}

/* flow */
#flow #breadcrumbs {
  color: #fff;
}

#flow #bg {
  background: url("img/flow/fv_bg.png") bottom center no-repeat;
  background-size: cover;
  position: absolute;
  top: 0;
  height: 88vh;
  width: 100%;
  z-index: -1;
}

#flow #a-flow .content {
  max-width: 1060px;
}

#flow #a-flow .sec-title {
  margin: 0 auto 20px;
}

#flow #a-flow .sec-text {
  margin-bottom: 40px;
}

#flow #a-flow .flow-title {
  margin: 30vh auto 30px;
  display: block;
  width: 80%;
  max-width: 600px;
}
#flow #a-flow .flow-title + p{
  text-align: center;
  color: #fff;
  margin-bottom: 40px;
}
#flow #a-flow #step{
  margin-bottom: 40px;
}
#flow #a-flow #step .flow-step li {
  padding: 20px 0;
  position: relative;
}

#flow #a-flow #step .flow-step li:nth-child(even) {
  flex-direction: row-reverse;
}

#flow #a-flow #step .flow-step li .text-box {
  position: relative;
}

#flow #a-flow #step .flow-step li .text-box .step-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
#flow #a-flow #step .flow-step li .text-box .step-wrapper img{
  width: 25%;
}

#flow #a-flow #step .flow-step li .text-box .step-title {
  font-size: 25px;
  font-weight: bold;
  margin: 30px 0;
}

#flow #a-flow #step .flow-step li .text-box .step-icon {
  position: absolute;
  top: 80px;
  right: 0;
  z-index: -1;
}

#flow #a-flow #step .flow-step .step-arrow {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translate(-50%, 50%);
}

#flow #a-flow #movie {
  padding: 80px 0;
}

#flow #a-flow #movie .content {
  text-align: center;
  max-width: 800px;
}

#flow #a-flow #movie .youtube {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%;
  overflow: hidden;
}

#flow #a-flow #movie .youtube iframe {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

#flow #a-flow #quality {
  background: #F3F3F3;
}

#flow #a-flow #quality::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  height: 0;
  background: #F3F3F3;
  border-top: 17vw solid #fff;
  border-left: 100vw solid transparent;
}

#flow #a-flow #quality .quality-list li {
  background: #fff;
  padding: 30px 30px 30px 50px;
  margin-bottom: 60px;
}

#flow #a-flow #quality .list-title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 20px;
}

#flow #access::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  height: 0;
  background: #fff;
  border-top: 17vw solid #F3F3F3;
  border-left: 100vw solid transparent;
}

@media only screen and (min-width:600px) {
  #flow #a-flow #step .flow-step li {
    display: flex;
    align-items: center;
    gap: 40px;
  }

  #flow #a-flow #step .flow-step li:nth-child(even) {
    flex-direction: row-reverse;
  }

  #flow #a-flow #step .flow-step li .text-box {
    width: 40%;
  }

  #flow #a-flow #step .flow-step li:nth-child(even) .text-box .step-no {
    margin-left: 60px;
  }

  #flow #a-flow #step .flow-step li:nth-child(1) .text-box .step-icon {
    top: 80px;
    right: -39px;
  }

  #flow #a-flow #step .flow-step li:nth-child(2) .text-box .step-icon {
    top: 80px;
    right: 108px;
  }

  #flow #a-flow #step .flow-step li:nth-child(3) .text-box .step-icon {
    top: 80px;
    right: 74px;
  }

  #flow #a-flow #step .flow-step li:nth-child(4) .text-box .step-icon {
    top: 80px;
    left: -86px;
  }

  #flow #a-flow #step .flow-step li:nth-child(5) .text-box .step-icon {
    top: 80px;
    right: 140px;
  }

  #flow #a-flow #quality .quality-list li {
    display: flex;
    align-items: center;
    gap: 40px;
    justify-content: space-between;
    flex-direction: row-reverse;
  }
}

@media only screen and (max-width:599px) {
  #flow #a-flow #step .flow-step li {
    display: block;
    margin-bottom: 30px;
  }

  #flow #a-flow #step .flow-step li .step-img {
    margin-bottom: 20px;
  }

  #flow #a-flow #step .flow-step li .text-box .step-title {
    font-size: 20px;
    margin: 10px 0;
  }

  #flow #a-flow #step .flow-step li .text-box {
    margin-bottom: 20px;
  }

  #flow #a-flow #step .flow-step li .text-box .step-no {
    width: 30%;
  }

  #flow #a-flow #step .flow-step li .text-box .step-icon {
    top: 15px;
    right: 0;
  }

  #flow #a-flow #quality .sec-title {
    width: 100%;
  }

  #flow #a-flow #quality .list-title {
    font-size: 18px;
    margin-bottom: 10px;
    line-height: 1.4;
  }

  #flow #a-flow #quality .quality-list li {
    padding: 20px;
    margin-bottom: 20px;
  }

  #flow #a-flow #quality .quality-list li img {
    margin-bottom: 20px;
  }
}

/* tips */
#a-tips {
  margin-bottom: 60px;
}

#a-tips .content {
  max-width: 930px;
}

#a-tips .sec-img {
  display: block;
  margin: 0 auto;
}

#a-tips .tips-title {
  padding: 130px 0 60px;
  text-align: center;
}

#a-tips .tips-no {
  display: block;
  margin: 0 auto 40px;
}

#a-tips .red {
  color: #D81D25;
  font-weight: bold;
}

#a-tips .sec-tips {
  padding: 110px 0;
}

#a-tips .sec-tips .sub-message {
  font-weight: bold;
  text-align: center;
  vertical-align: middle;
}

#a-tips .sec-tips .sub-message::before {
  content: url("img/tips/text_start.png");
  display: inline-block;
  width: 20px;
  height: 27px;
  margin-right: 10px;
}

#a-tips .sec-tips .sub-message::after {
  content: url("img/tips/text_end.png");
  display: inline-block;
  width: 20px;
  height: 27px;
  margin-left: 10px;
}

#a-tips .sec-tips .message {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 60px;
  text-align: center;
}

#a-tips .sec-tips .comment-line {
  margin: 40px auto;
}

#a-tips .sec-tips .tanto-img {
  display: block;
  margin: 0 40px 0 auto;
}

#a-tips .sec-tips .tips-graph {
  display: block;
  margin: 120px auto 0;
}

#a-tips .sec-tips .tips-baloon01 {
  position: absolute;
  bottom: 335px;
  right: 25px;
}

#a-tips .sec-tips .tips-baloon02 {
  position: absolute;
  bottom: 355px;
  right: 30px;
}

#a-tips .sec-tips .tips-baloon05 {
  position: absolute;
  bottom: 355px;
  right: 30px;
}

#a-tips .sec-answer {
  background: #FFC900;
  padding: 60px 0;
}

#a-tips .sec-answer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, 0);
  border: 30px solid transparent;
  border-top: 30px solid #fff;
}

#a-tips .sec-answer .answer-text {
  font-size: 20px;
  font-weight: bold;
  text-align: center;
}

@media only screen and (min-width:600px) {
  #a-tips .sec-tips .textbox {
    width: 46%;
  }
}

@media only screen and (max-width:599px) {
  #a-tips .sec-title {
    margin-bottom: 40px;
    width: 100%;
  }

  #a-tips .sec-img {
    width: 90%;
  }

  #a-tips .tips-no {
    width: 50%;
  }

  #a-tips .sec-tips .message {
    font-size: 20px;
    margin-bottom: 40px;
  }

  #a-tips .sec-tips .textbox {
    margin: 20px 0 40px;
  }

  #a-tips .sec-tips .comment-line {
    margin: 20px auto;
  }

  #a-tips .sec-tips .tips-baloon01 {
    width: 40%;
    bottom: 190px;
    right: 10px;
  }

  #a-tips .sec-tips .tips-baloon02 {
    width: 40%;
    bottom: 190px;
    right: 10px;
  }

  #a-tips .sec-tips .tips-baloon05 {
    width: 40%;
    bottom: 190px;
    right: 10px;
  }
}

/* free */
#free #breadcrumbs {
  color: #fff;
}

#free #bg {
  background: url("img/free/fv_bg.png") bottom center no-repeat;
  background-size: cover;
  position: absolute;
  top: 0;
  height: 95vh;
  width: 100%;
  z-index: -1;
}

#free #a-title .free-title {
  margin: 40vh auto 90px;
  display: block;
  text-align: center;
}

#free #a-title .free-img {
  display: block;
  margin: 0 auto 120px;
}

#free #a-service .sec-service:nth-child(even) {
  background: #DADADA;
}

#free #a-service .sec-service:nth-child(1) .content {
  background: url("img/free/service01_icon.png") left 100px bottom -80px no-repeat;
}

#free #a-service .sec-service:nth-child(2) .content {
  background: url("img/free/service02_icon.png") right 100px bottom -80px no-repeat;
}

#free #a-service .sec-service:nth-child(3) .content {
  background: url("img/free/service03_icon.png") left 100px bottom -80px no-repeat;
}

#free #a-service .sec-service:nth-child(4) .content {
  background: url("img/free/service04_icon.png") right 100px bottom -80px no-repeat;
}

#free #a-service .sec-service:nth-child(5) .content {
  background: url("img/free/service05_icon.png") left 100px bottom -80px no-repeat;
}

#free #a-service .sec-service .textbox {
  margin: 0 60px 0 10px;
  width: 38%;
}

#free #a-service .sec-service .textbox .title {
  font-size: 32px;
  font-weight: bold;
  line-height: 1;
  margin-bottom: 30px;
}

#free #a-service .sec-service .imgbox {
  flex-shrink: 0;
}

#free #a-service .sec-service .imgbox img {
  margin-bottom: 30px;
  display: block;
}

#free #a-service .sec-service .service_img {
  display: block;
  margin: 0 0 0 auto;
}

#free #a-company .sec-title {
  text-align: center;
  margin: 0 auto 20px;
}

#free #a-company .sec-title .title-text {
  margin: 20px auto;
}

#free #a-company .sec-research-list .flex {
  align-items: center;
  gap: 40px;
  margin-bottom: 80px;
}

#free #a-company .sec-research-list .list-title {
  font-size: 26px;
  font-weight: bold;
  line-height: 1.7;
  margin-bottom: 20px;
}

#free #a-company .sec-research-list .list-text {
  margin-bottom: 30px;
}

#free #a-company .sec-research-list .company-img {
  flex-shrink: 0;
}

@media only screen and (min-width:600px) {
  #free #a-company .content {
    background: url("img/free/company_bg.png") no-repeat center bottom;
    background-size: contain;
    padding: 175px 65px 0px 55px;
    margin-bottom: 80px;
  }

  #free #a-service .sec-service .content {
    padding: 120px 0 60px;
  }

  #free #a-service .sec-service:nth-child(even) .service_img {
    display: block;
    margin: 0 auto 0 0;
  }
}

@media only screen and (max-width:599px) {
  #free #a-title {
    height: 80vh;
  }

  #free #a-title .free-title {
    margin: 20vh auto 40px;
    width: 90%;
  }

  #free #a-title .free-img {
    width: 90%;
  }

  #free #a-service .service-no {
    width: 25%;
    display: block;
    margin: 20px auto 20px;
  }

  #free #a-service .sec-service .textbox {
    width: 100%;
    margin-bottom: 90px;
  }

  #free #a-service .sec-service .textbox .title {
    font-size: 20px;
    margin-bottom: 10px;
    text-align: center;
  }

  #free #a-service .sec-service .service_img {
    width: 100%;
    margin: 0 auto 20px;
  }

  #free #a-service .sec-service:nth-child(1) .content {
    background: url("img/free/service01_icon.png") right 0px top 40% no-repeat;
    background-size: 40%;
  }

  #free #a-service .sec-service:nth-child(2) .content {
    background: url("img/free/service02_icon.png") right 0px top 40% no-repeat;
    background-size: 40%;
  }

  #free #a-service .sec-service:nth-child(3) .content {
    background: url("img/free/service03_icon.png") right 0px top 40% no-repeat;
    background-size: 40%;
  }

  #free #a-service .sec-service:nth-child(4) .content {
    background: url("img/free/service04_icon.png") right 0px top 40% no-repeat;
    background-size: 40%;
  }

  #free #a-service .sec-service:nth-child(5) .content {
    background: url("img/free/service05_icon.png") right 0px top 40% no-repeat;
    background-size: 40%;
  }

  #free #a-company .free-bg-top {
    background: url("img/free/company_bg_top_sp.svg") no-repeat center bottom;
    background-size: contain;
  }

  #free #a-company .free-bg-middle {
    background: url("img/free/company_bg_middle_sp.svg") repeat-y center;
    background-size: contain;
    padding: 20px 20px 40px;
  }

  #free #a-company .free-bg-bottom {
    background: url("img/free/company_bg_bottom_sp.svg") no-repeat center top;
    background-size: contain;
    height: 60px;
  }

  #free #a-company .sec-title {
    margin: 0 auto;
  }

  #free #a-company .company-no {
    width: 30%;
    display: block;
    margin: 0 auto 20px;
  }

  #free #a-company .sec-research-list .list-title {
    font-size: 22px;
  }

  #free #a-company .sec-research-list .company-img {
    margin: 20px auto 0;
  }

  #free #a-company .sec-research-list .flex {
    margin-bottom: 40px;
  }
}

/* simulation */
#simulation #a-simulation {
  padding: 100px 0;
}

#simulation #a-simulation .sec-img {
  display: block;
  margin: 0 auto 40px;
}

#simulation #a-simulation .sec-simulation-main {
  padding: 60px 0;
}

#simulation #a-simulation .sec-simulation-main .content .baloon {
  border: #FCE2CB solid 8px;
  padding: 60px;
  text-align: center;
  margin-bottom: 60px;
  position: relative;
}

#simulation #a-simulation .sec-simulation-main .content .baloon::before {
  content: "";
  position: absolute;
  bottom: -92px;
  left: 50%;
  transform: translate(-50%, 0);
  border: 45px solid transparent;
  border-top: 55px solid #fff;
  z-index: 2;
}

#simulation #a-simulation .sec-simulation-main .content .baloon::after {
  content: "";
  position: absolute;
  bottom: -108px;
  left: 50%;
  transform: translate(-50%, 0);
  border: 45px solid transparent;
  border-top: 55px solid #FCE2CB;
  z-index: 1;
}

#simulation #a-simulation .sec-simulation-main .simulation-subject {
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 40px;
}

#simulation #a-simulation .sec-simulation-main .simulation-icon {
  margin: 0 auto 60px;
}

#simulation #a-simulation .sec-simulation-main .simulation-list {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
}

#simulation #a-simulation .sec-simulation-main .simulation-list li {
  width: 48%;
  text-align: left;
  align-items: stretch;
}

#simulation #a-simulation .sec-simulation-main .simulation-list li img {
  width: 200px;
}

#simulation #a-simulation .sec-simulation-main .simulation-list li .textbox {
  background: #F3F1ED;
  padding: 15px;
}

#simulation #a-simulation .sec-simulation-main .simulation-list li .textbox .list-title {
  font-size: 21px;
  font-weight: bold;
  margin-bottom: 10px;
}

#simulation #a-simulation .sec-example .example-list li {
  margin: 0 auto 80px;
  text-align: center;
}

#simulation #a-simulation .sec-example .example-list .example-title {
  color: #fff;
  font-size: 32px;
  font-weight: bold;
  padding: 10px;
}

#simulation #a-simulation .sec-example .example-list li:nth-child(odd) .example-title,
#simulation #a-simulation .sec-example .example-list li:nth-child(odd) .price-table .total-th {
  background: #F9C300;
}

#simulation #a-simulation .sec-example .example-list li:nth-child(even) .example-title,
#simulation #a-simulation .sec-example .example-list li:nth-child(even) .price-table .total-th {
  background: #9DC46F;
}

#simulation #a-simulation .sec-example .example-list .flex {
  gap: 40px;
  padding: 60px;
  align-items: flex-end;
}

#simulation #a-simulation .sec-example .example-list .flex .textbox {
  text-align: left;
}

#simulation #a-simulation .sec-example .example-list .flex .textbox .example-subject {
  font-size: 25px;
  font-weight: bold;
  margin-bottom: 10px;
}

#simulation #a-simulation .sec-example .example-list .flex .textbox .example-text {
  margin-bottom: 40px;
}

#simulation #a-simulation .sec-example .example-list .price-table {
  display: flex;
  flex-wrap: wrap;
}

#simulation #a-simulation .sec-example .example-list .price-table .cell-th {
  background: #F4F2EE;
  border: #DFDFDF 2px solid;
  font-weight: bold;
  margin: -2px 0 0 -2px;
  padding: 13px;
  width: calc(26% + 1px);
}

#simulation #a-simulation .sec-example .example-list .price-table .cell-td {
  border: #DFDFDF 2px solid;
  margin: -2px 0 0 -2px;
  padding: 13px;
  width: calc(24% + 1px);
}

#simulation #a-simulation .sec-example .example-list .price-table .cell-th-blank {
  width: calc(26% + 1px)
}

#simulation #a-simulation .sec-example .example-list .price-table .cell-td-blank {
  width: calc(24% + 1px)
}

#simulation #a-simulation .sec-example .example-list .price-table .total-th {
  background: #F9C300;
  border: #DFDFDF 2px solid;
  color: #fff;
  font-weight: bold;
  margin: -2px 0 0 -2px;
  padding: 13px;
  width: calc(26% + 1px);
}

#simulation #a-simulation .sec-example .example-list .price-table .total-td {
  border: #DFDFDF 2px solid;
  color: #C00D23;
  margin: -2px 0 0 -2px;
  padding: 10px;
  width: calc(24% + 1px);
}

#simulation #a-simulation .sec-example .example-list .price-table .total-td .total-price {
  font-family: 'din1451alt';
  font-size: 32px;
  font-weight: bold;
  letter-spacing: 0.1rem;
  line-height: 1;
  vertical-align: bottom;
}

#simulation #a-simulation .sec-example .example-list .caution {
  font-size: 12px;
  text-align: right;
}

@media only screen and (min-width:600px) {
  #simulation #a-simulation .sec-example .example-list .price-table .cell-th:nth-of-type(4n+1) {
    margin-left: 2px;
  }
}

@media only screen and (max-width:599px) {
  #simulation #a-simulation .sec-title {
    width: 100%;
  }

  #simulation #a-simulation .sec-img {
    width: 70%;
  }

  #simulation #a-simulation .sec-simulation-main .content .baloon {
    padding: 20px 20px 40px;
  }

  #simulation #a-simulation .sec-simulation-main .content .simulation-icon {
    width: 70%;
    margin: 0 auto;
    display: block;
  }

  #simulation #a-simulation .sec-simulation-main .simulation-subject {
    font-size: 20px;
  }

  #simulation #a-simulation .sec-simulation-main .simulation-list li {
    width: 100%;
  }

  #simulation #a-simulation .sec-simulation-main .simulation-list li .textbox .list-title {
    font-size: 16px;
  }

  #simulation #a-simulation .sec-example .example-list .flex {
    padding: 20px 0;
  }

  #simulation #a-simulation .sec-example .example-list .example-title {
    font-size: 20px;
  }

  #simulation #a-simulation .sec-example .example-list .flex .textbox .example-subject {
    font-size: 20px;
  }

  #simulation #a-simulation .sec-example .example-list .price-table .cell-th {
    width: 50%;
  }

  #simulation #a-simulation .sec-example .example-list .price-table .cell-td {
    width: 50%;
  }

  #simulation #a-simulation .sec-example .example-list .price-table .cell-th-blank {
    display: none;
  }

  #simulation #a-simulation .sec-example .example-list .price-table .cell-td-blank {
    display: none;
  }

  #simulation #a-simulation .sec-example .example-list .price-table .total-th {
    width: 50%;
  }

  #simulation #a-simulation .sec-example .example-list .price-table .total-td {
    width: 50%;
  }
}

/* company */
#company #p-company {
  padding-bottom: 160px;
}

#company .company-block {
  display: flex;
  flex-wrap: wrap;
}

#company .company-block .profile-th {
  background: #E9E9E9;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  margin-bottom: 5px;
  padding: 10px;
  text-align: center;
  width: 40%;
  vertical-align: middle;
}

#company .company-block .profile-td {
  padding: 10px 20px;
  margin-bottom: 5px;
  text-align: left;
  width: 60%;
}

#company #p-sitemap {
  background: #F5F5F5;
}

#company #p-sitemap .flex .sitemap-block {
  font-weight: bold;
}

#company #p-sitemap .flex .sitemap-block a {
  color: inherit;
  text-decoration: none;
}

#company #p-sitemap .flex .sitemap-block a:hover {
  color: #008DD0;
}


#company #p-privacy {
  padding: 140px 0 60px;
}

#company #p-privacy .title-ja {
  margin-bottom: 60px;
}

#company #p-privacy .font-bold {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 30px;
}

#company #p-privacy .font-blue {
  color: #008DD0;
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 30px;
}

#company #p-privacy .text {
  margin-bottom: 30px;
}

@media only screen and (min-width:1024px) {
  #company #p-privacy .content {
    width: 1000px;
  }
}

@media only screen and (min-width:600px) {
  #company .flex {
    align-items: stretch;
  }

  #company .company-block {
    width: 50%;
  }

  #company #p-sitemap {
    padding: 110px;
  }

  #company #p-sitemap .flex {
    gap: 60px;
    margin: 40px auto 0;
    width: 70%;
  }

  #company #p-sitemap .flex .sitemap-block {
    width: 50%;
    font-size: 18px;
  }
}

@media only screen and (max-width:599px) {
  #company #p-sitemap {
    padding: 50px 35px;
  }

  #company #p-sitemap .flex {
    margin: 40px 0 0;
  }

  #company #p-privacy {
    padding: 60px 0;
  }
}

/* works */
.works-title {
  padding: 110px 0 0;
}

.bg-top {
  background: url("img/works/works_list_bg_top.png") bottom center / contain no-repeat;
  padding-bottom: 60px;
}

.bg-middle {
  background: url("img/works/works_list_bg_middle.png") top center / contain repeat-y;
  padding-bottom: 60px;
}

.bg-bottom {
  background: url("img/works/works_list_bg_bottom.png") top center / contain no-repeat;
  height: 120px;
}

#a-works-list .post-list {
  padding: 0 50px 40px;
}

#a-works-post .works-title .sec-title {
  margin: 0 auto;
}

#a-works-post .content {
  text-align: center;
}

#a-works-post .post-title {
  color: #0095D8;
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 40px;
}

#a-works-post .post-content {
  margin: 0 auto 40px;
  text-align: left;
  width: 50%;
}

#a-works-post .point-list {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-bottom: 70px;
}

#a-works-post .point-list li {
  border: #8D8D8D solid 2px;
  border-radius: 5px;
  color: #8D8D8D;
  font-size: 18px;
  font-weight: bold;
  padding: 5px 30px;
  ;
  text-align: center;
}

#a-works-post .flex {
  width: 90%;
  margin: 0 auto;
}

#a-works-post .slider-box {
  width: 49%;
  margin-bottom: 120px;
}

#a-works-post .slider-box .before-slider-title {
  background: #B3B3B3;
  color: #fff;
  font-size: 24px;
  font-weight: bold;
  padding: 5px;
  text-align: center;
  width: 100%;
}

#a-works-post .slider-box .after-slider-title {
  background: #0095D8;
  color: #fff;
  font-size: 24px;
  font-weight: bold;
  padding: 5px;
  text-align: center;
  width: 100%;
}

#a-works-post .slider-box .slick-slide {
  height: 360px;
}

#a-works-post .slider-box .slick-slide img {
  max-height: 100%;
  margin: 0 auto;
}

#a-works-post .slider-box .thumb-slider {
  width: 100%;
  padding: 0 30px;
}

#a-works-post .slider-box .thumb-slider .slick-slide {
  margin: 4px 2px;
  max-height: 60px;
}

#a-works-post .slider-box .thumb-slider .slick-slide img {
  max-height: 100%;
  margin: 0 auto;
}

#a-works-post .slider-box .thumb-slider .slick-prev {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translate(0, -50%);
}

#a-works-post .slider-box .thumb-slider .slick-next {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translate(0, -50%);
}

#a-works-post .slider-box .thumb-slider .slick-prev::before {
  content: '\f137';
  color: #0095D8;
  display: inline-block;
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  opacity: 1;
}

#a-works-post .slider-box .thumb-slider .slick-next::before {
  content: '\f138';
  color: #0095D8;
  display: inline-block;
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  opacity: 1;
}

@media only screen and (max-width:599px) {
  .bg-top {
    background: url("img/works/works_bg_top_sp.svg") bottom center / contain no-repeat;
    padding-bottom: 0;
  }

  .bg-middle {
    background: url("img/works/works_bg_middle_sp.svg") top center / contain repeat-y;
    padding: 20px 15px 60px;
  }

  .bg-bottom {
    background: url("img/works/works_bg_bottom_sp.svg") top center / contain no-repeat;
    height: 120px;
  }

  #a-works-list .sec-text {
    margin: 0 auto 20px;
  }

  #a-works-list .sec-title-img,
  #a-works-post .sec-title-img {
    display: block;
    margin: 0 auto 20px;
    width: 50%;
  }

  #a-works-list .post-list {
    padding: 0 20px;
  }

  #a-works-post .post-title {
    font-size: 22px;
  }

  #a-works-post .post-content {
    width: 100%;
  }

  #a-works-post .point-list {
    gap: 10px;
  }

  #a-works-post .point-list li {
    font-size: 16px;
    padding: 5px 15px;
  }

  #a-works-post .slider-box {
    width: 100%;
    margin-bottom: 60px;
  }

  #a-works-post .slider-box .slick-slide {
    height: 210px;
  }

  #a-works-post .slider-box .before-slider-title,
  #a-works-post .slider-box .after-slider-title {
    font-size: 20px;
    padding: 0;
  }
}

/* contact */
#a-contact {
  padding: 100px 0;
}

#a-contact .flow-img {
  display: block;
  margin: 40px auto 100px;
}

#a-contact .flow-img-input,
#a-contact .flow-img-confirm {
  margin: 0 auto 80px;
}

#a-contact .flex-table {
  display: block;
  margin: 0 auto;
  max-width: 930px;
}

#a-contact .flex-table .tr .th {
  background: #EEEEEE;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  text-align: center;
  width: 40%;
  padding: 20px 60px 20px 20px;
  margin-bottom: 10px;
  position: relative;
  flex-direction: column;
}
#a-contact .flex-table .tr .th small{
  font-size: 0.7rem;
}
#a-contact .flex-table .tr .th .require {
  background: #008CCF;
  border-radius: 5px;
  color: #fff;
  font-size: 14px;
  font-weight: bold;
  padding: 3px 15px;
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translate(0, -50%);
}

#a-contact .flex-table .tr .td {
  display: flex;
  align-items: center;
  width: 60%;
  margin-bottom: 10px;
  flex-wrap: wrap;
  gap: 0 10px;
}

#a-contact .flex-table .tr .td input[type="text"],
#contact #a-contact .flex-table .tr .td input[type="email"],
#contact #a-contact .flex-table .tr .td textarea {
  background: #EEE;
  padding: 15px;
  width: 100%;
}

#a-contact .mw_wp_form .horizontal-item+.horizontal-item {
  margin: 0;
}

#a-contact .flex-table .tr .td select {
  border: #1A1A1A 1px solid;
  padding: 15px;
}

#a-contact .btn-box {
  text-align: center;
  margin-top: 70px;
}

#a-contact .btn-box .contact-btn {
  background: #009ADF;
  border-radius: 100vh;
  color: #fff;
  font-size: 18px;
  font-weight: bold;
  display: inline-block;
  letter-spacing: .1rem;
  text-align: center;
  box-shadow: 5px 5px 0px #8CCEE8;
  margin-bottom: 10px;
  padding: 15px 60px;
  line-height: 30px;
}

#a-contact .btn-box .contact-btn i {
  font-family: "Font Awesome 5 Free";
  font-size: 22px;
  font-weight: 900;
  margin-right: 20px;
}

#a-contact .btn-box .contact-btn:hover {
  transform: translate(5px, 5px);
  box-shadow: none;
}

#thanks #a-contact .content {
  text-align: center;
}

#a-contact .message {
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 40px;
}

#a-contact .message-text {
  margin-bottom: 80px;
}

@media only screen and (min-width:600px) {
  #a-contact .flex-table .tr {
    display: flex;
    align-items: stretch;
    gap: 20px;
  }
}

@media only screen and (max-width:599px) {
  #a-contact .contact-title .sec-title {
    width: 100%;
    margin: 0 auto 20px;
  }

  #a-contact .flex-table {
    width: 100%;
  }

  #a-contact .flex-table .tr {
    display: block;
  }

  #a-contact .flex-table .tr .th {
    width: 100%;
  }

  #a-contact .flex-table .tr .td {
    width: 100%;
    margin-bottom: 20px;
  }
}

#paging {
  text-align: center;
  padding-bottom: 40px;
}

#paging .wp-pagenavi a,
#paging .wp-pagenavi span {
  border: #0090d9 2px solid;
  color: #0090d9;
  display: inline-block;
  text-align: center;
  min-width: 40px;
  padding: 10px;
  box-sizing: border-box;
}

#paging .wp-pagenavi span.current {
  color: #ffffff;
  background: #0090d9;
}

#a-works-list .works-cat {
  display: inline-block;
  background: #FFD400;
  font-size: 80%;
  padding: 3px 12px;
  border-radius: 5px;
}

#a-works-list .works-area {
  display: inline-block;
  background: #E9340B;
  font-size: 80%;
  padding: 3px 12px;
  border-radius: 5px;
  color: #fff;
}

#a-works-list .post-list {
  gap: 40px;
}

#a-works-list .post-list li .post-img img {
  aspect-ratio: 3 / 4;
}

.works-tablist {
  padding: 10px 50px 40px;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.works-tablist li {
  width: calc((100% - 60px) / 4);
}

#index .works-tablist li {
  width: calc((100% - 20px) / 2);
}

.works-tablist li a {
  text-decoration: none;
  border: 3px solid #DFDFDF;
  color: #0090d9;
  font-size: 120%;
  text-align: center;
  padding: 5px 10px;
  display: block;
}

#index .works-tablist li a {
  padding: 8px 10px;
}

@media only screen and (max-width:991px) {
  .works-tablist {
    gap: 10px;
  }

  .works-tablist li {
    width: calc((100% - 20px) / 2);
  }

  #index .works-tablist li {
    width: 100%;
  }

  #index .works-tablist {
    padding: 10px 0 20px;
  }

  #index .works-tablist li a {
    font-size: 100%;
  }

  #a-works-list .post-list {
    flex-direction: column;
  }

  #a-works-list .post-list li {
    flex-direction: column;
    margin-bottom: 40px;
  }

  #a-works-list .post-list .post-img {
    width: 100%;
    aspect-ratio: 4 / 3;
  }
}

@media only screen and (max-width:767px) {
  .works-tablist li {
    width: 100%;
  }
}

.home #news {
  padding: 40px 0;
  background: #E8F5FA;
}

.home #news .title-en {
  font-size: 2rem;
}

.home #news .content {
  display: flex;
  align-items: center;
}

.home #news .post-thumbnail img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
  overflow: hidden;
  object-position: center;
}

.home #news .news__title {
  position: relative;
  width: 20%;
  top: auto;
  left: auto;
  margin: 0;
  padding: 0;
  text-align: center;
}

.home #news .news__title span {
  background-color: #0689CC;
  font-size: 0.7rem;
  font-weight: 700;
  color: #fff;
  border-radius: 10px;
  padding: 5px 15px;
}

.home #news ul {
  border-left: 1px solid #cccccc;
  padding-left: 40px;
  flex: 1;
  display: flex;
  gap: 15px;
}

.home #news ul li {
  width: calc((100% - 30px) / 3);
}

.home #news ul li a {
  display: flex;
  align-items: start;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
  gap: 0;
}

ul.post-list li {
  margin-bottom: 10px;
}

ul.post-list li a .post-thumbnail {
  width: 100%;
}

ul.post-list li a .post-thumbnail img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  overflow: hidden;
  object-position: center;
}

.home #news ul li a .post_date {
  color: #8D8D8D;
  font-family: 'Poppins', sans-serif;
  font-size: 0.8rem;
}

.home #news ul li a .post_title {}

@media only screen and (max-width:767px) {
  .home #news {
    padding: 20px 0;
  }
  .home #news .content{
    flex-direction: column;
    gap: 20px;
  }
  .home #news .title-en{
    line-height: 1.2;
  }
  .home #news .news__title {
    width: auto;
    padding-right: 10px;
  }

  .home #news .news__title span {
    display: none;
  }

  .home #news ul {
    border-left: none;
    padding: 0;
    gap: 8px;
  }

  .home #news ul li {
    width: calc((100% - 16px) / 3);
  }

  .home #news ul li a {
    flex-direction: column;
    gap: 0;
    align-items: start;
  }

  .home #news ul li a .post_date {
    font-size: 0.75rem;
  }

  .home #news ul li a .post_title {
    font-size: 0.75rem;
    line-height: 1.4;
  }
}
.home #works {
  padding: 20px 0;
}
.home #works .post-list .post-img img{
  aspect-ratio: 2 / 3;
  overflow: hidden;
  object-fit: cover;
}
#index.blog .post-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

#index.blog .post-list li {
  width: calc((100% - 20px) / 3);
  margin-bottom: 20px;
  margin: 0;
  position: relative;
}

#index.blog .post-list li a {
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: 5px;
  color: inherit;
  text-decoration: none;
}

#index.blog .post-list li a .post_date {
  color: #8D8D8D;
  font-family: 'Poppins', sans-serif;
}

#index.blog .post-list li a .post_title {
  line-height: 1.4;
}

@media only screen and (max-width:767px) {
  #index.blog .post-list {
    gap: 20px 10px;
  }

  #index.blog .post-list li {
    width: calc((100% - 10px) / 2);
  }
}
#index #banner .video-container {

    width: 100%;          /* 横幅いっぱいに広がる */
    max-width: 800px;     /* 最大幅を800pxに制限 */
    margin: 20px auto 0;       /* 中央寄せ（必要に応じて） */
  }

  #index #banner .video-container iframe {
    width: 100%;          /* コンテナの幅に合わせる */
    height: auto;         /* 高さを自動調整 */
    aspect-ratio: 16 / 9; /* YouTubeの標準的な比率を維持 */
  }

#index #page-link{
  padding: 60px 0;
}
#index #page-link ul{
  display: flex;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
  margin: 0 auto;
} 
#index #page-link ul li{
  width: calc((100% - 180px) / 4);
  position: relative;
}
#index #page-link ul li a:not(:has(.click-guide)){
  text-decoration: none;
  color: #000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
#index #page-link ul li h3{
  margin: 0;
  font-size: 1.2rem;
}
/* 誘導ボタンの absolute 配置設定 */
.click-guide {
            position: absolute;
            /* 配置場所の調整（例：右から20px、下から20px） */
            left: -100%;
            top: 50%;
            
            cursor: pointer;
            /* アニメーションの呼び出し */
            animation: piku-right 1.2s ease-in-out infinite;
        }

.click-guide img {
            display: block;
            width: 120px; /* サイズは適宜調整してください */
            height: auto;
        }

        /* ぴくぴく動くアニメーション（右方向） */
        @keyframes piku-right {
            0%, 40%, 100% {
                transform: translateX(0);
            }
            10% {
                transform: translateX(6px); /* 1回目の跳ね */
            }
            20% {
                transform: translateX(0);
            }
            30% {
                transform: translateX(4px); /* 2回目の小さな跳ね */
            }
        }

        /* ホバー時に動きを止める（ユーザーにクリックしやすくする親切設計） */
        .click-guide:hover {
            animation-play-state: paused;
        }
@media screen and (max-width: 768px) {
  #index #page-link ul{
    gap: 40px;
  }
  #index #page-link ul li{
    width: 80%;
  }
  #index #page-link ul li a {
    height: auto;
  }
}
.single #single h2 {
  width: 100%;
  display: block;
  position: relative;
  margin: 0 auto 40px;
  font-size: 2.0rem;
  font-weight: bold;
  color: #0087CD;
}

.single #single .post_date {
  font-size: 1.0rem;
  font-weight: 400;
  color: #8D8D8D;
  font-family: 'Poppins', sans-serif;
  margin-bottom: 40px;
}

.single #single .post-content {
  width: 80%;
  margin: 0 auto 60px;
}

.single #single .page_navi {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.single #single .page_navi>div {
  width: 220px;
}

.single #single .page_navi a {
  text-decoration: none;
  color: #fff;
  background: #0087CD;
  padding: 10px 20px;
  border-radius: 30px;
  display: block;
  text-align: center;
  position: relative;
}

.single #single .page_navi .prev a::before {
  content: "\f104";
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  position: absolute;
  top: 50%;
  left: 20px;
  transform: translate(0, -50%);
  color: #fff;
}

.single #single .page_navi .next a::after {
  content: "\f105";
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  position: absolute;
  top: 50%;
  right: 20px;
  transform: translate(0, -50%);
  color: #fff;
}

@media only screen and (max-width:767px) {
  .single #single h2 {
    font-size: 1.2rem;
  }

  .single #single .post_date {
    font-size: 0.8rem;
  }

  .single #single .post-content {
    width: 100%;
  }

  .single #single .page_navi {
    gap: 10px;
  }

  .single #single .page_navi>div {
    width: calc((100% - 20px) / 3);
  }

  .single #single .page_navi a {
    width: 100%;
    padding: 8px 10px;
    font-size: 0.8rem;
  }

  .single #single .page_navi .prev a::before {
    left: 10px;
  }

  .single #single .page_navi .next a::after {
    right: 10px;
  }
}

.kodomokoumuten {
  padding: 40px 0;
}

.kodomokoumuten::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  height: 0;
  background: #E8F5FA;
  border-bottom: 17vw solid #fff;
  border-right: 100vw solid transparent;
}

.kodomokoumuten a {
  display: block;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  border: 1px solid #ccc;
  background: #fff;
}

#reason .reason-title {
  position: relative;
  padding-top: 40px;
  margin-bottom: 40px;
  text-align: left;
}

#reason .reason-title .reason-no {
  font-family: 'DIN1451Alt';
  font-size: 6rem;
  font-weight: bold;
  color: #F0F0F0;
  letter-spacing: .03em;
  position: absolute;
  bottom: 0;
  left: 0;
  line-height: 1;
  z-index: 1;
}

#reason .reason-title .reason-heading {
  font-size: 1.9rem;
  font-weight: bold;
  position: relative;
  z-index: 2;
  padding-left: 50px;
}
#reason .reason-title .reason-heading span.marker {
  background: linear-gradient(transparent 70%, #FFE72E 70%);
  padding: 0 5px;
  font-weight: 700;
  font-size: 110%;
}
#reason .reason-flex {
  display: flex;
  align-items: start;
  gap: 40px;
  margin-bottom: 60px;
}

#reason .reason-flex .reason-img {
  width: 40%;
}

#reason .reason-flex .reason-text {
  flex: 1;
  text-align: left;
}

#reason .marker {
  background: linear-gradient(transparent 70%, #FFE72E 70%);
  padding: 0 5px;
  font-weight: 500;
}

#reason .contact-cta {
  background: #E8F5FA;
}

@media only screen and (max-width:767px) {
  #reason .reason-flex {
    flex-direction: column;
    gap: 20px;
  }

  #reason .reason-title .reason-heading {
    font-size: 1.4rem;
    line-height: 1.4;
  }

  #reason .reason-title .reason-no {
    font-size: 4rem;
  }

  #reason .reason-flex .reason-img {
    width: 100%;
  }

  #reason .reason-flex .reason-text {
    flex: 1;
  }

  #reason .reason-flex {
    margin-bottom: 20px;
  }
}

#a-flow .contact-cta {
  background-color: #E8F5FA;
}

.wp-singular .post-content input,
.wp-singular .post-content label {
  width: 100%;
}

.wp-singular .post-content input,
.wp-singular .post-content textarea {
  background: #eee;
  line-height: 1.8;
  padding: 5px 10px;
  width: 100%;
  max-width: 500px;
  max-height: 200px;
}

.wp-singular .post-content input[type="submit"] {
  max-width: 300px;
  background: #fff;
  border: 1px solid #008DD0;
  color: #008DD0;
  margin-top: 20px;
}

.wp-singular .post-content .wpcf7 {
  margin-top: 40px;
}