/* トップページスタイル */

:root {
  --font-family-ja: "BIZ UDPGothic", Meiryo, Helvetica, Arial, sans-serif;
  --font-family-en: "Century Gothic", Futura, Helvetica, Arial, sans-serif;
}

#mainContents .contentsTable #main {
  padding-right: 40px;
}

#header .headerTable .headerTableL p {
  margin: 0px;
  height: auto !important;
  padding-left: 5px !important;
  padding-top: 0;
}

.headerTable .row-image td {
  padding: 0;
  line-height: 0.1;
}

.topmain {
  background-color: #fff;
  scroll-behavior: smooth;
  font-size: 62.5%;
}

.main-inner {
  margin: 0;
  padding: 0;
  -webkit-text-size-adjust: 100%;
  color: #000;
  text-align: center;
}

.top_lock_kv {
  background: url(../img/top_bg.png)no-repeat center center / cover;
  border-bottom: 55px solid #F6F6F6;
  border-top: 5px solid #CFCFA2;
  position: relative;
}

.top_lock_kv::after {
  content: "";
  display: block;
  width: 100%;
  height: 8px;
  background-color: #CFCFA2;
}

/* ナビゲーション */

.main-navi {
  box-shadow: 0 4px 18px rgba(0, 0, 0, .15);
  background-color: #fff;
  border-radius: 100px;
  width: 1285px;
  max-width: 96%;
  margin: 38px auto 0;
}

.main-navi .navi-list {
  list-style: none;
  display: flex;
  justify-content: space-between;
  padding: 0 50px;
  margin: 0;
}

.main-navi .navi-list .navi-item.dropdown:hover .navi-link,
.main-navi .navi-list .navi-item .navi-link:hover,
.main-navi .navi-list .navi-item .navi-link.selected {
  color: #93920C;
}

.main-navi .navi-list .navi-item .navi-link {
  text-decoration: none;
  color: #000;
  font-weight: bold;
  font-size: 1.9em;
  padding: 1em .5em;
  display: block;
  position: relative;
  transition: all .3s;
}

.main-navi .navi-list .navi-item .navi-link.selected::after {
  content: "";
  display: block;
  height: 12px;
  width: 100%;
  background-color: #F69C2F;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 12px 12px 0 0;
}

/* キャッチコピーとバナー */

.top-key {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 65px auto;
  gap: 0 50px;
  width: 1200px;
  max-width: 96%;
}

.top-key .top-key-catch {
  color: #411919;
  text-shadow: 1px 2px 8px rgba(0, 0, 0, .25);
  flex: 1;
  width: 568px;
}

.top-key .top-key-catch h1 {
  font-size: 2.9em;
  margin: 0 0 .7em;
  line-height: 1.1;
  letter-spacing: .07em;
}

.top-key-catch-copy {
  border-top: 1px solid #BD8C8C;
  font-size: 1.7em;
  margin: 1em 0 0;
  padding: 1em 0 0;
  display: flex;
  justify-content: center;
}

.top-key .top-key-catch p {
  line-height: 1.8;
  text-align: left;
  font-weight: 600;
  margin: 0;
  letter-spacing: 0;
}


.chikamap-banner {
  display: block;
  text-decoration: none;
  background-color: #fff;
  border-radius: 10px;
  color: #000;
  width: 540px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, .15);
  transition: all .3s;
}

.chikamap-banner:hover {
  box-shadow: 0 4px 18px rgba(0, 0, 0, .45);
}

.chikamap-banner-inner {
  padding: 20px 15px 23px;
}

.chikamap-banner .chikamap-banner-lead {
  font-size: 1.5em;
  margin: .6em 0 0;
}

.chikamap-banner .chikamap-banner-title {
  font-size: 2.9em;
  color: #823F3F;
  letter-spacing: .05em;
  margin: .3em 20px .5em 0;
  /* padding: .8em 0; */
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0 18px;
}

