

@charset "UTF-8";
/*@import url("grid.css");*/

/*========= ナビゲーションドロップダウンのためのCSS ===============*/

/*==ナビゲーション全体の設定*/
nav{
  background:#333;
  color:#fff;
  text-align: center;
}
/*ナビゲーションを横並びに*/
nav ul{
  list-style: none;
  display: flex;
  justify-content: center;
}
/*2階層目以降は横並びにしない*/
nav ul ul{
  display: block;
}

/*下の階層のulや矢印の基点にするためliにrelativeを指定*/
nav ul li{
  position: relative;
}

/*ナビゲーションのリンク設定*/
nav ul li a{
  display: block;
  text-decoration: none;
  color: #999;
  padding:20px 35px;
  transition:all .3s;
}

nav ul li li a{
  padding:10px 35px;
}

nav ul li a:hover{
  color:#fff; 
}

/*==矢印の設定*/

/*2階層目を持つliの矢印の設定*/
nav ul li.has-child::before{
  content:'';
  position: absolute;
  left:15px;
  top:25px;
  width:6px;
  height:6px;
  border-top: 2px solid #999;
    border-right:2px solid #999;
    transform: rotate(135deg);
}

/*3階層目を持つliの矢印の設定*/
nav ul ul li.has-child::before{
  content:'';
  position: absolute;
  left:6px;
  top:17px;
  width:6px;
  height:6px;
    border-top: 2px solid #fff;
    border-right:2px solid #fff;
    transform: rotate(45deg);
}

/*== 2・3階層目の共通設定 */

/*下の階層を持っているulの指定*/
nav li.has-child ul{
    /*絶対配置で位置を指定*/
  position: absolute;
  left:0;
  top:62px;
  z-index: 4;
    /*形状を指定*/
  /*background:#28BFE7;ブルー系*/
  background:#28BFE7;
  width:180px;
    /*はじめは非表示*/
  visibility: hidden;
  opacity: 0;
    /*アニメーション設定*/
  transition: all .3s;
}

/*hoverしたら表示*/
nav li.has-child:hover > ul,
nav li.has-child ul li:hover > ul,
nav li.has-child:active > ul,
nav li.has-child ul li:active > ul{
  visibility: visible;
  opacity: 1;
}

/*ナビゲーションaタグの形状*/
nav li.has-child ul li a{
  color: #fff;
  border-bottom:solid 1px rgba(255,255,255,0.6);
}

nav li.has-child ul li:last-child a{
  border-bottom:none;
}

nav li.has-child ul li a:hover,
nav li.has-child ul li a:active{
  background:#3577CA;
}


/*==3階層目*/

/*3階層目の位置*/
nav li.has-child ul ul{
  top:0;
  left:182px;
  background:#66ADF5;
}

nav li.has-child ul ul li a:hover,
nav li.has-child ul ul li a:active{
  background:#448ED3;
}


/*==768px以下の形状*/

@media screen and (max-width:768px){
  nav{
    padding: 0;
  }
  
  nav ul{
    display: block;
  }
  
  nav li.has-child ul,
  nav li.has-child ul ul{
    position: relative;
  left:0;
  top:0;
  width:100%;
  visibility:visible;/*JSで制御するため一旦表示*/
  opacity:1;/*JSで制御するため一旦表示*/
  display: none;/*JSのslidetoggleで表示させるため非表示に*/
  transition:none;/*JSで制御するためCSSのアニメーションを切る*/
}
  
nav ul li a{
  border-bottom:1px solid #ccc;
}

/*矢印の位置と向き*/

nav ul li.has-child::before{
  left:20px;  
}

nav ul ul li.has-child::before{
    transform: rotate(135deg);
  left:20px;
}
    
nav ul li.has-child.active::before{
    transform: rotate(-45deg);
}

}
/* ========BASIC======== */
* {
   font-family:"'Raleway',sans-serif,Hiragino Kaku Gothic Pro",HiraKakuPro-W3,"ヒラギノ角ゴ Pro W3","メイリオ", Meiryo,"MS P ゴシック";
   color:#333;
}


/*=========メイン画像=======*/
.mainimg img {
    width: 100vw;
}


/*=========google map=======*/
iframe {
  width: 100%;
  aspect-ratio: 16/9; //アスペクト比（縦横比）を指定
}

/*========= レイアウトのためのCSS ===============*/


h1{
  /*font-family: 'Ubuntu', sans-serif;*/
  /*font-family: 'Space Mono', monospace;*/
    font-family: 'Raleway', sans-serif;
  font-size:2rem;
  text-align: center;
  text-transform: uppercase;
  padding: 20px;
}

h2{
  font-family: 'Raleway', sans-serif;
  /*font-family: 'Space Mono', monospace;*/
  font-size:1.8rem;
  font-weight: bold;
  text-align: center;
  margin: 0 0 30px 0;
}

h3{
  font-family:sans-serif;
  font-size:1.4rem;
  font-weight: bold;
  text-align: center;
  margin: 0 0 0 0;
}

h4{
  font-family:sans-serif;
  font-size:1.1rem;
  text-align: center;
  margin: 0 0 0 0;
}

p{
  margin-top:20px;  
  text-align: center;
}

small{
  background:#333;
  color:#fff;
  display: block;
  text-align: center;
  padding:20px;
}


section{
  padding:30px;
}

section:nth-child(2n){
  background:#f3f3f3; 
}

/*========= テキストの先頭をそろえる ===============*/

#c1 { 
　text-align: center; 
} 

#c2 { 
　text-align: left; 
  margin-left: auto; 
  margin-right: auto; 
  width: 470px; 
  list-style:none;
}

#c3 { 
　text-align: center; 
} 

#c4 { 
　text-align: left; 
  margin-left: auto; 
  margin-right: auto; 
  width: 600px; 
  list-style:none;
}

/*--------テーブルを使う時----------*/
.table{
  margin-left: auto; 
  margin-right: auto; 
}
.table td{ 
	text-align: center; 
}
.table th{
	vertical-align: middle;
	text-align: left;

}

@media only screen and (max-width:991px){
	.table {
	}
	.table th,
	.table td{
		display: block;
	}
}

/* table01 */

#table01{
  margin-left: auto; 
  margin-right: auto; 
}

#table01 tr {
  border-bottom: 1px solid #b5b1b1;
}

#table01 th,
#table01 td {
  padding: 10px 0;
  text-align: auto;
  border: none;
}

#table01 th {
  width: 35%;
}

/* sp */
@media only screen and (max-width: 480px) {
  #table01 th,
  #table01 td {
    width: 100%;
    display: block;
  }

  #table01 th {
    width: 100%;
  }

  #table01 td {
    padding-top: 0;
  }
}

/*--------画像を丸く切り抜く----------*/

img.image-circle2 {
  width: 230px;
  height: 230px;
  object-fit: none;
  border-radius:50%;
  object-position:50% 20%;
}