/*
Theme Name: syobodan
*/

@charset "UTF-8";
/*================================================
 リセットCSS
================================================*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video, textarea {
  margin: 0;
  padding: 0;
  border: 0;
  outline:0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  background:transparent;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1;
}
ol, ul {
  list-style: none;
}
blockquote, q {
  quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
  content: '';
  content: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
a {
  margin:0;
  padding:0;
  font-size:100%;
  vertical-align:baseline;
  background:transparent;
}
input, select {
  vertical-align:middle;
}
*, *:before, *:after {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -o-box-sizing: border-box;
  -ms-box-sizing: border-box;
  box-sizing: border-box;
}

/*================================================
 管理者画面用CSS
================================================*/
/* アイコン読み込み用CSS */
@font-face {
  font-family: 'icomoon';
  src: url('fonts/icomoon.eot?hdtxx8');
  src: url('fonts/icomoon.eot?hdtxx8#iefix') format('embedded-opentype'),
    url('fonts/icomoon.ttf?hdtxx8') format('truetype'),
    url('fonts/icomoon.woff?hdtxx8') format('woff'),
    url('fonts/icomoon.svg?hdtxx8#icomoon') format('svg');
  font-weight: normal;
  font-style: normal;
  font-display: block;
}

[class^="icon-"],
[class*=" icon-"] {
  /* use !important to prevent issues with browser extensions that change fonts */
  font-family: 'icomoon' !important;
  speak: never;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;

  /* Better Font Rendering =========== */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/*================================================
 共通
================================================*/
body {
  font-size: medium;
  line-height: 180%;
  /* font-family: 'メイリオ', Meiryo, sans-serif; */
  font-family: Arial, Helvetica, sans-serif, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic";
  /* 文字設定 */
  color: #000;
  background: #fff;
  -webkit-text-size-adjust: 100%;
}

a {
  /* text-decoration: none; */
  color: #06C;
  text-decoration: underline;
}

a:hover,
.active {
  text-decoration: none;
}

a:active,
a:focus,
input:active,
input:focus {
  outline: 0;
}

section {
  clear: both;
  margin-bottom: 50px;
  overflow: hidden;
}

input[type="submit"],
input[type="button"] {
  cursor: pointer;
}

/*=============================
PCのみ表示
=============================*/
.disp_pc {
  display: block !important;
}

/*=============================
SP(スマホ)のみ表示
=============================*/
.disp_sp {
  display: none !important;
}

/*================================================
 ヘッダー
================================================*/
.outbox_header {
  position: sticky;
  top: 0;
  z-index: 1000; /* 他の要素の上に表示されるように */
  width: 100%;
  /* min-width: 1100px; */
  /* overflow: hidden; */
  background-color: #fff;
  border-bottom: 1px solid #c1c1c1;
}

.box_header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  /* width: 1100px; */
  margin: 0px auto;
  /* overflow: hidden; */
  /*オンにするとメニュー展開しなくなる*/
  position: relative;
}

.box_header_title {
  /* overflow: hidden; */
  margin: 0 30px;
  width: fit-content;
  white-space: nowrap;
  text-align: center;
}

.box_header_title h1 {
  font-size: 2em;
}

.box_header_title a {
  color: #000;
  text-decoration: none;
}

.box_header_title img {
  float: left;
  height: 70px;
  margin: 15px;
}

.box_header_btnlang img {
  margin: 28px 25px 0px 0px;
}

.box_header_right {
  /* overflow: hidden; */
  /*オンにするとメニュー展開しなくなる*/
  /* padding: 0px 10px; */
  width: 100%;
  max-width: 700px;
  text-align: right;
}

.outbox_keyword {
  margin: 16px 30px;
}

.hd_contact {
  font-size: 0.85em;
  line-height: 1.5em;
}

.hd_contact_title {
  background-color: #E56B5E;
  color: #fff;
  padding: 2px 5px;
  width: 100px;
  text-align: center;
  margin: 10px 0px 5px;
}

/*検索ボックス*/
.outbox_keyword form {
  display: flex;
  justify-content: flex-end;
}

.outbox_keyword input[type="search"] {
  width: 20em;
  height: 27px;
}

.outbox_keyword button {
  cursor: pointer;
}

.outbox_keyword button:hover {
  opacity: 0.7;
}

.outbox_keyword button,.outbox_keyword input[type="submit"] {
  padding: 0px 18px;
  border: none;
  background-color: #C00;
  color: #fff;
  text-wrap: nowrap;
}

/*=============================
ヘッダーメニュー用
=============================*/
.header_menu {
  display: flex;
  justify-content: flex-end;
}

.header_menu>li {
  padding: 0 25px;
  margin: 10px 0;
  width: fit-content;
  /* グローバルナビ3つ */
  /* height: 50px; */
  /* line-height: 50px; */
  text-align: center;
  border-right: 1px solid #c1c1c1;
  background-color: #fff;
  /* position: relative; */
}

.header_menu>li:last-child {
  border-right: 0;
}

.header_menu>li:hover {
  /* background-color: #E56B5E; */
  color: #fff;
}

.header_menu>li a {
  display: block;
  color: #000;
  text-decoration: none;
}

.header_menu>li a:hover,
.header_menu>li a:active {
  color: #E56B5E;
  text-decoration: none;
}

/*================================================
 フッター
================================================*/
footer {
  clear: both;
  margin: 0px;
  background-color: #f5f5f5;
  color: #000;
  overflow: hidden;
  /* min-width: 1100px; */
  /* box-shadow: 0px -2px 5px rgba(0, 0, 0, 0.4); */
}

.outbox_footer {
  color: #fff;
  border-top: 1px solid #E56B5E;
  background-color: #E56B5E;
}

.footer_contents {
  display: flex;
  justify-content: space-between;
  padding: 50px 40px 5px;
  margin: 0 auto;
  width: 100%;
  max-width: 1080px;
}

.address_name {
  font-size: 1.2em;
  font-weight: bold;
}

.footer_contact {
  padding-top: 16px;
}

.footer_access iframe {
  width: 400px;
  height: 100%;
}

#copyright {
  font-size: 10pt;
  padding: 15px 10px;
  margin: 0px;
  text-align: center;
  line-height: 130%;
  border-top: 1px solid #E56B5E;
}

#page-top {
    position: fixed;
    right: 17px;
    z-index: 1000;
}

#page-top img {
    width: 70px;
}

/*=============================
　バナー
=============================*/
.banner_site {
background-color: #f5f5f5;
}

