/* BayLinkの本文・ウィジェット・編集機能を残し、上総鶴舞の配色に統一。 */
.sol-site {--sol-blue:#236390;--sol-blue-light:#3494d3;--sol-green:#608b35;background:#f5f6f5;color:#30383c;font-family:"Noto Sans JP","Hiragino Kaku Gothic ProN","Meiryo",sans-serif;line-height:1.85;}
.sol-site .keytone,.sol-site .impactone{background-color:var(--sol-green);}
.sol-site .chictone{background-color:var(--sol-blue);}
.sol-site .keycolor,.sol-site .impactcolor{color:var(--sol-green);}
.sol-site a,.sol-site p a{color:var(--sol-blue);}
.sol-site a:hover,.sol-site p a:hover{color:var(--sol-green);}
.sol-site h1,.sol-site h2,.sol-site h3,.sol-site h5{color:var(--sol-blue);}
.sol-site h1::after,.sol-site .heading::after{background:var(--sol-green);}
.sol-site h5::before{color:var(--sol-green);}
.sol-site .sol-header{display:block;position:relative;z-index:100;top:auto;left:auto;height:auto;min-width:0;border:0;background:transparent;width:min(1000px,calc(100% - 40px));margin:0 auto;}
.sol-brand-row{display:flex;align-items:center;justify-content:space-between;gap:24px;min-height:104px;padding:20px 0;}
.sol-brand .custom-logo-link,.sol-brand .sol-site-name{display:block;color:#202820;font-size:clamp(1.8rem,2.3vw,2.8rem);font-weight:600;line-height:1.5;}
.sol-brand img{display:block;width:auto;max-width:min(480px,65vw);max-height:75px;height:auto;}
.sol-header-tools:empty{display:none;}
.sol-header-tools{font-size:1.3rem;}
.sol-navigation{background:linear-gradient(#3494d3,#2f84bc 50%,#236390);border-bottom:5px solid var(--sol-green);}
.sol-menu{display:flex;flex-wrap:wrap;margin:0!important;padding:0!important;list-style:none!important;}
.sol-menu li{position:relative;list-style:none!important;padding:0;margin:0;}
.sol-menu>li{border-right:1px solid rgba(255,255,255,.22);flex:1 1 auto;}
.sol-menu a{display:block;padding:13px 16px;color:white!important;font-size:1.5rem;line-height:1.6;white-space:normal;}
.sol-menu a:hover,.sol-menu .current-menu-item>a,.sol-menu .current-menu-ancestor>a{background:var(--sol-green);}
.sol-menu ul{display:none;position:absolute;left:0;top:100%;min-width:230px;max-width:320px;padding:0!important;margin:0!important;list-style:none;background:var(--sol-blue);box-shadow:0 10px 20px #0002;}
.sol-menu ul ul{left:100%;top:0;}
.sol-menu li:hover>ul,.sol-menu li:focus-within>ul,.sol-menu li.is-open>ul{display:block;}
.sol-submenu-toggle{border:0;color:white;background:transparent;position:absolute;right:3px;top:11px;width:24px;height:26px;cursor:pointer;line-height:1;}
.sol-menu li.menu-item-has-children>a,.sol-menu li:has(>ul)>a{padding-right:30px;}
.sol-menu-toggle{display:none;}
.sol-site .contents_wrap{padding-top:0;margin-top:0;}
.sol-site .contents_in{width:min(1000px,calc(100% - 40px));max-width:1000px;padding:0;margin:30px auto;}
.sol-site section{padding:30px;background:#fff;border:1px solid #e3e7e5;min-height:0;margin-top:26px;}
.sol-site .heading{margin-bottom:24px;line-height:1.7;}
.sol-site .sol-main{min-height:45vh;}
.sol-site .tb-wrap{overflow-wrap:anywhere;line-height:1.9;}
.sol-site .tb-wrap img{max-width:100%;height:auto;}
.sol-site .tb-wrap iframe{max-width:100%;}
.sol-site .tb-wrap table{max-width:100%;}
.sol-site .tb-wrap p{margin-bottom:1em;}
.sol-hero{position:relative;background:transparent;margin-bottom:26px;}
.sol-slides{position:relative;}
.sol-slide{position:relative;}
.sol-slide[hidden]{display:none!important;}
.sol-slide img{display:block;width:100%;height:auto;aspect-ratio:auto;object-fit:contain;}
.sol-slide-caption{position:absolute;bottom:0;right:0;left:0;padding:12px 24px;background:#0009;color:white;}

.sol-news-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:26px;}
.sol-news-card{min-width:0;}
.sol-news-picture{display:block;aspect-ratio:3/2;overflow:hidden;background:#e6eee2;border-top:4px solid var(--sol-green);}
.sol-news-picture img{width:100%;height:100%;object-fit:cover;display:block;}
.sol-no-image{display:grid;place-items:center;min-height:100%;padding:24px;color:var(--sol-green);text-align:center;font-size:1.4rem;}
.sol-news-card time{display:block;color:#69736a;font-size:1.3rem;margin-top:14px;}
.sol-site .sol-news-card h3{font-size:1.8rem;line-height:1.65;margin:5px 0 12px;}
.sol-news-card p{font-size:1.4rem;line-height:1.85;}
.sol-gallery-grid{display:grid;grid-template-columns:repeat(var(--sol-columns,3),minmax(0,1fr));gap:22px;}
.sol-gallery-item{margin:0;min-width:0;}
.sol-gallery-item img{width:100%;height:auto;aspect-ratio:4/3;object-fit:contain;background:#f2f4f0;display:block;}
.sol-gallery-item figcaption{padding:10px 0;font-size:1.4rem;line-height:1.7;}
.sol-map iframe{display:block;width:100%;height:450px;border:0;}
.sol-site .sol-footer{width:min(1000px,calc(100% - 40px));margin:50px auto 0;padding:30px;background:#edf1e9;border-top:5px solid var(--sol-green);color:#30383c;}
.sol-footer-widgets{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:28px;}
.sol-site .sol-footer-widgets h3{font-size:1.7rem;}
.sol-foot-menu{display:flex;gap:20px;list-style:none;margin:25px 0;flex-wrap:wrap;}
.sol-copyright{margin-top:28px;padding-top:18px;border-top:1px solid #cbd6c5;font-size:1.3rem;}
.sol-home-widget{margin:26px 0;}
.sol-skip{position:fixed;left:20px;top:-100px;padding:10px;background:#fff;z-index:10000;}
.sol-skip:focus{top:10px;}
.sol-site :focus-visible{outline:3px solid #d28a15;outline-offset:3px;}
.sol-lightbox{border:0;border-radius:6px;padding:18px;background:#102521;color:white;width:min(1100px,95vw);max-height:94vh;}
.sol-lightbox::backdrop{background:#000c;}
.sol-lightbox-close{display:block;margin-left:auto;background:transparent;color:#fff;border:1px solid #ffffff70;padding:7px 12px;cursor:pointer;}
.sol-lightbox-image{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-top:16px;}
.sol-lightbox-image img{display:block;min-width:0;max-width:calc(100% - 100px);max-height:72vh;object-fit:contain;}
.sol-lightbox-image button{border:0;background:transparent;color:#fff;font-size:3rem;cursor:pointer;min-width:32px;}
.sol-lightbox p{margin:12px 0 0;text-align:center;}
@media(max-width:1000px){.sol-menu a{font-size:1.35rem;padding:12px 10px;}.sol-menu ul{min-width:200px;}.sol-menu>li:last-child ul{right:0;left:auto;}}
@media(max-width:767px){
.sol-site .sol-header,.sol-site .contents_in{width:calc(100% - 28px);}
.sol-brand-row{min-height:84px;gap:10px;}.sol-brand img{max-width:65vw;max-height:54px;}.sol-header-tools{display:none;}
.sol-menu-toggle{display:block;background:var(--sol-blue);color:white;border:0;padding:10px 12px;border-radius:3px;white-space:nowrap;font:inherit;font-size:1.3rem;}
.sol-navigation{display:none;}.sol-navigation.is-open{display:block;}.sol-menu{display:block;}.sol-menu>li{border:0;border-bottom:1px solid #ffffff35;}.sol-menu a{padding:12px 16px;font-size:1.5rem;}
.sol-menu ul,.sol-menu ul ul{position:static;min-width:0;max-width:none;background:#1f5577;box-shadow:none;margin-left:14px!important;}
.sol-menu li:hover>ul,.sol-menu li:focus-within>ul{display:none;}.sol-menu li.is-open>ul{display:block;}.sol-submenu-toggle{right:8px;top:8px;width:38px;height:34px;}.sol-menu li:has(>ul)>a{padding-right:50px;}
.sol-site .contents_in{margin-top:20px;}.sol-site section{padding:22px 18px;margin-top:20px;}.sol-site .heading{font-size:2rem;}
.sol-news-grid{grid-template-columns:1fr;gap:30px;}.sol-gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;}.sol-map iframe{height:340px;}
.sol-slide img{aspect-ratio:auto;min-height:0;}.sol-slide-caption{position:static;padding:8px 12px!important;}
.sol-site .page-content{display:block;}.sol-site .page73-7,.sol-site .page73-3{width:100%;float:none;margin:0 0 20px;}.sol-footer-widgets{grid-template-columns:1fr;}.sol-lightbox{padding:12px;}.sol-lightbox-image{gap:2px;}.sol-lightbox-image img{max-width:calc(100% - 68px);}
}
@media(max-width:400px){.sol-gallery-grid{grid-template-columns:1fr;}}

/* タイトル・本文・ギャラリー・地図をひとつの白い枠へ */
.sol-page-content > .sol-gallery-section,
.sol-page-content > .sol-map,
.sol-page-content > .sol-news,
.page73-7 > .sol-gallery-section,
.page73-7 > .sol-map,
.page73-7 > .sol-news {
    border:0;
    background:transparent;
    padding:0;
    margin-top:24px;
}
.sol-site .sol-slide img { height:auto; min-height:0; aspect-ratio:auto; }
@media(max-width:767px) {
    .sol-site .sol-footer { width:calc(100% - 28px); padding:22px 18px; }
}

/* 元のsol-brazilの検索フォームを配置 */
.sol-site .sol-header-tools { display:block; margin-left:auto; }
.p-search .sol-search-submit { position:absolute; top:50%; right:6px; transform:translateY(-50%); display:flex; align-items:center; justify-content:center; width:26px; height:26px; padding:0; margin:0; background:none; border:none; font-size:18px; line-height:1; cursor:pointer; }
.p-search .sol-search-submit:hover { color:#236390; }
@media(max-width:767px) {
    .sol-brand-row { flex-wrap:wrap; }
    .sol-brand { flex:1; min-width:0; }
    .sol-site .sol-header-tools { display:block; order:3; flex-basis:100%; margin:4px 0 0; }
    .sol-header-tools .p-search > div { width:100%; margin:0; }
}

.sol-footer-widgets > * { min-width:0; overflow-wrap:anywhere; }

/* 最上段は＋なし。プルダウン内の子メニューの＋は維持。 */
@media(min-width:768px) {
    .sol-menu > li > .sol-submenu-toggle { display:none; }
    .sol-menu > li.menu-item-has-children > a,
    .sol-menu > li:has(> ul) > a { padding-right:16px; }
}

@media(min-width:768px) {
    .sol-menu > li > a { text-align:center; padding-left:16px; padding-right:16px; }
}

/* ホーム：見出しの下線を外し、上下の余白を詰める */
.sol-site .sol-introduction > .heading,
.sol-site .sol-news > .heading {
    padding-bottom:0;
    margin-top:0;
    margin-bottom:14px;
    border-bottom:0;
}
.sol-introduction > .heading::before,
.sol-introduction > .heading::after,
.sol-news > .heading::before,
.sol-news > .heading::after {
    display:none;
    content:none;
}
.sol-site .sol-introduction,
.sol-site .sol-news {
    padding:20px 24px;
    margin-top:16px;
}
.sol-introduction .tb-wrap > :last-child {
    margin-bottom:0;
}
@media(max-width:767px) {
    .sol-site .sol-introduction,
    .sol-site .sol-news { padding:16px 18px; margin-top:14px; }
}

/* フッター：文字を小さくし、見出し・リンクの途中改行を抑える */
.sol-site .sol-footer {
    padding:24px;
    font-size:12px;
    line-height:1.8;
}
.sol-site .sol-footer-widgets { gap:20px; }
.sol-site .sol-footer-widgets > * {
    overflow-wrap:normal;
    word-break:normal;
}
.sol-site .sol-footer-widgets h3 {
    margin:0 0 14px;
    font-size:13px;
    line-height:1.5;
    white-space:nowrap;
}
.sol-site .sol-footer-widgets p,
.sol-site .sol-footer-widgets li {
    font-size:12px;
    line-height:1.8;
}
.sol-site .sol-footer-widgets a {
    white-space:nowrap;
    overflow-wrap:normal;
    word-break:normal;
}
.sol-site .sol-footer .sol-copyright { font-size:11px; }
@media(min-width:768px) and (max-width:850px) {
    .sol-site .sol-footer { padding:20px 14px; }
    .sol-site .sol-footer-widgets { gap:12px; }
    .sol-site .sol-footer-widgets h3 { font-size:12px; }
    .sol-site .sol-footer-widgets p,
    .sol-site .sol-footer-widgets li,
    .sol-site .sol-footer-widgets a { font-size:11px; }
}
@media(max-width:767px) {
    .sol-site .sol-footer { padding:20px 18px; }
}

/* 協議会専用の全幅テンプレート */
.sol-green-template .sol-navigation{background:linear-gradient(#73ad55 0%,#5e9b43 50%,#4f8f38 51%,#3f7a2c 100%);border-bottom-color:#3f7a2c;}
.sol-green-template .sol-menu ul{background:#3f7a2c;}
.sol-green-template .sol-menu a:hover,.sol-green-template .sol-menu .current-menu-item>a,.sol-green-template .sol-menu .current-menu-ancestor>a{background:#356a27;}
.sol-green-template .sol-menu ul a:hover{background:#2f6022;}
.sol-green-template .sol-green-page{margin-top:0;}

.sol-green-template .heading{color:#2f6022;}
