/*========== googleフォント ==========*/
@import url(http://fonts.googleapis.com/earlyaccess/notosansjp.css);

/* 1280px〜：大型PC
------------------------------
ここに基本CSSを書きます。
PCファーストでは、PCサイズからモバイルの大きさに向けて、以降のCSSを書いていきます。*/

/*========== 全体 ==========*/
#wrap{
    margin: 0;
    padding: 0;
    text-align: center;
}

body{
    margin: 0;
    padding: 0;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 400;
}

/*========== 共通 ==========*/
p{
    font-size: 15px;
    color: #4d4d4d;
    margin: auto;
    padding: auto;
}

h1{
    margin: 0;
    padding-top: 150px;
    padding-bottom: 30px;
    font-size: 36px;
    font-weight: 400;
    color: #4d4d4d;
}

h2{
    font-size: 36px;
    font-weight: 400;
    color: #4d4d4d;
}

h3{
    margin: 0;
    font-size: 20px;
    font-weight: 400;
    font-family: 'Noto Sans JP', sans-serif;
    color: rgb(255, 255, 255);
    background-color: #43a499;
    padding: 10px;
    border-radius: 20px;
}

#w1{
    background-color: #f2f2f2;
}

#w2{
    margin: auto;
    background-color: #ffffff;
}

#w3{
    background-color: #ffffff;
    padding-bottom: 150px;
}

#w4{
    background-color: #f2f2f2;
    padding-bottom: 150px;
}

/*========== メニュー ==========*/
nav{
 text-align: center;
 font-size: 15px;
}

nav ul{
 margin: 0 ;
 padding: 0 ;
}

nav ul li{
 list-style: none;
 display: inline-block;
 padding: 0 20px;
 min-width: 90px;
}

nav ul li a{
 text-decoration: none;
 color: #808080;
}

nav ul li.current a{
 color: #43a499;
}

nav ul li a:hover{
 color: #43a499;
}

/*========== ヘッダー ==========*/
header .logo1{
    padding-top: 200px;
    padding-bottom: 30px;
    font-size: 40px;
    font-family: "HG丸ｺﾞｼｯｸM-PRO", serif;
    font-weight: 400;
    font-style: normal;
    color: #43a499;
}

header .logo2{
    font-size: 100px;
    font-family: "HG丸ｺﾞｼｯｸM-PRO", serif;
    font-weight: 400;
    font-style: normal;
    color: #43a499;
}

header {
    height: 94vh;
    position: relative 
}

/*========== 企業理念 ==========*/
.rinen{
    margin: auto;
    width: 900px;
    padding: 105px 0;
    display:flex;/* flexbox */
    justify-content: space-between;
}

.rinen img{
    width: 430px;
}

.rinen h2{
    margin: 0;
    padding-bottom: 30px;
    text-align: left;
}

.rinen p{
    margin: 0;
    width: 430px;
    text-align: left;
}

.text{
    padding-top: 32px;
}

/*========== 各事業所リンク ==========*/
.snsw{
padding:150px 0 0px;
margin: auto;
}

.mainimg{
    height: 454px;
}

.mainimg img{
    margin: 0 30px;
    width: 480px;
}

.snscontents{
margin: auto;
height:720px;
display: inline-block;
}

.snsbtn{
position: relative;
z-index: 1;
}

.snsbtn img{
    max-width: 330px;
}

.btn1{
position:absolute;
top: 30px;
left:105px;
z-index: 2;
}

.btn2{
position:absolute;
top: 30px;
left:105px;
opacity: 0;
z-index: 3; 
}

.snsbtn:hover .btn1{
    display: none;
}

.snsbtn:hover .btn2 {
    opacity: 1;
}

/*========== 企業ビジョン ==========*/
.vcontents{
    margin: auto;
    width: 900px;
    padding: 105px 0;
    display:flex;/* flexbox */
    justify-content: space-between;
}

.vcontents img{
    width: 414px;
}

.vcontents h2{
    margin: 0;
    color: #43a499;
    padding-bottom: 20px;
}

.vcontents p{
    margin: 0;
    width: 430px;
    padding-top: 20px;
    text-align: left;
}

/*========== 会社概要 ==========*/
#koyoukeitai{
    max-width: 1680px;
    padding-bottom: 30px;
}
  
*, *:before, *:after {
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}
  
.koyou {
    max-width: 960px;
    margin: auto;
    text-align: left;
}