.banner_in-footer {
  display: flex;
  margin-left: 30px;
  margin: 0 auto;
  padding: 20px 40px 10px;
  width: 100%;
  max-width: 1080px;
}

.banner_in-footer .kidscorner img {
  width: 100%;
}

.banner_in-footer > a.btn {
  text-indent: 0!important;
}

.banner_in-footer a:hover {
  background-position: bottom !important;
}

.banner_in-footer a {
  width: 50%;
}

.banner_in-footer a:hover {
  opacity: 0.8;
}

.banner_kyoryoku {
  margin-right: 20px;
}

.banner_in-footer a img {
  width: 100%;
}

/*================================================
 メニュー
================================================*/
.outbox_menu {
  width: 100%;
  background-repeat: repeat-x;
  /* 横方向にのみ背景画像を繰り返し */
  color: #000;
  font-size: 14px;
  /* height: 40px; */
}

.box_menu {
  width: 100%;
  /* min-width: 1100px; */
  margin: auto;
  background-color: #fff;
}

/* drop down */
/* link */
.mod_dropnavi ul li a {
  transition-property: border;
  transition-duration: 0.5s;
  transition-timing-function: ease;
  transition-delay: 0s;
}

.mod_dropnavi ul li a:link {
  text-decoration: none;
}

.mod_dropnavi ul li a:visited {
  text-decoration: none;
}

.mod_dropnavi ul li a:hover {
  text-decoration: none;
  color: #E56B5E;
}

.mod_dropnavi ul li:hover a {
  color: #E56B5E;
}

.mod_dropnavi ul li a:active {
  text-decoration: none;
  color: #fff;
}

/* mod_dropnavi_child */
.mod_dropnavi .mod_dropnavi_child {
  display: none;
  position: absolute;
  width: 100%;
  min-width: 200px;
  top: 96px;
  left: 0px;
  z-index: 99;
  padding: 12px 0 0 0 !important;
}

.mod_dropnavi .mod_dropnavi_child ul {
  /* border: 5px solid #bbbbbb; */
  /* padding: 20px; */
  background-color: #E56B5E;
  background-color: #e0e0e0;
}

.mod_dropnavi .mod_dropnavi_child ul li {
  line-height: 1.3;
  text-align: left;
  display: block;
  padding: 5px 10px;
  /* width: fit-content; */
  white-space: nowrap;
}

.mod_dropnavi .mod_dropnavi_child ul li span {
  font-size: 1.3em;
  padding-right: 5px;
  color: #E56B5E;
}

.mod_dropnavi .mod_dropnavi_child ul li a {
  display: block;
}

.mod_dropnavi .mod_dropnavi_child ul li a:link {
  color: #fff;
  /*背景#E56B5Eの場合*/
  color: #000;
  /*背景#e0e0e0の場合*/
  text-decoration: none;
}

.mod_dropnavi .mod_dropnavi_child ul li a:visited {
  color: #fff;
  /*背景#E56B5Eの場合*/
  color: #000;
  /*背景#e0e0e0の場合*/
  text-decoration: none;
}

.mod_dropnavi .mod_dropnavi_child ul li a:hover {
  color: #fff;
  /*背景#E56B5Eの場合*/
  color: #E56B5E;
  /*背景#e0e0e0の場合*/
  /* font-weight: bold; */
  text-decoration: none;
  /*font-weight:bold;*/
}

.mod_dropnavi .mod_dropnavi_child ul li a:active {
  color: #00f;
  text-decoration: none;
  /*font-weight:bold;*/
}

/* ヘッダーメニュー子ページ用 */
.dropdown_child_city{
  padding: 3px 0;
}

.dropdown_child_city li{
  width: 84px;
}

.dropdown_child{
  padding: 20px;
}

.dropdown_child li{
  width: fit-content;
}

/*ナビコンテンツ*/
.navi_contents {
  background-color: #e0e0e0;
}

.navi_flex {
  display: flex;
  flex-wrap: wrap;
}

.navi_flex:has(.dropdown_child_city){
  padding: 17px 20px;
}

.navi_flex ul {
  width: fit-content;
}

/*第3階層（gchild）*/
.navi_gchild {
  padding: 2px 1em !important;
  font-size: 13px;
}

/*================================================
 ページ共通
================================================*/
/*=============================
TOP部分
=============================*/
.undercont_top {
  margin-bottom: 0px;
  background-color: #f6fbff;
  border-bottom: 1px solid #c6c6c6;
}

.undercont_topmoji {
  width: 100%;
  margin: 0px auto 10px;
  text-align: center;
  font-size: 1.5em;
  line-height: 180%;
  font-weight: bold;
  padding: 15px 0px;
}

.undercont_topmoji span {
  border-bottom: 4px solid #E56B5E;
  padding: 0px 20px;
}

/*=============================
各セクション外枠
=============================*/
.inner {
  width: 100%;
  max-width: 1080px;
  padding: 30px 40px 0;
  margin: 0 auto;
  overflow: hidden;
  box-sizing: border-box;
}

.page_flex {
  display: flex;
}

.container {
  width: 100%;
}

/*サイドメニュー*/
.sidemenu {
  margin-left: 30px;
}

.sidemenu .kidscorner img {
  width: 100%;
}

.sidemenu #btn_kyoryoku {
  height: 70px;
  text-indent: -9999px;
  background-image: url(./images/btn_kyoryoku.jpg);
}

.sidemenu #btn_ouen {
  height: 70px;
  text-indent: -9999px;
  background-image: url(./images/btn_ouen.jpg);
}

.sidemenu #btn_ensure {
  height: 70px;
  text-indent: -9999px;
  background-image: url(./images/btn_ensure.jpg);
}

.sidemenu #btn_law {
  height: 70px;
  text-indent: -9999px;
  background-image: url(./images/btn_law.jpg);
}

.sidemenu>a.btn {
  display: block;
  text-decoration: none;
  background-position: top;
  width: 300px;
  margin-bottom: 10px;
  color: #333;
  font-size: 1.2em;
  font-weight: bold;
}

.btn:hover {
  background-position: bottom !important;
}

/* 枠 */
.about_box:not(.sub_contents .about_box) {
  /* margin: 0 10px; */
}
.about_box:has(.link_list) {
  margin: 0!important;
}
.about_box {
  margin-bottom: 35px!important;
}

.mini_box {
  margin-bottom: 20px;
}

.section_label {
  margin-bottom: 40px;
}

.outer {
  margin-bottom: 60px;
}

/*=============================
サイドメニュー
=============================*/
#sidemenu {
  display: inline-block;
  width: 300px;
  float: right;
  /* background:#ffaeae; */
}

