/*
Theme Name: Ac・connect
Description: 更新必須HP
Author: H.kawasaki
*/

  *{
    font-family: "Noto Sans JP",serif;
    font-size: 20px;
    text-decoration: none;/*リンクのアンダーバー消す*/
    color: rgb(120, 120, 120);
    background-color: #f7f2e7;
    font-weight: 600;
  }

  a{
    transition: .6s;
    border-radius: 6px;
  }


  a.disabled{
    pointer-events: none;/*--リンクしないようにしてる--*/
  }
  /*ヘッダー---------------------------------*/
  header{
    position: fixed;/*ヘッダー固定*/
    z-index: 9997;/*奥行　Z軸　ポジションとセットで使用*/
    width: 100%;
    background-color: #f7f2e7;
  }
  
    .header-left{
      max-height: 60px;
      height: 60px;
    }
  
    .header-box{
      display: flex;
      align-items: center;
      justify-content: space-between;
      height: 75px;
      padding-top: 5px;
    }
  
    .header-left img{
      padding-left: 40px;
      max-height: 60px;
      position: relative;
    }

    .header-left img:hover{
      top:20px;
      transition:0.3s;
    }
  
    .header-right p{
      font-size: 0.7em;
      padding-top: 8px;
      letter-spacing: 0px;
    }
    @media screen and (max-width:940px){
      .header-right{
        display: none;
      }
    }

    .header-right img{
      max-height: 200px;
      text-align: right;
      display: flex;
      position: absolute;
      top: 50px;
      right: 1px;
    }

    /*プルダウン------------------------------------------*/
    #menu{
      list-style-type: none;
      width: 750px;/*フッタープルダウン自体の幅*/
      height: 40px;
      margin: 0 auto;
      padding: 0;
    }
    #menu li{
      position: relative;
      width: 25%;/*フッタープルダウンの幅間*/
      float: left;
      margin: 0;
      padding: 0;
      text-align: center;
      background: #f7f2e7;
    }
    #menu li a{
      display: block;
      margin: 0;
      padding: 14px 0;
      font-size: 14px;
      line-height: 1;
      text-decoration: none;
      color: #ffa042;
    }
    #menu li ul{
      width: 100%;
      list-style: none;
      position: absolute;
      top: 100%;
      left: 0;
      margin: 0;
      padding: 0;
    }
    #menu li:last-child ul{
      width: 100%;
    }
    #menu li ul li{
      overflow: hidden;
      width: 100%;
      height: 0;
      -moz-transition: .2s;
      -webkit-transition: .2s;
      -o-transition: .2s;
      -ms-transition: .2s;
      transition: .2s;
    }
    #menu li ul li a{
      padding: 13px 15px;
      text-align: left;
      font-size: 12px;
      font-weight: normal;
    }
    #menu li:hover > a{
      background: white;
      color: rgb(80, 80, 80);
    }
    #menu li:hover ul li{
      overflow: visible;
      height: 38px;
    }
    #menu li:hover ul li:first-child{
      border-top: 0;
    }
    #menu li:hover ul li:last-child{
      border-bottom: 0;
    }
    /*ここまでプルダウン---------------------------*/

    .topimg{
      padding-top: 80px;
      text-align: center;
    }
    @media screen and (max-width:1140px){
      .topimg{
        display: none;
      }
    }

    .topimg-sp{
      padding-top: 80px;
      text-align: center;
    }
    @media screen and (min-width:1140px){
      .topimg-sp{
        display: none;
      }
    }

    /*top画像*/
    #movei-contents {
      position: relative;
      display: inline-block;
    }
    #movei-contents video {
      height: 90vh;
      width: 96vw;
      object-fit: cover;
    }
    #movei-contents img {
      position: absolute;
      object-fit: cover;
      width: 40%;
      top: 50%;
      left: 50%;
      transform: translateY(-50%) translateX(-50%);
      -webkit- : translateY(-50%) translateX(-50%);
      padding: 100px 150px;
      background-color: rgba(255,255,255,0.4);
    }
    @media screen and (max-width:768px){
      #movei-contents img{
        padding: 150px 100px;
      }
    }

  /*slider*/
  .slider-box{
    padding-top: 50px;
    width: 90%;
    margin: auto;
    padding-bottom: 60px;
  }
  .slider{
    width: 100%;
    height: 80vh;
    overflow: hidden;
  }
  .slider img{
    display: block;
    max-width: 100%;
    height: 80vh;
    object-fit: cover;
  }

  /*ハンバーガーメニュー--------------------------*/
  /*============
  nav
  =============*/
  nav {
    display: block;
    position: fixed;
    top: 0;
    left: -300px;
    bottom: 0;
    width: 300px;
    background: #f7f2e7;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    transition: all .5s;
    z-index: 3;
    opacity: 0;
  }
    .open nav {
      left: 0;
      opacity: 1;
    }
  nav .inner {
    padding: 25px;
  }
  nav .inner ul {
    list-style: none;
    margin: 0;
    padding: 0;
  }
  nav .inner ul li {
    position: relative;
    margin: 0;
    border-bottom: 1px solid #333;
  }
  nav .inner ul li a {
    display: block;
    color: #333;
    font-size: 14px;
    padding: 1em;
    text-decoration: none;
    transition-duration: 0.2s;
  }
  nav .inner ul li a:hover {
    background: #e4e4e4;
  }
  @media screen and (max-width: 767px) {
    nav {
      left: -220px;
      width: 220px;
    }
  }
    /*============
    .toggle_btn
    =============*/
    .toggle_btn {
      display: block;
      position: fixed;
      top: 30px;
      right: 30px;
      width: 30px;
      height: 30px;
      transition: all .5s;
      cursor: pointer;
      z-index: 3;
    }
  
    .toggle_btn span {
      display: block;
      position: absolute;
      left: 0;
      width: 30px;
      height: 2px;
      background-color: #ffa042;
      border-radius: 4px;
      transition: all .5s;
    }
  
    .toggle_btn span:nth-child(1) {
      top: 4px;
    }
    .toggle_btn span:nth-child(2) {
      top: 14px;
    }
    .toggle_btn span:nth-child(3) {
      bottom: 4px;
    }
    .open .toggle_btn span {
      background-color: #ffa042;
    }
    .open .toggle_btn span:nth-child(1) {
      -webkit-transform: translateY(10px) rotate(-315deg);
      transform: translateY(10px) rotate(-315deg);
    }
    .open .toggle_btn span:nth-child(2) {
      opacity: 0;
    }
    .open .toggle_btn span:nth-child(3) {
      -webkit-transform: translateY(-10px) rotate(315deg);
      transform: translateY(-10px) rotate(315deg);
    }
    /*============
    #mask
    =============*/
    #mask {
      display: none;
      transition: all .5s;
    }
    .open #mask {
      display: block;
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: #000;
      opacity: .8;
      z-index: 2;
      cursor: pointer;
    }
    /*============
    main
    =============*/
  main {
    padding: 50px;
  }
  main h1 {
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    text-align: center;
  }
    /*============
    body
    =============*/
  body {
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
  }
  
    @media screen and (min-width:941px) {
      .inner{
        display:none;
      }
    .toggle_btn{
      display: none;
    }
    #navArea{
      display: none;
    }
    #mask{
      display: none;
    }
  }
    /*ここまでハンバーガーメニュー----------------------------------*/
  

  /*--メインページ----------------------------------*/

  .main{
    padding-top: 100px;
    margin: auto;
    background-color: #f7f2e7;
  }

  .company img{
    max-height: 600px;
    max-width: 90%;
    height: 70vh;
    object-fit: cover;
  }

  .company{
    text-align: center;
  }

  .l-text-box{
    font-size: 20px;
    width: 45%;
    margin: auto;
    line-height: 3;
    padding-top: 60px;
  }
  @media screen and (max-width:970px){
    .l-text-box{
      width: auto;
    }
  }
  @media screen and (max-width:600px){
    .l-text-box{
      font-size: 16px;
    }
  }

  .l-text-left p{
    color: red;
  }

  .l-text-center p{
    color: red;
    text-align: center;
  }

  .l-text-right p{
    color: red;
    text-align: right;
  }

  .l-text-2 span p{
    color: #ffa042;
  }

  .top-boxs{
    background-color: #f7f2e7;
  }

  .top-box{
    max-width: 1200px;
    padding-top: 60px;
    display: flex;
    justify-content: space-between;
    margin: auto;
    align-items: center;
  }
  @media screen and (max-width:1040px){
    .top-box{
      flex-direction: column-reverse;
    }
  }

  .banner-box{
    padding-top: 80px;
    background-color: #f7f2e7;
  }

  .banner{
    position: absolute;
  }

  .banner img{
    width: 100px;
  }
  @media screen and (max-width: 1100px) {
    .banner img {
      width: 80px;
    }
  }
  @media screen and (max-width: 670px) {
    .banner img {
      width: 60px;
      opacity: 0.2;
    }
  }
  @media screen and (max-width: 410px) {
    .banner img {
      width: 50px;
    }
  }

  .main-contents-box{
    font-size: 28px;
    padding: 80px;
    align-items: center;
    display: flex;
  }
  @media screen and (max-width: 1250px) {
    .main-contents-box{
      display: block;
    }
  }

  .main-contents-boxs{
    padding-left: 40px;
  }
  @media screen and (max-width: 1250px) {
    .main-contents-boxs{
      padding-left: 0;
    }
  }

  .main-contents{
    display: flex;
    justify-content: center;
    background: #f7f2e7;
  }

  .contents-title{
    font-size: 28px;
  }
  @media screen and (max-width: 530px) {
    .contents-title{
      font-size: 20px;
    }
  }
  @media screen and (max-width: 410px) {
    .contents-title{
      font-size: 18px;
    }
  }

  .contents-title p{
    color: #ffa042
  }

  .contents-text{
    font-size: 14px;
    line-height: 2;
    padding-top: 20px;
    max-width: 500px;
  }

  .contents-img{
    margin: auto;
  }

  .contents-img img{
    max-width: 500px;
    width: 100%;
  }


