@charset "utf-8";

/*
=======================================
  Reset CSS
=======================================
*/
html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code,
del, dfn, em, img, ins, kbd, q, samp,
small, strong, sub, sup, var,
b, i,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figcaption, figure, 
footer, header, main, menu, nav, section, summary,
time, mark, audio, video{
  margin:0;
  padding:0;
}

article,aside,details,figcaption,figure,
footer,header,main,menu,nav,section{
  display:block;
}

html{
  -webkit-text-size-adjust: 100%;
}
*{
	box-sizing: border-box;
}
img{
  border: 0;
 max-width: 100%;
 height: auto;
}

ul,ol{
  list-style-type: none;
}

table {
  border-collapse: collapse; 
  border-spacing: 0;
}

img, input, select, textarea { 
  vertical-align: middle;
}
*::before,::after{
	box-sizing: inherit;
}
a{
	text-decoration: none;
	color: #000;
}

/*
==========
  Base Layout（フォント・リンクは基本スタイルを用意する）
===========
*/
body,
textarea{
	font-family:  sans-serif;
	max-width: 980px;
	margin: 0 auto;
}

/*container(親の子要素を<div class="container">を設定する)*/


/*header
--------------------*/
h1{
	width:120px;
	margin-top: 5px;
}

.h-flex{
	height: 80px;
}
/*========= ナビゲーションのためのCSS ===============*/

#g-nav{
    /*position:fixed;にし、z-indexの数値を大きくして前面へ*/
    position:fixed;
    z-index: 999;
    /*ナビのスタート位置と形状*/
	top:0;
    right: -120%;
	width:100%;
    height: 100vh;/*ナビの高さ*/
	background:#ddd;
	opacity: .8;
    /*動き*/
	transition: all 0.6s;
}

/*アクティブクラスがついたら位置を0に*/
#g-nav.panelactive{
    right: 0;
}

/*ナビゲーションの縦スクロール*/
#g-nav.panelactive #g-nav-list{
    /*ナビの数が増えた場合縦スクロール*/
    position: fixed;
    z-index: 999; 
    width: 100%;
    height: 100vh;/*表示する高さ*/
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}

/*ナビゲーション*/
#g-nav ul {
    /*ナビゲーション天地中央揃え*/
    position: absolute;
    z-index: 999;
    top:50%;
    left:50%;
    transform: translate(-50%,-50%);
}

/*リストのレイアウト設定*/

#g-nav li{
	list-style: none;
    text-align: center;
}

#g-nav li a{
	color: #000;
	text-decoration: none;
	padding:10px;
	display: block;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	font-weight: bold;
	font-size: 1.2em;
}
.r-ico{
	background: url(../img/ifn0586.png)  no-repeat right center;
	background-size: contain;
	padding-right: 25px;
}
/*========= ボタンのためのCSS ===============*/
.openbtn{
	position:fixed;
    z-index: 9999;/*ボタンを最前面に*/
	top:10px;
	right: 10px;
	cursor: pointer;
    width: 50px;
    height:50px;
}
@media screen and (min-width: 786px) {

	.openbtn{
	display: none;
}
	#g-nav{
	 right: 0;
	width:75%;
    position:relative;
	background: none;
	display: flex;
	height: 30px;
	top: -35px;
	right: -40px;
}
	#g-nav ul {
	width: 75%;
	 position: absolute;
	z-index: 999;
	top:0;
	right:0;
	transform: translate(0%,0%);
}
	#g-nav li{
	text-align: left;
	display: inline-block;
}
	#g-nav li a{
	font-size: 1em;
	padding: 0 13px 0 0;
}
	.r-ico{
		padding-right: 20px;

}
}
	
/*×に変化*/	
.openbtn span{
    display: inline-block;
    transition: all .4s;
    position: absolute;
    left: 14px;
    height: 3px;
    border-radius: 2px;
	background-color: #666;
  	width: 45%;
  }

.openbtn span:nth-of-type(1) {
	top:15px;	
}

.openbtn span:nth-of-type(2) {
	top:23px;
}

.openbtn span:nth-of-type(3) {
	top:31px;
}

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

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

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

/*fv*/
#big_fv{
	 position: relative;
	  height: calc(100vh - 200px);
	background: url(../img/fv.jpg) no-repeat center center;
	background-size: cover;
	
}


/*footer
--------------------*/
footer{
	height: 100px;
	text-align: center;
	border-top: solid 1px #999;
}
footer p{
	margin-top: 35px;
	font-size: 15px;
}

.s_img{
	width: 50%;
	margin: 0 auto;
	text-align: center;
}
.s_img p{
	margin-bottom: 60px;
}
.s_img p,
.f_f,
.slider-item p,
#g-nav li,
.black_b,
.form{
	font-family: 'Noto Serif JP', serif;
}
/*main*/

/*==================================================
スライダーのためのcss
===================================*/
.slider {/*横幅94%で左右に余白を持たせて中央寄せ*/
   width:90%;
    margin:0 auto;
}

.slider img {
    width:100%;/*スライダー内の画像を横幅100%に*/
    height:auto;
}