.koyou dl {
    margin: 0;
    padding: 20px 0;
    border-bottom: 1px solid #ccc;
}

.k_top{
    border-top: 1px solid #ccc;
}
  
.koyou dt {
    width: 200px;
    float: left;
    color: #5C5C5C;
    text-align:left;
    padding-left: 40px;
  }
  
.koyou dd{
    color: #5C5C5C;
    overflow: hidden;
}

/*========== フッター詳細 ==========*/
footer{
    max-width: 1680px;
    letter-spacing: 0.1em;
    line-height: 1.7em;
  }
  
  footer p{
    color: rgb(255, 255, 255);
  }
  
  .hidari{
    border-right:1px solid rgb(255, 255, 255);
  }
  
  #footerdown{
    font-weight: 400;
    padding: 11px;
    height: 52px;
  }

  #footerdown p{
      font-size: 12px;
  }


/*========== 各種背景 ==========*/
  /*グレー背景設定*/
.gray{
    background-color: #f7f7f7;
  }
  
  /*ピンク背景設定*/
  .bgpink{
    background-color: #999999;
    color: #fff;
  }
  
  /*濃いグレー背景設定*/
  .darkgray{
    background-color: #999999;
    color: #fff;
    padding-top: 180px;
  }

  .htext{
    color: #999999;
    font-size: 18px;
    margin: 0;
    position: absolute;
    top: 80%;
    left: 50%;
    margin-right: -50%;
    transform: translate(-50%, -50%)
  }

/*========= スクロールダウンのためのCSS ===============*/

/*=== 9-1-2 丸が動いてスクロールを促す ====*/

/*スクロールダウン全体の場所*/
.scrolldown2{
    /*描画位置※位置は適宜調整してください*/
  position:absolute;
  bottom:54px;
  left:50%;
}

/* 移動する四角の描写 */
.scrolldown2:before {
    content: "";
    /*描画位置*/
    position: absolute;
    z-index: 2;
    bottom:0;
    /*四角の形状*/
  width: 5px;
  height:10px;
  background:#43a499;
    /*四角の動き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;
  z-index: 1;
  bottom:-2px;
  left:0;
    /*線の形状*/
  width:5px;
  height: 55px;
  background:#cccccc;
}



/* 600px〜959px：タブレット
------------------------------ */
@media screen and (min-width:600px) and (max-width:1279px) {

}



/* 〜599px：スマホ縦・横
------------------------------ */
@media screen and (max-width:599px) {

/*========== 全体 ==========*/
#wrap{
    margin: 0;
    padding: 0;
    text-align: center;
}

body{
    margin: 0;
    padding: 0;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 400;
    text-align: center;
}

/*========== 共通 ==========*/
p{
    font-size: 15px;
    color: #4d4d4d;
    margin: auto;
    padding: auto;
}

h1{
    margin: 0;
    padding-top: 100px;
    padding-bottom: 30px;
    font-size: 36px;
    font-weight: 400;
    color: #4d4d4d;
}

h2{
    font-size: 36px;
    font-weight: 400;
    color: #4d4d4d;
}

h3{
    margin: auto;
    font-size: 20px;
    font-weight: 400;
    font-family: 'Noto Sans JP', sans-serif;
    color: rgb(255, 255, 255);
    background-color: #43a499;
    padding: 10px;
    border-radius: 20px;
    width: 95%;
}

#w1{
    background-color: #f2f2f2;
}

#w2{
    margin: auto;
    background-color: #ffffff;
}

#w3{
    background-color: #ffffff;
    padding-bottom: 150px;
}

#w4{
    background-color: #f2f2f2;
    padding-bottom: 150px;
}

/*========== メニュー ==========*/
nav{
    display: none;
 text-align: center;
 font-size: 15px;
}

nav ul{
 margin: 0 ;
 padding: 0 ;
}

nav ul li{
 list-style: none;
 display: inline-block;
 padding: 0 20px;
 min-width: 90px;
}

nav ul li a{
 text-decoration: none;
 color: #808080;
}

nav ul li.current a{
 color: #43a499;
}

nav ul li a:hover{
 color: #43a499;
}

/*========== ヘッダー ==========*/
header .logo1{
    padding-top: 200px;
    font-size: 30px;
    font-family: "HG丸ｺﾞｼｯｸM-PRO", serif;
    font-weight: 400;
    font-style: normal;
}

header .logo2{
    font-size: 50px;
    font-family: "HG丸ｺﾞｼｯｸM-PRO", serif;
    font-weight: 400;
    font-style: normal;
}

