
/*
* cmn_layout.css
*
*/

body {
  font-family: 'Noto Sans JP', sans-serif, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro","メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", Arial, Helvetica, Verdana, sans-serif;
  -webkit-text-size-adjust: 100%;
  background: #fff;
  color: #333333;
  text-align: center;
  line-height: 100%;
  word-wrap: break-word;
}

.overpass {
  font-family: 'Overpass', sans-serif;
}

#wrapper,
#contents {
  position: relative;
  width: 100%;
  margin:0 auto;
  padding:0;
  overflow: hidden;
}

a{
  color: #333333;
  text-decoration: none;
}



/* フォーム共通 */
.input-error {
  display: none;
  margin: 10px 0 0 0;
  color: #e60012;
}

.error-disp {
  display: block !important;
}


/*===============================================
●画面の横幅が813px以上(タブレット・PC)
===============================================*/
@media screen and (min-width: 813px) {

  #wrapper{
    min-width: 1080px;
  }

  /* !共通
  ---------------------------------------------------------- */
  .pcNone{
    display:none !important;
  }

  a:hover{
    opacity: 0.8;
  }

  .list-flex{
    display:-webkit-box !important;
    display:-moz-box !important;
    display:-ms-box !important;
    display:-webkit-flexbox !important;
    display:-moz-flexbox !important;
    display:-ms-flexbox !important;
    display:-webkit-flex !important;
    display:-moz-flex !important;
    display:-ms-flex !important;
    display:flex !important;
    -webkit-box-lines:multiple !important;
    -moz-box-lines:multiple !important;
    -webkit-flex-wrap:wrap !important;
    -moz-flex-wrap:wrap !important;
    -ms-flex-wrap:wrap !important;
    flex-wrap:wrap !important;
  }

  h2 {
    margin: 0 auto;
    font-size: 40px;
    font-weight: bold;
    line-height: 100%;
    letter-spacing: 0.08em;
  }

  span.title-line {
    display: block;
    width: 250px;
    margin: 20px auto;
    border-top: #333333 2px solid;
  }

  h3 {
    margin: 0 auto;
    font-size: 20px;
    font-weight: bold;
    line-height: 100%;
    letter-spacing: 0.08em;
  }


  /* !header ヘッダー
  ---------------------------------------------------------- */
  header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    min-width: 1080px;
    height: 80px;
    margin: 0 auto;
    background-color: #fff;
    border-bottom: 1px #333333 solid;
    z-index: 999;
  }

  header > div.header-logo {
    position: absolute;
    top: 18px;
    left: 40px;
    width: 260px;
  }

  header > div.header-logo > a > p:nth-of-type(1) {
    font-size: 20px;
    font-weight: bold;
    text-align: left;
    line-height: 100%;
  }

  header > div.header-logo > a > p:nth-of-type(2) {
    margin: 10px 0 0 0;
    font-size: 16px;
    font-weight: bold;
    text-align: left;
    line-height: 1
  }

  /* メニュー */
  header > ul {
    position: absolute;
    top: 30px;
    right: 40px;
    font-size: 0;
    display: inline-block;
  }

  header > ul > li {
    display: inline-block;
    height: 33px;
    margin: 0 0 0 25px;
  }

  header > ul > li > a {
    display: block;
    height: 33px;
    padding: 10px 0 0 0;
    font-size: 14px;
    font-weight: bold;
  }

  header > ul > li > a:hover {
    border-bottom: #004fa7 3px solid;
  }


  /* コンテンツ部分
  ---------------------------------------------------------- */
  #contents{
    width:100%;
    min-width: 1080px;
  }

  a {
    opacity: 1;
    filter: alpha(opacity=100);
    -ms-filter: "alpha(opacity=100)";
    zoom: 1;
    transition: opacity 0.5s ease;
  }



  /* contact-box
  ---------------------------------------------------------- */
  .contact-box {
    width: 100%;
    margin: 0 auto 200px;
    padding: 60px 0 0 0;
  }

  .contact-box > p:nth-of-type(1) {
    margin: 40px auto;
    font-size: 20px;
    line-height: 100%;
  }

  .contact-box > div.tel-box {
    width: 700px;
    margin: 55px auto 0 auto;
    padding: 60px 0;
    font-size: 50px;
    color: #ffffff;
    font-weight: bold;
    line-height: 1;
    background-color: #F39800;
  }

  .contact-box > div.tel-box > span:nth-of-type(1) {
    margin-right: 10px;
    font-size: 30px;
  }


  /* フッター
  ----------------------------------------------------------*/
  footer {
    width: 100%;
    height: 160px;
    margin: 0 auto;
    background-color: #005B98;
  }

  footer > div {
    position: relative;
    width: 960px;
    height: 180px;
    margin: 0 auto;
    padding: 30px 0 0 0;
    font-size: 14px;
    color: #fff;
    line-height: 100%;
    text-align: left;
  }

  footer > div > p:nth-of-type(1) {
    font-size: 24px;
  }

  footer > div > p:nth-of-type(2) {
    margin: 15px 0 0 0;
  }

  footer > div > p:nth-of-type(3) {
    margin: 20px 0 0 0;
  }

  footer > div > p:nth-of-type(4) {
    margin: 10px 0 0 0;
  }

  footer > div > small {
    position: absolute;
    bottom: 50px;
    right: 0;
    font-size: 12px;
    color: #fff;
    line-height: 100%;
  }


  /* 今すぐ相談予約する
  ----------------------------------------------------------*/
  .gotoForm {
    display: none;
    position: fixed;
    top: 0;
    bottom: 0;
    right: 0;
    margin: auto;
    width: 80px;
    height: 350px;
    z-index: 9999;
  }

  .gotoForm > a {
    display: block;
    width: 80px;
    height: 350px;
  }

  .gotoForm > a:hover {
    opacity: 1;
  }

  .gotoForm > a > img {
    width: 80px;
    height: 350px;
  }

}


