@charset "UTF-8";

/*!
Theme Name: Cocoon Child
Description: Cocoon専用の子テーマ
Theme URI: https://wp-cocoon.com/
Author: わいひら
Author URI: https://nelog.jp/
Template:   cocoon-master
Version:    1.1.3
*/

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/
/*フォント*/
.lexend-exa {
  font-family: "Lexend Exa", sans-serif;
  font-optical-sizing: auto;
  font-weight: weight;
  font-style: normal;
  }

  .zen-kaku-gothic-antique-regular {
  font-family: "Zen Kaku Gothic Antique", sans-serif;
  font-weight: 400;
  font-style: normal;
  }

  section {
   margin: 1rem 0;
   padding-inline: 2rem;
   width: 100%;
  }
  
  h2 {
  color: #fff;
  font-size: 2rem;
  }

  .colorline {
    border: 1px solid rgb(189, 187, 182);
  }

/* カルーセル */
  .cover {
    width: 100%;
  }

  .slide {
      max-width: 100%;
      margin: 0 auto;
      z-index: 200;
  }

  .slide div {
      background-repeat: no-repeat;
      background-size: cover;
      background-position: center;
      margin: 0;
    }

  .sliderArea.w300 {
      max-width: 300px;
  }
  .slick-slide {
      margin: 0 5px;
      height: auto !important;
  }
  .slick-slide img {
      width: 100%;
      height: 30rem; 
  }
  .slick-prev, .slick-next {
      z-index: 1;
  }
  .slick-prev:before, .slick-next:before {
      color: #fff;
  } 
  .slick-slide {
      transition: all ease-in-out .3s;
      opacity: .2;
  }
  .slick-active {
      opacity: 1;
  }
  .slick-current {
      opacity: 1;
  }
  .thumb {
      margin: 20px 0 0;
  }
  .thumb .slick-slide {
      cursor: pointer;
  }
  .thumb .slick-slide:hover {
      opacity: .7;
  }

.blogcard {
  line-height: 2;
  background-color: rgb(224, 215, 190);
  border: 2px solid #eeeeee;
  word-wrap: break-word;
  margin: 40px;
  box-shadow: 0 0 10px 6px rgba(0,0,0,.025);
}
.blogcard a {
  text-decoration: none;
  opacity: 1;
  transition: all 0.2s ease;
}
.blogcard a:hover {
  opacity: 0.6;
}
.blogcard_thumbnail {
  float: left;
  padding: 20px;
}
.blogcard_title {
  font-size: 1.5rem;
  font-weight: bold;
  line-height: 1.5;
  padding: 17px 20px 10px;  
}
.blogcard_excerpt {
  font-size: 0.85em;
  line-height: 1.6;
  padding: 0 17px 15px 20px;
}

/* 今月の特集　CSS */

/* ホテル紹介 */
.link-block {
  background-color: #4b3e2f;
  color: #fff;
}
/* 一覧のカード */
.title {
  background-color: #5b523f;
  text-align: center;
  font-size: 1.5rem;
  margin: 2rem;
  padding: 1.5rem 0;
}

.list-item-content {
  display: flex;
  align-items: flex-start; /* 垂直方向で上揃え */
  gap: 20px; /* サムネイルとテキスト間のスペース */
  border: 1px solid #ddd; /* カードのボーダー */
  padding: 15px;
  margin-bottom: 20px;
  border-radius: 8px; /* カードの角を丸める */
  background-color: #f5f2e5; /* カードの背景色 */
}

.thumbnail img {
  max-width: 150px; /* サムネイルの幅を調整 */
  height: auto;
  border-radius: 8px; /* サムネイルの角を丸める */
}

.text-content {
  flex: 1; /* テキスト部分を残りのスペースで拡大 */
}

.text-content h2 {
  margin-top: 0;
  font-size: 1.5rem;
}

.text-content .excerpt {
  font-size: 1rem;
  color: #666;
}

.card {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3列 */
  grid-gap: 20px; /* カード間のスペース */
}

.entry {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.entry__inner img {
  object-fit: cover; /* Ensure the images maintain aspect ratio */
}

.entry__inner {
  border: 2px solid #4b3e2f;
  width: 20rem;
  height: 20rem;
  display: block;
  margin: 0 auto;
  text-align: center;
}

.entry__ttl{
  font-size: 1rem;
}

.page-numbers {
  color: var(--cocoon-text-color);
  text-decoration: none;
  display: inline-block;
  height: 46px;
  width: 4rem;
  border: 1px solid var(--cocoon-thin-color);
  margin: 0 4px;
  line-height: 46px;
  text-align: center;
  border-radius: var(--cocoon-basic-border-radius);
}

/* 他記事 */
#columnarea {
  padding: 2rem;
}

.internal-blogcard-snippet {
	font-size:1.5rem;
	text-align:center;
}

.internal-blogcard-footer , .internal-blogcard-title {
	display:none;
}

.padding-inline {
  padding-inline: 2rem;
}
/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px){
  /*必要ならばここにコードを書く*/
  .card {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 3列 */
    grid-gap: 20px; /* カード間のスペース */
  }
  
  .entry {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
}

/*834px以下*/
@media screen and (max-width: 834px){
  /*必要ならばここにコードを書く*/
  .card {
    display: block;
  }

  .entry {
    width: 100%;
    margin: 1rem 0;
  }

  .entry__inner {
    width: 90%;
    height: auto;
  }

}

/*480px以下*/
@media screen and (max-width: 480px){
  /*必要ならばここにコードを書く*/
  @media screen and (max-width: 768px) {
    .blogcard {
      margin: 40px 0;
    }
    .blogcard_title {
      font-size: 0.95em;
      padding-bottom: 17px;
    }
    .blogcard_excerpt  {
      display: none;
    }
  }
}
