* {
  transition: .3s all;
}

/* タブキー選択時に枠 */
button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 3px solid #3B82F6;
  outline-offset: 2px;
}

/* スライダー画像のダミーアンカーではフォーカス枠を出さない */
.slider-focus-anchor--before:focus-visible,
.slider-focus-anchor--after:focus-visible {
  outline: none;
}

html {
  font-size: 62.5%;
  letter-spacing: 0.05em;
  /* overflow-x: hidden; */
}

@media screen and (max-width: 1100px) {
html {
  /* ハンバーガーメニュの時ヘッダーの高さ分、スクロール位置を下にずらす */
  scroll-padding-top: 70px;
}
}

body {
  /* overflow-x: hidden; */
  font-family: "Noto Sans JP", sans-serif;
  scroll-behavior: smooth;
  color: #333;
  font-size: 1.6rem;
  background-color: #fff;
}

img {
  max-width: 100%;
  height: auto;
}

/* 下層の画像設定 */
img.page-img-style {
  max-width: 330px;
  display: inline;
}

a,
li {
  text-decoration: none;
  color: #555;
  list-style: none;
}

a:hover {
  color: #808080;
  /* transition: 0.2s; */
}

@media screen and (max-width: 767px) {

  /* 段落 */
  br.pc-only {
    display: none;
  }
}

/* 全体ラッパーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー */
.wrapper {
  max-width: 1100px;
  margin: auto;
}

@media screen and (max-width: 767px) {
  .wrapper {
    margin: 0 1.5rem;
  }
}

/* 全体セクションーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー */

.section-wrapper {
  margin: 10rem auto 13rem;
}

.section-wrapper.video{
  margin: 13rem auto;
}

@media screen and (max-width: 767px) {
  .section-wrapper {
    margin: 5rem auto 10rem;
  }
  .section-wrapper.video{
  margin: 7rem auto 10rem;
}
}

p.comment-404 {
  text-align: center;
  font-size: 2rem;
  font-weight: bold;
}

/* ヘッダーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー */

/* PC表示設定ーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー */
.header-wrapper {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 2.4rem 0;
}

/* ヘッダー内部コンテナ*/
.header-inner {
  display: flex;
}

/* ロゴとサブナビを横並びに配置 */
.header-logo a {
  display: flex;
  align-items: center;
  /* 下青線との高さ調整 */
  padding-top: 15px;
}

.header-logo img {
  margin-right: 1rem;
  width: 30px;
  height: 30px;
}

/* ロゴ幅固定 */
h1.header-logo {
  width: 290px;
  font-size: 2.2rem;
  font-weight: 500;
}

/* 下層ページ用設定ーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー */

/* ロゴ幅固定 */
p.header-logo {
  width: 290px;
  font-size: 2.2rem;
  font-weight: 500;
}

@media screen and (max-width: 1100px) {

  /* ロゴ文字小さく*/
  p.header-logo {
    width: 230px;
    font-size: 1.8rem;
  }
}

/* 下層ページ用設定ーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー */

/*サブメニュー */
.header-sub-nav {
  /* ロゴ左側を空け */
  width: calc(100% - 290px);
  display: flex;
  padding-bottom: 10px;
  border-bottom: 1px solid #0053BA;
  font-weight: 500;
  font-size: 1.4rem;
}

/* サブメニュー横並び*/
.header-sub-nav,
.header-sub-nav-innner {
  display: flex;
  gap: 2.8rem;
  justify-content: end;
  align-items: center;
}

/* 災害情報ボタン */
.header-sub-nav-innner-btn a {
  border: solid 1px #0053BA;
  border-radius: 20px;
  white-space: nowrap;
  color: #0053BA;
  position: relative;
  display: inline-block;
  padding: 5px 40px 5px 20px;
  background-color: #fff;
}

.header-sub-nav-innner-btn a:hover {
  background-color: #0053BA;
  color: #ffffff;
}

.header-sub-nav-innner-btn a::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 20px;
  width: 6px;
  height: 6px;
  border-top: 2px solid #0053BA;
  border-right: 2px solid #0053BA;
  transform: translateY(-50%) rotate(45deg);
}

.header-sub-nav-innner-btn a:hover::after {
  border-top: 2px solid #ffffff;
  border-right: 2px solid #ffffff;
}

/* ヘッダーメール・マップ・検索アイコン設定 */