#sidemenu ul li a {
  display: block;
  padding: 15px;
  border-bottom: #333 solid 1px;
  color: #FFF;
  text-decoration: none;
}

#sidemenu ul li a:hover {
  background: #333;
}

#sidemenu_key {
  display: inline-block;
  padding: 15px 0;
  width: 35.5px;
  height: 117px;
  border-radius: 5px 0px 0px 5px;
  background: #ffaeae;
  color: #FFF;
  cursor: pointer;
  position: absolute;
  right: 0;
  bottom: 60px;
  left: -35px;
  float: right;
  text-align: center;
  font-weight: bold;
  writing-mode: vertical-rl;
  text-orientation: upright;
}

#menu_wrap {
  display: block;
  position: fixed;
  bottom: 0;
  /* widthはメニュー幅+keyボタン幅 */
  width: 300px;
  /* メニュー幅に合わせる */
  right: -300px;
}

/*=============================
見出し
=============================*/
/* h2、上下赤線 */
h2 {
  margin-bottom: 20px;
  padding: 12px 10px;
  line-height: 1.2em;
  color: #BA0000;
  font-size: 25px;
  font-weight: 500;
  border-top: 1px solid #C00;
  border-bottom: 1px solid #C00;
}

/* h3、左ボーダー赤＋帯灰色 */
h3 {
  border-left: 10px solid #C00;
  margin-bottom: 20px;
  padding: 10px 5px 10px 20px;
  background-color: whitesmoke;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.2em;
}

.underline_title {
  border-bottom: 1px solid lightgray;
  margin-bottom: 15px;
  padding: 0 5px 2px;
  font-size: 20px;
  font-weight: 600;
}

.boldertext_title {
  margin-bottom: 5px;
  font-size: 20px;
  font-weight: 600;
}

/*=============================
要素
=============================*/

/* 要素横並び */
.flex_area {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: flex-start;
  margin: 1.5em 0;
}

.flex_area .text_area {
  width: 75%;
  margin-left: 10px;
}
/* h2とその直下 */
.main_contents {
  margin: 0 10px 70px;
}

/* その他小見出しとその直下 */
.contents_area,
.sub_contents {
  margin: 0 10px 40px;
}

.contents_area .sub_contents {
  margin: 0 10px 30px;
}

/* 中央寄せ */
.center {
  text-align: center;
}

/* 要素横並び（折り返し） */
.flex {
  display: flex;
  flex-wrap: wrap;
}

.flex>*:not(:last-child) {
  margin-right: 1em;
}

/* 段落字下げ */
.text_area p {
  text-indent: 1em;
}

li .text_area {
  margin: 0 0 0 1em;
}

/* ※部分 */
.commentary {
  display: flex;
  align-items: flex-start;
  width: auto;
  /* margin: 1.5em 0; */
}

.commentary p:first-child {
  text-wrap: nowrap;
}

.commentary .commentary_contents p {
  text-wrap: wrap;
}

.comment_label {
  white-space: nowrap;
}

.text_area .indent_text {
  margin-left: 2em;
  text-indent: -1em;
}

.text_area .indent-plus_text {
  margin-left: 1em;
  text-indent: 0em;
}

/* テーブル灰色 */
.gray_table {
  max-width: 680px;
  /* margin: 1.5em 0; */
  margin-top: 5px;
}

.gray_table tr {
  border: 1px solid black;
  border-collapse: collapse;
}

.gray_table th {
  border: 1px solid black;
  border-collapse: collapse;
  padding: 3px 5px;
  background-color: lightgray;
}

.gray_table td {
  border: 1px solid black;
  border-collapse: collapse;
  padding: 3px 10px;
  background-color: whitesmoke;
}

/* 順位 */
.rank {
  margin-left: 3em;
}

.rank div span {
    padding-right: 1em;
}

/* 黒マーカーリスト */
.dot_list {
  /* margin: 1.5em 0 1.5em 2em; */
  margin-left: 2em;
  list-style-type: disc;
}

.dot_list li:not(:last-child) {
  margin-bottom: 5px;
}

li .dot_list {
  margin: 0.5em 0 0 2em;
}

/* 円マーカーリスト */
.circle_list {
  margin-left: 1em;
  list-style-type: circle;
}

.circle_list li:not(:last-child) {
  margin-bottom: 1em;
}

/* 番号マーカー(括弧)リスト */
.parenthesis_list {
  list-style-type: none;
  padding-left: 1em;
  font-weight: normal;
}

.parenthesis_list li::before {
  margin-right: 4px;
  color: #555;
}

.parenthesis_list li:not(:last-child) {
  margin-bottom: 5px;
}

li .parenthesis_list {
  margin: 0.25em 0 0;
  padding-left: 0;
}

li .parenthesis_list li:not(:last-child) {
  margin-bottom: 0.25em;
}

/* 見出しと子要素が横並びのリスト(下線:実線) */
.inline_list {
  padding: 0 0 10px;
}

.inline_list li {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid darkgray;
  padding: 15px 0;
}

.inline_list li:first-child {
  padding-top: 0;
}

.inline_list p:first-child {
  width: 20%;
  min-width: 6em;
  margin-right: 1em;
  font-weight: 600;
  color: darkred;
  text-wrap: nowrap;
}

.inline_list p:last-child {
  width: 80%;
  font-weight: 400;
  color: black;
  text-wrap: wrap;
}

/* 下線(点線)ありのリスト */
.list_line {
  padding: 0 0 10px;
  text-indent: -0.4em;
  list-style-type: disc;
}

.list_line li {
  display: list-item;
  border-bottom: 1px dotted black;
  padding: 15px 0 15px 2em;
  list-style-position: inside;
  text-indent: -1.4em;
}

.list_line li li {
  border-bottom: 0;
  margin: 0.5em 1em 0;
  padding: 0;
  text-indent: -0.4em;
  list-style-type: circle;
  text-indent: -1.4em;
}

/* リンクリスト用　上下点線 */
.link_list {
  border-top: 1px dotted black;
  margin: 1.5em 0 1.5em;
  padding: 0 0 10px;
}

.link_list a {
  /* text-decoration: none; */
}

.link_list li {
  display: list-item;
  border-bottom: 1px dotted black;
  padding: 15px 0 15px 10px;
}

.link_list li li {
  display: list-item;
  border-bottom: 0;
  margin: 0 2em;
  padding: 5px 0;
  text-indent: -0.4em;
  list-style-type: circle;
  list-style-position: inside;
}

.link_list li li:not(:last-child) {
  margin: 10px 2em 0;
}

