@charset "UTF-8";
/*
    Template: swell
    Theme Name: SWELL CHILD
    Theme URI: https://swell-theme.com/
    Description: SWELLの子テーマ
    Version: 1.0.0
    Author: LOOS WEB STUDIO
    Author URI: https://loos-web-studio.com/

    License: GNU General Public License
    License URI: http://www.gnu.org/licenses/gpl.html
*/

@charset "UTF-8";

/*
Theme Name: My-theme
*/

*{
  margin: 0 auto;
  padding: 0;
  box-sizing: border-box;
}
body{
  max-width: 1920px;
  font-size: 1vw;
}
li{
    list-style-type: none;
}
h3{
  font-size: 1vw;
  margin-bottom: 0.5em;
}
p{
  font-size: 0.8vw;
}
header{
  position: fixed;
  display: flex;
  width: 100%;
  max-width: 1920px;
  height: 5.2vw;
  align-items: center;
  z-index: 1;
  top: 0;
  background-color: #fff;
  justify-content: space-between;
  border-top: solid 0.6vw #0E6DC1;
}
header a{
  text-decoration: none;
}
header .logo{
  margin-left:1vw;
  width: 100%;
  max-width: 20vw;
}
header .logo p{
  font-size: 1.3vw;
  color: #000;
}
.hamburger-menu {
  margin: 0;
  width: 100%;
  max-width: 42vw;
}
.menu-content ul{
  display: flex;
  align-items: center;
}
.menu-content ul li{
  width: 100%;
  max-width: 10vw;
  text-align: center;
  margin: 0 auto;
  font-size: 1vw;
}
.menu-content ul li a{
  color: #000;
}
.menu-content .contact-btn{
  background-color: #0E6DC1;
  padding: 0.5em;
}
.menu-content .contact-btn a{
  color: #fff;
}
#menu-btn-check{
  display: none;
}
.first-view{
  position: relative;
  margin-top: 5.2vw;
}
.first-view img{
    width: 100%;
}
.fv-text{
    position: absolute;
    top: 50%;
    left: 10%;
    transform: translate(0%, -50%);
    -webkit-transform: translate(0%, -50%);
    -ms-transform: translate(0%, -50%);
}
.fv-text .copy{
  font-size: 2vw;
}
.fv-text .copy span,.fv-text .subcopy span{
  background-color: #fff;
  padding: 0.1em;
}
.fv-text .subcopy{
  font-size: 1.3vw;
}
.contents button,.fv-text button{
  max-width: 13.5vw;
  width: 100%;
  color: #fff;
  background-color: #0E6DC1;
  padding: 0.5em;
  margin: 2.5vw auto 0;
  border: none;
  display: block !important;
}
.fv-text button{
  margin-left: 0;
}
.contents button p,.fv-text button p{
  margin-left: auto;
  font-size: 1vw;
}
.contents{
  margin: 100px 0 200px;
}
.tytle{
  font-size: 1.5vw;
  font-weight: bold;
  margin-bottom: 50px;
  text-align: center;
  letter-spacing: 0.3em;
}
.tytle::first-letter{
  color: #0E6DC1;
}
/*.contents button{
  max-width: 20vw;
}*/

.business li{
  display: flex;
  width: 90%;
  max-width: 85vw;
  box-shadow: 0px 5px 10px #ccc;
  margin:0 auto 30px;
}
.business li img{
  max-width: 369px;
  width: 30%;
}
.business div{
  padding: 30px;
}
.contents-box{
  display: flex;
  width: 90%;
  max-width: 85vw;
  box-shadow: 0px 5px 10px #ccc;
  align-items: flex-start;
  margin: 0 auto;
}
.boxtext{
  margin: 30px;
  width: 70%;
}
.contents-box h3 span{
  font-size: 1.5vw;
  letter-spacing: 0.2em;
}
.contents-box p{
  font-size: 0.7vw;
  margin: 0 0 1em 1em;
}
.boxtext ul{
  display: flex;
}
.boxtext li{
  margin: 0 20px 0 0;
}
.photo{
  width: 30%;
}
.contact-text{
  text-align: center;
}
.access-map{
  height: 19vw;
  width: 30%;
  margin: 0;
}
footer{
    background-color: #585858;
    color: #fff;
    padding: 1.3vw 0;
    text-align: center;
    font-size: 0.5vw;
}

