@charset "utf-8";

/*行の高さをフォントサイズと同じにしています*/
body {
    line-height:180%;
	font-size:16px;
	color: #333;
	/*min-width: 480px;*/
	background: #fff;
font-family: kozuka-gothic-pr6n,sans-serif;
font-weight: 400;
font-style: normal;
	cursor: default;
}


.none{
	display: none;
}

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

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

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

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:hover{
	display: inline-block;
	   animation: hurueru .2s  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)}
}




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


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

#pan li a{
    text-decoration: none;
    color: #555;
}

#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;
}

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

#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;
}



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

@media (min-width: 481px) {

.snone{
    display: none;
}
	
header{
	height: 100vh;
}

header small{
	font-size: 13px;
	font-family: kozuka-gothic-pr6n,sans-serif;
font-weight: 400;
font-style: normal;
	color: #000;
	padding-top: 15px;
	margin-bottom: 15px;
	display: block;
}

header #header_rap{
	width:1200px;
	margin: auto;
}


header #header_rap .box_rap{
	display: flex;
	justify-content: space-between;
	padding-bottom: 25px;
}


header #header_rap .box_rap ul{
	display: flex;
	justify-content: flex-end;
}
header #header_rap .box_rap ul li{
	margin-left: 30px;
}

header nav{
	font-family: kozuka-gothic-pr6n,sans-serif;
font-weight: 700;
font-style: normal;
}

header nav ul li a {
  position: relative;
}
/*ホバーエフェクト*/
header nav ul li a::after {
  /*アンダーラインのスタイル*/
  position: absolute;
  content: "";
  display: block;
  width: 100%;
  height:3px;
  background-color: #f90;
  bottom: -5px;
  left: 0px;
  /*横方向0で非表示にする*/
  -webkit-transform: scale(0, 1);
  transform: scale(0, 1);
  /*中央を基点にアニメーション*/
  -webkit-transform-origin: center top;
  transform-origin: center top;
  /*アニメーションの速度設定*/
  -webkit-transition: all 0.5s ease;
  transition: all 0.5s ease;
}
nav ul li a:hover::after {
  /*横方向等倍まで拡大*/
  transform: scale(1, 1);
}




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



header #keyimg p{
	text-align: center;
	font-size: 30px;
	color: #fff;
	font-family: kozuka-gothic-pr6n,sans-serif;
font-weight: 700;
font-style: normal;
	text-shadow: 2px 2px 4px #000;
	animation: typing 1.5s steps(10),
    blink .5s steps(1) infinite alternate;
	overflow: hidden;
	width: 900px;
	height: 30px;
	line-height: 30px;
}
}
	
@keyframes typing{
  0% {width: 0;}
}

@media (min-width: 481px) {
	
main{
	padding-top: 30px;
}

footer ul{
	background: #f90;
	display: flex;
	justify-content: center;
	height: 50px;
	align-items: center;
}

footer ul li{
	margin-left: 50px;
	margin-right: 50px;
}

footer ul li a{
	color: #fff;
	font-size: 16px;
	font-family: kozuka-gothic-pr6n, sans-serif;
font-weight: 700;
font-style: normal;
}

footer small{
	display: block;
	text-align: center;
	font-size: 12px;
	color: #666;
	padding: 15px;
}
	
}

@media (max-width: 480px) {
	
	img{
		max-width: 480px;
	}
	
	
header{
	height: 100vh;
	max-width: 480px;
}

header small{
	font-size: 13px;
	font-family: kozuka-gothic-pr6n,sans-serif;
font-weight: 400;
font-style: normal;
	color: #000;
	padding-top: 15px;
	margin-bottom: 15px;
	display: block;
	text-align: center;
}

	header h1{
		text-align: center;
		margin-bottom: 15px;
	}
	
header #header_rap{
	max-width:480px;
	margin: auto;
}


header #header_rap .box_rap{
	/*display: flex;
	justify-content: space-between;*/
	padding-bottom: 25px;
}


header #header_rap .box_rap ul{
	display: flex;
	justify-content: center;
}
header #header_rap .box_rap ul li{
	margin-left: 30px;
}

header nav{
	font-family: kozuka-gothic-pr6n,sans-serif;
font-weight: 700;
font-style: normal;
}

header nav ul li a {
  position: relative;
}




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



header #keyimg p{
	text-align: center;
	font-size: 30px;
	color: #fff;
	font-family: kozuka-gothic-pr6n,sans-serif;
font-weight: 700;
font-style: normal;
	text-shadow: 2px 2px 4px #000;
	animation: typing 1.5s steps(10),
    blink .5s steps(1) infinite alternate;
	overflow: hidden;
	width: 480px;
	height: 150px;
	line-height: 180%;
}
	
	main{
		max-width: 480px;
	}
	
	
footer ul{
	background: #f90;
	display: flex;
	justify-content: center;
	height: 50px;
	align-items: center;
}

	footer{
		max-width: 480px;
	}
	
footer ul li{
	margin-left: 10px;
	margin-right: 10px;
}

footer ul li a{
	color: #fff;
	font-size: 16px;
	font-family: kozuka-gothic-pr6n, sans-serif;
font-weight: 700;
font-style: normal;
}

footer small{
	display: block;
	text-align: center;
	font-size: 12px;
	color: #666;
	padding: 15px;
}
	
	
}
