main figure {
  border-bottom: 1px solid #000;
}
main figure img {
  vertical-align: bottom;
}
/* ---------------------------------------------------------------------------
sub contents portal
--------------------------------------------------------------------------- */
section.portal {
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-top: 20px;
}
section.portal .s_list {
  flex-basis: auto;
  width: 48%;
  background: #fff;
  border: 1px solid #ccc;
  border-top: 3px solid #e00032;
  box-sizing: border-box;
  margin-bottom: 20px;
  padding: 1.5%;
  position: relative;
}
section.portal .s_list a {
   display: block;
}
section.portal .s_list img {
  max-width: 80px;
  float: left;
}
section.portal .s_list h3, section.portal .s_list p {
  width: calc( 100% - 100px );
  float: right;
  font-size: 13px;
}
section.portal .s_list h3 {
  margin: 0 0 10px 0;
  padding: 5px 0px;
  font-size: 1.8rem;
  font-weight: 500;
  color: #e00032;
  border-left: 0;
}
section.portal .s_list h3 span::before {
  font-family: "Font Awesome 5 Free";
  content: '\f138';
  margin-right: 7px;
  color: #e00032;
  font-weight: bold;
}
@media screen and (max-width:1200px) {
  section.portal .s_list {
    flex-basis: auto;
    width: 100%;
  }
}
/* ---------------------------------------------------------------------------
sub contents article
--------------------------------------------------------------------------- */
.contents article.sub h2::before {
  display: none;
}
article.sub h2 {
  background: #e00032;
  color: #fff;
  border-bottom: 1px solid #fff;
  box-shadow: 0 5px 0 #e00032;
  font-size: 21px;
  line-height: 24px;
  font-weight: 500;
  padding: 12px 20px;
  margin-bottom: 45px;
}
article.sub section {
  padding: 0 20px;
  margin-bottom: 50px;
  line-height: 1.5;
}
article.sub section h3 {
  border-left: 5px solid #e00032;
  font-size: 21px;
  line-height: 24px;
  font-weight: 700;
  padding: 5px 18px;
  margin-bottom: 30px;
}
article.sub section h4 {
  font-size: 16px;
  line-height: 1.5;
  font-weight: 700;
  color: #e00032;
  border-bottom: 1px solid #e00032;
  margin: 35px 0 1em;
}
article.sub section h5 {
  font-weight: 700;
  line-height: 1.8;
  margin-top: 1em;
  color: #600;
}
article.sub section div,
article.sub section p {
  margin-bottom: 1em;
}
article.sub section p b {
  font-weight: 700;
}
article.sub section p img {
  width: auto;
  max-width: 100%;
}
article.sub section a {
  color: #04c;
}
article.sub section ul,
article.sub section ol {
  margin-top: 0.5em;
  margin-left: 25px;
}
article.sub section ul > li {
  list-style: disc;
  padding-left: 5px;
  margin-bottom: 0.5em;
}
article.sub section ol > li {
  list-style: decimal;
  padding-left: 5px;
  margin-bottom: 0.5em;
}
article.sub section ol.circleNo > li {
  list-style: none;
  text-indent: -1em;
}
article.sub section ol.circleNo > li li {
  text-indent: 0;
}
article.sub table {
  width: 100%;
  margin-bottom: 1em;
  table-layout: fixed;
}
article.sub table thead {
  background: #e00032;
  color: #fff;
}
@media screen and (max-width:768px) {
  article.sub section {
    padding: 0 10px;
  }
  article.sub table,
  article.sub table thead,
  article.sub table tbody,
  article.sub table tr,
  article.sub table th,
  article.sub table td {
    display: block;
    border: 0;
  }
}

/* ---------------------------------------------------------------------------
sub contents custom
--------------------------------------------------------------------------- */
/* officer */
article.sub table.officer {
  background: #fff;
  text-align: center;
}
article.sub table.officer th,
article.sub table.officer td {
  border: 1px solid #ccc;
}
@media screen and (min-width:767.99px) {
  article.sub table.officer .col01 {
    width: 8.5em;
  }
  article.sub table.officer .col02 {
    width: 6.5em;
  }
  article.sub table.officer .col03 {
    width: 9.5em;
  }
}
@media screen and (max-width:768px) {
  article.sub table.officer thead tr::after,
  article.sub table.officer tbody tr::after {
    content: "";
    display: block;
    clear: both;
  }
  article.sub table.officer tbody tr:nth-child(2n) {
    background: #eee;
  }
  article.sub table.officer thead th,
  article.sub table.officer tbody th {
    width: 100%;
    color: #fff;
    background: #a00021;
    border: 0;
  }
  article.sub table.officer tbody th {
    background: #888;
  }
  article.sub table.officer thead td,
  article.sub table.officer tbody td {
    float: left;
    width: 100%;
    border: 0;
  }
  article.sub table.officer tbody td {
    margin: 5px 0;
  }
}
/* kumiai list */
#kumiai {
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  flex-wrap: wrap;
  border-right: 1px solid #aaa;
  border-top: 1px solid #aaa;
  margin: 0 20px 50px;
}
#kumiai li {
  max-width: 33.33%;
  flex-basis: 33.33%;
  border-left: 1px solid #aaa;
  border-bottom: 1px solid #aaa;
}
#kumiai li a {
  display: block;
  width: 100%;
  height: 100%;
  padding: 10px;
  text-align: center;
  color: #04c;
  text-decoration: underline;
}


