/*
Theme Name: Cocoon Child – Custom
Template: cocoon
Version: 1.0.0
*/
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans:wght@400;700&display=swap');

:root{
  --brand:#00857a;
  --brand-dark:#005447;
  --gray:#f7f7f7;
  --text:#333;
}
body{font-family:'Noto Sans',sans-serif;color:var(--text);background:var(--gray);margin:0}
a{color:var(--brand);text-decoration:none}
a:hover{color:var(--brand-dark)}
header.site-header{background:#fff;box-shadow:0 2px 8px rgba(0,0,0,.06);position:sticky;top:0;z-index:999}
header .brand{font-size:1.6rem;font-weight:700;padding:.8rem 1rem;display:inline-block;color:var(--brand-dark)}
nav.primary-nav ul{display:flex;gap:1rem;margin:0;padding:0;list-style:none}
nav.primary-nav li{margin:0}
nav.primary-nav a{padding:.8rem .4rem;font-weight:700}
.hero{background:#fff;padding:4rem 1rem;text-align:center}
.hero h1{font-size:2.4rem;margin-bottom:1rem;color:var(--brand-dark)}
section{margin:3rem auto;max-width:960px;padding:0 1rem}
section h2{font-size:1.8rem;border-left:6px solid var(--brand);padding-left:.5rem;margin-bottom:1rem}
.widget-area .widget{background:#fff;border-radius:8px;box-shadow:0 2px 6px rgba(0,0,0,.05);padding:1rem;margin-bottom:1.5rem}
footer.site-footer{background:#fff;padding:2rem 1rem;text-align:center;color:#666;border-top:1px solid #e5e5e5}
@media(max-width:767px){nav.primary-nav ul{flex-direction:column;display:none}
  nav.primary-nav ul.open{display:flex}
  button#burger{display:inline-block;background:none;border:none;font-size:1.4rem;margin-right:1rem}
}

/* 2カラムレイアウト用 */
.custom-main-wrap {
  display: flex;
  flex-wrap: nowrap;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.custom-main-wrap main {
  width: 70%;
}

.custom-main-wrap aside {
  width: 30%;
}

/* レスポンシブ対応（スマホ時は縦並び） */
@media (max-width: 768px) {
  .custom-main-wrap {
    flex-direction: column;
  }
  .custom-main-wrap main,
  .custom-main-wrap aside {
    width: 100%;
  }
}
