@charset "utf-8";
:root {
  --site-red: #e80707;
  --site-dark-1: #272121;
  --site-dark-2: #443737;
  --site-light: #fcf3cf;
}
body {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  color: #111;
  line-height: initial; /* hacking Bootstrap 5 */
  font-family: Meiryo, "Noto Sans JP", sans-serif;
  font-weight: 400;
}
*,
:after,
:before,
dl,
dt,
li,
span,
ul,
h1,
h2 {
  margin: 0;
  padding: 0;
}
h1,
h2,
h3,
p.heading {
  font-weight: 700;
  font-family: "Noto Sans JP", sans-serif;
}
ul {
  list-style-type: none;
}
a {
  text-decoration: none;
  transition: 0.3s;
}
a:hover {
  opacity: 0.8;
}
img {
  width: 100%;
  height: auto;
  vertical-align: middle;
}
.large {
  font-size: 1.25em;
}
.small {
  font-size: 0.7em;
}
/**************************************************
*
* Header
*
***************************************************/
header {
  position: relative;
  display: grid;
  place-content: center;
  text-align: center;
  width: 100%;
  height: 85vh;
  background: url(../img/header-pc.webp);
  background-size: cover;
  background-position: center center;
  overflow: hidden;
}
header img.kokoexchange {
  width: 60%;
  height: auto;
}
header span {
  position: absolute;
  right: 1em;
  bottom: 1em;
}
header .heading {
  margin-top: 12px;
  font-size: 30px;
  font-weight: 400;
  color: #222;
}
header img.logo {
  width: 100px;
  height: 31px;
}
.leading {
  position: relative;
  height: 15vh;
  display: grid;
  place-content: center;
  text-align: center;
  color: #fff;
  background: #bc002d;
}
.leading h2 {
  font-weight: 400;
  color: #fff;
}
.nav {
  /* bootstrap hack */
  display: grid;
}
/* nav {
  display: grid;
  place-items: center;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  transform: translateX(100%);
  transition: transform 0.3s ease-in;
  background: #ffff99;
  z-index: 10;
}
nav.active {
  transform: translateX(0);
}
nav ul {
  list-style: none;
}
nav li {
  position: relative;
}
nav a {
  text-decoration: none;
  color: #bc002d;
  padding: 1em;
  display: block;
  letter-spacing: 0.1em;
  font-weight: normal;
}
nav a:hover {
  opacity: 0.8;
}
.open-btn {
  display: inline-block;
  position: absolute;
  z-index: 11;
  top: 10px;
  right: 10px;
  cursor: pointer;
  width: 46px;
  height: 46px;
  border: thin solid #bc002d;
}
.open-btn span {
  display: inline-block;
  transition: all 0.4s;
  position: absolute;
  left: 10px;
  height: 1px;
  background-color: #bc002d;
  width: 50%;
}
.open-btn span:nth-of-type(1) {
  top: 14px;
}
.open-btn span:nth-of-type(2) {
  top: 23px;
}
.open-btn span:nth-of-type(3) {
  top: 31px;
}
.open-btn.active span:nth-of-type(1) {
  top: 16px;
  left: 14px;
  transform: translateY(6px) rotate(-45deg);
  width: 35%;
}
.open-btn.active span:nth-of-type(2) {
  opacity: 0;
}
.open-btn.active span:nth-of-type(3) {
  top: 28px;
  left: 14px;
  transform: translateY(-6px) rotate(45deg);
  width: 35%;
}
@media screen and (min-width: 767px) {
  .open-btn {
    display: none;
  }
  nav {
    position: fixed;
    width: 100%;
    height: auto;
    display: flex;
    justify-content: flex-end;
    transform: none;
    background: transparent;
    z-index: 10;
  }
  nav ul {
    display: flex;
  }
  nav a {
    color: #bc002d;
  }
} */

@media screen and (max-width: 767px) {
  header img.kokoexchange {
    width: 80%;
  }
}
/**************************************************
*
* Section
*
***************************************************/
section {
  padding-top: 100px;
  padding-bottom: 100px;
}
section:nth-of-type(even) {
  color: #fff;
  /* background: #2d2d2a; */
}
section:nth-of-type(odd) {
  background: #ffff99;
}
section:nth-of-type(odd) h3 {
  color: #111;
}
.section-2 {
  background: url(../img/back-1.webp);
  background-size: cover;
  background-attachment: fixed;
}
.section-4 {
  background: url(../img/back-2.webp);
  background-size: cover;
  background-attachment: fixed;
}
.section-1 {
  padding-bottom: 40px;
}
.osusume {
  display: inline-block;
  border: 1px solid #c75f77b9;
  padding: 0.75em 3em;
  color: #bc002d;
  background: #fdfdcb;
  margin-bottom: 40px;
}
.card-box {
  padding: 10%;
}
.box-wrapper:nth-of-type(even) img {
  background: #ffcad4bf;
  border: 1px solid #4ff1faa1;
}
.box-wrapper:nth-of-type(odd) img {
  background: #87f5fbbe;
  border: 1px solid #f6a2b2ac;
}
.card-box img {
  padding: 20%;
  margin-bottom: 1em;
  border-radius: 6px;
}
img.exchanger {
  height: 75vh;
  width: auto;
}
section h3 {
  text-align: center;
}
section h3:not(:first-of-type) {
  margin-top: 100px;
}
section:nth-of-type(even) .desc {
  background: #ffff99;
  color: #111;
}
section:nth-of-type(odd) .desc {
  background: #2d2d2a;
  color: #fff;
}
.desc {
  margin-top: 3em;
  padding: 2em 1.5em 1.5em 2em;
}
.desc img,
.section-4 img {
  background: #fff;
  border-radius: 8px;
}
.section-4 img {
  margin-bottom: 1em;
}
@media screen and (max-width: 767px) {
  section {
    padding-top: 60px;
  }
  section h3:not(:first-of-type) {
    margin-top: 60px;
  }
  .desc {
    margin-top: 30px;
  }
  img.exchanger {
    margin-bottom: 40px;
  }
}
/**************************************************
*
* Footer
*
***************************************************/
footer {
  position: relative;
  color: #fff;
  background: #bc002d;
  padding: 100px 0;
}
.footer-nav {
  display: flex;
  column-gap: 1.5em;
  justify-content: center;
  margin-top: 1.5em;
}
footer a {
  color: #fff;
  text-decoration: underline;
}
.footer-logo {
  display: grid;
  place-content: center;
  text-align: center;
  height: 100%;
}
.footer-logo img {
  width: 150px;
  height: auto;
  margin-bottom: 12px;
}
footer dd:not(:last-of-type) {
  margin-bottom: 2em;
}

/**************************************************
*
* GSAP, ScrollTrigger
*
***************************************************/
.panel-1 {
  position: absolute;
  width: 100%;
  height: 100vh;
  top: 0;
  left: 0;
  clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%);
  z-index: 10;
  background: #ffff99;
}
.panel-2,
.panel-3 {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%);
  z-index: 9;
  background: #ffff99;
}
.header-logo {
  opacity: 0;
  transform: translateY(100%);
}
