* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: "Noto Sans JP", sans-serif;
	overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  letter-spacing: 1.2px;
}
a.initial {
  text-decoration: underline;
  color: initial;
}

li {
  list-style: none;
}
h1,
h2,
h3,
h4,
h5,
p,
span {
  letter-spacing: 1.2px;
  line-height: 1.7;
}
button {
  background-color: transparent;
  border: none;
  cursor: pointer;
  outline: none;
  padding: 0;
  appearance: none;
}


/*header*/
.header {
    border-bottom: 2px solid #ccc;
    width: 100%;
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background-color: #fff;
}

.logo {
    width: 150px;
}

.header-links {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0 auto; /* 中央寄せ */
    padding: 0;
    justify-content: center; /* リンクを中央揃え */
}

.header-links li a {
    text-decoration: none;
    color: #333;
    font-size: 14px;
}

.header-nav {
    background-color: #f5f7fb;
    padding: 10px 20px;
}

.header-nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
    justify-content: center;
}

.header-nav ul li {
    text-align: center;
}

.header-nav ul li a {
    text-decoration: none;
    color: #333;
    font-size: 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.header-nav ul li img {
    width: 30px;
    height: 30px;
    margin-bottom: 5px;
}

.header-nav ul li a.highlight {
    background-color: #002f6c;
    color: #fff;
    padding: 5px 10px;
    border-radius: 5px;
}

.header-nav ul li img {
    width: 80px; /* 画像の幅を30pxに設定 */
    height: auto; /* アスペクト比を維持 */
}

/*fv*/
.fv {
  width: 95%;
  max-width: 1270px;
  margin: 1rem auto 0;
}
.fv img {
  display: block;
  width: 100%;
}

/*main*/

main {
  width: 100%;
  margin: 2rem auto;
  max-width: 1600px;
  display: flex;
}
.main-content {
  width: 100%;
  padding: 1rem 2rem; /* ← 左右の余白追加 */
  margin: 0 auto;
}

}
.video-container {
    position: relative; /* 親要素として基準を設定 */
    width: 100%; /* コンテナの幅をページ全体の80%に設定 */
    max-width: 1000px; /* 最大幅を1300pxから1000pxに変更 */
}

.video-container video {
    width: 90%; /* 親要素の幅に合わせる */
    height: auto; /* アスペクト比を維持 */
    display: block; /* 動画が下に余白を作らないように設定 */
    pointer-events: none; /* ユーザーが動画を操作できないようにする */
    margin: 50px auto; /* 中央寄せ（上下20pxの余白） */
    box-shadow: 0 5px 5px rgba(0, 0, 0, 0.1);
    margin-top: 50px;
}

/*top title共通*/
.title-bar h2 {
  color: #696969;
  font-size: 1.5rem;
  text-align: center
}

