/* セクション毎に背景色と文字色を変更 */
#top_page section {
  padding: 120px 50px;
}

#top_page section:nth-of-type(2n-1) {
  background-color: var(--main-color);
}

#top_page section:nth-of-type(2n-1) h2,
#top_page section:nth-of-type(2n-1) h3,
#top_page section:nth-of-type(2n-1) h4,
#top_page section:nth-of-type(2n-1) p {
  color: var(--white-color);
}

#top_page section:nth-of-type(2n) {
  background-color: var(--base-color);
}

#top_page section:nth-of-type(2n) h2,
#top_page section:nth-of-type(2n) h3,
#top_page section:nth-of-type(2n) h4,
#top_page section:nth-of-type(2n) p {
  color: var(--black-color);
}

@media only screen and (max-width: 868px) {
  #top_page section {
    padding: 60px 15px;
  }
}

/* 冒頭メッセージ */
#top_page .top-h2 {
  font-size: 1.75rem;
  font-weight: 500;
  line-height: 1.8;
  text-align: center;
}

@media only screen and (max-width: 868px) {
  #top_page .top-h2 {
    font-size: 1.25rem;
  }
}

#top_page .top-first .txt-box .txt>p {
  font-size: 1rem;
  line-height: 2.5;
  margin-left: 12%;
  text-align: center;
}

#top_page .top-first .txt-box .txt>p:last-child {
  margin-left: 0;
}

@media only screen and (max-width: 868px) {
  #top_page .top-first {
    padding: 40px 0;
    margin-bottom: 0px;
  }

  #top_page .top-first .txt-box {
    display: block;
  }

  #top_page .top-first .txt-box .txt {
    width: 100%;
    font-size: 1rem;
    padding-top: 15px;
    line-height: 1.6;
    gap: 10px 0;
  }

  #top_page .top-first .txt-box .txt>p {
    margin-left: 0;
    line-height: 1.8;
    font-size: clamp(13px, 5.286px + 2.143vw, 16px);
  }
}

/* 冒頭メッセージここまで */


/* こだわり */
#top_page .kodawari-box {
  padding-top: 90px;
  padding-bottom: 100px;
}

#top_page .kodawari-box .inr {
  width: 96%;
  max-width: 1500px;
  margin: 0 auto;
}

#top_page .kodawari-box .inr h2 {
  text-shadow: 1px 1px 15px #fff;
}

#top_page .kodawari-box .inr .logo {
  width: 15%;
  margin: 40px auto;
}

#top_page .kodawari-box .inr .logotop {
  width: 100%;
}

#top_page .kodawari-box .case-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

#top_page .kodawari-box .case-list li {
  width: 16.5%;
  height: auto;
}

#top_page .kodawari-box .case-list li img {
  border-radius: 142px;
}

#top_page .kodawari-box .kodawari-list {
  display: flex;
  justify-content: center;
}

#top_page .kodawari-box .kodawari-list li {
  width: 23.5%;
  max-width: 500px;
  height: auto;
  position: relative;
  margin: 0 20px;
}

#top_page .kodawari-box .kodawari-list li p {
  font-size: 36px;
  color: var(--white-color);
  text-shadow: 1px 1px 15px var(--black-color);
  position: absolute;
  bottom: 0;
  left: 12px;
}

#top_page .kodawari-box .kodawari-list li a:hover {
  opacity: 0.6;
}

#top_page .kodawari-box .kodawari-list li img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

/*Smartphone*/
@media screen and (max-width: 868px) {
  #top_page .kodawari-box {
    padding-top: 50px;
    padding-bottom: 30px;
  }

  #top_page .kodawari-box .inr p {
    font-weight: 300;
  }

  #top_page .kodawari-box .inr p span {
    display: inline-block;
  }

  #top_page .kodawari-box .inr .logo {
    width: 65%;
    margin: 40px auto;
  }

  #top_page .kodawari-box .case-list {
    justify-content: space-around;
  }

  #top_page .kodawari-box .case-list li {
    width: 48%;
    height: auto;
  }

  #top_page .kodawari-box .kodawari-list {
    flex-wrap: wrap;
    justify-content: space-evenly;
  }

  #top_page .kodawari-box .kodawari-list li {
    width: 48%;
    height: auto;
    margin-bottom: 2%;
  }

  #top_page .kodawari-box .kodawari-list li p {
    font-size: 40px;
    left: 25px;
  }
}

