@charset "utf-8";



/*Font Awesomeの読み込み
---------------------------------------------------------------------------*/
@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.2/css/all.min.css");



/*Google Fontsの読み込み
---------------------------------------------------------------------------*/
@import url('https://fonts.googleapis.com/css2?family=M+PLUS+Rounded+1c:wght@100;300;400;500;700;800;900&display=swap');


/*テンプレート専用cssファイルの読み込み
---------------------------------------------------------------------------*/
@import url("inview.css");




/*animation11のキーフレーム設定（汎用的）
---------------------------------------------------------------------------*/
@keyframes animation1 {
	0% {right: -300px;}
	100% {right: 0px;}
}


/*opa1のキーフレーム設定（汎用的）
---------------------------------------------------------------------------*/
@keyframes opa1 {
	0% {opacity: 0;}
	100% {opacity: 1;}
}


/*全体の設定
---------------------------------------------------------------------------*/
body * {box-sizing: border-box;}
html,body {
	font-size: 14px;	/*基準となるフォントサイズ。*/
}

	
@media screen and (min-width:900px) {
	html, body {
		font-size: 16px;
    }
}


body {
	margin: 0;padding:0;
	font-family: "M PLUS Rounded 1c", "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro W3", Meiryo, "メイリオ", "Osaka", "MS PGothic", "ＭＳ Ｐゴシック", sans-serif;	/*フォント種類（ゴシック）*/
	-webkit-text-size-adjust: none;
	background: #fff;	/*背景色*/
	color: #555;		/*文字色*/
	line-height: 2;		/*行間*/
	overflow-x: hidden;
}

/*リセット*/
figure {margin: 0;}
dd {margin: 0;}
nav ul {list-style: none;}

/*画像全般の設定*/
img {border: none;max-width: 100%;height: auto;vertical-align: middle;}

/*videoタグ*/
video {max-width: 100%;}

/*iframeタグ*/
iframe {width: 100%;}




/*コンテナー（サイト全体を囲むブロック）
---------------------------------------------------------------------------*/
#container {
	position: relative;
	animation: opa1 0.2s 0.4s both;  /*0.4秒待機後、0.2秒かけてフェードイン*/
	display: flex;
	flex-direction: column;
	margin: 0 auto;
    overflow: hidden;
}


/*header（ロゴが入った最上段のブロック）
---------------------------------------------------------------------------*/
/*ヘッダーブロック*/
header {
	color: #fff;		/*文字色*/
	position: absolute;
	width: 100%;
    background-color: #fff;
    padding: 0 40px 0 10px;
    height: 80px;
    display: flex;
    margin: 0 auto;
    justify-content: space-between;
	align-items: center;
}
/*ロゴ*/
#logo a {text-decoration: none;}

#logo img {
	width: 250px;
    margin-left: 20px;
}
#header-box{
    width: 200px;
}
#header-box .h_btn  ul li{
    margin: 0;
    padding: 0;
}
#header-box .h_btn {
	list-style: none;
	display: flex;
    align-items: flex-end;
    margin: 3px 30px 0 0;
}
#header-box .h_btn img{
    width: 70%;
    padding: 0;
    margin:0;
}
.h_btn img:hover{
    transform: scale(1.1);
}
/*メニュー１個あたり*/
#header-box .h_btn li a {

}

@media screen and (max-width:530px) {

/*ロゴ*/
#logo img {
	width: 210px;
	margin: 25px 0 30px 10px;
}
#header-box .h_btn img{
    width: 70%;
    margin-right: 0;
    }
}

 

