/*
  Josh's Custom CSS Reset
  https://www.joshwcomeau.com/css/custom-css-reset/
*/
*, *::before, *::after {
  box-sizing: border-box;
}

* {
  margin: 0;
}

html, body {
  height: 100%;
}

body {
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}

input, button, textarea, select {
  font: inherit;
}

p, h1, h2, h3, h4, h5, h6 {
  overflow-wrap: break-word;
}

#root, #__next {
  isolation: isolate;
}

ol, ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  font-size: 100%;
  vertical-align: baseline;
  background: transparent;
}

a[target=_blank]:after {
  font-family: "Hobonichi-Icons";
  content: "\e914";
  font-weight: normal;
  font-size: .8em;
  position: relative;
  top: -.2em;
}

a {
  color: #EE6B1A;
  text-decoration: none;
}

html {
  font-size: 62.5%;
}

body {
  font-size: 1.6rem;
  line-height: 180%;
  letter-spacing: 0.08em;
  color: #1A1A1A;
  font-family: 'A1 Gothic M', sans-serif;
  display: none;
}

.contents-wrapper::before {
  content: '';
  display: block;
  background: url(/store/rototo/2024/images/bg.jpg);
  background-size: cover;
  background-position: center center;
  width: 100vw;
  height: 100vh;
  height: calc(var(--vh, 1vh) * 100);
  position: fixed;
  top: 0;
  left: 0;
}

#kv {
  width: 100vw;
  height: 100vh;
  height: calc(var(--vh, 1vh) * 100);
  position: relative;
}

#kv .logo {
  position: absolute;
  top: 27.7%;
  left: 4.1%;
}

#kv h1 {
  position: absolute;
  background: #EAE681;
  font-size: 2rem;
  line-height: 170%;
  padding: 25px 46px 25px 103px;
  top: 48%;
  left: 0;
}

.bk_layer {
  transition: 1s;
}

.bk_layer.active {
  background-color: #A4A4A4;
  width: 100vw;
  height: 100vh;
  height: calc(var(--vh, 1vh) * 100);
  mix-blend-mode: multiply;
  position: fixed;
}

.wrapper, #yodogawa {
  position: relative;
  z-index: 1;
}

.contents-wrapper {
  scroll-snap-type: none;
  overflow-y: auto;
  height: 100vh;
  height: calc(var(--vh, 1vh) * 100);
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

.contents-wrapper.active {
  scroll-snap-type: y mandatory;
}

.contents-wrapper.active section {
  scroll-snap-align: start;
}

.wrapper {
  background-color: #ffffff;
  padding: 58px 0 0;
  overflow: hidden;
}

#yodogawa {
  width: 100vw;
  height: 100vh;
  height: calc(var(--vh, 1vh) * 100);
  display: flex;
  align-items: center;
  justify-content: center;
}

#yodogawa::before {
  content: '';
  position: absolute;
  top: 0;
  right: 6%;
  width: 200px;
  height: 260px;
  background-image: url(/store/rototo/2024/images/badge-start.png);
  background-size: contain;
  display: none;
}

#yodogawa div.text {
  max-width: 525px;
  background-color: rgba(255, 255, 255, 0.95);
  padding: 37px 45px;
  line-height: 220%;
}

#yodogawa div.pre {
  position: absolute;
  top: 0;
  right: calc(((100% - 522px)/2 - 200px)/2);
}

#contents_title {
  max-width: 1030px;
  margin: 0 auto;
}

#contents0,
#contents {
  width: 1030px;
  margin: 0 auto;
  padding-left: 23px;
  position: relative;
}

#contents0 ul li,
#contents ul li {
  margin: 0 30px 0 0;
}

#contents0 ul li:last-child,
#contents ul li:last-child {
  margin: 0;
}

#contents0 {
  margin-bottom: 40px;
}

#contents0 img,
#contents img {
  vertical-align: top;
}

#contents0 div.inner {
  width: 286px;
  background-color: #EAE681;
}

#contents div.inner {
  width: 830px;
  background-color: #EAE681;
}

#contents0 div.inner > div,
#contents div.inner > div {
  display: flex;
  align-items: center;
  margin: 0;
  height: 230px;
}

h3 {
  font-family: 'Alata', sans-serif;
  font-weight: normal;
  font-size: 2.4rem;
  line-height: 200%;
  letter-spacing: 0.06em;
  border-bottom: 2px solid;
  max-width: 310px;
  margin-bottom: 32px;
}

#items > div {
  max-width: 1030px;
  margin: 0 auto;
  padding: 50px 0 0;
}

#items.archives > div:first-child {
  padding-top: 100px;
}

#items h3 {
  margin-bottom: 62px;
  margin-bottom: 45px;
}