.link_list.main-parent_link,
.link_list.sub-child_link {
  padding: 0;
  margin: 0;
}

.link_list.sub-child_link {
  display: flex;
  flex-wrap: wrap;
  border-top: 0;
}

.link_list.sub-child_link li {
  padding: 4px 0 4px 0;
  border-top: 0;
  /* width: 50%; */
  width: 33.3%;
  text-align: center;
}

/* リスト注釈 */
.list_caption {
  margin: 10px 0 2px;
}

/* インデント */
.indent {
  padding-left: 1em;
}

.hanging-indent {
  padding-left: 1em;
  text-indent: -1em;
}

/* 大会テキスト用 */
.taikai_text_table {
  margin-left: 1em;
}

.taikai_text_table tr th,
.taikai_text_table tr td {
  padding-right: 10px;
}

/* 人 */
.image_person {
  /* width: 25%; */
  /* height: fit-content; */
  position: relative;
}

.image_person img {
  width: 100%;
  height: auto;
  aspect-ratio: 150 / 167;
}

.image_person .images_text {
  width: 100%;
  padding-left: 0;
  text-align: center;
  line-height: 1.5;
}

.dott_list {
  margin-left: 2em;
  list-style: disc;
}

/*=============================
 画像
=============================*/
.images {
  display: flex;
  flex-wrap: wrap;
  row-gap: 10px;
}

.images_contents {
  box-sizing: border-box;
  position: relative;
}

.images_contents img {
  width: 100%;
  /* height: 100%; */
  object-fit: cover;
}

/* 画像に重ねる文章 */
.images_text {
  position: absolute;
  bottom: 10px;
  background-color: rgba(0, 0, 0, 0.5);
  color: #FFF;
  font-size: 12px;
  padding-left: 1em;
}

/* 二分割 */
.half {
  width: calc(100% / 2);
}

.half:nth-child(odd) {
  padding-right: 5px;
  padding-left: 20px;
}

.half:nth-child(even) {
  padding-left: 5px;
  padding-right: 20px;
}

.half .images_text {
  width: calc(100% - 25px);
}

/* 三分割 */
.onethird {
  width: calc(100% / 3);
  height: fit-content;
  box-sizing: border-box;
  padding: 0 5px;
}

.onethird .images_text {
  width: calc(100% - 10px);
}

/* 画面いっぱい */
.image_full {
  width: 100%;
  /* margin: 1.5em 0; */
  padding: 0 20px;
  text-align: center;
}

.image_full img {
  width: 70%;
}

/* 中央寄せ */
.image_center {
  margin: 1.5em 0;
  text-align: center;
}

/*================================================
 TOP画面用CSS
================================================*/
/*=============================
TOPスライド
=============================*/
.multiple-item1 {
  margin: 0px auto 0px;
  width: 100%;
}

.multiple-item1 .slick-slide:not(.slick-center) {
  -webkit-filter: opacity(60%);
  -moz-filter: opacity(60%);
  -o-filter: opacity(60%);
  -ms-filter: opacity(60%);
  filter: opacity(60%);
  transition: 0.2s linear;
}

.multiple-item1 img {
  width: 100%;
}

.slick-track {
  position: relative;
}

#index .index_top_scale {
  /* width: 1100px; */
  height: auto;
  /* height: calc(100vh - 107px); */
}

/*=============================
　新着情報
=============================*/
#news {
  margin-bottom: 20px;
  width: 100%;
}

#news dl {
  display: flex;
  padding: 15px 0;
  border-bottom: 1px dashed #cbcbcb;
}

#news h2 a {
  font-size: 14px;
  color: #333;
  text-decoration: none;
}

#news h2 a:hover {
  color: #BA0000;
}

#news dl dt {
  padding-right: 1em;
}

/*=============================
　埋め込み動画
=============================*/
/* バナー */
.box_banner {
  position: relative;
  padding: 80px 0;
}

.movie_title {
  position: absolute;
  top: 67px;
  display: flex;
  justify-content: center;
  width: 100%;
  font-size: 28px;
  font-weight: bold;
  color: #C00;
}

.movie_title span {
  padding: 0 30px;
  background-color: #fff;
}

.frame_movie {
  margin: 0px auto;
  padding: 35px 25px 15px;
  border: 5px double #C00;
  border-radius: 10px;
}

.box_movie {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.box_banner_item {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
}

.box_banner_item img {
  /* width: 320px; */
}

.box_movie img:hover,
.box_banner_item img:hover {
  opacity: 0.7;
  transition: 0.3s;
}

.box_movie iframe {
  margin-bottom: 20px;
  width: 47%;
  height: 100%;
  aspect-ratio: 3 / 1.75;
}

.box_movie iframe:not(:nth-child(2n)) {
  margin-right: 30px
}

/*=============================
　消防団員募集バナー
=============================*/
.box_banner-contact img {
  width: 100%;
}

.box_banner-contact:hover {
  opacity: 0.8;
}

/*================================================
 各ページ共通
================================================*/
/* .contents h2 {
  margin-bottom: 20px;
  padding: 15px 0;
  line-height: 100%;
  color: #BA0000;
  font-size: 24px;
  font-weight: normal;
  border-top: 1px solid #C00;
  border-bottom: 1px solid #C00;
} */
.fr {
  float: right;
}

/*================================================
　お知らせページ共通
================================================*/
.info_box {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  column-gap: 30px;
  margin-bottom: 12px;
}

.info_box > div {
  display: flex;
  column-gap: 20px;
  row-gap: 3px;
  padding-right: 20px;
  align-items: center;
  flex-wrap: wrap;
}

.info_list {
  display: block;
  padding: 15px 0;
  border-bottom: 1px dashed #cbcbcb;
}

.info_list:first-of-type {
  padding-top: 0;
}

.info_list > .info_flex {
  display: flex;
  align-items: flex-start;
}

.info_list > .info_date {
  margin-right: 15px;
}

.info_label {
  display: inline-block;
  padding: 0;
  margin: 0px;
  width: 100%;
}

.info_date {
  margin-right: 5px;
  height: 26px;
  text-wrap: nowrap;
}

.categorybox {
  display: flex;
  flex-wrap: wrap;
}

.info_category {
  padding: 0px 10px!important;
  margin: 4px 4px;
  width: fit-content;
  height: 20px;
  line-height: 22px;
  background-color: #aeaeae;
  color: #fff;
  border-radius: 10px;
  font-size: 14px;
}

div:has(a.back_button) {
  padding: 0;
}

.search_results {
  margin: 10px;
}

#info_category {
  display: flex;
  column-gap:10px;
  row-gap: 5px;
  flex-wrap: wrap;
}

