@charset "utf-8";

/*android用font-family: 'Noto Serif JP', serif;*/
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@200;300;400;500;600;700;900&display=swap');

/*物語用*/
@import url('https://fonts.googleapis.com/css2?family=Mochiy+Pop+One&display=swap');

:root{
	--cream:#fefefe;
	--red:#b7282e;
	--gold:#b48d57;
}

body {
	/*ゴシックfont-family: "Helvetica Neue", "Helvetica", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Arial", "Yu Gothic", "Meiryo", sans-serif;*/
	/*明朝*/Arial;
	color: #333;
	font-size: 16px;
	font-weight: 500;
	line-height: 1.5;
	background-image: url("../img/bg1.jpg")!important;
	background-repeat: repeat-y!important;
	background-size: 100% auto!important;
	background-attachment: fixed!important;
}
h2 {
	margin-bottom: 30px;
}
h2 img {
	display: block;
	width: 100%;
	max-width: 600px;
	margin: auto;
}
h3 {
	color: var(--red);
	font-size: 20px;
	line-height: 1.5;
	font-weight: bold;
	text-align: center;
	padding: 5px;
	margin-bottom: 1em;
	border-top: solid 1px var(--gold);
	border-bottom: solid 1px var(--gold);
}
h3:not(:first-child) {
	margin-top: 5%;
}


#container {
}

#wrap {
	z-index: 0;
}
.secondBox {
	padding: 5%;
}




/* subnav
------------------------------*/
#subnav {
	position:relative;
	top: 0px;
	text-align: center;
	margin-bottom: 50px;
	z-index: 1;
	font-family: arial;
}
#subnav a {
	display: inline-block;
	color: #fff;
	background: var(--red);
	padding: 5px 10px;
	margin: 3px;
	border: double 3px var(--gold);
}
#subnav a:hover {
	background: #333;
}
#subnav a.select {
	background: #333;
}
#subnav a span {
	display: inline-block;
	font-size: 12px;
	background: var(--gold);
	padding: 2px 3px;
	margin-right: 5px;
}




/* top
------------------------------*/
#keyvisual {
	position: relative;
	background-color: #c0dee9;
	background-image: url("../img/top/keyimg.jpg");
	background-repeat: no-repeat;
	background-size: 120% auto;
	background-position: center top;
	padding: 30% 0 3% 0;
}
#keyvisual #mainLogo {
	display: block;
	width: 60%;
	max-width: 1000px;
	margin: auto;
}
.osiraseBtn {
	text-align: center;
	margin: 50px 3%;
}
.osiraseBtn a {
	box-sizing: border-box;
	display: block;
	color: #fff;
	padding: 10px;
	background: #c00;
	width: 90%;
	margin: auto auto 10px auto;
	border: double 3px #fff;
}
.osiraseBtn a:hover {
	opacity: 0.7;
}
.toranpuBtn {
	text-align: center;
	margin: 50px 3%;
}
.toranpuBtn a {
	box-sizing: border-box;
	display: block;
	color: #fff;
	background: #c00;
	width: 90%;
	max-width: 1000px;
	margin: auto;
}
.toranpuBtn a:hover {
	opacity: 0.7;
}
.toranpuBtn a img {
	display: block;
	width: 100%;
}
.bannerArea {
	box-sizing: border-box;
	text-align: center;
	padding: 40px 3%;
}
.bannerArea .slide {
	box-sizing: border-box;
	width: 90%;
	margin: auto;
}
.bannerArea a {
	box-sizing: border-box;
	display: inline-block;
	/*margin: 0.1%;*/
	margin: 5px;
	border: solid 2px var(--gold);
}
.bannerArea a:hover {
	border: solid 2px var(--red);
}
.bannerArea a img {
	display: block;
	width: 100%;
	margin: auto;
}
.topNews {
	box-sizing: border-box;
	padding: 0 3%;
	overflow: hidden;
}
.topNews .slide {
	box-sizing: border-box;
	width: 90%;
	margin: auto;
}
.topNews a {
	box-sizing: border-box;
	display: inline-block;
	background: var(--cream);
	/*margin: 0.1%;*/
	margin: 5px;
	border: solid 2px var(--gold);
}
.topNews a:hover {
	color: #fff;
	background: var(--red);
	border: solid 2px var(--red);
}
.topNews a img {
	display: block;
	width: 100%;
	margin: auto;
}
.topNews a dl {
	padding: 10px;
}
.topNews a dt {
	display: inline-block;
	color: #fff;
	line-height: 1;
	background: var(--gold);
	padding: 3px 5px;
	margin-bottom: 5px;
}
.topBox {
	background-image: url("../img/bg1.jpg");
	background-repeat: repeat-y;
	background-size: 100% auto;
	background-attachment: fixed;
	padding: 5%;
}
.game_about {
	text-align: center;
	margin-top: 2%;
}
.game_about a {
	display: inline-block;
	font-size: 25px;
	color: #fff;
	background: var(--red);
	padding: 12px 30px;
	margin-top: 1.5em;
	border: double 3px var(--gold);
}
.game_about a:hover {
	opacity: 0.7;
}
.game_about .aboutMds {
	display: block;
	width: 100%;
	max-width: 1300px;
	margin: auto;
}
.topAbout {
	display: -webkit-flex;
	display: flex;
	-webkit-justify-content: center;
	justify-content: center;
	-webkit-align-items: center;
	align-items: center;
	margin-top: 50px;
}
.topAbout:nth-child(even) {
	flex-direction: row-reverse;
}
.topAbout .topAbout_img ,
.topAbout .topAbout_txt {
	box-sizing: border-box;
	width: 49%;
}
.topAbout .topAbout_img {
	
}
.topAbout .topAbout_txt {
	font-size: max(1.1vw, 18px);
	line-height: 1.4em;
	text-align: center;
	text-shadow: 3px 3px 3px #fff, -3px -3px 3px #fff,
				-3px 3px 3px #fff,  3px -3px 3px #fff,
				3px 0 3px #fff, -3px  0 3px #fff,
				0 3px 3px #fff,  0 -3px 3px #fff;
	padding: 0 3em;
}
.topAbout img {
	display: block;
	width: 100%;
}
.topAbout .topAbout_txt p {
	font-size: 28px;
	font-weight: bold;
	text-align: center;
	margin-bottom: 1em;
}