#items .thumb {
  position: relative;
  max-width: 381px;
}

#items h2 {
  font-size: 1.6rem;
  font-weight: normal;
  line-height: 180%;
  padding: .5em 0 0;
}

#items a {
  color: #1A1A1A;
  border: 1px solid;
  border-radius: 2em;
  width: 180px;
  display: inline-block;
  text-align: center;
  line-height: 2.37;
  margin-top: 1em;
}

#items ul {
  text-align: center;
  max-width: 912px;
  margin: auto;
}

#items ul li {
  position: relative;
  margin-top: 35px;
}

#items ul li:nth-of-type(1), #items ul li:nth-of-type(2) {
  margin-top: 0;
}

#items ul.archives {
  max-width: 1020px;
}

#items ul.archives li {
  width: calc(100% / 3);
}

#items ul.archives li:nth-of-type(3) {
  margin-top: 0;
}

#items ul li.sold .thumb::after {
  content: '';
  display: block;
  background: url(/store/rototo/2024/images/icon_sold.png) no-repeat;
  background-size: contain;
  width: 120px;
  height: 38.75px;
  position: absolute;
  top: 4.5%;
  left: 3%;
}

#items ul.archives .thumb {
  max-width: 264px;
  margin: auto;
}

#banner {
  background-color: #EAE681;
  text-align: center;
  padding: 31px 0;
  margin-top: 100px;
}

.banner-ttl {
  text-align: center;
  font-size: 20px;
  font-style: normal;
  font-weight: 500;
  line-height: 147%;
  letter-spacing: 1.6px;
  padding-bottom: 15px;
}

.banner-cnt {
  display: flex;
  justify-content: space-between;
  max-width: 658px;
  margin: auto;
}

.banner-cnt a {
  display: block;
  max-width: 304px;
  width: 100%;
}

footer {
  max-width: 940px;
  margin: 0 auto;
  padding: 63px 0 37px;
  text-align: center;
}

footer ul {
  display: flex;
  gap: 30px;
  justify-content: center;
}

footer ul.hobo a {
  text-align: center;
  width: 220px;
  border-radius: 2em;
  border: 1px solid;
  display: inline-block;
  line-height: 3;
  color: #1D4765;
}

footer ul.sns {
  padding: 30px 0;
  gap: 25px;
}

footer ul.link a {
  font-family: 'A1 Gothic L', sans-serif;
  font-size: 1.3rem;
  color: #000;
  position: relative;
}

footer ul.link a:after {
  content: '/';
  display: inline-block;
  position: absolute;
  right: -18px;
}

footer ul.link li:last-of-type a:after {
  display: none;
}

footer .copyright {
  padding-top: 20px;
  display: inline-block;
}

.open .wrapper {
  padding: 58px 0 70px;
}

@media screen and (min-width: 835px) {
  a:hover {
    opacity: .7;
    transition: opacity .5s;
  }
  .spOnly {
    display: none;
  }
  #contents0 ul,
  #contents ul {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  #contents0::before,
  #contents::before {
    content: '';
    display: block;
    width: 31vw;
    height: 230px;
    background: #EAE681;
    position: absolute;
    top: 0;
    left: -28vw;
    z-index: -1;
  }
  #contents0::after,
  #contents::after {
    content: '';
    display: block;
    width: 120px;
    height: 230px;
    border-radius: 0 230px 230px 0;
    background: #EAE681;
    position: absolute;
    top: 0;
    right: 58px;
    z-index: -1;
  }
  #contents0::after {
    right: 601px;
  }
  #items ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }
}

@media screen and (min-width: 835px) and (max-width: 974px) {
  #contents0 div.inner {
    width: 235px;
  }
  #contents div.inner {
    width: 690px;
  }
  #contents0::before,
  #contents0::after,
  #contents0 div.inner > div,
  #contents::before,
  #contents::after,
  #contents div.inner > div {
    height: 190px;
  }
  #contents0::after {
    right: 652px;
  }
  #contents::after {
    right: 198px;
  }
  #contents0 ul li {
    width: 160px;
  }
  #contents0 ul li:nth-of-type(1) {
    width: 44px;
  }
}

