@charset "UTF-8";

/*-------------------------------
  ホーム用のスタイル
-------------------------------*/
.o-home {
  margin-top: 50px;
}

@media (min-width: 40em) {
  .o-home {
    margin-top: 0;
  }
}


/* メインビジュアル */
.o-mvSlider {
  width: 100%;
  overflow: hidden;
  position: relative;
  padding-bottom: 60px;
}

@media (min-width: 40em) {
  .o-mvSlider {
    width: 95%;
    /* position: relative; */
  }

  /* .o-mvSlider::after {
    content: "";
    position: absolute;
    top: 0;
    right: -5%;
    width: 5%;
    height: 100%;
    background: #fff;
  } */
}

.o-mvSlider--img {
  width: 100%;
  height: auto;
  /* aspect-ratio: 390 / 590; */
  aspect-ratio: 750 / 800;
}
.o-mvSlider--img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media (min-width: 40em) {
  .o-mvSlider--img {
    /* aspect-ratio: 1300 / 650; */
    max-height: 650px;
    aspect-ratio: none;
  }
}

.o-mvSlider--themetext {
  position: absolute;
  bottom: 120px;
  right: 20px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.o-mvSlider--textbox {
  padding: 0px 10px 5px;
  color: var(--color-text);
  background: rgba(255, 255, 255, 0.7);
  font-size: 17px;
  text-align: right;
  margin-top: 10px;
  width: fit-content;
  font-weight: bold;
}

@media (min-width: 40em) {
  .o-mvSlider--themetext {
    bottom: 22%;
    right: 2%;
  }

  .o-mvSlider--textbox {
    font-size: 34px;
    padding: 5px 20px 10px;
    line-height: normal;
  }
}

.o-mvSlider--lefttext {
  position: absolute;
  left: 50%;
  bottom: 60px;
  transform: translateX(-50%);
  z-index: 1;
  overflow: hidden;
  width: 330px;
}

@media (min-width: 40em) {
  .o-mvSlider--lefttext {
    left: 10%;
    transform: none;
    bottom: 58px;
    width: 100%;
  }

  .o-mvSlider--lefttext img {
    width: 690px;
  }
}

.o-mvSlider--lefttext span {
  color: transparent;
  -webkit-text-stroke: 2px var(--color-main);
}

/* スクロール表示 */
.o-scroll-arrowbox {
  position: absolute;
  bottom: 20px;
  right: 45px;
  display: none;
}

@media (min-width: 40em) {
  .o-scroll-arrowbox {
    display: block;
  }
}

.o-scroll-arrow {
  position: relative;
  height: 300px;
}

.o-scroll-arrow__text {
  display: inline-block;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  padding: 10px 10px 60px;
  color: var(--color-main);
  font-size: 14px;
  line-height: 1;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  writing-mode: vertical-lr;
  font-weight: bold;
}

.o-scroll-arrow__line {
  position: absolute;
  bottom: 150px;
  left: -7px;
}

.o-scroll-arrow__line::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 20px;
  height: 100px;
  background: url("../img/scroll-arrow.svg") no-repeat center center / contain;
  animation: o-scroll-arrow-line 2.5s cubic-bezier(1, 0, 0, 1) infinite;
}

@keyframes o-scroll-arrow-line {
  0% {
    transform: scale(1, 0);
    transform-origin: 0 0;
  }

  30% {
    transform: scale(1, 1);
    transform-origin: 0 0;
  }

  70% {
    transform: scale(1, 1);
    transform-origin: 0 100%;
  }

  100% {
    transform: scale(1, 0);
    transform-origin: 0 100%;
  }
}

/* アバウト文 */
.o-home-about {
  text-align: center;
  margin-top: 30px;
}

@media (min-width: 40em) {
  .o-home-about {
    margin-top: 40px;
  }
}

.o-home-about__title {
  font-size: 24px;
  font-weight: bold;
}

.o-home-about__text {
  margin-top: 15px;
  text-align: left;
}

@media (min-width: 40em) {
  .o-home-about__text {
    margin-top: 15px;
    text-align: center;
  }
}

/* o-topPickup */
.o-topPickup {
  background: linear-gradient(to right, #f5a500 0%, #f5a500 5%, #f0b000 15%, #e9bf00 30%, #e1cf00 75%, #dadf00 100%);
  padding: 45px 0;
  margin-top: 70px;
}

.o-topPickup .c-container {
  display: flex;
  gap: 30px;
  flex-direction: column;
}

@media (min-width: 40em) {
  .o-topPickup .c-container {
    flex-direction: unset;
  }
}

.o-topPickup__item {
  width: 100%;
  background-color: #ffffff;
  border-radius: 10px;
  position: relative;
  padding: 20px;
  text-decoration: none;
  display: block;
  display: flex;
  gap: 20px;
  align-items: center;
}

@media (min-width: 40em) {
  .o-topPickup__item {
    display: block;
    width: calc((100% - 30px) / 3);
    text-align: center;
  }
}

.o-topPickup__item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 4px;
  background-color: var(--pickup-color);
}

