@charset "UTF-8";

body {
  background-color: #fff;
}

/* /////////////////////////////// */

header {
  background: none;
}

.open__btn {
  mix-blend-mode: difference !important;
}
/* .open__btn img {
  filter: invert(100%) sepia(18%) saturate(0%) hue-rotate(98deg)
    brightness(104%) contrast(101%);
} */

@media screen and (width>=550px) {
  header {
    height: 17vh;
  }

  .open__btn {
    width: 10vw;
    height: 75%;
    max-width: 60px;
    margin-right: 4%;
    /* border: 1px solid ; */
  }

  .close__btn {
    width: 10vw;
    height: unset;
    max-width: 63px;
    top: 6vh;
    right: 4%;
  }
}

@media screen and (width>=950px) {
  header {
    max-width: none;
  }

  h1 {
    max-width: 180px;
    margin-left: 3%;
  }

  .open__btn {
    max-width: 70px;
    margin-right: 3%;
  }

  .close__btn {
    max-width: 73px;
    right: 3%;
  }
}

/* /////////////////////////////// */

.history__top {
  width: 100%;
  height: calc(100svh - 100vw * 0.28);
  margin-top: calc(100vw * 0.28);
  background-size: cover;
  background-position: 20% 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
  transition: background-image 1s ease-in-out;
  /* animation: slide 4s 0 ease-in-out infinite;
    animation-direction: alternate; */
}

.history__top h2 {
  padding-top: 20vh;
  width: fit-content;
  height: fit-content;
  display: flex;
  flex-direction: row-reverse;
  justify-content: center;
  align-items: flex-start;
  gap: 0.2em;
}

.history__top h2 span {
  width: fit-content;
  height: fit-content;
  background: #ffffffad;
  color: #383838;
  border: 2px solid #383838;
  font-size: 1.43rem;
  letter-spacing: 6px;
  writing-mode: vertical-rl;
  text-orientation: upright;
  backdrop-filter: blur(3px);
  padding-top: 0;
  padding: 0.5em 0.2em;
  margin-bottom: 2em;
}

@media screen and (width>=550px) {
  .history__top {
    height: 83vh;
    margin-top: 17vh;
    justify-content: flex-end;
    align-items: flex-start;
  }

  .history__top h2 {
    font-size: 1.8rem;
    padding-top: 0;
    margin-top: 1.5em;
    margin-right: 7vw;
  }

  .history__top h2 span {
    letter-spacing: 0px;
  }
}

@media screen and (width>=900px) {
  .history__top h2 span {
    font-size: 2rem;
    letter-spacing: -7px;
  }
}

/* //////////////////////////////////// */