/* 画像ボタンの枠 */
.img-btn {
  display: block;
  width: 32px;
  height: 32px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

/*メール*/
.mail-btn {
  background-image: url("assets/images/icon_mail.png");
}

.mail-btn:hover {
  background-image: url("assets/images/icon_mail_hover.png");
}

/* マップ */
.map-btn {
  background-image: url("assets/images/icon_map.png");
}

.map-btn:hover {
  background-image: url("assets/images/icon_map_hover.png");
}

/* 検索 */
.search-btn {
  background-image: url("assets/images/icon_search.png");
}

.search-btn:hover {
  background-image: url("assets/images/icon_search_hover.png");
}

/* ヘッダー検索設定ーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー */

.search-wrapper {
  position: relative;
}

/* 検索アイコン */
.search-icon {
  cursor: pointer;
}

/* 検索フォームを右揃えに */
.search-form {
  display: none !important;
  position: absolute;
  top: 100%;
  right: 0;
  /* 右配置 */
  margin-top: 5px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  border-radius: 6px;
  z-index: 100;
  display: flex;
  gap: 5px;
}

/* 入力欄 */
.search-form input {
  padding: 6px 10px;
  width: 250px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1.4rem;
}

/* 検索ボタン */
.search-form button {
  background-color: #0053BA;
  color: #fff;
  border: none;
  padding: 6px 12px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 1.4rem;
  transition: background 0.3s;
}

.search-form button:hover {
  background-color: #003f8a;
}

/* .activeが付いたときにフォームを表示 */
.search-wrapper.active .search-form {
  display: flex !important;
}

/*下メインメニュー */
.header-main-nav {
  display: flex;
  justify-content: space-between;
  width: 100%;
  font-size: 1.6rem;
  font-weight: 500;
  padding-top: 20px;
}

/* メガメニュー設定ーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー*/

/* 基準位置ヘッダー固定 */
.header-main-nav {
  position: relative;
  display: flex;
  gap: 20px;
}

/* メガメニュー全体 */
.mega-menu {
  width: 1150px;
  min-height: 200px;
  background: #ffffff;
  position: absolute;
  top: calc(100% + 2.4rem);
  left: 50%;
  transform: translateX(-50%);
  display: none;
  border: 1px solid #ebebeb;
  
  
  
  
  /* 0210修正 */
  padding:0;
  
  
  
  
  
  box-sizing: border-box;
  z-index: 1000;
}

/* 内部レイアウト */
.mega-inner {
  display: flex;
  height: 100%;
  min-height: 200px;
}

.mega-left {
  width: 250px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.mega-title {
  font-size: 2.4rem;
  font-weight: bold;
}













/* mega-toggle を下線対応させる　0210追加 */
.mega-toggle {
  position: relative;
  background: none;
  border: none;
  cursor: pointer;
  font-size: inherit;
  color: #333;
  padding-bottom: 0.5rem;
}

/* 下線 */
.mega-toggle::after {
  content: "";
  position: absolute;
  bottom: -0.5rem;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #0053BA;
  transition: width 0.3s ease;
}

/* hover / focus / 選択中 */
.mega-toggle:hover::after,
.mega-toggle:focus-visible::after,
.mega-toggle[aria-expanded="true"]::after {
  width: 100%;
}
/* mega-toggle を下線対応させる　0210追加 */













.mega-divider {
  width: 1px;
  background: #ccc;
  
  
  
  
  
  
  /* 0210修正 */
  margin: 20px 40px 20px 40px;
  
  
  
  
  
  
  

}

.mega-right {
  flex: 1;
  
  
  
  
  
  
   /* 0210修正 */
  padding: 40px 0;
  
  
  
  
  
  display: flex;
  align-items: center;
  /* min-width: 0; */
}

.mega-list {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 10px 40px;
  width: 100%;
}

.mega-list li {
  position: relative;
  padding-left: 20px;
  min-width: 0;
}

.mega-list a {
  display: block;
  min-width: 0;
  /* 要素縮小を許可 */
  white-space: normal;
  word-break: break-word;
  overflow-wrap: break-word;
}

.mega-list a:hover {
  text-decoration: underline;
}











/* 0210追加 */
.mega-toggle[aria-expanded="true"] + .mega-menu {
  display: block;
}

/* メガメニュー下部の「閉じるバー　0210追加 */
.mega-close-bar {
  display: block;
  height: 30px; /* 高さを30pxに変更 */
  line-height: 30px; /* 文字を中央揃え */
  width: 100%; /* 親メガメニュー幅いっぱい */
  background-color: #0053BA; /* 背景青 */
  color: #fff; /* 文字白 */
  text-align: center;
  cursor: pointer;
  user-select: none;
  margin: 0; /* 隙間をなくす */
  padding: 0; /* 内側のパディングもなくす */
  box-sizing: border-box;
  font-weight: bold;
  font-size: 1.4rem; /* 必要に応じて調整 */
}


/* ホバー時の視覚的フィードバック　0210追加*/
.mega-close-bar:hover,
.mega-close-bar:focus {
  background-color: #003f8a;
  outline: none;
}

/* どの li でも中央固定　0210削除 */
/*.header-main-nav li:hover>.mega-menu {
  display: block;
}*/













.header-main-nav li.active > .mega-menu {
  display: block;
}

/* aria-expandedでも表示 */
.header-main-nav li[aria-expanded="true"] > .mega-menu {
  display: block;
}

/* メニュー文字とメガメニューの間調整 */
.mega-menu::before {
  content: "";
  position: absolute;
  top: -2.4rem;
  left: 0;
  width: 100%;
  height: 2.4rem;
  background: transparent;
  pointer-events: auto;
}

/* メインメニューのリンク下線用 */
.header-main-nav>li>a {
  position: relative;
  /* 下線用の基準 */
  text-decoration: none;
  color: #333;
  padding-bottom: 0.5rem;
  display: inline-block;
}

/* 下線を疑似要素で作成 */
.header-main-nav>li>a::after {
  content: "";
  position: absolute;
  bottom: -2.4rem;
  /* 文字の下 */
  left: 0;
  width: 0;
  /* 初期幅0 */
  height: 2px;
  /* 線の太さ */
  background-color: #0053BA;
  transition: width 0.3s ease;
}

/* リンクにホバーした時、または親 li がホバー中のとき下線表示 */
.header-main-nav>li:hover>a::after {
  width: 100%;
}

/* フォーカス時の下線 */
.header-main-nav li:focus-within > a::after {
  width: 100%;
}
/* activeクラスでも下線表示 */
.header-main-nav li.active > a::after {
  width: 100%;
}

/* メガメニュー内の＞記号 */
.mega-right .mega-list li {
  list-style: none;
  position: relative;
  padding-left: 20px;
}

.mega-right .mega-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 6px;
  height: 6px;
  border-top: 2px solid #0053BA;
  border-right: 2px solid #0053BA;
  transform: translateY(-50%) rotate(45deg);
}

/*スマホ用メニューデフォルト非表示*/
.mobile-menu {
  display: none;
  
  /*position: fixed;*/
  position: absolute;
  
  top: 0;
  left: 0;
  width: 100%;
  
  /*追加*/
  max-width: 100%;
  
  height: 100%;
  background: #fff;
  z-index: 9999;
  overflow-y: auto;
}

/* デフォルトのハンバーガーは非表示（PC用） */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  /* safariのみ表示されない対策 */
  flex-shrink: 0 !important;
}

/* ハンバーガーの線（基本設定） */
.hamburger span {
  /* safariのみ表示されない対策 */
  display: block !important;
  height: 2px;
  background: #0053BA;
  border-radius: 2px;
}

@media screen and (max-width: 1100px) {

  /* PCナビ非表示 */
  .header-sub-nav,
  .header-main-nav {
    display: none;
  }

  body {
    padding-top: 70px;
    /* header-inner の高さと同じ */
  }

  .header-wrapper {
    /* 下青線との高さ調整削除 */
    background-color: #fff;
    padding: 0;
    position: fixed;
    top: 0;
    z-index: 100;
  }

  .header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #0053BA;
    height: 70px;
    padding: 0 3rem;
    /* safariのみ表示されない対策 */
    min-width: 0;
  }

  .header-logo a {
    /* 下青線との高さ調整削除 */
    padding-top: 0px;
  }

  /* ロゴ文字小さく*/
  h1.header-logo {
    width: 230px;
    font-size: 1.8rem;
  }

  .hamburger {
    display: flex;
    width: 30px;
    height: 25px;
    /* safariのみ表示されない対策 */
    flex-shrink: 0 !important;
  }

  .hamburger span {
    /* !important　safariのみ表示されない対策 */
    display: block !important;
    width: 100% !important;
    height: 2px !important;
    background: #0053BA !important;
  }

