/*
Theme Name: Cocoon Child
Template: cocoon-master
*/
 
@import url('https://fonts.googleapis.com/css2?family=Yomogi&display=swap');
 
*, *::before, *::after {
  box-sizing: border-box;
}
 
/* =====================
  ベース
===================== */
body {
  margin: 0;
  background: #fff !important;
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  color: #222;
  line-height: 1.7;
}
 
/* ヘッダー余白整理 */
#header {
  border-bottom: none;
  margin: 0;
}
 
/* 全幅化（Cocoonの制御解除） */
#content,
#main,
.main,
#container {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0;
  padding: 0;
}
 
/* サイドバー非表示 */
.home #sidebar {
  display: none;
}
 
/* =====================
  ヒーロー
===================== */
.home-hero-new {
  position: relative;
  width: 100%;
  height: 50vw;
  overflow: hidden;
  margin-top: 0 !important;
}

.hero-new-card {
  display: block;
  position: relative;
  width: 100%;
  height: 100%;
  text-decoration: none;
}

.hero-new-thumb {
  position: absolute;
  inset: 0;
}

.hero-new-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-new-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.45), transparent);
}

.hero-new-content {
  position: absolute;
  inset: 0;
  z-index: 5;
}

/* 左上ラベル */
.hero-new-eyebrow {
  position: absolute;
  top: 8px;
  left: 8px;

  background: #A67C52;
  color: #fff;

  padding: 4px 10px;
  border-radius: 6px;

  font-size: 10px;
  font-weight: bold;
  letter-spacing: .5px;
  line-height: 1;
}

/* 右下ボタン */
.hero-new-card .hero-new-btn {
  position: absolute;
  right: 16px;
  bottom: 16px;

  background: rgba(166,124,82,.95);
  color: #fff !important;

  padding: 10px 18px;
  border-radius: 8px;

  font-size: 13px;
  font-weight: bold;
  text-decoration: none;

  border: none !important;
  box-shadow: 0 3px 10px rgba(0,0,0,.2);
}

.hero-new-card:hover .hero-new-btn {
  background: #8d6843;
}

.hero-new-title {
  font-size: 28px;
  font-weight: bold;
  margin: 0;
}

 
/* =====================
  セクション共通
===================== */
.home-section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px;
}
 
.home-sec-title {
  display: inline-block;
  position: relative;
  align-self: flex-start;
  font-size: 20px;
  font-weight: bold;
  margin: 40px 0 20px;
  padding-bottom: 10px;
}

.home-sec-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 3px;
  background: #A67C52;
}
 
/* =====================
  PICKUP（カード型）
===================== */
.pickup-slide {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.pickup-img {
  width: 120px;   /* ランキングと同じくらい */
  flex-shrink: 0;
}

.pickup-img img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 0;   /* 丸みなし */
}

.pickup-content {
  flex: 1;
}

.pickup-date {
  font-size: 12px;
  color: #8B6B4A;
  margin-bottom: 4px;
}

.pickup-title {
  font-size: 16px;
  font-weight: bold;
  line-height: 1.5;
}
/* =====================
  イベント情報 + ランキング
===================== */
.two-col-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.two-col-item {
  display: flex;
  flex-direction: column;
}
.event-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.event-list li {
  border-bottom: 1px solid #eee;
}
.event-list li a {
  display: flex;
  gap: 20px;
  padding: 14px 0;
  text-decoration: none;
  color: #222;
}
.event-date {
  flex-shrink: 0;
  color: #999;
  font-size: 13px;
}
.event-title {
  font-size: 14px;
}
.more-btn {
  display: block;
  text-align: center;
  margin-top: 20px;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 30px;
  text-decoration: none;
  color: #222;
  font-size: 13px;
}
 
/* =====================
 /* =====================
  カテゴリーカード
===================== */
.category-section {
  padding: 20px;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  width: 85%;
  margin: 0 auto;
}

.category-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  aspect-ratio: 1 / 1;
  border-radius: 16px;
  text-decoration: none;
  color: #fff;
  font-weight: bold;
  font-size: 15px;
  transition: 0.2s;
  min-width: 0;
  overflow: hidden;
}

.category-card:hover,
.category-card:hover span,
.category-card:hover i {
  color: #fff !important;
  transform: translateY(-3px);
}

.category-card i {
  font-size: 22px;
}

.category-card span {
  font-family: 'Yomogi', sans-serif;
  font-size: 13px;
  white-space: nowrap;
}

