@charset "UTF-8";
/*==================================
common
==================================*/
body {
  color: #66594f;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
  letter-spacing: 0.25em;
}

#skiptocontent a {
  color: #ffffff;
  background: #66594f;
}

button {
  letter-spacing: 0.1em;
}

/*==================================
Scrollin
==================================*/
.scrollin,
.scrollins__item {
  opacity: 0;
  transform: translate(0, 30px);
}

.scrollin.is-visible,
.scrollins__item.is-visible {
  opacity: 1;
  transform: translate(0, 0);
  transition: 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/*==================================
共通パーツ
==================================*/
.u-relative {
  position: relative;
}

.u-block {
  display: block;
}

.u-height100 {
  height: 100%;
}

.c-btn {
  width: min(100%, 320px);
  padding: 20px 30px;
  background: #7a6a37;
  color: #fff;
  border-radius: 33px;
  font-weight: 700;
  line-height: 1;
  font-family: "Zen Old Mincho", serif;
  text-align: center;
}
.c-btn:hover {
  opacity: 0.7;
}

/* 見出し */
.p-library-title {
  font-size: 2.8rem;
  font-family: "Zen Old Mincho", serif;
  font-weight: 700;
  color: #7A6A37;
}
.p-library-title_line {
  padding-bottom: 0.5em;
  border-bottom: solid 1px #7A6A37;
}

@media only screen and (max-width: 767px) {
  .p-library-title {
    font-size: 2.2rem;
  }
}
.bg_texture {
  background: url(/library/assets/images/texture.jpg);
}

.bg_brown {
  background: #66594F;
}

/* 各セクションイラスト */
.p-library-illust {
  position: relative;
}
.p-library-illust::before {
  content: "";
  position: absolute;
  width: 140px;
  aspect-ratio: 1;
  z-index: 1;
}

.p-library-illust01::before {
  background: url(/library/assets/images/illust1.png) no-repeat center/cover;
  bottom: -10%;
  right: 0;
}

.p-library-illust02::before {
  background: url(/library/assets/images/illust2.png) no-repeat center/cover;
  bottom: -18%;
  right: 5%;
}

.p-library-illust03::before {
  background: url(/library/assets/images/illust3.png) no-repeat center/cover;
  bottom: -14%;
  right: 14%;
}

@media only screen and (max-width: 767px) {
  .p-library-illust::before {
    width: 100px;
  }
  .p-library-illust01::before {
    bottom: 10%;
  }
}
.p-library-bg_circle {
  position: relative;
}
.p-library-bg_circle::before {
  content: "";
  width: 80%;
  max-width: 560px;
  aspect-ratio: 1;
  border-radius: 50%;
  position: absolute;
  background: url(/library/assets/images/texture.jpg);
}
.p-library-bg_circle_right::before {
  top: 0;
  right: -80px;
}
.p-library-bg_circle_left::before {
  left: -80px;
  bottom: 0;
}
.p-library-bg_circle--pt80 {
  padding-top: 80px;
}
.p-library-bg_circle--pb80 {
  padding-bottom: 80px;
}

@media only screen and (max-width: 767px) {
  .p-library-bg_circle_right::before {
    right: -10px;
  }
  .p-library-bg_circle_left::before {
    left: -10px;
  }
  .p-library-bg_circle--pt80 {
    padding-top: 0;
  }
  .p-library-bg_circle--pb80 {
    padding-bottom: 0;
  }
}
/*==================================
  Header -  ヘッダー
==================================*/
.l-header_inner {
  padding: 30px 60px;
  text-align: center;
}
.l-header_logo {
  width: 23%;
  min-width: 240px;
  display: inline-block;
}
.l-header_logo a {
  display: inline-block;
}

@media only screen and (max-width: 767px) {
  .l-header_inner {
    padding: 20px 40px;
  }
}
/*==================================
  MainVisual - メインビジュアル
==================================*/
.p-library-mv_image {
  width: 100%;
  max-width: 1840px;
  margin: 0 auto;
  position: relative;
  background: url(/library/assets/images/main-image.jpg) no-repeat center/cover;
  aspect-ratio: 23/11;
  height: 72vh;
  padding-bottom: 30px;
}
.p-library-mv_image img {
  width: 40%;
  max-width: 200px;
  filter: drop-shadow(0px 0px 10px #000);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.p-library-mv_image::before {
  content: "RAIWA YAHIKO LIBRARY";
  color: #fff;
  letter-spacing: 0.75em;
  font-weight: 700;
  white-space: nowrap;
  font-size: max(1rem, 1vw);
  position: absolute;
  bottom: 5%;
  left: 50%;
  transform: translateX(-50%);
}

@media only screen and (max-width: 767px) {
  .p-library-mv_image::before {
    bottom: 30px;
  }
}
/*==================================
  About - らいわ弥彦について
==================================*/
.p-library-about_img {
  padding-left: 50%;
  position: relative;
  min-height: 405px;
}
.p-library-about_img--rev {
  padding-right: 50%;
  position: relative;
  min-height: 405px;
}
.p-library-about_img::before, .p-library-about_img--rev::before {
  content: "";
  position: absolute;
  top: 0;
  width: calc(50% - 40px);
  aspect-ratio: 4/3;
}
.p-library-about_img::before {
  left: 0;
}
.p-library-about_img--rev::before {
  right: 0;
}
.p-library-about_img--01::before {
  background: url(/library/assets/images/sec-img01.jpg) no-repeat center/cover;
}
.p-library-about_img--02::before {
  background: url(/library/assets/images/sec-img02.jpg) no-repeat center/cover;
}

@media only screen and (max-width: 1199px) {
  .p-library-about_img {
    padding-left: 0;
    padding-top: calc(75% + 20px);
  }
  .p-library-about_img--rev {
    padding-right: 0;
    padding-top: calc(75% + 20px);
  }
  .p-library-about_img::before, .p-library-about_img--rev::before {
    content: "";
    width: 100%;
  }
}
.p-library-about_def {
  display: flex;
  gap: 40px;
  align-items: center;
}
.p-library-about_head {
  font-family: "Zen Old Mincho", serif;
  width: 130px;
  height: 130px;
  background-color: #66594F;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
}
.p-library-about_body {
  flex: 1;
}

@media only screen and (max-width: 767px) {
  .p-library-about_def {
    display: block;
  }
  .p-library-about_head {
    width: 100%;
    height: auto;
    justify-content: flex-start;
  }
  .p-library-about_body {
    margin-top: 10px;
  }
}
.c-circleList_item {
  position: relative;
  padding-left: 1.25em;
}
.c-circleList_item::before {
  content: "";
  position: absolute;
  top: 0.5em;
  left: 0;
  width: 1em;
  aspect-ratio: 1;
  background-color: #66594F;
  border-radius: 50%;
}

/*==================================
  News - 新着情報
==================================*/
#p-library-news .bg_texture {
  max-width: 1840px;
  margin: 0 auto;
}

.p-library-news-list {
  background: linear-gradient(to right, #7A6A37 2px, transparent 2px) repeat-x left bottom/4px 2px;
}
.p-library-news-list_item {
  display: flex;
  gap: 40px;
  padding: 30px 20px;
  background: linear-gradient(to right, #7A6A37 2px, transparent 2px) repeat-x left top/4px 2px;
}

.p-library-news_head > time {
  font-weight: 700;
}
.p-library-news_body {
  flex: 1;
}

@media only screen and (max-width: 767px) {
  .p-library-news-list_item {
    display: block;
    padding: 20px;
  }
}
/*==================================
  Facility - 施設について
==================================*/
.p-library-facility-bnrlist {
  display: grid;
  gap: 40px;
  grid-template-columns: repeat(4, 1fr);
}

.p-library-facility-bnrlist_item {
  text-align: center;
}
.p-library-facility-bnrlist_item > a {
  text-decoration: none;
  color: inherit;
}
.p-library-facility-bnrlist_item span {
  display: block;
  padding-top: calc(75% + 20px);
  position: relative;
}
.p-library-facility-bnrlist_item span::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  aspect-ratio: 4/3;
  width: 100%;
}
.p-library-facility-bnrlist_item--img01 span::before {
  background: url(/library/assets/images/banner01.jpg) no-repeat center/cover;
}
.p-library-facility-bnrlist_item--img02 span::before {
  background: url(/library/assets/images/banner02.jpg) no-repeat center/cover;
}
.p-library-facility-bnrlist_item--img03 span::before {
  background: url(/library/assets/images/banner03.jpg) no-repeat center/cover;
}
.p-library-facility-bnrlist_item--img04 span::before {
  background: url(/library/assets/images/banner04.jpg) no-repeat center/cover;
}

@media only screen and (max-width: 1199px) {
  .p-library-facility-bnrlist {
    grid-template-columns: repeat(2, 1fr);
  }
  .p-library-facility-bnrlist span {
    padding-top: calc(75% + 10px);
  }
}
@media only screen and (max-width: 767px) {
  .p-library-facility-bnrlist {
    gap: 20px;
  }
}
.p-library-facility-linklist {
  display: flex;
  gap: 40px;
}

.p-library-facility-linklist_item {
  flex: 1;
}
.p-library-facility-linklist_item a {
  display: block;
  padding: 40px 60px;
  background: #7A6A37;
  text-decoration: none;
  color: #fff;
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
}
.p-library-facility-linklist_item .p-library-facility-linklist_icon {
  padding-left: 140px;
  position: relative;
}
.p-library-facility-linklist_item .p-library-facility-linklist_icon::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  aspect-ratio: 10/9;
  width: 100px;
}
.p-library-facility-linklist_item .p-library-facility-linklist_icon--img01::before {
  background: url(/library/assets/images/about-icon01.svg) no-repeat center/cover;
}
.p-library-facility-linklist_item .p-library-facility-linklist_icon--img02::before {
  background: url(/library/assets/images/about-icon02.svg) no-repeat center/cover;
}

@media only screen and (max-width: 1199px) {
  .p-library-facility-linklist {
    gap: 20px;
    flex-direction: column;
  }
}
@media only screen and (max-width: 767px) {
  .p-library-facility-linklist_item a {
    padding: 30px 20px;
  }
  .p-library-facility-linklist_item .p-library-facility-linklist_icon {
    padding-left: 70px;
  }
  .p-library-facility-linklist_item .p-library-facility-linklist_icon::before {
    width: 50px;
  }
}
/*==================================
  Social - らいわ弥彦SNS
==================================*/
.p-library-social-list {
  display: flex;
  gap: 40px;
}
.p-library-social-list_item {
  flex: 1;
}
.p-library-social-list_item > a {
  display: block;
  padding: 20px 40px;
  border: 1px solid #7A6A37;
  text-decoration: none;
  color: inherit;
  font-weight: 700;
  width: 100%;
  max-width: 360px;
  margin: 0 auto;
}
.p-library-social-list_icon {
  display: block;
  padding-left: 60px;
  position: relative;
}
.p-library-social-list_icon::before {
  content: "";
  width: 40px;
  aspect-ratio: 1;
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}

.icon-facebook::before {
  background: url(/library/assets/images/sns_facebook.svg) no-repeat center/cover;
}

.icon-twitter::before {
  background: url(/library/assets/images/sns_twitter.svg) no-repeat center/cover;
}

.icon-instagram::before {
  background: url(/library/assets/images/sns_instagram.svg) no-repeat center/cover;
}

@media only screen and (max-width: 1199px) {
  .p-library-social-list {
    gap: 20px;
    flex-direction: column;
  }
}
@media only screen and (max-width: 767px) {
  .p-library-social-list {
    gap: 20px;
  }
  .p-library-social-list_item > a {
    padding: 20px;
  }
}
/*==================================
  Footer - フッター
==================================*/
.l-footer_inner {
  padding-bottom: 20px;
  color: #fff;
  background: #65584E;
  position: relative;
}
.l-footer_inner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background: #fff;
}
.l-footer_logo {
  width: 40%;
}
.l-footer_logo a {
  display: inline-block;
}
.l-footer_content {
  display: flex;
  gap: 60px;
  align-items: center;
}
.l-footer_map {
  width: 100%;
  max-width: 560px;
  aspect-ratio: 7/5;
}
.l-footer_map iframe {
  width: 100%;
  height: 100%;
}
.l-footer_top {
  position: absolute;
  top: 130px;
  right: 80px;
}
.l-footer_top a {
  color: #fff;
  text-decoration: none;
  position: relative;
  padding-top: 170px;
}
.l-footer_top a::before {
  content: "";
  background: url(/library/assets/images/illust4.png) no-repeat center/cover;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translatex(-50%);
  width: 150px;
  aspect-ratio: 1;
}
.l-footer_top a::after {
  content: "";
  position: absolute;
  bottom: 22px;
  left: 50%;
  width: 8px;
  aspect-ratio: 1;
  border-top: 2px solid #fff;
  border-left: 2px solid #fff;
  transform: rotate(45deg) translateX(-50%);
}

@media only screen and (max-width: 767px) {
  .l-footer_content {
    flex-direction: column;
    gap: 30px;
    text-align: center;
  }
  .l-footer_top {
    top: 110px;
    right: 20px;
  }
  .l-footer_top a {
    padding-top: 120px;
  }
  .l-footer_top a::before {
    width: 100px;
  }
  .l-footer_top a::after {
    bottom: 20px;
    width: 6px;
  }
}
.c-btn_white {
  background: transparent;
  border: 1px solid #fff;
}