@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
*/

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/

/* 羊羹ラボ：トップページとエリアページ（functions.php の yl_ 関数で出力） */
.yl-page .sidebar { display: none; }
.yl-page .main { width: 100%; max-width: none; }

.yl {
  --azuki: #5b2a2a;
  --azuki-dark: #3d1b1b;
  --cream: #fbf6ec;
  --ink: #2b2420;
  --muted: #7a6d63;
  --kanto: #6aa84f;
  --chubu: #e39b2d;
  --kinki: #a5637f;
  --west: #3f7fa6;
  --tohoku: #4a6fa5;
  --shikoku: #8a6bb8;
  --radius: 14px;
  color: var(--ink);
  line-height: 1.8;
}
.yl img { max-width: 100%; display: block; }
.yl a { color: inherit; text-decoration: none; }

/* ヒーロー：中央タイトル＋左右エリアボックス */
.yl .hero {
  background: linear-gradient(135deg, #7a3434, var(--azuki-dark));
  border-radius: var(--radius);
  padding: 40px 20px 48px;
}
.yl .hero-grid {
  display: grid; grid-template-columns: 1fr 1.4fr 1fr; gap: 20px; align-items: center;
}
.yl .hero-col { display: grid; gap: 18px; }
.yl .hero-title {
  background: var(--cream); border-radius: 24px; padding: 40px 24px; text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
}
.yl .hero-title .en { font-size: 13px; letter-spacing: .25em; color: var(--muted); }
.yl .hero-title h1 { margin: 8px 0 14px; font-size: 40px; line-height: 1.3; color: var(--azuki); }
.yl .hero-title h1 span { display: block; font-size: 28px; color: var(--ink); }
.yl .hero-title p { margin: 0; font-size: 14px; }
.yl .area-box { background: #fff; border-radius: var(--radius); padding: 12px; box-shadow: 0 6px 18px rgba(0,0,0,.2); }
.yl .area-box .tag { display: inline-block; color: #fff; font-size: 13px; font-weight: 700; padding: 2px 12px; border-radius: 4px; margin-bottom: 8px; }
.yl .area-box .pair { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.yl .area-box .pair a { text-align: center; font-size: 12px; }
.yl .area-box .pair img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 50%; border: 3px solid var(--cream); margin-bottom: 4px; }

/* リード */
.yl .lead { max-width: 760px; margin: 0 auto; padding: 40px 0 8px; text-align: center; }
.yl .lead p { margin: 0; }

/* セクション見出し */
.yl .sec-head { text-align: center; margin: 48px 0 24px; }
.yl .sec-head .en { font-size: 12px; letter-spacing: .3em; color: var(--muted); }
.yl .sec-head h2 { margin: 4px 0 0; font-size: 26px; color: var(--azuki); background: none; border: none; padding: 0; }
.yl .more { text-align: center; margin: 24px 0 0; }
.yl .btn { display: inline-block; background: var(--azuki); color: #fff; padding: 10px 36px; border-radius: 999px; font-size: 14px; }

/* エリア別一覧 */
.yl .area { border-radius: var(--radius); padding: 16px 16px 20px; margin-bottom: 24px; }
.yl .area h3 { margin: 0 0 14px; color: #fff; font-size: 16px; padding: 6px 14px; border-radius: 6px; border: none; }
.yl .area h3 small { font-size: 11px; margin-left: 4px; }
.yl .area h3 a { display: flex; align-items: baseline; color: #fff; }
.yl .area-more { margin-left: auto; font-size: 12px; font-weight: 400; }
.yl .cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.yl .cards img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 8px; }
.yl .cards .pref { font-weight: 700; margin-top: 6px; font-size: 14px; }
.yl .cards ul { list-style: none; margin: 0; padding: 0; font-size: 12px; }
.yl .cards li::before { content: "▶ "; font-size: 9px; }
.yl .cards a:hover .shop { text-decoration: underline; }
.yl .pref-block + .pref-block { margin-top: 18px; }
.yl .pref-block h4 { margin: 0 0 10px; font-size: 16px; padding: 0 0 4px; border: none; border-bottom: 2px solid rgba(0,0,0,.08); background: none; }
.yl .pref-block h4 span { margin-left: 8px; font-size: 11px; font-weight: 400; color: var(--muted); }
.yl .pref-more { margin: 8px 0 0; text-align: right; font-size: 13px; }
.yl .empty { margin: 14px 0 0; font-size: 13px; color: var(--muted); }

.yl .kanto { background: #eef6e9; } .yl .kanto h3 { background: var(--kanto); } .yl .kanto .pref { color: var(--kanto); } .yl .kanto li::before { color: var(--kanto); }
.yl .chubu { background: #fdf3e2; } .yl .chubu h3 { background: var(--chubu); } .yl .chubu .pref { color: var(--chubu); } .yl .chubu li::before { color: var(--chubu); }
.yl .kinki { background: #f6ecf1; } .yl .kinki h3 { background: var(--kinki); } .yl .kinki .pref { color: var(--kinki); } .yl .kinki li::before { color: var(--kinki); }
.yl .west { background: #e8f1f7; } .yl .west h3 { background: var(--west); } .yl .west .pref { color: var(--west); } .yl .west li::before { color: var(--west); }
.yl .tohoku { background: #eaf0f8; } .yl .tohoku h3 { background: var(--tohoku); } .yl .tohoku .pref { color: var(--tohoku); } .yl .tohoku li::before { color: var(--tohoku); }
.yl .shikoku { background: #f3eef9; } .yl .shikoku h3 { background: var(--shikoku); } .yl .shikoku .pref { color: var(--shikoku); } .yl .shikoku li::before { color: var(--shikoku); }
.yl .tag.kanto { background: var(--kanto); } .yl .tag.chubu { background: var(--chubu); } .yl .tag.kinki { background: var(--kinki); }
.yl .tag.west { background: var(--west); } .yl .tag.tohoku { background: var(--tohoku); } .yl .tag.shikoku { background: var(--shikoku); }

/* エリアページ */
.yl .pref-head { text-align: center; padding: 16px 0 0; }
.yl .pref-head h1 { margin: 0; font-size: 30px; color: var(--azuki); }
.yl .area-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 16px 0 24px; }
.yl .area-tabs a { color: #fff; font-size: 13px; padding: 4px 14px; border-radius: 999px; opacity: .55; }
.yl .area-tabs a.current { opacity: 1; font-weight: 700; }
.yl .pref-block { scroll-margin-top: 80px; }

/* ニュース */
.yl .news-list { list-style: none; margin: 0 auto; padding: 0; max-width: 760px; }
.yl .news-list li { display: flex; gap: 20px; border-bottom: 1px solid #eadfcd; padding: 14px 4px; }
.yl .news-list time { color: var(--muted); font-size: 13px; white-space: nowrap; }
.yl .news-list a:hover { color: var(--azuki); }

/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px){
  /*必要ならばここにコードを書く*/
}

/*834px以下*/
@media screen and (max-width: 834px){
  /*必要ならばここにコードを書く*/
  .yl .hero-grid { grid-template-columns: 1fr 1fr; }
  .yl .hero-title { grid-column: 1 / -1; order: -1; }
  .yl .hero-title h1 { font-size: 30px; }
  .yl .hero-title h1 span { font-size: 21px; }
  .yl .cards { grid-template-columns: 1fr 1fr; }
}

/*480px以下*/
@media screen and (max-width: 480px){
  /*必要ならばここにコードを書く*/
  .yl .hero { padding: 24px 12px 28px; }
  .yl .hero-grid { gap: 12px; }
}
