@charset "UTF-8";
body {
	margin-top: 0px;
	background-repeat: repeat-x;
	height: auto;
	width: auto;
	background-image: url(../sozai/haikei_2.png);
}
#container {
  position: relative;
  height: auto;
  width: min(1280px, 100%);
  margin: 0 auto;
}


#minbox {
	height: 734px;
	width: 1252px;
	margin-right: 14px;
	margin-left: 14px;
	margin-top: 2px;
	float: left;
	background-image: url(../sozai/.png);
}
#sbox1 {
	float: left;
	height: 734px;
	width: 211px;
}
#sbox2 {
	float: left;
	height: 734px;
	width: 211px;
	margin-left: 14px;
}
#sbox3 {
	float: left;
	height: 734px;
	width: 211px;
	margin-left: 14px;
}
#sbox4 {
	background-color: rgba(240,176,11,1);
	float: left;
	height: 734px;
	width: 577px;
	margin-left: 14px;
}
#ssbox1 {
	height: 185px;
	width: 211px;
}
#ssbox2 {
	height: 269px;
	width: 211px;
	margin-top: 14px;
}
#ssbox3 {
	height: 252px;
	width: 211px;
	margin-top: 14px;
}
#ssbox4 {
	height: 411px;
	width: 211px;
	float: left;
}
#ssbox5 {
	height: 190px;
	width: 211px;
	position: relative;
	margin: 0px;
	bottom: 28px;
	float: left;
}
#ssbox6 {
	height: 147px;
	width: 211px;
	position: relative;
	bottom: 15px;
	float: left;
}
#ssbox7 {
	height: 185px;
	width: 211px;
}
#ssbox8 {
	height: 269px;
	width: 211px;
	margin-top: 14px;
}
#ssbox9 {
	height: 252px;
	width: 211px;
	margin-top: 14px;
}
#bg {
	height: 58px;
	width: 211px;
	margin-top: 35px;
	margin-left: 164px;
	float: left;
}

#rogo {
	float: left;
	height: 79px;
	width: 300px;
	margin-top: 3px;
	margin-bottom: 3px;
}
#ssbox10 {
	float: left;
	height: 335px;
	width: 194px;
	margin-top: 30px;
	margin-left: 10px;
	background-color: rgba(255,255,255,1);
}
#ssbox11 {
	background-color: rgba(255,255,255,1);
	float: left;
	height: 335px;
	width: 353px;
	margin-top: 30px;
	margin-left: 10px;
}
#top {
	height: 15px;
	width: 1280px;
	background-color: rgba(254,153,0,1);
	background-repeat: repeat-x;
}
#fotter {
	height: 78px;
	width: 1280px;
	margin-top: 14px;
	float: left;
}
#copy {
	height: 20px;
	width: 500px;
	margin-right: 427px;
	margin-left: 427px;
	margin-top: 30px;
	font-family: Georgia, "Times New Roman", Times, serif;
	font-size: 14px;
	float: left;
}
#3box {
	float: left;
	height: 734px;
	width: 661px;
	background-color: rgba(153,57,58,1);
}
#pbox {
	float: right;
	height: 143px;
	width: 100px;
	margin-top: 220px;
}
#container2 {
	background-color: rgba(255,255,255,1);
	height: 1100px;
	width: 1280px;
	margin-right: auto;
	margin-left: auto;
}
#mbox {
	float: left;
	height: 850px;
	width: 1252px;
	margin-right: 14px;
	margin-left: 14px;
	margin-top: 6px;
	background-color: rgba(245,245,245,1);
}
.main6b {
	height: 367px;
	width: 417px;
	float: left;
}
#doabox {
	width: 1252px;
	height: 280px;
	margin-top: 150px;
	margin-right: auto;
	margin-left: auto;
}
#1-1 {
	height: 280px;
	width: 239px;
	margin-left: 66px;
}
#1-2 {
	height: 280px;
	width: 239px;
	float: left;
}
#doa1-1 {
	float: left;
	height: 280px;
	width: 239px;
	margin-left: 66px;
}
#doa1-2 {
	float: left;
	height: 280px;
	width: 239px;
	margin-left: 33px;
}
#doa1-3 {
	float: left;
	height: 280px;
	width: 239px;
	margin-left: 33px;
}
#doa1-4 {
	float: left;
	height: 280px;
	width: 239px;
	margin-left: 33px;
}

