/* Add your css code here */

.site-name,
.site-name a,
.site-slogan {
  text-transform: none;
}

.node--view-mode-full .node__content .field--type-text-long,
.node--view-mode-full .node__content .field--type-string-long, .node--view-mode-full .node__content .field--type-text-with-summary {
  font-size: 18px;
  line-height: 160%;
}

a:hover>img.w3-image {
  animation: none;
}

#block-features-menu .ul-parent > li {
  display: list-item;
  float: none;
  padding-left: 0.8em;
}

#block-features-menu .ul-parent > li.active {
  font-weight: bold;
  list-style-type: none;
  background-image: url(../chevron-right.svg);
  background-repeat: no-repeat;
  background-position-y: center;
}

.field--name-body p:first-child,
.field--name-body h3:first-child,
.field--name-body h2:first-child,
.views-element-container h2:first-child,
#block-features-menu h2:first-child {
  margin-top: 0;
}

h1.page-title {
  font-size: 24px !important;
  padding-top: 12px !important;
  padding-bottom: 6px !important;
  margin-bottom: 6px !important;
}
.node > footer.node__meta {
	margin-top: 20px !important;
}
.node__meta .node__submitted {
	margin-top: 0px !important;
}
.node__content h4 {
  border-left: 8px solid darkgreen;
  padding-left: 8px;
}
.node__submitted {
  font-size: 16px !important;
}
.site-name h1 {
  margin: 0px 0px !important;
}
#header > div {
  padding-left: 0 !important;
}
#main-container > div {
  padding: 0.01em 0 !important;
}
#block-views-block-information-block-1 h2 {
  font-size: 22px;
  padding-bottom: 4px !important;
  margin-bottom: 4px !important;
}
#block-views-block-blog-block-1 h2 {
  font-size: 22px;
  padding-bottom: 4px !important;
  margin-bottom: 4px !important;
}
/* Photo slider */
.slider {
  margin: 0px auto;
  width: 100%;
}
.slider img {
  height: 320px;
  width: 100%;
}
.slick-prev::before,
.slick-next::before {
  color: #000;
}

/* コンテナのサイズ設定（必要に応じて幅や高さを変更してください） */
.crossfade-container {
  position: relative;
  width: 100%;
  max-width: 640px;
  height: 426px;
  margin: 0 auto;
  overflow: hidden;
}

/* 画像の基本設定 */
.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  /* 9秒周期のアニメーションを無限ループ */
  animation: crossfade 15s infinite ease-in-out;
}

/* 各画像のアニメーション開始タイミングを3秒ずつずらす */
.slide1 {
  animation-delay: 0s;
}

.slide2 {
  animation-delay: 5s;
}

.slide3 {
  animation-delay: 10s;
}

/* クロスフェードキーフレーム定義 */
@keyframes crossfade {
  0% {
    opacity: 0;
  }
  /* フェードイン（約1秒間） */
  11.11% {
    opacity: 1;
  }
  /* 表示維持（約2秒間） */
  33.33% {
    opacity: 1;
  }
  /* フェードアウト（約1秒間） */
  44.44% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

/* Color sets */
.olb-dark-brown {
  color: white !important;
  background-color: #66483b !important;
}
.olb-light-brown {
  color: white !important;
  background-color: #b28674 !important;
}
.olb-background-brown-l5 {
  background-color: #fffbf9 !important;
}
.olb-background-brown-l4 {
  background-color: #e5ddda !important;
}
.olb-background-brown-l3 {
  background-color: #bfb8b5 !important;
}
.olb-background-brown-d4 {
  background-color: #66483b !important;
}
.olb-background-brown-d5 {
  background-color: #4c3126 !important;
}
.olb-brown-l5 {
  color: #66483b !important;
  background-color: #e5ddda !important;
}
.olb-brown-l4 {
  color: #66483b !important;
  background-color: #bfb8b5 !important;
}
.w3-button:hover {
  color: #ffffff !important;
  background-color: #795545 !important;
}
@media (max-width: 992px) {
  body {
    font-size: 18px !important;
  }
  h1 {
    font-size: 28px !important;
  }
  h3 {
    font-size: 20px !important;
    font-weight: 400 !important;
  }
  h4 {
    font-size: 18px !important;
    font-weight: 400 !important;
  }
  p {
    font-size: 18px !important;
  }
  h1.site-name {
    font-size: 32px !important;
  }
  h1.page-title {
    font-size: 22px !important;
    margin-left: 0px !important;
  }
  .highlighted-inner {
    padding: 0 !important;
  }
}
@media (max-width: 600px) {
  body {
    font-size: 14px !important;
  }
  h1 {
    font-size: 28px !important;
  }
  h3 {
    font-size: 16px !important;
    font-weight: 400 !important;
  }
  h4 {
    font-size: 14px !important;
    font-weight: 400 !important;
  }
  p {
    font-size: 14px !important;
  }
  h1.site-name {
    font-size: 32px !important;
  }
  h1.page-title {
    font-size: 20px !important;
    margin-left: 0px !important;
    padding-top: 6px !important;
  }
  #block-views-block-information-block-1 h2 {
    font-size: 20px;
    padding-bottom: 4px !important;
    margin-bottom: 4px !important;
  }
  #block-views-block-blog-block-1 h2 {
    font-size: 20px;
    padding-bottom: 4px !important;
    margin-bottom: 4px !important;
  }
  .slider {
    width: 100%;
  }
  .slider img {
    height: 160px;
  }
}
