/*
Theme Name: loveonleave-theme
Description: loveonleave theme.
*/


/* 14px @ 0px increasing to 16px @ 1920px */
@media (min-width: 0px) {
  :root {
    font-size: calc(0.875rem + ((1vw - 0px) * 0.1042));
    /* Where: * 0.1042 = 100 * font_Size_Difference / viewport_Width_Difference */
  }
}
/* Prevent font scaling beyond this breakpoint */
@media (min-width: 1920px) {
  :root {
    font-size: 16px;
  }
}
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  font-family: "Noto Sans JP", "メイリオ", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic ProN", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", Arial, Helvetica, sans-serif;
  vertical-align: baseline;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  color: #2b1c00;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1;
  background: #000;
}

ol,ul {
  list-style: none;
}

blockquote,q {
  quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
  content: '';
  content: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}

.clearfix:after {
  content: " ";
  display: block;
  clear: both;
}
img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}

a {
  text-decoration: none;
}

.strong {
  text-align: center;
  font-weight: bold;
  font-size: 2rem;
  color: #f7089c;
  text-shadow: 2px 2px 2px #fff,
    -2px 2px 2px #fff,
    2px -2px 2px #fff,
    -2px -2px 2px #fff;
}

.right {
text-align: right;
}
.bld {
  font-weight: bold;
}
/*layout*/

.container {
  max-width: 1300px;
  margin: auto;
}

.main-content {
  margin-top: 120px;
}

/*初回画面*/
  .intro {
    width: 100%;
    height: 100%;
    background: url('images/bg-intro.jpg') no-repeat center center;
    background-size: cover;
    overflow-y: hidden;
    position: fixed;
    z-index: 998;
    top: 0;
  }
 .intro p {
  color: #fff;
   text-shadow:2px 2px 3px #333, -2px -2px 3px #333,
              -2px 2px 3px #333, 2px -2px 3px #333,
              0px 2px 3px #333,  0-2px 3px #333,
              -2px 0 3px #333, 2px 0 3px #333;
}
  .intro>div {
    text-align: center;
    position: fixed;
    left: 50%;
    top: 50%;
    width: 90%;
    transform: translate(-50%, -50%);
    z-index: 999;
    line-height: 1.4;
  }
.intro .greeting {
  font-size:24px;
  margin-bottom: 10px;
}
.intro .question {
  font-size:18px;
  margin-bottom: 10px;
}
.btn-area {
  display: flex;
  justify-content: center;
}
.intro button {
  line-height: 1;
  background: #44d4f6;
  background-image: -webkit-linear-gradient(top, #44d4f6, #44bfdb);
  background-image: -moz-linear-gradient(top, #44d4f6, #44bfdb);
  background-image: -ms-linear-gradient(top, #44d4f6, #44bfdb);
  background-image: -o-linear-gradient(top, #44d4f6, #44bfdb);
  background-image: linear-gradient(to bottom, #44d4f6, #44bfdb);
  -webkit-border-radius: 40;
  -moz-border-radius: 40;
  border-radius: 40px;
  color: #ffffff;
  font-size: 36px;
  padding: 10px 30px 10px 30px;
  font-weight: bold;
  margin: 6px;
  width: 180px;
  text-align: center;
  margin-bottom: 20px;
  border: none;
  cursor: pointer;
}
.btn-area a {
  line-height: 1;
  background: #333;
  -webkit-border-radius: 40;
  -moz-border-radius: 40;
  border-radius: 40px;
  color: #ffffff;
  font-size: 36px;
  padding: 10px 30px 10px 30px;
  font-weight: bold;
  margin: 6px;
  width: 180px;
  text-align: center;
  margin-bottom: 20px;
  border: none;
}
.intro button span,
.btn-area a span {
  display: block;
  color: #fff;
  font-size: 14px;
  margin-top: 4px;
  font-weight: normal;
}

/*header*/

.site-header {
  background-color: #fff;
  padding: 12px;
  position: fixed;
  top: 0;
  width: 100%;
  height: 120px;
  z-index: 10;
  border-bottom: 2px solid #1bb0f1;
  border-image: linear-gradient(to right, #1bb0f1 0%, #ff5478 50%, #1bb0f1 100%);
  border-image-slice: 1;
}

.site-header .container {
  position: relative;
}

.site-header h1 {
  width: 240px;
}
.en h1 {
  width: 160px;
}

.sub-nav ul {
  position: absolute;
  top: 6px;
  right: 0;
  display: flex;
  z-index: 2;
}

.sub-nav li {
  border-left: 1px solid #000;
  padding: 0 12px;
}

.sub-nav li:first-child {
  border-left: none;
}

.sub-nav li a {
  font-size: 13px;
  padding: 1px 12px;
  color: #000;
}

.sub-nav li a:hover {
  color: #5cafbf;
}

.sub-nav li a.active {
  border-radius: 24px;
  background: #5cafbf;
  color: #fff;
}

.main-nav ul {
  position: absolute;
  top: 55px;
  right: 0;
  width: calc(100% - 260px);
  display: flex;
  justify-content: space-around;
}
.ja .main-nav ul {
  top: 45px;
}
.main-nav li {
  text-align: center;
  padding: 0 1%;
}

.main-nav li a {
  display: block;
  color: #000;
  text-decoration: none;
  font-family: 'Gayathri', sans-serif;
  font-size: 1.4rem;
  white-space: nowrap;
}

.main-nav li a span {
  color: #000;
  font-size: .8rem;
}

.main-nav li a:hover {
  color: #f39800;
}
.main-nav li a:hover span {
  color: #f39800;
}


/*footer*/
.main-content .nintendo {
  color: #fff;
  text-align: center;
  text-shadow: 1px 1px 3px #000000;
  margin-bottom: 0;
  padding-bottom: 1rem;
}

.site-footer {
  background: #141619;
  color: #eee;
  padding: 2.4rem 12px;
  line-height: 1.4;
}

.contact-wrapper {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row-reverse;
}

#contact {
  width: 70%;
  padding: 1%;
}

#contact p {
  margin-bottom: 1.2rem;
}

#contact form {
  padding: 1%;
}

#contact input,
#contact textarea {
  width: 100%;
  border: 0;
  border-radius: 4px;
  padding: .8rem;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  background: #222427;
  color: #969696;

}

#contact textarea {
  height: 200px;
}

#contact input[type="submit"] {
  width: 100%;
  background: #363940;
  color: #fff;
  cursor: pointer;
}