.game_about_slide {
	box-sizing: border-box;
	width: 85%;
	margin: auto;
	border: solid 1px var(--gold);
}
.game_about_slide img {
	display: block;
	width: 100%;
}
#touhou_about {
	color: #fff;
	text-align: center;
	background-color: var(--red);
	background-image: url("../img/top/toha_bg.png");
	background-repeat: no-repeat;
	background-position: center center;
	background-size: 125% auto;
	padding: 5%;
}
#touhou_about .touhou_aboutMds {
	display: block;
	width: 100%;
	max-width: 550px;
	margin: auto;
}
#touhou_about p {
	box-sizing: border-box;
	width: 100%;
	padding: 25px 0;
	margin: auto;
	font-size: max(1.2vw, 20px);
}
.topInfo {
	display: -webkit-flex;
	display: flex;
	-webkit-justify-content: center;
	justify-content: center;
	-webkit-align-items: stretch;
	align-items: stretch;
	text-align: center;
}
.topInfo dd {
	display: -webkit-flex;
	display: flex;
	flex-direction: column;
	box-sizing: border-box;
	position: relative;
	background: var(--cream);
	width: 30%;
	padding: 0 0 10px 0;
	margin: 1%;
	border: double 3px var(--gold);
}
.topInfo dd:hover {
	border: double 3px var(--red);
	box-shadow: 0 0 10px var(--gold);
}
.topInfo dd img {
	display: block;
	width: 100%;
}
.topInfo dd p {
	font-size: 18px;
	font-weight: bold;
	padding: 10px;
}
.topInfo dd p span {
	display: block;
	border-top: solid 1px var(--gold);
	border-bottom: solid 1px var(--gold);
}
.topInfo dd ul {
	text-align: left;
	padding: 10px;
}
.topInfo dd li {
	text-indent: -1em;
	padding-left: 1em;
}
.topInfo dd li::before {
	content: "・";
}
.topInfo a {
	position: relative;
	bottom: 0;
	display: inline-block;
	color: #fff;
	background: var(--red);
	padding: 5px 10px;
	margin: auto auto 0 auto;
	border: double 3px #fff;
}
#topSpec {
	display: -webkit-flex;
	display: flex;
	-webkit-justify-content: center;
	justify-content: center;
	-webkit-align-items: center;
	align-items: center;
	padding-top: 5%;
	margin-top: 3%;
	border-top: solid 1px var(--gold);

}
#topSpec div {
	width: 45%;
}
#topSpec div img {
	display: block;
	width: 110%;
	max-width: 1000px;
	margin: auto;
}
#topSpec table {
	border-collapse: separate;
	border-spacing: 0 5px;
	margin: auto;
}
#topSpec table tr {
	border-radius: 5px;
}
#topSpec table th,
#topSpec table td {
	vertical-align: middle;
	padding: 5px 10px;
}
#topSpec table th {
	color: #fff;
	text-align: center;
	background: var(--gold);
	border-radius: 5px 0 0 5px;
}
#topSpec table td {
	background: var(--cream);
	border: solid 1px var(--gold);
	border-radius: 0 5px 5px 0;
}





/* story
------------------------------*/

#storyBg {
	position: relative;
	background-color: #fff;
	background-image: url("../story/img/bg_chara.png"), url("../story/img/bg.jpg");
	background-repeat: no-repeat;
	background-position: right top, center top;
	background-size: 80% auto, 100% auto;
	padding: 5%;
}
.storyTxt {
	font-family: "Mochiy Pop One", "Helvetica Neue", "Helvetica", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Arial", "Yu Gothic", "Meiryo", sans-serif;
	font-weight: 400;
	font-size: 22px;
	line-height: 1.8;
	text-shadow: 3px 3px 3px #fff, -3px -3px 3px #fff,
				-3px 3px 3px #fff,  3px -3px 3px #fff,
				3px 0 3px #fff, -3px  0 3px #fff,
				0 3px 3px #fff,  0 -3px 3px #fff;
}

.introTxt {
	width: 50%;
	text-align: center;
	background-color: rgba( 255, 255, 255, 0.9 );
	margin-top: 5%;
	padding: 0% 1.5% 2% 1.5%;
	border: double 3px var(--gold);
}
.storyMDSec {
	font-family: "Mochiy Pop One", "Helvetica Neue", "Helvetica", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Arial", "Yu Gothic", "Meiryo", sans-serif;
	font-weight: 400;
	font-size: 25px;
	margin: 0.7em 0 1em 0;
}
.storyMDSec span {
	display: inline-block;
	color: #fff;
	background: var(--gold);
	padding: 7px 20px;
	box-shadow: 10px 10px 0px 0px var(--red);
}
.introTxt .text_box{
	font-size: 18px;
}



