    :root{
      --bg: #f6f7f6;
      --paper: #ffffff;
      --ink: #1f2937;
      --muted: #6b7280;
      --line: rgba(17,24,39,.10);
      --brand: #1f6a4a;
      --brand2: #2d8a61;
      --shadow: 0 10px 28px rgba(0,0,0,.08);
      --radius: 18px;
      --radius2: 14px;
      --max: 1240px;
      --sidebarW: 300px;
      --rightW: 280px;
    }

    * { box-sizing: border-box; }
    html, body { height: 100%; }
    body{
      margin: 0;
      color: var(--ink);
      background: var(--bg);
      line-height: 1.65;
      font-family: "M PLUS Rounded 1c", sans-serif;
    }
    a{ color: inherit; text-decoration: none; }
    img{ max-width: 100%; display: block; }

    /* ===== Layout ===== */
    .app{
      min-height: 100vh;
      display: grid;
      grid-template-columns: var(--sidebarW) 1fr;
    }

    /* ===== Left Sidebar ===== */
.sidebar{
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: auto;

  background-image: url("assets/sidebar-bg.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center bottom;

  padding: 18px 16px;
  color: #1f2937; /* 白背景寄りなので文字は黒系に */
  box-shadow: 8px 0 20px rgba(0,0,0,.12);
}

/* 上ほど白く、下ほど透明（画像が見える） */
.sidebar::before{
    content:"";
    position:absolute;
    inset:0;

    background: linear-gradient(180deg, rgba(255, 255, 255, 1) 0%, /* 上は完全白 */
        rgb(255 255 255 / 0%) 30%, /* ロゴ周辺 */
        rgb(255 255 255 / 0%) 40%,
        rgb(255 255 255 / 0%) 45%,
        rgb(255 255 255 / 0%) 48%,
        rgb(255 255 255 / 0%) 50%, /* ここで完全透明に */
        rgb(18 169 0 / 22%) 100% /* 下半分は一切触らない */);

    pointer-events:none;
}

/* サイドバー内の要素を前面に */
.sidebar > *{
  position: relative;
  z-index: 1;
}
    .brand{
      /* display: grid;
      grid-template-columns: 64px 1fr;
      gap: 12px;
      align-items: center;
      padding: 10px 10px 14px;
      border-bottom: 1px solid rgba(255,255,255,.16);
      margin-bottom: 12px; */
    }
    .logo{
      /* width: 64px; height: 64px;
      border-radius: 18px;
      background: rgba(255,255,255,.10);
      display: grid;
      place-items: center;
      border: 1px solid rgba(255,255,255,.18);
      overflow: hidden; */
    }
    .logo p{
        text-align: center;
    }
    .brand h1{
      font-size: 22px;
      margin: 0;
      letter-spacing: .02em;
    }
    .brand p{
      margin: 2px 0 0;
      font-size: 12px;
      opacity: .85;
    }

    .nav{
      margin-top: 10px;
      display: grid;
    }
    .nav a{
        position: relative;          /* ←追加 */
        overflow: hidden;            /* ←追加 */
        isolation: isolate;          /* ←追加（重なり事故防止） */
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 10px;
      padding: 12px 12px;
      background: rgba(255,255,255,.08);
      transition: transform .15s ease, background .15s ease;
    }
    /* 右から入るグラデ（左側は透明 → アイコンに被らない） */
    .nav a::before{
        content: "";
        position: absolute;
        inset: 0;

        /* 左は透明、途中から緑にする（だいたいアイコン+余白分） */
        background: linear-gradient(
        90deg,
        #174c33 0%,
        #1f6a4a 35%,
        #208129 65%,
        #2c9501 100%
        );

        /* 右からスライドしてくる */
        transform: translateX(30%);
        opacity: 0;
        transition: transform .22s ease, opacity .22s ease;

        z-index: 0;
    }
    .nav a:hover .icon img{
        filter: brightness(0) invert(1);
    }
    /* 前面に出す */
    .nav a .label,
    .nav a .chev{
    position: relative;
    z-index: 1;
    transition: color .22s ease;
    }

    .nav a:hover .label,
    .nav a:hover .chev{
    color: #fff;
    }

    /* アイコンはグラデに被らない想定なのでそのままでもOK */
    .nav .icon{
    position: relative;
    z-index: 2; /* 念のため一番上 */
    }

    /* 画像アイコンの見え方を安定させる */
    .nav .icon img{
    width: 18px;
    height: 18px;
    object-fit: contain;
    display: block;
    }
    /* ホバーで出す */
    .nav a:hover::before{
        transform: translateX(0%);
        opacity: 1;
    }
    .nav a:active{
        transform: translateY(0px) scale(.99);
    }
    .nav .label{
      display: flex;
      align-items: center;
      gap: 10px;
      font-weight: 400;
      letter-spacing: .02em;
      font-size: 18px;
    }
    .nav .icon{
      width: 28px; height: 28px;
      border-radius: 10px;
      display: grid;
      place-items: center;
      border: 1px solid rgba(255,255,255,.14);
      flex: 0 0 auto;
    }
    .nav .chev{
      opacity: .85;
      font-size: 18px;
      line-height: 1;
    }
    .nav a:not(:last-child)::after{
        content:"";
        position:absolute;
        left:50px; /* ←アイコン幅+余白 */
        right:12px;
        bottom:-1px;
        height:1px;
        background: rgba(31,106,74,.18);
    }
    .side-actions{
      margin-top: 14px;
      padding-top: 12px;
      border-top: 1px solid rgba(255,255,255,.16);
      display: grid;
      gap: 10px;
    }
    .pill{
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 10px;
      padding: 12px 12px;
      border-radius: 999px;
      background: rgb(255 255 255 / 75%);
      border: 1px solid rgba(255,255,255,.16);
      font-weight: 500;
    }
    .pill:hover{ background: rgb(255 252 163); }
    .pill small{ font-weight: 500; opacity: .9; }

    /* ===== Main ===== */
    .topbar{
      max-width: var(--max);
      display: flex;
      align-items: center;
      justify-content: flex-end;
      gap: 14px;
      margin: 18px 40px;
    }
    .search{
      display: flex;
      align-items: center;
      gap: 8px;
      background: #fff;
      border: 1px solid var(--line);
      border-radius: 999px;
      padding: 8px 10px 8px 12px;
      box-shadow: 0 6px 16px rgba(0,0,0,.04);
    }
    .search input{
      border: 0;
      outline: none;
      width: min(46vw, 420px);
      font-size: 14px;
    }
    .search button{
      border: 0;
      background: var(--brand);
      color: #fff;
      padding: 8px 12px;
      border-radius: 999px;
      cursor: pointer;
      font-weight: 500;
    }
/* ====== Top Login / Contact Pills ====== */

.toplinks{
  display: flex;
  align-items: center;
  gap: 14px;
}

/* ボタン全体 */
.top-pill{
  display: inline-flex;
  align-items: center;
  gap: 14px;

  padding: 10px 18px;
  border-radius: 999px;

  background: linear-gradient(180deg, #ffffff, #f1f1f1);
  border: 1px solid rgba(0,0,0,.08);
  box-shadow: 0 12px 25px rgba(0,0,0,.08);

  font-weight: 500;
  font-size: 18px;
  color: #222;
  text-decoration: none;

  transition: all .2s ease;
}

/* ホバー */
.top-pill:hover{
  transform: translateY(-2px);
  box-shadow: 0 18px 35px rgba(0,0,0,.12);
}

/* アイコン丸背景 */
.top-pill .icon{
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.top-pill .icon img{
  width: 18px;
  height: 18px;
  object-fit: contain;
}

/* テキスト */
.top-pill-text{
  white-space: nowrap;
}

/* 矢印 */
.top-pill .chev{
  margin-left: 8px;
  font-weight: 500;
  opacity: .7;
}

    .container{
      /* max-width: var(--max);
      margin: 0 auto;
      display: grid;
      grid-template-columns: 1fr var(--rightW);
      gap: 18px;
      align-items: start; */
    }

    /* ===== Hero card ===== */
    .hero{
      /* background: var(--paper);
      border: 1px solid var(--line);
      border-radius: var(--radius);
      box-shadow: var(--shadow);
      overflow: hidden; */
    }
    .hero-media{
        height: clamp(360px, 42vw, 600px);
    }
    .hero-media img{
      width: 100%;
      height: 100%;
      object-fit: cover;
    }


    .hero-body{
      padding: 16px 18px 18px;
      display: grid;
      gap: 8px;
    }
    .kicker{
      display: inline-flex;
      gap: 8px;
      align-items: center;
      font-weight: 500;
      color: var(--brand);
      letter-spacing: .02em;
      font-size: 13px;
    }
    .hero h2{
      margin: 0;
      font-size: clamp(22px, 2.4vw, 30px);
      letter-spacing: .02em;
    }
    .hero p{
      margin: 0;
      color: var(--muted);
      font-weight: 500;
    }
    .cta{
      margin-top: 8px;
      display: flex;
      gap: 10px;
      flex-wrap: wrap;
    }
    .btn{
      display: inline-flex;
      align-items: center;
      gap: 10px;
      padding: 12px 14px;
      border-radius: 999px;
      border: 1px solid var(--line);
      background: #fff;
      font-weight: 500;
      cursor: pointer;
    }
    .btn.primary{
      background: linear-gradient(180deg, var(--brand2), var(--brand));
      color: #fff;
      border-color: rgba(0,0,0,.08);
    }
    .btn:hover{ transform: translateY(-1px); }
    .btn:active{ transform: translateY(0px); }

    .contents{
        padding: 60px 40px;
        max-width: 980px;
        margin: 0 auto;
    }
    /* ===== Right quick links ===== */
    .quick{
      display: grid;
      gap: 12px;
    }
    .quick a{
      background: var(--paper);
      border: 1px solid var(--line);
      border-radius: var(--radius2);
      box-shadow: 0 10px 22px rgba(0,0,0,.06);
      padding: 12px 12px;
      display: grid;
      grid-template-columns: 40px 1fr auto;
      gap: 10px;
      align-items: center;
      transition: transform .15s ease;
    }
    .quick a:hover{ transform: translateY(-2px); }
    .qicon{
      width: 40px; height: 40px;
      border-radius: 14px;
      background: rgba(31,106,74,.12);
      border: 1px solid rgba(31,106,74,.18);
      display: grid;
      place-items: center;
      color: var(--brand);
      font-weight: 500;
    }
    .qtitle{
      font-weight: 500;
      letter-spacing: .02em;
    }
    .qsub{
      font-size: 12px;
      color: var(--muted);
      font-weight: 500;
      margin-top: 1px;
    }
    .qarrow{ color: var(--muted); font-weight: 500; }

    
    
    /* ===== News ===== */


    .news{
    padding: 10px;
    border: 3px solid green;
    border-radius: 23px;
    }
/* ===== News List 横並び1行レイアウト ===== */
.news-item{
  display: grid;
  grid-template-columns: 120px 150px 1fr;
  align-items: center;
  gap: 16px;
  padding: 14px 16px;
  border-top: 1px solid var(--line);
}

.news-item:first-child{
  border-top: none;
}

.news .date{
  font-size: 16px;
  font-weight: 700;
  color: var(--muted);
  white-space: nowrap;
}

.cats{
  display: flex;
  gap: 6px;
}

.cat{
  font-size: 14px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(31,106,74,.10);
  border: 1px solid rgba(31,106,74,.18);
  color: var(--brand);
  white-space: nowrap;
}

.news-title{
  font-weight: 800;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.news-title:hover{
  color: var(--brand);
}

/* Read more */
.news-footer{
  padding: 16px;
  display: flex;
  justify-content: flex-end;
  border-top: 1px solid var(--line);
}

.news-more{
  display: inline-flex;
  align-items: center;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 800;
  background: linear-gradient(180deg, var(--brand2), var(--brand));
  color: #fff;
  transition: transform .2s ease, box-shadow .2s ease;
}

.news-more:hover{
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0,0,0,.12);
}


    /* ===== Mobile ===== */
    .mobile-toggle{
      display: none;
      position: fixed;
      left: 14px;
      bottom: 14px;
      z-index: 999;
      border: 0;
      border-radius: 999px;
      padding: 12px 14px;
      font-weight: 900;
      color: #fff;
      background: linear-gradient(180deg, var(--brand2), var(--brand));
      box-shadow: 0 16px 30px rgba(0,0,0,.18);
      cursor: pointer;
    }

    @media (max-width: 980px){
      .app{
        grid-template-columns: 1fr;
      }
      .sidebar{
        position: fixed;
        inset: 0 auto 0 0;
        width: min(88vw, 340px);
        transform: translateX(-105%);
        transition: transform .22s ease;
        z-index: 1000;
        box-shadow: 20px 0 40px rgba(0,0,0,.18);
      }
      body.nav-open .sidebar{ transform: translateX(0%); }
      .container{
        grid-template-columns: 1fr;
      }
      .topbar{
        justify-content: space-between;
      }
      .search input{ width: min(60vw, 460px); }
      .mobile-toggle{ display: inline-flex; align-items: center; gap: 10px; }
      .backdrop{
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,.35);
        z-index: 999;
      }
      body.nav-open .backdrop{ display: block; }
    }




/* PC：topbar表示 / Mobile：m-header表示 */
.m-header{ display:none; }
.topbar{ display:flex; }

@media (max-width: 980px){
  .topbar{ display:none; }
  .m-header{ display:flex; }
}

/* PCの右寄せ */
.topbar{
  justify-content: flex-end;
}
.top-cta{
  display:flex;
  gap: 14px;
  align-items:center;
}

/* Mobile headerの横並び */
.m-header{
  position: sticky;
  top: 0;
  z-index: 20;
  align-items: center;
  gap: 10px;
  padding: 10px 10px;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(0,0,0,.08);
}
.m-logo img{ height: 68px; width:auto; display:block; }
.m-cta{
  margin-left: auto;
  display:flex;
  gap: 10px;
  align-items:center;
}

/* モバイルで文字を省略 */
@media (max-width: 520px){
  .top-pill-text{ display:none; }
  .top-pill{ padding: 10px; }
}
  .m-menu{
    border:0;
    background:#1f6a4a;
    color:#fff;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    cursor:pointer;
    font-size: 18px;
    font-weight: 900;
  }
/* ==============================
   Footer (inside main)
============================== */
.space{
  margin-top: 120px;
}
.footer-main{
  margin-top: 36px;
  overflow: hidden;

  background: linear-gradient(90deg, #174c33 0%, #479373 40%, #c8f1df 70%, #ffffff 100%);
  color: #fff;

  /* main内カードっぽく */
  box-shadow: 0 12px 30px rgba(0,0,0,.10);
}

.footer-main-inner{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 28px 20px;
    max-width: 800px;
    margin: 0 auto;
}

.footer-logo{
  width: 175px;
}

.footer-title{
  margin: 0;
  font-weight: 900;
  letter-spacing: .03em;
  font-size: 18px;
}

.footer-sub{
  margin: 6px 0 0;
  font-size: 13px;
  opacity: .85;
  font-weight: 700;
}

.footer-head{
  margin: 0 0 10px;
  font-size: 12px;
  letter-spacing: .12em;
  opacity: .85;
  font-weight: 900;
}

.footer-links{
  display: grid;
  gap: 8px;
}

.footer-links a{
  color: #fff;
  text-decoration: none;
  opacity: .88;
  font-weight: 800;
  transition: transform .18s ease, opacity .18s ease;
}

.footer-links a:hover{
  opacity: 1;
  transform: translateX(4px);
}

.footer-info p{
  margin: 6px 0;
  font-size: 13px;
  opacity: .88;
  font-weight: 700;
}

.footer-main-bottom{
  padding: 14px 18px;
  font-size: 12px;
  letter-spacing: .06em;
  text-align: center;
}

/* Mobile */
@media (max-width: 980px){
  .footer-main-inner{
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer-logo{
    margin-left: auto;
    margin-right: auto;
  }
  .footer-links{
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    justify-items: center;
  }
}

/* main を基準にする */
.main{
  position: relative;
}

/* 犬のラッパー */
.footer-peek-wrap{
  position: relative;
  height: 0; /* レイアウト崩さない */
  z-index: 10;
}

/* 犬本体 */
.footer-peek{
  position: absolute;
  bottom: 66px; /* ← フッター上に手をかける位置 */
  left: 40px;
  width: 260px;
  height: auto;
  pointer-events: none;
  filter: drop-shadow(0 12px 18px rgba(0,0,0,.18));
  z-index: 99;
}

/* フッター側に余白 */
.footer-main{
  position: relative;
  z-index: 1;
}

/* モバイル */
@media (max-width: 980px){
  .footer-peek{
    width: 180px;
    left: 20px;
    bottom: 94px;
  }
}



/* ====================================== */
/* 固定ページ */
/* ====================================== */
/* ===== Page hero band ===== */
.page-hero{
  overflow: hidden;
  box-shadow: 0 14px 34px rgba(0,0,0,.12);

  /* 画像＋グラデの雰囲気 */
  background: linear-gradient(90deg, rgb(9 120 15 / 88%) 0%, rgb(83 180 0 / 82%) 55%, rgb(210 194 0 / 70%) 100%), url(assets/page-band.jpg);
  background-size: cover;
  background-position: center;
}

.page-hero-inner{
  padding: clamp(22px, 3vw, 44px) clamp(18px, 3vw, 44px);
  min-height: 120px;
  display: grid;
  align-content: center;
  gap: 8px;
  color: #fff;
}

.page-hero-title{
  margin: 0;
  font-weight: 900;
  letter-spacing: .04em;
  font-size: clamp(22px, 3.2vw, 36px);
}

.page-hero-sub{
  margin: 0;
  font-weight: 700;
  opacity: .92;
  letter-spacing: .12em;
  text-transform: none; /* 英語大文字にしたいなら uppercase */
  font-size: 13px;
}

/* 本文エリア */
.page-wrap{
  padding: 22px 40px 0;
}
.page-body{
  padding: 22px 22px;
}

/* モバイル */
@media (max-width: 980px){
  .page-hero{ margin: 0 14px; border-radius: 16px; }
  .page-wrap{ padding: 16px 14px 0; }
}



.front-content{
  margin-top: 40px;
}