#contact input[type="submit"]:hover {
  background: #1eaede;
}

.screen-reader-response {
  display: none;
}

#contact [role="alert"] {
  color: #1eaede;
}

.site-footer h2 {
  font-size: 1.8rem;
  padding: 12px 0;
  color: #fff;
  font-family: serif;
}

.site-footer p {
  color: #fff;
}

.sns {
  width: 30%;
  padding: 1%;
}

.sns-nav {
  display: flex;
  justify-content: center;
  margin-bottom: .8rem;
}

.sns-nav li {
  display: inline;
  padding: 0 .8rem;
}

.sns-nav a {
  font-size: 2.6rem;
  color: #eee;
}

.copyright {
  text-align: center;
  font-size: .8rem;
}

.copyright img {
  margin-bottom: 1%;
}

/*main*/
.main-content {
  font-size: 1.2rem;
}

.main-content p {
  margin-bottom: 1rem;
}

.main-content .mv {
  position: relative;
  width: 100%;
  height: calc(100vh - 120px);
  padding: 0;
  background: url('images/mv.jpg') no-repeat center center #000;
  background-size: cover;
}

.main-content .mv .title {
  position: absolute;
  left: 0;
  right: 0;
  margin: auto;
  bottom: 40px;
  text-align: center;
}

.main-content .release {
  margin-top: -40px;
  max-width: 80%;
}
  
.main-content .logo-switch {
  position: absolute;
  left: 20px;
  top: 20px;
}

.main-content .logo-steam {
  position: absolute;
  left: 120px;
  top: 20px;
}

.main-content section h2 {
  font-family: 'Gayathri', sans-serif;
  font-size: 3.2rem;
  padding: 1rem 0;
  text-align: center;
  background: url('images/bg-title1.png') no-repeat center center;
  line-height: 1;
  color: #fff;
  text-shadow:2px 2px 0px #554933,
      -2px 2px 0px #554933,
    2px -2px 0px #554933,
    -2px -2px 0px #554933;
  margin-bottom: 1rem;
}

.main-content section h2 span {
  color: #fff;
  display: block;
  font-size: 1rem;
  font-weight: bold;
  text-shadow:2px 2px 0px #554933,
      -2px 2px 0px #554933,
    2px -2px 0px #554933,
    -2px -2px 0px #554933;
  margin-top: -.6rem;
}

.banner {
  background:#141619;
}

.banner ul {
  display: flex;
  justify-content: center;
}

.banner ul li {
  padding: 1rem;
}

.movie-bg {
  padding-top: 8rem;
  background: rgba(0, 0, 0, 0.1);
}