.chikamap-banner .chikamap-banner-title::before {
  content: "";
  display: inline-block;
  width: 80px;
  height: 80px;
  background: url(../img/icon-chikamap.png)no-repeat left bottom;
}

.chikamap-banner .chikamap-banner-sub {
  padding: 0;
  list-style: none;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  font-size: 1.5em;
  gap: 11px 5px;
  width: 21em;
  margin: 0 auto 10px;
}

.chikamap-banner .chikamap-banner-sub li {
  background-color: #ccc;
  border-radius: 30px;
  line-height: 1.1;
  padding: 7px 15px;
  color: #fff;
}

.chikamap-banner .chikamap-banner-sub .item1 {
  background-color: #0A4792;
}

.chikamap-banner .chikamap-banner-sub .item2 {
  background-color: #C04E96;
}

.chikamap-banner .chikamap-banner-sub .item3,
.chikamap-banner .chikamap-banner-sub .item4 {
  background-color: #658A48;
}

.chikamap-banner,
.chikamap-banner-inner {
  position: relative;
}

.chikamap-banner::before,
.chikamap-banner::after,
.chikamap-banner-inner::before,
.chikamap-banner-inner::after {
  content: "";
  display: block;
  width: 8px;
  height: 8px;
  background-color: #B0D4D0;
  border-radius: 10px;
  position: absolute;
}

.chikamap-banner::before {
  top: 12px;
  left: 12px;
}

.chikamap-banner::after {
  top: 12px;
  right: 12px;
}

.chikamap-banner-inner::before {
  bottom: 12px;
  left: 12px;
}

.chikamap-banner-inner::after {
  bottom: 12px;
  right: 12px;
}

/* ３つのバナー */

.top-sub-banner {
  display: flex;
  width: 1150px;
  gap: 10px;
  max-width: 96%;
  margin: 0 auto;
  justify-content: space-between;
  transform: translateY(43px);
}

.top-sub-banner-link {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-color: #fff;
  text-decoration: none;
  position: relative;
  width: 330px;
  height: 216px;
  border-radius: 10px;
  box-shadow: 0 0 5px rgba(0, 0, 0, .1);
  padding: 1px;
  line-height: 1.2;
  transition: all .3s;
}

.top-sub-banner-link:hover {
  box-shadow: 0 0 10px rgba(0, 0, 0, .3);
}

.icon_jichitai {
  position: absolute;
  left: 0;
  top: 0;
  color: #2E2929;
  background-color: #E0EBE0;
  font-size: 1.3em;
  border-radius: 0 0 20px 0;
  padding: .7em 1em .7em .8em;
}

a.top-sub-banner-link figure {
  height: 64px;
  display: flex;
  justify-content: center;
  align-items: center;
}

a.top-sub-banner-link h3 {
  font-size: 1.6em;
  color: #584A07;
  margin: 0;
}

.top-sub-banner .col:nth-child(3) a.top-sub-banner-link h3 {
  min-height: 2.4em;
  display: flex;
  align-items: center;
  justify-content: center;
}

a.top-sub-banner-link p {
  font-size: 1.4em;
  color: #000;
}

/* 更新情報 */

.top-news {
  display: flex;
  width: 1120px;
  max-width: 96%;
  margin: 45px auto 60px;
  gap: 0 80px;
}

.top-news-col-title h2 {
  font-size: 2em;
  font-weight: normal;
  display: flex;
  align-items: center;
  gap: 0 20px;
}

.top-news-col-title h2::before {
  content: "";
  display: inline-block;
  background-color: #E1DF20;
  width: 34px;
  height: 30px;
  border-radius: 4px;
}

.top-news-col-title .box-link {
  font-size: 1.6em;
  margin: 1.2em 0 0 2em;
}

.top-news-col-title .box-link a {
  text-decoration: none;
  color: #000;
}

.top-news-col-title .box-link a:hover {
  text-decoration: underline;
}

.top-news-col-title .box-link a::before {
  content: "";
  display: inline-block;
  width: 10px;
  height: 10px;
  border-top: 2px solid #56AAA0;
  border-right: 2px solid #56AAA0;
  transform: rotate(45deg);
  margin-right: 14px;
}

