body {
	font-family: Arial, Helvetica,"游ゴシック", YuGothic, "Yu Gothic", "メイリオ", Meiryo,"ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", sans-serif;
}

.navbar {
  background-color: #0563A6;
  min-height: 5rem;
}

.nav-brand {
  font-size: 1.75rem;
}

h3 {
  margin-bottom: 0;
}

.nav-comment {
  display: inline;
}

a,
.nav-brand,
.nav-brand:hover,
.nav-comment,
#nav-logout:hover {
  color: #fff;
}

.container {
  overflow: hidden;
  margin-left: 2.5%;
  margin-right: 2.5%;
  max-width: 95%;
}

/* ---------------aside------------- */
.card {
  margin: 1rem 0;
}

.card-body {
  border-radius: 0.25rem;
}

.card-header,
.card-body {
  text-align: center;
  font-weight: bold;
  background-color: #0563A6;
  color: #fff;
}

.form-group {
  margin: 0.5rem;
  max-width: 100%;
  text-align: center;
}

input, ::placeholder {
  font-size: 0.8rem;
}

.form-button {
  text-align: center;
}

.btn {
  background-color: #E57A08;
  color: #fff;
  margin: 0.5rem 0 1rem 0;
}

.btn:hover {
  background-color: #fff;
  color: #E57A08;
  border: 1px solid #E57A08;
}

.fa-search {
  margin-right: 0.5rem;
}

img {
  width: 100%;
  height: auto;
  border: 0.5px solid #000;
  margin-bottom: 1rem;
}
/* ---------------End aside------------- */


/* ---------------main------------- */
section {
  margin-bottom: 2.5rem;
}

h4 {
  background-color: #0563A6;
  color: #fff;
  border-radius: 0.25rem;
  margin: 1rem 0;
  padding: 0.5rem 1rem;
}

.map-area {
  text-align: center;
}

iframe {
  padding: 0;
  width: 660px;
  height: 430px;
  margin: 0 auto;
  border: none;
}

.search-result-title p {
  margin-left: 1rem;
}

.search-result-list {
  border: 1px solid #DCDCDC;
  border-radius: 0.25rem;
  padding: 0.5rem;
}

.list-item {
  margin: 0 0 0.5rem 0;
}

.com-name,
.prefecture {
  margin: 0;
  display: flex;
  align-items: center;
}

.com-detail {
  text-align: right;
}

.btn-detail {
  margin: 0;
}

.news-item {
  margin: 0.5rem;
  line-height: 2rem;
  border-bottom: 1px dotted #BBB;
  font-size: 0.95rem;
}

.news-title {
  padding-left: 2rem;
}

.normal-link {
  color: #007BFF;
}

.table-wrapper {
  margin-top: 2rem;
}

.info-item {
  background-color: #EEE;
  width: 30%;
}

.table > tbody > tr > td {
  border:1px solid #999;
  vertical-align: middle;
}

/* ---------------End main------------- */


/* ---------------footer------------- */
.footer-wrapper {
  background-color: #f7f7f7;
  padding: 1rem;
}

.footer-list {
  display: flex;
  justify-content: center;
  margin-bottom: 1rem;
}

.footer-item {
  width: 20%;
  text-align: center;
}

.footer-item p {
  margin-bottom: 0;
}

.footer-item:nth-child(2) {
  border-left: 1px solid #666;
  border-right: 1px solid #666;
}

.footer-copyright {
  text-align: center;
}
/* ---------------End footer------------- */


/* ------------Media Queries------------- */
@media (max-width: 768px) {

  /* 全体設定 */
  html {
  font-size: 14px; /* ルート要素のフォントサイズを1rem=14pxと定義 */
  }

  .card {
    margin: 0.5rem 0;
  }

  .card-header,
  .card-body {
    padding: 0.5rem;
  }

  .form-group {
    margin: 0;
  }

  .btn {
    margin-bottom: 0.5rem;
  }

  img {
    float: left;
    margin: 0 1rem;
    width: calc(50% - 2rem);
  }

  iframe {
    width: 610px;
  }

  .search-result-list {
    padding: 0.5rem 0;
    font-size: 0.9rem;
  }

  .news-item {
    line-height: 1.5rem;
  }

  .news-date,
  .news-title {
    padding: 0;
    margin-right: 0.1rem;
  }

  .info-item {
    width: 40%;
  }

  .footer-item {
    width: 30%;
  }
}

