:root{
  --bg1:#edf8df;
  --bg2:#d7efaa;
  --bg3:#9ccc3c;
  --paper:#fafff4;
  --paper-strong:#ffffff;
  --ink:#18310f;
  --sub:#466437;
  --line:#a8cf68;
  --deep:#2d5a1d;
  --deep2:#3f741c;
  --accent:#86c232;
  --accent2:#b9e44d;
  --shadow:0 14px 35px rgba(58, 104, 24, .18);
  --radius:22px;
  --max:1160px;
}

*{box-sizing:border-box}
html,body{margin:0;padding:0}

body{
  background:
    radial-gradient(circle at top left, #f8ffe8 0, #e8f8cd 34%, #d5efaf 65%, #c5e592 100%);
  color:var(--ink);
  font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI","Hiragino Kaku Gothic ProN","Yu Gothic",Meiryo,sans-serif;
  line-height:1.8;
}

a{
  color:var(--deep2);
  text-decoration:none;
}

a:hover{
  text-decoration:none;
  opacity:.88;
}

img{
  max-width:100%;
  display:block;
}

#hero-title{
  color:#fff;
  font-size:34pt;
  font-weight:bold;
  line-height:40pt;
}

.container{
  max-width:var(--max);
  margin:auto;
  padding:0 20px;
}

/* header */
.site-header{
  background:linear-gradient(90deg, #295619 0%, #4f8a23 48%, #7dba2e 100%);
  box-shadow:0 6px 22px rgba(0,0,0,.14);
  position:sticky;
  top:0;
  z-index:10;
}

.site-header .inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  padding:16px 0;
}

.brand a{
  display:flex;
  align-items:center;
  gap:12px;
  color:#fffef3;
  font-size:24px;
  font-weight:800;
  letter-spacing:.04em;
}