#taitol2 {
	background-color: rgba(246,170,171,1);
	height: 79px;
	width: 600px;
	float: left;
	margin-top: 4px;
	margin-bottom: 2px;
	margin-left: 10px;
	font-size: 18px;
}
.taitol {
	float: left;
	height: 79px;
	width: 600px;
	margin-top: 4px;
	margin-bottom: 2px;
	margin-left: 10px;
}
#setumeihonbun {
	height: 100px;
	width: 1200px;
	margin-right: auto;
	margin-left: auto;
}

.conbox_3 {
	float: left;
	height: 400px;
	width: 1200px;
	margin-top: 160px;
	margin-left: 102px;
}


.conbox_2 {
	float: left;
	height: 192px;
	width: 1068px;
	margin-top: 130px;
	margin-left: 102px;
}
#ibox2_2 {
	height: 192px;
	width: 192px;
	margin-left: 27px;
	float: left;
	background-color: rgba(9,174,255,0.00);
}
#ibox3_2 {
	float: left;
	height: 192px;
	width: 192px;
	margin-left: 27px;
	background-color: rgba(255,255,255,0.0);
}
#ibox4_2 {
	float: left;
	height: 192px;
	width: 192px;
	margin-left: 27px;
	background-color: rgba(255,255,255,0.00);
}
#ibox5_2 {
	float: left;
	height: 192px;
	width: 192px;
	margin-left: 27px;
	background-color: rgba(146,7,249,0.00);
}

.conbox_3 {
	float: left;
	height: 192px;
	width: 1068px;
	margin-top: 70px;
	margin-left: 102px;
}
#ibox2_2 {
	height: 192px;
	width: 192px;
	margin-left: 27px;
	float: left;
	background-color: rgba(9,174,255,0.00);
}
#ibox3_2 {
	float: left;
	height: 192px;
	width: 192px;
	margin-left: 27px;
	background-color: rgba(255,255,255,0.0);
}
#ibox4_2 {
	float: left;
	height: 192px;
	width: 192px;
	margin-left: 27px;
	background-color: rgba(255,255,255,0.00);
}
#ibox5_2 {
	float: left;
	height: 192px;
	width: 192px;
	margin-left: 27px;
	background-color: rgba(146,7,249,0.00);
}
#minibox2 {
	height: 734px;
	width: 1252px;
	margin-right: 14px;
	margin-left: 14px;
	float: left;
}
#nikgif {
	float: left;
	height: 700px;
	width: 554px;
	margin-top: 17px;
	margin-left: 17px;
}
#komento {
	float: left;
	height: 700px;
	width: 651px;
	margin-top: 17px;
	margin-left: 15px;
	margin-bottom: 17px;
}
.taitorubox {
	float: left;
	height: 78px;
	width: 651px;
	margin-top: 8px;
	margin-left: 15px;
}
#kyaramenyu {
	float: left;
	height: 650px;
	width: 300px;
	margin-top: 14px;
}
#hpta {
	height: 100px;
	width: 300px;
}
#hptb {
	height: 100px;
	width: 300px;
	float: left;
	margin-top: 5px;
}
#container #minibox {
}
#krbox {
	float: left;
	height: 510px;
	width: 380px;
	margin-top: 14px;
	margin-left: 120px;
}
#mink {
	height: 700px;
	width: 500px;
	float: right;
}
#kyaename {
	float: none;
	height: 250px;
	width: 360px;
	margin-top: 15px;
}
#sabuk {
	float: left;
	height: 360px;
	width: 360px;
	margin-top: 30px;
}
#bbbbox {
	float: left;
	height: 200px;
	width: 1252px;
	margin-left: 30px;
	margin-top: 14px;
}
#pbox {
	background-image: url(../sozai/pb.png);
	height: 734px;
	width: 1252px;
	margin-right: 14px;
	margin-left: 14px;
	margin-top: 14px;
}
#btn1 {
	height: 126px;
	width: 261px;
	margin-top: 100px;
	margin-left: 120px;
	float: left;
}
#bt1024 {
	float: left;
	height: 53px;
	width: 261px;
}
#bt1280 {
	float: left;
	height: 53px;
	width: 261px;
	margin-top: 20px;
}

#bt720 {
	float: left;
	height: 53px;
	width: 261px;
	margin-top: 20px;
}
#btcale_A4 {
	float: left;
	height: 53px;
	width: 261px;
	margin-top: 20px;
}