/* スマホ全画面メニュー */
.mobile-menu {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 100%;
    width: 100%;
  max-width: 100%;
    height: 100%;
    background: #fff;
    overflow-y: auto;
    transition: left 0.3s ease;
    z-index: 999;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

.mobile-menu.open {
  left: 0;
  }
  
  /* メニュー内ヘッダー */
  .mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #0053BA;
    height: 70px;
    padding: 0 2.7rem 0 3rem;
    /* 下のflex要素に左右されず高さを保つ */
    flex-shrink: 0;
  }

  .menu-close {
    font-size: 4.0rem;
    background: none;
    border: none;
    cursor: pointer;
    color: #0053BA;
  }

  /* メインナビ */
  .mobile-main-nav {
    margin: 0;
    display: flex;
    flex-direction: column;
  }

  .mobile-main-nav li {
    position: relative;
    border-bottom: solid 1px #ddd;
  }

  .mobile-main-nav li a {
    display: block;
    width: 100%;
    /* 上メインメニュー空き */
    padding: 1.5rem 3rem;
    text-decoration: none;
  }

  /* 右端の矢印 */
  .mobile-main-nav li::after {
    content: "";
    position: absolute;
    top: 50%;
    /* ＞右空き */
    right: 3rem;
    width: 6px;
    height: 6px;
    border-top: 2px solid #0053BA;
    border-right: 2px solid #0053BA;
    transform: translateY(-50%) rotate(45deg);
  }

  .mobile-main-nav li a:hover,
  .sub-nav-list li a:hover {
    color: #0053BA;
  }

  /* サブメニュー */
  .mobile-sub-nav {
    background: #F2F2F2;
    padding: 2rem 3rem;
    font-size: 1.4rem;
  }

  .sub-nav-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    list-style: none;
    margin: 0;
    padding: 0 0 3rem 0;
  }

  .sub-nav-list li a {
    color: #333;
    text-decoration: none;
  }

  /* 災害・メール・地図 */
  .mobile-icons {
    display: flex;
    justify-content: start;
    gap: 3rem;
    /* padding: 16px; */
    padding-bottom: 2rem;
  }

  .mail-btn {
    width: 32px;
    height: 32px;
    background: url("assets/images/icon_mail.png") no-repeat center/contain;
    display: inline-block;
  }

  .map-btn {
    width: 32px;
    height: 32px;
    background: url("assets/images/icon_map.png") no-repeat center/contain;
    display: inline-block;
  }
  
  /* 高齢者お役立ち情報・ふくしなんでも相談所ボタン */
.mobile-btns{
  width: 90%;
    max-width: 500px;
    border: solid 1px #0053BA;
    border-radius: 50px;
    white-space: nowrap;
    color: #fff;
    position: relative;
    display: inline-block;
    padding: 8px 50px 8px 30px;
    background-color: #0053BA;
  }
  
.mobile-btns-wrapper li:first-child .mobile-btns {
  margin-bottom: 2.5rem;
}
  
.mobile-btns:hover {
    background-color:#fff;
    color:#0053BA;
  }

.mobile-btns::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 20px;
    width: 6px;
    height: 6px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    transform: translateY(-50%) rotate(45deg);
  }

.mobile-btns:hover::after {
    border-top: 2px solid #0053BA;
    border-right: 2px solid #0053BA;
  }
  
  /* 災害情報ボタン */
  .disaster-btn {
    border: solid 1px #0053BA;
    border-radius: 20px;
    white-space: nowrap;
    color: #0053BA;
    position: relative;
    display: inline-block;
    padding: 8px 40px 8px 20px;
    background-color: #fff;
  }

  .disaster-btn:hover {
    background-color: #0053BA;
    color: #ffffff;
  }

  .disaster-btn::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 20px;
    width: 6px;
    height: 6px;
    border-top: 2px solid #0053BA;
    border-right: 2px solid #0053BA;
    transform: translateY(-50%) rotate(45deg);
  }

  .disaster-btn:hover::after {
    border-top: 2px solid #ffffff;
    border-right: 2px solid #ffffff;
  }
  
  /* 検索フォーム（スマホ） */
  .mobile-search {
    display: flex;
    align-items: center;
    width: 90%;
    max-width: 500px;
    margin: 20px 0;
    background: #fff;
    border: 1px solid #0053BA;
    border-radius: 30px;
    overflow: hidden;
  }

  /* 入力欄（左側） */
  .mobile-search input {
    flex: 1 1 auto;
    /* 自由に伸縮 */
    padding: 12px 16px;
    border: none;
    font-size: 1.4rem;
    outline: none;
    min-width: 0;
    /* これ重要：小さい画面で潰れないように */
  }

  /* 検索ボタン（右側青背景） */
  .mobile-search .search-btn {
    flex: 0 0 55px;
    /* 幅固定、縮まない */
    height: 55px;
    /* 高さ固定 */
    min-width: 55px;
    /* 念のため */
    background: #0053BA url("assets/images/icon_search_white.png") no-repeat center;
    background-size: 22px 22px;
    /* アイコンサイズ固定 */
    border: none;
    cursor: pointer;
  }
}

/* 検索モーダル--------------------------------------------------------------------------- */
.search-modal {
  display: none;
  position: fixed;
  overflow-y: auto;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  justify-content: center;
  align-items: center;
  background: rgba(0, 0, 0, 0.5);
  z-index: 9999;
}

.search-modal-content {
  background: #fff;
  padding: 20px;
  max-width: 600px;
  width: 90%;
  position: relative;
}

.modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
}

.gsc-search-button {
  margin-left: 0px;
}

.search-modal .gsc-search-button {
  background-color: #0053BA;
  border-radius: 5px;
}




















/* トップファーストビューーーーーーーーーーーーーーーーーーーーーーーーー */

/* 修正なし */
.fastview {
  position: relative; 
}
.slider {
  text-align: center;
}
/* 修正なし */


/* 前コード
.slider .slide {
  height: 500px;
}
.slider .slick-slide {
  transform: scale(0.9);
}
.slider .slick-center {
  transform: scale(1);
}
*/

.slider .swiper-slide a {
  display: block;
}

.slider .swiper-slide a img {
  transform: scale(0.9);
  transition: transform 0.4s ease;
}

.slider .swiper-slide-active a img {
  transform: scale(1);
}


/* 修正なし画像表示*/
.slider img {
  width: 100%;
  height: 100%;
  max-height: 80vh; 
  object-fit: cover;
  display: block;
}
/* 修正なし画像表示*/



/* メディアクリ　swiper-slide画像表示設定追加*/
/* 
@media screen and (max-width: 767px) {
.slider .slide,
.slider .swiper-slide{
    height: 350px;
  }

  .slider .slick-slide,
.slider .swiper-slide {
    transform: scale(1);
  }
}
@media screen and (max-width: 450px) {
  .slider .slide,
  .slider .swiper-slide {
    height: 300px;
  }
}
@media screen and (min-width: 1300px) {

  .slider .slide,
  .slider .swiper-slide
  .slider img {
    height: clamp(500px,
        40vw,
        800px);
  }
}
*/
/* 前コード 
.slick-track {
  padding-bottom: 2rem;
}
*/
/* 追加コード
.slick-track,
.swiper-wrapper {
  padding-bottom: 2rem;
}
 */