form{
  max-width: 36.5vw;
  width: 100%;
  margin: 50px auto 0;
}
.form-item{
    margin-bottom: 20px;
}
label{
    float: left;
    width: 25%;
    text-align: center;
    font-weight: bold;
}
.formarea{
    width: 75%;
    height: 2em;
    background-color: #EFEFEF;
    border: none;
    font-size: 1em;
    padding: 5px;
    border-radius: 5px;
}
.button-c{
  border-radius: 100vh;;
  padding: 10px;
  display: flex;
  align-items: center;
  height: 3.6vw;
}
.telbutton{
  margin-top: 20px !important;
}
.button-c .kigou{
  font-size: 1.5vw;
  margin: 0 20px 0 auto;
}
.button-c div{
  margin: 0 auto 0 0;
  display: inline-block;
  overflow: hidden;
}
.button-c .sousin,.button-c .tel{
  font-size: 1.3vw;
  font-weight: bold;
}
.button-c .sousin{
  letter-spacing: 2em;
  margin-right: -2em;
}
.button-c .button-subtext{
  font-size: 0.5vw;
}
.space{
  margin-top: 10vw !important;
}
.policy{
  width: 80%;
  max-width: 62.5vw;
  margin-top: 100px;
}
.policy h3,article h2{
  font-size: 1.3vw;
  font-weight: normal;
  letter-spacing: 0.5em;
  border-bottom: solid 1px #000;
  padding: 1.5em 1vw 0.5em;
}
.policy p,.single-post-date{
  padding: 0 1vw;
  line-height: 1.8em;
}
.policy h4,article h3{
  font-size: 1vw;
  letter-spacing: 0.5em;
  font-weight: normal;
  padding: 1.5em 1vw 0.3em;
}
.sub{
  background-color: #000;
}
.sub img{
  opacity: 0.5;
  vertical-align: bottom;
}
.sub .fv-text{
  font-size: 1.5vw;
  color: #fff;
  letter-spacing: 0.2em;
  left: 50%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  text-align: center;
  line-height: 1em;
}
.sub .fv-text span{
  font-size: 1vw;
}
.businesspage{
  background-color: #F2F2F2;
  border-radius: 2.6vw;
  padding: 2.6vw;
  width: 90%;
  max-width: 89.5vw;
  margin-bottom: 2.6vw;
}
.businesspage-inn{
  background-color: #fff;
  border-radius: 1.3vw;
  display: flex;
  padding: 2.6vw;
  align-items:center;
}
.businesspage-inn img{
  width: 25%;
}
.businesspage-inn-txt{
  padding-left: 2.6vw;
  width: 75%;
}
.b-button{
  display: flex;
}
.b-button button{
  background-color: #F4F8F0;
  color: #0E6DC1;
  width: 9vw;
  border-radius: 100vh;
  padding: 1em;
  margin: 30px 15px 0 0;
}
.b-button p{
  font-size: 0.8vw;
  text-align: left;
  font-weight: bold;
}
.office-box,.news{
  display: flex;
  max-width: 84.3vw;
  width: 80%;
  align-items: flex-start;
}
.office-box .boxtext{
  margin: 1.5vw 3.6vw 0;
}
.office-box h3{
  font-weight: normal;
}
.office-box h3 span{
  font-weight: bold;
  font-size: 1.5vw;
  letter-spacing: 0.2em;
}
.office-box .message{
  font-size: 1.3vw;
}
.office-box button{
  margin-left: 0;
}
.officepage{
  background-color: #F2F2F2;
  padding: 50px;
}
.office-map{
  display: flex;
  max-width: 81vw;
  width: 75%;
  background-color: #fff;
  border-radius: 2.5vw;
  padding: 40px;
  align-items: flex-start;
}
.office-map .access-map{
  max-width: 32.5vw;
  width: 40%;
  height: auto;
  aspect-ratio: 1 / 1;
}
.office-map table{
  max-width: 33vw;
  width: 60%;
  border-collapse:collapse;
  margin:0 1.5vw;
}
.office-map tr{
  border-bottom: solid 1px #707070;
}
.office-map th{
  color: #0E6DC1;
  text-align: left;
  padding: 1em;
}
.office-map td{
  padding: 1em;
}
.rinen{
  max-width: 62.5vw;
  width: 60%;
  list-style-type: none;
  counter-reset: count1;
}
.rinen li{
  position: relative;
  counter-increment: count1;
  padding-left: 2.5rem;
  margin-bottom: 1.5em;
}
.rinen li::before{
  position: absolute;
  display: block;
  content: counter(count1);
  left: 0;
  top: 0.2rem;
  width: 2rem;
  line-height: 2rem;
  font-size: 1.5rem;
  font-weight: bold;
  text-align: center;
  background-color: #707070;
  color: #FFF;
}
.office-box .boxtext_op{
  margin-left: 2.6vw;
  width: 70%;
}
.boxtext_op .midasi{
  font-size: 1vw;
  border-bottom: solid 2px#fff;
  margin: 2em 0 1em;
  position: relative;
}
.boxtext_op .midasi::before{
  content: '';
  position: absolute;
  bottom: -2px;
  width: 50%;
  height: 2px;
  background: #707070;
}
.boxtext_op .message{
  font-size: 0.8vw;
  line-height: 1.7em;
}
.boxtext_op li{
  font-size: 0.8vw;
  margin-top: 1em;
}
.boxtext_op li::before{
  content: '▶︎';
  color: #0E6DC1;
}
.gaiyou,.contactpage form{
  max-width: 62.5vw;
  width: 60%;
}
.gaiyou li{
  display: flex;
  letter-spacing: 0.1em;
}
.gaiyou li:nth-child(2n+1){
  background-color: #F2F2F2;
}
.gaiyou-left{
  width: 30%;
  padding: 2em 0 2em 5%;
  border-right: solid 0.5px #707070;
  margin: 0;
}
.gaiyou-right{
  padding: 2em 0 2em 5%;
  margin: 0;
}
.contactpage form,.contactpage button{
  margin-top: 100px;
}
.contactpage .form-item {
  margin-bottom: 2.6vw;
}
.contactpage label{
  padding: 1em;
}
.contactpage input,.contactpage textarea{
  height: 3em;
}
.blogtytle{
  padding: 1vw;
  font-size: 1.5vw;
  font-weight: normal;
  letter-spacing: 0.3em;
}
.blogphoto img{
  width: 100%;
  height: auto;
  margin-bottom: 2em;
}
.news{
  justify-content: space-between;
  flex-wrap: wrap;
}
.news::before{
  content:"";
  display: block;
  width:23%;
  order:1;
}
.news::after{
  content:"";
  display: block;
  width:23%;
}
.post_wrap{
  max-width: 19.6vw;
  width: 23%;
  box-shadow: 0px 5px 10px #ccc;
  margin: 0 0 50px;
}
.post_wrap a{
  text-decoration: none;
}
.thumbnail img{
  width: 100%;
  height: 13.7vw;
  object-fit: cover;
}
.single-post-date{
  color: #000;
}
.page_title-news{
  color: #000;
  font-size: 1vw;
  margin: 0 1em 1em;
}
.pagenum{
  display: flex;
  width: 230px;
}
.pagenum a{
  text-decoration: none;
}
.pagenum span{
  width: 36px;
  height: 36px;
  border-radius: 50%;
  text-align: center;
  font-size: 15px;
  padding: 5px;
  background-color: #0E6DC1;
  color: #fff;
}
.dots,.next,.prev{
  color: #000  !important;
  background: none !important;
  text-align: center;
  font-size: 15px;
  padding: 5px;
}
.pagenum a:not(.next, .prev){
  width: 36px;
  height: 36px;
  border-radius: 50%;
  text-align: center;
  font-size: 15px;
  padding: 5px;
  color: #0E6DC1;
  border: solid 1px #0E6DC1;
}
input.wpcf7-form-control,.tel-btn {
  display: block;
  width: 20.4vw;
  height: auto;
  background: none;
  margin: 0 auto 10px;
  padding: 0;
  border: none;
}