#btcale_hagaki {
	float: left;
	height: 53px;
	width: 261px;
	margin-top: 25px;
}
#calesetsu {
	float: left;
	height: 167px;
	width: 249px;
	margin-top: 95px;
}
#ptt {
	height: 44px;
	width: 400px;
	float: left;
	margin-top: 120px;
	margin-left: 200px;
}
#ptt2{
  height: 44px;
  width: 292px;
  float: left;
  margin-top: 120px;
  margin-left: 230px;
  text-align: center;
}


#pmin {
	height: 500px;
	width: 450px;
	float: left;
	margin-top: 90px;
	margin-left: 150px;
}

#pmin2 {
	height: 500px;
	width: 292px;
	float: left;
	margin-top: 40px;
	margin-left: 230px;
}#ptt3 {
	height: 44px;
	width: 551px;
	margin-top: 80px;
	margin-left: 314px;
}
#pmin3 {
	height: 480px;
	width: 640px;
	float: left;
	margin-top: 30px;
	margin-left: 60px;
}
#pmin4 {
	height: 500px;
	width: 339px;
	float: left;
	margin-top: 40px;
	margin-left: 100px;
}
#kbgm1280 {
	height: 1024px;
	width: 1280px;
	margin-top: auto;
	margin-left: auto;
	float: left;
}
#kbgm1024 {
	height: 768px;
	width: 1024px;
	margin-left: 128px;
	margin-right: 128px;
	float: left;
}

#kbgm720 {
	height: 1280px;
	width: 720px;
	margin-left: auto;
	margin-right: auto;
	float: left;
}

#kousin {
	background-color: rgba(255,255,255,1);
	height: 20px;
	width: 850px;
	margin-top: 200px;
	margin-right: auto;
	margin-left: auto;
}
#mozib {
	height: 130px;
	width: 150px;
	margin-right: auto;
	margin-left: auto;
	margin-top: 50px;
	font-family: "ＭＳ Ｐ明朝", "MS PMincho", "ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", serif;
	font-size: 12px;
	font-style: italic;
	font-weight: normal;
	text-transform: capitalize;
	font-variant: normal;
}
#orir {
	float: left;
	height: 644px;
	width: 1000px;
	margin-right: 126px;
	margin-left: 126px;
	margin-top: 55px;
	margin-bottom: 35px;
}
#titrr {
	float: left;
	height: 100px;
	width: 1000px;
	margin-right: auto;
	margin-left: auto;
	background-color: rgba(205,60,63,0.0);
}
.tbox {
	float: left;
	height: 200px;
	width: 1000px;
	margin-top: 50px;
}
.orgmbox {
	float: left;
	height: 200px;
	width: 200px;
	margin-left: 25px;
	background-color: rgba(248,248,248,0.0);
	margin-right: 25px;
}
.gensunori {
	float: left;
	height: 600px;
	width: 600px;
	margin-top: 70px;
	margin-left: 110px;
}
#syousai {
	float: right;
	height: 100px;
	width: 350px;
	margin-top: 35px;
	margin-right: 122px;
}
#modoru {
	float: right;
	height: 60px;
	width: 150px;
	margin-top: 100px;
	margin-right: 130px;
}
#setsumei {
	float: left;
	height: 300px;
	width: 370px;
	margin-top: 70px;
	margin-left: 60px;
}
.ibox01 {
	float: left;
	height: 192px;
	width: 192px;
	background-image: url(../sozai/otiaws.png);
}
.mozibox {
	height: 130px;
	width: 150px;
	font-family: "ＭＳ Ｐ明朝", "MS PMincho", "ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", serif;
	font-size: 12px;
	font-style: italic;
	font-weight: normal;
	font-variant: normal;
	text-transform: capitalize;
	margin-top: 50px;
	margin-right: auto;
	margin-left: auto;
}
.ibox02 {
	height: 192px;
	width: 192px;
	margin-left: 27px;
	float: left;
}
#tori {
	float: right;
	height: 79px;
	width: 200px;
	margin-top: 3px;
	margin-bottom: 3px;
}
#tori {
	float: right;
	height: 79px;
	width: 200px;
	margin-top: 3px;
	margin-bottom: 3px;
}
#gbox {
	float: left;
	height: 367px;
	width: 1166px;
}
.sgbox {
	width: 578px;
	float: left;
	height: 361px;
	margin-top: 3px;
	margin-right: 5px;
	margin-bottom: 3px;
}
.gbox2 {
	height: 367px;
	width: 1166px;
	float: left;
}
#yazurysi {
	float: right;
	height: 86px;
	width: 86px;
	margin-top: 280px;
}
#yazurysi2 {
	float: right;
	height: 86px;
	width: 86px;
	margin-bottom: 280px;
}
.fc2box {
	height: 30px;
	width: 1000px;
	float: left;
	margin-top: 20px;
}
.mailbox {
	float: none;
	height: 700px;
	width: 500px;
	background-color: rgba(255,255,255,1);
	margin-right: auto;
	margin-left: auto;
}
.mmv {
	list-style-type: none;
	padding: 0px;
	width: 150px;
	height: 450px;
	float: left;
	margin-top: 0px;
	margin-right: auto;
	margin-bottom: 0px;
	margin-left: auto;
}
.mailbox .mmv ul li a {
	text-align: center;
	float: right;
	width: 150px;
	display: block;
	background-color: rgba(206,235,248,1);
	font-size: small;
	font-weight: bold;
	list-style-type: none;
	padding-top: 8px;
	padding-bottom: 8px;
	height: 20px;
	margin-top: 0px;
	margin-right: auto;
	margin-bottom: 0px;
	margin-left: auto;
}
.mailbox .mmv ul {
	margin: 0px;
	padding: 0px;
	list-style-type: none;
	width: 150px;
	text-align: center;
	height: 100px;
	clear: left;
	float: left;
}
#msbox {
	float: left;
	width: 350px;
	height: 20px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
	margin-left: 0px;
	padding-top: 8px;
	padding-right: 0px;
	padding-bottom: 8px;
	padding-left: 0px;
}
#btnbox {
	float: right;
	height: 50px;
	width: 500px;
	background-color: rgba(111,142,175,1);
}
#mmv2 {
	float: left;
	height: 450px;
	width: 350px;
}

