*{margin:0;padding:0}
div,h1,h2,h3,p,ul,li,input,textarea,table,tr,th,td,footer,header,nav,section{box-sizing:border-box}
input,textarea,select{font-family:'Handjet';font-size:15px;color:inherit}
a{text-decoration:none;outline:none}
a img{border-style:none}
ul,li{list-style-type:none}

html{
font-size:75%;
position:relative;
min-height:100%
}

body{
  
cursor: url('cursor.gif') x y, default;

  
font-size:2em;
background-color: black;
font-family: 'Schoolbell', cursive;
background:#fff url(saturnvalleybg.png); /* 背景 */
background-attachment:fixed;
image-rendering: crisp;
background-size: cover;
color:#614a44; /* 文字色 */
letter-spacing:.1em;
line-height:1.5;
text-align:center;
overflow-wrap:break-word;
word-wrap:break-word
}
#menu,h1,h2{
font-family:'Handjet';
color:#ffffff;
}
a{
color:#ffffff
}
#my{
zoom: 67%;
}
/*--------------------------------------------------------
ヘッダ
--------------------------------------------------------*/
header{
position:relative;
z-index:20
}
#header-inner{
padding:10px 20px
}
header a{
color:#ab9b82
}
.scroll-left {
 height: 50px;	
 font-size:20px;
 overflow: hidden;
 position: relative;
 background: white;
}
::selection {
  /* Change highlight background color to black */
  background: #ff8080;
  /* Change highlight text color to red */
  color: #fff;
}
.marquee{
position:relative;
overflow:hidden;
white-space:nowrap;
width:100%
}

.marquee span{
display:inline-block;
font-size:10px;
font-family:'impactlabel',serif;
color:red;
padding-left:100%;
animation:marquee 50s linear infinite
}

.marquee img{
height:60px;
width:auto;
object-fit:contain;
vertical-align:middle
}

.marquee:hover span{animation-play-state:paused}

@keyframes marquee{
0%{transform:translateX(0)}
100%{transform:translateX(-100%)}
}

/* SCROLLING TEXT!!!!!!!!!!!!!!!!!!!!!!!!!!!!*/
.scroll-left p {
 position: absolute;
 width: 100%;
 font-weight:bold;
 height: 90%;
 margin: 0;
 line-height: 50px;
 text-align: center;
 /* Starting position */
 transform:translateX(100%);
 /* Apply animation to this element */
 animation: scroll-left 20s linear infinite;
}

/* Move it (define the animation) */
@keyframes scroll-left {
 0%   {
 transform: translateX(100%); 		
 }
 100% {
 transform: translateX(-100%); 
 }
}
/*scrolling teEXXXXXXXXXXXXXXXXXXXT*/
/* use it: <div class="scroll-left"> 
text texty text
</div>
*/
/*--------------------------------------------------------
メイン
--------------------------------------------------------*/
/* width */
::-webkit-scrollbar {
  width: 10px;
}

/* Track */
::-webkit-scrollbar-track {
  background: #92b246;
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: #579758;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #555;
}
#contents{
margin:0 auto;
padding:20px 0;
text-align:left;
font-size:15.5px;
}
#contents-inner{
margin:0 auto;
width:1100px /* #contents-boxのwidth＋46 */
}
#contents-box{
background:#fff;
margin:0 auto;
padding:20px 20px;
height:relative;
width:1070px /* (※1)同じ数値にする */
/*imgonan kill myself this sucks I DONT KNOW HOW TO CODE*/
}
#contents a{
text-decoration:underline;
color:#ff8080

}
#contents a:hover{
background:rgba(254,149,153,.5);
border-radius:5px;
color:#e85858
}
.u01,.s01{
width:400px; /* (※1)同じ数値にする */
height:relative
}
/*--------------------------------------------------------
フッタ
--------------------------------------------------------*/
footer{
position:absolute;
bottom:0;left:0;
width:10%;
z-index:10
}
#footer-inner{
padding:10px 20px;
text-align:center
}
footer a{
color:#cf5c62
}
/*--------------------------------------------------------
index
--------------------------------------------------------*/
#index{
margin:20px auto;
height:auto

}
#indexcontents-inner{
margin:0 auto;
padding:20px 0;
font-size:15px;
font-weight:bold;
width:510px /* #indexcontents-boxのwidth＋46 */
}
#indexcontents-box{
background:#fff;
text-align:center;
margin:0 auto;
padding:10px;
width:476px /* (※2)同じ数値にする */
}
.s02,.u02 {
width:40px /* (※2)同じ数値にする */
}
/*--------------------------------------------------------
メニュー
--------------------------------------------------------*/
#menu{
font-size:19px;
font-family: 'Schoolbell', cursive;
line-height:0;
padding:20px 0 0;
width:100%;
text-shadow:
-1px -1px 0 #e15449,
1px -1px 0 #e15449,
-1px 1px 0 #e15449,
1px 1px 0 #e15449;

}
.s02,.u02 {
text-align:center}

