@charset "UTF-8";

#header {
  /* ちらつき軽減 */
  height: 150px;
}

#footer {
  /* ちらつき軽減 */
  height: 146px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Yu Gothic", "Hiragino Kaku Gothic Pro", sans-serif;
  line-height: 1.6;
  color: #333;
  background: #ffffff;
  height: 100%;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

a {
  text-decoration: none;
}

/* ヘッダー */
header {
  position: sticky;
  width: 100%;
  background: #F7F7F7;
  top: 0;
  left: 0;
  z-index: 1000;
  height: 100%;
}

header .navbar {
  max-height: 100dvh;
  border-top: 1px solid #543A14;
  border-bottom: 1px solid #543A14;
  background: #F7F7F7;
}

header .navbar-brand {
  text-wrap: wrap;
  font-weight: bold;
}

header .nav-item {
  font-weight: bold;
}

header .hed-inner {
  padding: 10px 0;
}

header .logo img {
  height: auto;
}

header .catchphrase {
  color: #543A14;
  font-size: 1.2em;
  font-weight: 500;
  margin-bottom: 0;
}

.button-inquiry {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  width: 200px;
  margin: 0 auto;
  padding: .7em 2em;
  overflow: hidden;
  border: 2px solid #d2691e;
  border-radius: 5px;
  background-color: #ffffff;
  color: #d2691e;
  font-size: 1.1em;
  font-weight: bold;
}

.button-inquiry:hover {
  background-color: transparent;
  color: #ffffff;
}

.button-inquiry::before {
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  width: 0;
  height: 100%;
  background-color: #d2691e;
  content: '';
  transition: width .3s ease;
}

.button-inquiry:hover::before {
  width: 100%;
}

header .navbar-nav {
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

@media (max-width: 991px) {
  header .navbar-nav {
    align-items: normal;
  }
}

.dropdown-menu[data-bs-popper] {
  margin-top: 0;
}

.dropdown-menu {
  border-radius: 0;
  background-color: #F7F7F7;
  border-color: #543A14;
}

@media (max-width: 991px) {

  .nav-link,
  .dropdown-item {
    text-wrap: wrap;
  }
}

.navbar-nav-scroll {
  overflow-y: scroll;
}


.dropdown-item {
  font-weight: bold;
  color: var(--bs-nav-link-color);
  transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out;
  background-color: inherit;
}

.dropdown-item:active {
  color: var(--bs-dropdown-link-hover-color);
}

.dropdown-item:hover {
  background-color: inherit;
}

li:has(>.dropdown-item):not(:last-child) {
  border-bottom: 1px dotted #543A14;
}

@media (min-width: 992px) {
  .dropdown-menu {
    display: block;
    visibility: hidden;
    transition: opacity 0.3s ease;
    opacity: 0;
  }

  .dropdown-menu.show {
    visibility: visible;
    opacity: 1;
  }

  .dropdown-menu.out {
    opacity: 0;
  }
}

/* メイン */
main {
  width: 100%;
  margin: 0 auto;
  padding-top: 20px;
  padding-bottom: 20px;
  flex: 1 0 auto;
}

.info-col {
  border-left: solid 1px #543A14;
}

.info-col h3.info-h3 {
  font-weight: bold;
  font-size: 1.3rem;
  border-bottom: solid 2px #ffd31a;
  position: relative;
}

.info-col h3.info-h3:after {
  position: absolute;
  content: " ";
  display: block;
  border-bottom: solid 2px #543A14;
  bottom: -2px;
  width: 20%;
}

.info-col ul.info-list {
  list-style-type: disc;
  list-style-position: inside;
  padding: 10px 0 0;

}

.info-col ul.info-list li {
  padding: 5px 0 10px;
}

.info-col ul.info-list li:not(:last-child) {
  border-bottom: 1px dashed #7d990c;
}

.info-col ul.info-list li::marker {
  color: #7d990c;
  font-size: 1.1em;
}

.slick-prev {
  left: 0px;
  z-index: 10;
}

.slick-next {
  right: 0px;
  z-index: 10;
}

.slick-prev:before,
.slick-next:before {
  text-shadow: 0px 1px 5px black;
}

.top-slider img {
  width: 100%;
  height: auto;
}

.catchcopy {
  font-size: 1.5em;
  color: #543A14;
  padding-bottom: 10px;
  font-weight: bold;
}

.tuc-group {
  display: flex;
  flex-wrap: wrap;
}

.tuc-inner {
  width: 100%;
  height: auto;
  flex: 1;
}

.tuc-inner .tuc-inside {
  height: auto;
  position: relative;
  text-align: center;
}

.tuc-inner .tuc-inside img {
  width: 175px;
  height: auto;
  position: relative;
}

.tuc-inner .tuc-inside h3.tuc-h3 {
  margin: 0;
  font-size: 1em;
  color: #000000;
  font-weight: 600;
  text-align: center;
  position: absolute;
  top: 65%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: block;
  width: 150px;
  padding: .5em .4em;
  background: rgba(255, 255, 255, .95);
  border: 2px solid rgba(84, 58, 20, 0.8);
  border-radius: .5em;
}

.tuc-inner .tuc-summary {
  font-size: 1em;
  color: #000000;
  font-weight: 500;
  padding: 0 10px 20px;
  max-width: 300px;
  margin: 0 auto;
}

@media (max-width: 575px) {
  .tuc-group {
    flex-direction: column;
  }

  .tuc-inner {
    max-width: none;
  }

  .tuc-inner .tuc-inside img {
    width: 150px;
  }
}

/* フッター */
footer {
  background: #F0BB78;
  color: #000000;
}

footer .f-inner {
  width: 100%;
  margin: 0 auto;
  padding: 10px 0;
}

footer .f-leftinner {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

footer .fu-inner {
  width: 100%;
  margin: 0 auto;
  background: #543A14;
  color: #ffffff;
  text-align: center;
  padding: 15px 0;
}

footer ul {
  position: relative;
  text-align: right;
  margin-bottom: 20px;
}

footer ul li {
  padding: 0 10px;
  list-style-type: none !important;
  background: url(/eiken/npmj/images/caret-right-solid-full.svg) no-repeat 0 0;
  background-size: auto 20px;
  padding-left: 20px;

  display: inline-block;
  white-space: normal;
  word-break: break-word;
}

/* 上に戻るボタン */
#back-to-top {
  display: none;
  /* 初期は非表示 */
  justify-content: center;
  align-items: center;
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 50px;
  height: 50px;
  font-size: 20px;
  border: none;
  border-radius: 50%;
  /* 丸型 */
  background: rgba(0, 0, 0, 0.6);
  /* 半透明黒 */
  color: #fff;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  transition: background 0.3s;
  z-index: 999;
}

#back-to-top:hover {
  background: rgba(0, 0, 0, 0.8);
}