b {
	text-align: center;
	float: right;
	width: 150px;
	display: block;
	background-color: rgba(156,214,240,1);
	font-size: small;
	font-weight: bold;
	list-style-type: none;
	padding-top: 8px;
	padding-bottom: 8px;
	height: 20px;
	margin-top: 0px;
	margin-right: auto;
	margin-bottom: 0px;
	margin-left: auto;
}

C {
	text-align: center;
	float: right;
	width: 150px;
	display: block;
	background-color: rgba(206,235,248,1);
	font-size: small;
	font-weight: bold;
	list-style-type: none;
	height: 60px;
	margin-right: auto;
	margin-bottom: 0px;
	margin-left: auto;
	margin-top: 0px;
	padding-top: 45px;
}
#combox {
	float: left;
	height: 250px;
	width: 1200px;
	margin-top: 25px;
	margin-left:50px;
	background-image: url("../sozai/top/com5.png");
	text-align: justify;
	display: block;
    font-size: 16px;
	line-height: 18px;
	white-space: normal;
	background-repeat: no-repeat;
}
#oshirasebun {
    height: 75px;
    width: 700px;
    float: left;
    margin-top: 75px;
    margin-left: 70px;
    font-size: 15px;
    line-height: 25px;
    text-align: left;
    overflow: auto;
}

#fall-layer{
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;           
  overflow: hidden;
}


#container{
  position: relative;
  z-index: 1;
}

.fall{
  position: absolute;
  top: -12vh;
  left: 0;
  width: var(--size);
  height: var(--size);
  opacity: var(--op);
  transform: translateX(var(--x));
  filter: blur(var(--blur));
  animation:
  floatDown var(--dur) linear var(--delay) infinite,
  windDrift var(--gust) ease-in-out var(--delay) infinite;
  will-change: transform, top, opacity;
}

.fall.is-petal{
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  filter: blur(var(--blur)) drop-shadow(0 2px 10px rgba(255,255,255,0.5));
  opacity: var(--op);
}


.fall.is-petal{ background-image: var(--petal); }