@media (max-width: 576px) {

  iframe {
    width: 100%;
    height: 340px;
  }

}
/* ------------End Media Queries------------- */



/*============ BOOTSTRAP BREAK POINTS:

Extra small (xs) devices (portrait phones, less than 576px)
No media query since this is the default in Bootstrap

Small (sm) devices (landscape phones, 576px and up)
@media (min-width: 576px) { ... }

Medium (md) devices (tablets, 768px and up)
@media (min-width: 768px) { ... }

Large (lg) devices (desktops, 992px and up)
@media (min-width: 992px) { ... }

Extra (xl) large devices (large desktops, 1200px and up)
@media (min-width: 1200px) { ... }

=============*/



/* ------------Add:20201118------------- */
html {
  background: #f7f7f7;
}
.navbar {
  padding: 2rem calc(2.5% + 15px);
}

/* ------------aside------------- */
.login-status.card .card-body {
  padding: 0;
}
.login-status.card a {
  display: block;
  padding: 1.25rem;
  border-radius: .25rem;
  background: #6c757d;
  transition: .15s;
}
.login-status.card a:hover {
  color: #fff;
  text-decoration: none;
  background: #343a40;
}
.login-status.card a svg,
.login-form.card .btn svg {
  margin-right: .5rem;
}
.search-com.card,
.login-form.card {
  background: rgba(5,99,166,.15);
}
.login-form.card .card-header {
  border-radius: calc(.25rem - 1px) calc(.25rem - 1px) 0 0;
}

/* ------------main------------- */
h4 {
  padding: 1rem;
  color: #212529;
  font-weight: bold;
  border-left: 5px solid #0563A6;
  background: #eee;
}
h5 {
  margin-bottom: 1rem;
  padding-bottom: .5rem;
  font-weight: bold;
  border-bottom: 3px solid #eee;
  position: relative;
}
h5::before {
  content: "▶";
  margin-right: .5rem;
  color: #0563A6;
}
h5::after {
  content: "";
  width: 30%;
  height: 3px;
  min-width: 12em;
  background: #0563A6;
  position: absolute;
  bottom: -3px;
  left: 0;
}
.map-area {
  max-width: 800px;
  margin: auto;
}
#map {
  float: none;
  width: 100%;
  margin: 0;
  border: 0;
}
area {
  outline: none;
}
#area {
  display: none;
}
.table-bordered {
  border: 0;
  border-collapse: separate;
}
.table > tbody > tr > td {
  border: 0;
}
.info-item {
  color: #fff;
  background: rgba(5,99,166,.5);
  position: relative;
}
.info-item::before {
  content: "";
  width: 3px;
  height: 100%;
  background: #0563A6;
  position: absolute;
  top: 0;
  left: 0;
}
.info-item::after {
  content: "";
  width: 16px;
  height: 16px;
  margin: auto;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 18px solid rgba(5,99,166,.5);
  position: absolute;
  top: 0;
  right: -18px;
  bottom: 0;
}
td.information {
  padding: .75rem 1.75rem;
  background: #f8f9fa;
}
.search-result-list {
  padding: 1rem;
  border: 0;
  background: #f8f9fa;
}
.list-item {
  margin: 0;
  padding: 1rem;
  border-radius: .25rem;
  background: #fff;
  box-shadow: 0 0 5px #ccc;
}
.list-item:nth-child(n+2) {
  margin-top: 1rem;
}

/* ------------footer------------- */
.footer-wrapper {
  padding: 2rem;
}
.footer-list {
  margin-bottom: 2rem;
}
.footer-list a {
  color: #0563A6;
}

