@charset "utf-8";
/* =========================================================
   共通ヘッダー・フッター（トップページ／詳細ページ共通）
   theme/parts/header.html・footer.html とセットで使用
   旧 nissyoku.css の a / a:visited 等に負けないよう、
   すべてブロックのクラスを起点に指定しています。
   ========================================================= */

/* 詳細ページ：両脇の背景画像（nissyoku.css の wall.jpg）を外す
   ※トップページは index_new.php 側の body 指定で上書きされるため影響なし */
body{background-image:none;background-color:#fff;}

.tp-util,.tp-head,.tp-nav,.tp-foot{
 --g:#3a9e1a;--g2:#2c7a12;--g3:#1f6b0c;--gd:#185a09;--soft:#eef7e9;--soft2:#f6faf3;--ink:#1a1a1a;--tx:#2b2b2b;--mut:#5a665e;--line:#e3ece0;
 font-family:"メイリオ",Meiryo,"Hiragino Kaku Gothic ProN","Hiragino Sans",sans-serif;font-size:14px;line-height:1.6;color:var(--tx);text-align:left;
}
.tp-util,.tp-head,.tp-nav,.tp-foot,
.tp-util *,.tp-head *,.tp-nav *,.tp-foot *{box-sizing:border-box;}
.tp-util ul,.tp-head ul,.tp-nav ul,.tp-foot ul{margin:0;padding:0;list-style:none;}
.tp-util p,.tp-foot p{margin:0;}
.tp-util .tp-wrap,.tp-head .tp-wrap,.tp-nav .tp-wrap,.tp-foot .tp-wrap{max-width:1080px;margin:0 auto;padding:0 20px;}
.tp-nav .tp-wrap{padding:0;}

/* ===== ユーティリティバー ===== */
.tp-util{background:var(--gd);color:#dfeed6;font-size:12.5px;}
.tp-util .tp-wrap{display:flex;justify-content:flex-end;flex-wrap:wrap;}
.tp-util a,.tp-util a:visited{color:#e8f4e0;padding:6px 10px;display:inline-block;text-decoration:none;}
.tp-util a:hover{color:#fff;text-decoration:underline;}
.tp-util a.em,.tp-util a.em:visited{color:#fff;font-weight:700;background:rgba(255,255,255,.12);border-radius:0 0 8px 8px;}

/* ===== ヘッダー ===== */
.tp-head{background:#fff;border-bottom:1px solid var(--line);}
.tp-head .tp-wrap{display:flex;align-items:center;justify-content:space-between;gap:20px;padding-top:12px;padding-bottom:12px;}
.tp-head .tp-logo{display:block;flex:0 0 auto;}
.tp-head .tp-logo img{width:375px;max-width:100%;height:auto;display:block;border:0;}
.tp-head .tp-tools{display:flex;align-items:center;gap:16px;}
.tp-head .tp-fs{display:flex;align-items:center;gap:6px;font-size:12px;color:var(--mut);font-weight:700;white-space:nowrap;}
.tp-head .tp-fs button{font-family:inherit;cursor:pointer;width:30px;height:30px;border-radius:8px;border:1px solid #cfe3c6;background:#fff;color:var(--g3);font-weight:700;padding:0;margin:0;line-height:1;}
.tp-head .tp-fs button[data-fs="s"]{font-size:11px;}
.tp-head .tp-fs button[data-fs="m"]{font-size:13px;}
.tp-head .tp-fs button[data-fs="l"]{font-size:16px;}
.tp-head .tp-fs button:hover{border-color:var(--g);}
.tp-head .tp-fs button[aria-pressed="true"]{background:var(--g);border-color:var(--g);color:#fff;}
.tp-head .tp-search{width:300px;}
.tp-head .tp-search .gsc-control-cse{padding:0 !important;border:0 !important;background:transparent !important;}

/* ===== グローバルナビ ===== */
.tp-nav{position:sticky;top:0;z-index:500;background:linear-gradient(180deg,#47a82a,#2e8a1c);box-shadow:0 4px 14px rgba(30,80,20,.18);}
.tp-nav .tp-gnav{display:flex;}
.tp-nav .tp-gnav > li{position:relative;flex:1 1 auto;margin:0;padding:0;}
.tp-nav .tp-gnav > li > a,.tp-nav .tp-gnav > li > a:visited{display:flex;align-items:center;justify-content:center;gap:6px;height:48px;padding:0 10px;color:#fff;font-weight:700;font-size:15px;white-space:nowrap;text-decoration:none;border-right:1px solid rgba(255,255,255,.18);transition:background .15s;}
.tp-nav .tp-gnav > li:first-child > a{border-left:1px solid rgba(255,255,255,.18);}
.tp-nav .tp-gnav > li > a:hover,.tp-nav .tp-gnav > li:hover > a{background:rgba(0,0,0,.14);color:#fff;text-decoration:none;}
.tp-nav .tp-gnav > li.has > a::after{content:"";width:6px;height:6px;border-right:2px solid #fff;border-bottom:2px solid #fff;transform:rotate(45deg) translate(-2px,-2px);}
.tp-nav .tp-sub{display:none;position:absolute;left:0;top:100%;min-width:220px;padding:8px;background:#fff;border-radius:0 0 12px 12px;box-shadow:0 12px 28px rgba(0,0,0,.16);}
.tp-nav .tp-gnav > li:hover .tp-sub,.tp-nav .tp-gnav > li:focus-within .tp-sub{display:block;}
.tp-nav .tp-sub li{margin:0;padding:0;}
.tp-nav .tp-sub a,.tp-nav .tp-sub a:visited{display:block;padding:8px 12px;border-radius:8px;color:var(--tx);font-size:14px;font-weight:400;text-decoration:none;white-space:nowrap;}
.tp-nav .tp-sub a:hover{background:var(--soft);color:var(--g2);text-decoration:none;}
.tp-nav .tp-burger,.tp-nav .tp-burger-btn,.tp-nav .tp-gsub{display:none;}

/* ===== フッター ===== */
.tp-foot{background:var(--gd);color:#dfeed6;margin-top:10px;}
.tp-foot .tp-wrap{padding-top:22px;padding-bottom:18px;}
.tp-foot .tp-foot-nav{display:flex;flex-wrap:wrap;justify-content:center;gap:4px 18px;font-size:13px;margin-bottom:12px;}
.tp-foot .tp-foot-nav a,.tp-foot .tp-foot-nav a:visited{color:#e8f4e0;text-decoration:none;}
.tp-foot .tp-foot-nav a:hover{color:#fff;text-decoration:underline;}
.tp-foot .tp-foot-nav.sub{font-size:12px;padding-top:10px;border-top:1px solid rgba(255,255,255,.15);}
.tp-foot .tp-copyr{text-align:center;font-size:12px;opacity:.85;}

/* ===== レスポンシブ ===== */
@media (max-width:1000px){
 .tp-head .tp-tools .tp-search{width:240px;}
}
@media (max-width:760px){
 .tp-util .tp-wrap,.tp-head .tp-wrap,.tp-foot .tp-wrap{padding-left:14px;padding-right:14px;}
 .tp-util{display:none;}
 .tp-head .tp-wrap{flex-wrap:wrap;padding-top:10px;padding-bottom:10px;}
 .tp-head .tp-logo img{width:240px;}
 .tp-head .tp-tools{width:100%;flex-direction:column;align-items:stretch;gap:8px;}
 .tp-head .tp-tools .tp-search{width:100%;}
 .tp-nav .tp-burger-btn{display:flex;align-items:center;gap:8px;height:46px;padding:0 14px;color:#fff;font-weight:700;cursor:pointer;}
 .tp-nav .tp-burger-btn span{display:block;width:20px;height:2px;background:#fff;box-shadow:0 6px 0 #fff,0 -6px 0 #fff;}
 .tp-nav .tp-gnav{display:none;flex-direction:column;background:#fff;}
 .tp-nav .tp-burger:checked ~ .tp-gnav{display:flex;}
 .tp-nav .tp-gsub{padding:10px 16px 14px;background:var(--soft2);flex-wrap:wrap;gap:4px 16px;border-bottom:1px solid var(--line);}
 .tp-nav .tp-burger:checked ~ .tp-gsub{display:flex;}
 .tp-nav .tp-gsub a,.tp-nav .tp-gsub a:visited{font-size:13px;color:var(--g3);text-decoration:none;}
 .tp-nav .tp-gnav > li > a,.tp-nav .tp-gnav > li > a:visited{justify-content:flex-start;height:auto;padding:12px 16px;color:var(--ink);border:0 !important;border-bottom:1px solid var(--line) !important;}
 .tp-nav .tp-gnav > li > a:hover,.tp-nav .tp-gnav > li:hover > a{background:var(--soft);color:var(--ink);}
 .tp-nav .tp-gnav > li.has > a::after{border-color:var(--g);}
 .tp-nav .tp-sub{display:block;position:static;box-shadow:none;border-radius:0;padding:0 0 6px 16px;}
 .tp-nav .tp-sub a,.tp-nav .tp-sub a:visited{padding:6px 12px;font-size:13.5px;}
}