.fall.is-petal[style*="--v: 0"]{ --petal: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 120'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop offset='0' stop-color='%23ff6aa2'/%3E%3Cstop offset='1' stop-color='%23ffd66a'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M62 10 C80 18 98 40 92 62 C86 84 64 104 52 110 C38 101 18 78 22 55 C26 32 44 14 62 10 Z' fill='url(%23g)'/%3E%3Cpath d='M62 16 C76 23 90 40 85 60 C80 80 64 96 54 101 C42 93 26 75 30 56 C34 37 48 21 62 16 Z' fill='%23ffffff' fill-opacity='.18'/%3E%3C/svg%3E"); }

.fall.is-petal[style*="--v: 1"]{ --petal: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 120'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop offset='0' stop-color='%23ff7a5c'/%3E%3Cstop offset='1' stop-color='%23ffe07a'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M62 10 C80 18 98 40 92 62 C86 84 64 104 52 110 C38 101 18 78 22 55 C26 32 44 14 62 10 Z' fill='url(%23g)'/%3E%3Cpath d='M62 16 C76 23 90 40 85 60 C80 80 64 96 54 101 C42 93 26 75 30 56 C34 37 48 21 62 16 Z' fill='%23ffffff' fill-opacity='.18'/%3E%3C/svg%3E"); }

.fall.is-petal[style*="--v: 2"]{ --petal: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 120'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop offset='0' stop-color='%23ffcc4d'/%3E%3Cstop offset='1' stop-color='%23fff3a6'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M62 10 C80 18 98 40 92 62 C86 84 64 104 52 110 C38 101 18 78 22 55 C26 32 44 14 62 10 Z' fill='url(%23g)'/%3E%3Cpath d='M62 16 C76 23 90 40 85 60 C80 80 64 96 54 101 C42 93 26 75 30 56 C34 37 48 21 62 16 Z' fill='%23ffffff' fill-opacity='.18'/%3E%3C/svg%3E"); }

.fall.is-petal[style*="--v: 3"]{ --petal: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 120'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop offset='0' stop-color='%237fe37a'/%3E%3Cstop offset='1' stop-color='%23d7ff9c'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M62 10 C80 18 98 40 92 62 C86 84 64 104 52 110 C38 101 18 78 22 55 C26 32 44 14 62 10 Z' fill='url(%23g)'/%3E%3Cpath d='M62 16 C76 23 90 40 85 60 C80 80 64 96 54 101 C42 93 26 75 30 56 C34 37 48 21 62 16 Z' fill='%23ffffff' fill-opacity='.18'/%3E%3C/svg%3E"); }

.fall.is-petal[style*="--v: 4"]{ --petal: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 120'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop offset='0' stop-color='%235bbcff'/%3E%3Cstop offset='1' stop-color='%23b7e6ff'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M62 10 C80 18 98 40 92 62 C86 84 64 104 52 110 C38 101 18 78 22 55 C26 32 44 14 62 10 Z' fill='url(%23g)'/%3E%3Cpath d='M62 16 C76 23 90 40 85 60 C80 80 64 96 54 101 C42 93 26 75 30 56 C34 37 48 21 62 16 Z' fill='%23ffffff' fill-opacity='.18'/%3E%3C/svg%3E"); }

.fall.is-petal[style*="--v: 5"]{ --petal: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 120'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop offset='0' stop-color='%238b7bff'/%3E%3Cstop offset='1' stop-color='%23d2c7ff'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M62 10 C80 18 98 40 92 62 C86 84 64 104 52 110 C38 101 18 78 22 55 C26 32 44 14 62 10 Z' fill='url(%23g)'/%3E%3Cpath d='M62 16 C76 23 90 40 85 60 C80 80 64 96 54 101 C42 93 26 75 30 56 C34 37 48 21 62 16 Z' fill='%23ffffff' fill-opacity='.18'/%3E%3C/svg%3E"); }

.fall.is-petal[style*="--v: 6"]{ --petal: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 120'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop offset='0' stop-color='%23ff86c8'/%3E%3Cstop offset='1' stop-color='%23ffd1ea'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M62 10 C80 18 98 40 92 62 C86 84 64 104 52 110 C38 101 18 78 22 55 C26 32 44 14 62 10 Z' fill='url(%23g)'/%3E%3Cpath d='M62 16 C76 23 90 40 85 60 C80 80 64 96 54 101 C42 93 26 75 30 56 C34 37 48 21 62 16 Z' fill='%23ffffff' fill-opacity='.18'/%3E%3C/svg%3E"); }

.fall.is-petal[style*="--v: 7"]{ --petal: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 120'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop offset='0' stop-color='%23ff5a4f'/%3E%3Cstop offset='1' stop-color='%23ffd0b3'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M62 10 C80 18 98 40 92 62 C86 84 64 104 52 110 C38 101 18 78 22 55 C26 32 44 14 62 10 Z' fill='url(%23g)'/%3E%3Cpath d='M62 16 C76 23 90 40 85 60 C80 80 64 96 54 101 C42 93 26 75 30 56 C34 37 48 21 62 16 Z' fill='%23ffffff' fill-opacity='.18'/%3E%3C/svg%3E"); }


@keyframes spin{
  0%   { transform: translateX(var(--x)) rotate(var(--rot)); }
  50%  { transform: translateX(var(--x)) rotate(calc(var(--rot) + 180deg)); }
  100% { transform: translateX(var(--x)) rotate(calc(var(--rot) + 360deg)); }
}

@keyframes sway{
  0%,100% { transform: translateX(var(--x)) translateY(0); }
  50%     { transform: translateX(calc(var(--x) + var(--sway))) translateY(0); }
}


@keyframes spin{
  0%   { transform: translateX(var(--x)) rotate(var(--rot)); }
  50%  { transform: translateX(var(--x)) rotate(calc(var(--rot) + 180deg)); }
  100% { transform: translateX(var(--x)) rotate(calc(var(--rot) + 360deg)); }
}

@keyframes floatDown{
  0%   { top: -12vh; opacity: 1; }
  100% { top: 110vh; opacity: 1; }
}


@keyframes windDrift{
  0%   { transform: translateX(var(--x)) rotate(var(--rot)); }
  40%  { transform: translateX(calc(var(--x) + var(--drift))) rotate(calc(var(--rot) + 20deg)); }
  70%  { transform: translateX(calc(var(--x) - (var(--drift) * .4))) rotate(calc(var(--rot) + 60deg)); }
  100% { transform: translateX(var(--x)) rotate(calc(var(--rot) + 120deg)); }
}



@media (prefers-reduced-motion: reduce){
  #fall-layer{ display:none; }
}



@keyframes anim {
  100% {color:transparent;top:150%;}
}

.open {
	cursor:pointer; 
}
#pop-up {
	display: none; 
}
.overlay {
	display: none; 
}
#pop-up:checked + .overlay {
	display: block;
	z-index: 9999;
	background-color: #00000070;
	position: fixed;
	width: 100%;
	height: 100vh;
	top: 0;
	left: 0;
}
.window {
	width: 100%;
	max-width: 3000px;
	height: 632px;
	background-color: #ffffff;
	border-radius: 6px;
	display: flex;
	justify-content: center;
	align-items: center;
	position: fixed;
	top: 80%;
	left: 80%;
	transform: translate(-50%, -50%);
}
.text {
	font-size: 18px;
	margin: 0;
}
.close {
	cursor:pointer;
	position: absolute;
	top: 4px;
	right: 4px;
	font-size: 20px;
}

#tana {
	height: 650px;
	width: 800px;
	margin-left: 230px;
	margin-right: 300px;
	float: left;
}


#minibox3 {
	height: 734px;
	width: 1252px;
	margin-right: 14px;
	margin-left: 14px;
	float: left;
}
.smabox {
	width: 200px;
	float: left;
	height: 200px;
	margin-top: 3px;
	margin-right: 5px;
	margin-bottom: 3px;
}
#minibox4 {
	height: 734px;
	width: 1252px;
	margin-right: 14px;
	margin-left: 14px;
	float: left;
}
.sgalbox {
	width: 289px;
	float: left;
	height: 181px;
	margin-top: 10px;
	margin-right: 20px;
	margin-bottom: 3px;
}


#galbox .sgalbox:empty{
  pointer-events: none;
  box-shadow: none;
  transform: none;
}

#galbox .sgalbox:empty::after{
  display: none;
}


.pabox {
	width: 40px;
	float: right;
	height: 40px;
	margin-top: 60px;
	margin-right: 21px;
	margin-bottom: 30px;
}

#shin_box{
	height: 400px;
    width: 1252px;
    float: left;
    margin-top: 150px;
    margin-left: auto;
}

