@charset "utf-8";

/* 事前の設定 */
body {
  font-family: YuMincho, /* Mac用 */ "Yu Mincho", /* Windows用 */ serif;
  position: relative;
}
header {
  background-image: url(img/bg02.jpg);
  height: 150px;
  line-height: 70px;
}
header h1 {
  text-align: center;
}
.header-sita h1 {
  color: #484eff;
}
main {
  background-image: url(img/pink.jpg);
  position: relative;
}
.container {
  max-width: 1200px;
  width: 100%;
  text-align: center;
  margin: 0 auto;
  position: relative;
}
footer {
  background-image: url(img/bg02.jpg);
  height: 150px;
  width: 100vw;
  text-align: center;
  line-height: 150px;
  z-index: 10;
}
p {
  font-size: 15px;
}
h1 {
  font-size: 50px;
}
h2 {
  font-size: 30px;
  font-weight: bold;
}
h3 {
  font-size: 20px;
}
.sp {
  display: none !important;
}
.pc {
  display: block;
}

/* ローディング画面 */
.loading {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
}
.loading.activeLoad {
  opacity: 1;
  visibility: visible;
}
.loading div:nth-of-type(1) {
  animation: up 1s backwards;
  animation-delay: 2s;
  width: 100%;
  height: 50vh;
  position: fixed;
  top: 0;
  left: 0;
  background-color: #333333;
}

