@charset "utf-8";
body {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  color: #111;
  line-height: initial; /* hacking Bootstrap 5 */
  font-family: "Noto Serif JP", serif;
  font-weight: 400;
  background: url(../img/wood2.webp);
}
*,
:after,
:before,
dl,
dt,
li,
span,
ul,
h1,
h2 {
  margin: 0;
  padding: 0;
}
h1,
h2,
h3 {
  font-family: "Noto Serif JP", serif;
  font-weight: 900;
}
h2 {
  font-size: 3rem;
}
p,
li {
  font-size: 18px;
}
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;
  width: 100%;
  height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
}
.header-img {
  background: url(../img/wood.webp);
  background-size: cover;
}
.header-img img {
  object-fit: cover;
  height: 100%;
  width: 100%;
  padding: 10%;
}
.heading {
  display: grid;
  place-content: center;
  position: relative;
  text-align: center;
}
.panel-left,
.panel-right {
  position: absolute;
  top: 0;
  width: 50%;
  height: 100%;
  background: url(../img/washi.jpg);
  clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%);
}
.panel-left {
  left: 0;
}
.panel-right {
  left: 50%;
}
.minpack-logo {
  width: 75%;
  height: auto;
}
.koko-logo {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 100px;
  height: 31px;
}
.heading p {
  font-size: 21px;
  margin-top: 1em;
  margin-bottom: 0;
}
.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 {
  font-family: Meiryo, "Noto Sans JP", sans-serif;
  font-size: var(--bs-body-font-size);
  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;
  }
} */

nav a {
  font-family: Meiryo, "Noto Sans JP", sans-serif;
  font-size: var(--bs-body-font-size);
}
@media screen and (max-width: 767px) {
  header {
    grid-template-columns: 1fr;
  }
  .koko-logo {
    position: fixed;
    width: 60px;
    height: auto;
    top: auto;
    bottom: 10px;
  }
  .panel-left,
  .panel-right {
    display: none;
  }
}

/**************************************************
*
* Section
*
***************************************************/
section {
  padding-top: 100px;
  margin-bottom: 0;
}
section .container {
  background: url(../img/washi.jpg);
  padding: 4em 3em;
}
section h2 {
  position: relative;
  text-align: center;
}
section h2:before {
  position: absolute;
  bottom: -4rem;
  left: calc(50% - 30px);
  width: 60px;
  height: 3px;
  content: "";
  border-radius: 5px;
  background: #cf1e02;
}
section h2 {
  margin-bottom: 3em;
}
section h3 {
  margin-bottom: 1em;
}
section h3 {
  margin-top: 3em;
}
h2.name span {
  font-size: 1.25em;
  color: #bc002d;
}
.example {
  margin-bottom: 3em;
}
@media screen and (min-width: 768px) {
  section .container {
    box-shadow: 0px 5px 15px 0px rgba(90, 85, 85, 0.447);
  }
}
@media screen and (max-width: 767px) {
  section {
    padding-top: 0;
  }
  section h2 {
    font-size: 2em;
  }
}
/**************************************************
*
* 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
*
***************************************************/
@media screen and (min-width: 768px) {
  .header-img img {
    transform: translateX(-100%);
  }
  .minpack-logo,
  .heading-inner p,
  .koko-logo {
    transform: translateX(130%);
  }
}