@media (max-width: 768px) {
  .login-status.card a {
    padding: .5rem;
  }
  .form-group {
    margin: .5rem;
  }
  a.btn.btn-detail.d-none.d-md-block {
    min-width: 7em;
    margin: 0;
  }
}

@media (max-width: 576px) {
  .navbar,
  .login-status.card a,
  .footer-wrapper {
    padding: 1rem;
  }
  aside {
    margin: 2rem 0;
  }
  .search-com.card form {
    margin: 0 .5rem;
  }
  .search-com.card .form-group {
    margin: .5rem 0;
  }
  #area {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    margin: 1rem 0 0;
    padding: 0;
  }
  #area li {
    display: flex;
    justify-content: center;
    width: calc(100% / 3);
  }
  #area a {
    display: block;
    width: 100%;
    margin: .25rem;
    padding: .5rem;
    color: #fff;
    text-decoration: none;
    border-radius: .25rem;
    background: #0563A6;
  }
  .list-item {
    padding: .5rem;
  }
  .list-item:nth-child(n+2) {
    margin-top: .5rem;
  }
  .list-item .com-detail {
    display: flex;
    align-items: center;
  }
  a.btn.btn-detail.d-md-none {
    min-width: 4em;
    margin: 0;
  }
  .footer-list {
    margin-bottom: 1rem;
  }
}

/* ------------Add:20201206------------- */
#side-nav {
  margin: 1rem 0;
  padding: 0;
  list-style: none;
}
#side-nav a {
  display: block;
  margin-bottom: 1px;
  padding: 1rem;
  background: #6c757d;
  transition: .15s;
}
#side-nav a:hover {
  color: #fff;
  text-decoration: none;
  background: #343a40;
}
#side-nav li:first-child a {
  border-radius: .25rem .25rem 0 0;
}
#side-nav li:last-child a {
  border-radius: 0 0 .25rem .25rem;
}
#side-nav svg {
  margin-right: .5rem;
}

/* ------------bbs------------- */
.bbs-title .col-lg-3 {
  display: flex;
}
#new_topics {
  width: 100%;
  margin: 1rem 0;
}
.bbs .btn svg {
  margin-right: .5rem;
}
.bbs-result-tab {
  display: flex;
  margin-top: 3rem;
  border-bottom: 2px solid #0563A6;
}
.bbs-result-tab a {
  display: flex;
  margin-left: .5rem;
  padding: .5rem 1rem;
  color: #212529;
  font-size: 1.5rem;
  text-decoration: none;
  background: #eee;
  border: 1px solid #ccc;
  border-bottom: 0;
  border-radius: .25rem .25rem 0 0;
  transition: .15s;
}
.bbs-result-tab a.active,
.bbs-result-tab a:hover {
  color: #fff;
  background: #0563A6;
  border-color: #0563A6;
}
.bbs-result > p,
.bbs-result-list.answer > p {
  margin-left: 1rem;
}
.bbs-result-list {
  margin: 3rem 0;
}
.bbs-list-item {
  padding: 1.5rem 0;
  border-top: 1px dotted #ccc;
  position: relative;
}
.bbs-list-item a {
  color: #212529;
}
.bbs-list-item p {
  margin: 0;
}
.topics-title {
  max-width: 91.666667%;
  font-size: 1.5rem;
}
.bbs-list-item .topics-title + .row {
  margin-top: .5rem;
  margin-bottom: .5rem;
}
.topics-author {
  color: #6c757d;
  line-height: 2;
}
.topics-author time {
  margin-left: 1rem;
}
.col-3.col-lg-1 {
  position: absolute;
  top: 1.5rem;
  right: -15px;
}
.topics-area {
  color: #fff;
  font-size: .9rem;
  text-align: center;
  line-height: 2;
  background: #0563A6;
  border-radius: .25rem;
}
.bbs-list-item .row + .row {
  align-items: center;
}
.col-2.fa-layers {
  color: #6c757d;
}
.topics-num {
  padding-bottom: 5px;
  font-size: 1.25rem;
  font-weight: bold;
}
.page-link {
  color: #0563A6;
}
#answer-btn {
  display: flex;
  justify-content: center;
}
#answer_topics {
  height: 60px;
  padding: .375rem 3rem;
}
.bbs-result-list.answer .topics-title {
  max-width: none;
  margin-bottom: 1rem;
}
.bbs-result-list.answer .bbs-list-item {
  border-top: 0;
  border-bottom: 1px dotted #ccc;
}
.bbs-result-list.answer time {
  display: block;
  margin: 0;
}
.bbs-result-list.answer .col-1 {
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 64px;
  margin-left: 15px;
  color: #ccc;
  border: 2px solid #eee;
  border-radius: 50%;
}
p.answer-detail {
  margin-top: 1rem;
}
.modal {
  display: none;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,.7);
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1;
  overflow: auto;
}
.modal_content {
  width: 98%;
  max-width: 700px;
  padding: 2%;
  background: #fff;
  border-radius: .25rem;
  position: relative;
  animation: animatetop .4s;
}
@keyframes animatetop {
  from{top:-300px;opacity:0}
  to{top:0;opacity:1}
}
.modal_content p {
  padding: .5rem 1rem;
  color: #212529;
  font-weight: bold;
  background: #eee;
  border-left: 5px solid #0563A6;
  border-radius: 0.25rem;
}
.modal_content form {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}
.modal_content input {
  margin-bottom: .5rem;
}