#info_category span {
  padding: 1px 10px !important;
  height: 22px;
  line-height: 22px;
  background-color: #aeaeae;
  color: #fff;
  border-radius: 10px;
  font-size: 14px;
  text-wrap: nowrap;
}

.sort_box {
  display: flex;
  justify-content: space-between;
  border: 1px solid #a3a3a3;
  margin-bottom: 15px;
  margin-top: 0;
  padding: 15px;
  column-gap: 15px;
}

.sort_box>div input[type="search"],.sort_box>div input[type="date"],.sort_box>div select {
  /* width: 12em; */
  height: 25px;
  /* margin-right: 15px; */
}

input[name="search_publication"] {
  min-width: fit-content;
}

input[name="search_municipality"],
input[name="search_keyword"] {
  width: 100%;
  max-width: 400px;
}

.sort_box>div>div {
  margin-bottom: 3px;
}

.sort_box>div>div>label{
  display: inline-flex;
  justify-content: space-between;
  margin-right: 5px;
  min-width: 6em;
}

.sort_box .sort_submit {
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  margin-bottom: 6px;
}

.sort_box input[type="submit"] {
  padding: 5px 18px;
  border: none;
  background-color: rgb(0, 0, 0);
  color: #fff;
  max-height: 30px;
}

/* 絞り込み検索 */
.narrow_down {
  border: 1px solid #a3a3a3;
  margin-bottom: 15px;
}

.narrow_down>div:first-child{
  position: relative;
  padding: 15px;
  cursor: pointer;
}

.sort_input {
  margin-right: 10px;
  width: 100%;
}

.sort_input > div {
  display: flex;
}

.narrow_down>div:first-child>span:last-child {
  content: "";
  position: absolute;
  top: 10px;
  right: 5px;
  margin: 15px;
  width: 10px;
  height: 10px;
  border-bottom: 2px solid #565656;
  border-left: 2px solid #565656;
  transform: rotate(135deg);
  cursor: pointer;
  transition: transform .2s ease-in-out, top .2s ease-in-out;
}

.narrow_down > div:first-child > span:last-child.toggle_active {
  transform: rotate(-45deg);
  top: 8px;
}

.narrow_down>.sort_box {
  border: none;
  margin: 0 15px;
  padding: 15px 0;
  border-top: solid 1px #a3a3a3;
}

.sort_button:not(:last-of-type) {
  margin-right: 5px;
}

.sort_button, 
.category_button {
  padding: 1px 8px 4px;
  font-size: 13px;
  border: none;
  border-radius: 4px;
  background-color: #e0e0e0;
  color: #666;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s;
}

.sort_button.active, .category_button.active {
  background-color: #000;
  color: #fff;
}

/* ページネーション用 */
.page-numbers{
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 30px;
}

.page-numbers li > *{
  width: 3em;
  height: 3em;
  margin: 0 2.5px;
  background-color: #EEE;
  color: #333;
  text-decoration: none;
}

.page-numbers li a:hover{
  background-color: #b9b9b9;
}

.page-numbers li .current{
  width: 3em;
  height: 3em;
  margin: 0 2.5px;
  background-color: #F99;
  color: #fff;
}

.back_button {
  padding: 0!important;
}

.bottom_button {
  text-align: center;
  margin-top: 60px;
}

.back_button a {
  display: inline-block;
  text-decoration: none;
  padding: 0px 12px;
  background: #B0453E;
  color: #fff;
  text-align: center;
  font-size: 14px;
  border-radius: 5px;
  min-height: 30px;
  min-width: 95px;
}

.back_button a:hover {
  opacity: 0.9;
}

.bottom_button.back_button a {
  padding: 2px 18px;
  font-size: 16px;
}

/*=============================
　過去お知らせページ画像
=============================*/
.image_area,
.img_area {
  display: flex;
  justify-content: left;
  align-items: center;
  flex-wrap: wrap;
}

.image_area li a,
.img_area li a {
  position: relative;
}

.image_area li,
.img_area li {
  width: calc(100% / 3);
  padding: 0 10px;
}

.image_area li a img,
.img_area li a img {
  width: 100%;
  height: auto;
}

.image_area li a span,
.img_area li a span {
  position: absolute;
  left: 0px;
  bottom: 3px;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  color: #FFF;
  font-size: 12px;
  text-decoration: none;
  padding-left: 1em;
}

/*================================================
 事業所の方へ
================================================*/
.office_link {
  display: flex;
  flex-wrap: wrap;
}

/*================================================
 各市町村の消防団
================================================*/
.introduction_box {
  display: flex;
  flex-wrap: wrap;
}

.syouboudan_main_box {
  width: calc(50% - 10px);
  background-color: #f0f0f0;
  margin-bottom: 40px;
}

.syouboudan_main_box:nth-child(2n+1) {
  margin-right: 20px;
}

.municipality_label {
  display: flex;
  justify-content: space-between;
  padding: 10px 1em;
  font-size: 20px;
  font-weight: bold;
  background-color: #acacac;
  color: #fff;
}

.municipality_label a {
  color: #fff;
}

.syouboudan_contents {
  padding: 20px 2em 30px;
}

.syouboudan_main_box dl {
  display: block;
  /* width: 60%; */
}

.syouboudan_main_box dt {
  float: left;
  width: 100px;
  clear: both;
}

.syouboudan_main_box dd {
  margin: 0px 10px 5px 100px;
}

.syouboudan_img {
  margin-top: 20px;
  width: 100%;
  height: 200px;
}

.syouboudan_img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.syouboudan_buttonbox {
  display: flex;
}

.syouboudan_buttonbox .hp_button,
.syouboudan_buttonbox .news_button {
  width: fit-content;
}

.syouboudan_buttonbox .hp_button {
  margin-right: 10px;
}

.hp_button a,
.news_button a,
.return_button a {
  display: inline-block;
  padding: 1px 1em;
  width: fit-content;
  text-align: center;
  font-size: 15px;
  text-decoration: none;
  font-weight: bold;
  color: #fff;
  border-radius: 5px;
}

.hp_button a {
  background-color: #4c7ff8;
  border: 1px solid #b7ccff;
}

.news_button a {
  background-color: #20cf0b;
  border: 1px solid #9cee92;
}

.return_button a {
  background-color: #B0453E;
}

.news_button a:hover,
.hp_button a:hover,
.return_button a:hover {
  opacity: 0.8;
}