.top-news-col-content {
  flex: 1;
  text-align: left;
}

.top-news-table,
.top-news-table tbody,
.top-news-table tr,
.top-news-table th,
.top-news-table td {
  display: block;
}

.top-news-table th,
.top-news-table .news-date {
  font-size: 1.3em;
  color: #138578;
  font-weight: normal;
  padding-top: 1em;
  padding-bottom: .5em;
}

.top-news-table td,
.top-news-table .news-title {
  font-size: 1.5em;
  padding-bottom: 1em;
  border-bottom: 1px dashed #DCDCDC;
}

.top-news-table td a {
  text-decoration: none;
  color: #000;
}

.top-news-table td a:hover {
  text-decoration: underline;
}

.topnewsboxtable {
  margin-top: .7em;
}

/* ボトムインフォ */

.bottom-info-row {
  background-color: #FAFAF5;
  display: flex;
  justify-content: center;
  gap: 0 20px;
  padding: 18px 10px 10px;
  margin-top: 65px;
}

.bottom-info-col {
  min-width: 330px;
}

.bottom-info-col figure {
  height: 40px;
  margin: 0;
}

.bottom-info-col p {
  margin: 5px 0 0;
  font-size: 1.2em;
}

.bottom-info-col h3 {
  font-size: 1.6em;
  color: #83704F;
  margin: 0;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.fc-r {
  color: #EA0000;
}

.copy-r {
  font-size: 10px;
  text-align: center;
  line-height: 1.1;
  letter-spacing: 1px;
  padding: 10px 10px 15px;
  background-color: #F2F2F2;
}

.new-icon {
  color: #C04E96;
  font-weight: bold;
  margin-left: 10px;
  display: inline-block;
  position: relative;
  padding: 0 8px;
  font-size: .9em;
}

.new-icon::before,
.new-icon::after {
  content: "";
  display: block;
  width: 4px;
  height: 4px;
  background-color: #C04E96;
  border-radius: 10px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.new-icon::before {
  left: 0;
}

.new-icon::after {
  right: 0;
}

/* ドロップダウンメニュー */

.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  background-color: #fff;
  border-radius: 5px;
  padding: 10px;
  box-shadow: 0 0 16px rgba(0, 0, 0, .15);
  font-size: 1.6em;
  left: -1em;
  bottom: 0;
  transform: translateY(100%);
  text-align: left;
  display: none;
}

.dropdown:hover::after {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-bottom: 3px solid #F69C2F;
  border-right: 3px solid #F69C2F;
  transform: translateX(-50%) rotate(45deg);
  position: absolute;
  left: 50%;
  bottom: 7px;
}

.dropdown:hover .dropdown-menu {
  display: block;
  animation: dropdownani .3s linear;
}

@keyframes dropdownani {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.dropdown-menu > ul {
  margin: 0 1em;
  padding: 0;
  list-style: none;
}

.dropdown-menu > ul li {
  margin: 1em 0;
  white-space: nowrap;
  position: relative;
  line-height: 1.2;
  padding-left: 1.2em;
}

.dropdown-menu > ul li::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  border-top: 2px solid #56AAA0;
  border-right: 2px solid #56AAA0;
  transform: rotate(45deg);
  position: absolute;
  left: 0;
  top: .35em;
}

.dropdown-menu > ul li a {
  color: #000;
  text-decoration: none;
}

.dropdown-menu > ul li a:hover {
  text-decoration: underline;
}

.icon-pdf-menu {
  display: inline-block;
  font-size: 10px;
  color: #af1e1e;
  line-height: 1;
  /* border: 1px solid #c89c9c; */
  border: 1px solid #c3c3c3;
  border-radius: 3px;
  background-color: #fff;
  text-decoration: none;
  padding: 1px 3px;
  vertical-align: middle;
}

.dropdown-menu .icon-pdf-menu {
  margin-left: .5em;
  margin-top: -3px;
}