/* chara
------------------------------*/
#charaThumIndex {
	min-height: 400px;
}
#charaThumIndex,
#charaThumSecond {
	text-align: center;
}
#charaThumSecond {
	background-image: url("../img/kazari1_x.png");
	background-repeat: repeat-x;
	background-size: auto 30px;
}
#charaThumSecond br {
	display: none;
}
#charaThumIndex a,
#charaThumSecond a  {
	display: inline-block;
	position: relative;
	background-repeat: no-repeat;
	background-size: 100% auto;
	max-width: 500px;
	overflow: hidden;
}
#charaThumIndex a {
	/*width: 25%;*/
	width: 18%;
}
#charaThumSecond a {
	width: 15%;
}
/*#charaThumIndex a:nth-child(1),
#charaThumIndex a:nth-child(2) {
	width: 48%;
}*/
#charaThumIndex a img,
#charaThumSecond a img {
	display: block;
	position: relative;
	left: 0;
	width: 100%;
	opacity: 1;
	transition: .2s
}
#charaThumIndex a:not(.non):hover img,
#charaThumSecond a:not(.non):hover img  {
	left: -7px;
	opacity: 1;
}
#charaThumIndex a.non,
#charaThumSecond a.non {
	opacity: 0.7;
}
#charaThumIndex a span,
#charaThumSecond a span {
    position: absolute;
    bottom: 10%;
    left: 50%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
	display: inline-block;
	/*ゴシック*/font-family: "Helvetica Neue", "Helvetica", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Arial", "Yu Gothic", "Meiryo", sans-serif;
	color: #fff;
	font-size: 12px;
	font-weight: bold;
	background: var(--red);
	padding: 3px 5px;
	border-radius: 5px;
}


#charaAll {
	position: relative;
}
#charaAll #charaPrev,
#charaAll #charaNext {
	box-sizing: border-box;
	z-index: 50;
	display: block;
	position: absolute;
    top: 50%;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
	background: var(--red);
	width: 6%;
	max-width: 50px;
	padding: 10px;
}
#charaAll #charaPrev:hover,
#charaAll #charaNext:hover {
	background: var(--gold);
}
#charaAll #charaPrev {
	left: 0;
	border-radius: 0 10px 10px 0;
}
#charaAll #charaNext {
	right: 0;
	border-radius: 10px 0 0 10px;
}
#charaAll #charaPrev img,
#charaAll #charaNext img {
	display: block;
	width: 100%;
}
#charaBox {
	display: -webkit-flex;
	display: flex;
	-webkit-flex-wrap: nowrap;
	flex-wrap: nowrap;
	-webkit-align-items: flex-start;
	align-items: flex-start;
	width: 95%;
	margin: auto auto 5% auto;
}
#charaBox img {
	display: block;
	width: 100%;
}
#charaBox #charaTxt,
#charaBox #charaImg {
	box-sizing: border-box;
	position: relative;
}
#charaBox #charaTxt {
	width: 40%;
	padding-top: 2em;
	z-index: 3;
	order: 0;
}
#charaBox #charaImg {
	width: 60%;
	order: 1;
}

#charaBox #charaName {
	margin-bottom: 2em;
}
#charaBox #charaProf {
	background: rgba(255,255,255,0.5);
	padding: 5px 30px;
	text-shadow: 0 0 5px #fff, 0 0 5px #fff, 0 0 5px #fff;
	font-size: max(1vw, 17px);
}
#charaBox #charaProf strong{
	font-weight: bold;
	font-size: 22px!important;
}
#charaBox #charaPose {
	position: absolute;
	top: -27%;
	right: 30%;
	width: 265%;
	z-index: 4;
}
#charaBox #charaShort {
	box-sizing: border-box;
	position: relative;
	left: 50%;
	background-color: var(--gold);
	background-repeat: no-repeat;
	background-size: 100% auto;
	width: 50%;
	border: solid 3px var(--gold);
	z-index: 1;
}
#charaBox #charaSefif {
	position: relative;
	z-index: 5;
}
#charaBox #charaMovie {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 6;
}