#shin_conbox{
	height: 200px;
    width: 900px;
	margin-top: 100px;
    float: left;

}
	
#ibox {
	width: 200px;
	float: left;
	height: 200px;
	margin-top: 5px;
	margin-right: 20px;
	margin-bottom: 5px;
}

#facebookbox{

	height: 400px;
	width: 300px;
	float: right;
	margin-top: 3px;
	margin-bottom: 300px;
}

#shin_box2{
	height: 400px;
    width: 1252px;
    float: left;
    margin-top: 70px;
    margin-left: auto;
}

#shin_box3{
	height: 400px;
    width: 1252px;
    float: left;
    margin-top: 50px;
    margin-left: auto;
}



#nuri1 {
	height: 500px;
	width: 400px;
	float: left;
	margin-top: 150px;
	margin-left: 100px;
}

#nuri2 {
	height: 500px;
	width: 400px;
	float: left;
	margin-top: 150px;
	margin-left: 150px;
	
	}

#minibox5 {
	height: 734px;
	width: 1252px;
	margin-right: 14px;
	margin-left: 14px;
	float: left;
}
	.nuribox {
	width: 267px;
	float: left;
	height: 189px;
	margin-top: 40px;
	margin-right: 45px;
	margin-bottom: 30px;
}

	.nuribotan {
	width: 267px;
	float: left;
	height: 34px;
	margin-top: 2px;
	margin-right: 45px;
	margin-bottom: 30px;
}