.site-nav{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

.site-nav a{
  color:#1d350f;
  background:linear-gradient(180deg, #efffd0 0%, #c9ef76 100%);
  padding:10px 16px;
  border-radius:999px;
  font-weight:700;
  border:1px solid rgba(255,255,255,.35);
  box-shadow:0 3px 10px rgba(0,0,0,.08);
}

/* hero */
.hero{
  padding:34px 0 24px;
}

.hero-box{
  position:relative;
  overflow:hidden;
  border-radius:30px;
  background:
    linear-gradient(135deg, rgba(39,82,22,.95) 0%, rgba(93,150,36,.92) 45%, rgba(188,233,86,.88) 100%);
  box-shadow:var(--shadow);
  padding:46px 40px;
}

.hero-box:before{
  content:"";
  position:absolute;
  right:-80px;
  top:-80px;
  width:280px;
  height:280px;
  border-radius:50%;
  background:rgba(255,255,255,.13);
}

.hero-box:after{
  content:"";
  position:absolute;
  left:-60px;
  bottom:-60px;
  width:220px;
  height:220px;
  border-radius:50%;
  background:rgba(255,255,255,.10);
}

.hero-copy{
  position:relative;
  z-index:1;
  max-width:760px;
}

.hero-kicker{
  margin:0 0 8px;
  color:#efffd0;
  font-size:13px;
  letter-spacing:.18em;
  font-weight:700;
}

.hero h1{
  margin:0 0 10px;
  font-size:clamp(30px,4.8vw,52px);
  line-height:1.2;
  color:#ffffff;
}

.hero p{
  margin:0;
  color:#f7ffe8;
  font-size:17px;
}

.hero-btn-wrap{
  margin-top:20px !important;
}

.hero-btn-wrap .btn{
  padding:10px 15px;
  border:2px solid rgba(255,255,255,.35);
  font-weight:800;
  box-shadow:0 8px 18px rgba(42,72,16,.16);
}

.hero-copy h1{
  margin:0 0 8px;
  color:#efffd0;
  font-size:18px;
  letter-spacing:.18em;
  font-weight:700;
}

/* buttons */
.btn{
  display:inline-block;
  background:linear-gradient(180deg, #f7ffd8 0%, #c9ef76 100%);
  color:#20420f;
  font-weight:800;
  padding:13px 18px;
  border-radius:999px;
  box-shadow:0 8px 18px rgba(42,72,16,.16);
  border:2px solid rgba(255,255,255,.35);
}

.btn-mini{
  padding:8px 14px;
  font-size:14px;
}

/* main */
.main{
  display:grid;
  grid-template-columns:1fr;
  gap:26px;
  margin:10px 0 50px;
}

.content{
  min-width:0;
}

@media (min-width:960px){
  .main{
    grid-template-columns:280px minmax(0,1fr);
    align-items:start;
  }

  .sidebar{
    grid-column:1;
  }

  .content{
    grid-column:2;
    min-width:0;
  }
}

.section-head{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:16px;
  margin-bottom:18px;
}

.section-head h1,
.section-head h2{
  margin:0;
  font-size:30px;
  line-height:1.2;
  color:#244714;
  position:relative;
  padding-left:18px;
}

.section-head h1:before,
.section-head h2:before{
  content:"";
  position:absolute;
  left:0;
  top:4px;
  bottom:4px;
  width:7px;
  border-radius:99px;
  background:linear-gradient(180deg, #4f9322 0%, #b7e442 100%);
}

/* cards */
.grid{
  display:grid;
  gap:22px;
  grid-template-columns:1fr;
}

@media (min-width:960px){
  .grid{
    grid-template-columns:repeat(2,1fr);
  }
}

@media (min-width:960px){
  .grid{
    grid-template-columns:repeat(2,1fr);
  }
}

.card{
  background:linear-gradient(180deg, rgba(255,255,255,.92) 0%, rgba(246,255,232,.97) 100%);
  border:1px solid #b7d77f;
  border-radius:24px;
  overflow:hidden;
  box-shadow:0 10px 24px rgba(78,118,38,.12);
  transition:transform .18s ease, box-shadow .18s ease;
}

.card:hover{
  transform:translateY(-4px);
  box-shadow:0 18px 30px rgba(78,118,38,.18);
}

.card-thumb{
  aspect-ratio:16/9;
  background:linear-gradient(135deg, #8bc34a 0%, #d7f593 100%);
  overflow:hidden;
  position:relative;
}

.card-thumb:empty:before{
  content:"WAKABA JOURNAL";
  position:absolute;
  inset:auto 16px 14px 16px;
  color:rgba(24,49,15,.55);
  font-size:12px;
  font-weight:800;
  letter-spacing:.18em;
}

.card-thumb img{
  width:100%;
  height:100%;
  object-fit:cover;
}

.card-body{
  padding:18px 18px 20px;
}

.meta{
  color:#5e7d48;
  font-size:12px;
  font-weight:700;
  margin-bottom:8px;
}

.card-title{
  margin:0 0 10px;
  font-size:21px;
  line-height:1.45;
}

.card-title a{
  color:#1d3d10;
}

.excerpt{
  color:#415c34;
  font-size:14px;
  line-height:1.8;
}

.excerpt p{
  margin:0 0 8px;
}

/* sidebar */
.sidebar .widget{
  background:linear-gradient(180deg, rgba(255,255,255,.95) 0%, rgba(241,255,220,.98) 100%);
  border:1px solid #b4d97a;
  border-radius:22px;
  padding:20px;
  box-shadow:0 10px 22px rgba(72,104,28,.10);
  margin-bottom:18px;
}

.widget h3{
  margin:0 0 14px;
  color:#2e561c;
  font-size:18px;
  line-height:1.3;
}

.widget p{
  margin:0;
  color:#456236;
  font-size:14px;
}

.cat-list,
.tag-list{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}

.cat-list a,
.tag-list a{
  display:inline-block;
  background:linear-gradient(180deg, #f8ffe6 0%, #d4f190 100%);
  color:#274717;
  border:1px solid #a5ce5e;
  border-radius:999px;
  padding:8px 12px;
  font-size:13px;
  font-weight:700;
  box-shadow:0 4px 10px rgba(0,0,0,.05);
}

/* footer */
.site-footer{
  margin-top:40px;
  background:linear-gradient(90deg, #234714 0%, #4e8326 100%);
  color:#eefad8;
  padding:24px 0;
  font-size:14px;
  text-align:center;
}

/* responsive */
@media (max-width:960px){
  .site-header .inner{
    flex-direction:column;
    align-items:flex-start;
  }

  .brand a{
    font-size:21px;
  }

  .hero-box{
    padding:34px 24px;
    border-radius:24px;
  }

  .hero h1{
    font-size:30px;
  }

  .section-head{
    flex-direction:column;
    align-items:flex-start;
  }

  .section-head h1,
  .section-head h2{
    font-size:26px;
  }
}

/* ======================================
   Index Page Only
   ====================================== */

body.page-index{
  background:
    radial-gradient(circle at top left, #f6ffe9 0%, #e6f7c9 35%, #d1ec9f 70%, #c0df7b 100%);
}

.page-index .page-head{
  margin:18px 0 22px;
  padding:24px 26px;
  border-radius:24px;
  background:linear-gradient(135deg, #2f5d1d 0%, #6aa52c 58%, #b6e24f 100%);
  box-shadow:0 14px 34px rgba(59,102,24,.18);
}

.page-index .page-head h1{
  margin:0 0 8px;
  color:#fff;
  font-size:clamp(28px,4vw,42px);
  line-height:1.2;
}

.page-index .desc{
  color:#f4ffe6;
  font-size:15px;
}

.page-index .breadcrumb{
  color:#466437;
  font-size:13px;
  margin-top:18px;
  margin-bottom:16px;
}

.page-index .breadcrumb a{
  color:#355c1f;
}

.page-index .main{
  display:grid;
  gap:26px;
  grid-template-columns:1fr;
  margin:10px 0 48px;
}

@media (min-width:960px){
  .page-index .main{
    grid-template-columns:280px minmax(0,1fr);
    align-items:start;
  }

  .page-index .sidebar{
    grid-column:1;
  }

  .page-index .content{
    grid-column:2;
    min-width:0;
  }
}

.page-index .list{
  display:block;
}

.page-index .item{
  display:flex;
  gap:18px;
  align-items:flex-start;
  background:linear-gradient(180deg, rgba(255,255,255,.95) 0%, rgba(246,255,231,.98) 100%);
  border:1px solid #b6d67d;
  border-radius:22px;
  overflow:hidden;
  box-shadow:0 10px 24px rgba(74,110,31,.10);
  margin-bottom:20px;
  padding:16px;
}

.page-index .thumb-link{
  flex:0 0 110px;
  display:block;
  text-decoration:none;
  margin-top:30px;
}

.page-index .thumb{
  width:110px;
  height:110px;
  border-radius:12px;
  overflow:hidden;
  background:linear-gradient(135deg, #89c645 0%, #d5f38d 100%);
}

.page-index .thumb img,
.page-index .thumb IMG{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.page-index .body{
  flex:1;
  min-width:0;
  padding:0;
}

.page-index .meta{
  color:#5a7944;
  font-weight:700;
  font-size:12px;
  margin-bottom:8px;
}

.page-index .title{
  margin:0 0 10px;
  font-size:24px;
  line-height:1.45;
}

.page-index .title a{
  color:#1f3c12;
}

.page-index .excerpt{
  color:#446134;
  font-size:14px;
  line-height:1.8;
}

.page-index .actions{
  margin-top:14px;
}

.page-index .btn{
  display:inline-block;
  background:linear-gradient(180deg, #f7ffd9 0%, #c9ed76 100%);
  color:#1f3e10;
  padding:10px 16px;
  border-radius:999px;
  border:1px solid #a9cf60;
  font-weight:700;
  box-shadow:0 6px 14px rgba(54,88,17,.10);
}

.page-index .pagination{
  margin-top:28px;
}

.page-index .pagination a,
.page-index .pagination span{
  display:inline-block;
  padding:8px 12px;
  background:#fafff2;
  border:1px solid #b6d67d;
  border-radius:12px;
  color:#274718;
}

.page-index .pagination .current{
  background:linear-gradient(180deg, #dff6a7 0%, #b8e04f 100%);
  border-color:#9fca46;
  color:#1e3812;
}

.page-index .sidebar .widget{
  background:linear-gradient(180deg, rgba(255,255,255,.96) 0%, rgba(242,255,220,.98) 100%);
  border:1px solid #b5d67b;
  border-radius:20px;
  box-shadow:0 10px 20px rgba(74,110,31,.08);
}

.page-index .widget h3{
  color:#2d551c;
}

.page-index .cat-list a,
.page-index .tag-list a{
  background:linear-gradient(180deg, #f7ffe1 0%, #d7f195 100%);
  border:1px solid #a7ce61;
  color:#274917;
}

@media (max-width:960px){
  .page-index .item{
    gap:12px;
    padding:12px;
  }

  .page-index .thumb-link{
    flex:0 0 84px;
    margin-top:20px;
  }

  .page-index .thumb{
    width:84px;
    height:84px;
  }

  .page-index .title{
    font-size:18px;
  }

  .page-index .excerpt{
    font-size:14px;
  }
}

/* ======================================
   Post Page Only
   ====================================== */

body.page-post{
  background:
    linear-gradient(180deg, #f6ffe9 0%, #e6f6c8 20%, #d8eeab 100%);
}

.page-post .breadcrumb{
  color:#496638;
  font-size:13px;
  margin-top:20px;
  margin-bottom:18px;
}

.page-post .breadcrumb a{
  color:#355c1f;
}

.page-post .article{
  background:linear-gradient(180deg, rgba(255,255,255,.97) 0%, rgba(247,255,235,.99) 100%);
  border:1px solid #b8d77f;
  border-radius:28px;
  padding:28px;
  box-shadow:0 16px 36px rgba(72,108,26,.12);
}

.page-post .article h2{
  margin:6px 0 18px;
  font-size:18pt;
  line-height:1.3;
  color:#1f3a12;
}

.page-post .meta{
  color:#5b7a45;
  font-size:12px;
  font-weight:700;
}

.page-post .cover{
  margin:0 0 22px;
}

.page-post .cover img{
  border-radius:20px;
  box-shadow:0 10px 24px rgba(72,108,26,.12);
}

.page-post .post-content{
  color:#2f4725;
  font-size:16px;
  line-height:2;
}

.page-post .post-content h3{
  margin:24px 0 8px;
  color:#2d531c;
  font-size:clamp(18px,2.6vw,22px);
}

.page-post .post-content p{
  margin:0 0 16px;
}

.page-post blockquote{
  margin:22px 0;
  background:linear-gradient(135deg, #f8ffe9 0%, #e4f7be 100%);
  border-left:6px solid #a8d64b;
  padding:16px 18px;
  border-radius:16px;
  color:#355127;
  font-weight:700;
}

.page-post .post-meta-bar{
  border-top:1px solid #c8e09a;
  margin-top:28px;
  padding-top:18px;
}

.page-post .tag{
  border:1px solid #acd065;
  background:linear-gradient(180deg, #f8ffe3 0%, #d9f29a 100%);
  color:#284818;
  border-radius:999px;
  padding:7px 12px;
  font-size:13px;
  font-weight:700;
}

.page-post .btn{
  display:inline-block;
  background:linear-gradient(180deg, #f7ffd8 0%, #c8ed73 100%);
  color:#1f3e10;
  padding:10px 16px;
  border-radius:999px;
  border:1px solid #a9cf60;
  font-weight:700;
  box-shadow:0 6px 14px rgba(54,88,17,.10);
}

.page-post .author{
  background:linear-gradient(180deg, rgba(255,255,255,.96) 0%, rgba(244,255,225,.98) 100%);
  border:1px solid #b8d77f;
  border-radius:22px;
  padding:18px;
  box-shadow:0 10px 24px rgba(72,108,26,.08);
}

.page-post .author .name{
  color:#244317;
  font-size:18px;
}

.page-post .author p{
  margin:6px 0 0;
  color:#4b693b;
  font-size:14px;
}

.page-post .post-nav{
  display:flex;
  justify-content:space-between;
  gap:16px;
  margin:24px 0 32px;
}

.page-post .post-nav a{
  display:block;
  flex:0 0 calc(50% - 8px);
  background:linear-gradient(180deg, rgba(255,255,255,.95) 0%, rgba(244,255,225,.98) 100%);
  border:1px solid #b8d77f;
  border-radius:18px;
  color:#284718;
  padding:14px 16px;
  box-shadow:0 8px 16px rgba(72,108,26,.06);
}

.page-post .related h3{
  color:#244317;
  font-size:24px;
  margin:0 0 14px;
}

.page-post .related a{
  background:linear-gradient(180deg, rgba(255,255,255,.95) 0%, rgba(244,255,225,.98) 100%);
  border:1px solid #b8d77f;
  border-radius:18px;
  color:#284718;
  padding:16px;
  box-shadow:0 8px 16px rgba(72,108,26,.06);
}

/* profile */
.white_window{
  max-width:860px;
  margin:18px auto;
  padding:30px 24px;
  background:#ffffff;
  border:1px solid #d7e4c4;
  border-radius:24px;
  box-shadow:0 10px 30px rgba(90,120,60,0.08);
}

.profile-card{
  display:flex;
  align-items:center;
  gap:18px;
  padding:20px;
  margin-bottom:26px;
  background:linear-gradient(135deg, #f8ffef 0%, #eaf7d8 100%);
  border:1px solid #c8dda8;
  border-radius:20px;
}

.profile-card img{
  width:96px;
  height:96px;
  border-radius:50%;
  object-fit:cover;
  border:4px solid #ffffff;
  box-shadow:0 4px 14px rgba(80,110,50,0.12);
  flex-shrink:0;
}

.profile-card h1{
  margin:0 0 6px;
  font-size:28px;
  line-height:1.3;
  color:#2f4a1f;
  font-weight:700;
}

.profile-card p{
  margin:0;
  font-size:14px;
  color:#6a7d57;
  letter-spacing:0.04em;
}

.section{
  padding:22px 0;
  border-top:1px solid #dbe9c8;
}

.section:first-of-type{
  border-top:none;
  padding-top:0;
}

.section h2{
  margin:0 0 14px;
  padding-left:12px;
  font-size:22px;
  line-height:1.4;
  color:#355625;
  border-left:5px solid #9bcf63;
}

.section p{
  margin:0;
  font-size:16px;
  line-height:2;
  color:#425338;
}

@media (max-width:960px){
  .white_window{
    margin:20px 0;
    padding:22px 16px;
    border-radius:18px;
  }

  .profile-card{
    flex-direction:column;
    align-items:flex-start;
    gap:14px;
    padding:16px;
  }

  .profile-card img{
    width:82px;
    height:82px;
  }

  .profile-card h1{
    font-size:24px;
  }

  .section h2{
    font-size:20px;
  }

  .section p{
    font-size:15px;
    line-height:1.9;
  }
}
@media screen and (max-width:960px) {

.pc_mode_only {

  display: none;
}
.sp_mode_only {

  display: flex;
}
header {
        display: block; /* フレックスボックスを解除 */
        text-align: left; /* テキストを中央揃え */
}
/* ここからハンバーガーメニューに関するCSS #side_contentsをハンバーガーメニューのボディーと表示するため#side_contentsを含む */
aside {
  position: fixed;
  top: 0;
  left: -240px; /* 初期状態で非表示 */
  width: 240px; /* サイドバーの固定幅 */
  padding: 10px; /* 既存のパディング指定 */
  height: 100%;
  background-color: #3cb371;
  box-shadow: 2px 0 5px rgba(0, 0, 0, 0.2);
  transition: left 0.3s ease;
  z-index: 100; /* 背景より上 */
  box-sizing: border-box;
  overflow-y: auto; /* 垂直方向のスクロールバーを表示 */
  overflow-x: hidden; /* 横方向のスクロールバーを非表示（必要なら省略） */

}
/* チェックボックス（トリガー） */
.menu-toggle {
  display: none; /* 非表示 */
}
/* ハンバーガーメニューアイコン */
.hamburger {
  position: absolute;
  top: 40px;
  right: 30px;
  width: 30px;
  height: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  z-index: 101; /* メニューより上 */
}

.hamburger span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: #333;
  transition: transform 0.3s, opacity 0.3s;
  transform-origin: center; /* 回転の中心を明確に */
}


/* チェックボックスがチェックされたとき */
.menu-toggle:checked ~ aside {
  left: 0; /* メニューをスライドイン */
}

.menu-toggle:checked ~ .hamburger span:nth-child(1) {
  transform: rotate(45deg) translateY(9px) translateX(10px); /* translateYを調整 */
}

.menu-toggle:checked ~ .hamburger span:nth-child(2) {
  opacity: 0; /* 真ん中の線を非表示 */
}

.menu-toggle:checked ~ .hamburger span:nth-child(3) {
  transform: rotate(-45deg) translateY(-9px) translateX(10px); /* translateYを調整 */
}
/* メニュー表示中の背景（オーバーレイ） */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* グレーの半透明 */
  opacity: 0;
  visibility: hidden;
  z-index: 99; /* メニューより下 */
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* チェックボックスがチェックされたときにオーバーレイを表示 */
.menu-toggle:checked ~ .overlay {
  opacity: 1;
  visibility: visible;
  pointer-events: auto; /* クリックを有効にする */
}
/* ここまでハンバーガーメニューに関するCSS #side_contentsをハンバーガーメニューのボディーと表示するため#side_contentsを含む */
}
.sp_mode_only {

  display: none;
}
/* チェックボックス（トリガー） */
.menu-toggle {
  display: none; /* 非表示 */
}
/* スマホ用：HTMLは動かさず、ハンバーガーだけヘッダー位置に固定 */
@media screen and (max-width:960px){



  .menu-toggle{
    display: none;
  }

  .site-header{
    position: sticky;
    top: 0;
    z-index: 300;
  }

  .site-header .inner{
    min-height: 72px;
    padding-right: 64px;
  }

  .hamburger{
    position: fixed;
    top: 50px;
    right: 20px;
    width: 30px;
    height: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    z-index: 350;
  }

  .hamburger span{
    display: block;
    width: 100%;
    height: 3px;
    background: #fff;
    border-radius: 999px;
    transition: transform .3s ease, opacity .3s ease;
    transform-origin: center;
  }

  .sidebar{
    position: fixed;
    top: 0px;
    left: -260px;
    bottom: 0;
    width: 240px;
    padding: 12px;
    margin: 0;
    background: #3cb371;
    box-shadow: 2px 0 8px rgba(0,0,0,.2);
    transition: left .3s ease;
    z-index: 340;
    box-sizing: border-box;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
  }

  .overlay{
    position: fixed;
    top: 0px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,.5);
    opacity: 0;
    visibility: hidden;
    z-index: 330;
    transition: opacity .3s ease, visibility .3s ease;
  }

  .menu-toggle:checked ~ .sidebar{
    left: 0;
  }

  .menu-toggle:checked ~ .overlay{
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .menu-toggle:checked ~ .hamburger span:nth-child(1){
    transform: rotate(45deg) translateY(8px) translateX(6px);
  }

  .menu-toggle:checked ~ .hamburger span:nth-child(2){
    opacity: 0;
  }

  .menu-toggle:checked ~ .hamburger span:nth-child(3){
    transform: rotate(-45deg) translateY(-8px) translateX(6px);
  }
}
