@import url(https://fonts.googleapis.com/earlyaccess/notosansjp.css);
@import url(https://fonts.googleapis.com/css?family=Modern+Antiqua);

/* reset */
body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,textarea,p,blockquote,th,td{margin:0;padding:0;}
address,caption,cite,code,dfn,em,strong,th,var{font-style:normal;}
ul{list-style:none;}
table{border-collapse:collapse;border-spacing:0;}
caption,th{text-align:left;}
q:before,q:after{content:'';}
object,embed{vertical-align:top;}
legend{display:none;}
h1,h2,h3,h4,h5,h6{font-size:100%;}
img,abbr,acronym,fieldset{border:0;}

body{
  font: 14px/1.9 'Noto Sans JP', Arial, Verdana, 游ゴシック, YuGothic,'ヒラギノ角ゴ ProN W3', 'Hiragino Kaku Gothic ProN', メイリオ, Meiryo,sans-serif;
  font-weight: 300;
  -webkit-text-size-adjust:100%;
  overflow-x: hidden;
  color: #000;
  background: #fff;
}

a{
  color: #0066ff;
  text-decoration: none;
}

a:hover, .active{
  text-decoration: underline;
}

a:active, a:focus,input:active, input:focus{outline:0;}





/* ヘッダー
------------------------------------------------------------*/


.mainvisual {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9; /* ←★ 重要：画像に一定の高さを与える */
  overflow: hidden;
}

.mainvisual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

#slogan {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  text-align: center;
  padding: 0 5vw;
  width: 100%;
  max-width: 1000px;
  box-sizing: border-box;
  word-wrap: break-word;
}

#slogan h1, #slogan h2 {
  margin: 0 auto;
  word-break: keep-all;
  white-space: normal;
  line-height: 1.4;
}

#slogan h1 {
  font-size: clamp(20px, 3.2vw, 36px);
  font-weight: bold;
  margin-bottom: 0.8em;
  font-family: 'Shippori Mincho B1', cursive;
  text-shadow: 65px 0px 30px rgba(0, 0, 0, 1);
  margin-top: 40px;
}

#slogan h2 {
  font-size: clamp(14px, 2.4vw, 24px);
  font-weight: bold;
  font-family: 'Shippori Mincho B1', cursive;
  text-shadow: 65px 0px 30px rgba(0, 0, 0, 1);
  margin-top: 40px;
}





#mainnav a{
  color: #000;
  font-family: 'Josefin Sans', 'Noto Sans JP',serif;
}

#header img{
    position:absolute;
    left:50%;
    width:1280px;
    height:568px;
    margin-left:-640px;
}


/* フッター
------------------------------------------------------------*/
#footer{
  clear: both;
  padding: 50px 10px 50px 0;
  text-align: center;
  font-size: 12px;
}


/* 共通
------------------------------------------------------------*/
h1, h2{
  font-family: 'Josefin Sans', 'Noto Sans JP',serif;
}

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

section{
  clear: both;
}

section h2{
  width: 60%;
  margin: 70px auto;
  font-size: 22px;
  font-weight:normal;
  text-align: center;
}

section h2 span {
  padding-bottom: 2px;
  border-bottom: 3px solid #000;
}

.inner{
  width: 80%;
  margin: 0 auto;
  padding-bottom: 50px;
}

#sec03 .inner, #sec04 .inner{
  border-bottom: 1px solid #a0a0a0;
}

.innerS{
  width: 60%;
  margin: 0 auto;
  padding-bottom: 80px;
}


.center_txt {
  text-align: center;
  display: inline-block;
  width: 100%;
}

.left_txt{
  text-align: left;
  margin-left: 24%;
  margin-right: 24%;
}

.plan_name {
  text-align: center;
  align-items: center;
  justify-content: center;
}

.planname_txt {
  font-size: 1.2em;
  font-weight: bold;
}

.plan_price {
  text-align: center;
  font-weight: bold;
}

.bold_txt {
  font-weight: bold;
}

/* SEC01 MESSAGE
------------------------------------------------------------*/

#sec01 img {
  max-width: 100%;
  height: auto;
  display: block;
}



/* SEC02 features
------------------------------------------------------------*/
#sec02{
  padding: 0 !important;
}

#sec02 header{
  /*display: none; */
}

#features{
  overflow: hidden;
}

#features li{
  float: left;
  width: calc(100%/3);
  line-height: 0;
}
#features li.full{
  width: 100%;
}


#features img{
  display: block;
  width: 100%;
  height: auto;
}


/* SEC03 プラン
------------------------------------------------------------*/
.col3 .img{
  margin: 0 auto;
}

.col3 span {
  display: inline-block;
}

/* SEC04 オプション
------------------------------------------------------------*/
#sec04{
  padding-bottom: 0 !important;
}

.article{
  clear: both;
  overflow: hidden;
  padding-bottom: 50px;
  align-items: center;
  justify-content: center;
}

.article img{
  display: block;
  width: 80%;
  height: auto;
  margin-bottom: 20px;
  margin: 0 auto 20px;
}

.article p{
  margin-bottom: 20px;
  margin-left: 20px;
}


.article-inner {
  width: 60%;
  margin: 0 auto;
  text-align: left;
}

.article-inner img {
  display: block;
  width: 100%;
  height: auto;
  margin-bottom: 20px;
}

.article-inner p {
  margin: 0;
}



/* SEC05 組織
------------------------------------------------------------*/
#sec05 p{
  margin-bottom: 5px;
}