header {
    height: 94vh;
    position: relative 
}

/*========== 企業理念 ==========*/
.rinen{
    margin: auto;
    width: 100%;
    padding: 105px 0;
    display:block;/* flexbox */
    justify-content: space-between;
}

.rinen img{
    width: 80%;
}

.rinen h2{
    margin: auto;
    padding-bottom: 30px;
    text-align: center;
}

.rinen p{
    margin: auto;
    width: 90%;
}

.text{
    padding-top: 32px;
}

/*========== 各事業所リンク ==========*/
.snsw{
padding:150px 0 0px;
margin: auto;
}

.mainimg{
    height: 454px;
}

.mainimg img{
    margin: 0 30px;
    width: 80%;
}

.snscontents{
margin: auto;
height:500px;
display: inline-block;
}

.snsbtn{
position: relative;
z-index: 1;
}

.snsbtn img{
    max-width: 80%;
}

.btn1{
position:absolute;
top: -120px;
left:38px;
z-index: 2;
}

.btn2{
position:absolute;
top: -120px;
left:38px;
opacity: 0;
z-index: 3; 
}

.snsbtn:hover .btn1{
    display: none;
}

.snsbtn:hover .btn2 {
    opacity: 1;
}

/*========== 企業ビジョン ==========*/
.vcontents{
    margin: auto;
    width: 100%;
    padding:30px 0;
    display:block;/* flexbox */
    justify-content: space-between;
    text-align: center;
}

.vcontents img{
    display: none;
}

.vcontents h2{
    text-align: center;
    margin: auto;
    font-size: 26px;
    width: 90%;
    color: #43a499;
    padding-bottom: 20px;
}

.vcontents p{
    margin: auto;
    width: 90%;
    padding-top: 20px;
    text-align: left;
}

.vcontents h3{
    font-size: 100%;
}

/*========== 会社概要 ==========*/
#koyoukeitai{
    width: 90%;
    padding-bottom: 80px;
    margin: auto;
}
  
*, *:before, *:after {
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}
  
.koyou {
    max-width: 960px;
    margin: auto;
    text-align: left;
}

.koyou dl {
    margin: auto;
    padding: 20px 0;
    border-bottom: 1px solid #ccc;
}

.k_top{
    border-top: 1px solid #ccc;
}
  
.koyou dt {
    width: 100%;
    float: left;
    color: #43a499;
    text-align:left;
    padding-left: 40px;
  }
  
.koyou dd{
    width: 80%;
    color: #5C5C5C;
}

.koyou dd p{
    margin: 0;
    padding-bottom: 8px;
}

/*========== フッター詳細 ==========*/
footer{
    max-width: 1680px;
    letter-spacing: 0.1em;
    line-height: 1.7em;
  }
  
  footer p{
    color: rgb(255, 255, 255);
  }
    
  .hidari{
    border-right:1px solid rgb(255, 255, 255);
  }
  
  #footerdown{
    font-weight: 400;
    padding: 11px;
    height: auto;
  }

  #footerdown p{
      width: 80%;
      font-size: 12px;
  }


/*========== 各種背景 ==========*/
  /*グレー背景設定*/
.gray{
    background-color: #f7f7f7;
  }
  
  /*ピンク背景設定*/
  .bgpink{
    background-color: #cccccc;
    color: #fff;
  }
  
  /*濃いグレー背景設定*/
  .darkgray{
    background-color: #999999;
    color: #fff;
    padding-top: 180px;
  }

  .htext{
    color: #999999;
    font-size: 18px;
    margin: 0;
    position: absolute;
    top: 80%;
    left: 50%;
    margin-right: -50%;
    transform: translate(-50%, -50%)
  }

/*========= スクロールダウンのためのCSS ===============*/

/*=== 9-1-2 丸が動いてスクロールを促す ====*/

/*スクロールダウン全体の場所*/
.scrolldown2{
    /*描画位置※位置は適宜調整してください*/
  position:absolute;
  bottom:54px;
  left:50%;
}

/* 移動する四角の描写 */
.scrolldown2:before {
    content: "";
    /*描画位置*/
    position: absolute;
    z-index: 2;
    bottom:0;
    /*四角の形状*/
  width: 5px;
  height:10px;
  background:#43a499;
    /*四角の動き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;
  z-index: 1;
  bottom:-2px;
  left:0;
    /*線の形状*/
  width:5px;
  height: 55px;
  background:#cccccc;
}


}