@media screen and (max-width: 680px) {
  #top_page .kodawari-box .kodawari-list li {
    width: 96%;
    max-width: none;
    height: auto;
    margin-bottom: 4%;
  }
}

/* こだわりここまで */

/* 魅力 */
#top_page .top-charm-box {
  margin: 0;
}

/* 魅力ここまで */

/* アクティビティ */
#top_page .top-activity .txt-box p {
  color: var(--black-color);
}

/* gallery */
/* ギャラリー */
.photo-gallery {
  position: relative;
}

.gallery_list {
  position: relative;
  z-index: 1;
}

.gallery_list li {
  width: 400px;
  height: 300px;
}

.gallery_list li img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media screen and (max-width: 896px) {
  .gallery_list li {
    width: 200px;
    height: 160px;
  }
}

.show_slide {
  position: relative;
  z-index: 10;
  cursor: pointer;
}

#top_page .gallery-box {
  padding: 80px 0;
  overflow: hidden;
}

#top_page .gallery-box .sub-txt {
  font-size: 1rem;
  text-align: center;
}

#hide_slide {
  width: 32px;
  height: 32px;
  position: absolute;
  top: 0;
  right: 0;
  background: #f0f0f0;
  cursor: pointer;
}

#hide_slide span {
  width: 32px;
  height: 2px;
  position: absolute;
  top: 14px;
  right: 0;
  background: #333;
}

#hide_slide span:nth-of-type(1) {
  transform: rotate(135deg);
}

#hide_slide span:nth-of-type(2) {
  transform: rotate(-135deg);
}

#toggle_slide {
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  background: #fff;
  position: fixed;
  top: 0;
  right: -100%;
  z-index: 999999;
  visibility: hidden;
  opacity: 0;
  transition: all 0.3s ease-in-out;
}

#toggle_slide.on {
  right: 0;
  visibility: visible;
  opacity: 1;
}

.toggle_slide_wrap {
  width: 100%;
  height: 100%;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  box-sizing: border-box;
}

.toggle_slide_wrap .left_slide {
  width: 65%;
  padding: 60px;
  box-sizing: border-box;
  background: #f0f0f0;
}

.toggle_slide_wrap .right_slide {
  width: 35%;
  height: 100%;
  padding: 60px;
  box-sizing: border-box;
  overflow-y: scroll;
}

.gallery_slide_main {
  width: 100%;
}

.gallery_slide_main .swiper-button-next,
.gallery_slide_main .swiper-button-prev {
  top: 50% !important;
}

.gallery_slide_main .swiper-slide .gl_slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery_slide_thumbnail {
  width: 100%;
}

.gallery_slide_main .swiper-slide {
  width: 100% !important;
}

.gallery_slide_thumbnail .swiper-wrapper {
  width: 100%;
  height: auto;
  flex-wrap: wrap;
  justify-content: space-between;
}

.gallery_slide_thumbnail .swiper-slide {
  width: 33% !important;
  margin: 1px 0;
}

.gallery_slide_thumbnail .swiper-slide .gl_slide {
  width: 100%;
  height: 100%;
}

.gallery_slide_thumbnail .swiper-slide .gl_slide img {
  width: 100%;
  height: 100px;
  object-fit: cover;
}

.gallery_slide_thumbnail .swiper-slide.swiper-slide-thumb-active {
  opacity: 0.5;
}

.show_slide {
  cursor: pointer;
}

@media screen and (max-width: 896px) {
  .gallery_slide_thumbnail .swiper-slide .gl_slide img {
    height: 68px;
  }

  .toggle_slide_wrap {
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
  }

  .toggle_slide_wrap .left_slide {
    width: 100%;
    padding: 40px 20px 20px;
  }

  .toggle_slide_wrap .right_slide {
    width: 100%;
    height: 360px;
    padding: 20px;
    overflow-y: scroll;
  }
}

.show_slide.v2 {
  max-width: 252px;
  text-align: center;
  margin: 20px auto;
}

.show_slide.v2 span {
  display: inline-block;
  width: 180px;
  font-size: 14px;
  padding: 10px 30px;
  margin: 0 auto;
  color: #fff;
  background-color: var(--accent-color-cool);
  /* background: #1d4447; */
  color: var(--white-color);
  transition: all 0.2s;
  text-align: center;
  border-radius: 24px;
  /* border: 1px solid #1d4447; */
  letter-spacing: 3px;
  line-height: 2.2;
}