/* system
------------------------------*/
.systemAll {
	font-size: 18px;
}
.systemMDS {
	color: var(--red);
	font-size: 30px;
	font-weight: bold;
	text-align: center;
	padding: 10px;
	border-top: double 3px var(--red);
	border-bottom: double 3px var(--red);
}
.systemMDSec {
	font-family: "Mochiy Pop One", "Helvetica Neue", "Helvetica", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Arial", "Yu Gothic", "Meiryo", sans-serif;
	font-weight: 400;
	font-size: 30px;
	text-align: center;
	margin: 1em 0;
}
.systemMDSec span {
	display: inline-block;
	color: #fff;
	background: var(--gold);
	padding: 10px;
	box-shadow: 10px 10px 0px 0px var(--red);
}
.systemBox {
	margin-bottom: 150px;
}
.systemBox img {
	display: block;
	width: 100%;
	max-height: 1920px;
	margin: auto;
}
.systemCenter {
	text-align: center;
}
.systemImg,
.systemImg3col {
	display: -webkit-flex;
	display: flex;
	-webkit-justify-content: space-around;
	justify-content: space-around;
}
.systemImg div,
.systemImg3col div {
	box-sizing: border-box;
	padding: 10px;
} 
.systemImg3col div p {
	color: #fff;
	text-align: center;
}
.systemTipsAll {
	background: rgba(126,206,244,0.75);
	padding: 10px;
	margin-top: 50px;
	border: double 3px #fff;
	border-radius: 15px;
}
.systemTipsAllMDS {
	font-family: "Mochiy Pop One", "Helvetica Neue", "Helvetica", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Arial", "Yu Gothic", "Meiryo", sans-serif;
	font-weight: 400;
	color: #fff;
	text-align: center;
	padding: 5px;
	border-top: double 3px #fff;
	border-bottom: double 3px #fff;
}
.systemTips {
	display: -webkit-flex;
	display: flex;
	-webkit-justify-content: space-around;
	justify-content: space-around;
	-webkit-align-items: center;
	align-items: center;
}
.systemTips .systemTipsImg,
.systemTips .systemTipsTxt {
	box-sizing: border-box;
	width: 50%;
	padding: 15px;
}
.systemTipsSm {
	background: rgba(255,255,255,0.75);
	margin: 10px 0;
	border-radius: 10px;
}
.systemTipsSm .systemTipsSmImg,
.systemTipsSm .systemTipsSmTxt {
	box-sizing: border-box;
	padding: 5px;
}
.systemTipsSm .systemTipsSmImg {
	width: 100%;
	max-width: 300px;
	margin: auto;
}
.systemTipsSm .systemTipsSmTxt p {
	/*ゴシック*/font-family: "Helvetica Neue", "Helvetica", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Arial", "Yu Gothic", "Meiryo", sans-serif;
	background: orange;
	font-weight: bold;
	padding: 5px;
	margin-bottom: 5px;
}
.system3colAll {
	display: -webkit-flex;
	display: flex;
	-webkit-justify-content: center;
	justify-content: center;
	-webkit-align-items: stretch;
	align-items: stretch;
}
.system3colAll .system3col {
	box-sizing: border-box;
	background: rgba(255,255,255,0.75);
	width: 30%;
	padding: 10px;
	margin: 0.5%;
	border: solid 2px var(--gold);
	border-radius: 15px;
}
.system3colAll .system3col p {
	text-align: center;
	/*ゴシック*/font-family: "Helvetica Neue", "Helvetica", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Arial", "Yu Gothic", "Meiryo", sans-serif;
	background: orange;
	font-weight: bold;
	padding: 5px;
}
.system3colAll img {
	display: block;
	width: 100%;
	margin: 10px auto;
}
.sysAboutLink {
	display: inline-block;
	color: #fff;
	font-size: 20px;
	background: var(--red);
	padding: 10px;
	margin: 30px auto auto auto;
	border: double 3px var(--gold);
}
.sysAboutLink:hover {
	background: #333;
}

.attributeAll,
.objectAll {
	background: rgba(255,255,255,0.72);
	padding: 15px;
	border: solid 2px var(--gold);
	border-radius: 15px;
}
.attributeAll p,
.objectAll p {
	color: var(--gold);
	font-size: 24px;
	text-align: center;
	padding: 5px;
	margin-bottom: 10px;
	border-bottom: double 3px var(--gold);
}
.attributeAll ul,
.objectAll ul {
	display: -webkit-flex;
	display: flex;
	-webkit-flex-wrap: wrap;
	flex-wrap: wrap;
	-webkit-justify-content: center;
	justify-content: center;
	-webkit-align-items: stretch;
	align-items: stretch;
}
.attributeAll li,
.objectAll li {
	font-size: 14px;
	width: 12%;
	padding: 7px;
}
.attributeAll strong,
.objectAll strong {
	display: block;
	color: #fff;
	text-align: center;
	background: #333;
	padding: 3px;
}
.attributeAll img,
.objectAll img {
	display: block;
	width: 100%;
	max-width: 300px;
	margin: auto;
}


.technicBox {
	display: -webkit-flex;
	display: flex;
	-webkit-flex-wrap: wrap;
	flex-wrap: wrap;
	-webkit-justify-content: center;
	justify-content: center;
	-webkit-align-items: stretch;
	align-items: stretch;
}
.technicBox li {
	box-sizing: border-box;
	background: rgba(255,255,255,0.75);
	width: 48%;
	padding: 10px;
	margin: 0.5%;
	border: solid 3px var(--gold);
	border-radius: 15px;
}
.technicBox li p {
	/*ゴシック*/font-family: "Helvetica Neue", "Helvetica", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Arial", "Yu Gothic", "Meiryo", sans-serif;
	color: #fff;
	background: var(--red);
	font-weight: bold;
	padding: 5px;
	border-radius: 3px;
}
.technicBox li p span {
	display: inline-block;
	color: var(--red);
	background: #fff;
	padding: 5px;
	margin-right: 5px;
	border-radius: 3px;
}
.technicBox li img {
	display: block;
	width: 100%;
	margin: 10px auto;
}

.spellcardReBox,
.spellcardMaBox {
	background-repeat: no-repeat;
	background-size: 40% auto;
	padding: 10px;
	margin-top: 1em;
	border-radius: 15px;
}
.spellcardReBox ul,
.spellcardMaBox ul {
	display: -webkit-flex;
	display: flex;
	-webkit-flex-wrap: wrap;
	flex-wrap: wrap;
	-webkit-justify-content: center;
	justify-content: center;
}
.spellcardReBox li,
.spellcardMaBox li {
	display: block;
	width: 25%;
	padding: 10px;
}
.spellcardReBox {
	background-color: rgba(231,0,18,0.7);
	background-image: url("../system/img/spellcard2-re.png");
	background-position: -15% top;
}
.spellcardReBox ul {
	
}
.spellcardMaBox {
	background-color: rgba(35,24,22,0.7);
	background-image: url("../system/img/spellcard2-ma.png");
	background-position: 110% top;
}