#pabox2 {
	height: 80px;
	width: 1252px;
	margin-right: 14px;
	margin-left: 14px;
	float: left;
}

.pabox2_2 {
	width: 40px;
	float: right;
	height: 40px;
	margin-top: 60px;
	margin-right: 21px;
	margin-bottom: 30px;
}

#fotter2 {
	height: 78px;
	width: 1280px;
	margin-top: 76px;
	float: left;

	}

#charabox {
	width: 120px;
	float: left;
	height: 120px;
	margin-top: 30px;
	margin-right: 36px;
	margin-bottom: 5px;
}
	
#chara_mainbox {
	float: left;
	height: 510px;
	width: 380px;
	margin-top: 14px;
	margin-left: 120px;
}
	
#chara_namebox {
	float: left;
	height: 100px;
	width: 400px;
	margin-top: 65px;
	margin-left: 300px;
}

#chara_setsumeibox {
	float: left;
	height: 250px;
	width: 600px;
	margin-top: 40px;
	margin-left: 100px;
}


.btnrow{
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
  width: 100%;
  overflow: visible;
}


.btnrow a{
  display: block; 
}

.btnrow a img{
  display: block;
  height: 30px;
  width: auto;
}


#pmin .btnrow{
  width: 450px;
  margin-left: auto;
  margin-right: auto;
}

#pmin2 .btnrow{
  width: 292px;
  margin-left: auto;
  margin-right: auto;
}

/*ページネーション*/
.pagination{
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  margin-top: 50px;
  margin-bottom: 30px;

  clear: both;
  margin-top: 40px;
}


.pagination__num,
.pagination__arrow{
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 42px;
  height: 42px;

  text-decoration: none;
  color: #fff;

  font-family: "Hiragino Sans", "ヒラギノ角ゴ ProN W3",
               "Noto Sans JP", sans-serif;
  font-size: 22px;
  line-height: 1;

  background-color: #333;
  border-radius: 6px;
}


.pagination__num:hover,
.pagination__arrow:hover{
  opacity: .8;
}


.pagination__num.is-current{
  background-color: #f2a23a;
  color: #fff;
  font-weight: bold;
}


.pagination__dots{
  background: none;
  color: #6e7685;
  font-size: 22px;
  letter-spacing: 2px;
}

.pagination__arrow{
  margin: 0 85px;
}

#galbox::after{
  content: "";
  display: block;
  clear: both;
}



.sgalbox{
  position: relative;
  overflow: hidden;

  transition: transform 0.35s ease, box-shadow 0.35s ease;
}


.sgalbox::after{
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(255,255,255,0.35);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none; 
}

.sgalbox a{
  display: block;
}

.sgalbox img{
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;

  transform: scale(1);
  transition: transform 0.35s ease;
}


.sgalbox:hover{
  transform: translateY(-6px); 
  box-shadow: 0 12px 28px rgba(0,0,0,0.18);
}

.sgalbox:hover img{
  transform: scale(1.12);
}

.sgalbox:hover::after{
  opacity: 1; 
}


/* 「第○話」ラベル（下帯：第二話風） */
.thumb__ep{
  z-index: 2;
  position: absolute;
  left: 0;
  bottom: 0;

  width: 100%;
  height: 45px;              /* 帯の高さ */

  display: flex;
  align-items: center;
  justify-content: center;


  background: rgba(90, 55, 15, 1); /*  0.65・・・透け具合 */
  color: #fff;

  font-family: "Hiragino Sans","ヒラギノ角ゴ ProN W3","Noto Sans JP",sans-serif;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: .06em;


  border-radius: 0 0 8px 8px;

  /* 立体感 */
  box-shadow: 0 -2px 10px rgba(0,0,0,0.25);
  text-shadow: 0 2px 6px rgba(0,0,0,0.35);

  pointer-events: none;
}

.smabox a.thumb{
  position: relative;
  display: block;
  width: 200px;
  height: 200px;
  overflow: hidden;
  border-radius: 8px;
}

.smabox a.thumb img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}


.smabox a.thumb{
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  will-change: transform;
}


