@charset "UTF-8";
/* CSS Document */

.carousel-container {
    display: flex;
    align-items: center;
    position: relative;
    width: 100%;
    max-width: 600px;
    margin-top: auto;
    margin-right: auto;
    margin-left: auto;
    margin-bottom: 30px;
}

.carousel {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  gap: 8px;
  padding: 8px;
  scrollbar-width: none; /* Firefox */
}

.carousel::-webkit-scrollbar {
  display: none; /* Chrome */
}

.nav-item {
    min-width: 80px;
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    color: #666666;
    cursor: pointer;
    flex-shrink: 0;
    margin-left: 2px;
    margin-right: 2px;
}

.arrow {
    border: none;
    padding: 10px;
    cursor: pointer;
    font-size: 28px;
    font-weight: normal;
}
.arrow.disabled {
  opacity: 0.1;
  pointer-events: none;
}

@keyframes arrow-pulse {
  0%, 80%, 100% {
    transform: translateX(0);
  }
  40% {
    transform: translateX(var(--pulse-distance));
  }
}

.arrow:not(.disabled) {
  animation: arrow-pulse 2.5s ease-in-out infinite;
}

/* 左矢印の動き（左へ） */
.arrow.left:not(.disabled) {
  --pulse-distance: -6px;
}

/* 右矢印の動き（右へ） */
.arrow.right:not(.disabled) {
  --pulse-distance: 6px;
}

/* 無効状態の矢印（アニメーション停止＋薄く） */
.arrow.disabled {
  opacity: 0.3;
  pointer-events: none;
  animation: none;
}


/* 20250612 */
#footer-wrapper {
    width: 100%;
    transition: transform 0.3s ease;
    z-index: 100;
    height: auto;
    display: block;
    float: left;
}

/* グリッドではなく上下2段の構成 */
.footer-grid {
  width: 100%;
  background: #fff;
  border-top: 1px solid #ccc;
}

/* 上段2つのボタンを左右50% */
.top-row {
  display: flex;
}
.top-row .footer-btn {
  width: 50%;
}

/* 下段2つのボタンを30%:70% */
.bottom-row {
  display: flex;
}

/* 特定の背景色 */
.footer-btn001 {
    border-right: 1px solid #ccc !important;
}
.footer-btn001 a::before {
  content: "";
  display: inline-block;
  width: 1em;
  height: 1em;
  background-image: url("https://kisaka-hp.or.jp/wp/wp-content/uploads/2025/05/icon202505_001.png");
  background-size: contain;
  background-repeat: no-repeat;
  margin-right: 0.5em;
  vertical-align: middle;
}
.footer-btn002 a::before {
  content: "";
  display: inline-block;
  width: 1em;
  height: 1em;
  background-image: url("https://kisaka-hp.or.jp/wp/wp-content/uploads/2025/05/icon202505_002.png");
  background-size: contain;
  background-repeat: no-repeat;
  margin-right: 0.5em;
  vertical-align: middle;
}
.footer-btn003 {
  width: 30%;
  background-color: #49c4d4 !important;
  color: white;
}
.footer-btn003 a {
  color: white;
}
.footer-btn004 {
    width: 70%;
    border-top: 1px solid #ccc !important;
    border-left: 1px solid #ccc !important;
}

/* 共通ボタンスタイル */
.footer-btn {
  padding: 15px;
  font-size: 15px;
  border: none;
  background: white;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  float: left;
}
.footer-btn a {
  text-decoration: none;
  color: inherit;
  display: block;
  width: 100%;
  text-align: center;
}

/* 閉じるボタンを右下に配置 */
.menu-close {
  display: flex;
  justify-content: flex-start;
  margin-top: 20px;
}
#menu-close-btn {
    padding: 10px 10px;
    border: none;
    border-radius: 10px;
    font-size: 25px;
    font-weight: lighter;
    color: #49C4D4;
    background-color: #FFFFFF !important;
}
/* メニュー部分 */
.menu-panel {
  background: #ffffff;
  display: none;
  padding: 20px;
}
.menu-panel ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.menu-panel li {
  margin: 10px 0;
}

/* メニュー開閉時に全体を上へ */
#footer-wrapper.open {
  transform: translateY(-200px); /* メニューの高さに合わせて調整 */
}
#footer-wrapper.open .menu-panel {
  display: block;
}
#footer-wrapper .footer-grid .bottom-row .fooer-btn003 {
    background-color: #BB7A8C;
}

.menu-panel  li {
    margin-bottom: 8px;
    margin-top: 8px;
    font-size: 14px;
}
.menu-panel li a {
    background-repeat: no-repeat;
    padding-left: 20px;
    background-image: url(https://kisaka-hp.or.jp/wp/wp-content/uploads/2025/05/icon_2025001.png);
    padding-top: 10px;
    padding-bottom: 10px;
    background-position: left center;
    font-size: 14px;
    color: #2E69A3;
}

/* スマホ最適化 */
@media (max-width: 600px) {
  .footer-btn {
    font-size: 14px;
    padding: 12px;
  }
}


@media screen and (max-width: 768px) {
  .horizontal-nav li a {
    font-size: 12px;
    padding: 6px 12px;
  }

  .scroll-arrow {
    font-size: 18px;
    padding: 0 6px;
  }
}
