* {
	box-sizing: border-box;
	font-family: 'Yu Mincho', YuMincho, 'Hiragino Mincho ProN', 'Hiragino Mincho Pro', 'HGP明朝B', serif;
	-webkit-font-feature-settings: 'pkna';
	font-feature-settings: 'pkna';
	line-height: 1.9;
	letter-spacing: 0.03rem;
    color: #fff;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

*::-webkit-scrollbar {
   display:none;
}

.zvltr {
	font-family: 'Yu Mincho', YuMincho, 'Hiragino Mincho ProN', 'Hiragino Mincho Pro', 'HGP明朝B', serif;
	-webkit-font-feature-settings: 'pkna';
	font-feature-settings: 'pkna';
	
	line-height: 1.9;
	letter-spacing: 0.03rem;
	
	-webkit-writing-mode: vertical-rl;
	-ms-writing-mode: tb-rl;
	writing-mode: vertical-rl;
}


html {
    width: 100%;
    height: 100%;
    font-size: 62.5%;
    text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;/*Chrome,Safari*/
    -ms-text-size-adjust: 100%;/*EgdeMobile*/
    -moz-text-size-adjust: 100%;/*firefox*/
}
  
body {
    width: 100%;
    height: 100%;
    margin: 0;
}

body * {
    color: #fff;
    box-sizing: border-box;
    margin:         0;
    padding:        0;
    font-size: 1rem;
  }

#origin {
    width : 100%;
    height: 100%;
}

#loadCheck {
    display: none;
}

#loadCheck:checked ~  #controlwrapper {
    animation: poyoyon 0.5s cubic-bezier(0.12, 0, 0.39, 0) 1 forwards;
    opacity: 1;
}

#Z_background {
    width : 100%;
    height: 100%;
    display:grid;
    grid-template: 1fr / 1fr;
    grid-template-areas: 
    "main";
    overflow-x: hidden;
    background-color: black;
}

.opbookzerocheck:checked ~  .bookzero {
    display: block;
}

.bgcanvasiframe {
    display: block;
    width : 100%;
    height: 100%;
    grid-area: main;
    
}

.bookzero {
    width : 100%;
    height: 100%;
    grid-area: main;
    z-index: -1;
    background-color: red;
    display: none;
}

#q {
    width : 100%;
    height: 100%;
    grid-area: main;
}

.controlwrapper {
    opacity: 0;
    position:relative;
    width : 100%;
    height: 100%;
    grid-area: main;
    display:grid;
    grid-template: 7% 1fr 10%/ 1fr;
    grid-template-areas: 
    "header"
    "control"
    "footer";
}

@keyframes poyoyon {
    0% {
      transform: translateX(140px);
      opacity: 0;
    }
    50% {
      transform: translateX(0);
    }
    65% {
      transform: translateX(30px);
    }
    100% {
      transform: translateX(0);
    }
    20%,100% {
      opacity: 1;
    }
  }

.snsCheck:checked ~ #footersubiframe{
    display: flex;
    animation: zoomBottomUp 1.0s ease 0s 1 forwards;
    z-index: 99;
}

.footersubiframe {
    opacity: 0;
    width: 100%;
    height: 100%;
    grid-area: control;
    
}

.footersub {
    background: rgba(3,3,3,.5);
    width: 100%;
    height: 100%;
    display: grid;
    grid-template: 7% 1fr 1fr/ 1fr;
    grid-template-areas: 
    "footersubheader"
    "subshare"
    "submutual";
}
.subsharewrapper {
    grid-area: subshare;
    width: 100%;
    height: 100%;
}

.subshare {
    width: 100%;
    height: 100%;
}

.submutualwarpper {
    grid-area: submutual;
    width: 100%;
    height: 100%;
}

.submutual {
    width: 100%;
    height: 100%;
}