/*slickのJSで書かれるタグ内、スライド左右の余白調整*/

.slider .slick-slide {
    margin:0 10px;
}

/*矢印の設定*/

/*戻る、次へ矢印の位置*/
.slick-prev, 
.slick-next {
    position: absolute;/*絶対配置にする*/
    top: 42%;
    cursor: pointer;/*マウスカーソルを指マークに*/
    outline: none;/*クリックをしたら出てくる枠線を消す*/
    border-top: 2px solid #666;/*矢印の色*/
    border-right: 2px solid #666;/*矢印の色*/
    height: 15px;
    width: 15px;
}

.slick-prev {/*戻る矢印の位置と形状*/
    left: -1.5%;
    transform: rotate(-135deg);
}

.slick-next {/*次へ矢印の位置と形状*/
    right: -1.5%;
    transform: rotate(45deg);
}

/*ドットナビゲーションの設定*/

.slick-dots {
    text-align:center;
	margin:20px 0 0 0;
}

.slick-dots li {
    display:inline-block;
	margin:0 5px;
}

.slick-dots button {
    color: transparent;
    outline: none;
    width:8px;/*ドットボタンのサイズ*/
    height:8px;/*ドットボタンのサイズ*/
    display:block;
    border-radius:50%;
    background:#ccc;/*ドットボタンの色*/
}

.slick-dots .slick-active button{
    background:#333;/*ドットボタンの現在地表示の色*/
}
/*content*/
.content{
	text-align: center;
	margin: 100px 20px 0 20px;
}
 h2{
	margin-top: 70px;
	font-family: 'Noto Serif JP', serif;
	font-size: 2.5em;
}

.content img{
	box-shadow: 0 1px 5px rgba(0,0,0,.5);
	margin: 15px 0;
}
.c-img-t{
	margin-top: 70px;
}
.c-img-f:hover{
	animation:shake 0.4s ease;
}
@keyframes shake {
    0%   { transform:rotate(0); }
    16%  { transform:rotate(12deg); }
    32%  { transform:rotate(-10deg); }
    48%  { transform:rotate(8deg); }
    64%  { transform:rotate(-6deg); }
    80%  { transform:rotate(4deg); }
    96%  { transform:rotate(-2deg); }
    100% { transform:rotate(0deg); }
}
.bo_mr{
	margin-bottom: 70px;
}

/*
.content:last-child{
	margin-bottom: 100px;
}
*/
.content2{
	text-align: center;
}
.black_b{
	background-color: #000;
	padding: 140px 0 40px;
}
.black_b p{
	color:  #d7ccd0;
	width: 75%;
	margin: 0 auto;
	font-size: 1.4em;
	letter-spacing: 1.2;
	line-height: 3em;

}
.black_b span{
	font-weight: bold;
}
.black_b img{
	width: 150px;
}
@media screen and (max-width: 460px) {
	.black_b p{
		width: 82%;
		font-size: 18px;
	}
}

.left_te{
	text-align: left;
}
.form{
	text-align: center;
	margin: 0 30px 50px;
}
.form h2{
	font-size: 1.6em;
	margin: 100px 0;
}
.form form{
	text-align: left;
}

.right_{
	text-align: right;
}
.form input,
.form textarea{
	border: none;
	width: 100%;
	margin-top: 15px;
	font-size: 0.98em;
	 outline: none;
}
.form input{
	height: 25px;
}
.form textarea{
	height: 125px;
}

hr{
	margin: 10px 0 20px;
}

input[type="submit"]{
	display : inline-block;
	width: 40%;
	margin: 30px 0 25px 30%;
	background: #000;
	color: #fff;
	padding: 25px 0;
	line-height: 0.2em;
}

.op_te{
	opacity: .7;
}

/*topリンクの形状*/
#page-top a{
	display: flex;
	justify-content:center;
	align-items:center;
	background:#942D2F;
	border-radius: 10px;
	width: 60px;
	height: 60px;
	color: #fff;
	text-align: center;
	text-transform: uppercase; 
	text-decoration: none;
	font-size:0.6rem;
	transition:all 0.3s;
}

#page-top a:hover{
	opacity: .7;
}

/*リンクを右下に固定*/
#page-top {
	position: fixed;
	right: 10px;
	bottom:10px;
	z-index: 2;
    /*はじめは非表示*/
	opacity: 0;
	transform: translateX(100px);
}

/*　左の動き　*/

#page-top.LeftMove{
	animation: LeftAnime 0.5s forwards;
}

@keyframes LeftAnime{
  from {
    opacity: 0;
	transform: translateX(100px);
  }
  to {
    opacity: 1;
	transform: translateX(0);
  }
}

/*　右の動き　*/

#page-top.RightMove{
	animation: RightAnime 0.5s forwards;
}
@keyframes RightAnime{
  from {
  	opacity: 1;
	transform: translateX(0);
  }
  to {
  	opacity: 1;
	transform: translateX(100px);
  }
}
@media screen and (min-width: 786px) {


}

/**/


/**/


/**/