/* 
.fastview .slick_pause {
  display: inline-block;
}*/

/* 再生停止ボタン中央寄せ*/
/* .slider-control-btn {
  position: absolute;
  text-align: center;
  right: 0;
  left: 18rem;
  bottom: 1rem;
  margin: auto;
  font-size: 1.6rem;
  display: inline-block!important;
  z-index:1;!important;
}*/

.slider-control-btn {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(80px); /* ドットの右にずらす */
  z-index: 10;
  width: auto;      /* 念のため */
  pointer-events: auto;
}









/* 再生停止操作ボタン大きさ*/
.fastview .slick_pause {
  font-size: 1.2rem;
  font-weight: bold;
  background: none;
  border: none;
  cursor: pointer;
  color: #0053BA;
}

/* 操作ボタン少し左へ
.slick-dots {
  right: 2rem;
} 
.slick-dots li {
  margin: 0 6px;
  padding: 0;
  line-height: 0;
  height: 25px;
  width: 25px;
  z-index: 100;
}
*/


/* Slickデフォルトのbuttonスタイルを完全リセット/* 
/* 
.slick-dots li button {
  width: 25px;
  height: 25px;
  padding: 0;
  margin: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  outline: none;
  font-size: 0rem;
  line-height: 25px;
  color: transparent;
  position: relative;
  display: block;
}

.slick-dots li button::before {
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ccc;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 1;
}
/* 



/* 追加コード */
.slick-dots,
.swiper-pagination {
  /*right: 2rem;*/
}


/* 前のコードアクティブ（中央スライド）のドットだけ色変更 
.slick-dots li.slick-active button:before {
  background: #0053BA; !important;
}*/

/* Slick用のドットCSS無効*/
.slick-dots,
.slick-dots li,
.slick-dots li button,
.slick-dots li button::before {
  display: none !important;
}

.swiper-pagination{
  position: relative!important;   
  padding-top: 2rem!important;
  
  display: inline-block!important;
  z-index:50;!important;
}

/* 通常のドット（グレー） */
.swiper-pagination-bullet {
  width: 12px !important;
  height: 12px !important;
  background: #ababab !important;
  margin: 0 8px !important;
  border-radius: 50%;
  display: inline-block;
  opacity: 1!important;
  transition: background 0.3s ease;
}

/* アクティブのドット（中央スライド）だけ青色 */
.swiper-pagination-bullet-active {
  background: #0053BA !important;
}

















/* スライダー上の丸ボタン2個ーーーーーーーーーーーーーーーーーーーーーーーーーー */

.fastview-inner {
  position: relative;
  max-width: 1100px;
  margin: auto;
}

.fastview-side-btns {
  position: absolute;
  bottom: 6rem;
  left: 5%;
  /*スライダー画像の上にのせる*/
   z-index: 10;
  display: flex;
  gap:3rem;
}

.side-btn {
  width: 18rem;
  height: 18rem;
  background-color: #0053BA;
  border-radius: 50%;
  padding: 2.5rem;
  text-align: center;
  color: #fff;
  border: solid 1px #0053BA;
  font-size: 2.4rem;
  font-weight: 500;
  position: relative;
  display: flex;
  flex-direction: column;
  /* justify-content: center; */
  align-items: center;
}

.side-btn:hover {
  background-color: #F6FCFF;
  color: #0053BA;
}

/* 下向き矢印 */
.side-btn::after {
  content: "";
  position: absolute;
  bottom: 3.5rem;
  left: 50%;
  transform: translateX(-50%) rotate(45deg) rotateX(180deg);
  width: 10px;
  height: 10px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
}

.side-btn:hover::after {
  border-top: 2px solid #0053BA;
  border-right: 2px solid #0053BA;
}

@media screen and (max-width: 767px) {

  /* 丸ボタンを横長ボタンに変更 */
  .fastview-side-btns {
    position: static;
    display: flex;
    /* flex-direction: column; */
    align-items: center;
    gap: 1.5rem; 
    /* 上下余白 */
    margin: 2rem 1.4rem;
  /* スライダーとの余白 */
    padding-top: 2rem;
  }

  .side-btn {
    width: 50%;
    height: auto;
    padding: 10px 25px;
    border-radius: 40px;
    display: block;
    font-size: 1.4rem;
    font-weight: 500;
    color: #ffffff;
    /* border: 1px solid #ffffff; */
    text-align: left;
    position: relative;
  }

  .side-btn:hover {
    background-color: #ffffff;
    color: #0053BA;
  }

  /* 下向き矢印を右向きに変更して video-slider-btn-inner風に */
  .side-btn::after {
    content: "";
    position: absolute;
    top: 50%;
    left: auto;
    right: 25px;
    width: 8px;
    height: 8px;
    border-top: 2px solid #ffffff;
    border-right: 2px solid #ffffff;
    transform: translateY(-50%) rotate(45deg);
  }

  .side-btn:hover::after {
    border-top: 2px solid #0053BA;
    border-right: 2px solid #0053BA;
  }

}

/* スライダー上の社協だよりーーーーーーーーーーーーーーーーーー */
.fastview-side-book {
  position: absolute;
  bottom: 10rem;
  z-index: 50;
  right: 2%;
}

.fastview-side-book-inner {
  position: relative;
}

/* NEWアイコン */
.side-book-icon {
  position: absolute;
  top: -1rem;
  left: -1rem;
  z-index: 1;
  color: #EA1C00;
  background-color: #fff;
  padding: 0.5rem 1rem;
  border: solid 2px #EA1C00;
  border-radius: 20px;
  font-size: 1.8rem;
  font-weight: 500;
  pointer-events: none; /* 追加 */
}

.side-book-link img {
  width: 160px;
  height: 220px;
  border: solid 2px #0053BA;
}

.side-book-link p {
  position: absolute;
  bottom: -4rem;
  right: -1rem;
  background-color: #0053BA;
  color: #fff;
  padding: 2rem 5rem 1.5rem 3rem;
  border-radius: 40px;
  font-size: 1.6rem;
  font-weight: 500;
  z-index: -1;
}

/* 社協だより上アイコン */
.side-book-link p::before,
.side-book-link p::after {
  content: "";
  position: absolute;
  right: 3rem;
  width: 10px;
  height: 10px;
  border-top: 2px solid #fff;
  border-left: 2px solid #fff;
  /* 45°のラインを回転上向き ^ */
  transform: rotate(45deg);
}

/* 上 ^ */
.side-book-link p::before {
  top: 2.7rem;
}

