@charset "utf-8";

/*
  File Name   : top.css
  Description : トップページ
*/

/* kv
============================================================ */
.kv {
  position: relative;
  z-index: 1;
  height: 680px;
  overflow: hidden;
  background-color: #eff0e4;
}
.kv-background {
  display: block;
  position: absolute;
  width: 100%;
  height: 100%;
}
.kv-background img {
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.kv-inner {
  display: flex;
  position: relative;
  z-index: 0;
  justify-content: space-between;
  max-width: 1650px;
  margin-inline: auto;
  padding-inline: 50px;
}
.kv-inner {
  max-width: none;
  padding-left: 40px;
}
.kv-text {
  margin-top: 205px;
  font-size: 27px;
  letter-spacing: 0.25em;
  line-height: calc(45 / 27);
}
.kv-text {
  margin-top: 140px;
}
.kv-copy {
  font-weight: bold;
}
.kv-time {
  display: block;
  margin-top: 35px;
}
.kv-time {
  margin-top: 80px;
}
.kv-number {
  position: relative;
  max-width: 157px;
  margin-top: 300px;
  margin-right: 182px;
}
.kv-number img {
  width: 100%;
  height: auto;
}
.kv-number-text {
  display: flex;
  position: absolute;
  align-items: baseline;
  color: #fff;
  font-size: 38px;
  font-weight: bold;
  inset: 45px auto 0 50%;
  translate: -50%;
}
.kv-number-text span {
  font-size: 24px;
}

@media screen and (max-width: 1640px) {
  .kv-number {
    margin-right: 0;
  }
}
@media screen and (max-width: 1570px) {
  .kv {
    height: 450px;
  }
  .kv-inner {
    padding-inline: 20px;
  }
  .kv-inner {
    padding-left: 20px
  }
  .kv-text {
    margin-top: 120px;
    font-size: 21px;
  }
  .kv-text {
    margin-top: 100px;
  }
  .kv-time {
    max-width: 350px;
  }
  .kv-time {
    margin-top: 50px;
  }
  .kv-number {
    max-width: 125px;
    margin-top: 165px;
  }
  .kv-number-text {
    font-size: 30px;
    inset: 40px auto 0 50%;
  }
}

/* sp
------------------------------------------------------------ */
@media screen and (max-width: 1245px) {
  .kv {
    height: 570px;
    padding-top: 150px;
  }
  .kv-background {
    height: calc(100% - 150px);
  }
  .kv-text {
    margin-top: -30px;
    font-size: 18px;
  }
  .kv-text {
    margin-top: -40px;
  }
  .kv-time {
    width: 150px;
  }
  .kv-time img {
    width: 100%;
  }
}
@media screen and (max-width: 811px) {
  .kv {
    height: 445px;
    padding-top: 120px;
  }
  .kv-background {
    height: calc(100% - 120px);
  }
  .kv-inner {
    flex-direction: column;
    gap: 30px;
  }
  .kv-text {
    margin-top: -35px;
  }
  .kv-time {
    max-width: 100px;
  }
  .kv-number {
    width: 85px;
    margin-top: 0;
  }
  .kv-number-text {
    font-size: 20px;
    inset: 25px auto 0 50%;
  }
  .kv-number-text span {
    font-size: 10px;
  }
}
@media screen and (max-width: 481px) {
  .kv {
    height: 300px;
    padding-top: 105px;
  }
  .kv-background {
    height: calc(100% - 70px);
  }
  .kv-inner {
    gap: 20px;
  }
  .kv-text {
    margin-top: -35px;
    font-size: 12px;
  }
  .kv-time {
    max-width: 66px;
    margin-top: 20px;
  }
  .kv-number {
    width: 56px;
  }
  .kv-number-text {
    font-size: 14px;
    inset: 18px auto 0 50%;
  }
}

/* section-next
============================================================ */
.section-next {
  position: relative;
}
.section-next-inner {
  display: grid;
  position: absolute;
  z-index: 1;
  left: 50%;
  grid-auto-columns: 1fr;
  grid-template-areas:
    "head photo"
    "desc photo";
  grid-template-columns: calc(64% - 2%) calc(36% - 2%);
  grid-template-rows: auto auto;
  align-items: flex-end;
  width: 100%;
  max-width: 1080px;
  margin-top: -100px;
  padding: 23px 33px;
  border: 1px solid #fff;
  border-radius: 11px;
  background-color: #8d8d8d;
  gap: 0px 4%;
  translate: -50%;
}
.section-next-head {
  display: flex;
  grid-area: head;
  flex-wrap: nowrap;
  align-items: flex-end;
  width: 100%;
  height: calc(100% - 20px);
  margin-bottom: 20px;
}
.section-next-date {
  display: flex;
  position: relative;
  bottom: -2px;
  align-items: center;
  margin-left: 20px;
  gap: 15px;
}
.section-next-date-label {
  display: grid;
  padding: 6px 13px;
  border-top: 3px solid #fff;
  border-bottom: 3px solid #fff;
  color: #fff;
  font-size: 16px;
  font-weight: bold;
  letter-spacing: 0.08em;
  line-height: calc(21 / 14);
  place-items: center;
  white-space: nowrap;
}
.section-next-date-text {
  display: inline-grid;
  position: relative;
  bottom: -5px;
  grid-template-areas: "year day wday";
  grid-template-columns: auto auto auto;
  align-items: baseline;
  margin-left: 15px;
  color: #fff;
  line-height: 1;
}
.section-next-date-year {
  grid-area: year;
  font-size: 20px;
  font-weight: bold;
}
.section-next-date-day {
  grid-area: day;
  margin-left: 10px;
  font-size: 45px;
  font-weight: bold;
  letter-spacing: 0;
}
.section-next-date-wday {
  position: relative;
  bottom: 2px;
  grid-area: wday;
  margin-left: -1px;
  font-size: 27px;
  font-weight: bold;
}
.section-next-content {
  display: flex;
  grid-area: desc;
  align-items: flex-start;
  width: 100%;
  height: 100%;
  font-weight: bold;
}
.p-section-next-labels {
  display: grid;
  grid-template-columns: 61px auto;
  align-items: end;
  gap: 15px;
}
.p-section-next-description {
  color: #fff;
  font-size: 14px;
  font-weight: bold;
  letter-spacing: 0.08em;
  line-height: calc(23 / 14);
}
.section-next-photos {
  display: grid;
  grid-area: photo;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  height: 100%;
}
.section-next-photos .com-dialog-button-area {
  max-width: 164px;
}

@media screen and (max-width: 1570px) {
  .section-next {
    padding-block: 40px;
    padding-inline: 20px;
    background-color: #eff0e4;
  }
  .section-next.-campaign {
    background-color: #323232;
  }
  .section-next-inner {
    position: relative;
    margin-top: 0;
  }
}

/* sp
------------------------------------------------------------ */
@media screen and (max-width: 1024px) {
  .section-next-head {
    display: flex;
    grid-area: head;
    flex-wrap: nowrap;
    align-items: flex-end;
    width: 100%;
    height: calc(100% - 20px);
    margin-bottom: 20px;
  }
  .section-next-head-title img {
    max-width: 120px;
  }
  .section-next-date {
    display: flex;
    position: relative;
    bottom: -2px;
    align-items: center;
    margin-left: 20px;
    gap: 15px;
  }
  .section-next-date-label {
    padding: 6px 13px;
    font-size: 13px;
  }
  .section-next-date-text {
    margin-left: 10px;
  }
  .section-next-date-year {
    font-size: 17px;
  }
  .section-next-date-day {
    margin-left: 10px;
    font-size: 40px;
  }
  .section-next-date-wday {
    font-size: 24px;
  }
}
@media screen and (max-width: 811px) {
  .section-next-inner {
    grid-auto-columns: 1fr;
    grid-template-areas:
      "head"
      "desc"
      "photo";
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    padding: 20px;
    gap: 15px;
  }
  .section-next-head {
    grid-column: revert;
    height: auto;
    margin-bottom: 0;
    padding-bottom: 15px;
    border-bottom: 2px solid #fff;
  }
  .section-next-head-title img {
    max-width: 130px;
  }
  .section-next-date {
    margin-left: 15px;
  }
  .section-next-date-label {
    padding: 10px 4px;
    border: none;
    border-right: 3px solid #fff;
    border-left: 3px solid #fff;
    -ms-writing-mode: tb-rl;
    writing-mode: vertical-rl;
  }
  .section-next-date-text {
    grid-template-areas:
      "year year"
      "day wday";
    grid-template-columns: auto auto;
    margin-left: -5px;
  }
  .section-next-date-year {
    margin-bottom: 5px;
    font-size: 17px;
  }
  .section-next-date-day {
    margin-left: 0;
    font-size: 40px;
  }
  .section-next-date-wday {
    margin-left: 0;
    font-size: 24px;
  }
  .p-section-next-description {
    font-size: 10px;
  }
  .section-next-photos {
    display: flex;
    justify-content: center;
    gap: 10px;
  }
  .section-next-photos .com-dialog-name {
    font-size: 12px;
  }
  .section-next-share {
    position: relative;
    top: 0;
    right: 0;
  }
  .section-next-share .com-share {
    width: fit-content;
    margin-inline: auto;
  }
}
@media screen and (max-width: 481px) {
  .section-next-inner {
    padding: 15px 10px;
  }
}
@media screen and (max-width: 360px) {
  .section-next-head-title img {
    max-width: 100px;
  }
  .section-next-date-label {
    padding: 6px 3px;
  }
  .section-next-date-year {
    font-size: 15px;
  }
  .section-next-date-day {
    font-size: 35px;
  }
  .section-next-date-wday {
    font-size: 18px;
  }
}

/* section-campaign
============================================================ */
.section-campaign {
  padding-top: 215px;
  background-color: #323232;
}
.section-campaign-inner {
  background-color: #fff;
}
.campaign-banner-link {
  display: block;
}
.campaign-banner-img {
  width: 100%;
}

@media screen and (max-width: 1570px) {
  .section-campaign {
    padding-top: 0;
  }
}

/* section-next
============================================================ */
.section-story {
  padding-block: 236px 145px;
  background-color: #323232;
}
.section-story.-campaign {
  padding-top: 95px;
}
.section-story-text {
  margin-top: 40px;
  color: #fff;
  font-size: 13px;
  font-weight: bold;
  letter-spacing: 0.08em;
  text-align: center;
}

@media screen and (max-width: 1570px) {
  .section-story {
    padding-block: 120px;
  }
  .section-story.-campaign {
    padding-top: 120px;
  }
}

/* sp
------------------------------------------------------------ */
@media screen and (max-width: 811px) {
  .section-story {
    padding-block: 50px;
  }
  .section-story.-campaign {
    padding-top: 50px;
  }
  .section-story-text {
    margin-top: 15px;
    font-size: 10px;
  }
}

/* story-splide
============================================================ */
.story-splide {
  margin-top: 60px;
}
.story-splide .splide__slide {
  position: relative;
  padding: 30px;
  border-radius: 15px;
  background-color: #fff;
}
.story-splide .splide__slide:after {
  content: "";
  position: absolute;
  z-index: 3;
  transition: all 0.3s ease-in;
  border-radius: 15px;
  opacity: 1;
  background-color: rgb(0 0 0 / 50%);
  inset: 0;
}
.story-splide .splide__slide.is-visible::after {
  z-index: -1;
  opacity: 0;
}
.story-splide .splide__arrow {
  height: 3em;
  background: transparent;
}
.story-splide .splide__arrow--prev {
  transform: rotate(180deg);
  transform-origin: center center;
  translate: 0 -50%;
}

/* sp
------------------------------------------------------------ */
@media screen and (max-width: 811px) {
  .story-splide {
    margin-top: 30px;
  }
  .story-splide .splide__slide {
    padding: 15px 20px;
  }
}
@media screen and (max-width: 350px) {
  .story-splide .splide__slide {
    padding: 15px;
  }
}

/* section-search
============================================================ */
.section-search {
  padding-block: 120px 120px;
}
.section-search-inner {
  max-width: 960px;
  margin-inline: auto;
  padding-inline: 20px;
}
.section-search-form {
  margin-top: 65px;
}

/* sp
------------------------------------------------------------ */
@media screen and (max-width: 811px) {
  .section-search {
    padding-block: 50px;
  }
  .section-search-form {
    margin-top: 40px;
  }
  .com-search-checkbox-title {
    margin-top: 30px;
  }
}

/* section-ohanashi
============================================================ */
.section-ohanashi {
  padding-block: 135px 1px;
  background-color: #646464;
}
.section-ohanashi-inner {
  max-width: 1120px;
  margin-inline: auto;
  padding-inline: 20px;
}
.section-ohanashi-lists {
  display: grid;
  margin-top: 70px;
  gap: 50px;
}
.section-ohanashi-list .com-card {
  display: grid;
  position: relative;
  grid-template-areas:
    "head photo share"
    "text photo share"
    "text2 photo share"
    "labels photo share"
    "audio audio audio";
  grid-template-columns: 1fr 400px 80px;
  padding: 30px 30px 25px 55px;
  border-radius: 15px;
}
.section-ohanashi-list .com-card-head .com-number {
  position: absolute;
  top: 50%;
  left: -42px;
  grid-area: revert;
  width: 86px;
  height: 86px;
  background-color: #ff4b00;
  font-size: 36px;
  translate: 0 -50%;
}
.section-ohanashi-list .com-card-head .com-number.-small {
  font-size: 24px;
}
.section-ohanashi-list .com-card-head .com-label {
  background-color: #ff4b00;
}
.section-ohanashi-list .com-card-text {
  grid-area: text;
  margin-top: 10px;
}
.section-ohanashi-list .com-card-text2 {
  grid-area: text2;
  margin-top: 10px;
}
.section-ohanashi-list .com-labels {
  grid-area: labels;
  margin-top: 10px;
}
.section-ohanashi-list .com-card-photos {
  grid-area: photo;
  margin-top: 0;
  padding-left: 40px;
}
.section-ohanashi-list .com-dialog-photo {
  max-width: 170px;
}
.section-ohanashi-list .com-card-audio {
  position: relative;
  z-index: 1;
  grid-area: audio;
  margin-top: 20px;
  padding: 15px;
  background-color: #ebebeb;
}
.section-ohanashi-list .com-card-audio-title {
  display: none;
}
.section-ohanashi-list .com-card-share {
  position: static;
  grid-area: share;
  padding-left: 20px;
}
.section-ohanashi-text {
  margin-top: 40px;
  color: #fff;
  font-size: 13px;
  font-weight: bold;
  letter-spacing: 0.08em;
  text-align: center;
}
.section-ohanashi-button {
  margin-top: 105px;
}
.section-ohanashi-button .com-button {
  margin-inline: auto;
}
.section-ohanashi-library {
  margin-top: 140px;
  margin-bottom: -140px;
  background-color: #fff;
}

@media screen and (max-width: 1200px) {
  .section-ohanashi-lists {
    margin-left: 40px;
  }
  .section-ohanashi-library {
    margin-top: 60px;
  }
}

/* sp
------------------------------------------------------------ */
@media screen and (max-width: 1000px) {
  .section-ohanashi-list .com-card {
    grid-template-areas:
      "head"
      "text"
      "text2"
      "labels"
      "audio"
      "photo";
    grid-template-columns: 1fr;
    padding: 25px 40px 25px 55px;
  }
  .section-ohanashi-list .com-card-photos {
    display: flex;
    justify-content: center;
    margin-top: 25px;
    margin-inline: auto;
    padding-left: 0;
  }
  .section-ohanashi-list .com-share-text {
    font-size: 10px;
  }
  .section-ohanashi-list .com-card-share {
    position: absolute;
    top: 20px;
    right: 20px;
  }
}
@media screen and (max-width: 811px) {
  .section-ohanashi {
    padding-block: 60px;
  }
  .section-ohanashi-lists {
    margin-left: 0;
  }
  .section-ohanashi-list .com-card {
    padding: 15px 20px 20px;
  }
  .section-ohanashi-list .com-card-head .com-number {
    top: -30px;
    left: 50%;
    width: 53px;
    height: 53px;
    font-size: 23px;
    translate: -50% 0;
  }
  .section-ohanashi-list .com-card-head .com-number.-small {
    font-size: 14px;
  }
  .section-ohanashi-list .com-card-text {
    margin-top: 10px;
  }
  .section-ohanashi-list .com-card-text2 {
    margin-top: 10px;
  }
  .section-ohanashi-list .com-labels {
    margin-top: 10px;
  }
  .section-ohanashi-list .com-card-photos {
    margin-top: 15px;
  }
  .section-ohanashi-list .com-card-audio {
    margin-top: 15px;
    padding: 0;
    background-color: transparent;
  }
  .section-ohanashi-list .com-card-share {
    top: 8px;
  }
  .section-ohanashi-text {
    margin-top: 25px;
    font-size: 10px;
  }
  .section-ohanashi-button {
    margin-top: 20px;
  }
  .section-ohanashi-button .com-button {
    max-width: 600px;
  }
}
@media screen and (max-width: 481px) {
  .section-ohanashi-list .com-card {
    padding: 15px 15px 20px;
  }
  .section-ohanashi-list .com-card-share {
    right: 15px;
  }
}
@media screen and (max-width: 360px) {
  .section-ohanashi-list .com-share-text {
    font-size: 8px;
  }
}

/* section-ohanashi
============================================================ */
.library {
  display: grid;
  grid-template-columns: 360px 1fr;
  min-height: 280px;
  box-shadow: 5px 5px 10px 0 rgba(0, 0, 0, 0.2);
}
.library:hover {
  text-decoration: none;
}
.library-head {
  display: grid;
  background-color: #fff;
  place-items: center;
}
.library .com-title-sub {
  color: #000;
  font-size: 12px;
}
.library-body {
  display: flex;
  position: relative;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: url(../img/top/library-background.jpg?20240706) no-repeat center center;
  background-size: cover;
}
.library-body-title {
  color: #fff;
  font-size: 15px;
  font-weight: normal;
  text-shadow: 0 0 4px rgb(0 0 0 / 1);
  text-transform: uppercase;
}
.library-body-text {
  color: #fff;
  font-size: 33px;
  font-weight: normal;
  text-shadow: 0 0 4px rgb(0 0 0 / 1);
}
.library-body-arrow {
  position: absolute;
  top: 50%;
  right: 20px;
  translate: 0 -50%;
}

/* sp
------------------------------------------------------------ */
@media screen and (max-width: 1000px) {
  .library {
    grid-template-columns: 300px 1fr;
  }
}
@media screen and (max-width: 811px) {
  .library {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .library-head {
    place-items: center;
    padding: 10px;
  }
  .library-head .com-title {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 10px;
    align-items: center;
    justify-content: center;
  }
  .library .com-title-sub {
    margin-top: 0;
    font-size: 10px;
    text-align: left;
  }
  .library-body {
    padding-block: 35px;
    background-image: url(../img/top/library-background-sp.jpg);
  }
  .library-body-title {
    font-size: 10px;
  }
  .library-body-text {
    font-size: 15px;
  }
  .library-body-arrow {
    width: 15px;
  }
  .library .com-title-main img {
    width: auto;
    height: 28px;
  }
}
@media screen and (max-width: 481px) {
  .library-head {
    place-items: start;
  }
  .library-head {
    padding: 10px 5px 10px 10px;
  }
  .library .com-title-main img {
    width: auto;
    height: 20px;
  }
}