nav li{
display:inline-block; /* 横並び */
position:relative; /* サブメニュー表示位置の基準 */

height:0.5em;line-height:2em; /* メニュー高さ */

}
nav li a,nav li span{
letter-spacing:3px;
color:#ffffff;
display:inline-block;
padding:0 5px;
text-decoration:none
}
nav > ul > li+li:before{
}
nav li a:hover,nav li span:hover{
font-size:20px;
background:rgba(242,121,131,.5);
border-radius:5px;
color:#ffffff
}
/* サブメニュー */
.sub-menu{
font-size:16px;
background:none rgba(242,121,131,.5);
border-radius:5px;
position:absolute;
width:200px; /* サブメニュー幅 */
z-index:20;
text-shadow: 0px 0px 0px #f57f7f, 0px 0px 0px #f57f7f, 0px 0px 0px #f57f7f, 0px 0px 0px #f57f7f;
}
.sub-menu li{
display:block; /* 横並びをリセット */
font-family: 'Schoolbell', cursive;
visibility:hidden; /* 隠す */
overflow:hidden; /* 隠す */
height:0; /* 隠す */
width:100%
}
.sub-menu li a{
color:#ffffff;
display:block
}
nav li:hover .sub-menu li{
visibility:visible;
overflow:visible;
height:2em;line-height:2em; /* サブメニュー高さ */
transition: .4s
}
#open{display:none}
/*--------------------------------------------------------
ページ上部へのリンク、著作権表示
--------------------------------------------------------*/
#pagetop {/* 位置はscroll.jsで設定 */
background:rgba(254,149,153,.5);/* 背景 */
color:#fff;/* 色 */
border-radius:5px;
display:block;
padding:5px;
position:fixed;
text-align:center;
z-index:10
}
#fl a{
background:rgba(254,149,153,.5);
border-radius:5px;
color:#fff;
display:inline-block;
padding:10px
}
#pagetop:hover,#fl a:hover{
background:rgba(72,59,60,.6);
transition:.3s
}
/*--------------------------------------------------------*/
.laceframe{
position:relative;
background:transparent;
border:22px solid transparent;
border-image-source:url("laceborder.png");
border-image-slice:22;
border-image-repeat:repeat;
overflow:hidden;
}

.laceframe::before{
  content:"";
  position:absolute;

  top:0;
  left:0;
  width:100%;
  height:160px; 

  background:
    linear-gradient(rgba(0,0,0,.4), rgba(0,0,0,.9)),
    url("banner.png") center / cover no-repeat;

  z-index:-10;
}


.laceframe.side{
width:150px;
padding:20px;
background-color:black;
color:white;
flex-shrink:0
}

.frame-container{
  width:1000px;
  max-width:99%;
  position:relative;
}

/*--------------------------------------------------------
見出し、枠、線
--------------------------------------------------------*/
div.a{
text-align:right;
}

h1{
font-size:1.5em;
color:#614a44;
font-family: 'Schoolbell', cursive;
letter-spacing:.1em;
margin-bottom:8px
}
h2{
font-family: 'Schoolbell', cursive;
font-size:20px
}
h3{
font-family: 'Schoolbell', cursive;
background:url(image/icon01.png) no-repeat;
font-size:1em;
border-bottom:1.5px dashed;
height:30px;line-height:14px;
margin:20px 0
}

h4{
font-size:1.5em;
color:#ffffff;
font-family: 'Schoolbell', cursive;
letter-spacing:.1em;
margin-bottom:8px
}

h5{
font-size:1.5em;
text-align: right;
color:#614a44;
font-family: 'Schoolbell', cursive;
letter-spacing:.1em;
margin-bottom:auto
}

