*,
*:before,
*:after {
  box-sizing: border-box;
}

p,
ul,
ol,
h1,
h2,
figure,
dl,
dd,
button {
  margin: 0;
  padding: 0;
}

ul,
ol {
  list-style: none;
}

img {
  width: 100%;
  height: auto;
  vertical-align: bottom;
  line-height: 1;
}

body {
  font-family: "A1 Gothic M", sans-serif;
  font-size: 16px;
  line-height: 1.8;
  letter-spacing: 0.05em;
}

main {
  overflow: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}
a:visited,
a:active {
  color: inherit;
}
a:hover {
  opacity: 0.5;
}

/* header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100000;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition-property: visibility, opacity;
  transition-duration: 0.3s;
  transition-timing-function: ease-out;
}
.header.is-visible {
  opacity: 1;
  visibility: visible;
}
@media (min-width: 768px) {
  .header {
    padding-left: 3.125rem;
    padding-right: 3.125rem;
  }
}
.header__inner {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: center;
  padding: 0.5rem 0.625rem 0;
}
.header__logo {
  max-width: 6.25rem;
}

.header__logo a {
  pointer-events: all;
}

.header__button {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  padding: 0;
  background: none;
  border: none;
  pointer-events: all;
  width: 18px;
  height: 14px;
  cursor: pointer;
  transition: opacity 0.3s ease-out;
}

.header__button.is-active {
  opacity: 0;
}

.header__button span {
  display: block;
  width: 100%;
  height: 2px;
  background: #005a64;
}

/* nav */
.nav {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 100001;
  font-family: A1 Gothic L;
  color: #fffae1;
  -webkit-transition: -webkit-transform 0.4s;
  transition: -webkit-transform 0.4s;
  transition: transform 0.4s;
  transition: transform 0.4s, -webkit-transform 0.4s;
  -webkit-transform: translateX(100%);
  transform: translateX(100%);
}
.nav.is-open {
  -webkit-transform: translateX(0);
  transform: translateX(0);
}
.nav__inner {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: flex-start;
  gap: 1px;
}
.nav__closeButton {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  padding: 0;
  width: 30px;
  height: 30px;
  background: rgba(0, 90, 100, 0.85);
  border: none;
  cursor: pointer;
}
.nav__closeButton span {
  display: block;
  width: 16px;
  height: 1px;
  background: #fffae1;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
}
.nav__closeButton span:nth-child(2) {
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%) rotate(-45deg);
  transform: translate(-50%, -50%) rotate(-45deg);
}
.nav__body {
  display: grid;
  gap: 1px;
}
.navList {
  display: grid;
  gap: 1px;
  margin: 0;
  padding: 0;
}
.navList .navList--sub {
  margin-top: 1px;
}
.navList__item {
  min-height: 30px;
  list-style-type: none;
}
.navList__item.space {
  background: rgba(0, 90, 100, 0.9);
}
.navList__item a,
.navList__item button {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 0.5em;
  height: 30px;
  padding: 0 20px;
  font-size: 0.75rem;
  text-decoration: none;
  width: 100%;
  background: rgba(0, 90, 100, 0.9);
  color: #fffae1;
  border: none;
}
@media (hover: hover) and (pointer: fine) {
  .navList__item a:hover,
  .navList__item a:focus-visible,
  .navList__item button:hover,
  .navList__item button:focus-visible {
    opacity: 0.6;
  }
}
.navList__item a:active,
.navList__item button:active {
  opacity: 0.6;
}
.navList__item a span,
.navList__item button span {
  font-size: 0.875rem;
}
.navList__item .icon {
  width: 16px;
}
.navList__itemTrigger {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}
.navList__itemTrigger .icon {
  -webkit-transition: -webkit-transform 0.4s ease-out;
  transition: -webkit-transform 0.4s ease-out;
  transition: transform 0.4s ease-out;
  transition: transform 0.4s ease-out, -webkit-transform 0.4s ease-out;
}
.navList__itemTrigger[aria-expanded="true"] .icon {
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
}
.submenu {
  cursor: pointer;
}

.submenu-wrap {
  display: grid;
  grid-template-rows: 0fr;
  -webkit-transition: grid-template-rows 0.2s ease-out;
  transition: grid-template-rows 0.2s ease-out;
  transition: grid-template-rows 0.2s ease-out, -ms-grid-rows 0.2s ease-out;
}
.submenu-wrap[aria-hidden="false"] {
  grid-template-rows: 1fr;
}
.submenu-inner {
  overflow: hidden;
}

