/*
Theme Name: Cocoon Child
Template: cocoon-master
Version: 1.0.1
*/

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700&family=Noto+Serif+JP:wght@700&display=swap');

:root{
  --red:#EB8080;--red-dk:#d96868;
  --green:#6DC98A;--green-dk:#5ab578;--green-lt:#F0FAF3;
  --navy:#1a2e45;--navy-lt:#253d5a;
  --gold:#F9C74F;
  --gray:#F7F8FA;
  --text:#2d2d2d;--muted:#666;--white:#fff;--border:#e0e0e0;
}

*,*::before,*::after{box-sizing:border-box;margin:0;padding:0;}
body{font-family:'Noto Sans JP',sans-serif !important;color:var(--text);line-height:1.8;font-size:16px;background:var(--white);}
a{text-decoration:none;color:inherit;}
img{max-width:100%;height:auto;display:block;}

/* Cocoon既存ヘッダー・フッター非表示 */
#header,
#footer,
.navi-in,
.header-container,
.header-container-in,
.footer-container,
.footer-inner,
#page-top{display:none !important;}

/* 独自ヘッダー */
#ls-header{
  position:fixed;top:0;left:0;right:0;z-index:9999;
  background:var(--white);
  box-shadow:0 2px 12px rgba(0,0,0,.08);
}
.ls-header-top{
  background:var(--navy);
  padding:.45rem 4vw;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:1rem;
}
.ls-logo{display:flex;align-items:center;}
.ls-logo-main{
  font-family:'Noto Serif JP',serif;
  font-size:1rem;font-weight:700;
  color:#fff !important;
  letter-spacing:.03em;white-space:nowrap;
}
.ls-header-top-right{display:flex;align-items:center;gap:1.2rem;flex-shrink:0;}
.ls-header-top-tel{font-size:.78rem;color:rgba(255,255,255,.85);white-space:nowrap;}
.ls-header-top-tel a{color:#fff !important;font-weight:700;}
.ls-header-top-tel a:hover{color:var(--green) !important;}
.ls-btn-contact{
  background:var(--red);color:#fff !important;
  padding:.38rem 1.1rem;border-radius:.25rem;
  font-size:.78rem;font-weight:700;
  white-space:nowrap;transition:background .15s;
}
.ls-btn-contact:hover{background:var(--red-dk);}
.ls-header-nav{border-bottom:3px solid var(--green);background:var(--white);}
.ls-header-nav-inner{
  max-width:1200px;margin:0 auto;
  padding:0 2vw;display:flex;align-items:stretch;
}
nav.ls-gnav{display:flex;width:100%;}
.ls-gnav a{
  flex:1;display:flex;align-items:center;justify-content:center;
  text-align:center;font-size:.76rem;font-weight:500;
  color:var(--navy) !important;
  padding:.7rem .3rem;border-right:1px solid var(--border);
  transition:background .15s,color .15s;line-height:1.35;white-space:nowrap;
}
.ls-gnav a:last-child{border-right:none;}
.ls-gnav a:hover{background:var(--green-lt);color:var(--green-dk) !important;}
.ls-gnav a.active{background:var(--green-lt);color:var(--green-dk) !important;font-weight:700;}

/* コンテンツエリア */
#container,#main,#contents,#content{
  margin-top:94px !important;
  padding:2rem 4vw !important;
  max-width:100% !important;
}
.breadcrumb,
.sns-share,
.ad-area{display:none !important;}

/* 記事一覧 */
.ls-archive-wrap{max-width:1100px;margin:0 auto;}
.ls-archive-grid{
  display:grid;grid-template-columns:repeat(3,1fr);
  gap:1.5rem;margin-top:2rem;
}
.ls-card{
  background:#fff;border-radius:.75rem;overflow:hidden;
  box-shadow:0 2px 12px rgba(0,0,0,.06);
  transition:transform .2s,box-shadow .2s;
  border:1px solid var(--border);
}
.ls-card:hover{transform:translateY(-3px);box-shadow:0 6px 24px rgba(0,0,0,.1);}
.ls-card a{color:inherit !important;}
.ls-card-thumb{
  aspect-ratio:16/9;background:var(--gray);
  display:flex;align-items:center;justify-content:center;
  color:var(--muted);font-size:2rem;overflow:hidden;
}
.ls-card-thumb img{width:100%;height:100%;object-fit:cover;}
.ls-card-body{padding:1.2rem;}
.ls-card-cat{
  display:inline-block;background:var(--green-lt);
  color:var(--green-dk) !important;
  font-size:.7rem;font-weight:700;padding:.2rem .7rem;
  border-radius:1rem;margin-bottom:.5rem;
}
.ls-card-date{font-size:.72rem;color:var(--muted);margin-bottom:.4rem;}
.ls-card-title{
  font-size:.9rem;font-weight:700;
  color:var(--navy) !important;
  line-height:1.5;margin-bottom:.5rem;
}
.ls-card-excerpt{font-size:.78rem;color:var(--muted);line-height:1.7;}