@media screen and (max-width: 834px) {
  img {
    width: 100%;
  }
  br:not(.sp-br) {
    display: none;
  }
  .pcOnly {
    display: none;
  }
  .contents-wrapper::before {
    background: url(/store/rototo/2024/images/bg-sp.jpg);
    background-size: cover;
    background-position: center center;
  }
  #kv h1 {
    font-size: 1.6rem;
    padding: 10px 18px 11px 29px;
    right: auto;
    left: 0;
    top: 40px;
  }
  #kv .logo {
    width: 205px;
    left: 0;
    right: 0;
    margin: 0 auto;
    top: 154px;
  }
  #yodogawa {
    flex-direction: column;
    min-height: calc(var(--vh, 1vh) * 100);
    height: initial;
    padding-bottom: 25px;
  }
  #yodogawa::before {
    position: relative;
    top: 0;
    right: initial;
    left: 0;
    width: 100%;
    height: 120px;
    background-image: url(/store/rototo/2024/images/badge-start-sp.png);
    background-repeat: no-repeat;
    margin: 18px 0 27px;
  }
  #yodogawa .inner {
    width: 100%;
  }
  #yodogawa div.pre {
    max-width: 347px;
    width: 85vw;
    right: auto;
    left: 0;
    padding: 18px 0 27px;
    position: relative;
  }
  #yodogawa div.text {
    font-size: 1.5rem;
    padding: 1em;
    margin: 0 auto;
  }
  .wrapper {
    padding: 0;
  }
  #contents0,
  #contents {
    width: 100%;
    padding-left: 0;
    background-color: #EAE681;
  }
  #contents0 {
    margin-bottom: 0;
  }
  #contents0 div.inner,
  #contents div.inner {
    max-width: 320px;
    width: 85vw;
    margin: 0 auto;
  }
  #contents0 div.inner > div,
  #contents div.inner > div {
    height: auto;
    padding: 36px 0 33.82px;
    margin: 0 auto;
  }
  #contents0 div.inner > div {
    padding-bottom: 0;
  }
  #contents0 ul,
  #contents ul {
    max-width: 200px;
    margin: 0 auto;
  }
  #contents0 ul li,
  #contents ul li {
    padding: 0 0 30px;
    margin: 0;
  }
  #contents0 ul li:first-child img,
  #contents ul li:first-child img {
    width: 170px;
    margin: auto;
  }
  #contents0 ul li:last-child,
  #contents ul li:last-child {
    padding-bottom: 0;
  }
  #contents0 ul li:last-child img,
  #contents ul li:last-child img {
    width: 170px;
    margin: auto;
  }
  #contents0 ul li img,
  #contents ul li img {
    height: auto;
    max-width: 320px;
    width: 100%;
  }
  #contents_title {
    width: 85vw;
    margin: auto;
    padding-top: 32px;
  }
  #items > div {
    max-width: 310px;
    width: 85vw;
    padding: 40px 0 0;
  }
  #items > div:first-child {
    padding-top: 55px;
    max-width: 100%;
  }
  #items ul li {
    margin: 0 0 55px;
    width: 100%;
  }
  #items ul li:last-child {
    margin-bottom: 0;
  }
  #items ul li.sold::after {
    top: 10px;
  }
  #items ul.archives li {
    width: 100%;
  }
  #items ul.archives li:nth-child(5), #items ul.archives li:last-child {
    margin-bottom: 0;
  }
  #items ul.archives li.sold::after {
    top: 10px;
    width: 80px;
  }
  #items ul .thumb {
    max-width: 310px;
    margin: auto;
  }
  #items ul.archives .thumb {
    max-width: 195px;
  }
  #items ul li {
    width: 100%;
  }
  #items h3 {
    margin: 0 auto 45px;
  }
  #items ul.archives li.sold .thumb::after {
    width: 100px;
  }
  #banner {
    margin-top: 55px;
    padding: 40px 0 42px;
  }
  .banner-ttl {
    font-size: 16px;
    padding-bottom: 40px;
  }
  .banner-cnt {
    flex-direction: column;
    align-items: center;
  }
  .banner-cnt a {
    margin-top: 30px;
    max-width: 254px;
  }
  .banner-cnt a:first-child {
    margin-top: 0;
  }
  footer {
    padding: 30px 0 25px;
  }
  footer ul.hobo, footer ul.link {
    display: block;
  }
  footer ul.hobo li:nth-of-type(n + 2) {
    padding-top: 20px;
  }
  footer ul.sns img {
    width: 33px;
  }
  footer ul {
    gap: 24px;
  }
  footer ul.link a:after {
    display: none;
  }
  .open #contents0,
  .open #contents {
    margin-bottom: 0;
  }
  .open #contents0::after,
  .open #contents::after {
    content: '';
    display: block;
    background: url(../images/line_sp.svg) no-repeat;
    max-width: 320px;
    width: 85vw;
    margin: -30px auto 0;
    height: 0;
    padding-top: 11.44%;
    background-size: contain;
  }
}

@media screen and (max-width: 640px) {
  #yodogawa div.text {
    width: 90%;
  }
  #yodogawa div.pre {
    padding: 0 0 5vw;
  }
  #kv .logo {
    top: 38vw;
  }
}
