@charset "UTF-8";

@import url("https://fonts.googleapis.com/css2?family=Zen+Kaku+Gothic+New:wght@400;500;700&display=swap");

/*!
Theme Name: Cocoon Child
Description: Cocoon専用の子テーマ（Her Art Blog用カスタマイズ）
Theme URI: https://wp-cocoon.com/
Author: わいひら
Author URI: https://nelog.jp/
Template:   cocoon-master
Version:    1.1.3
*/

/************************************
** Her Art Blog デザイン
** WAPLE BLOGと同じ構成（上部メニュー型ヘッダー＋予約ボタン／
** 全ページ共通バナー／3列カード／右サイドバー）を、
** Her Artのブランドトーン（ティール×アイボリー×木目ベージュ）で表現
************************************/
/* ---------- フォント（公式LP her-art.jp に合わせて Zen Kaku Gothic New） ---------- */
body, .body, .article, .entry-title, .entry-card-title, .card-title,
#navi .navi-in a, .sidebar, .footer, input, button, textarea, select {
  font-family: "Zen Kaku Gothic New", "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro W3", Meiryo, sans-serif !important;
}
.article h1, .article h2, .article h3, .article h4,
.entry-card-title, .card-title, .sidebar h2, .sidebar h3 { font-weight: 700; }
#navi .navi-in a { font-weight: 500; }

:root {
  --ha-teal: #548c88;
  --ha-teal-dark: #3f6e6a;
  --ha-teal-pale: #e8f0ef;
  --ha-ivory: #f7f4ef;
  --ha-beige: #e9e1d4;
  --ha-text: #4a4541;
  --ha-sub: #8a827b;
}

body {
  background-color: var(--ha-ivory);
  color: var(--ha-text);
  letter-spacing: 0.03em;
}
a { color: var(--ha-teal); }
a:hover { color: var(--ha-teal-dark); }

/* ---------- ヘッダー ---------- */
#header-container, .header-container {
  background-color: #fff !important;
  border-top: 4px solid var(--ha-teal);
  box-shadow: 0 1px 0 var(--ha-beige);
}
.header, .header-container .navi { background-color: #fff; }
.header .header-in { min-height: 76px; }
.logo-image img, .site-logo-image { max-height: 52px; width: auto; }
#navi .navi-in > ul {
  justify-content: flex-end;
  flex-wrap: nowrap;
}
#navi .navi-in > ul > li {
  width: auto;
  flex: 0 0 auto;
}
#navi .navi-in > ul > li > a { padding: 0 11px; }
#navi .navi-in a {
  color: var(--ha-text);
  font-size: 14px;
  letter-spacing: 0.04em;
  transition: color .2s;
}
#navi .navi-in a:hover {
  background-color: transparent;
  color: var(--ha-teal);
}
#navi .navi-in > .menu-header .sub-menu { background-color: #fff; }

/* 体験レッスン予約ボタン */
#navi .navi-in .header-cta > a {
  background-color: var(--ha-teal);
  color: #fff;
  border-radius: 999px;
  padding: 0 18px;
  margin-left: 0;
  height: 46px;
  line-height: 46px;
  margin-top: 7px;
  font-weight: 500;
}
#navi .navi-in .header-cta > a:hover {
  background-color: var(--ha-teal-dark);
  color: #fff;
}

/* 検索ボタン */
.search-submit, .wp-block-search__button {
  background-color: var(--ha-teal);
  border-color: var(--ha-teal);
  color: #fff;
}
.search-submit:hover, .wp-block-search__button:hover { background-color: var(--ha-teal-dark); }
.search-edit, .wp-block-search__input { border-color: var(--ha-beige); }

/* ---------- アピールエリア（バナー） ---------- */
.appeal {
  width: 100%;
  height: min(37.5vw, 520px) !important;
  background-size: cover;
  background-position: center center;
  background-color: var(--ha-ivory);
}
.appeal-in { min-height: 0; }

/* ---------- メイン・サイドバー ---------- */
.main, .sidebar {
  background-color: #fff;
  border-radius: 6px;
}
.content { margin-top: 32px; }

.entry-card-wrap, .related-entry-card-wrap {
  border-radius: 6px;
  transition: transform .2s, box-shadow .2s;
}
.entry-card-wrap:hover {
  background-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(74, 69, 65, 0.08);
}
.entry-card-thumb img, .card-thumb img { border-radius: 4px; }
.entry-card-title, .card-title {
  color: var(--ha-text);
  font-weight: 600;
  line-height: 1.6;
}
.entry-card-snippet, .card-snippet { color: var(--ha-sub); }
.entry-card-meta, .post-date, .post-update { color: var(--ha-sub); }