.modal_content select {
  margin-bottom: .5rem;
}

.modal_content textarea {
  margin-bottom: .5rem;
}

@media (max-width: 768px) {
  .bbs-result-tab {
    margin-top: 1rem;
  }
  .bbs-result-list {
    margin: 1rem 0;
  }
  .topics-title {
    max-width: none;
  }
  .col-3.col-lg-1 {
    position: static;
  }
  .bbs-list-item .topics-title + .row {
    align-items: center;
    flex-direction: row-reverse;
  }
  .topics-author {
    text-align: right;
  }
  .topics-author time {
    display: block;
  }
  #answer_topics {
    width: 100%;
    height: auto;
  }
  .bbs-result-list.answer .col-1 {
    max-width: 56px;
  }
  .bbs-result-list.answer .topics-author {
    text-align: left;
  }
}

/* ------------Add:20201222------------- */
/* ------------bbs------------- */
.bbs-result-sort {
  margin-top: 2rem;
  padding: 1rem;
  background: #eee;
  border-radius: .25rem;
}
.bbs-result-sort a {
  margin-right: 1rem;
  color: #6c757d;
}
.bbs-result-sort a.active {
  color: #0563A6;
  font-weight: bold;
  text-decoration: none;;
}
.bbs-result-sort + .bbs-result-list {
  margin-top: 2rem;
}

.attached-file {
  line-height: 2;
}
.attached-file p.title {
  margin-top: 2rem;
}

.topics-detail a,
.attached-file a {
  color: #0563A6;
}
.bbs-result-tab ~ .bbs-result-list .topics-detail a {
  color: #212529;
}
.attached-file svg {
  margin-left: .5rem;
  color: #6c757d;
}

.row.edit > .col-12 {
  text-align: right;
}
.row.edit button {
  width: 222px;
  height: 60px;
  margin: 2rem 0 0;
  padding: .375rem;
  background: #6c757d;
}
.row.edit button:hover {
  color: #6c757d;
  background: #fff;
  border-color: #6c757d;
}

#new_topics.edit,
#answer_topics.edit {
  width: 222px;
  margin: 2rem 0 0;
  padding: .375rem;
}

/* ------------member-register＆password-reminder------------- */
.member-register-contents {
  margin-top: 3rem;
  padding: 3rem 6rem;
  background: #f8f9fa;
  border-radius: .25rem;
}
.member-register-contents > * {
  padding: 3rem 6rem;
  background: #fff;
  border-radius: .25rem;
  box-shadow: 0 0 5px #ccc;
}
.member-register-contents label {
  display: block;
  margin-bottom: 2rem;
}
.member-register-contents p {
  margin-bottom: .5rem;
}
.member-register-contents button {
  height: 60px;
  padding: .375rem 3rem;
}
.member-register-contents button svg {
  margin-right: .5rem;
}