/* overview */
.map {
  position: relative;
  width: 100%;
  height: 0;
  padding-top: 46.875%;
}
.map iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
/* nayami */
article.sub table.nayami img {
  margin-right: 15px;
  vertical-align: middle;
}
@media screen and (max-width:1100px) {
  article.sub table.nayami td {
    text-align: left !important;
    padding: 10px 0;
  }
}
@media screen and (max-width:768px) {
  article.sub table.nayami td {
    text-align: center !important;
  }
  article.sub table.nayami img {
    display: block;
    margin: 0 auto;
  }
}

/* contact */
.mailform label,
form#mail_form label {
  font-size: 16px;
  font-weight: 500;
}
.mailform .last-checked {
  font-size: 16px;
  font-weight: 500;
}
.mailform .last-check-text {
  display: inline-block;
  margin-top: 5px;
  border: 2px solid #ccc;
  padding: 3px 10px 3px 3px;
  background: #fff;
}
.mailform .last-checked::after,
.mailform label::after,
form#mail_form label::after {
  content: "入力必須";
  display: inline-block;
  background: #00bbee;
  color: #fff;
  font-size: 10px;
  line-height: 1;
  font-weight: 400;
  padding: 3px 5px;
  margin-left: 16px;
  vertical-align: middle;
  border-radius: 3px;
}
.mailform #last-check label::after,
.mailform #mail-form-service label::after,
form#mail_form #mail-form-service label::after {
  display: none;
}

.mailform .mfp_err {
  color: #f00;
  font-weight: 400;
  font-size: 13px;
  margin-bottom: 0;
}
.mailform select,
form#mail_form select {
  font-size: 14px;
  font-family: -apple-system, BlinkMacSystemFont, Helvetica, 'ヒラギノ角ゴ ProN W3', 'Hiragino Kaku Gothic ProN', "メイリオ", Meiryo;
  border: 2px solid #ccc;
  padding: 3px 5px;
}
.mailform input[type="email"],
.mailform input[type="text"],
.mailform textarea,
form#mail_form input[type="text"],
form#mail_form textarea {
  font-size: 14px;
  font-family: -apple-system, BlinkMacSystemFont, Helvetica, 'ヒラギノ角ゴ ProN W3', 'Hiragino Kaku Gothic ProN', "メイリオ", Meiryo;
  border: 2px solid #ccc;
  padding: 5px;
  max-width: 95%;
}
#mfp_hidden {
  display: none;
}
.mailform button,
form#mail_form input[type="submit"] {
  font-family: -apple-system, BlinkMacSystemFont, 'Noto Sans Japanese', Helvetica, 'ヒラギノ角ゴ ProN W3', 'Hiragino Kaku Gothic ProN', "メイリオ", Meiryo;
  padding: 10px 20px;
  margin-right: 20px;
  border: 2px solid #ccc;
  box-shadow: 0px 3px 0px 2px #bbb;
  cursor: pointer;
}
#mfp_confirm_table {
  background: #fff;
}
#mfp_confirm_table tr {
  border-bottom: 1px solid #ccc;
}
#mfp_confirm_table th {
  background: #ddd;
  width: 20%;
  text-align: left;
  padding: 3px 10px;
}
#mfp_confirm_table td {
  padding: 3px 10px;
}
@media screen and (max-width:768px) {
  #mfp_confirm_table tr {
    margin-bottom: 1em;
  }
  #mfp_confirm_table th {
    width: 100%;
  }
}

/* YouTube埋め込み */
.youtube_inner {
  margin: 10px auto;
  max-width: 640px;
  border: 1px solid #aaa;
}
.youtube {
  position: relative;
  padding-top: 56.25%;
}
.youtube iframe {
  position: absolute;
  top: 0;
  right: 0;
  width: 100% !important;
  height: 100% !important;
}