.loop {
    padding-bottom: 5%;
    overflow: hidden;
}
.loop__box {
    display: flex;
    width: 100vw;
}
.loop__box img {
    min-width: 100vw;
}
.loop__box img:first-child {
    animation: loop 50s -25s linear infinite;
}
.loop__box img:last-child {
    animation: loop2 50s linear infinite;
}

@keyframes loop {
    0% {
        transform: translateX(100%);
    }
    to {
        transform: translateX(-100%);
    }
}
@keyframes loop2 {
    0% {
        transform: translateX(0);
    }
    to {
        transform: translateX(-200%);
    }
}

.junbiAll {
	box-sizing: border-box;
	width: 90%;
	margin: 1em auto auto auto;
}
.junbiBox {
	box-sizing: border-box;
	color: #fff;
	background: var(--red);
	padding: 10px;
}
.junbiBox p {
	/*ゴシック*/font-family: "Helvetica Neue", "Helvetica", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Arial", "Yu Gothic", "Meiryo", sans-serif;
	color: var(--red);
	font-weight: bold;
	text-align: center;
	background: #fff;
	padding: 5px;
	margin: 10px 0;
	border-radius: 5px;
}
.junbiAll a {
	display: inline-block;
	padding: 5px 10px;
	border: double 3px var(--gold);
}
#photoModeImg {
	
}



/* sound
------------------------------*/
.arrangeList {
	text-align: center;
	background: #fff;
	margin: 1em auto 1em auto;
	border: solid 2px var(--red);
}

.arrangeList dt {
  color: #fff;
  background: var(--red);
  cursor: pointer;
  padding: 10px 20px;
}
.arrangeList dd {
  display: none;
}
.arrangeList dd p {
}
/* 矢印 */
.arrangeList dt {
  position: relative;
}
.arrangeList dt::after {
  border-right: solid 2px #fff;
  border-top: solid 2px #fff;
  content: "";
  display: block;
  height: 8px;
  position: absolute;
  right: 25px;
  top: 38%;
  transform: rotate(135deg);
  transition: transform .3s ease-in-out, top .3s ease-in-out;
  width: 8px;
}
.arrangeList dt.open::after {
  top: 45%;
  transform: rotate(-45deg);
}

.arrangeList p,
.arrangeList a {
	display: block;
	padding: 10px;
	border-top: dotted 1px var(--gold);
}
/*.arrangeList a:nth-of-type(2n) {
    background: var(--gold);
}*/
.arrangeList a:hover {
	color: #fff;
	background: var(--gold);
}
#soundMovie {
	text-align: center;
	margin: 1em auto;
}
#soundMovie a {
	display: inline-block;
	width: 23%;
	margin: 0.5%;
}
#soundMovie img {
	display: block;
	width: 100%;
}




.soundTxt {
	box-sizing: border-box;
	font-size: 24px;
	text-align: center;
	background: rgba(255,255,255,0.8);
	width: 100%;
	max-width: 1000px;
	padding: 5%;
	margin: 1em auto 50px auto;
	border: solid 3px var(--gold);
	border-radius: 15px;
}
.soundTxt strong {
	display: block;
	color: var(--red);
	font-size: 42px;
	font-weight: bold;
}
.soundTxt {
	
}


.soundArtist {
	width: 100%;
	max-width: 1000px;
	margin: auto;
}
.soundArtist .img {
	
}
.soundArtist .txt {
	
}
.soundArtist img {
	box-sizing: border-box;
	display: block;
	width: 100%;
	max-width: 1000px;
	margin: auto;
	border: solid 1px var(--gold);
}
.soundArtist .txt dt {
	color: #fff;
	text-align: center;
	background: var(--red);
	padding: 5px;
	margin-top: 1em;
}
.soundArtist .txt dd {
	background: rgba(255,255,255,0.8);
	padding: 10px;
}





/* special
------------------------------*/

.movieAll {
	display: -webkit-flex;
	display: flex;
	-webkit-justify-content: space-around;
	justify-content: space-around;
}
.movieBox {
	display: -webkit-flex;
	display: flex;
	-webkit-flex-wrap: wrap;
	flex-wrap: wrap;
	-webkit-justify-content: center;
	justify-content: center;
	-webkit-align-items: stretch;
	align-items: stretch;
	color: var(--cream);
	max-width: 1200px;
	margin: auto;
}
.movieBox li {
	box-sizing: border-box;
	text-align: center;
	background: var(--brown);
	width: 40%;
	margin: 1%;
	border: solid 2px var(--brown);
}
.movieBox li span {
	display: inline-block;
	color: var(--cream);
	background: #c00;
	padding: 1px 5px;
	margin-right: 5px;
}
.movieBox li p {
	background-color: var(--gold);

}

.youtube {
	box-sizing: border-box;
	position: relative;
	width: 100%;
	padding-top: 56.25%;
}
.youtube iframe {
	box-sizing: border-box;
	position: absolute;
	top: 0;
	right: 0;
	width: 100% !important;
	height: 100% !important;
	border: double 1px var(--gold);
}

.youtube_ms {
	box-sizing: border-box;
	position: relative;
	width: 100%;
}
.youtube_ms iframe {
	box-sizing: border-box;
	position: absolute;
	top: 0;
	right: 0;
	width: 100% !important;
	height: 100% !important;
	border: double 1px var(--gold);
}