.movie-bg video {
  position: fixed;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  top: 50%;
  left: 50%;
  transform: translateY(-50%) translateX(-50%);
  -webkit- transform: translateY(-50%) translateX(-50%);
  margin: auto;
  z-index: -3;
}

.movie-bg section {
  padding: 4rem;
  background-color: rgba(255, 255, 255, 0.85);
  margin-bottom: 8rem;
  line-height: 1.5;
}
.video-outer {
  display: flex;
  flex-wrap: wrap;
}
.video-wrapper {
  width: 100%;
  margin-bottom: 1.4rem;
}

.video {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
}

.video iframe {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
}

#about p:last-child {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

#about ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

#about ul li {
  width: 33.33%;
  padding: .5%;
}

#about ul a {
  display: block;
  position: relative;
}

#about ul p {
  margin-top: .4rem;
  font-size: 1.1rem;
}

#about ul .zoom {
  position: absolute;
  right: 2px;
  bottom: 2px;
}
#story {
  background-image: url('images/bg-story.png');
  background-position: center;
  text-align: center;
  background-size: cover;
}
#story p {
  text-shadow:2px 2px 0px #fff,
      -2px 2px 0px #fff,
    2px -2px 0px #fff,
    -2px -2px 0px #fff;
}

.tab_menu {
  width: 80%;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 1rem;
}

.tab_item {
  width: 17%;
  margin: 1.5%;
  text-align: center;
  transition: all 0.2s ease;
  cursor: pointer;
  opacity: 0.75;
  border: 1px solid #333;
}
.tab_item:hover {
  opacity: 1;
  border: 1px solid #ff00d0;
}

input[name="tab_item"] {
  display: none;
}

.tab_content {
  display: none;
  clear: both;
  overflow: hidden;
  background: url(images/bg-character.png) no-repeat;
  background-size: cover;
}


#tab1:checked ~ #tab1_content,
#tab2:checked ~ #tab2_content,
#tab3:checked ~ #tab3_content {
  display: block;
}

#tab1:checked ~ .tab_menu .tab_item1,
#tab2:checked ~ .tab_menu .tab_item2,
#tab3:checked ~ .tab_menu .tab_item3 {
  opacity: 1;
  border: 1px solid #ff00d0;
}

#tab1_content h3,
#tab1_content .cv {
  text-shadow: 3px 3px 6px #1abcf7,
    -3px 3px 6px #1abcf7,
    3px -3px 6px #1abcf7,
    -3px -3px 6px #1abcf7;
}

#tab2_content h3,
#tab2_content .cv {
  text-shadow: 3px 3px 6px #f3b600,
    -3px 3px 6px #f3b600,
    3px -3px 6px #f3b600,
    -3px -3px 6px #f3b600;
}

#tab3_content h3,
#tab3_content .cv {
  text-shadow: 3px 3px 6px #733105,
    -3px 3px 6px #733105,
    3px -3px 6px #733105,
    -3px -3px 6px #733105;
}

.character {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.character p {
  font-weight: bold;
  text-shadow: 2px 2px 0px #fff,
    -2px 2px 0px #fff,
    2px -2px 0px #fff,
    -2px -2px 0px #fff;
}

.character .fullview {
  position: absolute;
  bottom: 12px;
  right: 20px;
}

.character .image {
  width: 54%;
  position: relative;
}

.character .image > img {
  display: block;
  margin: auto;
}

.character .content {
  width: 42%;
  padding: 2%;
}

.character h3 {
  text-align: center;
  font-weight: bold;
  font-size: 3rem;
  color: #fff;
  margin-bottom: .4rem;
}
.character h3 span {
  font-size: 1.4rem;
  display: block;
  color: #fff;
}
.character .cv {
  color: #fff;
    text-align: center;
  margin-bottom: 12px;
  
}
.character .voice {
  text-align: center;
  margin-bottom: 12px;
}

.character .voice img {
  vertical-align: middle;
  cursor: pointer;
}

.character .strong {
  color: #ff0;
  font-size: 1.6rem;
  margin-bottom: 0;
}
#system ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
#system ul li {
  width: 33.33%;
  padding: .5%;
}

#system ul.half li {
  width: 50%;
  padding: .5%;
}

#system li a {
  display: block;
  position: relative;
}

#system li p {
  margin-top: .4rem;
  font-size: 1.1rem;
}

#system .zoom {
  position: absolute;
  right: 2px;
  bottom: 2px;
}

#system .strong {
  margin-top: 3rem;
}

