@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
*/

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/
body {
  background: #fff;

}
.sidebar h2, .sidebar h3 {
  background: #fff;
  color: #0b318f;
}
.section-title {
  text-align: center;
  color: #0b318f;
}
/* 固定記事カード */
.featured-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  overflow: hidden;
  text-decoration: none;
  margin-bottom: 50px;
}

.featured-thumbnail img {
  width: 100%;
  height: auto;
  border-radius: 12px;
}

.featured-content {
  padding: 20px;
}

.featured-title {
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: #333;
}

.featured-desc {
  color: #666;
  font-size: 1rem;
  line-height: 1.6;
}

/* 体験記事カード */
.taiken-articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 20px;
}

.taiken-item {
  background: #fff;
  overflow: hidden;
}


.taiken-item img {
  width: 100%;
  height: auto;
  border-radius: 12px;
}
.taiken-item a {
  text-decoration: none;
}
.taiken-item h3 {
  font-size: 1rem;
  padding: 10px;
  color: #333;
}
.taiken-item .taiken-date {
  text-align: right;
  color: #000;
  font-size: 0.8rem;
}
article .guide-shop {
  background: #0101ff;
  color: #fff;
}
.single-post main h1 {
    font-size: clamp(1.6rem, 4vw, 2rem);
    color: #ff6b9d;
    margin-bottom: 2rem;
    position: relative;
}

.single-post  main  h2 {
  background: #434343;
  color: #fff;
  padding: 20px;
}
.single-post main p {
    font-size: clamp(1.1rem, 2.5vw, 1.3rem);
    margin-bottom: 1.5rem;
}
.toc {
    border: 1px solid #ff6b9d;
    background: #434343;
    color: #fff;
    margin: 2rem auto;
    max-width: 700px;
}
.toc li {
  color: #ff2da9;
}
.toc li a {
  color:#fff;
}
.toc li ol li {
  color: #ffa6eb;
  font-size: 0.9rem;
  line-height: 1.4;
}
.single-post  main .has-fixed-layout tr:nth-child(odd) td {
    background: #7779ee;
  color: #fff;
}
.single-post  main .has-fixed-layout tr td {
  background: #a2a4ff;
  color: #fff;
}
.shop-single h2 {
  background: #434343;
  color: #fff;
  padding: 20px;
  margin-bottom: 2rem;
}
.shop-single h3 {
  background: #625da5;
  border-left: 4px solid #ff2da9;
  color: #ffffff;
  padding: 10px 20px;
  margin: 2rem auto;
  border-radius: 5px;
}
.sidebar-shop-list .shop-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}
.sidebar-shop-list .shop-list li a {
  text-decoration: none;
}
.sidebar-shop-list .shop-list li a img {
  width: 100%;
  transition: 0.3s;
}
.sidebar-shop-list .shop-list li a .shop-name {
  font-size: 0.8rem;
  padding: 0.2rem 0;
  text-align: center;
  background: #000;
  color: #fff;
}
.widget-entry-cards.large-thumb-on .card-title {
  font-size: 0.9rem;
}
.widget-entry-cards.large-thumb-on .card-content {
  padding: 0.2rem;
}
.post-list {
  background: #f8f9ff;
  border: 2px dotted #505eff;
  list-style: none;
  padding: 1rem 0.4rem;
  font-size: 1.1rem;
  max-width: 700px;
  width: 100%;
}
.caution-box {
  border: 2px dotted #f00;
  padding: 1rem 0.4rem;
  max-width: 700px;
  width: 100%;
  font-size: 1.2rem !important;
}
.ad-box {
  max-width: 700px;
  width: 100%;
}
.ad-box ul {
  list-style: none;
  padding: 1rem;
  margin: 0;
}
.ad-box p {
  font-weight: bold;
  margin: 0 !important;
}
.adv-box {
  background: #ededff;
  border: 2px solid #0101ff;
}
.adv-box p {
  background: #0101ff;
  color: #fff;
  padding: 0 0.4rem;
}

.disadv-box {
  background: #fde4e2;
  border: 2px solid #e54e34;
}
.disadv-box p {
  background: #e54e34;
  color: #fff;
  padding: 0 0.4rem;
}
.point-box {
  position: relative;
  padding: 30px 24px 20px;
  margin: 1.5em 0;
  border: 2px dotted #ffc107;
  background-color: #fffef5;
  max-width: 700px;
}
.point-box p {
  margin-bottom: 0 !important;
}
.point-box::before {
  content: "POINT";
  position: absolute;
  top: -10px;
  left: -5px;
  padding: 4px 12px;
  background-color: #ffc107;
  color: #333;
  font-weight: bold;
  font-size: 13px;
  border-radius: 4px;
}
.top-post {
  font-weight: bold;
  font-size: 1.4rem;
}
.top-post-block {
  margin-bottom: 4rem !important;
}
/* 最新投稿カード */
.top-latest-posts {
  max-width: fit-content;
}
.top-latest-posts .wp-block-post {
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}

/* アイキャッチ */
.top-latest-posts .wp-block-post-featured-image img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

/* 中身余白 */
.top-latest-posts .wp-block-post > * {
  padding: 5px;
}
.top-latest-posts ul {
  padding: 0;
}
.top-latest-posts ul li {
  display: grid;
  grid-template-rows: subgrid;
  gap: 0;
  grid-row: span 4;
  border: 1px solid #e5e5e5;
}
.top-latest-posts ul li h3 {
  border: none;
  padding: 0.4rem !important;
  font-size: 1.2rem !important;
  color: #ff6b9d;
}
.top-post-block .top-post-more {
  margin-bottom: 1rem !important;
  display: flex;
  justify-content: flex-end;
}

.top-post-more a {
  display: block;
  width: fit-content !important;
}
/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
@media screen and (max-width: 1540px) {
}
/*1023px以下*/
@media screen and (max-width: 1023px){
}

/*834px以下*/
@media screen and (max-width: 834px){
  .top-latest-posts .wp-block-query > ul {
    grid-template-columns: 1fr !important;
  }
}

/*480px以下*/
@media screen and (max-width: 480px){
  .entry-title, .article h2 {
    padding: 0.2rem;
  }
  .single-post main h1 {
    font-size: 1.4rem;
  }
}
/*------------------------------------ hover*/
@media (hover: hover) {
  .sidebar-shop-list .shop-list li a img:hover {
    opacity: 0.7;
    transition: 0.3s;
  }
  .toc li a:hover {
    color: #9cf0ff;
  }
  .top-latest-posts .wp-block-post-featured-image img:hover {
    filter: opacity(0.8);
  }
}