/*コンタクトフォームに自動で入るbrを消す*/
.wpcf7 br {
    display: none;
    }

    

@media screen and (min-width: 431px){
  .spver{
    display: none;
  }
}
@media only screen and (min-width: 431px) and (max-width: 1024px) {
  /*タブレット*/
}
@media screen and (max-width: 430px){
  body{
    font-size: 16px;
  }
    .pcver{
      display: none;
    }
    h3{
      font-size: 3.7vw;
    }
    p{
      font-size: 3.2vw;
      line-height: 1.7em;
    }
    header{
      height: 70px;
      border-top: solid 1vw #0E6DC1;
    }
    header .logo{
      margin-left: 10px;
      max-width: 80%;
    }
    header .logo p{
      font-size: 18px;
      margin: 0;
    }
    /* =================
    ハンバーガーボタンの実装
    ================= */
    .menu-btn {
      position: fixed;
      top: 0;
      right: 0;
      display: flex;
      height: 70px;
      width: 80px;
      justify-content: center;
      align-items: center;
      z-index: 110;
      margin: 0;
    }
   .menu-btn:hover {
       cursor: pointer;
   }
   /* 三本線の実装 */
   .menu-btn span,
   .menu-btn span:before,
   .menu-btn span:after {
       content: "";
       display: block;
       height: 3px;
       width: 42px;
       background-color: #0E6DC1;
       position: absolute;
   }
   .menu-btn span:before {
       bottom: 15px;
   }
   .menu-btn span:after {
       top: 15px;
   }
   /* チェックボックスを非表示にする */
   #menu-btn-check {
       display: none;
   }
   #menu-btn-check:checked ~ .menu-btn{
       background-color: #F2F2F2;
   }
   #menu-btn-check:checked ~ .menu-btn span,
   #menu-btn-check:checked ~ .menu-btn span::before,
   #menu-btn-check:checked ~ .menu-btn span::after{
       background-color: #F2F2F2;
       height: 2px;
       width: 30px;
   }
   
   /* メニューを開いている時はハンバーガーボタンが×になる */
   #menu-btn-check:checked ~ .menu-btn span {
       background-color: rgba(255,255,255,0);/*メニューオープン時は真ん中の線を透明にする*/
   }
   #menu-btn-check:checked ~ .menu-btn span::before {
       bottom: 0;
       transform: rotate(45deg);
   }
   #menu-btn-check:checked ~ .menu-btn span::after {
       top: 0;
       transform: rotate(-45deg);
   }
   
   /* =================
   メニュー部分の実装
   ================= */
   .menu-content {
       width: 80%;
       height: 100%;
       position: fixed;
       top: 0;
       /* メニューを外に出しておく */
       left: 100%;　
       z-index: 100;
       background-color: #F2F2F2;
       transition: all 0.5s; /*アニメーションを滑らかにする*/
   }
   .menu-content ul {
       padding: 80px 40px 0;
       display: block;
       background-color: #F2F2F2;
   }
   .menu-content ul li {
       list-style: none;
       max-width: 100%;
       text-align: left;
       margin-bottom: 15px;
       position: relative;
   }
   .menu-content ul li a {
       display: block;
       width: 100%;
       font-size: 15px;
       box-sizing: border-box;
       color: #000;
       text-decoration: none;
       padding: 9px 15px 10px 0;
       position: relative;
   }
   #menu-btn-check:checked ~ .menu-content {
       left: 20%; /*メニューを画面内へ動かす*/
       z-index: 100;
    }
    .contact-btn{
      background-color: transparent !important;
      padding: 0 !important;
    }
    .contact-btn a{
      color: #000 !important;
    }
    
    .first-view{
      height: 640px;
    }
    .first-view img{
      height: 100%;
      object-fit: cover;
    }
    .fv-text{
      left: 8%;
      margin-right: 8%;
      top: 70%;
    }
    .fv-text .copy{
      font-size: 5.8vw;
    }
    .fv-text .subcopy{
      font-size: 3.7vw;
    }
    .fv-text button{
      max-width: 54vw;
    }
    .contents　button{
      padding: 5px;
      margin-top: 20px;
    }
    .contents button{
      max-width: 100%;
    }
    .contents　button p{
      font-size: 4.2vw;
    }

    .contents {
      margin: 50px 8% 100px;
    }
    .tytle {
      font-size: 20px;
    }
    .business li {
      display: block;
      width: 100%;
    }
    .business li img{
      width: 100%;
    }
    .business div{
      padding: 1em;
    }
    .business h3{
      text-align: center;
    }
    .contents-box{
      flex-wrap: wrap;
      width: 100%;
    }
    .boxtext{
      width: 100%;
      order: 1;
      margin: 1em;
    }
    .photo{
      width: 100%;
    }
    .contents-box h3 span,.office-box h3 span{
      font-size: 5.8vw;
    }
    .contents-box p{
      font-size: 2.3vw;
      margin: 0 0 2em 0;
    }
    .boxtext ul{
      justify-content: center;
    }
    .boxtext li{
      margin: 0 10px 0 0;
    }
    .access-map,.access-text {
    width: 100%;
  }
  .access-map{
    height: auto;
    aspect-ratio: 1 / 1;
  }
  .boxtext p,.message,.boxtext_op ul{
    margin-left: 1em;
  }
  .contact-text {
    text-align: left;
    width: 90%;
}
form{
  max-width: 100%;
}
label{
  width: 30%;
  font-size: 3.2vw;
  margin-top: 0.5em;
}
.form-item{
  position: relative;
  margin-bottom: 10px;
}
.mark{
  position: absolute;
}
input, textarea{
  width: 70%;
  padding: 10px;
}
.button-c{
  height: 16.2vw;
}
.button-c .sousin, .button-c .tel {
  font-size: 4.6vw;
}
.button-c .button-subtext {
  font-size: 2.3vw;
}
.button-c .kigou {
  font-size: 7vw;
}
footer{
  font-size: 8px;
  color: #000;
  background-color: #fff;
  border-bottom: solid 10px #0E6DC1;
  padding: 2em;
}

