
body{
  background-color: #fffafa;
}
.A {
  font-size: 18px;
  /* padding-left: 18%; */
  text-align: center;
  padding: 15px 0 ;
}
.AA {
  font-size: 18px;
  padding-left: 18%;
  padding-top: 15px;
  padding-bottom: 15px;
}
a {
  color: #808080;
}
a:hover{
  color: black;
}
.a{
  width: 20%;
  vertical-align: middle;
  padding-right: 5%;
}
.aa{
  width: 25%;
  vertical-align: middle;
}
.b{
  text-decoration: none;
  padding: 3%;
  font-family: serif;
}
.bb{
  text-decoration: none;
  padding: 1.5%;
  font-family: serif;
}
.B {
  padding-left: 22%;
  padding-right: 22%;
}
.BB {
  padding-left: 20%;
  padding-right: 20%;
}
.FI{
  opacity: 0;
  animation-name: fadein-bottom;
  animation-duration: 1.5s;
  animation-timing-function: ease-out;
  animation-fill-mode: forwards;
}
.FI2 {
  opacity: 0;
  animation-name: fadein-bottom;
  animation-duration: 1.5s;
  animation-timing-function: ease-out;
  animation-fill-mode: forwards;
  animation-delay: 0.8s;
}
.FI3 {
  opacity: 0;
  animation-name: fadein-bottom;
  animation-duration: 1.5s;
  animation-timing-function: ease-out;
  animation-fill-mode: forwards;
  animation-delay: 1.7s;
}
.FI4 {
  opacity: 0;
  animation-name: fadein-bottom;
  animation-duration: 1.5s;
  animation-timing-function: ease-out;
  animation-fill-mode: forwards;
  animation-delay: 2.6s;
}
.FI5 {
  opacity: 0;
  animation-name: fadein-bottom;
  animation-duration: 1.5s;
  animation-timing-function: ease-out;
  animation-fill-mode: forwards;
  animation-delay: 3.5s;
}

@keyframes fadein-bottom {
  0% {
     opacity: 0;
     transform: translateY(15px);
  }
  20% {
     opacity: 0;
     transform: translateY(15px);
  }
  100% {
     opacity: 1;
     transform: translateY(0);
  }
}
.SL {
  width: 70%;
  position: relative;
  margin: 0 auto;
}
.SL img {
    width: 100%;
  }

/* 画像フェードイン・アウト */
.SJ {
    position: absolute;
    visibility: hidden;
    animation: anime_SL 12.8s 0s infinite;
}
.SJ:nth-of-type(2) {
    animation-delay: 5.8s;
}
.SJ:nth-of-type(3) {
    animation-delay: 10s;
}

@keyframes anime_SL {
    0% {
        visibility: visible;
        opacity: 0;
    }
    18% {
        opacity: 1;
    }
    35% {
        opacity: 1;
    }
    50% {
        opacity: 0;
    }
    100% {
        opacity: 0;
    }
}
.SR {
  animation-delay: 1.8s;
}


.T {
  font-size: 50px;
  text-align: center;
  margin: 0;
  font-family: serif;
}
.TT{
  font-size: 48px;
  text-align: center;
  margin: 10px;
  font-family: serif;
}
.I {
  width: 70%;
}
.s{
  text-align: center;
  padding: 0;
}
.sn {
  list-style-type: none;
  display: inline;
}
.sns {
  width: 300px;
  padding: 0 2.5em;
}
.CA {
  width: 70%;
}

*, *:before, *:after {
	-webkit-box-sizing: border-box;
	        box-sizing: border-box;
}
.cp_cssslider {
  width: 70%;
	padding-top: 45%; /* 画像の高さ 297,190mm*/
	position: relative;
	margin: 2em auto;
	text-align: center;
}
.cp_cssslider > img {
	position: absolute;
	left: 0;
	top: 0;
	transition: all 0.5s;
	border-radius: 3px;
	box-shadow:0px 0px 5px 0px rgba(0,0,0,0.3);
  width: 100%;
}
.cp_cssslider input[name='cp_switch'] {
	display: none;
}
/* サムネイル */
.cp_cssslider label {
	margin: 15px 5px 0 5px;
	border: 2px solid #ffffff;
	display: inline-block;
	cursor: pointer;
	transition: all 0.5s ease;
	opacity: 0.6;
	border-radius: 3px;
}
.cp_cssslider label:hover {
	opacity: 0.9;
}
.cp_cssslider label img {
	display: block;
	width: 100px;
	border-radius: 2px;
}
.cp_cssslider input[name='cp_switch']:checked + label {
	border: 2px solid #FF7043;
	opacity: 1;
}
.cp_cssslider input[name='cp_switch'] ~ img {
	opacity: 0;
}
.cp_cssslider input[name='cp_switch']:checked + label + img {
	opacity: 1;
}