/*-------------------------新着情報-------------------------*/
.news{
  padding-top: 80px;
}
.news-box{
  max-width: 1000px;
  margin: auto;
  box-shadow: 0 3px 6px 0 rgba(0, 0, 0, 0.16);
  position: relative;
  padding: 20px;
  padding-top: 60px;
}
.news-title{
  position: absolute;
  top: -16px;
  left: 40px;
}
.news-title p{
  display: inline-block;
  font-size: 32px;
  font-weight: bold;
  font-style: italic;
  color: #c48d44;
}
.news-title span{
  font-style: italic;
  color: #c48d44;
  border-bottom: 2px solid #c48d44;
  padding-bottom: 10px;
}
.news-all-list{
  width: 90%;
  max-width: 600px;
  margin: auto;
}
.news-list{
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
.news-date{
  flex-basis: 20%;
}
.title{
  flex-basis: 80%;
}
.news-all{
  margin-top: 40px;
  margin-right: 20px;
  text-align: right;
}
.button{
  display: inline-block;
}
.button img{
  width: 20px;
  margin-right: 12px;
  vertical-align: bottom;
}
@media screen and (max-width:700px){
  .news-title{
    left: 20px;
  }
  .news-list{
    flex-direction: column;
    align-items: flex-start;
  }
  .news-date{
    margin-bottom: 5px;
  }
  .title{
    line-height: 1.3;
  }
  .news-all-list{
    width: 100%;
  }
  .news-all{
    margin-right: 0;
  }
  .button img{
    margin-right: 6px;
  }
}

/*-------------------------お知らせ一覧ページ-------------------------*/
.sub-news{
  width: 100%;
  max-width: 1000px;
  margin: auto;
}
.sub-news-all .sub-news-list{
  background-color: #FFFFFF;
}
.sub-news-all .sub-news-list:nth-child(odd){
  background-color: #F8FAFD;
}
.sub-news-list{
  padding: 20px;
  line-height: 1.5;
}
.sub-news-list a{
  display: flex;
}
.sub-news-left p,.sub-news-right p{
  font-size: 20px;
}
.sub-news-left{
  margin-right: 40px;
}
@media screen and (max-width:1000px){
  .sub-news-list a{
    flex-direction: column;
  }
}
@media screen and (max-width:850px){
  .sub-news-left p,.sub-news-right p{
    font-size: 16px;
  }
}

/*-------------------------お知らせ詳細ページ-------------------------*/
.post-news{
  width: 90%;
  max-width: 1000px;
  margin: auto;
  margin-bottom: 160px;
}
.post-news-days{
  margin-bottom: 60px;
}
.post-news-title{
  margin-bottom: 40px;
}
.post-news-title p{
  font-size: 24px;
  font-weight: bold;
  line-height: 1.5;
}
.post-news-text p{
  line-height: 1.5;
  text-align: justify;
}
@media screen and (max-width:600px){
  .post-news-days{
    margin-bottom: 10px;
  }
  .post-news-title p{
    font-size: 20px;
  }
}

  /*--画像リンク--------------------------*/
  .img-rink img{
    max-width: 540px;
  }
  @media screen and (max-width:600px){
    .img-rink img{
      max-width: 400px;
    }
  }
  @media screen and (max-width:440px){
    .img-rink img{
      max-width: 300px;
    }
  }

  .img-rink{
    margin: auto;
    width: 90%;
    padding-top: 60px;
    padding-bottom: 60px;
    text-align: center;
  }

  /*========= スクロールダウンCSS ===============*/

  /*スクロールダウン全体の場所*/
  .scrolldown2{
      /*描画位置*/
    position:absolute;
    bottom:10px;
    left:50%;
  }

  /*Scrollテキストの描写*/
  .scrolldown2 span{
      /*描画位置*/
    position: absolute;
    left:10px;
    bottom:10px;
      /*テキストの形状*/
    color: black;
    font-size: 0.7rem;
    letter-spacing: 0.05em;
    /*縦書き設定*/
    -ms-writing-mode: tb-rl;
      -webkit-writing-mode: vertical-rl;
      writing-mode: vertical-rl;
  }

  /* 丸の描写 */
  .scrolldown2:before {
      content: "";
      /*描画位置*/
      position: absolute;
      bottom:0;
      left:-4px;
      /*丸の形状*/
    width:10px;
    height:10px;
    border-radius: 50%;
    background:black;
      /*丸の動き1.6秒かけて透過し、永遠にループ*/
    animation:
      circlemove 1.6s ease-in-out infinite,
      cirlemovehide 1.6s ease-out infinite;
  }

  /*下からの距離が変化して丸の全体が上から下に動く*/
  @keyframes circlemove{
        0%{bottom:45px;}
        100%{bottom:-5px;}
      }

  /*上から下にかけて丸が透過→不透明→透過する*/
  @keyframes cirlemovehide{
        0%{opacity:0}
        50%{opacity:1;}
      80%{opacity:0.9;}
    100%{opacity:0;}
  }

  /* 線の描写 */
  .scrolldown2:after{
    content:"";
      /*描画位置*/
    position: absolute;
    bottom:0;
    left:0;
      /*線の形状*/
    width:2px;
    height: 50px;
    background:black;
  }

  /*========= レイアウトのためのCSS ===============*/
  #header{
    width:100%;
    height: 100vh;
    position: relative;
  }

  #header:before{
    content: '';
    position:fixed;
    top:0;
    left:0;
    z-index:-1;
    width:100%;
    height: 100vh;
  }

  @media screen and (max-width:768px){
      #header,
      #header:before{
    height: 90vh;
      }
    }

      /*--マウスカーソル------------------------------*/
