

@charset "UTF-8";

:root {
    --base-blue: #006699;
    --base-blue-70: rgba(0,102,153,0.7);
    --base-red: #990033;
    --text-blue: #003366;
    --text-red: #990033;
    --hover-blue: #3366cc;
    --hover-red: #cc3366;
    --base-red-70: rgba(153,0,51,0.7);
}

/* ===== テーブル罫線の色を全サイト統一 ===== */
:root { --tbl-border: #767676; }

table,
table thead,
table tbody,
table tfoot,
table tr,
table th,
table td {
  border-color: var(--tbl-border);
}

@-ms-viewport {
    width: device-width;
}

/* general setting */

body {
    font-family:"メイリオ",Meiryo,"Hiragino Kaku Gothic Pro","ヒラギノ角ゴ Pro W3",Osaka,"ＭＳ Ｐゴシック",sans-serif;
    background-color: #fff;
}
h1, h2, h3, h4, h5, h6 {
    font-family:"メイリオ",Meiryo,"Hiragino Kaku Gothic Pro","ヒラギノ角ゴ Pro W3",Osaka,"ＭＳ Ｐゴシック",sans-serif;
}

a {
    color: var(--text-blue);
}
a:hover, a:focus {
    color: var(--hover-red);
}
a:focus {
    outline: none;
}

.row {
    max-width: 1200px;
    margin: 0 auto;
}

.row .row.list {
    margin-left: 1rem;
    margin-right: 1rem;
}


.ue-bar {
    width: 100%;
    height: 65px;
}
/* ------------------------------------------
                 Top page image message
------------------------------------------ */
.slide-pc {
    display:none;
}
p.slider-text {
    padding: 1rem 1rem 1rem;
    background-color: var(--base-blue);
    color: #fff;
    font-weight: bold;
    margin-bottom: 0;
    line-height: 1.5;
    text-align: left;
}

.expanded {
    position: relative;
    overflow: hidden;
}


/*   TOP PAGE ITEM  */

.card-inner {
    border: solid 1px #ccc;
    border-radius: 5px;
    overflow: hidden;
    margin-bottom: 1rem;
}
.card-inner h3 {
    display: block;
    background-color: var(--base-blue);
    color: #fff;
    padding: 0.5rem 1rem;
    font-size: 1.2rem;
    text-align: center;
    border-radius: 5px 5px 0px 0px;
}
.card-inner a {
    display: block;
    margin: 0.5rem 1rem;
    line-height: 1.5;
}
.card-inner p {
    margin: 0;
}

.detail-bottom a {
    display: block;
    width: fit-content;
    color: #000;
    margin-left: auto;
    padding: 0.5rem 1rem;
    text-align: center;
    border: solid 1px #ccc;
    background-color: #ededed;
    border-radius: 5px;
}
.detail-bottom a:hover {
    color: var(--base-blue);
    background-color: rgba(0,153,204,0.2);
}


.banner-waku {
    padding-top: 1rem;
    padding-bottom: 1rem;
}
.top-banner {
    padding: 1rem;
    position: relative;
}
.top-banner a {
    display: block;
}
/*   shibu TOP PAGE ITEM  */
.buttom-inner {
    border: solid 1px #ccc;
    border-radius: 5px;
    margin: 0 1rem 1rem;
}
.buttom-inner a {
    display: block;
    background-color: var(--base-blue);
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 5px;
}
.buttom-inner a h3 {
    font-size: 1.2rem;
    margin: 0;
}


/*table*/
table.w-member {
    margin-top:1rem;
}
table.w-member body,table.w-member th,table.w-member td,
table.w-komon body,table.w-komon th,table.w-komon td {
    border: 1px solid #ccc;
    background-color: #fff;
}
table.w-member th,table.w-komon th {
    background-color: #666;
    color: #fff;
}
table.w-member td.yaku {
    background-color: #ededed;
}
table.w-komon tr td:nth-child(1) {
    background-color: #ededed;
}
.entry-2bottom,.entry-3bottom {
    margin: 1rem 0rem 2rem;
}

.entry-2bottom a {
    display: block;
    width: 300px;
    margin: 1rem auto;
    border: solid 1px #ccc;
    border-radius: 5px;
    padding: 0.5rem 1rem;
    background-color: #ededed;
    color: #000;
    text-align:center;
    box-shadow: 1px 1px 3px #999;
}
.entry-3bottom a {
    display: block;
    width: 200px;
    margin: 1rem auto;
    border: solid 1px #ccc;
    border-radius: 5px;
    padding: 0.5rem 1rem;
    background-color: #ededed;
    color: #000;
    text-align:center;
    box-shadow: 1px 1px 3px #999;
}
/* disclosure table 2colum  */
.table-2colum table {
    margin-top:1rem;
}
.table-2colum table,.table-2colum table tbody,.table-2colum table th,.table-2colum table td {
    border: 1px solid #ccc;
    background-color: #fff;
}
.table-2colum table tr td:nth-of-type(1) {
    width: 35%;
    background-color: #ededed;
    color: #000;
}
/**/
.cate-waku {
    padding: 0rem 1rem 2rem;
}
.top-cate {
    padding: 0.5rem;
}
.top-cate a {
    display: block;
    background-color: #fff;
    padding: 1rem;
}
.top-cate h3 {
    color: var(--text-red);
    font-size: 1.4rem;
    text-align: center;
    padding-bottom: 0.25rem;
}
.top-cate p {
    color: #666;
    font-size: 1rem;
}

.s-right span.s-right-daikin {
    font-size: 0.9em;
    color: #333;
    padding-right: 0rem;
}
/*  button-list  */
.button-list {
    overflow: hidden;
    position: relative;
}
.button-list a {
    display: block;
    margin: 2rem 1rem 0rem;
    border: solid 1px #ccc;
    background-color: #ededed;
    border-radius: 5px;
    color: #000;
    text-align: center;
    padding: 0.8rem 1rem;
    font-size: 1.1rem;
}

/*  お知らせ  */
a.top-article {
    clear: both;
    overflow: hidden;
    display: block;
    padding: 0.5rem 0rem;
    border-bottom: dashed 2px #ccc;
}

h4.list-title {
    font-size: 1.1rem;
    font-weight: bold;
    color: var(--text-blue);
    text-align: left;
}

.entry-list article {
    margin-bottom: 0.5rem;
    padding-bottom: 0.5rem;
    padding-top: 0.5rem;
    border-bottom: dashed 1px var(--base-blue);
}
.entry-list figure {
    float: none;
    margin: 0rem auto 1rem;
    overflow: hidden;
}
.entry-list figure img {
    width: 100%;
    display: block;
    margin: 0 auto;
}
h3.entry-list-title {
    font-size: 1.2rem;
}

.entry-meta {
    font-size: 0.8rem;
    text-align: left;
    padding-top: 0.5rem;
    color: #666;
}
.entry-meta time {
    display: inline-block;
    margin-right: 0.5em;
    padding: 0em;
}
.entry-meta time span {
    display: inline-block;
}
.entry-meta time span.year {
    padding-right: 0.3em;
}
.entry-meta time span.monthday {
    padding: 0em;
    background: #ffffff;
}
.entry-meta .category {
    padding: 0.5em 0.8em;
    margin-right: 8px;
    border-radius: 5px;
}

.pagemore {
    text-align: left;
}
.content .entry-list h1 {
    margin-bottom: 15px;
    font-size: 20px;
    color: #111;
}
.entry-list figure.info-pic {
    margin:2rem 0;
}
.info-list.columns:last-child:not(:first-child) {
    float: left;
    padding-left: 1rem;
}
.entry-list article.entry {
    margin: 0;
}

/* ------------------------------------------
                 sp left-side nav
------------------------------------------ */
.sidebar nav {
    margin-bottom: 2em;
    padding-bottom: 2em;
    border-bottom: solid 3px #e9e9e9;
}
.sidebar h3 {
    margin: 0 0 20px 0;
    font-size: 15px;
    font-weight: bold;
    color: var(--text-blue);
}

.sidebar ul {
    padding: 0;
    margin: 12px 0 auto 12px;
    list-style-type: none;
}
.sidebar ul li {
    margin: 0px 0px 12px 0px;
    margin-bottom: 0.7em;
    padding-bottom: 0.7em;
    list-style: none;
    border-bottom: solid 1px #e9e9e9;
}

.side-nav > ul > li {
    margin-bottom: 24px;
    border-bottom: 0px;
}

.sidebar ul li:last-of-type {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

/* ------------------------------------------
                 Header
------------------------------------------ */

h1.page-title,h1.cate-title {
    color: #fff;
    padding: 1rem 1rem;
    text-align: left;
    font-size: 1.4rem;
    border-radius: 5px;
    background: linear-gradient(0deg, var(--base-blue), #6699cc);
}

/* web page  */
h1.webtitle,.entry-body h1 {
    margin: 0rem 0 1rem;
    color: #fff;
    padding: 1rem 1rem;
    text-align: left;
    font-size: 1.4rem;
    border-radius: 5px;
    background: linear-gradient(0deg, var(--text-blue), #6699cc);
    line-height: 1.2;
}

h2.top-info-dai,h2.page-title,h2.cate-title,h2.webtitle,.web-body h2,.entry-body h2 {
    color: var(--base-blue);
    font-size: 1.4rem;
    font-weight: bold;
    text-align: left;
    padding: 0.75rem 1rem;
    margin-bottom:1rem;
    border: solid 2px var(--base-blue);
    border-radius: 7px;
}
h2.top-info-dai.jslh-aka {
    color: var(--base-red);
    border: solid 2px var(--base-red);
}
.web-detail h2 {
    font-size: 1.5rem;
    font-weight: bold;
    margin-top: 2rem;
    line-height: 1.2;
}
.web-detail h2:first-child {
    margin-top: 0rem;
}
.web-detail h3,.entry-body h3 {
    font-size: 1.3rem;
    font-weight: bold;
    margin-top: 2rem;
    border-bottom: 2px solid var(--text-blue);
    color: var(--text-blue);
    padding: 0rem 1rem 0.25rem;
    line-height: 1.2;
}
.web-detail h4,.entry-body h4 {
    font-size: 1.2rem;
    font-weight: bold;
    margin-top: 2rem;
    color: var(--text-blue);
    width: fit-content;
    border: 3px solid #ccc;
    padding: 5px 10px;
}
.web-detail h5,.entry-body h5 {
    width: fit-content;
    font-size: 1rem;
    font-weight: bold;
    margin-top: 1rem;
    color: #fff;
    background-color: var(--base-blue-70);
    padding: 0.5rem 1rem;
}
.web-detail p,.entry-body p {
    line-height: 2;
    margin-bottom: 1.5rem;
    padding: 0rem 1rem;
}
.web-body p a,.entry-body p a {
   text-decoration: underline;
}
/* ボタン装飾(strongがかかったリンクだけボタンにする) */
.web-body strong > a,
.web-body a:has(> strong),
.entry-body strong > a,
.entry-body a:has(> strong) {
  display: block;
  width: fit-content;            /* 幅を中身に合わせる → 左右はリンクにならない */
  min-width: min(300px, 100%);   /* 短い文字でも300pxを確保(スマホでは画面幅まで) */
  max-width: 100%;
  margin: 0 auto;
  padding: 0.75rem 1rem;
  background-color: var(--text-blue);
  color: #fff;
  border-radius: 7px;
  box-shadow: 2px 2px 4px #666;
  text-align: center;
  text-decoration: none;
  line-height: 1.4;
}

/* a の中の strong は文字だけの扱いにする */
.web-body a:has(> strong) strong,.entry-body a:has(> strong) strong {
  display: inline;
  color: inherit;
}

/* hover */
.web-body strong > a:hover,
.web-body a:has(> strong):hover,
.entry-body strong > a:hover,
.entry-body a:has(> strong):hover {
  background-color: var(--base-blue);
  text-decoration: none;
}

.web-body a.kaiin {
  display: block;
  width: fit-content;            /* 幅を中身に合わせる */
  min-width: min(300px, 100%);   /* 見た目は300pxを確保(スマホでは画面幅まで) */
  max-width: 100%;
  margin: 0 auto;
  padding: 0.5rem 1rem;
  color: #fff;
  border-radius: 7px;
  box-shadow: 2px 2px 4px #666;
  text-align: center;
  text-decoration: none;
  background-color: var(--base-red);
  font-weight: bold;
}
.web-body a.kaiin:hover {
  background-color: var(--hover-red);
  text-decoration: none;
}

.web-bottom {
    float: none;
    width: 300px;
    margin: 1rem 0rem;
}

.web-body ol,.web-body dl,.web-body ul {
    margin: 1rem 2rem;
}


/* ------------------------------------------
                 pagenation
------------------------------------------ */
ul.pagination {
   list-style: none; 
   text-align: center;
}
ul.pagination li {
   border-bottom: none;
}
ul.pagination li a {
   display: inline-block;
   margin: 1rem 1rem;
   padding: 0.5rem 1rem;
   font-size: 1rem;
   background: var(--text-blue);
   border-radius: 5px;
   color: #fff;
   font-weight: bold;
   text-align: center;
}
ul.pagination li a:hover {
   background: var(--base-blue-70);
}


/* ------------------------------------------
                 entry slide
------------------------------------------ */
ul.slick-slider {
    margin: 0;
}

/* ------------------------------------------
                 entry pdf ぶら下げ
------------------------------------------ */
.entry-meta { padding: .5rem 0 0; }

.entry-meta .entry-file { width: 70px; }
.entry-meta .pdf-icon { display: block; width: 70px; height: 70px; }

.entry-meta .entry-link { display: block; text-decoration: none; color: inherit; }
.entry-meta .entry-link:hover .entry-list-title { text-decoration: underline; }

.entry-meta time { display: block; white-space: nowrap; font-size: .9rem; line-height: 1.2; color: #333; }
.entry-meta time .year { margin-right: .3em; }

.entry-list-title { margin: .1em 0 0; font-size: 1rem; line-height: 1.4; }

/* ------------------------------------------
     WEBページ内　entry pdf ぶら下げ
------------------------------------------ */
.entry-meta.committee { 
  border-bottom: 1px dashed var(--base-blue);
}
.entry-meta.committee h4 { 
  margin-top: 0;
}

/* ------------------------------------------
          entry triangle allow
------------------------------------------ */
.entry-list-title {
  position: relative;
  padding-left: 1em;
}
.entry-list-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: .5em;               /* 1行目の高さに合わせて微調整 */
  display: block;
  width: 0;
  height: 0;
  border: inset .35em;     /* 三角のサイズ */
  border-color: transparent transparent transparent #1779ba;  /* Foundation の $primary-color */
  border-left-style: solid;
}
.entry-link:hover .entry-list-title::before {
  border-left-color: #14679e;
}

/* ------------------------------------------
                 ENTRY DETAIL
------------------------------------------ */
.entry-detail,.web-detail {
    margin-top: 0rem;
}
.entry figure {
    margin-bottom: 2rem;
    margin-top: 2rem;
    float: right;
}
.entry-detail img {
    max-width: 100%;
    height: auto;
}
.entry-body h3 {
    color: var(--text-blue);
    border-bottom: solid 1px var(--text-blue);
    font-size: 1.2rem;
    padding-left: 1rem;
    border-left: solid 8px var(--text-blue);
}

.entry-body a.doc {
    padding: 1rem;
    background-color: #ededed;
    border-radius: 5px;
    box-shadow: 2px 2px 4px #ccc;
    margin: 1rem 0rem;
}


/* page-top image */

.pageimage {
    height: 150px;
    background-position: 50% 50%;
    background-repeat: no-repeat;
    background-attachment: scroll;
    background-size: cover;
}
.b-crumbs {
    margin: 1rem 0rem;
}
.breadcrumbs {
    margin: 0.5rem 0rem;
    padding: 0.4rem 0.7rem;
    background: #ededed;
    border-radius: 5px;
}
/* Foundation 既定（0.6875rem / uppercase）を上書き */
.breadcrumbs li,
.breadcrumbs li a {
    font-size: 1rem;
    line-height: 1.7;
    text-transform: none;
}
.breadcrumbs a {
    color: var(--text-blue);
}
.breadcrumbs a:hover {
    color: var(--hover-blue);
    text-decoration: underline;
}
.breadcrumbs li:not(:last-child)::after {
    font-size: 1rem;
    margin: 0 0.55rem;
}

.main-contents {
    margin: 0rem 0rem 2rem;
}
/* top mainus adjust  */
.top2-contents {
    margin-left: 0rem;
    margin-right: 0rem;
    display: flow-root;
}

/* ------------------------------------------
                 entry body
------------------------------------------ */
.entry-body {
    margin: 2rem 0rem;
    line-height: 2;
}


/* ------------------------------------------
                 check buttom
------------------------------------------ */
.translate {
    border: solid 2px #f0d57a;
    border-radius: 20px;
    padding: 1rem 2rem;
}
.translate label {
    display: block;
    padding: 0rem;
    font-size: 1.2em;
    margin: 0rem;
    color: #67550b;
    text-align: center;
    line-height: 1;
}
.translate label::after {
    content: "";
    position: relative;
    width: 10px;
    height: 10px;
    float: right;
    border-top: 3px solid #67550b;
    border-right: 3px solid #67550b;
    transform: rotate(135deg);
}
.translate input[type="checkbox"].on-off {
    display:none;
}
.translate input.on-off[type="checkbox"] + div {
    height: 0;
    overflow: hidden;
    width: 100%;
    position: relative;
}
.translate div {
    transition: all 0.5s;
    margin: 0;
    padding: 0;
}
.translate input.on-off[type="checkbox"]:checked + div {
    width: 100%;
    position: relative;
    height: auto;
    overflow: hidden;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: dashed 2px #f0d57a;
    line-height: 2;
}

.qa-waku {
    margin: 1rem 0rem;
    border: solid 2px var(--text-red);
}
.qa-waku label {
    color: var(--text-red);
}
.qa-waku input.on-off[type="checkbox"]:checked + div {
    border-top: dashed 2px var(--text-red);
}
/* for banner waku  */
.b-waku {
    margin-bottom: 1rem;
}
.b-waku img {
    display: block;
    margin: 0 auto;
}

/* ==========================================================================
   汎用アコーディオン .acc-*（チェックボックス方式・JS不要）
   ※ Foundation の [type='checkbox'] + label を上書きするため
      セレクタは .acc-toggle + .acc-head の形（詳細度 0,2,0）で書くこと
   ========================================================================== */
.acc-item {
  position: relative;
  margin-bottom: 0.75rem;
}
/* チェックボックスは見えないがフォーカス可能な状態で残す */
.acc-item > .acc-toggle {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  opacity: 0;
  pointer-events: none;
}
.acc-toggle + .acc-head {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  width: 100%;
  margin: 0;
  padding: 0.7rem 0.9rem;
  border: 2px solid var(--line, #ccc);
  border-radius: 5px;
  cursor: pointer;
  font-size: 1rem;
  line-height: 1.9;
  vertical-align: top;
  transition: background-color 0.2s ease;
}
.acc-toggle + .acc-head:hover {
  background-color: rgba(0, 0, 0, 0.03);
}
/* キーボード操作時のフォーカス表示 */
.acc-toggle:focus-visible + .acc-head {
  outline: 2px solid var(--hover-blue, #3366cc);
  outline-offset: 2px;
}
.acc-text {
  flex: 1 1 auto;
  min-width: 0;
}
/* 開閉インジケーター（▼） */
.acc-toggle + .acc-head::after {
  content: "";
  flex: 0 0 auto;
  box-sizing: content-box;
  width: 0.45em;
  height: 0.45em;
  margin: 0.5em 0.2em 0 0;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.3s ease;
}
.acc-toggle:checked + .acc-head::after {
  transform: rotate(-135deg);
}
/* 中身：閉じているときは高さ0 */
.acc-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
.acc-toggle:checked ~ .acc-body {
  max-height: 300em;
}


/*======     サイドボタン　ウエブページUPDATE表示      ========*/
a.web_update {
  display: block;
  max-width: 480px;
  padding: 1rem;
  margin: 0rem auto 1rem;
  font-size: 1rem;
  font-weight: bold;
  color: #fff;
  text-align: center;
  background-color: #1F6C6B;
  border: solid 1px #1F6C6B;
  border-radius: 5px;
  position: relative;
}
a:hover.web_update {
 background-color: #18DBC0; 
}
a.web_update::before {
  content: "update!";
  position: absolute;
  top: -10px;
  left: -10px;
  z-index: 1;
  padding: 0.2em 0.7em;
  font-size: 0.9rem;
  font-weight: bold;
  line-height: 1.4;
  letter-spacing: 0.03em;
  color: #fff;
  background-color: #18DBC0;
  border-radius: 999px;
  box-shadow: 0 0 0 0 rgba(24, 219, 192, 0.7);
  animation: web_update_glow 1.8s ease-in-out infinite;
  pointer-events: none;
}

/* 光るアニメーション */
@keyframes web_update_glow {
  0% {
    box-shadow: 0 0 0 0 rgba(24, 219, 192, 0.7),
                0 0 4px rgba(24, 219, 192, 0.8);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(24, 219, 192, 0),
                0 0 12px rgba(24, 219, 192, 0.9);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(24, 219, 192, 0),
                0 0 4px rgba(24, 219, 192, 0.8);
  }
}

/* ボタンのhover時はバッジを濃い色にして見分けやすくする */
a.web_update:hover::before {
  background-color: #1F6C6B;
}

/* 動きを減らす設定のユーザーにはアニメーションを止める */
@media (prefers-reduced-motion: reduce) {
  a.web_update::before {
    animation: none;
    box-shadow: 0 0 8px rgba(24, 219, 192, 0.9);
  }
}


/* ==========================================================================
   よくあるご質問 .qa-*（.acc-* に装飾を重ねる）
   ========================================================================== */
.qa-group {
  margin-bottom: 2.5rem;
}
/* 中タイトル（サブカテゴリ名） */
.qa-group-title {
  margin: 0 0 1rem;
  padding: 0.4rem 0.9rem;
  border-left: 8px solid var(--base-blue, #006699);
  background-color: var(--bg-soft, #ededed);
  color: var(--text-blue, #003366);
  font-size: 1.15rem;
  font-weight: bold;
  line-height: 1.6;
}
/* 質問：赤枠・文字は黒 */
.acc-toggle + .qa-q {
  border-color: var(--text-red, #990033);
  background-color: #fff;
  color: var(--text-red, #990033);
}
.acc-toggle + .qa-q:hover {
  background-color: rgba(153, 0, 51, 0.06);
}
.acc-toggle:checked + .qa-q {
  background-color: rgba(153, 0, 51, 0.08);
}
.qa-q .acc-text {
  color: #000;
  font-weight: bold;
}
/* 回答：青枠 */
.qa-a {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  width: 100%;
  margin: 0.6rem 0 0;
  padding: 0.7rem 0.9rem;
  border: 2px solid var(--base-blue, #006699);
  border-radius: 5px;
  background-color: #fff;
  color: var(--text-base, #333);
  font-size: 1rem;
  line-height: 1.9;
}
.qa-a-body {
  flex: 1 1 auto;
  min-width: 0;
}
.qa-a-body > *:first-child { margin-top: 0; }
.qa-a-body > *:last-child { margin-bottom: 0; }
/* Q / A のマーク */
.qa-mark {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.7em;
  height: 1.7em;
  border-radius: 50%;
  color: #fff;
  font-weight: bold;
  font-size: 0.95em;
  line-height: 1;
}
.qa-mark--q { background-color: var(--text-red, #990033); }
.qa-mark--a { background-color: var(--base-blue, #006699); }

.side-button.faq {
    margin: 1rem auto 1rem;
    border: none;
    box-shadow: none;
}
.side-button.faq a,.side-button.b-btn a {
    display: block;
    padding: 1rem;
    border: solid 1px var(--base-red);
    background-color: var(--hover-red);
    border-radius: 5px;
    box-shadow: 1px 1px 2px #ccc;
    color: #fff;
    text-align: center;
    font-weight: bold;
    font-size: 1.2rem;
}
.side-button.faq a:hover {
    background-color: var(--base-red-70);
}
.side-button.b-btn a {
    border: solid 1px var(--base-blue);
    background-color: var(--base-blue);
}
.side-button.b-btn a:hover {
    background-color: var(--hover-blue);
}

/* figure */
figure {
    margin: 16px 0;
}

figure figcaption {
    font-size: 0.75em;
    margin-top: 4px;
}
figure.mt-figure-center figcaption {
    text-align: center;
}

/* ------------------------------------------
                 pc right-side nav
------------------------------------------ */
.side-nav,.side-button {
   max-width: 480px;  
    margin: 2rem auto 1rem;
    padding: 0rem;
    border: solid 1px var(--base-blue);
    border-radius: 5px;
    box-shadow: 1px 1px 2px #ccc;
    color: #333;
}
.side-button {
  margin: 0rem auto 1rem;
  border: none;
}
.side-nav h3 {
    background: var(--base-blue);
    padding: 0.5rem 1rem;
    border-radius: 5px 5px 0px 0px;
    color: #fff;
}
.side-nav h3 span {
    display: block;
    font-size: 0.9rem;
    color: #fff;
}
.side-nav p {
    padding: 1rem;
    color: #333;
}

a.form-button {
    display: block;
    color: #fff;
    font-weight: bold;
    margin: 0rem 1rem 1rem;
    padding: 0.5rem 1rem;
    text-align: center;
    border: solid 1px var(--base-red);
    background-color: var(--hover-red);
    border-radius: 5px;
}
a:hover.form-button {
    background-color: var(--base-red-70);
}
.side-nav ul li {
    margin: 0 0 0.5rem;
}
.side-ninki {
    margin: 1rem 0rem;
}
.side-img {
    position: relative;
}
.side-img img {
    max-width: 100%;
    display: block;
    margin: 0 auto;
}
.side-img h3 {
    display: block;
    color: var(--text-red);
    max-width: 440px;
    font-size: 1.4rem;
    margin: 0 auto 2rem;
    padding: 0.5rem 0.5rem;
    text-align: center;
    font-weight: bold;
    border-radius: 15px;
    border: 2px solid var(--text-red);
}

/* ------------------------------------------
                 toppage news 
------------------------------------------ */
.top-news {
    padding: 3em 0;
    color: #767777;
    background-color: #ffffff;
}
.top-news h3 {
    font-size: 40px;
    margin: 0 0 25px 0;
    text-align: center;
    color: var(--text-blue);
}
.top-news a {
    box-shadow: 0 3px 4px 0 rgba(0, 0, 0, 0.14), 0 3px 3px -2px rgba(0, 0, 0, 0.2), 0 1px 8px 0 rgba(0, 0, 0, 0.12);
    margin: 0% 0% 1rem;
}

.top-news a:hover {
    color: var(--hover-blue);
    text-decoration: none;
}
.top-news figure {
    display: block;
    max-height: 240px;
    overflow: hidden;
}

.top-news figure img {
    width: 100%;
}
.top-news .entry-detail {
    padding: 1em;
}
.top-news h4 {
    margin: 0 0 0.5em 0;
    font-size: 100%;
}
.top-news p {
    margin: 0;
}
.top-news p.entry-excerpt {
    font-size: 86%;
}
.top-news .top-newslist {
    margin-top: 2em;
    text-align: center;
}
h3.pic-up {
    color: #f0d57a;
    text-align: center;
}
.pic-up-text {
    color: #fff;
    text-align: center;
}
.pic-up-text a {
    color: #f0d57a;
    font-size: 1.2em;
    padding-left: 2rem;
    font-weight: bold;
}

/*google map*/
.google-map {
    position: relative;
    padding-bottom: 75%;
    height: 0;
    overflow: hidden;
}
.google-map iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
}

/*上へ*/
.pagetop {
    position: fixed;
    right: 15px;
    bottom: 15px;
    display: none;
    z-index: 1000;
}
.pagetop i {
    font-size: 50px;
    height: 60px;
    text-shadow: none;
    margin: 0;
}
.pagetop p {
    display: none;
}

.pagetop a {
    display: block;
    width: 62px;
    height: 62px;
    color: #fff;
    text-align: center;
    background-color: var(--base-blue-70);
    border-radius: 50%;
    border: solid 1px #fff;
}
.pagetop a:hover {
    background-color: var(--hover-red);
    text-decoration: none; 
}
.pagetop svg {
  width: 40px;   /* 丸の中では少し小さくしています */
  height: auto;
  margin-top: 3px; /* 見た目の中心に合わせて上へずらしています */
}

/*　fb */
.center-yose {
    text-align: center;
}

.info-ichiran {
    display: inline-block;
    text-align: center;
    margin: 1rem 1rem 2rem;
}

.fb-page {
    display: inline-block;
    text-align: center;
    width: 150px;
    margin: 1rem 1rem 2rem;
}


/*　フッター */
footer {
    font-size: 100%;
    color: #fff;
    background-color: var(--base-blue);
}
.footer-text {
    padding: 1rem;
}
.footer-text a {
    color: #fff;
}

/*装飾グラデーション　金色他　 */
.bb-back {
    background: linear-gradient(90deg, var(--base-blue), #ffffff);
}
.rb-back {
    background: linear-gradient(90deg, var(--base-blue), #ffffff);
}
.grey-back {
    background: linear-gradient(0deg, #cccccc, #efefef);
    color: #000;
}
.black-back {
    background-color: #000;
}
.white-back {
    background-color: #fff;
}
.cream-back {
    background-color: #fff6de;
}
.back {
    clear: both;
    width: 12em;
    margin: 1rem auto 0rem;
}
.back a {
    display: block;  
    background-color: var(--text-blue);
    border-radius: 5px;
    text-align: center;
    padding: 0.5rem;
    color: #fff;
    font-weight: bold;
    text-shadow: 0px 1px 0px #333;
}
.back a:hover {
    background-color: #6699cc;
}
/* SNS */

.entry-social-buttons ul {
    clear: both;
    margin-bottom: 20px;
    margin-left: 0px;
}

.entry-social-buttons ul li {
    margin-right: 0.5em;
    display: inline-block;
    margin-bottom: 10px;
    vertical-align: bottom;
    list-style: none;
}

.entry-social-buttons .entry-social-facebook {
    padding-bottom: 6px;
}
.mar-b2 {
    margin-bottom: 2rem;
}
/* adjust  */
.con-2nd {
    margin: 2rem auto;
}
.mart-1nd {
    margin-top: 1rem;
}
.marr-1nd {
    margin-right: 1rem;
}

/* ==========================================================================
   概要付き記事リスト  .entry （サイト共通フォーマット）
   ※カテゴリバッジは共通クラス .news-cat を再利用（基準色 --base-blue／白文字）
   ========================================================================== */
.entry {
  padding: 1.2rem 0;
  border-bottom: 1px dashed #cbd3da;
}
.entry .info-list {
  min-width: 0; /* テキストのはみ出し防止 */
}

/* サムネイル（noimage含め正方形で表示） */
.info-pic {
  margin: 0; /* figure 既定マージンを解除して上端を揃える */
}
.info-pic img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.entry-list figure.info-pic.koushin {
    margin:0;
}

/* 1行目：日付＋カテゴリ */
.entry-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem 0.8rem;
}
.entry-meta time {
  color: #333;
  font-size: 0.85rem;
  font-variant-numeric: tabular-nums;
}
.entry-meta .year {
  margin-right: 0.2em;
}

/* 2行目：タイトル（▶付き） */
.entry-list-title {
  margin: 0.1rem 0 0.55rem;
  font-size: 1.05rem;
  line-height: 1.45;
}
.entry-list-title a {
  color: var(--text-blue, #003366);
  text-decoration: none;
}

.entry-list-title a:hover,
.entry-list-title a:focus {
  color: var(--hover-blue, #3366cc);
}
.entry-list-title a:hover::before,
.entry-list-title a:focus::before {
  color: var(--hover-blue, #3366cc);
}

/* 3行目：概要＋「続きを見る」を同じ行に */
.entry-summary {
  display: flex;
  align-items: flex-end;
  gap: 1rem;
}
.entry-excerpt {
  flex: 1 1 auto;   /* 概要が余白を埋め、ボタンを右端へ押し出す */
  min-width: 0;
  color: #333;
  font-size: 0.92rem;
  line-height: 1.6;
}
.entry-summary .pagemore {
  flex: 0 0 auto;
  white-space: nowrap;
  margin: 0;
}
/* 「続きを見る」：線だけのアウトラインボタン */
.pagemore a {
  display: inline-block;
  margin-bottom: 0.5rem;
  padding: 0.35em 1.1em;
  border: 1px solid var(--base-blue, #006699);
  border-radius: 5px;
  background-color: transparent;
  color: var(--base-blue, #006699);
  font-size: 0.85rem;
  line-height: 1.6;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.pagemore a:hover,
.pagemore a:focus {
  background-color: var(--base-blue, #006699);
  border-color: var(--base-blue, #006699);
  color: #fff;
}
.pagemore a i {
  margin-right: 0.35em;
}

/* スマホ：概要と続きを見るは縦積みに */
@media screen and (max-width: 480px) {
  .entry-summary {
    display: block;
  }
  .entry-summary .pagemore {
    margin-top: 0.6rem;
    text-align: right;
  }
}

/* ==========================================================================
   各委員会からのお知らせ  news-list
   ========================================================================== */
.news-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* 1行に並べる（日付 → カテゴリ → タイトル） */
.news-item {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem 0.9rem;
  padding: 0.85rem 0.2rem;
  border-bottom: 1px dashed var(--base-blue);
  line-height: 1.5;
}

/* 投稿日 */
.news-date {
  flex: 0 0 auto;
  color: #6b7683;
  font-size: 0.85rem;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}

/* --------------------------------------------------------------------------
   カテゴリバッジ  .news-cat（サイト共通・どこでも使用可）
   ・背景色は基準色 --base-blue。cate_color をインライン指定すれば上書き
   ・a.news-cat:link/:visited で詳細度を確保し、共通の a スタイルに勝たせる
   -------------------------------------------------------------------------- */
.news-cat,
a.news-cat,
a.news-cat:link,
a.news-cat:visited {
  display: inline-block;
  flex: 0 0 auto;               /* flexコンテナ内では縮小させない（それ以外では無害） */
  padding: 0.22em 0.9em;
  border-radius: 5px;
  background-color: var(--base-blue, #006699); /* cate_color 未設定時のフォールバック */
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.5;
  white-space: nowrap;
  text-decoration: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
a.news-cat:hover,
a.news-cat:focus {
  color: #fff;
  opacity: 0.82;
  transform: translateY(-1px);
}

/* 記事タイトル（残り幅いっぱい・はみ出しは省略） */
.news-title {
  flex: 1 1 12em;
  min-width: 0;
  color: var(--text-blue, #003366);
  text-decoration: none;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.news-title:hover,
.news-title:focus {
  color: var(--hover-blue, #3366cc);
  text-decoration: underline;
}

/* ===============================================
   XY Grid 移行対応（2026-07 リニューアル）
   =============================================== */

/* カード／ボタン：セル内で高さいっぱいに */
.buttom-inner,
.exbox-inner,
.exbox12-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.buttom-inner > a,
.exbox-inner > a {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.exbox12-inner > a {
  display: block;
  flex: 1 1 auto;
}

/* 開催日ステータスバッジ */
.event-badge {
  display: inline-block;
  margin-right: .6em;
  padding: .15em .7em;
  border-radius: 2em;
  font-size: .78rem;
  line-height: 1.6;
  color: #fff;
  white-space: nowrap;
  vertical-align: middle;
}
.event-badge--upcoming { background: var(--base-blue); }
.event-badge--ongoing  { background: var(--hover-red); }
.event-badge--past     { background: #999; }

.event-item.is-past { opacity: .65; }
.event-item.is-past a { color: #666; }


/* ページ送り */
.page-navigation-list {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
}
.page-navigation-next { margin-left: auto; }



/*======================    レスポンシブ対応    =======================*/

/* スマホは日付+カテゴリを上段、タイトルを下段に自然折り返し */
@media screen and (max-width: 480px) {
  .news-title {
    flex-basis: 100%;
    white-space: normal;
  }
}


/* =====  500以上　タブレット〜PC　medium screens
========================================== */
@media only screen and (min-width: 500px) { 
    h2.slider-title {
        top: 30%;
        left: 9%;
        font-size: 1.9em;
        line-height:2;
    }
}  /* ======= end  ==========  */

/* =====  600以上　タブレット〜PC　medium screens
========================================== */
@media only screen and (min-width: 600px) { 
    h2.slider-title {
        top: 32%;
        left: 10%;
        font-size: 2.2em;
    }
    .slide-pc {
        display:block;
    }
    .slide-sp {
        display:none;
    }
    h2.top-info-dai,h2.page-title,h2.cate-title,h2.webtitle,.entry-detail h2 {
        font-size: 1.8rem;
        padding: 1rem 2rem;
        margin-bottom:2rem;
    }
  h1.page-title,h1.cate-title,h1.webtitle {
        font-size: 2rem;
        padding: 1rem 2rem;
        margin-bottom:2rem;
    }
  
  
}  /* ======= end  ==========  */


/* =====  641以上　タブレット〜PC　min-width 40em, medium screens
========================================== */
@media only screen and (min-width: 40em) { 
    .medium-6.list-box {
        width: 47%;
    }
    .b-crumbs {
        margin: 1rem 0rem 2rem;
    }
    .top-news a {
        margin: 0% 1.5% 1rem;
    }
    .pageimage {
        height: 200px;
    }
    .product-waku .takasa {
        height: 220px;
        overflow: hidden;
    }
    figure.p-img {
        height: 350px;
        overflow: hidden;
        position: relative;
    }
    figure.p-img img {
        position: absolute;
        width: auto;
        height: auto;
        min-width: 100%;
        min-height: 100%;
        left: 50%;
        top: 50%;
        transform: translate3d(-50%, -50%, 0);
    }
  
  .buttom-inner {
  margin: 0 0 1rem;
}
  
}

/* =====  700以上　タブレット〜PC　medium screens
========================================== */
@media only screen and (min-width: 700px) { 
    h2.slider-title {
        top: 32%;
        left: 10%;
        font-size: 2.5em;
    }
    .button-list a {
        width: 30%;
        float: left;
        margin: 2rem 1.665% 0;
        box-sizing: border-box;
        border: solid 1px #ccc;
        background-color: #ededed;
        border-radius: 5px;
        color: #000;
        text-align: center;
        padding: 0.8rem 1rem;
        font-size: 1.1rem;
    }
}  /* ======= end  ==========  */

/* =====  800以上　タブレット〜PC　medium screens
========================================== */
@media only screen and (min-width: 800px) { 
    h2.slider-title {
        top: 33%;
        left: 12%;
        font-size: 2.8em;
    }
}  /* ======= end  ==========  */


/* =====  1024以上　タブレット〜PC　min-width 1024px, medium screens
========================================== */
@media only screen and (min-width: 1024px) { 

    .expanded {
        max-width: 1200px;
        margin: 0 auto;
    }
    .b-crumbs {
        margin: 1rem 0rem 4rem;
    }
    h2.slider-title {
        top: 30%;
        left: 12%;
        font-size: 3.5em;
    }
    .main-message h2 {
        position: absolute;
        top: auto;
        bottom: 80px;
        left: 260px;
        color: var(--text-red);
        font-size: 3.5em;
        line-height: 1.2;
        text-align: left;
    }
    .top-message-sub {
        position: absolute;
        top: 0;
        right: 0;
        width: 350px;
        height: 100%;
        background-color: rgba(0,0,0,0.4);
        padding: 4rem 2rem 2rem;
    }
    .top-message-sub p {
        font-size: 1.3rem;
        letter-spacing: 1px;
        line-height: 1.7;
    }
    .top-message-sub p br {
        display: block;
    }
    .s-bottom-big {
        position: absolute;
        width: 150px;
        height: 150px;
        right: 20px;
        bottom: 20px;
    }
    .s-bottom-big a {
        font-weight: bold;
        font-size: 1.6rem;
        text-align: center;
        padding-top: 30px;
    }
    .s-bottom-big a span {
        display: block;
        font-size: 1.2rem;
    }
    .s-bottom-big a span i {
        display: block;
        font-size: 2.5rem;
    }
    .goma3 {
        position: absolute;
        width: 220px;
        left: 10px;
        bottom: 0px;
    }
    .top-banner a:hover img {
        opacity: 0.7;
    }
    .top-banner.ba1 p {
        top: 55px;
        left: 25px;
        font-size: 20px;
        letter-spacing: 0px;
    }
    .top-banner.ba2 p {
        top: 35px;
        left: 40px;
        line-height: 1.2;
        font-size: 20px;
        letter-spacing: 0px;
    }
    .top-banner.ba3 p {
        top: 40px;
        left: 60px;
        font-size:24px;
    }
    .top-banner.ba4 p {
        top: 40px;
        left: 80px;
        font-size:26px;
    }
    /*   */

    figure.p-img {
        height: 190px;
        overflow: hidden;
        position: relative;
    }
    .s-right span.s-right-daikin {
        font-size: 0.7em;
        padding-right: 0.5rem;
    }

    /* souryou  */

    .sendfee {
        padding: 2rem 1rem 0rem;
        overflow: hidden;
        background-image: url("/images/kuruma.jpg");
        background-repeat: no-repeat;
        background-position: left bottom;
        background-size: contain;
    }
    .s-left{
        display: block;
        width: 40%;
        float: left;
    }
    .sendfee h4{
        display: block;
        text-align: center;
        color: var(--text-red);
        font-size: 1.8rem;
        line-height: 1.5;
    }
    .sendfee h3 {
        display: block;
        text-align: center;
        color: #000;
        font-size: 1.6rem;
        line-height: 1.5;
    }
    .s-right {
        display: block;
        width: 60%;
        float: right;
    }
    .sendfee h3 span {
        display: inline;
        font-size: 1.8rem;
    }
    .sendfee h3 small {
        display: block;
        text-align: center;
        color: red;
        font-size: 1.2rem;
        padding: 1rem;
    }

    a.grey-buttom {
        clear: both;
        color: #000;
        display: block;
        padding: 1rem 1rem;
        border: solid 1px #ccc;
        background-color: #ededed;
        text-align: center;
    }
    a:hover.grey-buttom {
        color: #fff;
        background-color: #999;
        font-size: 1.2;
    }
    .sendfee .grey-buttom {
        width: 15em;
        margin: 1rem auto 0rem;
    }

    /*  contents 2nd   */
    .con-2nd {
        margin: 4rem auto;
    }

    .top-article {
        padding: 1rem 0rem;
        color: #000;
        border-bottom: dashed #ccc 2px;
    }

    .bgimg-1 {
        background-size: 240px;
        border-radius: 15px;
    }

    .bgimg-1 h5 {
        font-size: 1.1rem;
        font-weight: bold;
        text-align: center;
        margin: 0.5rem 0rem 1rem;
    }

    .banner-waku {
        padding-top: 4rem;
        padding-bottom: 4rem;
    }

    .entry-detail,.web-detail {
        margin: 0px 30px 40px;
    }
    .entry-list {
        margin: 0px 0px 40px;
    }
    .entry-list figure {
        float: right;
        margin-left: 2em;
        margin-bottom: 1em;
    }
    .side-nav {
        margin: 0px 0px 15px;
    }
    .side-nav h3 {
        font-size: 1.2rem;
    }

    .large-3.list-box {
        width: 22%;
        height: 250px;
        overflow: hidden;
    }
    
    h3.entrytitle {
        margin-bottom: 2rem;
        font-size: 1.6rem;
    }
    h3.entrytitle .grey-title {
        padding: 1rem;
    }
    h3.entrytitle .sub_title {
        padding: 0.5rem 1rem;
        font-size: 1rem;
    }

    .pageimage {
        height: 300px;
    }

    .ue-bar {
        width: 100%;
        height: 80px;
    }

    h3.sub-title {
        font-size: 2rem;
        padding: 0.5rem 0rem;
    }
    .m-b2rem {
        margin-bottom: 2rem;
    }
    /*上へボタン*/
    .pagetop {
        position: fixed;
        right: 15px;
        bottom: 5px;
        display: none;
    }
    .pagetop p {
        display: block;
        line-height: 1;
    }

    .pagetop a {
        display: block;
        color: #fff;
        text-shadow: 0px 0px 2px var(--text-blue),0px 0px 2px var(--text-blue),0px 0px 2px var(--text-blue),0px 0px 2px var(--text-blue);
        text-align:center;
        background-color:rgba(0,102,153,0.3);
        border: solid 1px var(--text-blue);
         width: 110px;
        height: 110px;
        border-radius: 50%;
    }
    .pagetop a p {
        text-align: center;
        font-size: 15px;
        margin: 0;
        padding: 0;
    }
  .pagetop svg {
        margin-top: 6px;
  }
  
  
}

/* ------------------------------------------
                 お知らせ / Pick Up テキストリスト
------------------------------------------ */
.news-list {
    margin: 0 0 1rem;
    padding: 0;
    list-style: none;
}
.news-list li {
    border-bottom: dashed 1px var(--base-blue);
}
.news-list li a {
    display: block;
    padding: 0.6rem 0.5rem;
    color: #333;
    line-height: 1.6;
}
.news-list li a:hover {
    background-color: #f3f7f9;
    color: var(--text-blue);
}
.news-date {
    display: inline-block;
    margin-right: 0.75em;
    color: #666;
    font-size: 0.85rem;
}
.news-new {
    display: inline-block;
    margin-right: 0.5em;
    padding: 0.1em 0.5em;
    background-color: var(--hover-red);
    color: #fff;
    font-size: 0.75rem;
    font-weight: bold;
    line-height: 1.4;
    border-radius: 3px;
    vertical-align: middle;
    box-shadow: 0 0 4px var(--hover-red);
    animation: news-new-glow 1.4s ease-in-out infinite;
}
@keyframes news-new-glow {
    0%, 100% {
        box-shadow: 0 0 3px rgba(204,51,102,0.6);
    }
    50% {
        box-shadow: 0 0 10px 2px rgba(204,51,102,0.9);
    }
}
.news-title {
    display: inline;
}