.smabox a.thumb::after{
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.35);
  opacity: 0;
  transition: opacity 0.35s ease;
  z-index: 2;
  pointer-events: none;
}


.smabox a.thumb img{
  position: relative;
  z-index: 1;
  transform: scale(1);
  transition: transform 0.35s ease;
}


.thumb__ep{
  z-index: 3; 
}


.smabox a.thumb:hover{
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.18);
}

.smabox a.thumb:hover img{
  transform: scale(1.12);
}

.smabox a.thumb:hover::after{
  opacity: 1;
}

/* ▼ Loading  */
.loading{
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(6px);
  opacity: 1;
  visibility: visible;
  transition: opacity .55s ease, visibility .55s ease;
}

.loading.is-hide{
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loading__inner{
  text-align: center;
  transform: translateY(-6px);
}

.loading__img{
  width: min(320px, 60vw);
  height: auto;
  display: block;
  margin: 0 auto 16px;

  animation: imgSway 3.6s ease-in-out infinite;
  transform-origin: center center;
}


@keyframes imgSway{
  0%   { transform: translate(0, 0) rotate(0deg); }
  25%  { transform: translate(-10px, -4px) rotate(-1deg); }
  50%  { transform: translate(0, 0) rotate(0deg); }
  75%  { transform: translate(10px, -4px) rotate(1deg); }
  100% { transform: translate(0, 0) rotate(0deg); }
}

.loading__text{
  font-family: "Hiragino Sans","ヒラギノ角ゴ ProN W3","Noto Sans JP",sans-serif;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: .06em;
  color: #333;
}

.loading__text::after{
  content: "";
  display: inline-block;
  width: 1.2em;
  text-align: left;
  animation: loadingDots 1.2s steps(4,end) infinite;
}
@keyframes loadingDots{
  0%   { content: ""; }
  25%  { content: "."; }
  50%  { content: ".."; }
  75%  { content: "..."; }
  100% { content: ""; }
}


body.is-loading{
  overflow: hidden;
}

.loading__text{
  display: inline-flex;     
  gap: 2px;                    
  align-items: baseline;
}

.loading__text span{
  display: inline-block;
  animation: loadingBounce 0.9s ease-in-out infinite;
}


.loading__text span:nth-child(1){ animation-delay: 0s; }
.loading__text span:nth-child(2){ animation-delay: .08s; }
.loading__text span:nth-child(3){ animation-delay: .16s; }
.loading__text span:nth-child(4){ animation-delay: .24s; }
.loading__text span:nth-child(5){ animation-delay: .32s; }
.loading__text span:nth-child(6){ animation-delay: .40s; }
.loading__text span:nth-child(7){ animation-delay: .48s; }

@keyframes loadingBounce{
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}

/* ▼ 8色の丸 */
.loading__dots{
  margin-top: 12px;
  display: flex;
  justify-content: center;
  gap: 14px; 
}

.loading__dots span{
  width: 18px;  
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  display: inline-block;
  animation: dotBounce 0.9s ease-in-out infinite;
  transform: translateY(0);
}


.loading__dots span:nth-child(1){ background:#ff5a4f; animation-delay: 0s; }
.loading__dots span:nth-child(2){ background:#ff9b55; animation-delay: .08s; }
.loading__dots span:nth-child(3){ background:#ffe85a; animation-delay: .16s; }
.loading__dots span:nth-child(4){ background:#cfff55; animation-delay: .24s; }
.loading__dots span:nth-child(5){ background:#41d36a; animation-delay: .32s; }
.loading__dots span:nth-child(6){ background:#64b8ff; animation-delay: .40s; }
.loading__dots span:nth-child(7){ background:#b784e6; animation-delay: .48s; }
.loading__dots span:nth-child(8){ background:#ff86c8; animation-delay: .56s; }

@keyframes dotBounce{
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-12px); } 
}

.pageTitle{
  height: 60px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-family: "Hiragino Sans","ヒラギノ角ゴ ProN W3","Noto Sans JP",sans-serif;
  font-size: 28px;
  font-weight: 900;
  letter-spacing: .08em;
  color: #fff;
  background: rgba(0,0,0,.35);
  border-radius: 10px;
}

/* ミニゲーム埋め込み */
.minigameArea{
  width: 100%;
  clear: both;
}

.minigameFrame{
  display: block;
  width: 100%;
  max-width: 500px; 
  aspect-ratio: 360 / 520; 
  height: auto;
  margin: 10px auto 0;
  border: 0;
  border-radius: 14px;
}

