@charset "utf-8";

/*行の高さをフォントサイズと同じにしています*/
body {
    line-height:180%;
	font-size:16px;
	color: #000;
	min-width: 1200px;
	font-family: "メイリオ", Meiryo, "ＭＳ ゴシック", "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ", "ProN W3", "sans-serif";
	background: #fff;
	cursor: default;
	letter-spacing: 0.2em;
}

.pnone,
.none{
	display: none;
}


.en{
	font-family: "Jost",sans-serif;
}


/* スクロールの幅の設定 */
html::-webkit-scrollbar {
width: 15px;
height: 10px;
}

/* スクロールの背景の設定 */
html::-webkit-scrollbar-track {
border-radius: 5px;
box-shadow: 0 0 4px #8FC5E7 inset;
}

/* スクロールのつまみ部分の設定 */
html::-webkit-scrollbar-thumb {
border-radius: 5px;
background: #0059B2;
}

html { scroll-behavior: smooth;}

@media (max-width: 1200px) {
   /* 横幅が1200px以下の場合に適用するスタイル */

img{
    max-width: 1200px;
}
	
}


#page_up{
	position: fixed;
	right: 25px;
	bottom: 25px;
	z-index: 10;
}

#page_up a{
	transform: rotateZ( 0deg ) ;
	transition: .5s ;
	display: inline-block;
}

#page_up a:hover{
	transform: rotateZ( 360deg ) ;
}





.btn:hover{
	   animation: hurueru .5s  infinite;
}



@keyframes hurueru {
    0% {transform: translate(0px, 0px) rotateZ(0deg)}
    25% {transform: translate(2px, 2px) rotateZ(1deg)}
    50% {transform: translate(0px, 2px) rotateZ(0deg)}
    75% {transform: translate(2px, 0px) rotateZ(-1deg)}
    100% {transform: translate(0px, 0px) rotateZ(0deg)}
}

/*拡大ボタン*/


.zbtn{
	transition: all  0.3s ease;
}

.zbtn:hover{
	transform: scale(1.05,1.05);
}

/*********************************************************/



#pan{
    display: flex;
    width: 1100px;
    margin: auto;
    padding-top: 15px;
    padding-bottom: 15px;
}

#pan li a{
    text-decoration: none;
    color: #555;
	font-size: 14px;
}

#pan li a:hover{
    text-decoration: underline;
}

#pan li{
    color: #555;
}

ol#pan > li:before{
    content: "»";
    padding-right: 10px;
    padding-left: 10px;
}

ol#pan > li:first-child:before {
  content: none;
}

ol#pan br{
	display: none;
}

/**************************************************************************/

#up_btn{
	position: fixed;
	right: 25px;
	bottom: 25px;
	z-index: 9999;
}



/*************************************************/

.btns{
	width: 885px;
	margin: auto;
		position: relative;
    overflow: hidden;
}

@keyframes shiny {
    0% { left: -20%; }
    10% { left: 140%; }
    100% { left: 140%; }
}

header #top_btn::after,
.btns a::after {
    content: '';
    position: absolute;
    top: -10%;
    left: -20%;
    width: 40px;
    height: 100%;
    transform: scale(2) rotate(20deg);
    background-image: linear-gradient(100deg, rgba(255, 255, 255, 0) 10%, rgba(255, 255, 255, .5) 100%, rgba(255, 255, 255, 0) 0%);
    
    /* アニメーション */
    animation-name: shiny;
    animation-duration: 3s;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
}


.line_btn{
	text-align: center;
}

/********************************/
/*下層キーイメージ*/

#keyimg{
	background: url("../img/keyimg.webp") center center no-repeat;
	background-size: cover;
	height: 200px;
	display: flex;
	justify-content: center;
	align-items: center;
}

#keyimg h1{
	color: #fff;
	font-weight: bold;
	font-size: 35px;
	text-shadow: 1px 1px 2px #000;
}

/*******************************/

header .drawer-open,
header .drawer-hidden {
  display: none;
}


/*******************************/


header{
	display: flex;
	justify-content: space-between;
	padding: 15px;
}


header #title{
	display: flex;
	align-items: center;
}

header #title .logo{
	padding-right: 25px;
}

header nav{
	display: flex;
	width: 50%;
	justify-content: space-between;
}

header nav ul{
	display: flex;
	width: 80%;
	justify-content: space-between;
}

header nav ul li{
	/*margin-right: 10px;*/
	margin-right: 15px;
	display: flex;
	align-items: flex-end;
}

header nav ul li a{
	display: block;
	position: relative;
}

header nav ul li a:hover::after{
	transform: scale(1, 1);
}

header nav ul li a::after {
    content: '';
    /*絶対配置で線の位置を決める*/
    position: absolute;
    bottom: 0;
    left: 10%;
    /*線の形状*/
    width: 80%;
    height: 2px;
    background:#0481A2;
    /*アニメーションの指定*/
    transition: all .3s;
    transform: scale(0, 1);/*X方向0、Y方向1*/
    transform-origin: left top;/*左上基点*/
}


header nav .contact a{
	background: url("../img/mail.webp") center 15px no-repeat #FF9326;
	display: block;
	color: #fff;
	font-size: 15px;
	text-align: center;
	padding-top: 50px;
	padding-bottom: 10px;
	padding-left: 15px;
	padding-right: 15px;
	border-radius: 15px;
}

@media (max-width: 1500px) {
   header nav{
	width: auto;
}

header nav ul{
	width: auto;
}
	}

/*@media (max-width: 1200px) {
    横幅が1200px以下の場合に適用するスタイル 
	header #title .logo {
    padding-right: 15px;
}
	
	header #title .logo img{
	width: 80%;
		height: auto;
}
	
	header #title h1 img{
		width: 80%;
		height: auto;
	}
}*/

footer{
	background: linear-gradient(to bottom right, #0059B2, #8FC5E7);
	padding-top: 50px;
	color: #fff;
}

footer #footer_rap{
	width: 1150px;
	margin: auto;
	display: flex;
	justify-content: space-between;
	margin-bottom: 50px;
}

footer #footer_title h3{
	margin-bottom: 25px;
}

footer #footer_title ul{
	padding-top: 25px;
}

footer #footer_rap li a{
	color: #fff;
}

footer #footer_nav ul:first-child{
	display: flex;
}

footer #footer_nav ul li:last-child{
	padding-right: 0;
}

footer #footer_nav ul li{
	padding-right: 25px;
}
footer #footer_nav ul ul{
	padding-top: 15px;
}

footer #footer_nav ul li a:hover{
	text-decoration: underline;
}

footer #copy{
	font-size: 13px;
	padding: 20px;
	padding-bottom: 5px;
	display: block;
}