/*開閉メニュー
---------------------------------------------------------------------------*/
/*メニューブロック共通*/
#menubar {
	animation: animation1 0.5s both;
	position:absolute;
    z-index: 999;
	top:0;
    right: -100%;
	min-width: 700px;
    max-width: 800px;
	width:50%;
    height: 95vh;
    background-color: rgba(196,236,242,1.00);
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    padding: 50px 80px 50px 50px;
    border-bottom-left-radius: 30px;
}
.menu_box ul{
    width: 100%;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.menu_box li a{
    width: 100px;
    display: block;
    text-align: center;
    font-size: 0.9rem;
    text-decoration: none;
    color: #666;
    margin: 10px;
}
.menu_box a img{
    width: 80%;
    margin: 5px 10%;
    filter: drop-shadow(0px 2px 3px rgba(0,0,0,0.2));
}
.menu_box img:hover{
    transform: scale(1.1);
	transition: 0.2s;
}

.menu_box1{
    width: 15rem;
    display: flex;
    flex-direction: column;
    margin:  0 12%;
}
.menu_box1 p{
    margin: 5px 0; 
    padding: 0 0 0 30px;
}
.menu_item{
    margin: 15px 0;
    background-image: url("../images/navi/arrow.png");
    background-position: left;
    background-repeat: no-repeat;
    background-size: 20px;
}
.menu_item a{
    color: #666;
    text-decoration: none;
}
.menu_item a:hover{
    color: #0C8DCB;
    font-size: 1.1rem;
    transition: 0.2s;
}
.menu_box2{
    width: 86%;
    display: flex;
    justify-content: space-between;
    margin: 30px 0 30px 11%;
}
.menu_item2{
    width: 48%;
}
.menu_item2 img a{
    width: 100%;
}
.menu_item2 img:hover{
    transform: scale(1.1);
	transition: 0.2s;
}
@media screen and (max-width:480px){
#menubar {
	animation: animation1 0.5s both;
	position:absolute;
    z-index: 999;
	top:0;
    right: -100%;
	min-width: 370px;
    max-width: 375px;
	width:100%;
    height: 95vh;
    background-color: rgba(196,236,242,1.00);
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    padding: 50px 20px 20px 10px;
    border-bottom-left-radius: 30px;
}
.menu_box ul{
    width: 100%;
    display: flex;
    justify-content:space-between;
    flex-wrap: wrap;
}

.menu_box li a{
    width: 75px;
    display: block;
    text-align: center;
    font-size: 0.8rem;
    text-decoration: none;
    color: #666;
    margin: 10px;
}


.menu_box1{
    width: 15rem;
    display: flex;
    flex-direction: column;
    margin:  0 12%;
}
.menu_box1 p{
    margin: 5px 0; 
    padding: 0 0 0 30px;
}
.menu_item{
    margin: 15px 0;
    background-image: url("../images/navi/arrow.png");
    background-position: left;
    background-repeat: no-repeat;
    background-size: 20px;
}
.menu_item a{
    color: #666;
    text-decoration: none;
}
.menu_item a:hover{
    color: #0C8DCB;
    font-size: 1.1rem;
    transition: 0.2s;
}
.menu_box2{
    width: 86%;
    display: flex;
    justify-content: space-between;
    margin: 30px 0 30px 11%;
}
.menu_item2{
    width: 48%;
}
.menu_item2 img a{
    width: 100%;
}
.menu_item2 img:hover{
    transform: scale(1.1);
	transition: 0.2s;
}
}
/*３本バー（ハンバーガー）アイコン設定
---------------------------------------------------------------------------*/
#menubar_hdr {
	display: flex;
	animation: opa1 0s 0.2s both;
	position: absolute;
	z-index: 101;
	cursor: pointer;
	right: 10px;	/*右からの配置場所*/
	top: 10px;	/*上からの配置場所*/
	width: 56px;	/*ボタンの幅*/
	height: 60px;	/*ボタンの高さ*/
	background: #53c6d8;	/*ボタン色*/
    border:1px solid #fff;
	border-radius: 8px;	/*角を丸くする指定。左上、右上、右下、左下の順番。この場合は左下だけ角を丸くする。*/
	transform-origin: right top;
	transform: scale(1);	/*大きさを調整したい場合はここの「1」を変更します。1.2や0.7など。*/
}

/*バツ印が出ている時のボタン色*/
#menubar_hdr.ham {
	background: #53c6d8;
}

/*ハンバーガーアイコンの線*/
#menubar_hdr span {
	display: block;
	position: absolute;
	left: 16px;
	width: 22px;
	height: 2px;		/*線の高さ*/
	background: #fff;	/*線の色*/
	transition: 0.3s;
}

#menubar_hdr span:nth-of-type(1) {
	top: 18px;
}
#menubar_hdr span:nth-of-type(2) {
	top: 28px;
}
#menubar_hdr span:nth-of-type(3) {
	top: 38px;
}

/* ハンバーガーメニュー展開時 */
#menubar_hdr.ham span:nth-of-type(1) {
	transform: translateY(10px) rotate(-45deg);
}
#menubar_hdr.ham span:nth-of-type(2) {
	opacity: 0;
}
#menubar_hdr.ham span:nth-of-type(3) {
	transform: translateY(-10px) rotate(45deg);
}

/*スクロールダウン全体の場所*/
.scrolldown1{
    /*描画位置※位置は適宜調整してください*/
	position:absolute;
	right:5%;
	bottom:15%;
	height:100px;
    z-index: 3;
}

