@charset "utf-8";

/* ------------------------------
  top
------------------------------ */

@media screen and (min-width: 768px) and ( max-width:1039px) {}

@media screen and (max-width: 767px) {}

.p-top {
  width: 100%;
  height: auto;
  overflow: hidden;
}


/* First View */
.p-top-fv {
  width: 100%;
  height: 330px;
  background-image: url(../img/top/fv-img.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.p-top-fv__inner {
  width: 100%;
  max-width: 1280px;
  height: 100%;
  margin: 0 auto;
  position: relative;
}

.p-top-fv__copy {
  display: block;
  position: absolute;
  top: 50%;
  right: 40px;
  transform: translateY(-50%);
}

.p-top-fv-copy__text {
  display: block;
  font-family: 'Shippori Mincho B1', serif;
  font-size: 3rem;
  font-weight: 600;
  line-height: calc(45 / 30);
  color: #ffffff;
  text-shadow: 3px 3px 6px rgba(0,0,0,0.6);
}

.p-top-fv-copy__text--first {
  margin-left: -0.5em;
}

@media screen and (max-width: 767px) {
  .p-top-fv {
    height: 200px;
    background-image: url(../img/top/fv-img-sp.jpg);
  }

  .p-top-fv__copy {
    display: block;
    position: absolute;
    top: 50%;
    right: 50%;
    transform: translate(50%, -50%);
    background-color: rgba(255,255,255,0.8);
    padding: 10px;
  }
  
  .p-top-fv-copy__text {
    font-size: 1.5rem;
    color: #000000;
    text-shadow: none;
    white-space: nowrap;
  }
}


/* news */
.p-top-news {
  width: 100%;
  height: auto;
  margin-top: 80px;
}

.p-top-news__inner {
  width: 100%;
  max-width: 1200px;
  height: auto;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
}

.p-top-news__head {
  width: calc(100% * (300 / 1120));
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
}

.p-top-news__heading {
  font-size: 2.4rem;
  font-weight: 700;
}

.p-top-news-index__link {
  font-size: 1.6rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  position: relative;
  transition: color .3s;
}

.p-top-news-index__link:hover {
  color: #E3AF4D;
}

.p-top-news-index__link::before {
  content: '';
  width: 26px;
  height: 26px;
  display: block;
  margin-right: 10px;
  background-image: url(../img/common/arrow.svg);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: contain;
}

.p-top-news__body {
  flex: 1;
}

.p-top-news__list {
  width: 100%;
}

.p-top-news__item + .p-top-news__item {
  margin-top: 45px;
}

.p-top-news__link {
  display: block;
}

.p-top-news__wrap {
  display: flex;
  align-items: center;
}

.p-top-news__date {
  display: block;
  font-family: 'Lato', sans-serif;
  font-size: 1.6rem;
  transition: color .3s;
}

.p-top-news__link:hover .p-top-news__date {
  color: #E3AF4D;
}

.p-top-news__category {
  display: block;
  font-size: 1.6rem;
  position: relative;
  transition: color .3s;
}

.p-top-news__category::before {
  content: '｜';
  color: #000000;
  display: inline-block;
  margin: 0 6px 0 8px;
}

.p-top-news__category--cat1 {
  color: #e6b150;
}

.p-top-news__category--cat2 {
  color: #ab4188;
}

.p-top-news__category--cat3 {
  color: #3b6baa;
}

.p-top-news__category--cat4 {
  color: #48a93b;
}

.p-top-news__category--cat5 {
  color: #918063;
}

.p-top-news__category--cat6 {
  color: #665761;
}

.p-top-news__link:hover .p-top-news__category {
  color: #E3AF4D;
}

.p-top-news__title {
  font-size: 1.6rem;
  margin-top: 12px;
  transition: color .3s;
}

.p-top-news__link:hover .p-top-news__title {
  color: #E3AF4D;
}

.p-top-news__sns {
  width: 250px;
  margin-left: 30px;
}

.p-top-news__sns-link {
  display: block;
  width: 100%;
}

@media screen and (min-width: 768px) and ( max-width:929px) {
  .p-top-news__inner {
    flex-wrap: wrap;
  }

  .p-top-news__sns {
    width: 100%;
    margin-left: 0;
    margin-top: 50px;
  }

  .p-top-news__sns-link {
    display: block;
    width: 250px;
    margin: 0 auto;
  }
}

@media screen and (max-width: 767px) {
  .p-top-news {
    margin-top: 40px;
  }

  .p-top-news__inner {
    padding: 0 20px;
    display: block;
  }

  .p-top-news__head {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .p-top-news__heading {
    font-size: 2rem;
  }

  .p-top-news-index__link {
    font-size: 1.4rem;
    font-weight: 500;
  }

  .p-top-news-index__link::before {
    width: 18px;
    height: 18px;
    margin-right: 5px;
  }

  .p-top-news__body {
    flex: 1;
    margin-top: 30px;
  }

  .p-top-news__item + .p-top-news__item {
    margin-top: 25px;
  }

  .p-top-news__date {
    font-size: 1.4rem;
  }

  .p-top-news__category {
    font-size: 1.4rem;
  }

  .p-top-news__title {
    font-size: 1.4rem;
    margin-top: 5px;
  }

  .p-top-news__sns {
    width: 100%;
    margin-left: 0;
    margin-top: 50px;
  }

  .p-top-news__sns-link {
    display: block;
    width: 250px;
    margin: 0 auto;
  }
}


/* 2column */
.p-top-unit {
  width: 100%;
  height: auto;
  margin-top: 80px;
}

.p-top-unit__inner {
  width: 100%;
  max-width: 1200px;
  height: auto;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
}

@media screen and (max-width: 767px) {
  .p-top-unit {
    margin-top: 60px;
  }

  .p-top-unit__inner {
    padding: 0 20px;
    display: block;
  }
}


/* 開館日 */
.p-top-open {
  width: 50%;
  padding: 70px 70px 70px 0;
}

.p-top-open__heading {
  font-size: 2.4rem;
  font-weight: 700;
  letter-spacing: 0.2em;
}

.p-top-open__heading + .p-top-open__unit {
  margin-top: 25px;
}

.p-top-open__unit {
  width: 100%;
  display: flex;
}

.p-top-open__head {
  font-size: 1.8rem;
  line-height: calc(40 / 18);
  width: 8em;
}

.p-top-open__body {
  flex: 1;
  font-size: 1.8rem;
  line-height: calc(40 / 18);
}

.p-top-open__info {
  margin-top: 40px;
}

.p-top-open__text {
  font-size: 1.8rem;
  line-height: calc(40 / 18);
}

@media screen and (max-width: 767px) {
  .p-top-open {
    width: 100%;
    padding: 0;
  }

  .p-top-open__heading {
    font-size: 2rem;
  }

  .p-top-open__heading + .p-top-open__unit {
    margin-top: 20px;
  }

  .p-top-open__head {
    font-size: 1.4rem;
    width: 6em;
  }

  .p-top-open__body {
    font-size: 1.4rem;
  }

  .p-top-open__info {
    margin-top: 20px;
  }

  .p-top-open__text {
    font-size: 1.4rem;
  }
}


/* 図書利用案内 */
.p-top-guide {
  width: 50%;
  padding: 70px;
  position: relative;
  z-index: 1;
}

.p-top-guide::before {
  content: '';
  width: 50vw;
  height: 100%;
  display: block;
  background-color: #FAF8F2;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
}

.p-top-guide__heading {
  font-size: 2.4rem;
  font-weight: 700;
}

.p-top-guide__label {
  font-size: 2rem;
  font-weight: 700;
  margin-top: 60px;
}

.p-top-guide__list {
  margin-top: 30px;
}

.p-top-guide__item + .p-top-guide__item {
  margin-top: 25px;
}

.p-top-guide__link {
  font-size: 1.8rem;
  display: flex;
  align-items: center;
  transition: color .3s;
}

.p-top-guide__link:hover {
  color: #E3AF4D;
}

.p-top-guide__link::before {
  content: '';
  width: 26px;
  height: 26px;
  display: block;
  margin-right: 10px;
  background-image: url(../img/common/arrow.svg);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: contain;
}

@media screen and (max-width: 767px) {
  .p-top-guide {
    width: 100%;
    margin-top: 60px;
    padding: 40px 0;
  }

  .p-top-guide::before {
    width: 100vw;
    left: -20px;
  }

  .p-top-guide__heading {
    font-size: 2rem;
  }

  .p-top-guide__label {
    font-size: 1.6rem;
    margin-top: 25px;
  }

  .p-top-guide__list {
    margin-top: 15px;
  }

  .p-top-guide__item + .p-top-guide__item {
    margin-top: 12px;
  }

  .p-top-guide__link {
    font-size: 1.4rem;
  }

  .p-top-guide__link::before {
    width: 18px;
    height: 18px;
    margin-right: 5px;
  }
}


/* ボランティア活動 */
.p-top-volunteer {
  width: 100%;
  height: auto;
  margin-top: 100px;
}

.p-top-volunteer__inner {
  width: 100%;
  max-width: 1200px;
  height: auto;
  margin: 0 auto;
  padding: 0 40px;
}

.p-top-volunteer__heading {
  font-size: 2.4rem;
  font-weight: 700;
}

.p-top-volunteer__list {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top: 60px;
}

.p-top-volunteer__item + .p-top-volunteer__item {
  border-left: 1px solid #000000;
}

.p-top-volunteer__link {
  display: block;
  text-align: center;
  font-size: 1.8rem;
  padding: 25px 40px 65px 40px;
  position: relative;
  transition: color .3s;
}

.p-top-volunteer__link:hover {
  color: #E3AF4D;
}

.p-top-volunteer__link::after {
  content: '';
  width: 26px;
  height: 26px;
  display: block;
  background-image: url(../img/common/arrow.svg);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: contain;
  position: absolute;
  bottom: 17px;
  left: 50%;
  transform: translateX(-50%);
}

@media screen and (max-width: 767px) {
  .p-top-volunteer {
    margin-top: 60px;
  }

  .p-top-volunteer__inner {
    padding: 0 20px;
  }

  .p-top-volunteer__heading {
    font-size: 2rem;
  }

  .p-top-volunteer__list {
    display: block;
    margin-top: 30px;
  }

  .p-top-volunteer__item + .p-top-volunteer__item {
    border-left: none;
    border-top: 1px solid #000000;
  }

  .p-top-volunteer__link {
    font-size: 1.4rem;
    padding: 35px 0px 60px 0px;
  }

  .p-top-volunteer__link::after {
    width: 18px;
    height: 18px;
    bottom: 30px;
  }
}


/* 図書情報 */
.p-top-library {
  width: 100%;
  height: auto;
  margin-top: 100px;
  padding: 80px 0;
  background-color: #FAF8F2;
}

.p-top-library__inner {
  width: 100%;
  max-width: 1200px;
  height: auto;
  margin: 0 auto;
  padding: 0 40px;
}

.p-top-library__heading {
  font-size: 2.4rem;
  font-weight: 700;
}

.p-top-library-more-sp {
  display: none;
}

.p-top-library__wrap {
  width: 100%;
  margin-top: 50px;
  display: flex;
  justify-content: space-between;
}

.p-top-library__unit {
  width: 47%;
}

.p-top-library__label {
  font-size: 2rem;
  font-weight: 700;
}

.p-top-library__list {
  margin-top: 25px;
}

.p-top-library__item {
  font-size: 2rem;
  padding-left: 1em;
  text-indent: -1em;
}

.p-top-library__item::before {
  content: '・';
}

.p-top-library__item + .p-top-library__item {
  margin-top: 18px;
}

.p-top-library__text {
  font-size: 2rem;
  margin-top: 18px;
}

.p-top-library-more {
  margin-top: 90px;
  text-align: center;
}

.p-top-library-more__inner {
  display: inline-block;
}

.p-top-library-more__link {
  font-size: 2rem;
  display: flex;
  align-items: center;
  transition: color .3s;
}

.p-top-library-more__link:hover {
  color: #E3AF4D;
}

.p-top-library-more__link::before {
  content: '';
  width: 26px;
  height: 26px;
  display: block;
  margin-right: 10px;
  background-image: url(../img/common/arrow.svg);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: contain;
}

@media screen and (max-width: 767px) {
  .p-top-library {
    margin-top: 60px;
    padding: 40px 0;
  }

  .p-top-library__inner {
    padding: 0 20px;
  }

  .p-top-library__head {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .p-top-library__heading {
    font-size: 2rem;
  }

  .p-top-library-more-sp {
    display: block;
  }

  .p-top-library-more-sp__link {
    font-size: 1.4rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    position: relative;
  }

  .p-top-library-more-sp__link::before {
    content: '';
    width: 18px;
    height: 18px;
    display: block;
    margin-right: 5px;
    background-image: url(../img/common/arrow.svg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: contain;
  }

  .p-top-library__wrap {
    margin-top: 30px;
    display: block;
  }

  .p-top-library__unit {
    width: 100%;
    padding: 0 20px;
  }

  .p-top-library__unit + .p-top-library__unit {
    margin-top: 30px;
  }

  .p-top-library__label {
    font-size: 1.6rem;
  }

  .p-top-library__list {
    margin-top: 20px;
  }

  .p-top-library__item {
    font-size: 1.4rem;
  }

  .p-top-library__item + .p-top-library__item {
    margin-top: 10px;
  }

  .p-top-library__text {
    font-size: 1.4rem;
    margin-top: 15px;
  }

  .p-top-library-more {
    display: none;
  }
}


/* バナー */
.p-top-banner {
  width: 100%;
  height: auto;
}

.p-top-banner__list {
  display: flex;
  border: 1px solid #707070;
}

.p-top-banner__item {
  width: 50%;
  height: 147px;
}

.p-top-banner__item + .p-top-banner__item {
  border-left: 1px solid #707070;
}

.p-top-banner__link {
  width: 100%;
  height: 100%;
  font-size: 2.4rem;
  font-weight: 700;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: color .3s;
}

.p-top-banner__link:hover {
  color: #E3AF4D;
}

.p-top-banner__link::before {
  content: '';
  width: 26px;
  height: 26px;
  display: block;
  margin-right: 10px;
  background-image: url(../img/common/arrow.svg);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: contain;
}

@media screen and (max-width: 767px) {
  .p-top-banner__list {
    flex-direction: column;
    border: 1px solid #707070;
  }

  .p-top-banner__item {
    width: 100%;
    height: 70px;
  }

  .p-top-banner__item + .p-top-banner__item {
    border-left: none;
    border-top: 1px solid #707070;
  }

  .p-top-banner__link {
    font-size: 1.6rem;
    font-weight: 700;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: color .3s;
  }

  .p-top-banner__link::before {
    width: 18px;
    height: 18px;
    margin-right: 5px;
  }
}

/* 満足度調査 */
.p-top-satisfaction {
  width: 100%;
  height: auto;
  margin-top: 100px;
}

.p-top-satisfaction__inner {
  width: 100%;
  max-width: 1200px;
  height: auto;
  margin: 0 auto;
  padding: 0 40px;
}

.p-top-satisfaction__heading {
  font-size: 2.4rem;
  font-weight: 700;
}

.p-top-satisfaction__text {
  font-size: 2rem;
  margin: 50px 48px 0 48px;
}

.p-top-satisfaction-more {
  margin: 35px 48px 0 48px;
  display: inline-block;
}

.p-top-satisfaction-more__link {
  font-size: 2rem;
  display: flex;
  align-items: center;
  transition: color .3s;
}

.p-top-satisfaction-more__link:hover {
  color: #E3AF4D;
}

.p-top-satisfaction-more__link::before {
  content: '';
  width: 26px;
  height: 26px;
  display: block;
  margin-right: 10px;
  background-image: url(../img/common/arrow.svg);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: contain;
}

@media screen and (max-width: 767px) {
  .p-top-satisfaction {
    margin-top: 60px;
  }

  .p-top-satisfaction__inner {
    padding: 0 20px;
  }

  .p-top-satisfaction__heading {
    font-size: 2rem;
  }

  .p-top-satisfaction__text {
    font-size: 1.4rem;
    margin: 30px 20px 0 20px;
  }

  .p-top-satisfaction-more {
    margin: 20px 20px 0 20px;
  }

  .p-top-satisfaction-more__link {
    font-size: 1.4rem;
  }

  .p-top-satisfaction-more__link::before {
    width: 18px;
    height: 18px;
    margin-right: 5px;
  }
}


/* マスコット */
.p-top-mascot {
  width: 100%;
  height: auto;
  margin-top: 50px;
}

.p-top-mascot__inner {
  width: 100%;
  max-width: 1200px;
  height: auto;
  margin: 0 auto;
  padding: 0 40px;
}

.p-top-mascot__img {
  width: 312px;
  margin: 0 auto;
}

.p-top-mascot__text {
  text-align: center;
  font-size: 1.6rem;
  margin-top: 20px;
}

@media screen and (max-width: 767px) {
  .p-top-mascot__inner {
    padding: 0 20px;
  }
  
  .p-top-mascot__img {
    width: 156px;
  }
  
  .p-top-mascot__text {
    font-size: 1rem;
  }
}