.municipality_label .hp_button a,
.municipality_label .news_button a {
  position: relative;
}

.municipality_label .hp_button a::before,
.municipality_label .news_button a::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.3); /* 白いオーバーレイ（透明度調整） */
  opacity: 0;
}

.municipality_label .hp_button a:hover,
.municipality_label .news_button a:hover {
  opacity: 1;
}

.municipality_label .hp_button a:hover::before,
.municipality_label .news_button a:hover::before {
  opacity: 0.5; /* ホバー時にオーバーレイを表示 */
}

/* 詳細ページ */
.syouboudan_detail_img {
  height: 160px;
}

.syouboudan_detail_img img {
  height: 100%;
}

.syouboudan_pr_box {
  background-color: #fff8e2;
  padding: 30px 15px;
  border-radius: 8px;
  position: relative;
  overflow: hidden;
  margin-bottom: 40px;
  border: 5px outset #ffedb5;
}

.syouboudan_info_table {
  width: 100%;
  border-collapse: collapse;
}

.syouboudan_info_table tr {
  border-bottom: solid 2px white;
}

.syouboudan_info_table tr:last-child {
  border-bottom: none;
}

.syouboudan_info_table th {
  position: relative;
  text-align: left;
  width: 30%;
  background-color: #9f9f9f;
  color: white;
  text-align: center;
  padding: 10px 0;
}

.syouboudan_info_table th:after {
  display: block;
  content: "";
  width: 0px;
  height: 0px;
  position: absolute;
  top: calc(50% - 10px);
  right: -10px;
  border-left: 10px solid #9f9f9f;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
}

.syouboudan_info_table td {
  text-align: left;
  width: 70%;
  background-color: #eee;
  padding: 10px 15px 10px 25px;
  word-break: break-word;
  white-space: normal;
}

.syouboudan_buttonbox-post {
  display: flex;
  justify-content: center;
}

.syouboudan_buttonbox-post .return_button,
.syouboudan_buttonbox-post .news_button {
  margin: 0 10px;
}

.syouboudan_buttonbox-post a {
  padding: 10px 30px;
  min-width: 150px;
  font-size: 16px;
}

/*================================================
 消防団へ入団・お問い合わせ
================================================*/
.button_area.contacts_btn {
  display: flex;
}

.contacts_btn a {
  width: 50%;
}

.button_area {
  margin-top: 1.5em;
}

.button_area a:first-child {
  margin-top: 0;
}

.button_area>*:last-child {
  margin-bottom: 0;
}

.contents_button {
  display: block;
  width: 100%;
  border-radius: 10px;
  padding: 15px;
  box-sizing: border-box;
  text-align: center;
  font-size: 25px;
  font-weight: 500;
  color: white;
  text-decoration: none;
}

#button_signup {
  margin-right: 30px;
  background-color: #ff5b59;
  background: linear-gradient(to right, #ff5b59, #ffa335);
}

#button_signup:hover {
  opacity: 0.8;
}

#button_inquiry {
  background: linear-gradient(to right, #0594ea, #1affa8);
}

#button_inquiry:hover {
  opacity: 0.8;
}

.address_area {
  margin-top: 20px;
  border: 1px solid darkgray;
  padding: 20px 35px;
  background-color: whitesmoke;
}

/* 市町の連絡先 */
.city {
  width: 100%;
}

.city:first-child {
  margin-top: 1.5em;
}

.city:not(:first-child) {
  margin: 15px 0;
}

.city .city_title {
  width: 100%;
  font-size: 18px;
  font-weight: 500;
  color: #333333;
}

.city_contents {
  display: block;
  margin-top: 5px;
  background-color: white;
}

.city_contents dl {
  width: 100%;
  border-right: 2px solid #b0b0b0;
}

.city_contents dl dt {
  width: 4em;
  background-color: #b0b0b0;
  padding: 8px 0;
  color: white;
  text-align: center;
  text-wrap: nowrap;
}

.city_contents dl dd {
  width: calc(100% - 4em);
  padding: 8px 8px 8px 16px;
  color: #333333;
}

.address .city_address {
  display: flex;
  flex-wrap: wrap;
}

.address .city_address div:not(:last-child) {
  margin-right: 1em;
}

.dl_line {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
}

.dl_contents {
  display: flex;
  flex-wrap: nowrap;
}

.address .dl_contents {
  width: 100%;
}

.inquiry .dl_contents {
  width: 50%;
}

.address {
  border-top: 2px solid #b0b0b0;
}

.address dt {
  border-bottom: 2px solid white;
}

.address dd,
.inquiry {
  border-bottom: 2px solid #b0b0b0;
}

.inquiry dd {
  border-bottom: 0;
}

/*--------------------
フォーム
--------------------*/
/* 見出し色変え */
.form h2 {
  border-color: #06C;
  color: #06C;
}

.form h3 {
  border-color: #06C;
}

/* 注意事項 */
.attention {
  margin-bottom: 20px;
}

.attention_text {
  color: red;
}

form {
  width: 100%;
}

/* 必須項目 */
.essential {
  border-radius: 5px;
  padding: 0px 5px;
  margin-left: 1em;
  background-color: crimson;
  color: white;
  font-size: 13px;
}

/* テーブル要素 */
form table {
  width: 100%;
  margin-bottom: 20px;
}

form table tr {
  border: 2px solid white;
  background-color: whitesmoke;
}

form table th,
.form table td {
  padding: 16px;
  text-align: left;
}

form table th {
  padding-left: 2em!important;
  width: 40%;
  min-width: 250px;
  vertical-align: top;
}

form table td {
  padding-right: 2em!important;
  width: 60%;
}

/* フォーム部品 */
form table tr th label {
  display: flex;
  justify-content: space-between;
  text-wrap: nowrap;
}

form table input,
form table select {
  width: 100%;
  height: 1.8em;
  font-size: 16px;
}

textarea {
  width: 100%;
  border: 1px solid rgb(118, 118, 118);
  padding: 1px 2px;
  background-color: white;
}

.form_button {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 10px;
}

.form_button input {
  min-width: 150px;
  border: none;
  margin: 0px 10px;
  padding: 10px 30px;
  background-color: #06C;
  font-size: 16px;
  color: white;
  border-radius: 5px;
}

.form_button input:hover {
  opacity: 0.7;
}

.result div {
  margin-top: 20px;
}

.result div * {
  margin: 1em 0;
}

/*contactform span無効化*/
.wpcf7-spinner {
  display: none !important;
}

/*================================================
 404
================================================*/
.page_404 {
  text-align: center;
  padding-top: 60px;
}