/* 下 ^ */
.side-book-link p::after {
  bottom: 1.5rem;
}


/* ホバー動作 */
.side-book-link:hover img {
  border-color: #EA1C00;
  /* 例：枠色を赤系に変更 */
}

/* p（社協だより） のホバー時背景色・文字色変更 */
.side-book-link:hover p {
  background-color: #EA1C00;
  color: #fff;
}

/* 疑似要素（矢印部分）も変更 */
.side-book-link:hover p::before,
.side-book-link:hover p::after {
  border-top-color: #fff;
  border-left-color: #fff;
}

/* NEWバッジの色変更したい場合 */
.side-book-link:hover+.side-book-icon,
.fastview-side-book-inner:hover .side-book-icon {
  background-color: #EA1C00;
  color: #fff;
  border-color: #EA1C00;
}

@media screen and (max-width: 767px) {

  /* スライダー上の社協だより */
  .fastview-side-book {
    bottom: 18rem;
    right: 1rem;
  }

  /* NEWアイコン */
  .side-book-icon {
    padding: 0.2rem 0.5rem;
    font-size: 1.2rem;
     border: solid 1px #EA1C00;
  }

  .side-book-link img {
    width: 90px;
    height: 125px;
    border: solid 2px #0053BA;
  }

  .side-book-link p {
    position: absolute;
    bottom: -2rem;
    right: -1rem;
    padding: 1rem 2rem 0.5rem 1.5rem;
    border-radius: 40px;
    font-size: 1.2rem;
  }

  /* 社協だより上アイコン */
  .side-book-link p::before,
  .side-book-link p::after {
    content: "";
    position: absolute;
    right: 1.2rem;
    width: 5px;
    height: 5px;
    border-top: 2px solid #fff;
    border-left: 2px solid #fff;
    /* 45°のラインを回転上向き ^ */
    transform: rotate(45deg);
    border-radius: 1px;
  }

  /* 上 ^ */
  .side-book-link p::before {
    top: 1.5rem;
  }

  /* 下 ^ */
  .side-book-link p::after {
    bottom: 0.6rem;
  }
}

/* トップh2ーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー */

h2.top-title {
  text-align: center;
  font-size: 3.2rem;
  text-decoration: none;
  padding-bottom: 8rem;
  color: #0053BA;
  /* letter-spacing: 0.1em; */
}

@media screen and (max-width: 767px) {
  h2.top-title {
    font-size: 2.5rem;
    padding-bottom: 4rem;
  }

}

/* 相談したいことーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー */

.top-aboutaction-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center
}

.top-aboutaction {
  text-align: center;
  /* width: calc(25% - 2rem); */
  width: 250px;
  height: 250px;
  padding: 20px;
  box-sizing: border-box;
  border-radius: 10px;
  font-size: 1.8rem;
}

.top-aboutaction-lower {
  display: flex;
  justify-content: center;
  gap: 30px;
  /* width: calc(3 * (25% - 2rem) + 33%); */
  margin: 0 auto 20px;
  flex-wrap: wrap;
}

/* アイコン丸白背景 */
.top-aboutaction-icon {
  width: 90px;
  height: 90px;
  background-color: #fff;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 10px;
}

/* アイコン大きさ */
.top-aboutaction-icon img {
  width: 57px;
}

/* 高齢者アイコン大きさ */
.top-aboutaction.senior .top-aboutaction-icon img {
  width: 28px;
}

/* 子どもアイコン大きさ */
.top-aboutaction.child .top-aboutaction-icon img {
  width: 40px;
}

/* 地域福祉・寄付アイコン大きさ */
.top-aboutaction.activity .top-aboutaction-icon img,
.top-aboutaction.donation .top-aboutaction-icon img {
  width: 44px;
}

.top-aboutaction h3 {
  padding-bottom: 1rem;
}

.top-aboutaction p {
  font-size: 1.6rem;
  font-weight: 500;
}

.top-aboutaction.senior {
  background-color: #F5D1C5;
  border: solid 2px #DE6641;
}

.top-aboutaction.handicap {
  background-color: #F8E6CA;
  border: solid 2px #E8AC51;
}

.top-aboutaction.child {
  background-color: #FBF7CE;
  border: solid 2px #F2E55C;
}

.top-aboutaction.money {
  background-color: #C3E5D1;
  border: solid 2px #39A869;
}

.top-aboutaction.activity {
  background-color: #C7DAEC;
  border: solid 2px #4784BF;
}

.top-aboutaction.volunteer {
  background-color: #CDC9DF;
  border: solid 2px #5D5099;
}

.top-aboutaction.donation {
  background-color: #E3CCDF;
  border: solid 2px #A55B9A;
}

/* ホバー */
.top-aboutaction:hover {
  filter: brightness(0.95);
  /* 画像も背景も同時に少し濃くなる */
}

@media screen and (max-width: 767px) {

  .top-aboutaction-wrapper {
    gap: 15px;
  }

  .top-aboutaction {
    width: 47%;
    height: auto;
    font-size: 1.4rem;
    letter-spacing: 0em;
    padding: 20px 15px;
  }

  .top-aboutaction-lower {
    width: 100%;
    gap: 15px;
    margin: 0 auto 15px;
  }

  .top-aboutaction p {
    display: none;
  }

  .top-aboutaction h3 {
    padding-bottom: 0;
  }

  .top-aboutaction p {
    font-size: 1.6rem;
    font-weight: 500;
  }
}

/* 相談したいこと下ボタン-----------------------------------------------------------*/

.top-aboutaction-btn {
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
  justify-content: center;
}

.top-aboutaction-btn-inner {
  width: 300px;
}

.top-aboutaction-btn-inner a {
  border: solid 1px #0053BA;
  border-radius: 40px;
  white-space: nowrap;
  color: #0053BA;
  position: relative;
  display: block;
  padding: 20px 100px 20px 40px;
  font-size: 1.8rem;
  font-weight: 500;
}

.top-aboutaction-btn-inner a:hover {
  background-color: #0053BA;
  color: #ffffff;
}

.top-aboutaction-btn-inner a::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 40px;
  width: 8px;
  height: 8px;
  border-top: 2px solid #0053BA;
  border-right: 2px solid #0053BA;
  transform: translateY(-50%) rotate(45deg);
}

.top-aboutaction-btn-inner a:hover::after {
  border-top: 2px solid #ffffff;
  border-right: 2px solid #ffffff;
}

@media screen and (max-width: 767px) {
  .top-aboutaction-btn {
    gap: 2rem;
  }

  .top-aboutaction-btn-inner {
    width: 90%;
  }

  .top-aboutaction-btn-inner a {
    padding: 20px 40px;
  }
}

/* 新着情報ーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー */

/* 記事が0の場合*/
.no-article-message{
margin:3rem;
}

/* tab ----------------*/
.b-tabs {
  display: flex;
  justify-content: space-between;
  background: #fff;
  padding-bottom: 2px;
  gap: 10px
}

.b-tabs li {
  display: block;
  width: calc(98% / 6);
}

.b-tabs button {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 40px;
  padding: .5em 1em;
  font-size: 1.8rem;
  text-align: center;
  color: #ffffff;
  background-color: #0053BA;
  border: solid 1px #0053BA;
  border-bottom: none;
}

.b-tabs .active button,
.b-tabs button:hover {
  transform: translateY(2px);
  opacity: 1;
}

.b-tabs .active button {
  font-weight: 500;
  pointer-events: none;
  color: #0053BA;
  background-color: #ffffff;
}

/* post ----------------*/

.b-articles {
  padding-bottom: 1rem;
}

.b-post {
  position: relative;
  overflow: hidden;
}

.b-post::before {
  content: "";
  display: block;
  width: 120%;
  height: 100%;
  position: absolute;
  right: 120%;
  z-index: -1;
}

.b-post:hover::before {
  right: -10%;
}

.b-post a {
  display: flex;
  flex-wrap: wrap;
  padding: 1.5rem 4rem 1.5rem 1rem;
  border-bottom: 1px dashed #ccc;
}

.b-post:last-child a {
  border-bottom: 1px solid #ccc;
}


.b-post a::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 10px;
  width: 8px;
  height: 8px;
  border-top: 2px solid #333;
  border-right: 2px solid #333;
  transform: translateY(-50%) rotate(45deg);
}

.b-postdate,
.e-posttitle {
  margin: .3em 0;
}

.b-postdate {
  display: flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
  align-items: center;
  width: 100%;
}

.e-catname {
  /* display: inline-flex; */
  display: block;
  align-items: center;
  margin: 0 1em;
  padding: 5px 10px;
  border-radius: 20px;
  border: solid 1px #0053BA;
  font-size: 1.4rem;
  font-weight: 500;
  color: #0053BA;
  width: 12rem;
  text-align: center;
}

.e-posttitle {
  line-height: 1.5;
}

.top-news-more {
  text-align: right;
  position: relative;
}

.top-news-more a {
  padding-right: 3rem;
}

.top-news-more a::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 10px;
  width: 8px;
  height: 8px;
  border-top: 2px solid #333;
  border-right: 2px solid #333;
  transform: translateY(-50%) rotate(45deg);
}

/* タブ操作で枠がでるように調整 */
#js-articles .b-post {
  overflow: visible !important;
}

@media screen and (max-width: 1100px) {
  .b-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    padding: 0 1rem;
  }

  .top-news-more {
    right: 1rem;
  }

  .b-tabs li {
    width: 100%;
  }

  .b-tabs button {
    padding: 0;
    font-size: 1.4rem;
    border-bottom: solid 1px #0053BA;
  }

  .b-articles {
    padding: 1rem;
  }
}

@media screen and (max-width: 767px) {
  .b-tabs {
    padding: 0;
  }
}

/* 事業のご案内ーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー */

.top-business-back {
  width: 100%;
  background-color: #FCFBF8;
  padding: 1rem 0;
}

.top-business-wrapper {
  display: flex;
  flex-direction: column;
  gap: 50px;
  align-items: center;
}

/* 各段（row）設定 */
.row {
  display: flex;
  justify-content: center;
  gap: 50px;
  flex-wrap: wrap;
  /* ★幅が狭くなった時にカラム落ち */
}

.top-business-box {
  background-color: #ffffff;
  /* width: calc(33.3% - 2rem); */
  width: 330px;
  height: 330px;
  padding: 30px;
  box-sizing: border-box;
  border-radius: 10px;
  border: solid 1px #0053BA;
}

.top-business-box:hover {
  filter: brightness(0.95);
  /* 画像も背景も同時に少し濃くなる */
}

.top-business-box img {
  display: block;
  width: 100%;
  height: 100px;
  object-fit: cover;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  margin-bottom: 20px;
  object-position: 50% 20%;
}

.top-business-box.tiikihukusi img,
.top-business-box.seikatusien img {
  object-position: 50% 50%;
}

.top-business-box h3 {
  color: #0053BA;
  font-size: 1.8rem;
}

.top-business-box h3 {
  position: relative;
  color: #0053BA;
  font-size: 1.8rem;
  display: inline-block;
  /* 文字幅に合わせるため */
  margin-bottom: 20px;
}

.top-business-box h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -10px;
  /* 文字の10px下 */
  width: 100%;
  /* 文字幅だけ線を引く */
  height: 2px;
  background-color: #0053BA;
  /* 線の色 */
}

@media screen and (max-width: 767px) {
  .top-business-wrapper {
    gap: 25px;
  }

  .row {
    gap: 25px;
  }

  .top-business-box {
    height: auto;
  }

  .top-business-box p {
    display: none;
  }
}

/* センターのご案内ーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー */

.top-center-wrapper {
  display: flex;
  flex-direction: column;
  gap: 50px;
  align-items: center;
}

/* カード本体 */
.top-center-box {
  background-color: #F9FBF6;
  width: 330px;
  height: 330px;
  padding: 30px;
  box-sizing: border-box;
  border-radius: 10px;
  border: solid 1px #ACACAC;
  text-align: center;
}

.top-center-box:hover {
  filter: brightness(0.95);
  /* 画像も背景も同時に少し濃くなる */
}

.top-center-box img {
  padding-bottom: 10px;
}

/* タイトル */
.top-center-box h3 {
  font-size: 1.8rem;
  padding-bottom: 15px;
  line-height: 1.4;
}

.top-center-box {
  background-color: #F9FBF6;
  width: 330px;
  height: 330px;
  padding: 30px;
  box-sizing: border-box;
  border-radius: 10px;
  border: solid 1px #ACACAC;
  text-align: center;
}

.top-center-box a p {
  text-align: left;
}


.top-center-box h3 {
  text-align: center;
  font-size: 1.8rem;
  padding-bottom: 15px;
}

.top-center-box img {
  width: 130px;
}

.top-center-box.kenrijyouto img,
.top-center-box.zaitakuiryou img {
  width: 190px;
}

.top-center-box.volunteercenter img {
  width: 160px;
}

.top-center-box.yakumojidou img {
  width: 220px;
}

@media screen and (max-width: 767px) {
  .top-center-wrapper {
    gap: 25px;
  }

  .top-center-box {
    height: auto;
  }

  .top-center-box h3 {
    padding-bottom:0px;}
    
  .top-center-box p {
    display: none;
  }
}

/*制作動画ーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー */

.video-slider-back {
  position: relative;
  /* ← 必須 */
  background-color: #FEFFFF;
  border-top: 1px solid #0053BA;
  border-bottom: 1px solid #0053BA;
  margin-bottom: 15rem;
  z-index: 1;
  overflow: hidden;
  /* はみ出し防止 */
}

/* 疑似要素でストライプ帯を作成 */
.video-slider-back::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 50px;

  background: repeating-linear-gradient(-45deg,
      #EBF1F8 0px,
      #EBF1F8 30px,
      white 30px,
      white 60px);

  z-index: -1;
  /* ← 下に送る（背景化） */
}

.video-slider {
  max-width: 1000px;
  /* カルーセル全体の最大幅 */
  margin: 0 auto;
  /* 中央揃え */
  position: relative;
  padding-bottom: 8rem;
}

.video-slider-inner {
  padding: 0 10px;
  /* 左右の隙間 */
}

.video-slider-inner iframe {
  width: 100%;
  height: 200px;
  /* 動画高さ */
  display: block;
  border: 0
}

/* 左矢印 */
.video-slider .slick-prev {
  left: -50px;
}

/* 右矢印 */
.video-slider .slick-next {
  right: -50px;
}

/* Slick 矢印カスタマイズ */
.video-slider .slick-prev,
.video-slider .slick-next {
  width: 40px;
  height: 40px;
  position: absolute;
  /* top: 50%; */
  top: 35%;
  transform: translateY(-50%);
  cursor: pointer;
  background: none;
  z-index: 10;
}

/* 左矢印 ＜ */
.video-slider .slick-prev::before,
.video-slider .slick-prev::after {
  content: "";
  position: absolute;
  width: 12px;
  /* 線の長さ */
  height: 2px;
  /* 線の太さ */
  background-color: #0053BA;
  top: 50%;
  left: 50%;
}

.video-slider .slick-prev::before {
  transform: translate(0, -50%) rotate(45deg);
  transform-origin: left center;
}

.video-slider .slick-prev::after {

  transform: translate(0, -50%) rotate(-45deg);
  transform-origin: left center;
}

/* 右矢印 ＞ */
.video-slider .slick-next::before,
.video-slider .slick-next::after {
  content: "";
  position: absolute;
  width: 12px;
  height: 2px;
  background-color: #0053BA;
  top: 50%;
  left: 50%;
}

.video-slider .slick-next::before {
  transform: translate(-100%, -50%) rotate(45deg);
  transform-origin: right center;
}

.video-slider .slick-next::after {
  transform: translate(-100%, -50%) rotate(-45deg);
  transform-origin: right center;
}

/* 動画一覧を見るボタン */

.video-slider-btn {
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
  justify-content: center;
}

.video-slider-btn-inner {
  width: 300px;
}

.video-slider-btn-inner a {
  border: solid 1px #0053BA;
  border-radius: 40px;
  white-space: nowrap;
  color: #0053BA;
  position: relative;
  display: block;
  padding: 20px 100px 20px 40px;
  font-size: 1.8rem;
  font-weight: 500;
}

.video-slider-btn-inner a:hover {
  background-color: #0053BA;
  color: #ffffff;
}

.video-slider-btn-inner a::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 40px;
  width: 8px;
  height: 8px;
  border-top: 2px solid #0053BA;
  border-right: 2px solid #0053BA;
  transform: translateY(-50%) rotate(45deg);
}

.video-slider-btn-inner a:hover::after {
  border-top: 2px solid #ffffff;
  border-right: 2px solid #ffffff;
}

@media screen and (max-width:1100px) {

  /* 動画を中央に設定 */
  .video-slider-inner iframe {
    width: 90%;
    /* 100%だと広すぎるので調整 */
    max-width: 400px;
    margin: 0 auto;
    display: block;
  }

  /* iframe を包む要素を基準にする */
  .video-slider-inner {
    position: relative;
  }

  /* 矢印共通設定 */
  .video-slider .slick-prev,
  .video-slider .slick-next {
    width: 30px;
    height: 30px;
    /* z-index: 20; */
  }

  /* 左矢印：iframe 左端に近づける */
  .video-slider .slick-prev {
    left: calc(50% - min(200px, 45vw) - 40px);
    /* 50% = 中央、min() で iframe 半幅を制御 */
  }

  /* 右矢印：iframe 右端に近づける */
  .video-slider .slick-next {
    right: calc(50% - min(200px, 45vw) - 40px);
  }
}

@media screen and (max-width: 767px) {

  .video-slider-back {
    padding-top: 5rem;
    margin-bottom: 10rem;
  }

  .video-slider-inner iframe {
    width: 50%;
    min-width: 250px;
  }

  .video-slider .slick-prev {
    left: calc(50% - min(200px, 45vw) - 10px);
  }

  .video-slider .slick-next {
    right: calc(50% - min(200px, 45vw) - 10px);
  }

  /* 動画一覧を見るボタン */
  .video-slider-btn {
    padding: 0 1rem;
  }

  .video-slider-btn-inner {
    width: 90%;
  }
}

/* 下部バナーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー */

.top-bannerlink-wrapper {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}

.top-bannerlink-wrapper-inner img {
  width: 250px;
  height: 81px;
  object-fit: cover;
  object-position: center;
}

.top-bannerlink-wrapper-inner img:hover {
  filter: brightness(0.95);
  /* 画像も背景も同時に少し濃くなる */
}


/* フッターーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー */

.footer-back {
  background-color: #dcdcdc;
  position: relative;
  font-weight: 500;
}

.footer-back-inner {
  /* キャラクター配置最大幅 */
  position: relative; 
  max-width:1500px;
  margin:auto;
}

/* 文字とSNSアイコンを横並び */
.footer-inner {
  padding: 8rem 1rem 16rem;
  display: flex;
  justify-content: space-between;
  /* SNSアイコンを後に */
  flex-direction: row-reverse;
  flex-wrap: wrap;
}

/* 住所とアイコンを横並び */
.footer-inner-box {
  display: flex;
  gap: 3rem;
  align-items: center;
  padding-bottom: 3rem;
  flex-wrap: wrap;
}

.footer-sns,
.footer-address,
.footer-icon,
.footer-menu {
  display: flex;
  flex-wrap: wrap;
}

.footer-address li:nth-child(2) {
  padding-left: 3rem;
}

.footer-sns li:nth-child(2) {
  padding-top: 10px;
}

.footer-sns {
  /* align-items:center; */
  gap: 1rem;
}

.footer-sns img {
  width: 50px;
}

.footer-icon {
  gap: 3rem;
  align-items: center;
}

.footer-menu {
  gap: 3rem;
  text-decoration: underline
}

.footer-logo {
  padding-bottom: 1rem;
}

