@import url(https://fonts.googleapis.com/earlyaccess/notosansjp.css);

.pc{display: block;}
.sp{display: none;}

html{
  scroll-behavior: smooth;
}

body{
  background-color: #fff;
  font-family:'Noto Sans JP',"游ゴシックMedium",YuGothic,YuGothicM,"Hiragino Kaku Gothic ProN","Hiragino Kaku Gothic Pro",メイリオ,Meiryo,sans-serif;}

body{
  background: #fff;
  color: #404040;
  font-size: 14px;
  font-weight: 400;
  min-width:1080px;/*見切れ防止*/
}

/* コンテンツエリア */
section{
  width: 100%;
  padding: 60px 0;
}

.container_large{
  width:1080px;
  margin: 0 auto;
}

.container_medium{
  width:960px;
  margin: 0 auto;
}

h2{
  font-size: 50px;
  font-family: 'Roboto Condensed', sans-serif;
  text-align: center;
  color: #007CA4;
  margin-bottom: 60px;
}
h2 span{
  display: block;
  font-size: 21px;
  color: #74B8CE;
  font-weight: 700;
  font-family:'Noto Sans JP',"游ゴシックMedium",YuGothic,YuGothicM,"Hiragino Kaku Gothic ProN","Hiragino Kaku Gothic Pro",メイリオ,Meiryo,sans-serif;
  line-height: 1.3;
}

/* ヘッダー */
header{
  width: 100%;
  height: 135px;
  padding: 35px 4%;
  background: #74B8CE;
}

h1{
  width: 300px;
  float: left;
  margin-top: -10px;
}

/* ヘッダーナビ */
nav{
  float: right;}

nav ul.menu{
  display: flex;}

nav ul.menu > li{
  position: relative;}

nav ul.menu > li > ul{
  position: absolute;}

nav ul.menu > li:hover > ul{
  visibility: visible;
  opacity: 1;
  -webkit-transition: all .5s ease;
  transition: all .5s ease;
  }

nav ul.menu > li > a{
  height: 57px;
  padding: 16px 22px;
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 20px;
  display: flex;
  color: #FFF;}

  nav ul.menu > li:hover {
    background: #007CA4;
    -webkit-transition: all .5s;
    transition: all .5s;
  }

nav ul.menu > li > ul{
  visibility: hidden;
  opacity: 0;
  z-index: 1;
/*    min-width: max-content; */
    min-width: 280px;
  }
  nav ul.menu > li > ul li a{
    height: auto;
    background: #FFF;
    color: #007CA4;
    font-size: 14px;
    line-height: 1.6;
    font-weight: 700;
    border-left: 1px solid #E4E4E4;
    border-right: 1px solid #E4E4E4;
    border-bottom: 1px solid #E4E4E4;
    padding: 14px 20px;
    display: block;
  }
  nav ul.menu > li > ul li a:hover {
    background: #007CA4;
    color: #FFF;
    -webkit-transition: all .2s ease;
    transition: all .2s ease;
    border-left: 1px solid #007CA4;
    border-right: 1px solid #007CA4;
    border-bottom: 1px solid #E4E4E4;
  }

/* フッター */
footer{
  background: #F2F2F2;
  width: 100%;
  padding: 35px 3%;
  position: relative;
}

div.footer_logo{
  float: left;
}

div.footer_menu{
  float: right;
  display: flex;
  font-size: 12px;
  margin: 60px 0;
}
div.footer_menu ul{
  margin: 0 25px;
}
div.footer_menu p{
  font-size: 14px;
  font-weight: bold;
}
div.footer_menu ul li{
  padding: 0.5em 0
}
div.footer_menu a:hover{
  text-decoration: underline;
}
div.footer_menu ul:first-child li{
  font-size: 14px;
}
div.footer_menu ul:nth-child(2) li:nth-child(9){
  margin-top: 1.5em;
}

div.copyright{
  clear: both;
  font-size: 10px;
}

/* PAGE_TOP */
#page_top{
  position: fixed;
  height: 70px;
  bottom:60px;
  right: 28%; /* 40px */
}

/* =========== ADD =========== */
header{
  backface-visibility: hidden;
}
@media screen and (max-width: 2480px) { #page_top{ right: 24%;  } }
@media screen and (max-width: 2160px) { #page_top{ right: 20%;  } }
@media screen and (max-width: 1980px) { #page_top{ right: 18%;  } }
@media screen and (max-width: 1720px) { #page_top{ right: 12%;  } }
@media screen and (max-width: 1560px) { #page_top{ right: 10%;  } }
@media screen and (max-width: 1320px) { #page_top{ right: 40px; } }

.headerCtrl{
  max-width:1180px;
  margin: 0 auto;
}
/*
body {
  transform-origin: 0 0;
  overflow-x: hidden;
}
html{ height:100%; }
*/
@media screen and (max-width: 1096px) {

  .open-popup-link{

	cursor:default;
    pointer-events: none;
  }
}

/* =========== ADD =========== */

@media screen and (max-width: 768px) {
  .pc{display: none;}
  .sp{display: block;}

  body{
      min-width: 100%;
/*      cursor: pointer;    削除  */
  }

  /* コンテンツエリア */
  section{
    padding: 30px 0;
  }
  .container_large{
    width:90%;
  }
  .container_medium{
    width:90%;
  }
  h2{
    font-size: 40px;
    margin-bottom: 20px;
    line-height: 1;
  }
  h2 span{
    display: block;
    font-size: 18px;
    line-height: 1.3;
  }

  /* ヘッダー */
  header{
    width: 100%;
    height: 80px;
    padding: 0 5%;
  }
  h1{
    width: 200px;
    margin-top: 15px;
  }

  h1 img{
    width: 100%;
  }

  /* SP MENU */
  /*
  Zarigani Design Office Drawer Menu
  Copyright 2018 Zarigani Design Office
  Customized by minimalgreen

  Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

  The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
  */

  /* メニュー展開時の背景 */
  .drawer_menu .drawer_bg {
    width: 100%;
    height: 100%;
    position: fixed;
    z-index: 999;
    background-color: rgba(0,0,0,0.6);
    display: none;
    top: 0;
    left: 0;
  }
  /* ハンバーガーボタンエリア */
  .drawer_menu .drawer_button {
    background-color: rgba(116,184,206,1);
    display: block;
    width: 58px;
    padding: 4px 12px;
    position: fixed;
    top: 16px;
    right: 16px;
    z-index: 1001;
  }
  /* ハンバーガーメニュー三本線 */
  .drawer_menu .drawer_button .drawer_bar {
    display: block;
    background-color: #FFF;
    height: 3px;
    margin: 8px 0;
    transition: all 0.2s;
    transform-origin: 0 0;
    border-radius: 3px;
  }
  .drawer_menu .drawer_button.active{
    background-color: rgba(116,184,206,0);
  }
  .drawer_menu .drawer_button.active .drawer_bar{
    width:36px;
  }
  .drawer_menu .drawer_button.active .drawer_bar1 {
    transform: rotate(45deg);
    background-color: #F7CA46;
    margin-left: 16px;
    margin-top: 0px
  }
  .drawer_menu .drawer_button.active .drawer_bar2 {
    opacity: 0;
  }
  .drawer_menu .drawer_button.active .drawer_bar3 {
    transform: rotate(-45deg);
    background-color: #F7CA46;
    margin-top: 12px;
    margin-left: 14px;
  }
  /* メニュー背景 */
  .drawer_menu .drawer_nav_wrapper {
    width: 90%;
    height: 100%;
    transition: all 0.2s;
    transform: translate(100%);
    position: fixed;
    top: 0;
    right: 0;
    z-index: 1000;
    background-color: #FFF;
    overflow-x: hidden;
    overflow-y: auto;
  }
  .drawer_menu .drawer_nav_wrapper.open {
    transform: translate(0);
  }

  /* メニュー1階層目 */
  .drawer_menu .drawer_nav {
    position: relative;
    margin-top: 80px;
    margin-left: 30px;
    margin-bottom: 30px;
    padding-right: 5%;
    display: flex;
    flex-wrap: wrap;
  }
  .drawer_menu .drawer_nav > li {
    position: relative;
    width: 100%;
    min-height: max-content;
    margin: 0;
    border-bottom: 1px solid #E4E4E4;
    padding: 12px 0;
  }
  .drawer_menu .drawer_nav li p{
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 20px;
    color: #007CA4;
    line-height: 1;
    overflow-wrap:  break-word;
  }
  .drawer_menu .drawer_nav li p > span{
    font-size: 12px;
    color: #74B8CE;
    font-weight: 700;
    line-height: 1.2;
    display: block;
    margin-top: 0.5em;
  }

/* =========== ADD =========== */
  .touch-btn{
      cursor: pointer; 
  }
/* =========== ADD =========== */

  .touch-btn i{
    position: absolute;
    top: 6px;
    right: 6px;
    display: block;
    z-index: 10;
    width: 50px;
    height: 50px;
    text-align: right;
    vertical-align:top;
  }
  .touch-btn .fa-chevron-down{
    color: #007CA4;
    display: block;
    margin-top: 18px;
    font-size: 16px;
  }
  /* メニュー2階層目 */
  .drawer_menu .drawer_nav li ul.second-level {
    display: none;
    position: relative;
    padding: 0;
    z-index: 1001;
    margin-left: 20px;
  }
  .drawer_menu .drawer_nav li ul.second-level li{
    font-size: 14px;
    color: #007CA4;
    font-weight: 700;
    line-height: 1.4;
    padding: 8px 20px;
  }
  .drawer_menu .drawer_nav li ul.second-level li:first-child {
    margin-top: 16px;
  }
  .drawer_menu .drawer_nav li ul.second-level li:last-child {
    margin-bottom: 16px;
  }
  /* メニュー半分サイズ */
  .drawer_menu .drawer_nav > li:nth-child(n+5){
    min-height: 86px;
  }
  .drawer_menu .drawer_nav > li:nth-child(n+5):nth-child(odd){
    width: 46%;
  }
  .drawer_menu .drawer_nav > li:nth-child(n+5):nth-child(even){
    width: 54%;
    border-left: 1px solid #E4E4E4;
    padding-left: 14px;
  }
  /* フッター */
  footer{
    padding: 30px;
    text-align: center;
  }
  div.footer_logo{
    float: none;
  }
  div.footer_menu{
    float: none;
    font-size: 12px;
    margin: 50px 0 30px 0;
  }
  div.footer_menu ul{
    margin: 0;
    display: flex;
    margin: 0 auto;
  }
  div.footer_menu ul li{
    padding: 0 1.5em;
  }
  div.footer_menu ul li:first-child{
    border-right: 1px solid #404040
  }

}

/* 共通ここまで */
