@charset "utf-8";

/*行の高さをフォントサイズと同じにしています*/
body {
    line-height:180%;
	font-size:15px;
font-family:'メイリオ', 'Meiryo', 'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN W3', sans-serif;
font-weight: 500;
font-style: normal;
	cursor: default;
	letter-spacing: 0.1em;
	color: #545454;
	background: #fff;
}

.snone,
.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 #FDF7EC inset;
}

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

html { scroll-behavior: smooth;}


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


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

#page_up a{
	position: relative;
	display: block;
	width: 70px;
	height: 70px;
}
#page_up a img{
	position: absolute;
}

#page_up a .icon01{
	right: 0;
	bottom: 10px;
	z-index: 3;
}

#page_up a .icon02{
	left: 15px;
	top: 10px;
	z-index: 2;
}

#page_up a .icon03{
	z-index: 1;
	left: 0;
	top: 0;
}
#page_up a:hover .icon01,
#page_up a:hover .icon03{
	animation: rotate-anime 1s linear infinite;
}




/*
#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: 1070px;
    margin: auto;
    padding-top: 15px;
    padding-bottom: 15px;
	font-family: "メイリオ", Meiryo, "ＭＳ ゴシック", "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ", "ProN W3", "sans-serif";
}

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

.s_btn a{
	position: relative;
	overflow: hidden;
}

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

.contactbtn a::after,
header #top_btn::after,
.s_btn 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;
}


/*******メニュー*******/

.menu_rap{
	position: fixed;
	right: 15px;
	top: 15px;
	z-index: 10;
}

#menu{
  position: relative;/*ボタン内側の基点となるためrelativeを指定*/
  background:#545454;
  cursor: pointer;
    width: 50px;
    height:50px;
  border-radius: 5px;
}

/*ボタン内側*/
#menu span{
    display: inline-block;
    transition: all .4s;/*アニメーションの設定*/
    position: absolute;
  }

#menu span:nth-of-type(1),
#menu span:nth-of-type(3) {
    height: 2px;
  background: #fff;
    width: 62%;
    left: 10px;
 }

#menu span:nth-of-type(1) {
  top:13px; 
}

#menu span:nth-of-type(2) {
  top:13px;
  left:9px;
  font-size:0.6rem;
  text-transform: uppercase;
  color: #fff;
}

#menu span:nth-of-type(3) {
  top:36px;
}

#menu.bk span:nth-of-type(1),
#menu.bk span:nth-of-type(3){
	background: #000;
}
#menu.bk span:nth-of-type(2){
	color: #000;
}


/*activeクラスが付与されると線が回転して×になり、Menu表記をしている2つ目の要素が透過して消える*/
#menu.active span:nth-of-type(1) {
    top: 18px;
    left: 18px;
    transform: translateY(6px) rotate(-45deg);
    width: 30%;
}

#menu.active span:nth-of-type(2) {
  opacity: 0;
}

#menu.active span:nth-of-type(3){
    top: 30px;
    left: 18px;
    transform: translateY(-6px) rotate(45deg);
    width: 30%;
}

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


body{
	/*display: flex;
	justify-content: space-between;*/
}
/*
body main{
	order: 1;
	width: 100%;
	flex: 1;
}*/

body header{
	order: 2;
	width: 250px;
	background: #F7F7F7;
}

body header #nav_box{
	position: fixed;
	top: 0;
	padding-top: 90px;
	width: 100%;
	z-index:9999;
	background: #fff;
	height: 100%;
	display: none;
}

body header #nav_box h1{
	text-align: center;
	margin-bottom: 50px;
	font-weight: bold;
}

body header #nav_box nav ul#nav{
	width: 150px;
	margin: auto;
	margin-bottom: 30px;
}

body header #nav_box nav ul#nav a{
	display: block;
	text-align: center;
	font-size: 14px;
	padding-bottom: 5px;
	padding-top: 5px;
}

body header #nav_box nav ul#nav li{
	border-bottom: 1px solid #ddd;
}

body header #nav_box nav ul#nav li:last-child{
	border-bottom: 0;
		display: block;
	text-align: center;
	font-size: 14px;
	padding-bottom: 5px;
	padding-top: 5px;
}

body header #nav_box nav .res{
	margin-bottom: 20px;
}

body header #nav_box nav .res a{
	display: block;
	background: #ddd;
	height: 30px;
	line-height: 30px;
	text-align: center;
	border-radius: 10px;
	font-size: 14px;
	color: #878787;
	width: 150px;
	margin: auto;
}

body header #nav_box nav .icons{
	display: flex;
	justify-content: center;
}

body header #nav_box nav .icons li{
	padding: 15px;
}

body header #copy{
	position: fixed;
	bottom: 10px;
	width: 300px;
	text-align: center;
	right: 50%;
	margin-right: -150px;
}

body header #copy a{
	font-size: 12px;
}