.member-register-contents-new {
    margin: 0 0 2rem;
}
.mypage_list_group {
    margin: 0 0 2rem;
}
.page_head03:first-child {
    margin-top: 0;
}
.page_head03 {
    font-size: 1rem;
    line-height: 1.25;
    margin: 2em 0 1em;
    padding: 0 0 0 1em;
    position: relative;
}
.page_head03:before {
    content: '';
    display: block;
    width: 0.75em;
    height: 0.75em;
    background: #aaaaff;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translate(0,-50%);
    border-radius: 4px;
}
.table {
    width: 100%;
    margin-bottom: 1rem;
    color: #212529;
}
.table_mypage_list > tbody > tr > th {
    width: 16rem;
    position: relative;
}

.table_mypage_list > tbody > tr > th {
    background-color: #f5f5f5;
}
.table_mypage_list > thead > tr > th, .table_mypage_list > tbody > tr > th, .table_mypage_list > tfoot > tr > th, .table_mypage_list > thead > tr > td, .table_mypage_list > tbody > tr > td, .table_mypage_list > tfoot > tr > td {
    padding: 0.5rem;
    vertical-align: middle;
    border: 1px solid #d2d2d2 !important;
}
.form_item_block:last-child {
    margin-bottom: 0;
}
.form_item_block {
    display: block;
    margin: 0 0 0.25em;
}
input[type="text"], input[type="tel"], input[type="password"], select, select > option {
    min-height: 2.5em;
}
input[type="text"], input[type="tel"], input[type="password"] {
    border-radius: 1px;
    border: solid 1px #dbd9d9;
    font-size: 100%;
    box-shadow: 2px 2px 0px 0px rgba(0,0,0,0.05) inset;
    padding: 0 0.5em;
}
.input_size_w100 {
    width: 100%;
}
.table_mypage_list a {
    color: #008ec0 !important;
}
a:hover, a:focus {
    opacity: 0.75;
    text-decoration: none;
}
a:active, a:hover {
    outline-width: 0;
}
.btn_pd {
	padding: 1em 2em;
}



.must {
  margin-right: 1rem;
  padding: 2px 5px 4px;
  color: #fff;
  font-size: .9rem;
  background: #dc3545;
  border-radius: .25rem;
}
.error-message {
  display: block;
  margin-top: .5rem;
  color: #dc3545;
}
#caution {
  list-style: none;
  margin-top: 2rem;
  padding-left: 1em;
  color: #dc3545;
  font-size: .9rem;
  text-indent: -1em;
}

@media (max-width: 768px) {
  .bbs-result-sort,
  .bbs-result-sort + .bbs-result-list {
    margin-top: 1rem;
  }
  .bbs-result-sort {
    display: flex;
    flex-direction: column;
    line-height: 2;
  }
  .row.edit button {
    height: auto;
  }
  .member-register-contents {
    margin-top: 2rem;
    padding: 1rem;
  }
  .member-register-contents > * {
    padding: 1rem;
  }
  .member-register-contents button {
    width: 100%;
    height: auto;
  }


  .table_type03 > tbody > tr > th, .table_type03 > tfoot > tr > th, .table_type03 > tbody > tr > td, .table_type03 > tfoot > tr > td {
    display: block;
    width: auto;
    padding: 0.5em;
  }
  .table_mypage_list > tbody > tr > th {
    width: 16rem;
    font-size: 0.875rem;
  }
}

.lay_lqd {
    max-width: 1200px;
    margin-right: auto;
    margin-left: auto;
}
dt .form_item_must, th .form_item_must {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translate(0,-50%);
}
.form_item_must {
    display: inline-block;
    line-height: 1;
    padding: 0.25rem;
    border-radius: 0;
    background-color: #f40;
    color: #fff;
    font-size: 0.85rem;
    vertical-align: middle;
}
i, address, em, q {
    font-style: normal;
}