@media screen and (max-width:1300px) {
  img {
    width: 100%;
  }
.SL {
  width: 70%;
  position: relative;
  margin: 0 auto;
}
.A {
  font-size: 20px;
}
.AA {
  font-size: 18px;
  padding-left: 13%;
  text-align: left;
}
.bb{
  text-decoration: none;
  padding: 1.2%;
}
.B {
  padding-left: 15%;
  padding-right: 15%;
}
.BB {
  padding-left: 15%;
  padding-right: 15%;
}
.cp_cssslider label img {
	display: block;
	width: 55px;
	border-radius: 2px;
}
.s{
  text-align: center;
  padding: 0;
}
.sn {
  list-style-type: none;
  display: inline;
}
.sns {
  width: 200px;
  padding: 0 2em;
}
}

@media screen and (min-width:781px) {
#sidearea{display: none;}
}

@media screen and (max-width:780px) {

.A {
  padding: 0px;
  text-align: left;
}
.AA {
  padding: 0px;
  text-align: left;
}
.B {
  padding-left: 13%;
  padding-right: 13%;
}
.BB {
  padding-left: 3%;
  padding-right: 3%;
}
.a {
  width: 35%;
}
.aa{
  width: 50%;
}
.b {
  display: none;
}
.bb {
  display: none;
}
.U {
  text-align: center;
  list-style: none;
  padding-left: 0;
}
.c {
  text-decoration: none;
  font-size: 20px;
}
ul li {
  margin-top: 7px;
  margin-bottom: 7px;
}
.SL {
  width: 100%;
  margin-top: 50px;
}
.T {
  font-size: 30px;
  text-align: center;
}
.TT{
  font-size: 25px;
  text-align: center;
  margin: 0;
}
.I {
  width: 100%;
}
.s{
  text-align: center;
  padding: 0;
}
.sn {
  list-style-type: none;
  display: inline;
}
.sns {
  width: 90px;
  padding: 0 0.75em;
}

#sidearea{
position:absolute;
top:0;
right:0;
}

#nav-drawer {
position: relative;
}
/*チェックボックス等は非表示に*/
.nav-unshown {
display:none;
}
/*アイコンのスペース*/
#nav-open {
display: inline-block;
width: 48px;
height: 55px;
vertical-align: middle;
background:#fffafa;
padding-top: 12px;
}
/*ハンバーガーアイコンをCSSだけで表現*/
#nav-open span, #nav-open span:before, #nav-open span:after {
position: absolute;
height: 6px;/*線の太さ*/
width: 45px;/*長さ*/
border-radius: 4px;
background: #555;
display: block;
content: '';
cursor: pointer;
}
#nav-open span:before {
bottom: -12px;
}
#nav-open span:after {
bottom: -24px;
}
/*閉じる用の薄黒カバー*/
#nav-close {
display: none;/*はじめは隠しておく*/
position: fixed;
z-index: 99;
top: 0;/*全体に広がるように*/
left: 0;
width: 100%;
height: 100%;
background: black;
opacity: 0;
transition: .3s ease-in-out;
}
/*中身*/
#nav-content {
overflow: auto;
position: fixed;
top: 0;
right: 0;
z-index: 9999;/*最前面に*/
width: 90%;/*右側に隙間を作る（閉じるカバーを表示）*/
max-width: 170px;/*最大幅（調整してください）*/
height: auto;
background: #fff;/*背景色*/
transition: .3s ease-in-out;/*滑らかに表示*/
-webkit-transform: translateX(215%);
transform: translateX(215%);/*左に隠しておく*/
}
/*チェックが入ったらもろもろ表示*/
#nav-input:checked ~ #nav-close {
display: block;/*カバーを表示*/
opacity: .5;
}
#nav-input:checked ~ #nav-content {
-webkit-transform: translateX(0%);
transform: translateX(0%);/*中身を表示（右へスライド）*/
box-shadow: 6px 0 25px rgba(0,0,0,.15);
}


*, *:before, *:after {
	-webkit-box-sizing: border-box;
	        box-sizing: border-box;
}
.cp_cssslider {
  width: 100%;
	padding-top: 65%; /* 画像の高さ */
	position: relative;
	margin: 2em auto;
	text-align: center;
}
.cp_cssslider > img {
	position: absolute;
	left: 0;
	top: 0;
	transition: all 0.5s;
	border-radius: 3px;
	box-shadow:0px 0px 5px 0px rgba(0,0,0,0.3);
  width: 100%;
}
.cp_cssslider input[name='cp_switch'] {
	display: none;
}
/* サムネイル */
.cp_cssslider label {
	margin: 15px 0px 0 0px;
	border: 2px solid #ffffff;
	display: inline-block;
	cursor: pointer;
	transition: all 0.5s ease;
	opacity: 0.6;
	border-radius: 3px;
}
.cp_cssslider label:hover {
	opacity: 0.9;
}
.cp_cssslider label img {
	display: block;
	width: 42px;
	border-radius: 2px;
}
.cp_cssslider input[name='cp_switch']:checked + label {
	border: 2px solid #FF7043;
	opacity: 1;
}
.cp_cssslider input[name='cp_switch'] ~ img {
	opacity: 0;
}
.cp_cssslider input[name='cp_switch']:checked + label + img {
	opacity: 1;
}

}

@media screen and (max-width:374px) {
  .cp_cssslider label img {
  	display: block;
  	width: 34px;
  	border-radius: 2px;
  }
  .TT{
    font-size: 23px;
    text-align: center;
    margin: 0;
  }
}