.footer-logo a {
  display: flex;
  align-items: center;
}

.footer-logo img {
  margin-right: 1rem;
  width: 30px;
  height: 30px;
}

p.footer-logo {
  width: 290px;
  font-size: 2.2rem;
  font-weight: 500;
}

/* 災害情報ボタン */
.footer-btn a {
  border: solid 1px #0053BA;
  border-radius: 20px;
  white-space: nowrap;
  color: #0053BA;
  position: relative;
  display: inline-block;
  padding: 5px 40px 5px 20px;
  background-color: #fff;
}

.footer-btn a:hover {
  background-color: #0053BA;
  color: #ffffff;
}

.footer-btn a::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 20px;
  width: 6px;
  height: 6px;
  border-top: 2px solid #0053BA;
  border-right: 2px solid #0053BA;
  transform: translateY(-50%) rotate(45deg);
}

.footer-btn a:hover::after {
  border-top: 2px solid #ffffff;
  border-right: 2px solid #ffffff;
}

.character {
  display: block;
  position: absolute;
  width: 220px;
  bottom:-27px;
  left:1rem;
  overflow: hidden;
}

.copyright {
  background-color: #0053BA;
  text-align: center;
  font-size: 1.2rem;
  padding: 0.5rem;
  color: #fff;
}

@media screen and (max-width: 1100px) {

  .footer-inner {
    justify-content: space-around;
  }

  .footer-sns {
    padding-bottom: 3rem;
  }
}

@media screen and (max-width: 767px) {

  .footer-inner {
    padding: 5rem 1rem 10rem;
    flex-direction: column;
    align-items: center;
    /* 全体中央寄せ */
    text-align: center;
  }

  /* 住所とアイコンを縦並び */
  .footer-inner-box {
    flex-direction: column;
  }

  .footer-sns {
    gap: 2.5rem;
  }

  .footer-logo {
    text-align: center;
  }

  .footer-logo a {
    justify-content: center;
  }

  /* 住所とアイコンを縦並び */
  .footer-inner-box {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }

  /* 住所1行ずつ中央 */
  .footer-address {
    flex-direction: column;
    text-align: center;
    padding: 0;
  }

  .footer-address li:nth-child(2) {
    padding-left: 0;
  }

  .footer-icon {
    justify-content: center;
  }

  /*1行ずつ中央 */
  .footer-menu {
    flex-direction: column;
    text-align: center;
    gap: 2rem;
  }

  /* キャラクター */
  .character {
     width: 140px;
    bottom:0px;
  }

  .copyright {
    padding: 1rem;
  }

}

/* 上に戻るボタン ----------------------------------------------------*/

.pagetop {
  backface-visibility: hidden; /* Firefox描画バグ軽減 */
  -moz-backface-visibility: hidden;
  transform: translateZ(0);     /* レイヤーをGPUに移す */
}

.pagetop {
  /* ブラウザ標準の button スタイルを完全リセット */
  all: unset;
  box-sizing: border-box;
  cursor: pointer;

  /* 元のスタイル + 必要な修正 */
  background-color: #fff;
  display: none;
  /* スクロール後に jQuery で表示 */
  
  position: fixed;
  bottom: 2rem;
  right: 2rem; 
 
  font-size: 1.5rem;
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  text-align: center;
  display: flex;
  /* 中央寄せ */
  justify-content: center;
  align-items: center;
  border: solid 1px #0053BA;
  max-width: 100%;
  z-index: 100;
  transition: background-color 0.2s ease;
}

/* ホバー時の色反転 */
.pagetop:hover {
  background-color: #0053BA;
}

/* フォーカスリング（アクセシブル対応） */
.pagetop:focus-visible {
  outline: 3px solid #0053BA;
  outline-offset: 4px;
}

/* 上向き矢印（装飾） */
.pagetop-arrow {
  margin: auto;
  height: 10px;
  width: 10px;
  border-top: 2px solid #0053BA;
  border-right: 2px solid #0053BA;
  transform: translateY(20%) rotate(-45deg);
}

/* ホバー後の矢印色反転 */
.pagetop:hover .pagetop-arrow {
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
}


/* タイトルーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー */

/* 背景色を全幅にしつつ、中身1100px にする */
.page-title-wrapper {
  position: relative;
  /* 上下余白 */
  padding: 20px 0 20px;
  display: block;
  /* 下の要素との余白 */
  margin-bottom: 3rem;
  letter-spacing: 0.05em;
}

/* 背景レイヤー：::before で全幅 */
.page-title-wrapper::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  /* width: 100vw; */
  width: 100%;
  height: 100%;
  background-color: #FCFBF8;
  z-index: -1;
}

/* 中のコンテンツ幅を1100px に制限 */
.page-title-wrapper>* {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  /* スマホで左右余白 */
}

/* タイトルのデザイン */
.page-title {
  font-size: 3.2rem;
  color: #0053BA;
  font-weight: 700;
  position: relative;
  margin-bottom: 15px;
  /* 下の線との間隔 */
}

/* 下線装飾 */
.page-title::after {
  content: "";
  display: block;
  width: 30px;
  height: 2px;
  /*background-color: #0053BA;*/
  margin-top: 20px;
}

/* ページタイトル記事のみ文字下線削除対応ーーーーーーーーーーーーーーーーーーーーー */

.page-title.article_only::after{
  /* 背景色と同じに */
  background-color: #FCFBF8;
}

/* ぱんくずリストーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー */

.page-bread {
  margin-bottom: 35px;
}

.page-bread ol {
  display: flex;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
}

.page-bread li {
  position: relative;
  padding-left: 1.2em;
  /* 矢印のスペース */
}

/* 矢印（＞）を線で作成 */
.page-bread li::before {
  content: "";
  position: absolute;
  left: 0.3em;
  /* 横位置調整 */
  top: 50%;
  width: 6px;
  /* 矢印の長さ */
  height: 6px;
  /* 矢印の大きさ */
  border-right: 1px solid #333;
  /* 線の色 */
  border-bottom: 1px solid #333;
  transform: translateY(-50%) rotate(-45deg);
  /* ＞の角度に */
}

/* 最初の li のみ矢印を消す */
.page-bread li:first-child {
  padding-left: 0;
}

.page-bread li:first-child::before {
  content: none;
}

.page-bread li a {
  text-decoration-line: underline;
}

.page-bread li:last-child a {
  text-decoration: none;
}

@media screen and (max-width: 767px) {

  /* パンくず下余白 */
  .page-bread {
    margin-bottom: 40px;
    font-size: 1.4rem;
  }

  /* タイトルのデザイン */
  .page-title {
    font-size: 2.8rem;
  }
}

.page table tr,
.page table td,
.entry table tr,
.entry table td{
 padding:1rem
}
