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

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/

/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px){
  /*必要ならばここにコードを書く*/
}

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

/*480px以下*/
@media screen and (max-width: 480px){
  /*必要ならばここにコードを書く*/
}
/* ヒーロー部分 */
.top-hero {
  background: url('https://osake-blog.com/wp-content/uploads/beer-bg-illust.jpg') no-repeat center center/cover;
  text-align: center;
  color: #fff;
  padding: 80px 20px;
}
.top-hero h1 {
  font-size: 2.4em;
  margin-bottom: 10px;
  font-weight: bold;
}
.top-hero p {
  font-size: 1.2em;
}

/* セクション調整 */
section {
  padding: 40px 20px;
  max-width: 1000px;
  margin: 0 auto;
}
h2 {
  text-align: center;
  color: #5a4635;
  border-bottom: 2px solid #d4b98b;
  display: inline-block;
  margin-bottom: 20px;
}

/* カード */
.cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}
.card {
  width: 300px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  text-align: center;
  overflow: hidden;
  transition: 0.3s;
}
.card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}
.card:hover {
  transform: scale(1.03);
}
.card h3 {
  margin: 10px 0;
  font-size: 1.3em;
}
.card p {
  font-size: 0.9em;
  padding: 0 10px 10px;
  color: #555;
}
.btn {
  display: inline-block;
  background: #d4b98b;
  color: #fff;
  padding: 8px 16px;
  border-radius: 8px;
  text-decoration: none;
  margin-bottom: 15px;
}
.btn:hover {
  background: #b4945c;
}

/* おすすめリスト */
.recommend ul {
  list-style: none;
  padding: 0;
  text-align: center;
}
.recommend li {
  margin: 8px 0;
}
.recommend a {
  color: #5a4635;
  text-decoration: none;
}
.recommend a:hover {
  text-decoration: underline;
}