/*Scrollテキストの描写*/
.scrolldown1 span{
    /*描画位置*/
	position: absolute;
	left:-25px;
	top: -30px;
    /*テキストの形状*/
	color: #fff;
	font-size: 1.2rem;
	letter-spacing: 0.05em;
}

/* 線の描写 */
.scrolldown1::after{
	content: "";
    /*描画位置*/
	position: absolute;
	top: 0;
    /*線の形状*/
	width: 2px;
	height: 50px;
	background: #fff;
    /*線の動き1.4秒かけて動く。永遠にループ*/
	animation: pathmove 1.4s ease-in-out infinite;
	opacity:0;
}

/*高さ・位置・透過が変化して線が上から下に動く*/
@keyframes pathmove{
	0%{
		height:0;
		top:0;
		opacity: 0;
	}
	30%{
		height:30px;
		opacity: 1;
	}
	100%{
		height:0;
		top:50px;
		opacity: 0;
	}
}

/*コンテンツ
---------------------------------------------------------------------------*/
/*コンテンツブロック*/
#contents {

}

/*トップページ以外のコンテンツ*/
body:not(.home) #contents {
	padding-top: 10rem;		/*上に10文字分の余白を空ける*/
}
#page_main{
    width: 100%;
    background-color:#DEF4F8;
    margin: -160px 0 0 0;
    padding: 30px 0 0;
}

.page_top_area{
    width: 80%;
    padding: 40px 0 40px;
    position: relative;
    margin: 0 auto;
    max-width: 1120px;
}
@media screen and (max-width:900px){
#page_main{
    width: 100%;
    background-color:#DEF4F8;
    margin: -140px 0 0 0;
    padding: 30px 0 0;
}

.page_top_area{
    width: 90%;
    padding: 20px 0 20px;
    position: relative;
    margin: 0 auto;
    max-width: 900px;
}
}
@media screen and (max-width:480px){
#page_main{
    width: 100%;
    background-color:#DEF4F8;
    margin: -140px 0 0 0;
    padding: 0 0 0;
}

.page_top_area{
    width: 90%;
    padding: 20px 0 20px;
    position: relative;
    margin: 0 auto;
    max-width: 480px;
}
}


/*p要素（段落タグ）
---------------------------------------------------------------------------*/
p {
	margin-left: 1rem;	/*左に１文字分のスペース*/
	margin-right: 1rem;	/*右に１文字分のスペース*/
}


/*フッター
---------------------------------------------------------------------------*/

#footer ul {list-style: none;}
#footer{
    width: 100%;
    background-color: #fff;
    background-image: url("../images/footer_bg.png");
    background-position: bottom;
    background-repeat: no-repeat;
    position: relative;
    padding: 0;
    margin: 0;
    background-size: contain;
}
.footer_inner{
    width: 80%;
    margin: 50px auto 13vw;
    max-width: 1120px;
    display: flex;
    justify-content: flex-start;
}

.footer_info{
    width: 320px;
    display: flex;
    flex-direction: column;
    line-height: 1.6rem;
}
.footer_logo{
    width: 70%;
}
.footer_info p{
    padding: 0;
    margin: 10px 0;;
}
.footer_tel a{
   font-size: 1.8rem;
    font-weight: 500;
    text-decoration: none;
    color: #0c70b8;
    line-height: 1.0rem;
}
.footer_contact{
    width: 40%;
    margin: 10px 0;
}
.footer_contact img:hover{
    -webkit-transform: translateY(-2px);
	        transform: translateY(-2px);
filter: drop-shadow(0px 5px 5px rgba(0,0,0,0.2));
}
.footer_menu{
    display: flex;
    flex-direction: row;
    justify-content: flex-start;

}
.footer_menu_item{
    
    margin: 0 10px;
    list-style: none;
    display: flex;
    flex-direction: column;
}
.footer_menu_item ul li{
    list-style:none;
    margin: 5px 0;
}
.footer_menu_item  ul li a{
    font-size: 0.9rem;
    color: #272727;
    line-height: 2.0rem;
    text-decoration: none;
}
.footer_menu_item  ul li a:hover{
    color: #0071BE;
    font-size: 1.0rem;
}
.copyright{
    position: absolute;
    right:80px;
    bottom:10px;
}

/*PAGE TOP（↑）設定
---------------------------------------------------------------------------*/
.pagetop-show {display: block;}