.whois {
  width: 75%;
  padding: 25vh 0 25vh;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.whois h3 {
  width: fit-content;
  font-size: 1.4rem;
  font-weight: 900;
}

.whois__img {
  width: 25%;
}

.whois__text {
  line-height: 2.1;
  text-align: justify;
  text-justify: inter-ideograph;
  letter-spacing: 1px;
}

@media screen and (width>=550px) {
  .whois {
    max-width: 500px;
  }

  .whois h3 {
    font-size: 1.8rem;
  }

  .whois__img {
    width: 32%;
  }
}

@media screen and (width>=950px) {
  .whois {
    width: 60%;
    max-width: 550px;
    padding-bottom: 35vh;
  }

  .whois h3 {
    font-size: 2rem;
  }
}

/* ////////////////////////////////////// */

.noren {
  width: 100%;
  height: calc(100vw * 0.7);
  background: url(../img/header/noren_sp.webp) no-repeat;
  background-size: 230vw;
  background-position: 27% 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.noren p {
  width: fit-content;
  font-size: 1.5rem;
  font-weight: 900;
  color: #fff;
}

@media screen and (width>=550px) {
  .noren {
    height: 80vh;
    background-size: 1800px;
    background-position: calc(61% - 100vw * 0.1) 50%;
    /* border: 1px solid; */
  }

  .noren p {
    font-size: 2.2rem;
  }

  .pc_none_br {
    display: none;
  }

  .sp_none_br {
    display: block;
  }
}

@media screen and (width>=950px) {
  .noren {
    height: 90vh;
    background-size: 2200px;
    /* border: 1px solid; */
  }

  .noren p {
    font-size: 3.5rem;
    letter-spacing: 5px;
  }
}

/* ///////////////////////////////// */

.history {
  width: 100%;
  padding: 30vh 0 20vh;
  margin: 0 auto;
}

.histroy__arrenge {
  padding-top: 20vh;
}

.history__wrap {
  width: 80%;
  margin: 0 auto;
  opacity: 0;
  transform: translateY(50px);
  -webkit-transform: translateY(50px);
}

.history__wrap h3,
.history__wrap p {
  text-align: justify;
  text-justify: inter-ideograph;
}

.history__wrap h3 {
  font-size: 1.4rem;
  font-weight: 900;
  margin-bottom: 1.5em;
}

.history__wrap p {
  line-height: 2;
  letter-spacing: 1.5px;
}

.history:last-of-type {
  padding: 25vh 0;
  position: relative;
  clip-path: inset(0);
}

.history:last-of-type .history__wrap h3,
.history:last-of-type .history__wrap p {
  color: #fff;
}

.history__fixed-bg {
  width: 100%;
  /* height: 85vh; */
  height: 100%;
  position: fixed;
  left: 0;
  /* top: 15vh; */
  top: 0;
  z-index: -1;
  filter: blur(3px);
}

.history__fixed-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 27% 50%;
}

@media screen and (width>=550px) {
  .history__wrap {
    width: 90%;
    max-width: 600px;
  }

  .history__wrap h3 {
    font-size: 1.8rem;
  }
}

@media screen and (width>=950px) {
  .history {
    height: fit-content;
    display: flex;
    justify-content: flex-start;
  }

  .history__wrap {
    height: fit-content;
    width: 630px;
    max-width: unset;
    margin: 0 10% 0;
  }

  .history__wrap h3 {
    font-size: 2rem;
  }

  .history:nth-of-type(3) {
    justify-content: flex-end;
  }

  .history.history:last-of-type {
    justify-content: center;
    padding-bottom: 35vh;
  }

  .history.history:last-of-type .history__wrap {
    width: 70%;
    max-width: 800px;
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-around;
    align-items: flex-end;
  }

  .history.history:last-of-type .history__wrap h3 {
    width: fit-content;
    height: fit-content;
    writing-mode: vertical-rl;
    text-orientation: upright;
    -webkit-writing-mode: vertical-rl;
    -webkit-text-orientation: upright;
    letter-spacing: -6px;
    margin-bottom: 0;
  }
  .history.history:last-of-type .history__wrap p {
    width: 70%;
    margin-bottom: 1em;
  }
}

/* //////////////////////////////////// */

.history__img1 {
  width: 100%;
  display: flex;
  justify-content: flex-end;
}

.history__img-item {
  width: 75%;
}

.history__img-item img {
  width: 100%;
}

.history__img2 {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding-bottom: 30vh;
}

.history__img2 .history__img-item:nth-of-type(2) {
  width: 45%;
  align-self: flex-end;
  margin-right: 2rem;
}

@media screen and (width>=550px) {
  .history__img-item {
    width: 65%;
    max-width: 510px;
  }

  .history__img2 {
    padding-bottom: 20vh;
  }

  .history__img2 .history__img-item:nth-of-type(2) {
    max-width: 380px;
  }
}

@media screen and (width>=820px) {
  .history__img2 .history__img-item:nth-of-type(2) {
    align-self: flex-start;
    position: relative;
    z-index: -1;
    left: 450px;
    bottom: 25vh;
  }
}

@media screen and (width>=950px) {
  .history__img-item {
    width: 55%;
    max-width: 700px;
  }

  .history__img2 .history__img-item:nth-of-type(2) {
    width: calc(11.5% + 100vw * 0.2);
    max-width: 450px;
    left: 650px;
  }
}

/* ///////////////////////////////// */

.message {
  width: 100%;
  padding: 20vh 0;
}

.message p {
  width: fit-content;
  margin: 0 auto;
  font-weight: 900;
  line-height: 2.2;
}

@media screen and (width>=550px) {
  .message {
    padding: 30vh 0;
  }
}

@media screen and (width>=950px) {
  .message {
    padding: 35vh 0;
  }
}