.cat-gourmet   { background: #f3cba3; }
.cat-shop      { background: #e6b7a3; }
.cat-dekake    { background: #c3d4b5; }
.cat-event     { background: #d6e0c4; }
.cat-hito      { background: #f0cfa8; }
.cat-kurashi   { background: #e8bcb4; }
/* =====================
  いしかりマニア！とは？
===================== */
.about-section {
  display: flex;
  justify-content: center;
}
.about-box {
  display: flex;
  align-items: center;
  gap: 24px;
  border: 1px solid #eee;
  border-radius: 16px;
  padding: 24px;
  max-width: 700px;
  width: 100%;
}
.about-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}

.about-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about-text {
  flex: 1;
}
.about-text h3 {
  margin: 0 0 8px;
  font-size: 16px;
}
.about-text p {
  margin: 0;
  font-size: 13px;
  color: #666;
  line-height: 1.8;
}
.about-btn {
  flex-shrink: 0;
  padding: 10px 20px;
  border: 1px solid #ccc;
  border-radius: 30px;
  text-decoration: none;
  color: #222;
  font-size: 13px;
  white-space: nowrap;
}
 
/* =====================
  お問い合わせボタン
===================== */
.contact-section {
  display: flex;
  justify-content: center;
}
.contact-section {
  display: flex;
  justify-content: center;
}
.contact-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  max-width: 700px;
  padding: 16px;
  background: transparent;
  border: 1px solid #999;
  color: #666;
  text-decoration: none;
  border-radius: 30px;
  font-size: 15px;
  font-weight: bold;
}
.contact-btn:hover {
  background: rgba(0,0,0,0.03);
  color: #666;
}

/* =====================
  スマホ対応
===================== */
@media (max-width: 768px) {

  .home-hero-new {
    width: 100%;
    aspect-ratio: 1200 / 630;
    height: auto;
    margin-top: 0;
  }

  .hero-new-thumb {
    position: absolute;
    inset: 0;
  }

  .hero-new-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
	object-position: center top;
  }

}
  /* イベント・ランキング */
  .two-col-section {
    display: flex;
    flex-direction: column;
    gap: 40px;
  }

  .two-col-item {
    width: 100%;
  }

  /* PICK UP */
  .pickup-slider {
    grid-template-columns: 1fr;
  }

  /* カテゴリー */
  .category-section {
    padding: 20px !important;
  }

  .category-grid {
    grid-template-columns: repeat(3, 1fr);
    width: 94%;
    margin: 0 auto;
    gap: 8px;
  }

  .category-card {
    gap: 12px;
    padding: 6px;
  }

  .category-card i {
    font-size: 22px;
  }

  .category-card span {
    font-size: 13px;
    white-space: nowrap;
  }

  /* About */
  .about-box {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
  }


.pickup-slide,
.pickup-slide:visited {
  color: #222;
}

.pickup-slide:hover,
.pickup-slide:hover .pickup-title,
.pickup-slide:hover .pickup-date {
  color: #222 !important;
  text-decoration: none;
}
/* 新着記事のリンク色 */
.pickup-slide,
.pickup-slide:link,
.pickup-slide:visited {
  color: #222 !important;
  text-decoration: none;
}

.pickup-slide .pickup-title {
  color: #222 !important;
}

.pickup-slide .pickup-date {
  color: #8B6B4A !important;
}

.pickup-slide:hover,
.pickup-slide:hover .pickup-title {
  color: #222 !important;
}
/* =====================
   PC対応
===================== */
@media (min-width: 769px) {

  /* 新着記事を3列 */
  .pickup-slider{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:24px;
  }

  .pickup-slide{
    display:block;
    transition:.25s;
  }

  .pickup-slide:hover{
    transform:translateY(-5px);
  }

  .pickup-img{
    width:100%;
    margin-bottom:12px;
  }

  .pickup-img img{
    width:100%;
    aspect-ratio:4/3;
    object-fit:cover;
  }

  .pickup-content{
    margin-top:10px;
  }

  /* カテゴリーカード */
  .category-grid{
    width:100%;
    gap:18px;
  }

  .category-card{
    gap:18px;
  }

  .category-card i{
    font-size:34px;
  }

  .category-card span{
    font-size:16px;
  }

}
.about-box {
  display: flex;
  align-items: center;
  gap: 24px;
  border-radius: 16px;
  padding: 24px;
  max-width: 700px;
  width: 100%;

  background-color: #EFE8DD; /* ←ここが重要 */
}

/* =====================
   PCだけカテゴリーカードをコンパクトに
===================== */
@media (min-width: 1024px) {

  .category-grid {
    width: 100%;
    max-width: 1200px;
    gap: 20px;
  }

  .category-card {
    aspect-ratio: auto;
    height: 180px;
    border-radius: 20px;
  }

  .category-card i {
    font-size: 28px;
  }

  .category-card span {
    font-size: 17px;
  }

}

/* 記事本文のスマホ余白 */
@media (max-width: 768px) {
  .single #main {
    padding-left: 16px;
    padding-right: 16px;
  }
}
/* 固定ページ・記事本文のスマホ余白 */
@media (max-width: 768px) {

  .page #main,
  .single #main {
    padding-left: 16px;
    padding-right: 16px;
  }

}
/* 記事本文の左右余白 */
.entry-content {
  padding-left: 20px;
  padding-right: 20px;
}