/*
Theme Name: ただソレ株式会社
Description: ただソレ株式会社の公式HP
Author: shuto
*/
/*-------------------------基本情報-------------------------*/
*{
  font-family: "UD デジタル 教科書体 N-R", "BIZ UDゴシック Regular", "Hiragino Kaku Gothic ProN", "ascii", sans-serif;
  box-sizing: border-box;
}
html{
  background-color: #ffffff;
  scroll-behavior: smooth;
}
.main{
  width: 100%;
  overflow: hidden;
}
h1{
  font-size: 24px;
}
h2{
  font-size: 22px;
}
h3{
  font-size: 20px;
}
h4{
  font-size: 18px;
}
h5{
  font-size: 16px;
}
h6{
  font-size: 16px;
}
p{
  font-size: 16px;
}
li{
  list-style: none;
}
@media screen and (max-width:830px){
  h1{
    font-size: 22px;
  }
  h2{
    font-size: 20px;
  }
  h3{
    font-size: 18px;
  }
  h4{
    font-size: 16px;
  }
}
@media screen and (max-width:550px){
  h1{
    font-size: 20px;
  }
  h2{
    font-size: 16px;
  }
  h3{
    font-size: 16px;
  }
}
/*-------------------------共通-------------------------*/
.green-back{
  background-color: rgb(37, 104, 113);
}
.relative{
  position: relative;
}
.absolute{
  position: absolute;
}
.flex{
  display: flex;
}
.center{
  text-align: center!important;
}
.left{
  text-align: left!important;
}
.right{
  text-align: right!important;
}
.bold{
  font-weight: bold;
}
.m-b30{
  margin-bottom: 30px!important;
}
.sp{
  display: none!important;
}
@media screen and (max-width: 700px){
  .sp{
    display: block!important;
  }
  .pc{
    display: none!important;
  }
}
/*-------------------------リンク関係-------------------------*/
a{
  text-decoration: none;
  color: #000000;
}
a:link{color: #000000;}
a:visited{color: #000000;}
a:hover{
  color: rgba(0, 0, 0, 0.8);
  text-decoration: none;
  -webkit-transition: 0.3s ease-in-out;
  -moz-transition: 0.3s ease-in-out;
  transition: 0.3s ease-in-out;
}
/*-------------------------ヘッダー-------------------------*/
header{
  background-color: rgb(37, 104, 113);
  position: fixed;
  z-index: 9999;
  width: 100%;
  height: 100px;
  top: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.header-logo img{
  height: 50px;
  margin-left: 70px;
}
.header-right{
  display: flex;
  align-items: center;
  justify-content: flex-end;
  width: 100%;
  margin-right: 100px;
}
.home .header-sns{
  display: none;
}
@media screen and (max-width:800px){
  header{
    height: 80px;
  }
}
@media screen and (max-width:500px){
  .header-logo img{
    margin-left: 20px;
    height: 30px;
  }
}
/*-------------------------sns-------------------------*/
.header-sns{
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-right: 50px;
}
.header-sns img{
  height: 50px;
}
.header-sns a{
  text-decoration: none;
}
.sns-logo:not(:last-child){
  margin-right: 50px;
}
@media screen and (max-width:1000px){
  .header-sns{
    display: none;
  }
}
/*-------------------------ハンバーガー-------------------------*/
.hamburger{
  position: fixed;
  z-index: 9999;
  right: 0%;
  top: 0;
  width: 100px;
  height: 100px;
  background-color: rgb(37, 104, 113);
  cursor: pointer;
}
.hamburger span{
  display: block;
  position: absolute;
  width: 50px;
  height: 2px;
  left: 25px;
  background: rgb(255, 255, 255);
  -webkit-transition: 0.3s ease-in-out;
  -moz-transition: 0.3s ease-in-out;
  transition: 0.3s ease-in-out;
}
.hamburger span:nth-child(1){
  top: 38px;
}
.hamburger span:nth-child(2){
  top: 50px;
}
.hamburger span:nth-child(3){
  top: 62px;
}
/* ナビ開いてる時のボタン */
.hamburger.active span:nth-child(1){
  top: 50px;
  left: 25px;
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  transform: rotate(-45deg);
}
.hamburger.active span:nth-child(2),
.hamburger.active span:nth-child(3){
  top: 50px;
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  transform: rotate(45deg);
}
nav.globalMenuSp{
  position: fixed;
  overflow: auto;
  z-index: 100;
  top: 0;
  left: 0;
  color: rgb(37, 104, 113);
  background: rgba(0,0,0,0.7);
  text-align: center;
  width: 100%;
  height: 100%;
  display: none;
}
nav.globalMenuSp ul li{
  transition: .4s all;
}
nav.globalMenuSp ul li:last-child{
  padding-bottom: 0;
}
nav.globalMenuSp ul li:hover{
  background: rgb(37, 104, 113);
}
nav.globalMenuSp ul li a{
  display: block;
  color: #fff;
  padding: 2em 0;
  text-decoration :none;
}
@media screen and (max-width:800px){
  .hamburger{
    width: 80px;
    height: 80px;
  }
  .hamburger span{
    left: 15px;
  }
  .hamburger span:nth-child(1){
    top: 27px;
  }
  .hamburger span:nth-child(2){
    top: 39px;
  }
  .hamburger span:nth-child(3){
    top: 51px;
  }
  .hamburger.active span:nth-child(1){
    top: 40px;
    left: 15px;
  }
  /* ナビ開いてる時のボタン */
  .hamburger.active span:nth-child(2),
  .hamburger.active span:nth-child(3){
    top: 40px;
  }
}

/*-------------------------top-------------------------*/
.top{
  width: 90%;
  margin: 100px auto 50px;
  border-radius: 30px;
}
.top img{
  width: 100%;
}
.top-title-img img{
  height: 70px;
}
.link-flex{
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  margin: 50px auto;
  width: 90%;
  max-width: 1000px;
}
.link-flex div{
  width: 23%;
}
.link-flex img{
  width: 100%;
}
@media screen and (max-width:700px){
  .top-title-img img{
    height: 50px;
  }
  .link-flex{
    margin: 20px auto 50px;
  }
  .link-flex div{
    width: 43%;
  }
}
@media screen and (max-width:500px){
  .top-title-img img{
    height: 35px;
  }
}

/*-------------------------経営理念-------------------------*/
.philosophy{
  width: 90%;
  max-width: 1000px;
  margin: 60px auto;
  text-align: center;
}
.philosophy p{
  line-height: 1.5;
  margin-bottom: 10px;
  color: #fff;
  font-size: 22px;
}
@media screen and (max-width:700px){
  .philosophy{
    margin: 40px auto;
  }
  .philosophy p{
    font-size: 18px;
  }
}
@media screen and (max-width:500px){
  .philosophy{
    margin: 20px auto 40px;
  }
  .philosophy p{
    font-size: 16px;
  }
}
.top-subtitle{
  font-size: 20px;
  width: 90%;
  max-width: 1000px;
  margin: 0 auto 30px;
  color: #fff;
  border-left: solid 3px #DA8F11;
  padding-left: 10px;
}
.top-flex{
  width: 90%;
  max-width: 1000px;
  margin: 0 auto 40px;
  padding: 0 1em;
  border-bottom: 1px solid #fff;
}
.top-flex p{
  font-size: 18px;
  line-height: 1.5;
  color: #fff;
}
.yellow{
  color: #DA8F11;
  font-size: 24px;
}
.top-left{
  margin-bottom: 1em;
}
.top-right{
  padding-left: 1em;
}
@media screen and (max-width:700px){
  .top-subtitle{
    font-size: 18px;
  }
  .top-flex p{
    font-size: 16px;
  }
  .yellow{
    font-size: 20px;
  }
}
@media screen and (max-width:500px){
  .top-right{
    padding-left: 0;
  }
}

/*-------------------------インフォメーション-------------------------*/
.information{
  width: 90%;
  max-width: 1000px;
  margin: auto;
}
.information-title img{
  height: 40px;
}
.information-flex{
  margin-bottom: 100px;
  display: flex;
  align-items: center;
}
.information-left{
  width: 60%;
  padding-left: 10%;
  line-height: 1.5;
}
.information-left p{
  font-size: 18px;
  color: rgb(255, 255, 255);
}
.information-left p:not(:first-child){
  font-weight: bold;
}
.information-right{
  width: 40%;
}
.information-right img{
  width: 100%;
}
@media screen and (max-width:700px){
  .information-flex{
    flex-direction: column;
    margin: 20px auto;
  }
  .information-left,.information-right{
    width: 100%;
  }
}
@media screen and (max-width:500px){
  .information-title img{
    height: 25px;
  }
  .information-left{
    padding-left: 10px;
    margin-bottom: 20px;
  }
  .information-left p{
    font-size: 16px;
    font-weight: normal;
  }
}

/*-------------------------フッター-------------------------*/
footer{
  background-color: rgb(37, 104, 113);
}
.footer-nav{
  padding: 40px;
  border-top: solid 1px rgb(255, 255, 255);
  border-bottom: solid 1px rgb(255, 255, 255);
}
.footer-flex{
  width: 90%;
  margin: 30px auto;
  line-height: 2;
  display: flex;
  justify-content: space-between;
}
.footer-flex a{
  flex-basis: 20%;
  border-bottom: 1px solid rgb(255, 255, 255);
}
.nav-none{
  border-bottom: 1px solid rgba(255, 255, 255, 0)!important;
}
.footer-flex p{
  position: relative;
  color: #fff;
}
.footer-flex p::after{
  content: '';
  position: absolute;
  top: 42%;
  right: 20px;
  width: 5px;
  height: 5px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  transform: rotate(45deg);
  transition: all .3s;
}
.footer-flex p:hover::after{
  right: 15px;
}
@media screen and (max-width:1300px){
  .footer-flex{
    flex-direction: column;
    margin: auto;
    text-align: center;
    width: 70%;
  }
  .footer-flex a{
    margin: 10px 0;
    padding-top: 10px;
  }
  .nav-none{
    display: none;
  }
}
@media screen and (max-width:600px){
  .footer-flex{
    width: 90%;
  }
}
.f-bottom{
  line-height: 30px;
  font-size: 12px;
  text-align: center;
  color: rgb(255, 255, 255);
}

/*-------------------------下層-------------------------*/
.sub-page{
  margin: 90px auto 0!important;
  background-color: rgb(37, 104, 113);
}
.sub-page .philosophy p{
  color: #000;
  font-weight: bold;
}
.sub-page .philosophy br{
  display: none;
}
.kokoiro-back .philosophy p{
  color: #fff;
}
@media screen and (max-width:800px){
  .sub-page{
    margin: 70px auto 0!important;
  }
  .sub-page .philosophy br{
    display: block;
  }
  .sub-page .philosophy p{
    margin-bottom: 0;
  }
}
@media screen and (max-width:500px){
  .sub-page .philosophy {
    margin: 20px auto 20px;
  }
}
.sub-top img{
  width: 100%;
  vertical-align: middle;
}
.kaigo-back{
  background-color: #F8B62B;
  position: relative;
  padding: 60px 0 400px 0;
}
.kango-back{
  background-color: #F2AACA;
  position: relative;
  padding: 60px 0 400px 0;
}
.kokoiro-back{
  background-color: #8B000D;
  position: relative;
  padding: 60px 0 500px 0;
}
.genki-back{
  background-color: #DB5125;
  position: relative;
  padding: 60px 0 500px 0;
}
.service-detail{
  background-image: url(img/service-back.png);
  background-repeat: no-repeat;
  background-size: 100%;
  background-position: center;
  width: 90%;
  max-width: 1100px;
  margin: auto;
  padding: 120px 8%;
}
.brown{
  color: #804E21;
  font-size: 20px;
  line-height: 1.5;
  font-weight: bold;
}
.service-flex{
  display: flex;
  justify-content: space-around;
  margin-top: 50px;
}
.service-left{
  width: 50%;
  margin-top: 80px;
}
.service-list{
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
  line-height: 1.5;
}
.service-list p{
  color: #266870;
  font-size: 20px;
  font-weight: bold;
}
.service-list-left{
  width: 30%;
}
.service-list-right{
  width: 70%;
}
.service-right{
  width: 50%;
  text-align: center;
}
@media screen and (max-width:1150px){
  .service-detail{
    background-size: cover;
    width: 100%;
    padding: 80px 5% 120px;
  }
  .koko-detail{
    padding: 80px 10%;
  }
  .service-flex{
    flex-direction: column;
  }
  .service-left{
    width: 100%;
    margin-top: 0;
  }
  .service-list-left{
    width: 20%;
  }
  .service-list-right{
    width: 80%;
  }
  .service-list-right br{
    display: none;
  }
  .service-right{
    width: 100%;
    margin-top: 80px;
  }
  .koko-detail .service-right{
    display: none;
  }
}
@media screen and (max-width:700px){
  .koko-detail{
    padding: 60px 8%;
  }
}
@media screen and (max-width:600px){
  .kaigo-back{
    padding: 20px 0 150px;
  }
  .kango-back{
    padding: 20px 0 150px;
  }
  .kokoiro-back{
    padding: 20px 0 150px;
  }
  .genki-back{
    padding: 20px 0 150px;
  }
  .brown{
    font-size: 16px;
  }
  .service-list p{
    font-size: 16px;
  }
  .service-list-left{
    width: 35%;
  }
  .service-list-right{
    width: 65%;
  }
  .service-list-right br{
    display: block;
  }
  .service-right{
    margin-top: 40px;
  }
}
.flow-title{
  font-weight: bold;
  font-size: 22px;
  margin-bottom: 20px;
}
.flow-list{
  display: flex;
  align-items: center;
  background-color: #fff;
  border-radius: 30px;
  height: 60px;
  margin-bottom: 10px;
  position: relative;
}
.flow-list span{
  width: 80px;
  font-size: 24px;
  font-weight: bold;
  color: #fff;
  background-color: #F7B72B;
  border-radius: 30px 0px 0px 30px;
  line-height: 60px;
  position: absolute;
  left: 0;
}
.flow-list p{
  width: 100%;
  font-size: 20px;
  font-weight: bold;
}
.arrow{
  width: 100px;
  margin: 0 auto 10px;
}
.arrow img{
  width: 100%;
}
@media screen and (max-width:1150px){
  .flow-list{
    height: 80px;
  }
  .flow-list span{
    line-height: 80px;
  }
  .flow-list p{
    line-height: 1.5;
  }
}
@media screen and (max-width:600px){
  .flow-title{
    font-size: 18px;
  }
  .flow-list{
    height: 60px;
  }
  .flow-list span{
    width: 50px;
    font-size: 20px;
    line-height: 60px;
  }
  .flow-list p{
    font-size: 16px;
  }
}
.service-bottom{
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
}
.bottom-logo{
  position: absolute;
  bottom: 0;
  right: 0;
  width: 400px;
}
.bottom-logo2{
  position: absolute;
  bottom: 250px;
  right: 30%;
  width: 400px;
}
.service-bottom img,.bottom-logo img,.bottom-logo2 img{
  width: 100%;
  vertical-align: middle;
}
.pamphlet{
  width: 90%;
  margin: auto;
  margin-bottom: 40px;
  cursor: pointer;
}
.pamphlet img{
  width: 100%;
  margin-bottom: 10px;
}
@media screen and (max-width:1150px){
  .bottom-logo{
    width: 300px;
  }
  .bottom-logo2{
    bottom: 200px;
    width: 300px;
  }
}
@media screen and (max-width:800px){
  .bottom-logo{
    width: 200px;
  }
  .bottom-logo2{
    bottom: 150px;
    right: 150px;
    width: 200px;
  }
}
@media screen and (max-width:600px){
  .bottom-logo{
    width: 100px;
  }
  .bottom-logo2{
    bottom: 70px;
    right: 100px;
    width: 100px;
  }
  .genki-detail .pamphlet{
    margin-bottom: 0;
  }
}
.modal{
  display: none;
  height: 100vh;
  width: 100vw;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 99999;
  width: 100%;
}
.modal__bg{
  background: rgba(0,0,0,0.8);
  height: 100vh;
  position: absolute;
  width: 100%;
}
.modal__content{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  background: rgb(255, 255, 255);
  width: 70%;
  height: calc(100vh - 40px);
  text-align: center;
  overflow: scroll;
}
.modal__content img{
  width: 90%;
  vertical-align: middle;
}
.close-icon span{
  display: block;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  height: 5px;
  width: 30px;
  border-radius: 5px;
  background: rgb(255, 255, 255);
}
.close-icon{
  width: 80px;
  height: 80px;
  z-index: 3333;
  cursor: pointer;
  background: rgb(37, 104, 113);
  position: fixed;
  top: 0;
  right: 0;
}
.close-icon span:nth-child(1){
  top: 37.5px;
  left: 15px;
  width: 50px;
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  transform: rotate(-45deg);
}
.close-icon span:nth-child(2){
  top: 37.5px;
  left: 15px;
  width: 50px;
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  transform: rotate(45deg);
}
.pdf{
  width: 200px;
}
.pdf img{
  width: 100%;
  vertical-align: middle;
}
@media screen and (max-width:600px){
  .modal__content{
    width: 100%;
    height: auto;
  }
  .modal__content img{
    width: 100%;
  }
  .pdf{
    width: 150px;
  }
}

/*-------------------------お問い合わせページ-------------------------*/
.contact-box{
  background-color: rgb(255, 255, 255);
  width: 100%;
  max-width: 1000px;
  margin: 250px auto;
}
.contact-form{
  width: 95%;
  max-width: 800px;
  margin: auto;
}
.contact-form table{
  width: 100%;
  border-bottom: 1px solid rgb(37, 104, 113);
}
.contact-form th{
  width: 25%;
  text-align: left;
  padding-left: 1em;
  font-size: 16px;
  position: relative;
}
.contact-form td{
  width: 75%;
}
.contact-form input{
  width: 100%;
  vertical-align: baseline;
  font-size: 18px;
  margin-bottom: 40px;
  background-color: #F5F5F5;
  border-radius: 10px;
  border: none;
  padding: 5px;
}
textarea{
  width: 100%;
  vertical-align: text-top;
  font-size: 18px;
  margin-bottom: 40px;
  background-color: #F5F5F5;
  border-radius: 10px;
  border: none;
  padding: 5px;
}
@media screen and (max-width: 830px){
  .contact-box{
    margin: 150px auto;
  }
  .contact-form th{
    display: block;
    width: 100%;
    margin-bottom: 10px;
  }
  .contact-form td{
    display: block;
    width: 100%;
  }
}
/*-------------------------送信ボタン-------------------------*/
.send-button{
  background-color: rgb(37, 104, 113);
  width: 300px;
  height: 60px;
  margin: auto;
  margin-top: 40px;
  text-align: center;
  border-radius: 10px;
  transition: 0.5s all;
}
.send-button input{
  background: none;
  cursor: pointer;
  color: rgb(255, 255, 255)!important;
  font-size: 20px;
  line-height: 50px;
  text-indent: 0.2em;
  letter-spacing: 0.2em;
  transition: 0.5s all;
}
.send-button input:hover{
  text-indent: 0.6em;
  letter-spacing: 0.6em;
}
.send-button:hover{
  opacity: 0.8;
}
/*-------------------------wp-style（書き換え）-------------------------*/
/*-------------------------（お問い合わせフォーム）-------------------------*/
span.wpcf7-not-valid-tip {
  position: absolute;
  top: 30px;
  left: 0;
  color: red!important;
}

/*-------------------------サンクスページ-------------------------*/
.thanks-box{
  width: 100%;
  max-width: 1000px;
  margin: 250px auto 150px;
}
.thanks-title{
  text-align: center;
  margin-bottom: 70px;
}
.thanks-text{
  line-height: 1.5;
  width: 90%;
  max-width: 600px;
  margin: auto;
}
.thanks-text p:first-child{
  margin-bottom: 30px;
}
.thanks-back{
  width: 90%;
  margin: auto;
  text-align: right;
  margin-top: 60px;
}
@media screen and (max-width: 830px){
  .thanks-box{
    margin: 150px auto
  }
}
@media screen and (max-width: 500px){
  .thanks-title{
    margin-bottom: 40px;
  }
}

/*-------------------------個人情報保護ページ-------------------------*/
.privacy{
  width: 90%;
  max-width: 1000px;
  margin: 250px auto 50px;
}
.privacy-title{
  text-align: center;
  margin-bottom: 40px;
}
.privacy-text{
  line-height: 1.4;
  text-align: justify;
}
.margin{
  margin-bottom: 24px;
}
.back{
  width: 90%;
  max-width: 1000px;
  margin: 30px auto 150px;
  text-align: right;
}
@media screen and (max-width: 830px){
  .privacy{
    margin: 150px auto 50px;
  }
}
@media screen and (max-width:450px){
  .margin{
    margin-bottom: 15px;
  }
}

/*-------------------------js要員-------------------------*/
.j-fade{
  opacity: 0;
  transform: translate(0, 50px);
  transition: all 1.5s;
}
.j-fade.scrollin{
  opacity: 1;
  transform: translateY(0);
}
.left-fade{
  transform: translateX(-100px);
  opacity: 0;
  transition: opacity 1.5s,transform 1.5s;
}
.fadein{
  opacity: 1;
  transform: translateX(0);
}