/* info
------------------------------*/
.edition {
	box-sizing: border-box;
	background: #fff;
	width: 100%;
	max-width: 1200px;
	margin: auto auto 3em auto;
	border: double 3px var(--gold);
}
.edition .edition_Title {
	color: #fff;
	font-size: 24px;
	font-weight: bold;
	text-align: center;
	background: var(--gold);
	padding: 1em;
}
.edition .edition_Title small {
	display: block;
}
.edition .edition_About {
	padding: 1em;
}
.edition img {
	display: block;
	width: 100%;
	margin: auto;
}
.edition .price {
	font-size: 20px;
	font-weight: bold;
	text-align: center;
	padding: 10px;
	margin-top: 1em;
	border-top: solid 1px var(--gold);
	border-bottom: solid 1px var(--gold);
}
.edition dl {
	margin-top: 1em;
}
.edition dt {
	color: var(--gold);
	font-size: 20px;
	font-weight: bold;
	text-indent: -1em;
	padding-left: 1em;
	margin-top: 0.5em;
	border-radius: 7px;
}
.edition dt::before {
	content: "・";
}
.edition dd {
	padding-left: 1em;
}
.editionAtt {
	padding-top: 1em;
	margin-top: 1em;
	border-top: dotted 1px #ccc;
}
.editionAtt small {
	display: block;
	text-indent: -1em;
	padding-left: 1em;
	margin-top: 0.5em;
}


/* Shop Info
------------------------------*/
.shopAll {
	width:65%;
	margin: 0 auto;
	font-family: arial;
}


.shopListBox{
	margin: 0 auto;
	margin-top: 20px;
	margin-bottom: 10px;
}

.shopWrap{
	display: grid;
	grid-template-columns:repeat(2, 1fr);
	column-gap:0.5em;
	row-gap: 1em;
	font-size: 16px;
	/*padding: 1em;*/
}
.shopBox{
	border: double 3px var(--gold);
}

.shopBox img{
	width:95%;
	max-width:550px;
	display:block;
	margin:0 auto;
}
.shopListBox h2{
	background-color: #b48d57;
	color:#FFF;
	font-size: 23px;
	font-weight: bold;
	padding:10px 0 10px 20px;
	margin:30px 0 5px 0;
	text-align: center;
}

.shopBox h3.small{
	font-size:1em;
	text-align: center;
}
.shopBox h3{
	font-size:1.3em;
	font-weight: normal;
	line-height: 1.5em;
	margin-bottom:2px;
	padding:3%;
	background-color:#b48d57;
	color: #FFF;
	text-align: center;
}
.shopBox h4{
	font-size:1.2em;
	border-bottom: 1px solid #b48d57;
	letter-spacing:1px;
	color: #000;
	padding: 0.5em;
	margin-bottom: 0.5em;
		line-height: 1.5em;
	text-align: center;

}
.shopBox span {
	font-size: 12px;
	text-align: left;
	width: 214px!important;
}


.shopBox .txt{
	width:100%;
	padding: 1em;
}
.shopBox .txt .shop_list{
	font-size:0.8em;
	display: flex;
	border-left: #b48d57 5px solid;
	border-bottom: #b48d57 1px solid;
	padding: 0.1em;
	margin-bottom: 0.5em;
}
.shopBox .txt .shop_list img{
	width: 50%;
	margin-right: 20px;
}

.shopBox .txt .shop_list a{
	width: calc(100% - 1em);
	max-width: 650px;
	height: 45px;
	background-color: #b7282e;
	color: #FFF;
	border: #fff 5px double;
	text-align: center;
	font-size: 16px;
	line-height: 2.5em;
}
.shopBox .txt .shop_list a.sold_txt {
	width: calc(100% - 1em);
	max-width: 650px;
	height: 45px;
	background-color:#B3B3B3;
	color: #111e4b;
	border: #fff 5px double;
	text-align: center;
	font-size: 16px;
	line-height: 2.5em;
}
.shopBox .txt .shop_list a:hover{
	text-decoration: none;
	background-color: #333333;
}
.shopBox .txt .shop_list .buy_btn{
	width: 100%;
}
.shopBox .txt .shop_list .buy_btn a{
	width: 90%;
	height: 45px;
	background-color: #b7282e;
	color: #FFF;
	border: #fff 5px double;
	text-align: center;
	font-size: 16px;
	line-height: 2.5em;
	margin-bottom: 7px;
}

.shopBox .txt .shop_list .buy_btn a:hover{
	text-decoration: none;
	background-color: #333333;
}

.shopBox .txt .shop_list span{
	font-size: 20px;
	margin: 20px 0 0 50px;
}


.shopBox a{
	width: calc(100% - 1em);
	max-width: 200px;
	margin: 0.3em auto 0;
	background-color: #b7282e;
	color: #fff;
	padding:0 1em ;
	border: #fff 5px double;
	text-align: center;
	line-height: 1em;
	display: block;
}
 .shopBox a:hover{
	text-decoration: none;
	background-color: #f2902d;
}


.shopListBox table {
	width:100%;
  border-collapse:collapse;
	table-layout: fixed;
	border: double 3px var(--gold);
}
.shopListBox table td {
	box-sizing: border-box;
	border-collapse: collapse;
	border: solid 0.5px #b48d57;
	padding: 1%;
	text-align:center;
	font-size: max(1.2vw, 15px);
}