.background-section {
    position: relative;
    width: 100vw; 
	overflow-x: hidden;
    background: linear-gradient(to bottom, #fff, #c2c2c2);
    border-radius: 20px 0 0 20px; /* 左は直角、右は角丸 */
    padding: 20px 40px; /* 内側余白 */
    margin-top: 50px;
}




.title-header {
    text-align: left;
    margin-bottom: 30px;
}

.title-header h2 {
    font-size: 32px;
    color: #1c5e8c;
    margin: 0;
}

.title-header p {
    font-size: 16px;
    color: #666;
}

.topB {
  display: block;
  max-width: 600px;
  margin: 0 auto;
  width: 100%; /* 各セクションの幅を50%未満に設定 */
  margin-top: 20px;
}





/* 重要なお知らせセクション */
.important-notice {
    background-color: #a30000;
    color: white;
    padding: 10px;
    text-align: center;
    margin: 30px auto; /* 中央寄せ（上下20pxの余白） */
}
.important-notice p {
    margin: 0;
    font-size: 18px;
}

/*top-mapserch*/
.mapsearch-wrap {
  margin:0 auto;
}

.top-mapsearch-contents {
  position: relative;
  margin:0 auto;
}

.map-search-text {
  display: flex;
  align-items: center;
  background-color: #fff;
  border-radius: 2rem;
  padding: 0.25rem 1rem;
  font-weight: bold;
  font-size: 1.1rem;
}

.map-search-text img {
  display: block;
  width: 100px;
  margin-right: 0.5rem;
}
.top-mapsearch-img {
  display: block;
  width: 300%;
  max-width: 500px;
}

/* 親要素を横並びにする */
.top-mapsearch-inner {
  display: flex; /* 横並び */
  align-items: flex-start; /* 垂直方向で上に揃える */
  gap: 30px; /* 画像と項目の間の隙間を設定 */
}

/* 親要素を縦並びに配置 */
.top-map-ancwrap {
  display: block; /* 縦並びのまま */
  flex-grow: 1; /* 必要に応じて横幅を伸ばす */
    }

/* 地域アイテム全体のスタイル */
.region-item {
  display: block; /* 項目は縦並びにする */
  margin-bottom: 5px;
  position: relative; /* リスト表示位置を調整するため */	
}

/* 地域タイトルスタイル */
.map-area-title {
    cursor: pointer;
    padding: 10px 20px;
    border: 1px solid #000;
    background-color: #fff;
    display: inline-block;
    font-size: 16px;
    border-radius: 5px;
    transition: background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
    width: 50%;
    text-align: center;
}

.map-area-title:hover {
    background-color: #e0f7fa;
    color: #0078d7;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* リストのスタイル（非表示状態） */
.region-item ul {
  list-style: none;
  padding: 10px;
  margin: 0;
  position: absolute; /* リストを右側に配置 */
  top: 0;
  left: 50%; /* タイトルの右側に配置 */
  display: none; /* 初期状態では非表示 */
  background-color: #fff;
  border: 1px solid #ddd;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  z-index: 10;
  white-space: nowrap; /* 横書きに設定 */
}

.region-item ul li {
  padding: 8px 15px;
  display: inline-block; /* アイテムを横並びに */
}

.region-item ul li a {
    text-decoration: none;
    color: #333;
    display: inline-block; /* リンクを横書きに */
    transition: color 0.3s ease, background-color 0.3s ease;
}

.region-item ul li a:hover {
    background-color: #f0f0f0;
    color: #0078d7;
}

/* ホバー時のリスト表示 */
.region-item:hover ul {
    display: block; /* ホバーでリストを表示 */
}

/*top-detailedsearch*/
.top-detailedsearch-title {
  color: #000;
}


.top-detailedsearch-box + .top-detailedsearch-box {
  margin-top: 0.5rem;
}

.top-detailedsearch-item select,
.top-detailedsearch-box input[type="text"] {
  width: 400px;
  max-width: 100%;
  background-color: #fff !important;
  padding: 1rem;
  margin: 0 auto;
  display: block;
  border: 1px solid #ccc;
  border-radius: 3px;
}

.checkbox-wrap {
  width: 100%;
  margin: 0 auto;
}

.top-detailedsearch-box input[type="text"] {
  width: 100%;
}

.top-detailedsearch-input select[name="sub-options"] {
  width: 400px;
  padding: 0.5rem;
  margin-left: 0.5rem;
}

#searchsubmit {
  background-color: #1c5e8c;
  color: #fff;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 400px;
  height: 50px;
  margin-top: 1rem;
  cursor: pointer;
  border: none;
  outline: none;
  appearance: none;
}
#searchsubmit:disabled {
  background-color: gray !important;
  cursor: not-allowed !important;
}

.submit-error {
  color: #a30000;
  text-align: center;
  display: block;
  padding-bottom: 0.5rem;
}

/* 特集 */
.features-content {
    max-width: 1200px;
    padding: 40px 20px;
    position: relative;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.card {
    display: flex;
    align-items: center;
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.card:hover {
    transform: translateY(-5px);
}

.card img {
    width: 150px;
    height: 100px;
    object-fit: cover;
}

.card-content {
    padding: 15px;
    flex: 1;
}

.card-content h3 {
    font-size: 16px;
    margin: 0;
    color: #333;
}

.card-content p {
    font-size: 14px;
    color: #666;
    margin: 5px 0 0;
}

.card-content .icon {
    color: #a30000;
    font-weight: bold;
    margin-left: auto;
    text-align: right;
}



/* column スライダー */
.swiper-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding-left: 0;
  padding-right: 0;
  padding-top: 20px;
  padding-bottom: 20px;
  margin-top: 5rem;
  margin-bottom: 5rem;
}

.swiper-wrapper {
  display: flex;
}

.swiper-slide {
  border-radius: 10px;
  text-align: center;
  padding: 15px;
  flex-shrink: 0;
  width: calc((100% / 3) - 13.33px); /* 3枚表示で計算し直し */
  box-sizing: border-box;
}

.swiper-slide img {
  width: 100%; /* スライド内ではいっぱいに表示 */
  height: auto;
  border-radius: 8px;
  display: block;
}

/* ナビゲーションボタン */
.swiper-button-next,
.swiper-button-prev {
  color: #333;               /* ボタンの色 */
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  top: 50%;
  transform: translateY(-50%);
  transition: background-color 0.3s ease;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  background: #007bff;       /* ホバー時の背景色 */
  color: #fff;               /* ホバー時の矢印色 */
  box-shadow: 0 4px 10px rgba(0,123,255,0.6);
}

/* ボタンの位置調整 */
.swiper-button-prev {
  left: 10px;
}

.swiper-button-next {
  right: 10px;
}

/* ページネーション（ドット） */
.swiper-pagination {
  bottom: 10px !important;
}

.swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background: #ccc;
  opacity: 1;
  border-radius: 50%;
  margin: 0 6px !important;
  transition: background-color 0.3s ease;
  cursor: pointer;
}

.swiper-pagination-bullet-active {
  background: #007bff;
  box-shadow: 0 0 8px rgba(0,123,255,0.7);
}



/*top-detailedsearch*/
.top-detailedsearch-contents {
  display: flex;
  gap: 10px; /* ボタンの間隔を調整 */
  margin-top: 20px;
}

.top-search-inner {
  margin: 0 auto;
  display: flex;
    width: 150px; /* 固定幅の見出し */
    margin: 0; /* マージンをリセット */
}