.sub{
  height: 197px;
  margin-top: 70px;
}
.sub .fv-text{
  font-size: 7vw;
  top: 50%;
  width: 100%;
}
.grey{
  margin: 0;
  background-color: #F2F2F2;
}
.businesspage,.officepage{
  padding: 50px 0 0;
  margin: 0 auto;
}
.businesspage:last-child{
  padding-bottom: 50px;
}
.businesspage-inn,.office-map{
  flex-wrap: wrap;
  padding: 20px;
  width: 100%;
}
.businesspage-inn-txt {
  padding: 0;
  width: 100%;
  margin-top: 20px;
}
.businesspage-inn-txt h3{
  text-align: center;
}
.b-button button{
  width: 26vw;
  padding: 5px;
  margin: 10px 5px 0 0;
}
.b-button p{
  font-size: 2.7vw;
}
.businesspage-inn img {
  width: 100%;
}
.office-box, .news{
  flex-wrap: wrap;
  width: 100%;
}
.office-box .boxtext {
  margin: 20px;
}
.office-box .message{
  font-size: 3.2vw;
}
.boxtext button p{
  margin: 0;
}
.officepage{
  margin: 0;
  padding-bottom: 50px;
}
.office-map .access-map,.rinen,.gaiyou,.contactpage form,.policy,.post_wrap{
  max-width: 100%;
  width: 100%;
}
.office-map table {
  max-width: 100%;
  width: 100%;
  margin: 0;
  letter-spacing: 0.2em;
  font-size: 3.2vw;
}
.office-map tr{
  border: none;
}
.office-map th{
  display: block;
  width: 100%;
  padding: 1.5em 0 0.5em;
}
.office-map th::before{
  content: '■';
}
.office-map td{
  display: block;
  padding: 0;
  font-weight: bold;
}
.office-box .boxtext_op {
  margin: 1em;
  width: 100%;
}
.boxtext_op .midasi {
  font-size: 3.7vw;
}
.boxtext_op li {
  font-size: 3.2vw;
}
.gaiyou{
  font-size: 2.5vw;
}
.gaiyou-left,.gaiyou-right{
  padding: 2em 0 2em 3%;
}
.otoiawase{
  margin-bottom: 10px;
}
.contactpage .contact-text{
  text-align: center;
}
.contactpage form, .contactpage button {
  margin-top: 50px;
}
.contactpage .form-item {
  margin-bottom: 10px;
}
.contactpage label {
  padding: 0 0 0.5em 0.5em;
  width: 100%;
  text-align: left;
}
.contactpage input, .contactpage textarea {
  width: 100%;
}
.space {
  margin-top: 150px !important;
}
.policy h3 {
  font-size: 4.6vw;
  letter-spacing: 0.2em;
  padding: 1.5em 0 0.5em;
}
.policy h4 {
  font-size: 3.7vw;
  letter-spacing: 0.2em;
  border-bottom: solid 1px #000;
  margin-bottom: 0.5em;
  padding: 1.5em 0 0.3em;
}
.policy p{
  padding: 0;
}
.blogtytle{
  font-size: 5.8vw;
  padding: 0.5em 0;
}
.thumbnail img{
  height: 61.5vw;
}
.single-post-date{
  padding: 0;
}
.page_title-news{
  font-size: 3.7vw;
  font-weight: bold;
}
input.wpcf7-form-control{
  width: 100%;
  margin-top: 50px;
}
.tel-btn{
  width: 100%;
}
}