.cat-label {
  background-color: var(--ha-teal);
  color: #fff;
  border: none;
  border-radius: 2px;
  letter-spacing: 0.05em;
}
.cat-link, .tag-link {
  background-color: var(--ha-teal);
  color: #fff;
  border-radius: 2px;
}
.cat-link:hover, .tag-link:hover {
  background-color: var(--ha-teal-dark);
  color: #fff;
}

.sidebar h2, .sidebar h3, .widget-sidebar-title {
  background-color: var(--ha-teal);
  color: #fff;
  border: none;
  border-radius: 3px;
  padding: 12px 16px;
  font-size: 16px;
  letter-spacing: 0.08em;
}
.sidebar .widget_categories a, .sidebar .widget_recent_entries a,
.sidebar .widget_archive a { color: var(--ha-text); }
.sidebar .widget_categories a:hover, .sidebar .widget_recent_entries a:hover,
.sidebar .widget_archive a:hover {
  background-color: var(--ha-teal-pale);
  color: var(--ha-teal-dark);
}

/* ---------- 記事本文の見出し ---------- */
.article h1.entry-title {
  color: var(--ha-text);
  font-weight: 600;
  line-height: 1.6;
}
.article h2 {
  background-color: var(--ha-teal);
  color: #fff;
  padding: 14px 22px;
  border-radius: 3px;
  font-size: 21px;
  letter-spacing: 0.05em;
}
.article h3 {
  background-color: transparent;
  color: var(--ha-text);
  border: none;
  border-left: 5px solid var(--ha-teal);
  border-bottom: 1px solid var(--ha-beige);
  padding: 10px 16px;
}
.article h4 {
  border: none;
  border-top: 1px solid var(--ha-teal);
  border-bottom: 1px solid var(--ha-teal);
  padding: 8px 4px;
}
.article h5, .article h6 { border-bottom: 1px dashed var(--ha-teal); }
.article blockquote {
  background-color: var(--ha-ivory);
  border-color: var(--ha-beige);
}
.article .marker, .article mark { background: linear-gradient(transparent 60%, #d6e7e5 60%); }

.toc, #toc_container {
  border: 1px solid var(--ha-beige);
  background-color: var(--ha-ivory);
  border-radius: 4px;
}
.toc-title { color: var(--ha-teal-dark); letter-spacing: 0.1em; }

.btn, .comment-btn, .pagination-next-link, .wp-block-button__link {
  background-color: var(--ha-teal);
  border-color: var(--ha-teal);
  color: #fff;
  border-radius: 999px;
}
.btn:hover, .pagination-next-link:hover, .wp-block-button__link:hover {
  background-color: var(--ha-teal-dark);
  color: #fff;
}
.page-numbers { border-color: var(--ha-beige); color: var(--ha-text); }
.pagination .current {
  background-color: var(--ha-teal);
  border-color: var(--ha-teal);
  color: #fff;
}

/* ---------- フッター ---------- */
.footer {
  background-color: var(--ha-teal-dark);
  color: #fff;
  margin-top: 48px;
}
.footer a, .footer .navi-footer-in a, .copyright { color: #fff; }
.footer a:hover { color: var(--ha-teal-pale); }
.footer .logo-image img { filter: brightness(0) invert(1); }

.go-to-top-button {
  background-color: var(--ha-teal);
  color: #fff;
  border-radius: 50%;
}

/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1280px以下：メニュー項目が多いため文字と余白をさらに詰める*/
@media screen and (max-width: 1280px){
  #navi .navi-in > ul > li > a { padding: 0 7px; }
  #navi .navi-in a { font-size: 13px; letter-spacing: 0.02em; }
  #navi .navi-in .header-cta > a { padding: 0 14px; }
}

/*1023px以下*/
@media screen and (max-width: 1023px){
  .header .header-in { min-height: 64px; }
  .logo-image img, .site-logo-image { max-height: 44px; }
  .mobile-menu-buttons { background-color: #fff; border-top: 1px solid var(--ha-beige); }
  .mobile-menu-buttons .menu-button > a,
  .mobile-menu-buttons .menu-button .menu-icon { color: var(--ha-teal-dark); }
  .navi-menu-content, .sidebar-menu-content { background-color: #fff; }
}

/*834px以下*/
@media screen and (max-width: 834px){
  .content { margin-top: 20px; }
  .article h2 { font-size: 19px; padding: 12px 16px; }
  .main, .sidebar { border-radius: 0; }
}

/*480px以下*/
@media screen and (max-width: 480px){
  .article h2 { font-size: 18px; }
  .entry-card-title, .card-title { font-size: 15px; }
}