.top_button button {
  margin-top: 10px;
  padding: 10px;
  max-width: 200px;
  width: 100%;
  text-align: center;
  font-size: 20px;
  text-decoration: none;
  color: #fff;
  display: inline-block;
  background-color: #B0453E;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.top_button button:hover {
  opacity: 0.9;
}

@media only screen and (max-width: 1100px) {

  /* 画面サイズが1100pxより小さい場合はここを読み込む */
  /*================================================
   ページ共通
  ================================================*/
  /*=============================
  各セクション外枠
  =============================*/
  .inner {
    width: 100%;
    max-width: 1080px;
    padding: 30px 40px 0;
    margin: 0 auto;
    overflow: hidden;
    box-sizing: border-box;
  }

  .outbox_header {
    /* width: 100%; */
    min-width: auto;
  }

  .box_header {
    width: 100%;
  }

  .header_menubox ul {
    width: 100%;
  }

  footer {
    width: 100%;
    min-width: auto;
  }

  .outbox_menu {
    width: 100%;
    min-width: auto;
  }

  .box_menu {
    width: 100%;
    min-width: auto;
  }

  #index .outbox_corseintro {
    width: 100%;
    min-width: auto;
  }

  /*================================================
    TOP画面用CSS
  ================================================*/
  /*=============================
  TOPスライド
  =============================*/
  #index .index_top_scale {
    width: 100%;
    /* height: auto; */
  }

  /*=============================
  メニュー
  =============================*/
  .push_label {
    font-size: 1.8vw;
  }
}

@media only screen and (max-width: 1025px) {
  /* 画面サイズが1000pxより小さい場合はここを読み込む */
  /*================================================
   ページ共通
  ================================================*/
  body {
    min-width: 100%;
  }

  .flexbox {
    display: block;
  }

  /*=============================
  PCのみ表示
  =============================*/
  .disp_pc {
    display: none !important;
  }

  /*=============================
  SP(スマホ)のみ表示
  =============================*/
  .disp_sp {
    display: block !important;
  }

  a:hover.hover_img img {
    opacity: 1;
    filter: alpha(opacity=100);
  }

  /*================================================
   ヘッダー
  ================================================*/
  .box_header_title h1 {
    font-size: 25px;
  }

  .header_menu>li {
    font-size: 13px;
  }

  .outbox_header {
    min-width: 100%;
    min-height: 60px;
  }

  .box_header {
    width: calc(100% - 56px);
    /* 56pxは、MENUボタン幅 */
    margin: 0px;
  }

  .box_header_title {
    width: 100%;
    line-height: 60px;
    text-align: center;
  }

  .box_header_title img {
    float: none;
    margin: 10px 0px 10px 0px;
    width: 65%;
    height: auto;
    /* max-width: 515px; */
  }

  /*検索ボックス*/
  .outbox_keyword form {
    justify-content: center;
  }

  /*================================================
   メニュー
  ================================================*/
  .outbox_menu {
    display: none;
  }

  .box_menu {
    width: 100%;
  }

  /*================================================
   ページ共通
  ================================================*/
  /*=============================
  TOP部分
  =============================*/
  .undercont_top {
    border-top: 1px solid #c6c6c6;
  }

  /*=============================
  各セクション外枠
  =============================*/
  .inner {
    width: calc(100% - 30%) !important;
    min-width: calc(100% - 60px);
    padding: 0 30px;
    margin: 30px auto 0;
    overflow: hidden;
  }

  .outbox_datasi .inner,
  .outbox_infosi .inner {
    width: 100%;
    min-width: 100%;
    margin: 0 auto;
    overflow: hidden;
  }

  .undercont_top .inner,
  .undercont_submenu .inner {
    padding-bottom: 0px;
  }

  /*サイドメニュー*/
  .sidemenu>a.btn {
    display: block;
    text-decoration: none;
    background-position: top;
    width: 300px;
    margin-bottom: 0;
    color: #333;
    font-size: 1.2em;
    font-weight: bold;
  }

  .sidemenu .btn.kidscorner {
    display: flex;
  }

  .page_flex {
    display: block;
  }

  /*================================================
    TOP画面用CSS
  ================================================*/
  /*=============================
  TOPスライド
  =============================*/
  #index .index_top_scale {
    width: 100%;
    height: auto;
  }

  /*=============================
  TOPメニュー
  =============================*/
  .push_photo img:hover {
    border-radius: 50%;
    padding: 10px;
  }

  /*================================================
   各ページ
  ================================================*/
  /*=============================
  新着情報
  =============================*/
  .box_newstopics {
    width: 100%;
    padding: 0px 10px;
    max-width: 100%;
    float: none;
  }

  .box_newstopics h2 {
    width: auto;
    margin: 10px auto 15px;
  }

  .news_list {
    width: auto;
  }

  .box_news {
    width: 33%;
  }

  .box_news .news_photo img {
    height: auto;
  }

  .news_photo {
    display: none;
  }

  .news_detail {
    margin-bottom: 0;
  }

  /*================================================
  　消防団へ入団・お問い合わせ
  ================================================*/
  .button_area.contacts_btn {
    display: block;
  }

  .contacts_btn a {
    width: 100%;
  }

  #button_signup {
    margin: 0;
    margin-bottom: 15px;
  }
}

@media only screen and (max-width: 800px) {
  /*================================================
   ページ共通
  ================================================*/
  /*=============================
  　各セクション外枠
  =============================*/
  .inner {
    width: calc(100% - 20px) !important;
    min-width: calc(100% - 20px);
    padding: 0 20px;
    margin: 30px auto 0;
  }

  /*================================================
   フッター
  ================================================*/
  footer {
    min-width: 100%;
  }

  .footer_contents {
    display: block;
  }

  .footer_flexbox {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .footer_address {
    padding-right: 2em;
    padding-bottom: 1em;
  }

  .footer_contact {
    padding: 0;
  }

  .footer_access {
    margin: 30px auto 0;
  }

  .footer_access iframe {
    display: inline-block;
    width: 100%;
    height: 250px;
  }

  #copyright {
    font-size: 8pt;
    text-align: center;
  }

  /*================================================
    TOP画面用CSS
  ================================================*/
  /*=============================
  新着情報
  =============================*/
  .box_movie iframe:first-child {
    margin-right: 0px
  }
  .box_movie iframe {
    width: 100%;
  }

  /*=============================
　  埋め込み動画
  =============================*/
  /* バナー */
  .box_banner {
    padding: 40px 0;
  }

  .movie_title {
    top: 27px;
  }

  /*================================================
   各ページ
  ================================================*/
  /*================================================
   各市町村の消防団
  ================================================*/
  .introduction_box {
    display: block;
  }

  .syouboudan_main_box {
    width: 100%;
  }

  .syouboudan_main_box:nth-child(2n+1) {
    margin-right: 0;
  }

  .syouboudan_contentsbox {
    display: flex;
  }

  .syouboudan_main_box dl {
    width: 50%;
  }

  .syouboudan_buttonbox a {
    font-size: 14px!important;
  }
  
  .syouboudan_img {
    margin: 0;
    width: 50%;
  }

  /*================================================
  　消防団へ入団・お問い合わせ
  ================================================*/
  form table tr {
    display: flex;
    flex-direction: column;
    padding: 0 2em;
  }

  form table th, .form table td {
    padding: 16px 0!important;
    width: 100%;
  }

  .form table td {
    padding-top: 0!important;
  }

    form table tr th label {
    justify-content: flex-start;
  }
}