/*===============================================
●画面の横幅が812px以下(スマホのみ)
===============================================*/
@media screen and (max-width: 812px) {

  body {
    font-size: 16px;
  }


  /* !共通
  ---------------------------------------------------------- */
  .spNone{
    display:none !important;
  }

  .sp-list-flex{
    display:-webkit-box !important;
    display:-moz-box !important;
    display:-ms-box !important;
    display:-webkit-flexbox !important;
    display:-moz-flexbox !important;
    display:-ms-flexbox !important;
    display:-webkit-flex !important;
    display:-moz-flex !important;
    display:-ms-flex !important;
    display:flex !important;
    -webkit-box-lines:multiple !important;
    -moz-box-lines:multiple !important;
    -webkit-flex-wrap:wrap !important;
    -moz-flex-wrap:wrap !important;
    -ms-flex-wrap:wrap !important;
    flex-wrap:wrap !important;
  }


  h2 {
    margin: 0 auto;
    font-size: 20px;
    font-weight: bold;
    line-height: 100%;
    letter-spacing: 0.08em;
  }

  span.title-line {
    display: block;
    width: 200px;
    margin: 15px auto;
    border-top: #333333 2px solid;
  }

  h3 {
    margin: 0 auto;
    font-size: 14px;
    font-weight: bold;
    line-height: 100%;
    letter-spacing: 0.08em;
  }


  /*------------------------------------
  clearfix
  --------------------------------------*/
  .clearfix-sp {
    zoom:1;
    overflow:hidden;
  }
  .clearfix-sp:after {
    content: " ";
    display: block;
    visibility: hidden;
    clear: both;
    height: 0;
    line-height: 0;
  }


  /* !header ヘッダー
  ---------------------------------------------------------- */
  header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 50px;
    margin: 0 auto;
    padding: 6px 0 0 20px;
    background-color: #fff;
    z-index: 999;
    box-shadow: 0px 5px 5px -5px rgba(0,0,0,0.5);
  }

  header > div.header-logo {
    width: 220px;
    text-align: left;
  }

  header > div.header-logo a {
    display: block;
  }

  header > div.header-logo a > p:nth-of-type(1) {
    font-size: 16px;
    font-weight: bold;
    line-height: 100%;
  }

  header > div.header-logo a > p:nth-of-type(2) {
    margin: 5px 0 0 0;
    font-size: 12px;
    line-height: 100%;
  }

  header > div.sp-menu {
    position: absolute;
    top: 0;
    right: 0;
    width: 50px;
    height: 50px;
    background-color: #005B98;
  }

  header > div.sp-menu span {
    position: absolute;
    left: 0;
    right: 0;
    margin: 0 auto;
    width: 70%;
    height: 2px;
    background-color: #fff;
    border-radius: 2px;
  }

  header > div.sp-menu,
  header > div.sp-menu span {
    display: inline-block;
    transition: all .5s;
    box-sizing: border-box;
  }
  header > div.sp-menu span:nth-of-type(1) {
    top: 15px;
  }
  header > div.sp-menu span:nth-of-type(2) {
    top: 25px;
  }
  header > div.sp-menu span:nth-of-type(3) {
    top: 35px;
  }

  header > div.sp-menu.active span:nth-of-type(1) {
    -webkit-transform: translateY(10px) rotate(-45deg);
    transform: translateY(10px) rotate(-45deg);
  }
  header > div.sp-menu.active span:nth-of-type(2) {
    opacity: 0;
  }
  header > div.sp-menu.active span:nth-of-type(3) {
    -webkit-transform: translateY(-10px) rotate(45deg);
    transform: translateY(-10px) rotate(45deg);
  }


  /* #menu メニュー
  ---------------------------------------------------------- */
  #menu-sp {
    display: none;
    position: fixed;
    top: 50px;
    left: 0;
    width:100%;
    height: 100%;
    z-index:99998;
    /*background-color: rgba(0,0,0,0.8);*/
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  #menu-sp > ul {
    width: 100%;
    height: 100%;
    padding: 0 0 200px 0;
    overflow-y: auto;
  }

  #menu-sp > ul > li {
    width: 100%;
    margin: 0 auto;
    text-align: center;
    background-color: #005B98 !important;
    border-bottom: #fff 1px solid;
  }

  #menu-sp > ul > li > a {
    font-family: 'Kosugi Maru', sans-serif;
    display: block;
    padding: 20px 0;
    font-size: 12px;
    color: #fff;
    line-height: 100%;
  }


  /* contact-box
  ---------------------------------------------------------- */
  .contact-box {
    width: 100%;
    margin: 0 auto 100px;
    padding: 30px 0 0 0;
  }

  .contact-box span.title-line {
    width: 130px;
  }

  .contact-box > p:nth-of-type(1) {
    margin: 30px auto;
    font-size: 14px;
    line-height: 160%;
  }

  .contact-box > div.tel-box {
    width: 94%;
    margin: 35px auto 0 auto;
  }

  .contact-box > div.tel-box {
    width: 94%;
    max-width: 400px;
    margin: 35px auto 0 auto;
    padding: 40px 0;
    font-size: 30px;
    color: #ffffff;
    font-weight: bold;
    line-height: 1;
    background-color: #F39800;
  }

  .contact-box > div.tel-box > span:nth-of-type(1) {
    margin-right: 5px;
    font-size: 20px;
  }

  .contact-box > div.tel-box > a {
    color: #ffffff;
    line-height: 1;
  }


  /* フッター
  ----------------------------------------------------------*/
  footer {
    width: 100%;
    margin: 0 auto;
    padding: 30px 0 80px 0;
    background-color: #005B98;
  }

  footer > div {
    position: relative;
    width: 94%;
    margin: 0 auto;
    font-size: 14px;
    color: #fff;
    line-height: 100%;
  }

  footer > div > p:nth-of-type(1) {
    font-size: 20px;
  }

  footer > div > p:nth-of-type(2) {
    margin: 15px 0 0 0;
  }

  footer > div > p:nth-of-type(3) {
    margin: 20px 0 0 0;
  }

  footer > div > p:nth-of-type(4) {
    margin: 10px 0 0 0;
  }

  footer > div > p:nth-of-type(4) a {
    color: #fff;
  }

  footer > div > small {
    display: block;
    margin: 30px auto 0 auto;
    font-size: 12px;
    color: #fff;
    text-align: center;
    line-height: 100%;
  }


  /* 今すぐ相談予約する
  ----------------------------------------------------------*/
  .gotoForm {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background-color: #F29800;
    z-index: 999999;
  }

  .gotoForm > a {
    position: relative;
    display: block;
    width: 100%;
    height: 60px;
    padding: 23px 0 0 0;
  }

  .gotoForm > a:hover {
    opacity: 1;
  }

  .gotoForm > a > span.txt {
    display: inline-block;
    position: relative;
    margin: 0 20px 0 0;
    font-size: 16px;
    font-weight: bold;
    color: #fff;
    line-height: 100%;
  }

  .gotoForm > a > span.arrow {
    position: absolute;
    top: 5px;
    bottom: 0;
    left: 200px;
    right: 0;
    margin: auto;
    content: '';
    width: 20px;
    height: 20px;
    background: #fff;
    border-radius: 50%;
  }

  .gotoForm > a > span.arrow::after {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    content: '';
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 6px 6px 0 6px;
    border-color: #F29800 transparent transparent transparent;
  }


}
