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

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/
/* =============================
   トップページ共通スタイル
============================= */

/* --- Hero --- */
.top-hero {
  background: url('https://example.com/wp-content/uploads/hero_onigiri.jpg') center/cover no-repeat;
  text-align: center;
  padding: 100px 20px;
  color: #fff;
  position: relative;
}
.top-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.35);
}
.top-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}
.top-hero-title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  letter-spacing: 0.05em;
}
.top-hero-lead {
  font-size: clamp(1rem, 3.5vw, 1.2rem);
  margin-top: 12px;
}

/* --- Section layout --- */
.top-section {
  max-width: 960px;
  margin: 60px auto;
  padding: 0 20px;
}
.top-section-title {
  font-size: 1.6rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 25px;
  color: #333;
}

/* --- Pickup grid --- */
.pickup-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.pickup-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  transition: transform 0.25s, box-shadow 0.25s;
  text-decoration: none;
  color: #333;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.pickup-card img {
  width: 100%;
  height: auto;
  display: block;
}
.pickup-card p {
  padding: 10px 12px;
  font-weight: 600;
  text-align: center;
}
.pickup-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

/* --- About block --- */
.about-block p {
  text-align: center;
  line-height: 1.8;
  font-size: 1rem;
  color: #555;
  max-width: 700px;
  margin: 0 auto;
}

/* --- Responsive tweaks --- */
@media (max-width: 768px) {
  .top-hero {
    padding: 70px 15px;
  }
  .top-section {
    margin: 40px auto;
  }
}
