:root {
  --shadow:3px 3px 10px rgba(87, 41, 11, 0.2);
  --trX:2%;
  --trY:3%;
}

html {
  font-size: clamp(10px, 1vw, 10px);
  background: url(../images/churina_bg.png) repeat center center/50%;
}

:where(p) {
  line-height: 1.7;
  letter-spacing: 0.075em;
}

:where(img) {
  max-width: 100%;
}

main {
  font-family: "Noto Serif JP", serif;
  font-optical-sizing: auto;
}
main:before, main:after {
  content: "";
  width: clamp(150px, 25vw, 300px);
  height: 112px;
  aspect-ratio: 75/56;
  display: block;
  pointer-events: none;
  position: fixed;
}
main:before, main:after {
  z-index: 99;
}
main:before {
  background: url(../images/churina_deco02.png) no-repeat top right/contain;
  right: 0;
  top: 0;
}
main:after {
  background: url(../images/churina_deco01.png) no-repeat left bottom/contain;
  left: 0;
  bottom: 0;
}

@media screen and (max-width: 767px) {
  .pcOnly {
    display: none;
  }
}

@media screen and (min-width: 768px) {
  .spOnly {
    display: none;
  }
}

.mt_sm {
  margin-top: 1em;
}

.text__color--green {
  color: #15492c;
}

.text__align--center {
  text-align: center;
}

.wrapper {
  max-width: 1018px;
  margin-right: auto;
  margin-left: auto;
  width: 90%;
}

.en {
  font-family: "Uncial Antiqua", system-ui;
  font-weight: 400;
  font-style: normal;
}

.kv__container {
  max-width: 1100px;
  margin-right: auto;
  margin-left: auto;
  width: 80%;
}
@media screen and (max-width: 767px) {
  .kv__container {
    width: 100%;
  }
}

.section__margin {
  margin-top: 6rem;
}
@media screen and (max-width: 767px) {
  .section__margin {
    margin-top: 4rem;
  }
}

.section__title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.2em;
  font-size: 6rem;
}
@media screen and (max-width: 767px) {
  .section__title {
    flex-direction: column;
    gap: 0;
    font-size: 5rem;
  }
}
.section__title .en {
  line-height: 1;
}
.section__title .jp {
  font-size: 25%;
}

.story__container {
  max-width: 640px;
  margin-right: auto;
  margin-left: auto;
  background: #efebe8;
  padding: 1.5em 3em 3em;
  box-shadow: var(--shadow);
  rotate: -3deg;
}

.category__container {
  max-width: 445px;
  margin-right: auto;
  margin-left: auto;
  background: #efebe8;
  box-shadow: var(--shadow);
  padding: 1em;
  text-align: center;
  rotate: 3deg;
  translate: 20% 0;
}
@media screen and (max-width: 767px) {
  .category__container {
    translate: 0;
  }
}

.category__title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.3em;
  font-size: 2rem;
}
.category__title .jp {
  font-size: 0.7em;
}

.container__text {
  font-size: 1.8rem;
}

.character__container {
  max-width: 1000px;
  margin: 2rem auto 0;
  background: #efebe8;
  padding: 2em 6em 0;
  box-shadow: var(--shadow);
  display: flex;
  grid-template-columns: max-content 1fr;
  justify-content: center;
  align-items: flex-end;
  gap: 2rem;
  position: relative;
  translate: -3% 0;
  width: 95%;
}
@media screen and (max-width: 767px) {
  .character__container {
    flex-direction: column;
    width: 100%;
    translate: 0;
    padding: 2em 2em 0;
  }
}
.character__container:before, .character__container:after {
  content: "";
  width: clamp(150px, 18vw, 200px);
  height: 112px;
  aspect-ratio: 75/56;
  display: block;
  pointer-events: none;
  position: absolute;
}
.character__container:before {
  content: attr(data-name);
  position: absolute;
  right: 0;
  top: 0;
  color: #d4ddd8;
  font-size: 9.2rem;
  max-width: 100%;
  text-align: right;
  line-height: 1;
  font-family: "Uncial Antiqua", system-ui;
  z-index: 0;
}
@media screen and (max-width: 767px) {
  .character__container:before {
    font-size: 6rem;
  }
}
.character__container:after {
  background: url(../images/churina_deco01.png) no-repeat left bottom/contain;
  left: 0;
  bottom: 0;
}
.character__container:nth-of-type(even) {
  flex-direction: row-reverse;
  translate: 3% 0;
}
@media screen and (max-width: 767px) {
  .character__container:nth-of-type(even) {
    flex-direction: column;
    translate: 0;
  }
}
.character__container:nth-of-type(even):before {
  text-align: left;
}
.character__container:nth-of-type(even) .character__comment {
  right: 0;
  top: 0;
}