/*ボタンの設定*/
.pagetop a {
	display: block;text-decoration: none;text-align: center;z-index: 99;
	animation: opa1 1s 0.4s both;
	position: fixed;	/*スクロールに追従しない(固定で表示)為の設定*/
	right: 20px;		/*右からの配置場所指定*/
	bottom: 20px;		/*下からの配置場所指定*/
	color: #fff;		/*文字色*/
	font-size: 1.5rem;	/*文字サイズ*/
	background: rgba(0,113,190,0.3);
	width: 60px;		/*幅*/
	line-height: 60px;	/*高さ*/
	border-radius: 50%;	/*円形にする*/
}
.pagetop a:hover{
    transform: scale(1.1);
    background: rgba(0,113,190,0.5);
}
@media screen and (max-width:900px){

.footer_inner{
    width: 90%;
    margin: 50px auto 13vw;
    max-width: 600px;
    display: flex;
    justify-content: flex-start;
}

.footer_info{
    width: 300px;
    display: flex;
    flex-direction: column;
    line-height: 1.6rem;
    margin:0 auto;
}
.footer_logo{
    width: 80%;
}
.footer_info p{
    padding: 0;
    margin: 10px 0;;
}
.footer_tel a{
   font-size: 1.8rem;
    font-weight: 500;
    text-decoration: none;
    color: #0c70b8;
    line-height: 1.0rem;
}
.footer_contact{
    width: 50%;
    margin: 10px 0;
}

.footer_menu{
    display: none;
    flex-direction: row;
    justify-content: flex-start;
    padding: 10px 20px 10px 0;
    
}
.footer_menu_item{
    
    margin: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
}
.footer_menu_item ul li{
    list-style:none;
    margin: 5px 0;
}
.footer_menu_item  ul li a{
    font-size: 0.9rem;
    color: #272727;
    line-height: 2.0rem;
    text-decoration: none;
}

.copyright{
    position: absolute;
    right:15px;
    bottom:10px;
}
 .pagetop a {
	bottom: 50px;		/*下からの配置場所指定*/
}
}
@media screen and (max-width:480px){
#footer{
    width: 100%;
    background-color: #fff;
    background-image: url("../images/footer_bg_s.png");
    background-position: bottom;
    background-repeat: no-repeat;
    position: relative;
    padding: 0;
    margin: 0;
    background-size: contain;
}
.footer_inner{
    width: 80%;
    margin: 30px auto 30vw;
    max-width: 500;
    display: flex;
    justify-content: center;
}

.footer_info{
    width: 80%;
    margin:oauto;
    display: flex;
    flex-direction: column;
    line-height: 1.6rem;
}
.footer_logo{
    width: 90%;
}
.footer_info p{
    padding: 0;
    margin: 10px 0;;
}
.footer_tel a{
   font-size: 1.8rem;
    font-weight: 500;
    text-decoration: none;
    color: #0c70b8;
    line-height: 1.0rem;
}
.footer_contact{
    width: 60%;
    margin: 0;
}
.footer_contact img:hover{
    -webkit-transform: translateY(-2px);
	        transform: translateY(-2px);
filter: drop-shadow(0px 5px 5px rgba(0,0,0,0.2));
}
.footer_menu{
    display: none;
    
}
.footer_menu_item{
    
    margin: 0 10px;
    list-style: none;
    display: flex;
    flex-direction: column;
}
.footer_menu_item ul li{
    list-style:none;
    margin: 5px 0;
}
.footer_menu_item  ul li a{
    font-size: 0.9rem;
    color: #272727;
    line-height: 2.0rem;
    text-decoration: none;
}
.footer_menu_item  ul li a:hover{
    color: #0071BE;
    font-size: 1.0rem;
}
.copyright{
    position: absolute;
    right:10%;
    bottom:5px;
} 
.pagetop a {
	display: block;text-decoration: none;text-align: center;z-index: 99;
	animation: opa1 1s 0.4s both;
	position: fixed;	/*スクロールに追従しない(固定で表示)為の設定*/
	right: 40px;		/*右からの配置場所指定*/
	bottom: 40px;		/*下からの配置場所指定*/
	color: #fff;		/*文字色*/
	font-size: 1.5rem;	/*文字サイズ*/
	background: rgba(0,113,190,0.3);
	width: 60px;		/*幅*/
	line-height: 60px;	/*高さ*/
	border-radius: 50%;	/*円形にする*/
}
}
   
.pc { display:block; }
.tb { display:none; } 
.sp { display:none; }

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

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

