@charset "utf-8";

/*
Theme Name: BILSTEIN
Description: BILSTEIN WPテーマ
Author: VALUE Drivers Inc
Version: 1.0
*/


html {
  font-family: '游ゴシック体', 'Yu Gothic', YuGothic, sans-serif;
  font-weight: 500;
}

body {
  background-image: url(common/img/bg_body.svg);
  background-size: 100%;
  background-repeat: no-repeat;
}

/*header*/

header {
  width: 100%;
  background-color: rgba(255, 255, 255, 0.8);
  border-bottom: 2px solid #014f89;
}

.header_inner {
  width: 1200px;
  max-width: 100%;
  margin: 0 auto;
  padding: 10px 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

header h1 {
  display: block;
}

.header_logo {
  width: 140px;
}

header .header_nav li {
  display: inline;
  font-size: 1.7rem;
  line-height: 1.6;
}
header .header_nav li:not(:last-child) {
  margin-right: 25px;
}

header .header_nav li a {
  color: #0094d8;
  text-decoration: none;
  -webkit-transition-duration: 0.2s;
  transition-duration: 0.2s;
}
header .header_nav li a:hover {
  color: #0095DB;
}

header .header_nav li ul.sns_btn {
  display: inline-block;
}

header .header_nav li ul.sns_btn li {
  font-size: 2.3rem;
}

/*main*/

main {
  width: 1200px;
  max-width: 100%;
  min-height: 80vh;
  margin: 0 auto;
  font-size: 1.8rem;
}

main p {
  line-height: 1.4;
}

main img {
  max-width: 100%;
  height: auto;
}

.head_img {
  position: relative;
  margin-bottom: 100px;
}

.head_img img {
  width: 100%;
  -o-object-fit: cover;
  object-fit: cover;
}

.head_img:after {
  position: absolute;
  content: "";
  bottom: 0;
  height: 25px;
  width: 100%;
  background-image: url(common/img/rote_line.svg);
  background-size: cover;
}

.head_img .page_info_wrap {
  width: 1200px;
  max-width: 100%;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 50px;
  margin: 0 auto;
}

.head_img .page_info {
  display: inline-block;
  padding: 30px;
  color: #fff;
  font-size: 1.6rem;
  background-color: #0094d8;
}

.head_img .page_info h1 {
  display: block;
  font-size: 3.4rem;
  font-weight: bold;
  margin-bottom: 15px;
}

.head_img .page_info p {
  font-size: 1.6rem;
}

/*footer*/

footer {
  width: 100%;
  margin-top: 80px;
  background-color: #004F89;
  padding: 10px;
  color: #fff;
}

footer small {
  display: block;
  text-align: center;
  font-size: 12px;
}


/*その他共通スタイル*/

/*親要素を超えて画面幅一杯に表示*/
.over_area {
  margin-right: calc(50% - 50vw);
  margin-left: calc(50% - 50vw);
}

/*ページネーション*/
.wp-pagenavi {
  text-align: center;
}

/*ウィンドウサイズが1200px以下の場合*/
@media screen and (max-width:1200px) {
  
  .header_inner {
    padding: 10px 4%;
  }
  
  main {
    padding: 0 4%;
  }
  
}


/*ウィンドウサイズが960px以下の場合*/
@media screen and (max-width:960px) {
  .header_nav {
    margin-left: 15px;
  }
  .head_img:after {
    position: absolute;
    content: "";
    bottom: 0;
    height: 25px;
    width: 100%;
    background-image: url(common/img/rote_line.svg);
    background-size: cover;
  }
  .head_img .page_info_wrap {
    left: 0;
    top: 45px;
    margin: auto;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
  }
  .head_img .page_info {
    display: block;
    padding: 0 4%;
    background-color: transparent;
    text-align: center;
    text-shadow:0px 0px 3px #666;
  }
  .head_img .page_info h1 {
    font-size: 3rem;
  }
  .head_img .page_info p {
    font-size: 1.4rem;
  }
}


/*ウィンドウサイズが600px以下の場合*/
@media screen and (max-width:600px) {
  .header_logo {
    width: 100px;
    display: inline;
  }
  header .hm_btn {
    color: #0094d8;
    font-size: 4rem;
    text-align: center;
    position: relative;
  }
  header .header_nav {
    position: absolute;
    left: 0;
    z-index: 99;
    width: 100%;
    margin-top: 10px;
    margin-left: 0;
    padding: 0 4%;
  }
  header .header_nav li {
    display: block;
    font-size: 1.8rem;
    text-align: center;
    width: 100%;
    border-bottom: 1px solid #fff;
  }
  header .header_nav li:not(:last-child) {
    margin-right: 0;
  }
  header .header_nav li a {
    display: block;
    padding: 1.5rem 0.5rem;
    color: #fff;
    background-color: #0095DB;
    text-decoration: none;
    -webkit-transition-duration: 0.2s;
    transition-duration: 0.2s;
  }
  header .header_nav li a:hover {
    color: #0095DB;
    background-color: #fff;
    outline: 1px solid #0095DB;
  }
  header .header_nav li ul.sns_btn {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    border-bottom: none;
  }
}