@media only screen and (max-width: 599px) {

  /*================================================
   ヘッダー
  ================================================*/
  .outbox_keyword input[type="search"] {
    width: 20em;
  }

  /*=============================
　 バナー
  =============================*/
  .banner_in-footer {
    display: block;
  }

  .banner_in-footer a {
    width: 100%;
  }

  .banner_kyoryoku {
    margin: 0;
    /* margin-bottom: 10px; */
  }

  /*================================================
    TOP画面用CSS
  ================================================*/
  /*=============================
  TOPメニュー
  =============================*/
  .box_push {
    margin-top: 20px;
  }

  .box_header_title img {
    width: auto;
    height: 65px;
  }

  /*================================================
   各ページ
  ================================================*/
  /*=============================
  画像
  =============================*/
  .onethird {
    width: calc(100% / 2);
  }

  /*================================================
　 お知らせページ共通
  ================================================*/
  .sort_input label{
    min-width: 7em;
    font-size: 0.9em;
  }

  /*=============================
　  過去お知らせページ画像
  =============================*/
  .image_area li,
  .img_area li {
    width: calc(100% / 2);
  }

  /*================================================
   各市町村の消防団
  ================================================*/
  .syouboudan_contentsbox {
    display: block;
  }

  .sort_box,
  .sort_box>div {
    display: block;
  }

  .sort_box>div:nth-child(2) {
    text-align: right;
    margin-top: 10px;
  }

  .syouboudan_main_box dl {
    width: 100%;
  }

  .syouboudan_main_box dt {
    width: 85px;
  }

  .syouboudan_main_box dd {
    margin-left: 85px;
  }

  .syouboudan_img {
    margin-top: 20px;
    width: 100%;
    height: 150px;
  }

  .syouboudan_buttonbox .hp_button {
    margin-bottom: 5px;
  }

  .syouboudan_buttonbox .hp_button a,
  .syouboudan_buttonbox .news_button a {
    padding: 0 13px;
    font-size: 18px;
  }

  /* 詳細ページ */
  .syouboudan_detail_img_box {
    display: block;
    margin: 20px 0;
  }

  .syouboudan_detail_img_box img {
    width: 100%;
  }

  .syouboudan_pr_box {
    padding: 20px 5px;
  }

  .syouboudan_info_table {
    width: 100%;
  }

  .syouboudan_info_table th,
  .syouboudan_info_table td {
    display: block;
    width: 100%;
    padding: 10px 15px;
  }

  .syouboudan_info_table th:after {
    content: none;
  }
}

@media screen and (max-width: 500px) {
  /*================================================
   フッター
  ================================================*/
  /*=============================
  　バナー
  =============================*/
  .banner_site {
    display: block;
  }

  /*================================================
   ページ共通
  ================================================*/
  .flex_area {
    flex-direction: column;
  }

  .flex_area .text_area {
    width: auto;
  }

  /*--------------------
    画像
    --------------------*/
  /* 文章と横並び */
  .flex_area .images_contents {
    width: 100%;
    height: fit-content;
    text-align: center;
  }

  .flex_area .images_contents img {
    width: 50%;
    height: auto;
  }

  /* 人 */
  .image_person {
    display: flex;
    align-items: center;
    flex-direction: column;
    width: 100%;
    margin-bottom: 10px;
  }

  .image_person img {
    width: 50%;
  }

  .image_person .images_text {
    width: 50%;
    bottom: 0;
  }

  /*================================================
   各ページ
  ================================================*/
  /*================================================
  　消防団へ入団・お問い合わせ
  ================================================*/
  .contacts_btn a {
    font-size: 21px;
  }

  .inquiry .dl_contents {
    width: 100%;
  }

  .dl_contents:first-child dt {
    border-bottom: 2px solid white;
  }

  .dl_contents:first-child dd {
    border-bottom: 2px solid #b0b0b0;
  }

  form table tr th,
  .form table tr td {
    width: 100%;
  }

  form table tr {
    padding: 0 1em;
  }
  
  form table th {
    padding-right: 0;
  }
  
  form table input, form table select {
    width: 100%;
  }
}

@media screen and (max-width: 400px) {
  /*================================================
   ページ共通
  ================================================*/
  .main_contents {
    width: auto;
    margin: 0 5px 70px;
  }

  .sub_contents {
    width: auto;
    margin: 0 5px 50px;
  }

  /* リンクリスト用　上下点線 */
  .link_list {
    margin-left: 0;
  }

  .link_list li li {
    margin: 10px 0 0 1em;
  }

  /* 下線ありのリスト */
  .list_line {
    margin-left: 0;
  }

  .list_line li li {
    margin: 10px 0 0 1em;
  }

  #local_menu {
    width: 100%;
  }

  #local_menu ul {
    margin: 0 5px;
  }

  #local_menu li {
    margin: 10px 1px;
    padding: 0 2px;
  }

  /* 二分割 */
  .half,
  .onethird {
    width: 100%;
  }

  .half:nth-child(odd),
  .half:nth-child(even),
  .onethird {
    padding: 5px 10px;
  }

  .half .images_text,
  .onethird .images_text {
    bottom: 15px;
    width: calc(100% - 20px);
  }

  /*================================================
   お知らせページ共通
  ================================================*/
  .info_list > .info_flex {
    display: block;
  }

  /*=============================
　  過去お知らせページ画像
  =============================*/
  .image_area li,
  .img_area li {
    width: 100%;
  }

  /*================================================
   各ページ
  ================================================*/
  /*================================================
  　消防団へ入団・お問い合わせ
  ================================================*/
  .contacts_btn a {
    font-size: 19px;
  }
}