.o-topPickup__icon {
  height: 72px;
  width: 75px;
}

.o-topPickup__title {
  font-size: 18px;
  font-weight: bold;
}

.o-topPickup__text {
  font-size: 13px;
  color: #808080;
}

@media (min-width: 40em) {
.o-topPickup__title {
  margin-top: 15px;
}

.o-topPickup__text {
  margin-top: 8px;
}
}

/* 各校PTA活動報告 */
.o-toppta-report {
  background-color: #f6f2ef;
  padding: 50px 0;
}

@media (min-width: 40em) {
  .o-toppta-report {
    padding: 90px 0 50px;
  }
}

.o-toppta-reportbox > .c-row__col {
  display: flex;
}

.o-topPtaReport-heading {
  writing-mode: vertical-rl;
  position: relative;
  font-size: 17px;
  display: inline-block;
  border-right: 1px solid #c7c7c7;
  border-left: 1px solid #c7c7c7;
  padding: 10px;
  display: flex;
  align-self: stretch;
  margin-left: 0.75rem;
}

@media (min-width: 40em) {
  .o-topPtaReport-heading {
    font-size: 24px;
    padding: 15px;
    margin-left: 0;
  }

  .o-toppta-report .c-row__col--md-1-7 {
    text-align: right;
    display: flex;
  }
}

.o-topPtaReport-heading__ja {
  writing-mode: vertical-rl;
  /* text-orientation: upright; */
  font-weight: bold;
}

.o-topPtaReport-heading__pta {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  display: inline-block;
  font-weight: bold;
}

.o-topPtaReport-heading__en {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%) rotate(90deg);
  writing-mode: horizontal-tb;
  font-size: 10px;
  color: #e47b9c;
  white-space: nowrap;
}

@media (min-width: 40em) {
  .o-topPtaReport-heading__en {
    bottom: 50px;
    right: -10px;
    left: auto;
    transform: rotate(90deg);
    font-size: 15px;
  }
}

.o-topPtaReport-post {
  /* width: 350px; */
}

.o-topPtaReport-post a {
  text-decoration: none;
}

@media (min-width: 40em) {
  .o-toppta-reportbox {
    width: min(calc(50% + 574px - 25px), 100%);
    margin-left: auto;
  }
}

.o-topPtaReport-post__meta {
  gap: 30px;
  margin-top: 20px;
}

.o-topPtaReport-post__published {
  font-size: 14px;
  color: #e95098;
  font-weight: bold;
}

.o-topPtaReport-post__category {
  font-size: 11px;
  background-color: #3d65ac;
  color: #ffffff;
  padding: 0 20px;
  border-radius: 50px;
}

.o-topPtaReport-post__title {
  font-size: 17px;
}

.o-topPtaReport-post__activityDate {
  font-size: 14px;
  color: #787878;
  font-weight: bold;
}

.o-toppta-report .c-btn {
  margin-top: 30px;
}

@media (min-width: 40em) {
  .o-toppta-report .c-btn {
    margin-top: 10px;
  }
}

.o-toppta-report--flexbox {
  display: flex;
  justify-content: end;
  gap: 20px;
}

@media (min-width: 40em) {
  .o-toppta-report--flexbox {
    gap: 50px;
  }
}

/* 活動報告スライダー */
.o-topPtaReport-slider {
  overflow: hidden;
}

.o-topPtaReport-post {
  height: auto;
}

.o-topPtaReport-post__image img {
  width: 100%;
  display: block;
}

.o-topPtaReport-post__image {
  aspect-ratio: 440 / 247;
  overflow: hidden;
}

.o-topPtaReport-post__image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.o-toppta-report .c-row--margin > .c-row__col {
  padding-right: 0;
  padding-left: 1rem;
}

@media (min-width: 40em) {
  .o-toppta-report .c-row--margin > .c-row__col {
    padding-right: 1rem;
    padding-left: 1rem;
  }
}

.o-topPtaReport-post__title {
  font-size: 17px;
  font-weight: bold;
  line-height: 1.5;
  margin: 10px 0;
}

.o-topPtaReport-post__title::before {
  display: none;
}