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

img {
	max-width:100%;
	/*height: auto; */ /*高さ自動*/ 
}
a {
    /*display:block;*/
    color: #01689b;
    text-decoration-line: none;
}
a:hover { 
    color: #79cef7;
}
a img:hover {
	opacity: 0.8;
}
.underline {
	border-bottom: 3px solid #000;
	padding-bottom: 0.5rem;
}
.center {
	text-align: center;
}

/*ヘッダー
-------------------------------------*/
.head {
	display: flex;
    flex-direction: row;
    padding: 1rem 0 0 0;
}

.head h1 { 
    padding: 0.5rem 0;
	font-weight: 70;
	letter-spacing: 3px;
    font-family: 'メイリオ';
}
.snsbox {
	margin-left: auto;
	font-size: 3.0rem;
	padding: 1rem 0 0 0;
}
nav ul {
	display: flex;
    flex-direction: row;
    justify-content: center;
    list-style: none;
	margin-bottom: 0.5rem;
}
nav li {
    display: block;
    flex: 0 0 15%;
}
nav li a {
    text-decoration: none;
    text-align: center;
}
nav a:hover {
    text-decoration: underline;
}
nav a {
    padding: 1rem;
}

/*その他*/
.f09
{font-size: 0.9em;
}
.f2
{font-size: 2em;
}
.gaiyo {font-size: 0.9em;
padding-top: 1em;
color:#555;}
.gray {
background-color: #F1F1F1;
padding: 1em;
}
/*********************/
/*みずいろのフッターメニュー*/
/*********************/

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
#footer01 {
  position: relative;
  background: #94bdd1;
}
#footer01 .logo {
  text-align: center;
  padding: 20px 0;
  border-bottom: 1px solid #;
}
#footer01 .logo a {
  display: inline-block;
}
#footer01 .logo img {
  width: 120px;
}

#footer01 .nav a {
  display: block;
  padding: 0 10px;
  color: #fff;}

 
 
@media screen and (min-width: 768px){
/* PC時はMENUボタンを非表示 */
#open,#close {
    display: none !important;
}

#navi {
    display: block !important;
}
/*フッター*/
#footer01 .nav {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    padding: 20px 0;
  }
  #footer01 .nav a:hover {
    color: #10266e;
  }





}

@media screen and (max-width: 768px){
.head {
	flex-direction: column;
    text-align: left;
    margin-bottom: 20px;
}
.telbox {
	margin-left: 0;
	text-align: center;
}
.head #open,#close  {
    position: absolute;
    top: 28px;
    right: 12px;
    }
nav ul {
	flex-direction: column;
}

nav li {
	padding-top: 0;
	border-bottom: 1px solid #ccc;
	margin-bottom: 0;
}
/* スマホ時はMENUボタンを表示 */
#open {
    display: block;
    background: url(../img/button.png);
    background-repeat: no-repeat;
    background-size: contain;
    width: 50px;
    height: 50px;
    border: none;
    position: absolute;
    top: 20px;
    right: 12px;
}
#close  {
    display: block;
    background: url(../img/button2.png);
    background-repeat: no-repeat;
    background-size: contain;
    width: 50px;
    height: 50px;
    border: none;
    position: absolute;
    top: 20px;
    right: 12px;
}
/* スマホ時はメニューを非表示 */
#navi {
    display: none;
}
}

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

/*メインコンテンツ
-------------------------------------*/
main {
    margin: 0 0 5rem 0;
}

/*キャッチタイトル
-------------------------------------*/
h2.catch {
	text-align: center;
	/*color: #666;*/
	font-size: 4.0rem;
	margin-bottom: 3rem;
}

h3.catch {
	text-align: center;
	/*color: #666;*/
	font-size: 2.5rem;
	margin-bottom: 3rem;
}

h3.catch-nomarg {
	text-align: center;
	/*color: #666;*/
	font-size: 2.5rem;
    margin-top: -2.5rem;
	margin-bottom: 3rem;  
}

/*フッター
-------------------------------------*/
footer {
    background-color: #94bdd1;
    /* padding: 3rem 0;*/
}
footer h5 {
    border-bottom: 1px solid #ccc;
}




/*コピーライト
-------------------------------------*/
.copyright {
    text-align: center;
    padding: 1rem 0;
    background-color: #fff;
}
.copyright a {
    color: #000;
    text-decoration: none;
	display: inline-block;
}

/*ページトップへ戻るボタン
-------------------------------------*/
#pagetop {
    position: fixed;
    bottom: 15px;
    right: 15px;
  width: 50px;     
  height: 50px;
}
#pagetop a {
  position: relative;
    display: flex;
       width: 50px;
  height: 50px;
    justify-content: center;
   background: #94bdd1;
    transition: opacity .6s ease;
  border-radius: 100%;
 border: solid 1px #10381b;
  color: #fff; 
  text-align: center;
   line-height: 46px;
}
#pagetop a:hover {
    opacity: .6;
}
@media screen and (max-width:767px) {
#pagetop a {
    width: 40px;
    height: 40px;
     line-height: 40px;
}
}  
    

/*パンくずリスト
-----------------------------------*/
.breadcrumb {
    margin: 0 0 1em 0;
    padding: 0;	
}
.breadcrumb li {
    list-style-type: none;
}
.breadcrumb li a {
    display: inline-block;
    color: #959fa5;
}