.shopListBox h5{
	font-size:0.9em;
}
.shopListBox table td img{
	width: 100%;
	min-width:45px;
}
.shopListBox table td.shop_logo img{
	width: 80%;
	min-width: 90px;
	padding:0 0;
	margin-left: 10px;
}
.shopListBox .shop_item {
	background-color: #b48d57;
	outline: solid 1px #FFF;
	outline-offset: -1px;
}
.shopListBox .shop_item h3{
	font-size:1em;
	color: #FFF;
	height: 20px;
}
.shopListBox p {
	font-size: 14px;
}
.shopListBox ul{
	 width: fit-content; margin: auto;
}
.shopListBox ul li {
	font-size: 18px;
	text-align: left;
}



.shopListBox table td.lnk_btn { font-size: max(0.9vw, 10px); padding:3% 0%;}
.shopListBox table td.lnk_btn a{ background-color:#b7282e; padding:5% 15%; color:#FFF; border: #fff 5px double;}
.shopListBox table td.lnk_btn a:hover{ background-color:#333333;}
.shopListBox table td.lnk_btn_lrg { font-size: max(0.9vw, 10px); padding:3% 0%;}
.shopListBox table td.lnk_btn_lrg a{ background-color:#b7282e; padding:5% 10%; color:#FFF; border: #fff 5px double;}
.shopListBox table td.lnk_btn_lrg a:hover{ background-color:#333333;}
.shopListBox table td.logo_img img{ width: 60%;}
.shopListBox table td.shop_logo img{ width:75%; min-width: 90px; background-color: #FFF; padding: 0 10px; margin-top:8px;}




/* footer
------------------------------*/
footer {
	/*ゴシック*/font-family: "Helvetica Neue", "Helvetica", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Arial", "Yu Gothic", "Meiryo", sans-serif;
	color: #fff;
	font-size: 12px;
	text-align: center;
	background: var(--red);
	padding:0 0 100px 0;
}
footer #kaihatu {
	padding: 5px;
	border-top: solid 1px #fff;
	border-bottom: solid 1px #fff;
}
footer #brandBox {
	background: rgba(255,255,255,0.9);
	padding: 10px;
	margin: auto auto 1em auto;
}
footer #brandBox a {
	display: inline-block;
	width: auto;
	margin: 10px 2px;
	vertical-align: bottom;
}
footer #snsBox a{
	display: inline-block;
	width: auto;
	margin: 10px 15px;
	vertical-align: bottom;
}
footer #snsBox a {
	height: 40px;
}
footer #brandBox a {
	height: 35px;
}
footer #snsBox img,
footer #brandBox img {
	display: block;
	width: auto;
	height: 100%;
}
footer #companyBox a img {
	display: block;
	width: auto;
	margin: auto;
	margin: 7px 0 20px 0;
}
footer #companyBox a {
	box-sizing: border-box;
	display: inline-block;
	color: #FFF;
	padding: 0;
	margin: 3px;
}

footer #hardLogo {
	padding-top: 1em;
	margin: 1em auto;
}
footer #hardLogo img {
	box-sizing: border-box;
	display: inline-block;
	width: auto;
	margin: 5px;
}
footer .notice {
	display: block;
	width: 90%;
	max-width: 695px;
	margin: auto;
}





/* ウィンドウ幅が0-767pxの場合に適用するCSS */
@media screen and (max-width:767px){
	
	body {
		font-size: 14px;
	}
	
	h2 {
		margin-bottom: 2.5em
	}
	h3 {
		font-size: 20px;
		margin-bottom: 0.7em;
	}
	h3:not(:first-child) {
		margin-top: 2em;
	}


	#container {
	}
	.secondBox {
		padding: 2.5%;
	}




	/* subnav
	------------------------------*/
	#subnav {
		top: 1em;
		font-size: 12px;
		text-align: center;
		margin-bottom: 30px;
		margin-right: 40px;
	}
	#subnav a {
		padding: 3px 5px;
		margin: 2px;
	}




	/* top
	------------------------------*/
	#keyvisual {
		background-size: 200% auto;
		padding: 50% 0 3% 0;
	}
	#keyvisual #mainLogo {
		width: 90%;
	}

	.bannerArea {
		box-sizing: border-box;
		text-align: center;
		padding: 3%;
	}
	.bannerArea .slide {
		width: 85%;
		border: solid 2px var(--gold);
	}
	.bannerArea a {
		margin: 0px;
		border: none;
	}
	.topNews {
		box-sizing: border-box;
		padding: 0 3%;
		overflow: hidden;
	}
	.topNews .slide {
		width: 85%;
		border: solid 2px var(--gold);
	}
	.topNews a {
		margin: 0px;
		border: none;
	}
	.topBox {
		padding: 2.5em 3%;
	}
	.game_about {
		text-align: center;
	}
	.game_about .aboutMds {
		display: block;
		width: 100%;
		max-width: 1100px;
		margin: auto;
	}
	.topAbout {
		display: block;
		margin-top: 30px;
	}
	.topAbout .topAbout_img ,
	.topAbout .topAbout_txt {
		box-sizing: border-box;
		width: 100%;
	}
	.topAbout .topAbout_txt {
		font-size: 15px;
		padding: 0;
	}
	.topAbout .topAbout_txt p {
		margin: 0.8em ;
	}
	.game_about_slide {
		box-sizing: border-box;
		width: 85%;
		margin: auto;
		border: solid 1px var(--gold);
	}
	.game_about_slide img {
		display: block;
		width: 100%;
	}
	#touhou_about {
		padding-top: 10%;
		background-size: 160% auto;
	}
	#touhou_about br{
		display: none;
	}
	
	.topInfo {
		display: block;
	}
	.topInfo dd {
		display: block;
		width: 100%;
		margin: 0 0 10px 0;
	}
	.topInfo dd p {
		font-size: 16px;
		font-weight: bold;
		padding: 10px;
	}
	#topSpec {
		display: block;
		padding-top: 5%;
		margin-top: 5%;
	}
	#topSpec div {
		width: 100%;
	}