/* zoomBottomUp */
@keyframes zoomBottomUp {
    0% {
        transform: translateY(500%) scale(0.7);
        opacity: .7
    }
    80% {
        transform: translateY(0) scale(0.7);
        opacity: .7
    }
    100% {
        transform: scale(1);
        opacity: 1
    }
}

.mutuallist {
    width : 100%;
    height: 100%;
    display: flex;
    justify-content: space-around;
}

.mutuallist::before{
    position: relative;

    width: 20%;
    content: "　"attr(data-text);
}

.mutual {
    position: relative;
    width: 30%;
    height: 30%;
}

.mutualimg {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.snsBrands {
    grid-area: snsbrands;
    display: flex;
    width: 100%;
    height: 100%;
}

.snsimgcontainer {
    position: relative;
    width: 10%;
    height: 100%;
    text-align: center;
}

.snsimgcontainer a {
    position: absolute;
    display: block;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.snsimg {
    position: relative;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.followtwitter::after {
    position: absolute;
    width: 100%;
    height: 100%;
    content: attr(data-text);
}
   

.controllayer {
    -webkit-backface-visibility:hidden;
    backface-visibility:hidden;
    overflow-x:hidden;

    position:relative;
    width : 100%;
    height: 100%;
    grid-area: control;

	display: flex;
    flex-direction: column;
    overflow-y: scroll;
    scroll-snap-type: y mandatory;
}

.layer1 {
    scroll-snap-align: start;
    width: 100%;
    height: 100%;
    flex-shrink: 0;
    display: grid;
    grid-template: 1fr 0%/ 1fr;
    grid-template-areas:
    "l1contents"
    "l1footeradv";
}

.l1footeradv {
    display: none;
    width: 100%;
    height: 100%;
    grid-area: l1footeradv;
}

.layer1contents {
    width: 100%;
    height: 100%;
    grid-area: l1contents;
    display: grid;
    grid-template: 1fr/ 1fr;
    grid-template-areas:
    "tatebro";
    overflow: hidden;
}

.tatebro {
    background: rgba(3,3,3,.5);
    position: relative;
    width: 100%;
    height: 100%;
    grid-area: tatebro;
    display: grid;
    grid-template: 7% 1fr/ 2% 35% auto 35% auto;
    grid-template-areas:
    "... ... ... tatenavilabel ..."
    "... tatebroiframe tatebroiframe tatebroiframe tatebronavi";
    -webkit-overflow-scrolling: touch;
}

.tatenavilabel {
    width: 30%;
    height: 100%;
    grid-area: tatenavilabel;
    justify-self: end;
}

.tatenavilabel::after {
    position: absolute;
    content: attr(data-text);
}

.tatenaviCheck:checked ~ .tatebronavi {
    display: block;
    animation: fade-in .4s;
}

.tatenaviCheck:checked ~ .tatenavilabel::after {
    position: absolute;
    content: attr(data-text-close);
}

@keyframes fade-in {
    0% {opacity: 0;}
  100% {opacity: 1;}
}

.tatebroiframewrapper {
    width: 100%;
    height: 100%;
    grid-area: tatebroiframe;
    position: relative;
}

.tatebroiframe {
    width: 100%;
    height: 100%;
    
}

.tatebronavi {
    width: 100%;
    height: 100%;
    grid-area: tatebronavi;
    display: none;
}

.tatebronavi dt {
    margin: 0;
    padding: 4px 0 0 4px;
    line-height: 1;
}

.tatebronavi dd {
    margin: 0;
    padding: 0;
    padding: 4px 0 0 1rem;
}

.tatebronavi span {
    display: block;
    line-height: 1.2;
}

.layer2 {
    scroll-snap-align: start;
    width: 100%;
    height: 100%;
    flex-shrink: 0;
    display: grid;
    grid-template: 10% 1fr 0%/ 1fr 0%;
    grid-template-areas:
    "l2contents l2rg"
    "l2contents l2rg"
    "l2footer l2rg";
}

.layer2contents {
    position:relative;
    width : 100%;
    height: 100%;
    grid-area: l2contents;
    display: grid;
    grid-template: 1fr/ 1fr;
    grid-template-areas:
    "mainiframe";
}

.mainiframe {
    width : 100%;
    height: 100%;
    grid-area: mainiframe;
}

.layer2footer {
    grid-area: l2footer;
}

.layer2rg {
    position:relative;
    width : 100%;
    height: 100%;
    grid-area: l2rg;
    display: grid;
    grid-template: 80% 1fr/ 1fr;
    grid-template-areas: 
    "slist"
    "mlist";
}

.layer3 {
    scroll-snap-align: start;
    width: 100%;
    height: 100%;
    flex-shrink: 0;
    display: grid;
    grid-template: 1fr/ 1fr;
    grid-template-areas: 
    "bookcontrol";
}

.layer3::before{
    position: absolute;
    /*content: attr(data-text);*/
}

.MainlayerCheck {
    display: none;
}


.MainlayerCheck:checked ~ .mainlayer {
    display: grid;
    animation: gridfadeInAnime 1s ease 1s 1 normal backwards;
    z-index: 99;
}

.mainlayer {
    position: relative;
    display: grid;
    width : 100%;
    height: 100%;
    grid-area: bookcontrol;
	grid-template: 1fr / 1fr;
    grid-template-areas: "booksinfoiframe"
}

.booksinfoiframe {
    width : 100%;
    height: 100%;
    grid-area: "booksinfoiframe" ;
}


.headerlayer {
    width : 100%;
    height: 100%;
    grid-area: header;
    display: grid;
    grid-template: 1fr 1fr/1fr;
    grid-template-areas: 
    "headertop"
    "headerbottom";
}

.headertop {
    grid-area: headertop;
    width : 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.headerbottom {
    grid-area: headerbottom;
    width : 100%;
    height: 100%;
}

.headerTitle {
    color: #fff;
    letter-spacing: 0.02rem;
    text-transform: uppercase;
    text-shadow: 0 0 0.15rem #1da9cc;
}

.headerTitle::before {
    content: "　"attr(data-text);
}

.menuCheck {
    display: none;
}

.menuBtn {
    color: #fff;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    text-shadow: 0 0 0.15em #1da9cc;
    cursor: pointer;
    z-index: 99;
}

.menuBtn:after{
    content: attr(data-txt-menu)"　";
}

.menuCheck:checked ~ .menuBtn:after{
    content: attr(data-txt-close)"　";
}

.rainCheck {
    display: none;
}

.rainbtn {
    color: #fff;
    letter-spacing: 0.02rem;
    text-transform: lowercase;
    text-shadow: 0 0 0.15rem #1da9cc;
    cursor: pointer;
    z-index: 99;
}

.rainbtn::before{
    content: "　　"attr(data-txt-open);
}

.rainCheck:checked ~ .rainbtn::before{
    content: "　　"attr(data-txt-close);
}

.drawerContent {
    width: 70%; /*ここの割合を小さくすると閉じる部分の領域が広がる*/
    height: inherit;
    position: fixed;
    top: 0;
    right: -100%;
    background: rgba(3,3,3,.8);
    z-index: 98;
    transition: .5s;
    display: grid;
    grid-template: 10% 1fr 10%/ 1fr;
    grid-template-areas: 
    "menuheader"
    "menucontent"
    "menufooter";
    overflow: scroll;
}
  
.drawerContentClose {
      width: 100%;
      height: inherit;
      position: fixed;
      top: 0;
      right: -100%;
      z-index: 97;
      transition: .5s;
}

.menuCheck:checked ~ .drawerContent {
	right: 0;
}

.menuCheck:checked ~ .drawerContentClose{
	right: 0;
}

.MenuAccordBox {
    grid-area: menucontent;
    width: 100%;
    height: 100%;
}

.menu_accord_lbl {
    position: relative;
  display: inline-block;
  padding-left: 12px;
  color: #fff;
  text-decoration: none;
  cursor: pointer;
}

.menu_accord_lbl::before{
    content: '';
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 6px 0 6px 8px;
  border-color: transparent transparent transparent #fff;
  position: absolute;
  top: 50%;
  left: 0;
  margin-top: -6px;
}

.accordionBox {
    height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all .5s;
}

.accordionBox p {
   
}

.accordionBox dd, .accordionBox dt {
    
}

.accordionCheck:checked + .accordionBox {
    height: auto;
    opacity: 1;
    padding-left: 1rem;
}

/*footer*/
.footerlayer {
    width : 100%;
    height: 100%;
    grid-area: footer;
    display: grid;
    grid-template: 0% 1fr 0% / 1fr;
    grid-template-areas: 
    "footertop"
    "footermiddle"
    "fotterbottom";
}

.footermiddle {
    width : 100%;
    height: 100%;
    grid-area: footermiddle;
    display: flex;
    align-items: center;
    justify-content: space-around;
}

.footerbottom {
    grid-area: fotterbottom;
    display: flex;
    align-items: center;
    justify-content: space-around;
}

.snsShareBox {
    position: relative;
    width: 30%;
    height: 100%;
}

.snsShare {
    position: absolute;
    cursor: pointer;
    width: 80%;
    height: 80%;
    background-size: contain;
	background-image:url(/data/systemimages/share.png);	/*背景画像を指定*/
    background-repeat:no-repeat; 			/*背景画像を繰り返さない*/
    align-self: center;
}

.footertop {
    width: 100%;
    height: 100%;
    grid-area: footertop;
    display: grid;
    grid-template: 1fr / 1fr;
    grid-template-areas: 
    "snsbrands";
}

.dispbooks {
    width: 10%;
    height: 50%;
    color: #fff;
    align-self: center;
}

.dispbooks::before {
    position: absolute;
    content: attr(data-text);
}

.dispmain {
    width: 10%;
    height: 50%;
    color: #fff;
    align-self: center;
}

.dispmain::before {
    position: absolute;
    content: attr(data-text);
}


.disptatebro {
    width: 10%;
    height: 50%;
    color: #fff;
    align-self: center;
}

.disptatebro::before {
    position: absolute;
    content: attr(data-text);
}

.FooterCssReload {
    width: 10%;
    height: 50%;
    align-self: center;
    display: none;
}

.FooterCssReload::before {
    position: absolute;
    content: attr(data-text);
}

.FooterInterSectioncheck {
    width: 10%;
    height: 50%;
    align-self: center;
    display: none;
}

.FooterInterSectioncheck::before {
    position: absolute;
    content: attr(data-text);
}

/*controlmain layer*/

.flash-title-check:checked ~ .flash-title {
    -webkit-animation: fade-in-out 3s ease 2s forwards;
    animation: fade-in-out 3s ease 2s forwards;
}

.flash-title {
    position: fixed;
    top: 0;
    left: 0;
    display: table;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    visibility: hidden;
    z-index: -1;
  }
  
  .flash-title p {
    display: table-cell;
    vertical-align: middle;
    text-align: center;
    font-size: 30px;
    color: #fff;
  }

  .flash-title-check:checked ~ .flash-title {
    -webkit-animation: fade-in-out 3s ease 2s forwards;
    animation: fade-in-out 3s ease 2s forwards;
}

  @-webkit-keyframes fade-in-out {
    0% {visibility: hidden; opacity: 0; z-index: 99;}
    50% {visibility: visible; opacity: 1;}
    100% {visibility: hidden; opacity: 0; z-index: -1;}
  }
  
  @keyframes fade-in-out {
    0% {visibility: hidden; opacity: 0; z-index: 99;}
    50% {visibility: visible; opacity: 1;}
    100% {visibility: hidden; opacity: 0; z-index: -1;}
  }

.advspecial img {
    overflow:hidden;
    object-position: right top;
    width: 100%;
    height: 100%;
    object-fit: contain;

}

.advspecial a {
    display: block;
    position: relative;
    z-index: 99;
    width: 100%;
    height: 100%;
    overflow:hidden;
}

.dispnone {
    display: none;
}

[data-sid='clonebase'] {
    display: none;
}

.TextShake {
    animation: shake 2s infinite linear forwards;
}

@keyframes shake {
    5%, 15%, 25%, 35%, 55%, 65%, 75%, 95% {
        filter: blur(0.018rem);
        transform: translateY(0.018rem) rotate(0deg);
    }

    10%, 30%, 40%, 50%, 70%, 80%, 90% {
        filter: blur(0.01em);
        transform: translateY(-0.018rem) rotate(0deg);
    }

    20%, 60% {
        filter: blur(0.03rem);
        transform: translate(-0.018rem, 0.018rem) rotate(0deg);
    }

    45%, 85% {
        filter: blur(0.03rem);
        transform: translate(0.018rem, -0.018rem) rotate(0deg);
    }

    100% {
        filter: blur(0.007rem);
        transform: translate(0) rotate(-0.5deg);
    }
}

/* その場で */
.fadeIn{
    animation-name:fadeInAnime;
    animation-duration:15s;
    animation-fill-mode:forwards;
    opacity:0;
}

.fadeOut{
    animation-name:fadeOutAnime;
    animation-duration:15s;
    animation-fill-mode:forwards;
    opacity:1;
}
    
@keyframes fadeInAnime{
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeOutAnime{
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes gridfadeInAnime {
    0% {
        display: none;
        opacity: 0;
    }
    1% {
        display: grid;
        opacity: 0;
    }
    100% {
        display: grid;
        opacity: 1;
    }
}

.Move2Right {
    animation-name:fadeInAnime;
}

@keyframes moveL02100 {
    0% {
        left: 0;
    }
    100% {
        left: 100%;
    }
}


/* amimation sample */
/*
animation: fadeIn 5s ease 1s 1 normal backwards;
-
 animation-name :後で作成するアニメーションの名前
 animation-duration :アニメーションの時間。秒単位（s）で指定します。
 animation-timing-function :アニメーションをどのように進行させるか。「ease（緩やかに変化）」のほかに「ease-out（開始時だけ早く変化）」「linear（一定に変化）」などのバリエーションがある。
 animation-delay: アニメーションを開始する時間。秒単位（s）で指定します。
 animation-iteration-count :アニメーションの実行回数。永遠に繰り返したい場合は「infinite」を指定します。
 animation-direction :アニメーションの方向。「normal（順方向）」のほかに「reverse（逆方向）」「alternate（順・逆方向を繰り返す）」などのバリエーションがある。
 animation-fill-mode :アニメーションの開始前、終了後のスタイル。「backwards（アニメーション開始時のスタイルを開始前に適用）」のほかに「forwards（アニメーション終了時のスタイルを終了後に適用）」などがある。

*/

/* 縦割れ　*/
/*
.backgsplash {
    grid-area: main;
    width : 100%;
    height: 100%;
    background-color: black;
    z-index: -1;
}

.backgsplash::before {
    left: 0;
    clip: rect(0px 50% 100% 0px);
    transform: translate3d(-100%,0,0);
}

.backgsplash::after {
    right: 0;
    clip: rect(0px 100% 100% 50%);
    transform: translate3d(100%,0,0);
}

.backgsplash::before,
.backgsplash::after {
    content: '';
    position: fixed;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: black;
    background-size: cover;
    -webkit-transition: all 5s;
    transition: all 5s;
}

#loadSplashCheck:checked ~ #backgsplash,
#loadSplashCheck:checked ~ #backgsplash::before,
#loadSplashCheck:checked ~ #backgsplash::after {
    transform: translate3d(0,0,0);
    z-index: -1;
}
*/
