@charset "UTF-8";
/* ============================================================
   front.css — トップページ専用（ヒーロー / お知らせ帯 / 活動レポート）
   ============================================================ */

/* ---------- HERO / KV ---------- */
/* 設定枚数に応じて .hero-n1 〜 .hero-n3 が付く。画像は1枚をそのまま全面に敷く */
.hero {
  position: relative;
  height: 600px;
  overflow: hidden;
}
.slides {
  display: flex;
  height: 100%;
}
.slide {
  height: 100%;
  position: relative;
  background-color: #c8cdd6;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
/* 1枚：切り替えなし */
.hero-n1 .slides {
  width: 100%;
}
.hero-n1 .slide {
  width: 100%;
}
/* 2枚：10秒で1周 */
.hero-n2 .slides {
  width: 200%;
  animation: hs2 10s infinite;
}
.hero-n2 .slide {
  width: 50%;
}
/* 3枚：15秒で1周 */
.hero-n3 .slides {
  width: 300%;
  animation: hs3 15s infinite;
}
.hero-n3 .slide {
  width: 33.333%;
}
.ov {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.52);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  padding: 2rem;
}
.h-ey {
  font-size: .7rem;
  color: var(--gold-lt);
  letter-spacing: .28em;
  margin-bottom: 1.1rem;
}
.h-ti {
  font-family: 'Noto Serif JP',serif;
  font-size: 2.6rem;
  color: #fff;
  line-height: 1.45;
  margin-bottom: 1.3rem;
  font-weight: 700;
}
.h-de {
  font-size: .9rem;
  color: rgba(255,255,255,.82);
  line-height: 1.9;
}
.h-cta {
  margin-top: 1.5rem;
  display: flex;
  gap: .8rem;
  justify-content: center;
  flex-wrap: wrap;
}
/* KVのボタン：写真の上でもボタンだと分かるよう、矢印アイコンと影を付ける */
.h-cta .bp {
  display: inline-flex;
  align-items: center;
  gap: .85rem;
  padding: .6rem 1.5rem;
  box-shadow: 0 6px 18px rgba(0,0,0,.3);
  transition: background .2s,transform .2s,box-shadow .2s;
}
.h-cta .bp::after {
  content: '';
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  transition: transform .2s;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23daa520' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12h13M12 5l7 7-7 7'/%3E%3C/svg%3E") center / 15px 15px no-repeat;
}
.h-cta .bp:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0,0,0,.34);
}
.h-cta .bp:hover::after {
  transform: translateX(3px);
}
.h-cta .bp:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}
.dots {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: .45rem;
}
.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,.3);
  transition: all .3s;
}
.dot.on {
  background: var(--gold-lt);
  width: 22px;
  border-radius: 3px;
}
@keyframes hs2 {
  0%,45% {
    transform: translateX(0);
  }
  50%,95% {
    transform: translateX(-50%);
  }
  100% {
    transform: translateX(0);
  }
}
@keyframes hs3 {
  0%,30% {
    transform: translateX(0);
  }
  33%,63% {
    transform: translateX(-33.333%);
  }
  66%,96% {
    transform: translateX(-66.666%);
  }
  99%,100% {
    transform: translateX(0);
  }
}
/* 動きを減らす設定の環境では自動切り替えを止める */
@media (prefers-reduced-motion:reduce) {
  .slides {
    animation: none !important;
  }
}

/* ---------- お知らせ帯 ---------- */
.nbar {
  background: var(--bluegray);
  padding: 1.1rem 1.8rem;
}
.nb {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  gap: 1.3rem;
}
.nbadge {
  background: var(--navy-dark);
  color: #fff;
  font-size: .67rem;
  font-weight: 700;
  letter-spacing: .1em;
  padding: .22rem .7rem;
  border-radius: 2px;
  white-space: nowrap;
  margin-top: 2px;
}
.nlist {
  list-style: none;
  flex: 1;
}
.ni {
  display: flex;
  align-items: baseline;
  gap: .65rem;
  padding: .5rem 0;
  border-bottom: 1px solid rgba(36,60,134,.1);
}
.ni:last-child {
  border-bottom: none;
}
.nd {
  font-size: .75rem;
  color: var(--navy-dark);
  font-weight: 700;
  white-space: nowrap;
  min-width: 88px;
}
.nt {
  font-size: .65rem;
  padding: .09rem .42rem;
  border-radius: 2px;
  white-space: nowrap;
  background: #fff;
  border: 1px solid currentColor;
}
.ti {
  color: var(--gold-dk);
  border-color: var(--gold-lt);
}
.te {
  color: #1e4fa3;
  border-color: #7ea3d8;
}
.tb {
  color: #0d7a5c;
  border-color: #6cc4a6;
}
.ntx {
  font-size: .9rem;
  color: var(--text);
}
.ntx a {
  color: var(--text);
  transition: color .2s;
}
.ntx a:hover {
  color: var(--navy-dark);
}

/* ---------- 活動レポートカード ---------- */
.bc2 {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  transition: box-shadow .22s;
  display: flex;
  flex-direction: column;
}
.bc2:hover {
  box-shadow: 0 6px 20px rgba(26,44,94,.1);
}
.bth {
  position: relative;
  height: 150px;
  background: var(--ph);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.bth img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.bb {
  padding: .9rem 1rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.bm {
  display: flex;
  gap: .4rem;
  align-items: center;
  margin-bottom: .4rem;
  flex-wrap: wrap;
}
.bdat {
  font-size: .7rem;
  color: var(--gray);
}
.bcat {
  font-size: .65rem;
  padding: .09rem .44rem;
  background: var(--cream);
  color: var(--navy-dark);
  border-radius: 2px;
}
.bti {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.5;
  margin-bottom: .4rem;
}
.bex {
  font-size: .9rem;
  color: var(--gray);
  line-height: 1.75;
}
.bmo {
  font-size: .76rem;
  color: var(--navy);
  font-weight: 700;
  display: inline-block;
  margin-top: auto;
  padding-top: .5rem;
}

/* ===== タブレット版（900px以下） ===== */
@media (max-width:900px) {
  .h-ti {
    font-size: 2rem;
  }
  .hero {
    height: 420px;
  }
  .nb {
    flex-direction: column;
    gap: .5rem;
  }
}
/* ===== スマホ版（600px以下） ===== */
@media (max-width:600px) {
  .hero {
    height: 380px;
  }
  .h-ti {
    font-size: 1.7rem;
  }
  .nd {
    min-width: 78px;
  }
}