.naviledge-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.text-section {
    flex: 1;
}

.text-section h2 {
    font-size: 32px;
    color: #a30000;
    margin-bottom: 10px;
}

.text-section p {
    font-size: 16px;
    color: #666;
    margin-bottom: 20px;
}

.buttons {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.button {
    display: inline-block;
    padding: 15px 30px;
    background: linear-gradient(to right, #1c5e8c, #55a2d9);
    color: white;
    font-size: 16px;
    text-align: center;
    border-radius: 5px;
    text-decoration: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.button:hover {
    transform: translateY(-3px);
}

.image-section2 {
  flex: 1;
  pointer-events: none;
}

.image-section2 img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}


/* ニュースセクション */
.news-section {
  width: 100%; /* 横幅100%を基準に縮むようにする */
  max-width: 1200px;
  margin: 40px 20px 40px auto; /* ←右寄せ + 最小余白 */
  padding: 0 20px;
  box-sizing: border-box;
}

.news-header {
    text-align: center;
    margin-bottom: 20px;
}
.news-header h2 {
    font-size: 24px;
    color: #a30000;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.news-item {
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.news-item h3 {
    font-size: 18px;
    margin: 0 0 10px;
    color: #333;
}

.news-item p {
    font-size: 14px;
    color: #666;
    margin: 0;
}

.news-item .date {
    font-size: 12px;
    color: #999;
    margin-bottom: 10px;
}




/* footer */
footer {
  background-color: #002f6c;
  padding: 40px 20px;
}

/* 横並び用のラッパー */
.footer-wrapper {
  display: flex; /* 横並びに設定 */
  justify-content: center; /* センター寄せ */
  align-items: center; /* ★ここで中央揃え */
  flex-wrap: wrap; /* 必要に応じて折り返し */
  gap: 50px; /* セクション間の余白 */
  margin-bottom: 10px;
}

/* 上段（ロゴ & 掲載情報セクション） */
.footer-top {
  flex: 1; /* 横幅を均等に分ける */
  max-width: 48%; /* 横幅の最大値を設定 */
}

/* 下段（リンクセクション） */
.footer-container {
  flex: 1; /* 横幅を占める */
  max-width: 48%; /* 最大幅を指定 */
}

/* 写真セクションのスタイル */
.photo-section {
  position: relative;
  width: 100%;
  height: 200px;
  background: url('https://naviledge.jp/wp-content/uploads/2025/06/240_F_955703900_pvVtorMyCfQyrXLyZ9clnIcuiR84WrLM.jpg') no-repeat center center; /* 背景画像 */
  background-size: cover; /* 画像をカバー */
  border-radius: 10px;
}

.photo-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6); /* 黒い半透明のオーバーレイ */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.photo-overlay h2 {
  margin: 0;
  font-size: 20px;
  margin-bottom: 10px;
  color: #fff;
}

.photo-overlay .button {
  background-color: #fff;
  color: #000;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 20px;
  font-size: 14px;
  transition: all 0.3s ease;
}

.photo-overlay .button:hover {
  background-color: #ddd;
}

/* リンクセクションのスタイル */
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  text-decoration: none;
  color: #fff; /* 通常のテキストカラー */
  background-color: transparent; /* 通常は背景色なし */
  padding: 5px 10px; /* リンクの内側の余白 */
  border-radius: 5px; /* 少し角丸にする */
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.footer-links a:hover {
  transform: translateY(-5px); /* リンクが少し浮き上がる */
  background-color: #e0f7fa; /* 背景色を青に変更 */
  color: #000; /* テキストカラーを白に変更 */
}


.footer-bottom {
  border-top: 1px solid #d9d4d4;
  padding-top: 20px;
  text-align: center;
}

.footer-bottom ul {
  list-style: none;
  padding: 0;
  margin: 10px 0;
  display: flex;
  justify-content: center;
  gap: 20px;
}

.footer-bottom li {
  display: inline;
}

.footer-bottom a {
  color: #d9d4d4;
  text-decoration: none;
  font-size: 12px;
}

.footer-bottom a:hover {
  color: #fff;
}

.footer-bottom p {
  font-size: 12px;
  color: #d9d4d4;
  margin: 10px 0 0;
}




/*サイドバーの検索利用分*/
h3.sidebar-search-title {
}

/*検索結果*/
.search-title {
  color: #fff;
  background-color: #002f6c;
  padding: 5px;
  border-radius: 4px;                 /* 角を丸める */
}
.search-result-item {
  margin-top: 2rem;
}
.post {
  margin-top: 1rem;
}



/*sp用ナビゲーション*/
.sp-nav {
  display: none;
}

/*sp-banner*/
.sp-banner a + a {
  margin-top: 1.5rem;
  display: block;
}
/*リキャプチャ*/
.rec-text {
  text-align: center;
  display: flex;
  justify-content: center;
  margin-top: 2rem;
  flex-wrap: wrap;
  line-height: 1.9;
}
.rec-text a {
  text-decoration: underline;
}
.grecaptcha-badge {
  visibility: hidden;
}