.col2 li{
  display: inline-block;
  width: 100%;
  margin: 20px 0;
}

#map{
  position: relative;
  padding-bottom: 75%;
  height: 0;
  overflow: hidden;
  z-index: 0;
}

#map iframe{
  position: absolute;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
  border: 0;
}



/* RESPONSIVE 設定
------------------------------------------------------------*/

@media only screen and (min-width: 800px){
  body{
    font-size:14px;
  }
  
  #wrapper{
    width: 100%;
  }
  
#content {
  all: unset;
  width: 80%;
  display: block;
  margin-right: 16%; /* サイドバー分 */
}
  
  #sidebar{
    width: 12%;
    position: fixed;
    top: 0;
    right: 4%;
    background: #fff;
  }
  
  a#menu{
    display:none;
  }  

  .panel{
    display:block !important;
  }
  
  #sidebar h1{
    padding: 30px 0;
  }

  #mainnav li{
    font-size: 14px;
    padding: 10px 0;
  }
  
  #sns{
    margin-top: 50px;
  }
  
  #sns li{
    display: inline-block;
    padding-right: 10px;
  }

  #sns a:hover img{
    opacity: .8;
  }


/* HEADER
  -----------------*/
  
  #slogan h1{
    font-size: 31px;
     margin-top: 40px;
  }

  #slogan h2{
    font-size: 16px;
     margin-top: 40px;
  }

#slogan{
  position: absolute;
  width: 80%;
}

/* SEC01 概要
  -----------------*/
 
  
  /* SEC03 プラン
  -----------------*/
  .col3{
    text-align: center;
  }
  
  .col3 li{
    display: inline-block;
    width: 36%;
    padding: 0 3%;
    vertical-align: top;
    text-align: left;
  }
  


.center_txt{
  text-align: center;
  margin-left: 0%;
  margin-right: 0%;
}

.left_txt{
  margin-left: 0%;
  margin-right: 0%;
}

  #map iframe{
    height: 200px !important;
  }
  
  #footer{
    padding: 30px 10px 70px 0;
  }
}


@media only screen and (min-width: 641px){
  .col2 li{
    width: 60%;
    vertical-align: top;
  }
  .col2 li:first-child{
    width: 35%;
    padding-right: 4%;
  }
}

@media only screen and (max-width: 640px){
.innerS{
  width: 94%;
  padding-bottom: 30px;
}
#features li{
  float: none;
  width: 100%;
}

.article img{
  float: center;
  display: block;
  margin: 0 auto 20px;
}

#map iframe{
  width: 96% !important;
  left: 2%;
}

#slogan h1 {
  font-size: 1.5rem;
  margin-top: 80px;
}

#slogan h2 {
  font-size: 1rem;
  margin-top: 30px;
}

}

@media only screen and (max-width: 799px){
  #sidebar{
  position: fixed;
  width: 100%;
  z-index:500;
  }
  
  #sidebarWrap{
  position: relative;
    width: 100%;
  height: 60px;
  background: #fff;
  border-bottom: 1px solid #ccc;
  }
 
 #content {
  padding-top: 60px;
}
 
 .mainvisual {
  position: relative;
  z-index: 0;
  margin-top: 0px;
}
 
  
  #sidebar h1{
    text-align: center;
    padding-top: 15px;
  }
  
  #sidebar h1 img{
    width: auto !important;
    max-height: 50px;
  }
  
  a#menu{
    display: inline-block;
    position: relative;
    width: 40px;
    height: 40px;
    margin: 10px;
  }

  #menuBtn{
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 18px;
    height: 2px;
    margin: -1px 0 0 -7px;
    background: #000;
    transition: .2s;
  }

  #menuBtn:before, #menuBtn:after{
    display: block;
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 18px;
    height: 2px;
    background: #000;
    transition: .3s;
  }

  #menuBtn:before{
    margin-top: -7px;
  }

  #menuBtn:after{
    margin-top: 5px;
  }

  a#menu .close{
    background: transparent;
  }

  a#menu .close:before, a#menu .close:after{
    margin-top: 0;
  }

  a#menu .close:before{
    transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
  }

  a#menu .close:after{
    transform: rotate(-135deg);
    -webkit-transform: rotate(-135deg);
  }

  .panel{
    width: 100%;
    display: none;
    overflow: hidden;
    position: relative;
    left: 0;
    top: -10px;
    z-index: 100;
  }

  #mainnav{
    position: absolute;
    top: 0;
    width: 100%;
    text-align: right;
  }

  #mainnav ul{
    border-bottom: 1px solid #ccc;
    background: #fff;
    text-align: left;
  }

  #mainnav li a{
    position: relative;
    display: block;
    padding: 15px 25px;
    border-bottom: 1px solid #ccc;
    color: #000;
    font-weight: 400;
  }
  #mainnav li a:before{
    display: block;
    content: "";
    position: absolute;
    top: 50%;
    left: 5px;
    width: 6px;
    height: 6px;
    margin: -4px 0 0 0;
    border-top: solid 2px #000;
    border-right: solid 2px #000;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
  }
  #mainnav #sns li{
    display: inline-block;
  }
  #mainnav #sns li a{
    position: relative;
    display: inline-block;
    padding: 15px 10px 0;
    border: 0;
  }
  #mainnav #sns li a:before{
    border: 0;
  }
  .col3 li{
    margin: 0 auto 50px;
    display: block;
    text-align: center;
  }
  section h2{
    margin: 55px auto;
  }
}