@charset "UTF-8";
/* topページのスタイル
----------------------------------------------------------------- */
@layer pages {
  .topMv {
    position: relative;
    overflow: hidden;
  }
  .topMv::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--blue);
  }
  .topMv__movieBox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    aspect-ratio: 1276/718;
    overflow: hidden;
    z-index: 1;
  }
  .topMv__movie {
    object-fit: cover;
    object-position: center top;
    width: 100%;
    height: 100%;
  }
  .topMv__inner {
    position: relative;
    z-index: 2;
    background-image: url(../../img/top_mv_bg.png);
    background-size: cover;
    background-position: center clamp(0px, 14.140625vw, 181px);
    background-repeat: no-repeat;
    padding-top: calc(134 / var(--windowHeight) * 100vh);
    padding-bottom: 85px;
  }
  @media (max-width: 768px) {
    .topMv__inner {
      display: flex;
      flex-direction: column;
      padding-top: 44.5333333333vw;
      padding-bottom: 16vw;
    }
  }
  .topMv__inner::after {
    content: "";
    display: block;
    position: absolute;
    bottom: -32px;
    left: 50%;
    transform: translateX(-50%);
    width: 109%;
    height: 412.4px;
    background: url(../../img/top_mv_building.png) center/cover no-repeat;
    z-index: -1;
  }
  @media (max-width: 768px) {
    .topMv__inner::after {
      background: url(../../img/top_mv_building_sp.png) center/cover no-repeat;
      height: auto;
      width: 110%;
      aspect-ratio: 416/128;
    }
  }
  .topMv__titleBox {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 704.1px;
    width: 100%;
    margin: 0 auto;
  }
  @media (max-width: 768px) {
    .topMv__titleBox {
      order: 99;
      margin-top: -46.6666666667vw;
    }
  }
  .topMv__titleImg {
    width: 100%;
    aspect-ratio: 1409/657;
  }
  .topMv__contents {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 16.6px;
    margin-top: -36px;
  }
  @media (max-width: 768px) {
    .topMv__contents {
      margin-top: -24px;
    }
  }
  .topMv__dateBox {
    max-width: 470px;
    width: 100%;
    margin: 0 auto;
    background: url("../../img/top_mv_date_bg.png") center/cover no-repeat;
    padding-inline: 38px;
  }
  @media (max-width: 768px) {
    .topMv__dateBox {
      display: flex;
      justify-content: center;
      padding-inline: 0;
      width: 72.8%;
      padding-bottom: 2px;
    }
  }
  .topMv__date {
    font-family: var(--en);
    font-weight: bold;
    font-size: 40px;
    line-height: 1.325;
    letter-spacing: -0.01em;
    color: #fff;
  }
  @media (max-width: 768px) {
    .topMv__date {
      font-size: 6.6666666667vw;
    }
  }
  .topMv__mouth {
    display: inline-block;
    font-size: 0.75em;
    line-height: 1.33;
    letter-spacing: 0.1em;
    margin-right: 30px;
    margin-top: -38px;
    transform: translateY(-2px);
  }
  @media (max-width: 768px) {
    .topMv__mouth {
      font-size: 0.8em;
      margin-right: 10px;
    }
  }
  @media (max-width: 768px) {
    .topMv__btnBox {
      display: flex;
      justify-content: center;
      align-items: center;
      gap: 28.7px;
    }
  }
  .topMv__ytIcon {
    display: block;
    max-width: clamp(137.8px, 25.6770833333vw, 197.2px);
    width: 100%;
    margin: 0 auto;
  }
  @media (max-width: 768px) {
    .topMv__ytIcon {
      margin: 0;
    }
  }
  @media (min-width: 767px) {
    .topMv__ytIcon:hover {
      transform: translateY(-3px);
    }
  }
  .topMv__drawerBtn {
    max-width: 129px;
    width: 100%;
    border: 2px solid var(--blue);
    background: var(--yellow);
    font-family: var(--en);
    font-size: 25px;
    line-height: 1;
    font-weight: bold;
    color: var(--blue);
    text-align: center;
  }
  @media (max-width: 768px) {
    .topMv__drawerBtn {
      padding-block: 4px 2px;
    }
  }
  .topMv__memberBox {
    position: relative;
    max-width: 1280px;
    width: 100%;
    margin: 0 auto;
    min-height: 663px;
  }
  @media (max-width: 768px) {
    .topMv__memberBox {
      order: 1;
      min-height: auto;
      aspect-ratio: 375/311;
      margin-top: 0;
    }
  }
  .topMv__item {
    position: absolute;
    transform: translateX(-50%);
  }
  .topMv__item.makkori {
    width: 379px;
    aspect-ratio: 783/746;
    top: 68px;
    left: 24.9%;
    z-index: 1;
  }
  @media (max-width: 1024px) {
    .topMv__item.makkori {
      width: 40%;
      top: -5%;
      left: 26%;
      z-index: 0;
    }
  }
  .topMv__item.kobori {
    width: 481px;
    aspect-ratio: 482/686;
    top: -10px;
    left: 52.1%;
  }
  @media (max-width: 1024px) {
    .topMv__item.kobori {
      width: 59.9%;
      top: -1%;
      left: 54.5%;
      z-index: 1;
    }
  }
  .topMv__item.tiaki {
    width: 486.1px;
    aspect-ratio: 486.1/405;
    top: 41px;
    left: 75.5%;
  }
  @media (max-width: 1024px) {
    .topMv__item.tiaki {
      top: 6%;
      left: 84%;
      width: 53%;
    }
  }
  .topWrap {
    display: flex;
    flex-direction: column;
    position: relative;
    margin-top: -412px;
    z-index: 2;
  }
  @media (max-width: 960px) {
    .topWrap {
      margin-top: 0px;
    }
  }
  .topNews {
    display: flex;
    flex-direction: column;
    width: 100%;
    background: linear-gradient(to top, var(--white) 0%, var(--white) 25%, transparent 25%, transparent 100%);
    position: relative;
    z-index: 2;
  }
  @media (max-width: 960px) {
    .topNews {
      position: relative;
      top: 0;
      background: #fff;
      margin-top: -154px;
    }
  }
  @media (max-width: 768px) {
    .topNews {
      margin-top: clamp(-90px, -2.6041666667vw, -20px);
    }
  }
  @media (max-width: 768px) {
    .topNews::after {
      content: "";
      display: inline-block;
      width: 100%;
      height: 100px;
      background: linear-gradient(to bottom, rgb(243, 244, 247) 0%, transparent 100%);
      position: absolute;
      top: -30px;
      left: 0;
    }
  }
  @media (max-width: 500px) {
    .topNews::after {
      content: unset;
    }
  }
  .topNews__postBox {
    margin-top: clamp(12px, 3.287037037vw, 35.5px);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 27px 19.5px;
    padding-inline: 35.7px;
    position: relative;
  }
  @media (max-width: 960px) {
    .topNews__postBox {
      grid-template-columns: 1fr;
      justify-items: center;
      padding-inline: 0;
    }
    .topNews__postBox::after {
      content: "";
      display: block;
      width: 100vw;
      height: 400px;
      background: var(--white);
      position: absolute;
      top: 50%;
      left: -20px;
      z-index: -1;
    }
  }
  @media (max-width: 768px) {
    .topNews__postBox {
      gap: 16px;
    }
    .topNews__postBox::after {
      height: 500px;
      top: 0;
    }
  }
  @media (max-width: 600px) {
    .topNews__postBox::after {
      top: -20px;
    }
  }
  @media (max-width: 425px) {
    .topNews__postBox::after {
      top: -50px;
    }
  }
  .topNews__postBox:has(.noPosts) {
    grid-template-columns: 1fr;
  }
  .topNews__moreBox {
    margin-top: 60px;
  }
  @media (max-width: 768px) {
    .topNews__moreBox {
      margin-top: 26px;
    }
  }
  .topMonsoons {
    display: flex;
    flex-direction: column;
    padding-top: 80px;
    padding-bottom: 80px;
    background: var(--white);
  }
  @media (max-width: 960px) {
    .topMonsoons {
      padding-top: 50px;
    }
  }
  @media (max-width: 768px) {
    .topMonsoons {
      padding-top: 35px;
      padding-bottom: 24.9px;
    }
  }
  .topMonsoons__titleBox {
    display: flex;
    flex-direction: column;
    gap: clamp(19px, 2.7777777778vw, 30px);
    position: relative;
    z-index: 2;
  }
  .topMonsoons__subTitle {
    font-size: clamp(16px, 2.3148148148vw, 25px);
    font-weight: 600;
    color: var(--black);
    line-height: 0.9;
    letter-spacing: 0.1em;
    text-align: center;
  }
  @media (max-width: 768px) {
    .topMonsoons__subTitle {
      line-height: 1.4;
    }
  }
  .topMonsoons__postBox {
    margin-top: clamp(24px, 3.5185185185vw, 38px);
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(226px, 1fr));
    align-items: stretch;
    gap: clamp(16px, 2.2222222222vw, 24px);
    padding-inline: 4px;
    position: relative;
    z-index: 3;
  }
  @media (max-width: 768px) {
    .topMonsoons__postBox {
      grid-template-columns: repeat(2, 1fr);
      padding: 0;
    }
  }
  .topMonsoons__postBox:has(.monsoonsPost:first-child:nth-last-child(1),
  .monsoonsPost:first-child:nth-last-child(2)) {
    grid-template-columns: repeat(2, 1fr);
  }
  .topMonsoons__postBox:has(.noPosts) {
    grid-template-columns: 1fr;
  }
  .topMonsoons__moreBox {
    margin-top: 60px;
  }
  @media (max-width: 768px) {
    .topMonsoons__moreBox {
      margin-top: 28.3px;
    }
  }
  .topMovie {
    display: flex;
    flex-direction: column;
    position: relative;
    background: var(--navy);
    padding-bottom: 80px;
  }
  @media (max-width: 768px) {
    .topMovie {
      padding-bottom: 31.4px;
    }
  }
  .topMovie::before {
    content: "";
    position: absolute;
    top: 0px;
    right: 0;
    border-left: 100vw solid transparent;
    border-top: 140px solid var(--white);
    z-index: 4;
    display: block;
    width: 0;
    height: 0;
  }
  @media (max-width: 768px) {
    .topMovie::before {
      border-top: 150px solid var(--white);
    }
  }
  @media (max-width: 375px) {
    .topMovie::before {
      border-top: 84px solid var(--white);
      top: -5px;
    }
  }
  .topMovie::after {
    content: "";
    position: absolute;
    bottom: 102px;
    right: 0;
    width: 100%;
    height: 0px;
    border-right: 100vw solid transparent;
    border-bottom: 140px solid var(--yellow);
    z-index: 3;
  }
  @media (max-width: 768px) {
    .topMovie::after {
      bottom: -65px;
      border-bottom: 190px solid var(--yellow);
    }
  }
  @media (max-width: 375px) {
    .topMovie::after {
      border-bottom: 180px solid var(--yellow);
      bottom: -40px;
    }
  }
  .topMovie__container {
    max-width: 1044px;
    width: 100%;
    padding-inline: 20px;
    margin: 0 auto;
    position: relative;
    z-index: 4;
  }
  .topMovie__container::after {
    content: "";
    display: block;
    position: absolute;
    bottom: -80px;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: 102px;
    background: var(--yellow);
  }
  @media (max-width: 768px) {
    .topMovie__container::after {
      content: unset;
    }
  }
  .topMovie__titleBox {
    display: flex;
    flex-direction: column;
    gap: clamp(19px, 2.7777777778vw, 30px);
  }
  .topMovie__subTitle {
    font-size: clamp(16px, 2.3148148148vw, 25px);
    font-weight: 600;
    color: var(--yellow);
    line-height: 0.9;
    letter-spacing: 0.1em;
    text-align: center;
  }
  @media (max-width: 768px) {
    .topMovie__subTitle {
      line-height: 1.4;
    }
  }
  .topMovie__postBox {
    margin-top: clamp(10px, 4.8611111111vw, 52.5px);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(312.7px, 1fr));
    gap: clamp(18px, 2.1759259259vw, 23.5px) clamp(18px, 3.0277777778vw, 32.7px);
    align-items: stretch;
  }
  @media (max-width: 768px) {
    .topMovie__postBox {
      grid-template-columns: 1fr;
    }
  }
  .topMovie__moreBox {
    position: relative;
    z-index: 1;
    margin-top: 60px;
  }
  @media (max-width: 768px) {
    .topMovie__moreBox {
      margin-top: 26px;
    }
  }
  .topDairy {
    display: flex;
    flex-direction: column;
    background: var(--white);
    position: relative;
    z-index: 3;
  }
  .topDairy__titleBox {
    background: var(--yellow);
    display: flex;
    flex-direction: column;
    gap: clamp(19px, 2.2222222222vw, 24px);
    padding-bottom: clamp(26.4px, 3.1851851852vw, 34.4px);
    position: relative;
    z-index: 4;
  }
  @media (max-width: 768px) {
    .topDairy__titleBox::before {
      content: "";
      position: absolute;
      top: 0;
      right: 0;
      border-left: 34vw solid transparent;
      border-top: 70px solid var(--navy);
      z-index: -1;
      display: block;
      width: 0;
      height: 0;
    }
  }
  @media (max-width: 375px) {
    .topDairy__titleBox::before {
      border-top: 60px solid var(--navy);
      top: -21px;
    }
  }
  .topDairy__title {
    width: 100%;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--blue);
    background-size: cover;
    margin: 0 auto;
    width: 406.6px;
    height: 54.8px;
  }
  @media (max-width: 768px) {
    .topDairy__title {
      background-size: cover;
      max-width: 335px;
      max-height: 45px;
      width: 100%;
    }
  }
  .topDairy__titleHeading {
    font-size: clamp(22px, 3.7037037037vw, 40px);
    font-family: var(--en);
    font-weight: bold;
    color: var(--yellow);
    line-height: 1.3;
    letter-spacing: 0.05em;
  }
  .topDairy__subTitle {
    font-size: clamp(14px, 2.3148148148vw, 25px);
    font-weight: 600;
    color: var(--blue);
    line-height: 0.72;
    letter-spacing: 0.1em;
    text-align: center;
  }
  @media (max-width: 768px) {
    .topDairy__subTitle {
      line-height: 1.3;
    }
  }
  .topDairy__postBox {
    display: flex;
    flex-direction: column;
    gap: clamp(19px, 2.5vw, 27px);
    background: var(--white);
    padding-top: clamp(16.7px, 3.6203703704vw, 39.1px);
    padding-bottom: clamp(22.6px, 3.9814814815vw, 43px);
    padding-inline: 54.5px;
  }
  @media (max-width: 768px) {
    .topDairy__postBox {
      padding-inline: 0;
    }
  }
  .topDairy__moreBox {
    margin-top: 17px;
    margin-bottom: 105px;
  }
  @media (max-width: 768px) {
    .topDairy__moreBox {
      margin-top: 9px;
      margin-bottom: 36px;
    }
  }
}