#topSpec div img {
	width: 85%;
}



	/* story
	------------------------------*/
	#storyBg {
		position: relative;
		background-position: right top, center top;
		background-size: 90% auto, 140% auto;
		padding: 5%;
	}
	.storyTxt {
		font-size: 16px;
		line-height: 1.5;
		padding-top: 15%
	}




	/* chara
	------------------------------*/
	#charaThumSecond {
		background-size: auto 15px;
	}
	#charaThumIndex a {
		width: 30%;
	}
	#charaThumSecond a {
		width: 25%;
	}

	#charaBox {
		display: -webkit-flex;
		display: flex;
		-webkit-flex-wrap: wrap;
		flex-wrap: wrap;
		width: 95%;
		margin: auto auto 5% auto;
	}
	#charaBox #charaTxt {
		width: 100%;
		order: 1;
	}
	#charaBox #charaImg {
		width: 100%;
		order: 0;
	}




	/* system
	------------------------------*/
	.systemAll {
		font-size: 14px;
	}
	.systemMDS {
		font-size: 22px;
		padding: 5px;
	}
	.systemMDSec {
		font-size: 20px;
	}
	.systemBox {
		margin-bottom: 100px;
	}
	.systemImg div {
		padding: 5px;
	}
	.systemImg3col {
		-webkit-flex-wrap: wrap;
		flex-wrap: wrap;
	}
	.systemImg3col div {
		width: 100%;
	} 
	.systemTipsAll {
		margin-top: 30px;
	}
	.systemTipsAllMDS {
		font-family: "Mochiy Pop One", "Helvetica Neue", "Helvetica", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Arial", "Yu Gothic", "Meiryo", sans-serif;
		font-weight: 400;
		color: #fff;
		text-align: center;
		padding: 5px;
		border-top: double 3px #fff;
		border-bottom: double 3px #fff;
	}
	.systemTips {
		display: block;
	}
	.systemTips .systemTipsImg,
	.systemTips .systemTipsTxt {
		width: 100%;
		padding: 10px 0 0 0;
	}
	.system3colAll {
		display: block;
	}
	.system3colAll .system3col {
		width: 100%;
	}

	.attributeAll p,
	.objectAll p {
		font-size: 18px;
	}
	.attributeAll ul,
	.objectAll ul {
	}
	.attributeAll li,
	.objectAll li {
		font-size: 12px;
		width: 33%;
	}

	.technicBox {
		display: block;
	}
	.technicBox li {
		width: 100%;
		margin: 0 0 10px 0;
	}

	.spellcardReBox,
	.spellcardMaBox {
		background-size: 70% auto;
	}
	.spellcardReBox ul,
	.spellcardMaBox ul {
		display: -webkit-flex;
		display: flex;
		-webkit-flex-wrap: wrap;
		flex-wrap: wrap;
		-webkit-justify-content: center;
		justify-content: center;
	}
	.spellcardReBox li,
	.spellcardMaBox li {
		display: block;
		width: 50%;
	}
	.spellcardReBox {
		background-position: -35% top;
	}
	.spellcardReBox ul {

	}
	.spellcardMaBox {
		background-position: -35% top;
	}
	.spellcardMaBox :nth-child(1) {
		order: 2;
	}
	.spellcardMaBox :nth-child(2) {
		order: 3;
	}
	.spellcardMaBox :nth-child(3) {
		order: 4;
	}
	.spellcardMaBox :nth-child(4) {
		order: 1;
	}




	/* sound
	------------------------------*/
	.soundTxt {
		font-size: 14px;
		margin: auto auto 25px auto;
	}
	.soundTxt strong {
		font-size: 20px;
	}
	.soundArtist .txt dd {
		padding: 5px;
	}




	/* special
	------------------------------*/
	.movieBox {
		display: block;
		margin: auto;
	}
	.movieBox li {
		width: 100%;
		margin: auto auto 10px auto;
	}




	/* info
	------------------------------*/
	.edition {
		margin: auto auto 1.5em auto;
	}
	.edition .edition_Title {
		font-size: 18px;
	}
	.edition .edition_About {
		padding: 1em;
	}
	.edition .price {
		font-size: 16px;
	}
	.edition dl {
		margin-top: 1em;
	}
	.edition dt {
		font-size: 16px;
	}
.shopAll {
	width:95%;
}
.shopWrap{
	
	grid-template-columns:repeat(1, 1fr);
		font-size: 2vw;
}
.shopBox .txt .shop_list span{
	font-size: 16px;
}
.shopBox .txt .shop_list a{
	font-size: 12px;
}	
.shopListBox table td.lnk_btn { font-size: max(1.7vw, 7px); padding:3% 0%;}
.shopListBox table td.lnk_btn a{ padding:5% 2%;}
.shopListBox table td.shop_logo img{ min-width: 60px; padding: 0 0px;}


	/* footer
	------------------------------*/
	footer {
		font-size: 10px;
	}
	footer #snsBox a {
		height: 30px;
	}
	footer #brandBox a {
		height: 20px;
	}

	footer #hardLogo img {
		height: 30px;
	}
}