#top_page .gallery-box .photo-gallery .swiper-wrapper {
  transition-timing-function: linear;
}

#top_page .gallery-box .photo-gallery .swiper-wrapper .swiper-slide {
  width: 33%;
  height: auto;
}

#top_page .gallery-box .photo-gallery .swiper-wrapper .swiper-slide .item {
  position: relative;
}

#top_page .gallery-box .photo-gallery .swiper-wrapper .swiper-slide .item .img-box {
  width: 100%;
  padding-bottom: 70%;
  box-sizing: border-box;
  position: relative;
}

#top_page .gallery-box .photo-gallery .swiper-wrapper .swiper-slide .item .img-box>img {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

#top_page .gallery-box .photo-gallery .swiper-wrapper .swiper-slide .item .txt-box {
  position: absolute;
  width: 100%;
  background: rgba(0, 0, 0, 0.6);
  left: 0;
  bottom: 0;
  padding: 7px 20px;
  box-sizing: border-box;
}

#top_page .gallery-box .photo-gallery .swiper-wrapper .swiper-slide .item .txt-box>p {
  font-size: 1.25rem;
  color: #fff;
}

@media only screen and (max-width: 896px) {
  #top_page .gallery-box .sub-txt {
    font-size: 1rem;
  }

  #top_page .gallery-box .photo-gallery .swiper-wrapper .swiper-slide {
    width: 84%;
  }

  #top_page .gallery-box .photo-gallery .swiper-wrapper .swiper-slide .item .txt-box {
    padding: 5px 15px;
  }

  #top_page .gallery-box .photo-gallery .swiper-wrapper .swiper-slide .item .txt-box>p {
    font-size: 1rem;
  }
}

/* ギャラリーここまで */

/* ニュース */
#top_page .top-news {
  display: flex;
  justify-content: space-between;
}

#top_page .top-news .r-box {
  width: 76%;
}

@media only screen and (max-width: 868px) {
  #top_page .top-news {
    flex-wrap: wrap;
    position: relative;
    padding-bottom: 70px;
  }

  #top_page .top-news .l-box .btn-box {
    position: absolute;
    right: 0;
    bottom: 0;
  }

  #top_page .top-news .r-box {
    width: 100%;
  }
}

/* ニュースここまで */

/* アクセス */
#top_page .top-access .g-map {
  margin-bottom: 60px;
}

#top_page .top-access .txt-box {
  text-align: center;
}

#top_page .top-access .txt-box .ttl {
  font-size: 1.25rem;
  display: inline-block;
  border: 1px solid #888178;
  padding: 10px 30px;
  margin-bottom: 20px;
}

@media only screen and (max-width: 868px) {
  #top_page .top-access {
    margin-bottom: 80px;
  }

  #top_page .top-access .g-map {
    margin-bottom: 40px;
  }
}

#top_page .top-access ul {
  margin: 80px 50px 0;
}

@media screen and (max-width: 896px) {
  #top_page .top-access ul {
    margin: 80px 3% 0;
  }
}

#top_page .top-access ul li {
  display: flex;
  color: #333;
  margin-bottom: 30px;
  background: #fff;
}

@media screen and (max-width: 896px) {
  #top_page .top-access ul li {
    flex-direction: column;
  }
}

@media screen and (min-width: 1800px) {
  #top_page .top-access li ul {
    margin-bottom: 80px;
  }
}

#top_page .top-access ul li h3 {
  background: var(--base-color);
  color: var(--black-color);
  font-size: 1.25rem;
  font-weight: 500;
  width: 26%;
  padding: 25px 15px;
  box-sizing: border-box;
}

@media screen and (max-width: 896px) {
  #top_page .top-access ul li h3 {
    width: 100%;
    text-align: center;
    border-right: none;
    border-bottom: 1px solid #d6e5e8;
  }
}

#top_page .top-access ul li p {
  color: var(--black-color);
  width: 74%;
  padding: 16px 14px;
}

@media screen and (max-width: 896px) {
  #top_page .top-access ul li p {
    width: 94%;
  }
}

/* アクセスここまで */