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

/* ヘッダー写真バナー（個人ブログと同じ・写真は最上部表示） 2026-06-17 */
#header {
  background-image:
    linear-gradient(rgba(255,253,250,0.22), rgba(255,253,250,0.22)),
    url(https://ooba-nouki.shop/wp-content/uploads/2026/06/MG_0379.jpg);
  background-size: cover;
  background-position: center 30%;
  background-repeat: no-repeat;
}
#header .header-in {
  min-height: 440px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
/* サイトタイトル・キャッチ：個人ブログと同じヒラギノ・標準ウェイト・濃いグレー */
.site-name-text, .site-name a {
  text-shadow: 0 1px 6px rgba(255,255,255,0.85);
  font-family: "Hiragino Kaku Gothic ProN","Hiragino Sans",Meiryo,sans-serif;
  font-size: 2.1rem;
  font-weight: 500;
  color: #1c1814;
  letter-spacing: 0.04em;
}
.tagline, .catch-phrase {
  text-shadow: 0 1px 5px rgba(255,255,255,0.85);
  font-family: "Hiragino Kaku Gothic ProN","Hiragino Sans",Meiryo,sans-serif;
  font-size: 1rem;
  font-weight: 400;
  color: #2a2620;
  letter-spacing: 0.04em;
}
@media screen and (max-width: 834px){
  #header .header-in { min-height: 260px; }
  .site-name-text, .site-name a { font-size: 1.6rem; }
}


/* ===== 全ページ共通 誘導CTAボックス（大場農機HP/LINE/Instagram） 2026-06-17 ===== */
.ooba-cta{
  margin: 2.4em 0;
  padding: 26px 22px;
  background: #FFFFFF;
  border: 1px solid #E6DED2;
  border-radius: 16px;
  box-shadow: 0 3px 14px rgba(84,78,74,.06);
  text-align: center;
}
.ooba-cta-lead{
  font-size: 1.18em;
  font-weight: 700;
  color: #3D3835;
  margin: 0 0 .3em;
  line-height: 1.6;
}
.ooba-cta-sub{
  font-size: .92em;
  color: #6f675f;
  margin: 0 0 1.2em;
  line-height: 1.7;
}
.ooba-cta-btns{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.ooba-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 200px;
  padding: 13px 20px;
  border-radius: 999px;
  font-weight: 700;
  font-size: .98em;
  color: #fff !important;
  text-decoration: none !important;
  transition: transform .15s ease, opacity .15s ease;
}
.ooba-btn:hover{ transform: translateY(-2px); opacity: .92; }
.ooba-btn.hp{ background: #B8602A; }
.ooba-btn.line{ background: #06C755; }
.ooba-btn.insta{ background: linear-gradient(45deg,#F58529,#DD2A7B,#8134AF); }
.ooba-btn.tiktok{ background: #010101; }
@media screen and (max-width: 600px){
  .ooba-btn{ min-width: 0; width: 100%; }
}
/* サイドバー用コンパクト版 */
.widget .ooba-cta{ padding: 18px 14px; margin: 0; }
.widget .ooba-btn{ min-width: 0; width: 100%; margin-top: 8px; }


/* ===== ヘッダー文字を左下・白で読みやすく 2026-06-20 ===== */
#header{ position:relative; }
#header::before{ content:""; position:absolute; top:0; left:0; right:0; bottom:0; z-index:1; pointer-events:none; background:linear-gradient(to top, rgba(18,13,9,.62) 0%, rgba(18,13,9,.34) 34%, rgba(18,13,9,0) 66%); }
.hlt-center-logo-wrap #header .header-in{ position:relative; z-index:2; display:flex; flex-direction:column; align-items:flex-start !important; justify-content:flex-end !important; padding:0 0 42px 6% !important; text-align:left !important; }
.hlt-center-logo-wrap #header .logo,.hlt-center-logo-wrap #header .logo-header{ text-align:left !important; margin:0 !important; }
#header .site-name, #header .site-name-text-link, #header .site-name-text{ color:#fff !important; text-shadow:0 2px 16px rgba(0,0,0,.72), 0 1px 4px rgba(0,0,0,.6) !important; font-weight:600 !important; letter-spacing:.04em; }
#header .tagline{ color:#fff !important; text-shadow:0 1px 2px rgba(0,0,0,.85), 0 2px 12px rgba(0,0,0,.6) !important; margin-top:8px !important; text-align:left !important; }
@media screen and (max-width:834px){ #header::before{ background:linear-gradient(to top, rgba(18,13,9,.66) 0%, rgba(18,13,9,.32) 36%, rgba(18,13,9,0) 64%); } .hlt-center-logo-wrap #header .header-in{ padding:0 0 26px 7% !important; } #header .tagline{ font-size:.92rem !important; } }

/* ===== スマホ ヘッダー微調整（サブ白・タイトル大きめ・グラデ上まで）2026-06-20 ===== */
@media screen and (max-width:834px){
  #header::before{ background:linear-gradient(to top, rgba(15,11,7,.74) 0%, rgba(15,11,7,.44) 46%, rgba(15,11,7,.08) 80%) !important; }
  #header .site-name, #header .site-name-text-link, #header .site-name-text{ font-size:1.7rem !important; line-height:1.2 !important; letter-spacing:0 !important; white-space:nowrap !important; text-align:center !important; text-shadow:0 1px 2px rgba(0,0,0,.85), 0 2px 16px rgba(0,0,0,.72) !important; }
  .hlt-center-logo-wrap #header .header-in{ align-items:center !important; justify-content:flex-end !important; text-align:center !important; padding:0 14px 32px !important; }
  #header .tagline{ color:#fff !important; font-size:.95rem !important; text-align:center !important; text-shadow:0 1px 2px rgba(0,0,0,.85), 0 2px 12px rgba(0,0,0,.66) !important; }
}


/* ===== 本文 行間・余白改善 2026-06-24 ===== */
.entry-content p {
  line-height: 2.0;
  margin-bottom: 1.6em;
}
.entry-content li {
  line-height: 1.9;
  margin-bottom: 0.5em;
}
.entry-content h2 {
  margin-top: 2.2em;
  margin-bottom: 0.8em;
}
.entry-content h3 {
  margin-top: 1.8em;
  margin-bottom: 0.6em;
}
.entry-content ul,
.entry-content ol {
  margin-bottom: 1.6em;
  padding-left: 1.8em;
}