.loading div:nth-of-type(3) {
  animation: showLine 0.5s backwards;
  animation-delay: 1.5s;
  width: 100vw;
  height: 5px;
  background-color: #ffffff;
  position: absolute;
  top: 50%;
  left: 0;

  z-index: 1500;
  opacity: 0;
  visibility: hidden;
}
.loading div:nth-of-type(4) {
  animation: down 1s backwards;
  animation-delay: 2s;
  width: 100%;
  height: 50vh;
  position: fixed;
  bottom: 0;
  left: 0;
  background-color: #333333;
}
@keyframes showLine {
  0% {
    opacity: 0;
    transform: translate(-100%, 0);
  }
  100% {
    opacity: 1;
    visibility: visible;
  }
}
@keyframes up {
  100% {
    transform: translate(0, -100%);
  }
}
@keyframes down {
  100% {
    transform: translate(0, 100%);
  }
}
@keyframes logo {
  0% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
.spinner {
  animation: 1.5s logo backwards;
  z-index: 2000;
  opacity: 0;
}

/* 中身の指定 */
.button {
  width: 150px;
  height: 50px;
  font-size: 15px;
  margin: 0 auto;
  color: #ffffff;
  line-height: 45px;
  border: 1px solid #4639fc;
  border-radius: 30px;
  background: linear-gradient(to right, #4639fc, #24289c 70%, #1d577e);
}
.button:hover {
  opacity: 0.7;
}

/* 一枚目の画像 */
section.contents_1 {
  max-height: 800px;
  height: 800px;
  background: url("img/bg01.jpg") no-repeat center / cover;
  position: relative;
}
section.contents_1 .container ul {
  text-align: left;
  position: absolute;
  right: 30px;
  top: 20px;
  -ms-writing-mode: tb-rl;
  writing-mode: vertical-rl;
  height: 120px;
  width: 120px;
}
section.contents_1 .container {
  max-height: 700px;

  display: grid;
  grid-template-columns: 50px 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 50px;
  grid-template-rows: 1fr 1fr 1fr 150px 1fr 1fr 1fr;
}
section.contents_1 .container .button {
  grid-row: 5;
  grid-column: 6;
}
section.contents_1 .container .chach {
  grid-row: 1;
  grid-column: 2 /12;
  margin-top: 50px;
}
section.contents_1 .container .chach h1 {
  color: #ff2727;
  font-size: 70px;
}

/* --------------------------------- */

/* 二枚目の画像 */
section.contents_2 {
  max-height: 2450px;
  height: 2450px;
  background: url("img/bg02.jpg") no-repeat center / cover;
  position: relative;
  top: -70px;
  opacity: 0;
  transition: 1s;
  transform: translate(250px, -25px);
}
section.contents_2.show {
  opacity: 1;
  transform: skew(0deg, -5deg);
}
section.contents_2 .container {
  transform: skew(0deg, 5deg);
  height: 200vw;
  max-height: 2400px;
}
section.contents_2 .container h2 {
  color: #c339fc;
  background-image: url(img/silver.jpg);
  font-size: 70px;
  -ms-writing-mode: tb-rl;
  writing-mode: vertical-rl;
  height: 350px;
  position: absolute;
  right: 15px;
}
section.contents_2 .container .paper {
  max-width: 1000px;
  width: 50%;
  height: 80%;
  max-height: 1920px;
  border: 1px solid rgba(41, 41, 41, 0.4);
  background-color: rgba(41, 41, 41, 0.4);
  border-radius: 20px;
  padding: 30px;
  color: #ffffff;
  line-height: 3vw;
  text-align: left;
  white-space: pre;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
section.contents_2 .container .chach h3 {
  padding-top: 50px;
  font-size: 20px;
  color: #ff2727;
  animation: showText 3s backwards;
}
section.contents_2 .container .button {
  margin-top: 30px;
}
/* 3枚目の画像 */
section.contents_3 {
  max-height: 1500px;
  height: 1500px;
  background: url("img/japanese-paper.jpg") no-repeat center / cover;
  position: relative;
  top: -200px;
  opacity: 0;
  transition: 2s;
  transform: translate(-250px, -25px);
}
section.contents_3.show {
  opacity: 1;
  transform: skew(0deg, 5deg);
}

section.contents_3 .container {
  transform: skew(0deg, -5deg);
  display: flex;
  height: 1300px;
}
section.contents_3 .container img {
  max-width: 600px;
  max-height: 1000px;
  width: 40%;
  display: block;
  margin-top: 20px;
  margin-bottom: 20px;
  margin-left: 30px;
}
section.contents_3 .container .blank {
  width: 10%;
}

section.contents_3 .container .paper {
  max-width: 500px;
  max-height: 1050px;
  width: 40%;
  margin-top: 60px;
  margin-right: 30px;
  border: 1px solid #000000;
}
section.contents_3 .container .paper h2 {
  color: #c339fc;
  margin: 10px 30px;
}
section.contents_3 .container .paper p {
  font-size: 20px;
  max-height: 900px;
  line-height: 3vw;
  text-align: left;
}

/* 4枚目の画像 */
section.contents_4 {
  height: auto;
  background: url("img/bg03.jpg") no-repeat center / cover;
  position: relative;
  top: -340px;
  opacity: 0;
  transition: 2s;
  transform: translate(250px, -25px);
}
section.contents_4.show {
  opacity: 1;
  transform: skew(0deg, -5deg);
}
section.contents_4 .container {
  transform: skew(0deg, 5deg);
  height: fit-content;
  display: grid;
  grid-template-columns: 50px 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 50px;
  grid-template-rows: 80px 80px 80px 1fr 1fr 80px 80px 80px 80px;
}
section.contents_4 .container h2 {
  /* min-width: 550px; */
  font-size: 70px;
  color: #c339fc;
  max-width: 600px;
  background-color: #ffffff;
  border-radius: 30px;
  grid-row: 2 / 3;
  grid-column: 4 / 10;
}
section.contents_4 .container .paper {
  background-color: #ffffff;
  text-align: left;
  padding: 30px;
  white-space: pre;
  margin-right: -30px;
  margin-left: -30px;
  grid-row: 4 / 6;
  grid-column: 2 / 10;
}
section.contents_4 .container a {
  font-size: 50px;
  display: block;
  color: #ffffff;
  line-height: 80px;
  border: 1px solid #4639fc;
  border-radius: 30px;
  background: linear-gradient(to right, #4639fc, #24289c 70%, #1d577e);
  grid-row: 7 / 8;
  grid-column: 4 / 8;
}
section.contents_4 .container a:hover {
  opacity: 0.7;
}

/* 5枚目の画像 */
section.contents_5 {
  height: auto;
  width: 100vw;
  background: url("img/gold.jpg") no-repeat center / cover;
  position: relative;
  top: -480px;
  z-index: 5;
  opacity: 0;
  transition: 2s;
  transform: translate(-250px, -25px);
}
section.contents_5.show {
  opacity: 1;
  transform: skew(0deg, 5deg);
}
section.contents_5 .container {
  height: fit-content;
  transform: skew(0deg, -5deg);
  display: grid;
  grid-template-columns: 50px 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 50px;
  grid-template-rows: 80px 80px 80px 1fr 1fr 80px 80px 80px 100px;
}
section.contents_5 .container h2 {
  font-size: 70px;
  color: #c339fc;
  grid-column: 2 / 5;
  grid-row: 2;
}
section.contents_5 .container .paper {
  grid-column: 2/ 10;
  grid-row: 4/ 7;
  font-size: 20px;
  line-height: 40px;
  text-align: left;
  white-space: pre;
  margin-right: -30px;
  margin-left: -30px;
}
section.contents_5 .container a {
  font-size: 50px;
  display: block;
  color: #ffffff;
  line-height: 80px;
  border: 1px solid #4639fc;
  border-radius: 30px;
  background: linear-gradient(to right, #4639fc, #24289c 70%, #1d577e);
  grid-row: 8 / 9;
  grid-column: 4 / 8;
}
section.contents_5 .container a:hover {
  opacity: 0.7;
}

/* 6枚目の画像 */
section.contents_6 {
  width: 100vw;
  background: url("img/pink.jpg") no-repeat center;
  position: relative;
  top: -570px;
  z-index: 5;
  opacity: 0;
  transition: 2s;
  transform: translate(250px, -25px);
}
section.contents_6.show {
  opacity: 1;
  transform: skew(0deg, -2deg);
}
section.contents_6 .container {
  transform: skew(0deg, 2deg);
  display: grid;
  grid-template-columns: 50px 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 50px;
  grid-template-rows: 80px 80px 80px 1fr 1fr 80px 80px 80px;
}
section.contents_6 .container h2 {
  font-size: 70px;
  color: #c339fc;
  grid-column: 2 / 9;
  grid-row: 2;
  text-align: left;
}
section.contents_6 .container .paper {
  grid-column: 2/ 10;
  grid-row: 4/ 7;
  font-size: 20px;
  line-height: 40px;
  text-align: left;
  white-space: pre-wrap;
}
section.contents_6 .container a {
  font-size: 50px;
  display: block;
  color: #ffffff;
  line-height: 80px;
  border: 1px solid #4639fc;
  border-radius: 30px;
  background: linear-gradient(to right, #4639fc, #24289c 70%, #1d577e);
  grid-row: 6 / 7;
  grid-column: 4 / 8;
}
section.contents_6 .container a:hover {
  opacity: 0.7;
}

/* タブレット用 */
@media (max-width: 770px) {
  header h1 {
    font-size: 40px;
  }
  /* メニューボタン */
  .menubutton {
    display: block;
    height: 60px;
    width: 60px;
    position: fixed;
    top: 0;
    right: 0;
    z-index: 100;
  }
  .menubutton div {
    height: 1px;
    width: 60%;
    background-color: #333;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: 0.3s;
  }
  .menubutton div:nth-of-type(1) {
    transform: translate(-50%, -15px);
  }
  .menubutton div:nth-of-type(3) {
    transform: translate(-50%, 15px);
  }
  .menubutton.active div:nth-of-type(1) {
    transform: rotate(45deg) translate(-50%, 0px);
    transform-origin: 0% 50%;
    background-color: #ffffff;
  }
  .menubutton.active div:nth-of-type(2) {
    opacity: 0;
    transform: translate(0%, -50%);
  }
  .menubutton.active div:nth-of-type(3) {
    transform: rotate(-45deg) translate(-50%, 0px);
    transform-origin: 0% 50%;
    background-color: #ffffff;
  }

  section.contents_1 .container ul {
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
    position: fixed;
    top: 0px;
    right: 0px;
    background-color: rgba(195, 57, 252, 0.7);
    border-radius: 10px;
    z-index: 10;
    margin-top: 50px;
  }
  section.contents_1 .container ul.active {
    opacity: 1;
    visibility: visible;
  }
  .mask {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #333333;
    opacity: 0;
    visibility: hidden;
    z-index: 6;
    transition: 0.3s;
  }
  .mask.active {
    opacity: 0.6;
    visibility: visible;
  }

  /* 1枚目 */
  section.contents_1 {
    max-height: 300px;
  }
  section.contents_1 .container {
    grid-template-rows: 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
    height: 300px;
  }
  section.contents_1 .container ul {
    right: 5px;
    top: 0;
  }
  section.contents_1 .container .button {
    height: 30px;
    width: 100px;
    font-size: 10px;
    line-height: 30px;
    grid-row: 5;
  }
  section.contents_1 .container .chach {
    grid-row: 1;
    grid-column: 1 /13;
    margin: 0 auto;
    margin-top: 30px;
  }
  section.contents_1 .container .chach h1 {
    font-size: 30px;
  }
  section.contents_1 .container .chach h3 {
    text-align: center;
    font-size: 15px;
  }

  /* 2枚目 */
  section.contents_2 {
    top: -30px;
    height: 1450px;
  }
  section.contents_2 .container {
    height: 1400px;
  }
  section.contents_2 .container h2 {
    font-size: 30px;
    height: 150px;
  }
  section.contents_2 .container .paper {
    font-size: 15px;
    line-height: 20px;
    height: 1100px;
    padding: 10px 10px;
  }

  /* 3枚目 */
  section.contents_3 {
    top: -70px;
  }
  section.contents_3 .container {
    height: 1100px;
    display: flex;
  }
  section.contents_3 .container img {
    height: 70%;
  }
  section.contents_3 .container .paper {
    height: 65%;
  }
  section.contents_3 .container .paper h2 {
    font-size: 20px;
  }
  section.contents_3 .container .paper p {
    font-size: 10px;
    line-height: 15px;
  }

  /* 4枚目 */
  section.contents_4 .container {
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
    grid-template-rows: 30px 30px 30px 1fr 1fr 30px 40px 30px 30px;
  }
  section.contents_4 .container h2 {
    font-size: 30px;
    min-width: 220px;
    max-width: 350px;
  }
  section.contents_4 .container a {
    font-size: 30px;
    line-height: normal;
    min-width: 200px;
    max-width: 350px;
    margin: 0 auto;
    grid-column: 2/ 10;
  }

  /* 5枚目 */
  section.contents_5 {
    top: -390px;
    height: fit-content;
  }
  section.contents_5 .container {
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
    grid-template-rows: 30px 30px 30px 1fr 1fr 30px 40px 40px 30px 40px;
  }
  section.contents_5 .container h2 {
    font-size: 30px;
  }
  section.contents_5 .container .paper p {
    font-size: 15px;
    line-height: 20px;
  }
  section.contents_5 .container a {
    font-size: 30px;
    line-height: normal;
    min-width: 200px;
    max-width: 350px;
    margin: 0 auto;
    grid-column: 2/ 10;
  }
  /* 6枚目 */
  section.contents_6 {
    top: -440px;
  }
  section.contents_6 .container h2 {
    font-size: 30px;
  }
  section.contents_6 .container .paper p {
    font-size: 15px;
  }
  section.contents_6 .container a {
    font-size: 30px;
    min-width: 200px;
    max-width: 350px;
    margin: 0 auto;
    grid-column: 2/ 10;
  }
  footer {
    height: 100px;
    line-height: 100px;
  }
}
/* スマホ用 */
@media (max-width: 425px) {
  header h1 {
    font-size: 30px;
  }
  header {
    height: 120px;
  }
  .header-sita {
    width: 100%;
    height: 50px;
    /* background-image: url(img/bg02.jpg); */
  }
  .header-sita h1 {
    color: #ff2727;
    font-size: 30px;
    text-align: center;
    margin-top: -20px;
  }
  /* section.contents_1 .container {
    z-index: 100;
    position: relative;
  }
  section.contents_1 .container .button {
    margin-top: 30px;
  }
  section.contents_1 .container .chach {
    margin-top: 0;
  } */
  section.contents_1 .container .chach h1 {
    margin-top: -40px;
  }
  section.contents_2 .container .chach h3 {
    font-size: 15px;
    color: #ff2727;
    margin-left: 20px;
    padding-top: 30px;
  }
  section.contents_2 .container .button {
    margin-top: 30px;
  }
  section.contents_2 {
    height: 1600px;
  }
  section.contents_2 .container h2 {
    margin-top: 30px;
  }
  section.contents_2 .container .paper {
    line-height: normal;
    width: 75%;
    height: 1300px;
    transform: translate(-55%, -50%);
    margin-top: 150px;
  }
  section.contents_3 {
    height: 2600px;
    max-height: 2650px;
  }
  section.contents_3 .container {
    display: block;
    height: 2450px;
    max-height: 2450px;
  }
  section.contents_3 .container img {
    width: 80vw;
    height: auto;
    margin: 0 auto;
    display: block;
    position: relative;
    top: 10px;
  }
  section.contents_3 .container .blank {
    width: 10px;
  }
  section.contents_3 .container .paper {
    width: auto;
    height: 2000px;
    max-height: 2250px;
    margin-right: 5px;
    margin-left: 5px;
  }
  section.contents_3 .container .paper p {
    white-space: pre;
    font-size: 15px;
  }
  /* 4は保留 */
  section.contents_4 {
    top: -90px;
    max-height: 3000px;
    height: 1350px;
  }
  section.contents_4 .container {
    height: 1200px;
  }
  section.contents_4 .container .paper {
    font-size: 15px;
    padding: 10px;
    white-space: pre;
    margin-right: -10px;
    margin-left: -10px;
  }
  /* 5枚目 */
  section.contents_5 {
    max-height: fit-content;
    height: 3200px;
    top: -230px;
    background: url("img/gold.jpg") repeat center;
  }
  section.contents_5 .container .paper {
    font-size: 15px;
    white-space: pre;
    line-height: normal;
  }
  section.contents_5 .container .paper b {
    font-size: 20px;
  }
  section.contents_6 {
    top: -260px;
  }
  section.contents_6 .container {
    grid-template-columns: 10px 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 10px;
  }
  .sp {
    display: block !important;
  }
  .pc {
    display: none !important;
  }
}

/* ワイドディスプレイ用 */
@media (min-width: 1200px) {
  main {
    height: fit-content;
  }
  section.contents_2 .container .paper {
    line-height: 2.5;
  }
  section.contents_3 .container .paper p {
    line-height: 1.7;
  }
  section.contents_4 .container .paper {
    font-size: 40px;
    line-height: 65px;
  }
}

/* アニメーション */
@keyframes showText {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@keyframes showTextChach {
  0% {
    opacity: 0;
    transform: translate(0, 30px);
  }
  100% {
    opacity: 1;
  }
}

header .textAnimation span {
  animation: showText 3s backwards;
}
section.contents_1 .container .chach h1 span {
  animation: showTextChach 2s backwards;
  display: inline-block;
}
/* .scroll{
    opacity: 0;
   
    
    
}
.show{
    opacity: 1;
    transform: skew(0deg, -5deg);
    
} */