/* content */
.container {
  max-width: 410px;
  margin-right: auto;
  margin-left: auto;
}

.snap_wrapper {
  z-index: 100;
  position: relative;
  overflow-y: scroll;
  overflow-x: hidden;
  scroll-snap-type: y mandatory;
  height: 100vh;
  height: 100dvh;
  -webkit-overflow-scrolling: touch;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.snap_wrapper::-webkit-scrollbar {
  display: none;
}
.snap_wrapper:has(.info_wrapper.view) {
  scroll-snap-type: none;
}

.whycamp {
  height: 100vh;
  height: 100dvh;
  width: 100vw;
  position: relative;
  z-index: 10;
  scroll-snap-align: end;
  background-color: #fff;
  font-family: "A1 Gothic B", sans-serif;
  font-size: min(5.06666666667vw, 19px);
  display: flex;
  align-items: center;
  justify-content: center;
}
@media (min-width: 992px) {
  .whycamp {
    font-size: 28.5px;
  }
}
/* 
.comic {
  height: 100vh;
  height: 100dvh;
  width: 100vw;
  position: relative;
  z-index: 10;
  scroll-snap-align: end;
  background-color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
} */
/* @media (min-width: 992px) {
  .comic div {
    height: 90%;
    width: 90%;
  }
} */
/* @media (min-width: 992px) {
  .comic img {
    -o-object-fit: contain;
    object-fit: contain;
    height: 100%;
    width: 100%;
  }
} */

.photo {
  height: 100vh;
  height: 100dvh;
  width: 100vw;
  padding: 10px 0;
  position: relative;
  z-index: 10;
  scroll-snap-align: end;
}

.photo.manga {
  padding: 35px 20px 15px;
}

@media screen and (min-width: 992px) {
  .photo {
    padding: 50px 20px;
  }

  .photo.manga {
    padding: 50px 20px 20px;
  }
}

.photoItem {
  display: grid;
  height: 100%;
  grid-template-rows: minmax(0, 1fr) auto;
}

.photoItem__img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.photoItem__img--manga {
  margin-bottom: 9px;
}

.photoItem__copy {
  display: flex;
  align-items: flex-start;
  width: 92px;
  margin-top: 6px;
  margin-inline: auto;
}

@media screen and (min-width: 992px) {
  .photoItem__copy {
    width: 137px;
  }
}

.info_wrapper {
  scroll-snap-align: start;
  width: 100%;
  overflow-y: auto;
}

.other {
  background-color: #fff;
  position: relative;
  z-index: 101;
  padding: 40px 35px;
}
@media (min-width: 992px) {
  .other {
    font-size: 19.5px;
    line-height: 34.5px;
    padding: 60px 35px;
  }
}
.other ul {
  display: flex;
  flex-direction: column;
  gap: 40px;
}
@media (min-width: 992px) {
  .other ul {
    gap: 60px;
  }
}
.other ul .ttl {
  font-size: 14px;
  display: block;
  margin-bottom: 4px;
}

footer {
  scroll-snap-align: start;
  position: relative;
  z-index: 11;
  background-color: #fff;
  padding: 35px;
  text-align: center;
}
footer ul {
  display: flex;
  align-items: center;
  font-family: "A1 Gothic L", sans-serif;
  font-size: 13px;
  line-height: 2;
}
@media (min-width: 992px) {
  footer ul {
    font-size: 16px;
  }
}
footer ul:first-of-type {
  justify-content: center;
  gap: 52px;
}
footer ul:first-of-type li {
  width: 40px;
}
footer ul:last-of-type {
  justify-content: space-between;
  margin-top: 44px;
  margin-bottom: 44px;
}
@media (min-width: 992px) {
  footer ul:last-of-type {
    margin-top: 60px;
    margin-bottom: 60px;
  }
}
footer ul:last-of-type a {
  border: 1px solid #000;
  border-radius: 2em;
  padding: 0.5em;
  width: 119px;
  display: block;
}
@media (min-width: 992px) {
  footer ul:last-of-type a {
    padding: 0.2em;
    width: 145px;
  }
}
footer .copyright {
  width: 68px;
}
@media (min-width: 992px) {
  footer .copyright {
    width: 100px;
  }
}