#system h2 + .strong {
  margin-top: 0;
}
.arrow {
  position: relative;
}
.arrow-right {
  position: absolute;
  right: -12%;
  top: 0;
    bottom: 0;
    margin: auto;
  z-index: 2;
  width: 20%;
  height: auto;
}

#system .red {
  color: #f00;
}

#gallery ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

#gallery li {
  width: 33.33%;
  padding: .5%;
}
#gallery ul li a {
  display: block;
  position: relative;
}
#gallery .zoom {
  position: absolute;
  right: 2px;
  bottom: 2px;
}

#info dl {
  display: flex;
  flex-wrap: wrap;
}

#info dl dt {
  width: 50%;
  text-align: right;
  border-right: 1px solid #fff;
  padding-right: 1rem;
}

#info dl dd {
  width: 50%;
  padding-left: 1rem;
}

.twitter-btn {
  position: relative;
}

.twitter-btn a {
  position: absolute;
  display: block;
  width: 80px;
  text-align: center;
  top: 0;
  left: 10px;
  background: #e3176c;
  color: #fff;
  font-size: 12px;
  padding: 1px 8px;
  border-radius: 3px;

}

.twitter-btn a:hover {
  background: #1eaede;
}

.twitter-btn a svg {
  padding: 0 3px;
}



@media screen and (min-width: 820px) {
  .sp {
    display: none;
  }

  .pushbar-button {
    display: none;
  }
}

@media screen and (max-width: 820px) {
  .pc {
    display: none;
  }

  .sp {
    display: block;
  }

  .pushbar-button {
    display: block;
    position: absolute;
    top: 8px;
    right: 6px;
    font-size: 1.6rem;
    cursor: pointer;
    border: none;
    color: #000;
    background: #fff;
    line-height: 1;
    padding: 6px 8px;
  }

  .pushbar .sub-nav ul {
    position: relative;
    justify-content: center;
    flex-wrap: wrap;
  }

  .pushbar .sub-nav ul li {
    width: 100%;
    text-align: center;
    padding: 6px;
  }

  .main-nav ul {
    position: relative;
    width: 100%;
    top: 0;
    margin-bottom: 2rem;
    display: block;
  }

  .main-nav li {
    text-align: left;
    padding: 0;
    border-bottom: 1px solid #ccc;
  }

  .main-nav li a {
    padding: 1rem;
  }

  .sub-nav li {
    border: none;
  }

  .main-content {
    margin-top: 78px;
  }

  .site-header {
    height: 78px;
  }

  .site-header h1 {
    width: 160px;
  }
  .en h1 {
    width: 96px;
  }

  /*footer*/
  #contact {
    width: 100%;
  }

  .sns {
    width: 100%;
  }

  .nintendo {
    font-size: 1rem;
    background: rgba(0, 0, 0, 0.6);
  }

  /*main*/
  
    .main-content .mv {
    height: calc(100vh - 78px);
    padding-bottom: 48px;
  background: url('images/mv-sp.jpg') no-repeat center center #000;
      background-size: cover;
}

  .main-content .mv .title {
    bottom: 50px;
    width: 100%;
}

  .video-wrapper {
    width: 100%;
  }

  .movie-bg {
    padding-top: 0;
  }

  .movie-bg section {
    padding: 1rem;
    margin-bottom: 0rem;
  }

  .main-content section h2 {
    background-size: contain;
  }

  #story {
    background-image: none;
  }

  #story > div {
    text-align: left;
  }

  #story p br {
    display: none;
  }



}

@media screen and (max-width: 540px) {
  .intro img {
max-width: 300px;
  }
.intro .greeting {
  font-size: 16px;
}
  .intro .question {
    font-size: 14px;
  }
  .intro button {
    font-size: 18px;
    width: 120px;
}
  .btn-area a {
    font-size: 18px;
    width: 120px; 
  }
  .intro .rights {
    font-size: 12px;
  }

  .main-content .logo-switch {
    width: 40px;
    left: 10px;
    top: 10px;
  }
  .main-content .logo-steam {
    width: 109px;
    left: 60px;
    top: 10px;
}
  .main-content section h2 {
    font-size: 2.6rem;
  }
  #about ul li {
    width: 50%;
  }
    .character .image {
    width: 100%;
  }

  .character .content {
    width: 100%;
  }

  .fullview img {
    width: 69px;
  }
  #system ul li {
  width: 50%;
}
  .tab_menu {
width: 100%;
  }
  .tab_item {
  width: 30%;
}
  .half li {
    width: 100%;
  }
.arrow-right {
display: none;
}

        #gallery li {
    width: 50%;
  }

}