/* 記事個別 */
.entry-title{
  font-family:'Noto Serif JP',serif;
  color:var(--navy) !important;font-size:1.6rem;font-weight:700;
  margin-bottom:1.5rem;padding-bottom:1rem;
  border-bottom:3px solid var(--green);
}
.entry-content{
  font-family:'Noto Sans JP',sans-serif;
  color:var(--text);line-height:1.9;font-size:.95rem;max-width:800px;
}
.entry-content h2{
  font-family:'Noto Serif JP',serif;
  font-size:1.3rem;color:var(--navy);font-weight:700;
  margin:2rem 0 1rem;padding-left:1rem;
  border-left:4px solid var(--green);
}
.entry-content p{margin-bottom:1.2rem;}

/* 独自フッター */
#ls-footer{background:#0d1e30;padding:3rem 4vw 1.5rem;margin-top:4rem;}
.ls-footer-inner{max-width:1100px;margin:0 auto;}
.ls-footer-top{
  display:grid;grid-template-columns:1.5fr 1fr 1fr;
  gap:2rem;margin-bottom:2.5rem;
}
.ls-footer-brand .ls-logo-main{
  color:#fff !important;font-family:'Noto Serif JP',serif;
  font-size:1rem;font-weight:700;
}
.ls-footer-brand .ls-logo-sub{
  color:rgba(255,255,255,.5);font-size:.65rem;
  margin-top:.2rem;display:block;
}
.ls-footer-brand p{
  font-size:.8rem;color:rgba(255,255,255,.55);
  line-height:1.85;margin-top:.8rem;
}
.ls-footer-brand .ls-footer-tel{
  font-size:1.05rem;font-weight:700;color:#fff;margin-top:.8rem;
}
.ls-footer-brand .ls-footer-tel small{
  font-size:.65rem;font-weight:400;
  color:rgba(255,255,255,.5);display:block;
}
.ls-footer-col h4{
  font-size:.78rem;font-weight:700;
  color:rgba(255,255,255,.5);
  letter-spacing:.1em;margin-bottom:.8rem;text-transform:uppercase;
}
.ls-footer-col a{
  display:block;font-size:.82rem;
  color:rgba(255,255,255,.7) !important;
  padding:.3rem 0;border-bottom:1px solid rgba(255,255,255,.06);
  transition:color .15s;
}
.ls-footer-col a:hover{color:var(--green) !important;}
.ls-footer-col a:last-child{border-bottom:none;}
.ls-footer-bottom{
  border-top:1px solid rgba(255,255,255,.1);padding-top:1.2rem;
  display:flex;align-items:center;justify-content:space-between;
  flex-wrap:wrap;gap:.5rem;
}
.ls-footer-bottom small{font-size:.72rem;color:rgba(255,255,255,.35);}
.ls-footer-links{display:flex;gap:1.2rem;}
.ls-footer-links a{
  font-size:.72rem;color:rgba(255,255,255,.4) !important;
  transition:color .15s;
}
.ls-footer-links a:hover{color:rgba(255,255,255,.75) !important;}

/* レスポンシブ */
@media(max-width:768px){
  .ls-header-top-tel{display:none;}
  nav.ls-gnav{flex-wrap:wrap;}
  .ls-gnav a{width:calc(100% / 3);font-size:.68rem;padding:.55rem .1rem;border-bottom:1px solid var(--border);}
  .ls-archive-grid{grid-template-columns:1fr 1fr;}
  .ls-footer-top{grid-template-columns:1fr;}
  .ls-footer-bottom{flex-direction:column;align-items:flex-start;}
}
@media(max-width:480px){
  .ls-archive-grid{grid-template-columns:1fr;}
}