.character__image,
.character__name,
.character__year,
.character__text {
  position: relative;
  z-index: 1;
}

.character__image {
  position: relative;
  max-width: var(--img_width);
  line-height: 0;
  z-index: 1;
}
@media screen and (max-width: 767px) {
  .character__image {
    max-width: 250px;
    width: auto;
    margin: 0 auto;
  }
}
@media screen and (max-width: 767px) {
  .character__image.iris__modify {
    max-width: 200px;
  }
}

.character__name {
  font-size: 2rem;
  display: flex;
  align-items: flex-end;
  gap: 0.2em;
}
.character__name:before {
  content: "Name:";
  font-size: 0.6em;
  color: #85b989;
}

.character__year {
  font-size: 1.4rem;
  display: block;
  margin-top: 0.4rem;
  display: flex;
  align-items: flex-end;
  gap: 0.2em;
}

.character__text {
  font-size: 1.5rem;
  margin-bottom: 3em;
  margin-top: 0.4rem;
}

.character__comment {
  position: absolute;
  left: 0;
  top: 0;
  color: #88bd9f;
  font-size: 2rem;
  z-index: 5;
  writing-mode: vertical-rl;
  text-indent: -4em;
  margin-top: 4em;
  font-size: 2.1rem;
  line-height: 1.4;
}
@media screen and (max-width: 767px) {
  .character__comment {
    font-size: 1.7rem;
  }
}

.links__area {
  background: #e5e1dc;
  padding: 1em 5%;
}

.links__container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
.links__container .links__container__child {
  display: block;
  min-width: 240px;
  max-width: 240px;
  transition: 0.2s ease opacity;
}
@media (hover: hover) {
  .links__container .links__container__child:hover {
    opacity: 0.7;
  }
}

.footer__copyright {
  font-size: 1.3rem;
  padding: 1em 1em 5em;
}

.sns__block--fixed {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 101;
  display: flex;
  justify-content: center;
  gap: 0.4em;
  padding-bottom: 1rem;
}

.sns__x {
  background: #000;
  padding: 1.2em;
  border-radius: 8px;
  width: 44px;
  height: 44px;
}

.sns__hp {
  background: #000;
  padding: 1.2em;
  border-radius: 8px;
  width: 44px;
  height: 44px;
}

.trigger {
  opacity: 0;
}
.trigger.from__left {
  transform: translateX(-3%) translateY(3%);
}
.trigger.from__right {
  transform: translateX(3%) translateY(3%);
}

.trigger-on.from__left {
  animation: slideInFromLeft 1s ease 0.5s forwards;
}
.trigger-on.from__right {
  animation: slideInFromRight 1s ease 0.5s forwards;
}

@keyframes slideInFromLeft {
  0% {
    opacity: 0;
    transform: translateX(-3%) translateY(3%);
  }
  100% {
    opacity: 1;
    transform: translateX(0) translateY(0);
  }
}
@keyframes slideInFromRight {
  0% {
    opacity: 0;
    transform: translateX(3%) translateY(3%);
  }
  100% {
    opacity: 1;
    transform: translateX(0) translateY(0);
  }
}/*# sourceMappingURL=churina.css.map */