dt{
color:#d79c9a;
font-weight:700;
float:left;
clear:both;
margin:0 0 5px;
width:12em
}
dd{
border-bottom:1px dotted;
margin:0 0 5px 13em
}
em{
background:#fff3cc; /* Ie9 */
background:-webkit-gradient(linear, left top, left bottom, color-stop(0, #fff), color-stop(0.49, #fff), color-stop(0.5, #fff3cc), color-stop(1, #fff3cc));
background: -webkit-linear-gradient(transparent 50%, #fff3cc 0%);
background: linear-gradient(transparent 50%, #fff3cc 0%);
font-weight:700
}
input,textarea{
background:#fae5e5;
border:1px solid;
margin:3px 0;
width:400px
}
textarea{
height:50px
}
hr{
display:block;
border:0;  
border-top:1px solid #ccc;
margin:1em 0;
padding:0;
height:1px
}
.marker{
background:#ffffff;
background:-webkit-gradient(linear, left top, left bottom, color-stop(0, #fff), color-stop(0.49, #fff), color-stop(0.5, #fe9599), color-stop(1, #fe9599));
background:-webkit-linear-gradient(transparent 50%, #ffffff 0%);
background:linear-gradient(transparent 50%, #ff8080 0%);
padding:1px 5px
}
.dcline{
border-left:5px solid #fae5e5;
margin:5px 0;
padding:3px
}
.textbox{
border:1px solid;
margin:10px 0;
padding:3px;
text-align:center
}
.title{
font-size:1.5em;
font-weight:700;
margin:2em 0;
text-align:right
}
.title:first-letter{
color:#f3d0d0;
font-size:1.6em
}
.txt{
border-left:1px dotted;
color:#999;
margin:1em;
padding:0 0 0 1em
}
.frame{
background:#fff;
border-radius:3px;
padding:6px;
box-shadow:4px 4px 4px #ccc
}
.cf:before,.cf:after{content:" ";display:table}
.cf:after{clear:both}
/*--------------------------------------------------------
スマホ、タブレット用
横幅600pxで切り替え
--------------------------------------------------------*/
@media screen and (max-width: 600px){
body{
font-size:1.3em
}
#header-inner{
text-align:left
}
h1{
padding-right:50px;
min-height:40px
}
#index h1{
padding-right:0;
min-height:inherit
}
#contents,#contents-inner,#contents-box,#indexcontents-inner,#indexcontents-box{
width:100%
}
footer{
position:static
}
input,textarea{width:250px}
dt{float:none;clear:none;width:auto}
dd{margin-left:20px}
.box-top,.box-bottom{background:none;height:auto}
.u01,.s01,.u02,.s02{margin:-2;width:120%}
img{max-width:100%;height:auto} /* 画像の縮小表示 */

/*blog test*/
/*blog test*/
/*blog test*/
/*blog test*/
/*blog test*/
/*blog test*/
/*blog test*/

/*--------------------------------------------------------
スマホ、タブレット用メニュー
--------------------------------------------------------*/
/* メニュー */
#menu{
background:#ffffff; /* メニューの背景色 */
text-align:left;
padding:0;
display:none;
position:absolute; /* 表示位置固定 */
left:0;
z-index:20
}
nav li{
display:block; /* 横並び解除 */
height:auto;line-height:inherit /* 高さリセット */
}
nav > ul > li+li{
border-top:1px dashed #fff
}
nav > ul > li+li:before{
content:none
}
nav li a,nav li span{
color:#fff;
display:block;
position:relative;
padding:15px 20px /* リンクの余白 一列の高さはここで調節 */
}

/* サブメニュー */
.sub-menu{
background:rgba(243,208,208,.5);
border-top:1px dashed #fff;
position:static;
display:none; /* 隠す */
width:100%;
z-index:auto
}
.sub-menu li{
display:inline-block;/* 一列ごとにするならここを削除 */
visibility:visible; /* リセット */
overflow:visible; /* リセット */
height:auto; /* 高さリセット */
width:50% /* 一列ごとにするならここを削除 */
}
.sub-menu li a:after{
display:none
}
nav li:hover .sub-menu li{
height:auto;line-height:inherit /* 高さリセット */
}
nav li span:after{
border-top:3px solid #fff;/* メニュー「>」の色 */
border-right:3px solid #fff;/* メニュー「>」の色 */
content:"";
display:block;
margin-top:-5px;
position:absolute;
top:50%;right:20px;
height:5px;width:5px;
-ms-transform:rotate(45deg);
-webkit-transform:rotate(45deg);
transform:rotate(45deg);
transition:.5s
}
.open{
-ms-transform:rotate(135deg);
-webkit-transform:rotate(135deg);
transform:rotate(135deg)
/* メニューを開くボタン */
#open{
background:#614a44
border:3px solid #fff;
border-radius:20px;
box-shadow:0 1px 5px #ab9b82;
display:inline-block;
position:absolute;
height:40px;width:40px;/* 大きさ */
top:10px;right:20px/* 位置 */
}
/
}
#contents2 a{
text-decoration:underline;
color:#ff8080
}
#contents2 a:hover{
background:rgba(254,149,153,.5);
border-radius:5px;
color:#e85858
}
.u01,.s01{
width:400px; /* (※1)同じ数値にする */
height:AUTO
}

#open-icon,#open-icon:before,#open-icon:after{
background:#fff;/* 線の色 */
}
#open-icon{display:block;margin:-1px 0 0 -10px;position:absolute;top:50%;left:50%;height:2px;width:20px}
#open-icon:before,#open-icon:after{content:"";display:block;position:absolute;top:50%;left:0;height:2px;width:20px;transition:.3s}
#open-icon:before{margin-top:-8px}
#open-icon:after{margin-top:6px}
#open .close{background:transparent}
#open .close:before,#open .close:after{margin-top:0}
#open .close:before{-ms-transform:rotate(-45deg);-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}
#open .close:after{-ms-transform:rotate(-135deg);-webkit-transform:rotate(-135deg);transform:rotate(-135deg)}

}