/*　for smartphone & ALL　*/

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0px;
  padding: 0px;
}

:root {
  --main-color: #0088E3;
  --sub-color: #0066cc;
}

body{
  color: rgb(57, 57, 57);
  background-color: #fff;
}

a{
  text-decoration: none;
  color: var(--sub-color);
}

a:visited{color: var(--sub-color);}

.hide_box{
  display: none;
}
.no_scroll{
  overflow: hidden;
}
ol{
  margin-left: 1.1em;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 300;
  font-size: 1.1em;
  line-height: 1.6em;
  margin-bottom: 1em;
}
ol li{
  padding: 10px 0px;
}

/* common  ------------------------------------*/
h1{
  font-family: 'M PLUS Rounded 1c', sans-serif;
  font-weight: 800;
}
h2{
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 400;
  font-size: 2em;
  margin-bottom: 16px;
}
h3{
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 400;
  font-size: 1.6em;
  margin-bottom: 0.8em;
}
h4{
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 400;
  font-size: 1.2em;
  margin-bottom: 0.4em;
}
p { 
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 300;
  font-size: 1.1em;
  line-height: 1.6em;
  margin-bottom: 1em;
}
.w100{
  width: 100%;
  height: auto;
}
.column2_table{
  display: grid;
  grid-template-columns: 1fr 4fr;
}
.column2_table li{
  list-style: none;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 300;
  font-size: 1.1em;
  line-height: 1.6em;
}

 /* for smartphone -----------------------------------------------------------------------------------*/

 #container{
  display: grid;
  width: 100%;
  grid-template-columns: 1fr;
  grid-template-rows: 60px auto auto auto;
 }
 #pc_menu{
  display: none;
 }
 #smartphone_menu{
  grid-column: 1;
  grid-row: 1/4;
  z-index: 10;
  height: 60px;
  overflow: hidden;
  background:url(./image/bk_smenu.jpg) no-repeat #fff;
  background-size: 100% auto;
 }
 #home_title{
  display: block;
  color: var(--sub-color);
  margin: 14px 0px 0px 5vw;
 }
 #home_title h1{
  font-size: 1.5em;
 }

#smartphone_tenkai ul{
  width: 80%;
  margin: 40px auto auto;
  list-style: none;
}
#smartphone_tenkai a{
  display: block;
  width: 100%;
  background-color: rgba(23, 102, 181, 0.612);
  margin-bottom: 30px;
  color: #fff;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 300;
  font-size: 1.2em;
  padding: 10px;
  border-bottom: 1px solid #fff;
  border-radius: 5px;
}
#smartphone_tenkai a span{
  display: block;
  float: right;
  font-size: 0.7em;
  margin-top: 5px;
}

 #open_set{
  height: 60px;
 }
 #home_title{
  float: left;
 }

 #contents{
  grid-column: 1;
  grid-row: 2;
 }
 #footer_menu{
  grid-column: 1;
  grid-row: 3;
  background-color: var(--main-color);
 }
 .navigation{
  width: 80%;
  margin: 0px auto;
  padding: 20px 0px;
  color: #fff;
 }
 .navigation li a{
  display: block;
  margin: 15px 0px;
  color: #fff;
 }
 .navigation a span{
  display:inline-block;
  font-size: 0.8em;
  padding-left: 5px;
 }
 footer{
  grid-column: 1;
  grid-row: 4;
  background-color: var(--sub-color);
  text-align: center;
  color: #fff;
  padding: 50px 0px;
 }
 footer p{
  font-size: 0.9em;
  margin-bottom: 0px;
 }
 .tel{
  font-size: 1.8em;
}
.copy{
  font-size: 0.8em;
}
 

/* for pad-------------------------------------------------------------------------------------------- */

@media screen and (min-width:768px) and (max-width:1099px) {

  .no_scroll{
    overflow: visible;
  }

  #pc_menu{
    display: block;
    grid-column: 1;
    grid-row: 1;
    background-color: var(--main-color);
   }
   #smartphone_menu{
    display: none;
   }
   .navigation{
    width: 94vw;
    height: 60px;
    margin: 0px auto;
    padding: 0px; /*---------------------------------------------------追加*/
    display: grid;
    grid-template-columns: 1fr 2fr 2fr 2fr 2fr 2fr;
    grid-template-rows: 1fr;
    border-left: dashed thin rgba(255, 255, 255, 0.532);
  }
  .navigation li{
    list-style: none;
    border-right: dashed thin rgba(255, 255, 255, 0.532);
    text-align: center;
  }
  .navigation li a{
    display: block;
    width: 100%;
    height: 60px;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 400;
    font-size: 1.1em;
    padding-top: 8px;  
    margin: 0px;  
    letter-spacing: 0.05em;
    color: #fff;
    transition:background-color 0.5s;
  }
  .navigation span{
    display: block; 
    float: left; 
    font-weight: 100;
    font-size: 0.7em !important;
    width: 100%; 
    margin: 0px !important; 
    padding: 0px !important; 
  }
  .navigation li a:hover{
    background-color: var(--sub-color);
  }
  #contents{
    background:url(./image/bk_main.jpg) no-repeat;
    background-size: auto 550px;
  }

 }
/*　for PC-------------------------------------------------------------------------------------------　*/
@media screen and (min-width:1100px) {

  .no_scroll{
    overflow: visible;
  }


  #pc_menu{
    display: block;
    grid-column: 1;
    grid-row: 1;
    background-color: var(--main-color);
   }
   #smartphone_menu{
    display: none;
   }
   .navigation{
    width: 1100px;
    height: 60px;
    margin: 0px auto;
    padding: 0px;
    display: grid;
    grid-template-columns: 1fr 2fr 2fr 2fr 2fr 2fr;
    grid-template-rows: 1fr;
    border-left: dashed thin rgba(255, 255, 255, 0.532);
  }
  .navigation li{
    list-style: none;
    border-right: dashed thin rgba(255, 255, 255, 0.532);
    text-align: center;
  }
  .navigation li a{
    display: block;
    width: 100%;
    height: 60px;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 400;
    font-size: 1.1em;
    padding-top: 8px; 
    margin: 0px; 
    padding-top: 8px;
    letter-spacing: 0.05em;
    color: #fff;
    transition:background-color 0.5s;
  }
  .navigation span{
    display: block;
    float: left;
    font-weight: 100;
    font-size: 0.7em !important;
    width: 100%; 
    margin: 0px !important; 
    padding: 0px !important; 
  }
  .navigation li a:hover{
    background-color: var(--sub-color);
  }
  #contents{
    background:url(./image/bk_main.jpg) no-repeat;
    background-size: 100% 584px;
  }
  
}