html,body,a{
  cursor: none;
}
  #cursor{
    pointer-events: none;
    position: fixed;
    top: -4px;
    left: -4px;
    width: 8px;
    height: 8px;
    background: rgb(243, 168, 6);
    transform: translate(-100px,-100px);
    border-radius: 50%;
    z-index: 9999;
  }
  #stalker {
    pointer-events: none;
    position: fixed;
    top: -16px;
    left: -16px;
    width: 32px;
    height: 32px;
    background: #00f7ff;
    border-radius: 50%;
    transform: translate(-100px,-100px);
    transition: transform 0.2s;
    transition-timing-function: ease-out;
    z-index: 9998;
    opacity: 0.3;
  }

  #stalker.hov_{
    top: -40px;
    left: -40px;
    width: 80px;
    height: 80px;
    transition: .15s;
    background: hsl(155, 100%, 50%);
  }

    /*----浮かび上がる文字-------*/
    .animation {
      margin: 50px 0;
      font-size: 40px;
      font-weight: bold;
      color: rgb(110, 110, 110);
    }
    @media screen and (max-width:550px){
      .animation{
        font-size: 24px;
      }
    }
  
    .animation2 {
      margin: 50px 0;
      font-size: 20px;
      font-weight: bold;
      color: rgb(80, 80, 80);
    }
  
    .fadeInDown {
      -webkit-animation-fill-mode:both;
      -ms-animation-fill-mode:both;
      animation-fill-mode:both;
      -webkit-animation-duration:1s;
      -ms-animation-duration:1s;
      animation-duration:2s;/*〇秒かけて変化させる*/
      -webkit-animation-name: fadeInDown;
      animation-name: fadeInDown;
      visibility: visible !important;
    }
    /*この下のpxの数値がどのくらい動くか　-の数値で上からになる*/
    @-webkit-keyframes fadeInDown {
      0% { opacity: 0; -webkit-transform: translateY(60px); }
      100% { opacity: 1; -webkit-transform: translateY(0); }
    }
    @keyframes fadeInDown {
      0% { opacity: 0; -webkit-transform: translateY(60px); -ms-transform: translateY(60px); transform: translateY(60px); }
      100% { opacity: 1; -webkit-transform: translateY(0); -ms-transform: translateY(0); transform: translateY(0); }
    }

    .fadeInleft {
      -webkit-animation-fill-mode:both;
      -ms-animation-fill-mode:both;
      animation-fill-mode:both;
      -webkit-animation-duration:1s;
      -ms-animation-duration:1s;
      animation-duration:3s;/*〇秒かけて変化させる*/
      -webkit-animation-name: fadeInleft;
      animation-name: fadeInleft;
      visibility: visible !important;
    }
    /*この下のpxの数値がどのくらい動くか　-の数値で左からになる*/
    @-webkit-keyframes fadeInleft {
      0% { opacity: 0; -webkit-transform: translateX(-160px); }
      100% { opacity: 1; -webkit-transform: translateY(0); }
    }

    @keyframes fadeInleft {
      0% { opacity: 0; -webkit-transform: translateX(-160px); -ms-transform: translateX(-160px); transform: translateX(-160px); }
      100% { opacity: 1; -webkit-transform: translateY(0); -ms-transform: translateX(0); transform: translateY(0); }
    }


    .fadeInright {
      -webkit-animation-fill-mode:both;
      -ms-animation-fill-mode:both;
      animation-fill-mode:both;
      -webkit-animation-duration:1s;
      -ms-animation-duration:1s;
      animation-duration:3s;/*〇秒かけて変化させる*/
      -webkit-animation-name: fadeInright;
      animation-name: fadeInright;
      visibility: visible !important;
    }
    /*この下のpxの数値がどのくらい動くか　-の数値で左からになる*/
    @-webkit-keyframes fadeInright {
      0% { opacity: 0; -webkit-transform: translateX(160px); }
      100% { opacity: 1; -webkit-transform: translateY(0); }
    }
    @keyframes fadeInright {
      0% { opacity: 0; -webkit-transform: translateX(160px); -ms-transform: translateX(160px); transform: translateX(160px); }
      100% { opacity: 1; -webkit-transform: translateY(0); -ms-transform: translateX(0); transform: translateY(0); }
    }



    /*--問い合わせ--------------------------------------*/
    .Form {
      margin-top: 80px;
      margin-left: auto;
      margin-right: auto;
      max-width: 720px;
    }
    @media screen and (max-width: 480px) {
      .Form {
        margin-top: 40px;
      }
    }
    .Form-Item {
      border-top: 1px solid #ddd;
      padding-top: 24px;
      padding-bottom: 24px;
      width: 100%;
      display: flex;
      align-items: center;
    }
    @media screen and (max-width: 480px) {
      .Form-Item {
        padding-left: 14px;
        padding-right: 14px;
        padding-top: 16px;
        padding-bottom: 16px;
        flex-wrap: wrap;
      }
    }
    .Form-Item:nth-child(5) {
      border-bottom: 1px solid #ddd;
    }
    .Form-Item-Label {
      width: 100%;
      max-width: 248px;
      letter-spacing: 0.05em;
      font-weight: bold;
      font-size: 18px;
    }
    @media screen and (max-width: 480px) {
      .Form-Item-Label {
        max-width: inherit;
        display: flex;
        align-items: center;
        font-size: 15px;
      }
    }
    .Form-Item-Label.isMsg {
      margin-top: 8px;
      margin-bottom: auto;
    }
    @media screen and (max-width: 480px) {
      .Form-Item-Label.isMsg {
        margin-top: 0;
      }
    }
    .Form-Item-Label-Required {
      border-radius: 6px;
      margin-right: 8px;
      padding-top: 8px;
      padding-bottom: 8px;
      width: 48px;
      display: inline-block;
      text-align: center;
      background: #ffa042;
      color: #fff;
      font-size: 14px;
    }
    @media screen and (max-width: 480px) {
      .Form-Item-Label-Required {
        border-radius: 4px;
        padding-top: 4px;
        padding-bottom: 4px;
        width: 32px;
        font-size: 10px;
      }
    }
    .Form-Item-Input {
      border: 1px solid #ddd;
      border-radius: 6px;
      margin-left: 40px;
      padding-left: 1em;
      padding-right: 1em;
      height: 48px;
      flex: 1;
      width: 100%;
      max-width: 410px;
      background: #eaedf2;
      font-size: 18px;
    }
    @media screen and (max-width: 480px) {
      .Form-Item-Input {
        margin-left: 0;
        margin-top: 18px;
        height: 40px;
        flex: inherit;
        font-size: 15px;
      }
    }
    .Form-Item-Textarea {
      border: 1px solid #ddd;
      border-radius: 6px;
      margin-left: 40px;
      padding-left: 1em;
      padding-right: 1em;
      height: 216px;
      flex: 1;
      width: 100%;
      max-width: 410px;
      background: #eaedf2;
      font-size: 18px;
    }
    @media screen and (max-width: 480px) {
      .Form-Item-Textarea {
        margin-top: 18px;
        margin-left: 0;
        height: 200px;
        flex: inherit;
        font-size: 15px;
      }
    }
    .Form-Btn {
      border-radius: 6px;
      margin-top: 32px;
      margin-left: auto;
      margin-right: auto;
      padding-top: 20px;
      padding-bottom: 20px;
      width: 280px;
      display: block;
      letter-spacing: 0.05em;
      background: #ffa042;
      color: #fff;
      font-weight: bold;
      font-size: 20px;
    }
    @media screen and (max-width: 480px) {
      .Form-Btn {
        margin-top: 24px;
        padding-top: 8px;
        padding-bottom: 8px;
        width: 160px;
        font-size: 16px;
      }
    }
    .contact-main{
      padding-top: 160px;
      padding-bottom: 80px;
    }
    .contact-title {
      position: absolute;
      left: 50%;
      transform: translate(-50%, -50%);
    }
    .contact-heading {
      color: #777;
      text-transform: uppercase;
    }
    .contact-heading-primary {
      display: block;
      font-size: 40px;
      letter-spacing: 15px;
      animation: moveInLeft 1s ease-out;
    }
    .contact-heading-secondary {
      font-family: sans-serif;
      display: block;
      font-size: 20px;
      font-weight: bold;
      text-align: center;
      letter-spacing: 15px;
      animation: moveInRight 1s ease-out;
    }
    @keyframes moveInLeft {
      0% {
        opacity: 0;
        transform: translateX(-100px);
      }
      80% {
        transform: translateX(10px);
      }
      100% {
        opacity: 1;
        transform: translate(0);
      }
    }
    @keyframes moveInRight {
      0% {
        opacity: 0;
        transform: translateX(100px);
      }
    }
      80% {
        transform: translateX(-10px);
      }
      100% {
        opacity: 1;
        transform: translate(0);
      }


    /*その他---------------------------------------------*/
    h1 {
      position: relative;
      display: inline-block;
      margin-bottom: 1em;
      text-align: center;
    }
    h1:before {
      content: '';
      position: absolute;
      bottom: -35px;/*高さ調整*/
      display: inline-block;
      width: 60px;/*長さ調整*/
      height: 2px;/*太さ調整*/
      left: 50%;
      -webkit-transform: translateX(-50%);
      transform: translateX(-50%);
      background-color: rgb(110, 110, 110);/*色合い*/
    }
  
    h2 {
      position: relative;
      display: inline-block;
      margin-bottom: 1em;
      text-align: center;
    }
    h2:before {
      content: '';
      position: absolute;
      bottom: -10px;/*高さ調整*/
      display: inline-block;
      width: 20px;/*長さ調整*/
      height: 1px;/*太さ調整*/
      left: 50%;
      -webkit-transform: translateX(-50%);
      transform: translateX(-50%);
      background-color: rgb(80, 80, 80);/*色合い*/
    }
  
    h3 {
      position: relative;
      display: inline-block;
      margin-bottom: 1em;
      text-align: center;
    }
    h3:before {
      content: '';
      position: absolute;
      bottom: -35px;/*高さ調整*/
      display: inline-block;
      left: 50%;
      -webkit-transform: translateX(-50%);
      transform: translateX(-50%);
      background-color: rgb(110, 110, 110);/*色合い*/
    }
        /*--見出しタイトル*-----------*/
        h4{
          font-size: 32px;
          text-align: center;
          margin: auto;
        }

      /*トップページ最下部(フッター埋め込み)----------------------------------------*/
      .top-lower span{
        color: #ffa042;
      }
  
      .top-lower{
        display: flex;
        justify-content: center;
        padding-bottom: 40px;
        font-size: 12px;
      }
      @media screen and (max-width:440px){
        .top-lower{
          display: block;
        }
      }
  
      @media screen and (max-width:440px){
        .top-lower a{
          font-size: 16px;
        }
      }
  
      .top-lower p{
        padding: 0 20px 0 20px;
      }
      @media screen and (max-width:715px){
        .top-lower p{
          padding: 0;
        }
      }
  
      .top-lower a:hover{
        color: #ffa042;
      }

    /*フッター---------------------------------------------*/
    footer a{
      font-family: 'Quicksand', sans-serif;
      font-weight: normal;
      font-size: 12px;
      line-height: 2;
    }
    @media screen and (max-width:715px){
      footer a{
        font-size: 8px;
      }
    }
  
    .footer-icon{
      display: flex;
      justify-content: space-between;
      padding: 20px;
    }
  
    .footer-icon a{
      margin: 40px;
    }
    @media screen and (max-width:855px){
      .footer-icon a{
        margin: 0px;
      }
    }

    .footer-icon p{
      color: rgb(120, 120, 120);
      margin-left: 80px;
    }
    @media screen and (max-width:700px){
      .footer-icon p{
        margin-left: 0;
      }
    }
    @media screen and (max-width:620px){
      .footer-icon p{
        font-size: 12px;
      }
    }

    .footer-box{
      background-color: #f7f2e7;
    }
    @media screen and (max-width:540px){
      .footer-box{
        display: none;
      }
    }

    .top-lower img{
      max-height: 60px;
      text-align: right;
      display: flex;
      position: fixed;
      bottom: 20px;
      right: 1px;
    }

    /*---フッターボタン---------------------------*/
    a.btn-animation-border{
      position: relative;
      color:rgb(120, 120, 120);
      background-color: #f7f2e7;
      border: solid 1px rgb(120, 120, 120);
      padding:10px 20px 10px 20px;
    }
    a.btn-animation-border::before,
    a.btn-animation-border::after {
      position:absolute;
      width: 0;
      height: 2.5px;
      content:"";
      -webkit-transition: all .3s ease-in-out;
      transition: all .3s ease-in-out;
      background-color: #f7f2e7;
    }
    a.btn-animation-border::before {
      top:0;
      left:0;
    }
    a.btn-animation-border::after {
      right:0;
      bottom:0;
    }
    a.btn-animation-border:hover::before,
    a.btn-animation-border:hover::after {
      width:100%;
    }
    a.btn-animation-border:hover{
      color:#f7f2e7;
      background-color: rgb(40, 40, 40);
    }

    /*ここまでフッターボタン-------------------------------------*/
  
  
    /*---プライバシーポリシー-------------------*/
    .main-privacy{
      padding-top: 100px;
      background: #f7f2e7;
      max-width: 800px;
      width: 100%;
      margin: auto;
    }
  
    .privacy-title{
      text-align: center;
      font-size: 24px;
    }
  
    .privacy-title2{
      padding-top: 20px;
    }
  
    .privacy-text{
      padding-bottom: 20px;
    }

        /*クライアント一覧--------------------------------------------*/

        .client{
          padding-top: 150px;
          background-color: #fff;
        }
          /* スライドする要素 */
          .wrap img{
            width: 200px;
            height: 100px;
            object-fit: contain;
            padding-right: 40px;
          }
          /* スライドレールの枠 */
          .wrap {
            overflow: hidden;
            display: flex;
            align-items: center;
            height: 200px;
            margin-bottom: 40px;
          }

          .wrap img:hover{
            top:-10px;
            transition:0.3s;
          }

          .wrap:hover{
            top:-10px;
            transition:0.3s;
          }

          /* まとめたスライドブロック */
          .slideshow {
            display: flex;
            -webkit-animation: loop-slide 20s infinite linear 1s both;
            animation: loop-slide 20s infinite linear 1s both;
            list-style: none;
            box-sizing: border-box;
            padding: 0;
            margin: 0;
          }
          @-webkit-keyframes loop-slide {
            from {
              transform: translateX(0);
            }
            to {
              transform: translateX(-100%);
            }
          }
          @keyframes loop-slide {
            from {
              transform: translateX(0);
            }
            to {
              transform: translateX(-100%);
            }
          }

          .slider-title{
            text-align: center;
            margin: auto;
          }

                  /*---会社概要----------------------------------*/

        .etc-main{
          text-align: center;
          margin: auto;
          font-size: 20px;
          padding-bottom: 30px;
        }

        .company-subtitle{
          text-align: center;
        }
    
        table {
          border-collapse: collapse;
          border-spacing: 5px;
          margin: 0 auto;
          padding: 0;
          width: 1600px;
          margin-left: auto;
          margin-right: auto;
        }
        table tr{
          border-bottom: solid 2px white;
        }
        table tr:last-child{
          border-bottom: none;
        }
        table th{
          position: relative;
          width: 5%;
          background-color: #f7f2e7;
          text-align: center;
          padding: 10px 0;
        }
        table th:after{
          display: block;
          content: "";
          width: 0px;
          height: 0px;
          position: absolute;
          top:calc(50% - 10px);
          right:-10px;
          border-left: 10px solid #f7f2e7;
          border-top: 10px solid transparent;
          border-bottom: 10px solid transparent;
        }
        table td{
          width: 20%;
          background-color: #eee;
          padding: 30px 10px;
          padding-left: 50px;
        }
        .table_box{
          margin-bottom: 120px;
        }
        @media screen and (max-width:1600px){
          .table_box{
            width: 1200px;
          }
        }
        @media screen and (max-width:1200px){
          .table_box{
            width: 800px;
          }
        }
        @media screen and (max-width:800px){
          .table_box{
            width: 500px;
          }
        }
        @media screen and (max-width:550px){
          .table_box{
            font-size: 14px;
            width: 300px;
          }
        }

        /*----企業理念------------------------*/
        .philosophy{
          background-image: url(img/back.png);    /* 背景画像指定 */
          background-size:  cover;                /* 画像のサイズ指定 */
        }
      
        .philosophy-main{
          padding: 2% 0;
          text-align: center;
          max-width: 1200px;
          margin: auto;
          box-shadow: 0 3px 6px 0 rgb(0 0 0 / 16%);
          padding-top: 180px;
          padding-bottom: 80px;
        }


          .philosophy-boxs{
            padding-top: 100px;
            background: #f7f2e7;
            max-width: 1200px;
            width: 100%;
            margin: auto;
            text-align: justify;
          }

          .philosophy-title{
            font-size: 24px;
            margin-bottom: 3%;
            text-align: center;
            margin: auto;
          }
          @media screen and (max-width:660px){
            .philosophy-title{
              font-size: 18px;
            }
          }
        
          .philosophy-title{
            text-align: center;
            font-size: 24px;
          }
        
          .philosophy-title2{
            padding-top: 20px;
            color: #ffa042;
          }

          .philosophy-title2 p{
            color: #ffa042;
          }
        
          .philosophy-text{
            padding-bottom: 20px;
          }

          .philosophy-text p{
            padding-top: 15px;
            line-height: 1.5;
          }


          /*-------------------------サブページtop共通-------------------------*/
.subpage-top{
  margin-top: 160px;
  width: 100%;
  height: 400px;
  position: relative;
  margin-bottom: 120px;
}
.subpage-img{
  width: 100%;
  height: 400px;
}
.subpage-img img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left;
}
.subpage-title{
  position: absolute;
  bottom: 50px;
  left: 15%;
}
.subpage-title p{
  color: #ffa042;
  font-size: 40px!important;
  border-bottom: 2px solid #ffa042;
  padding-bottom: 20px;
  display: inline-block;
}
@media screen and (max-width:1000px){
  .subpage-title{
    left: 10%;
  }
  .subpage-title p{
    font-size: 30px!important;
    padding-bottom: 10px;
  }
}
@media screen and (max-width:600px){
  .subpage-top{
    margin-top: 70px;
    height: 200px;
    margin-bottom: 80px;
  }
  .subpage-img{
    height: 400px;
    height: 200px;
  }
  .subpage-title p{
    font-size: 20px!important;
  }
}
