@charset "utf-8";

/*
  File Name   : ohanashi.css
  Description : OHANASHI
*/

/* lay-main
============================================================ */
#lay-main {
  padding-top: 0;
}

/* section-ohanashi
============================================================ */
.section-ohanashi {
  padding-top: 70px;
  background-color: #646464;
}
.section-ohanashi-title {
  position: relative;
  color: #fff;
  text-align: center;
}
.section-ohanashi-title:first-child .section-ohanashi-title-main {
  margin: 0;
}
.section-ohanashi-title-sub {
  margin-top: 20px;
  font-weight: bold;
}
.section-ohanashi-search-modal {
  position: absolute;
  top: 0;
  right: 0;
  margin: 0;
}
.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;
}
.section-ohanashi-no-item {
  padding-block: 120px;
  color: #fff;
  text-align: center;
}

@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-search-modal {
    position: relative;
    margin-top: 33px;
    margin-inline: auto;
  }
  .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-top: 40px;
  }
  .section-ohanashi-title {
    position: relative;
  }
  .section-ohanashi-title-main img {
    width: auto;
    height: 43px;
  }
  .section-ohanashi-title-sub {
    font-size: 13px;
  }
  .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;
  }
  .section-ohanashi-no-item {
    padding-block: 60px;
  }
}
@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-navigation
============================================================ */
.section-navigation {
  padding-block: 145px 115px;
  background-color: #646464;
}
.section-navigation .screen-reader-text {
  display: none;
}
.section-navigation .nav-links ul {
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-start;
  justify-content: space-between;
  width: 100%;
}
.section-navigation .nav-links ul a {
  display: flex;
  position: relative;
  flex-wrap: nowrap;
  align-items: center;
  width: 125px;
  height: 88px;
  color: #fff;
  font-size: 16px;
  font-weight: bold;
  letter-spacing: 0;
}
.section-navigation .nav-links ul .current,
.section-navigation .nav-links ul .prev > div,
.section-navigation .nav-links ul .next > div {
  display: none;
}
.section-navigation .nav-links ul .prev a {
  padding-left: 50px;
  background: url(../img/ohanashi/ohanashi-arrow-left.svg) no-repeat left center;
  background-size: auto 100%;
}
.section-navigation .nav-links ul .next a {
  justify-content: flex-end;
  padding-right: 50px;
  background: url(../img/ohanashi/ohanashi-arrow-right.svg) no-repeat right center;
  background-size: auto 100%;
}
.section-navigation .nav-back {
  margin-top: 0;
}
.section-navigation .nav-back .com-back-button {
  max-width: 258px;
  margin-top: 0;
  margin-inline: auto;
}

/* sp
------------------------------------------------------------ */
@media screen and (max-width: 811px) {
  .section-navigation {
    padding-block: 65px 45px;
  }
  .section-navigation .nav-links ul a {
    width: 100px;
    height: 48px;
    font-size: 13px;
  }
  .section-navigation .nav-links ul .prev a {
    padding-left: 33px;
  }
  .section-navigation .nav-links ul .next a {
    padding-right: 33px;
  }
}
