@charset "UTF-8";

:root {
  --site-background-color: #f7f9fc;
  --site-color: #004aad;
  --site-heading-color: #003566;
  --site-font-color: #061a40;
  --site-subtitle-color: #d0dee0;
}

body {
  margin: 0;
  padding: 0;
  color: #222222;
  background: #fff;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  font-family: 'Hiragino Kaku Gothic Pro', sans-serif;
}

p {
  margin: 0;
}

*,
*:before,
*:after {
  box-sizing: border-box;
}

img {
  vertical-align: bottom;
  max-width: 100%;
  height: auto;
}

nav {
  width: 100%;
}

/* ===== KV ===== */
.first-content {
  width: 100%;
  padding-top: 48px;
  background-color: #e1eefd;
}

.image-container {
  display: flex;
  flex-direction: column;
  margin-top: 40px;
}

@media screen and (max-width: 767px) {
  .image-container {
    margin-top: 0;
  }
}

.image-content {
  display: flex;
  justify-content: center;
}

.image-content img {
  width: 100%;
  max-width: 1100px;
  height: auto;
}

/* ===== CTA ===== */
.cta-content {
  display: flex;
  width: 100%;
  justify-content: center;
  margin-bottom: -32px;
  z-index: 1;
}

.cta-img {
  width: 64px;
  height: 64px;
  padding: 10px;
  cursor: pointer;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.cta-img:hover {
  transform: translateY(4px);
  opacity: 0.85;
}

/* ===== セクション共通 ===== */
.section-subtitle {
  font-family: 'Freehand', cursive;
  font-size: 20px;
  color: var(--site-subtitle-color);
  text-align: center;
  margin: 4px auto 32px;
}

/* ===== お知らせ ===== */
.news-content {
  background-color: #fff;
  width: 100%;
  text-align: center;
  padding: 72px 24px;
  color: var(--site-font-color);
}

.news-title {
  margin: 0;
  font-size: 28px;
  font-weight: 700;
  color: var(--site-heading-color);
}

@media screen and (min-width: 768px) {
  .news-title {
    font-size: 32px;
  }
}

#news-contents {
  display: inline-flex;
  flex-direction: column;
  text-align: left;
  gap: 30px;
  padding: 0;
  list-style: none;
  margin: 0 auto;
}

.news-item {
  display: flex;
  gap: 15px;
}

.item-link {
  color: var(--site-font-color);
  font-size: 16px;
  font-style: normal;
  line-height: 125%;
}

.item-date {
  font-weight: bold;
  width: 108px;
  color: var(--site-font-color);
  font-size: 16px;
  font-family: Helvetica;
  font-style: normal;
  line-height: 125%;
}

/* ===== 後継者をお探しの方へ ===== */
.intro-content {
  background-color: #fff;
  width: 100%;
  text-align: center;
  padding: 80px 24px;
}

.intro-title {
  margin: 0;
  font-size: 28px;
  font-weight: 700;
  color: var(--site-heading-color);
}

@media screen and (min-width: 768px) {
  .intro-title {
    font-size: 32px;
  }
}

.intro-cards {
  display: grid;
  grid-template-columns: repeat(3, 320px);
  justify-content: center;
  gap: 32px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

@media screen and (max-width: 1023px) {
  .intro-cards {
    grid-template-columns: repeat(1, minmax(0, 320px));
  }
}

.intro-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  min-height: 410px;
}

.intro-card-title {
  margin: 32px 16px 4px;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--site-color);
}

.intro-card-text {
  margin: 8px 16px;
  font-size: 16px;
  text-align: left;
  color: var(--site-font-color);
}

.intro-card-figure {
  margin: auto 0 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.intro-card-figure img {
  width: 100%;
  height: auto;
}

.intro-detail-link-wrapper {
  max-width: 1024px;
  margin: 24px auto 0;
  text-align: right;
}

.intro-detail-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--site-color);
  font-size: 15px;
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: opacity 0.25s ease;
}

.intro-detail-link:hover {
  opacity: 0.7;
}

/* ===== あとつぎ募集中 ===== */
.successor-content {
  width: 100%;
  text-align: center;
  padding: 80px 0 72px;
  color: var(--site-font-color);
  background-color: var(--site-background-color);
}

.successor-title {
  margin: 0;
  font-size: 28px;
  font-weight: 700;
  color: var(--site-heading-color);
}

@media screen and (min-width: 768px) {
  .successor-title {
    font-size: 32px;
  }
}

.successor-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-bottom: 40px;
  padding: 0 24px;
}

.filter-button {
  background-color: #eaf5fb;
  color: #3f8cbf;
  border: none;
  border-radius: 100px;
  padding: 6px 28px;
  font-size: 14px;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.25s ease, color 0.25s ease;
}

.filter-button:hover {
  background-color: #d5eaf7;
}

.filter-button.is-active {
  background-color: #56a5d4;
  color: #fff;
  font-weight: 600;
}

.successor-content ul {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

@media screen and (max-width: 768px) {
  .successor-content ul {
    display: block;
  }
}

.successor-content ul li.no-cases {
  grid-column: 1 / -1;
  display: block;
  background: none;
  padding: 40px 24px;
  color: var(--site-font-color);
  opacity: 0.6;
}

.successor-content ul li {
  display: flex;
  width: 100%;
  background: #ededed;
}

@media screen and (max-width: 768px) {
  .successor-content ul li {
    display: block;
    width: 90%;
    max-width: 380px;
    margin: 20px auto;
  }
}

/* ===== 記事カード ===== */
#cases {
  width: 90%;
  max-width: 1100px;
  margin: auto;
  text-align: center;
}

.loading {
  width: 90%;
  max-width: 1100px;
  height: 500px;
  margin: auto;
  padding: 200px;
}

.article figure {
  width: 100%;
  margin: 0;
}

.article figure img {
  width: 100%;
  height: auto;
  display: block;
}

.article {
  text-align: left;
  text-decoration: none;
  color: #222222;
}

.disc {
  font-size: 14px;
}

.article-contents {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px;
}

/* ===== その他の募集情報ボタン ===== */
.link-to-bosyu {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #f6f7f7;
  color: var(--site-color);
  text-decoration: none;
  font-family: 'Hiragino Kaku Gothic Pro', sans-serif;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.02em;
  padding: 10px 17px 10px 24px;
  border-radius: 100px;
  border: 1px solid var(--site-color);
  cursor: pointer;
  margin: 48px auto 0;
  transition: background-color 0.25s ease, color 0.25s ease;
}

.link-to-bosyu:hover {
  background-color: var(--site-color);
  color: #fff;
}

.link-to-bosyu-chevron {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 23px;
  height: 23px;
  border-radius: 50%;
  background-color: var(--site-color);
  color: #fff;
  transition: background-color 0.25s ease;
}

.link-to-bosyu:hover .link-to-bosyu-chevron {
  background-color: #fff;
  color: var(--site-color);
}

/* ===== 地域おこし協力隊 ===== */
.support-content {
  background-color: var(--site-background-color);
  width: 100%;
  text-align: center;
  padding: 80px 24px;
}

.support-title {
  margin: 0;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--site-heading-color);
}

@media screen and (min-width: 768px) {
  .support-title {
    font-size: 32px;
  }
}

.support-card {
  display: flex;
  align-items: center;
  gap: 48px;
  max-width: 1000px;
  margin: 0 auto;
  padding: 48px 56px;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 8px 14px rgba(5, 33, 77, 0.08);
  text-align: left;
}

@media screen and (max-width: 850px) {
  .support-card {
    flex-direction: column;
    gap: 32px;
    padding: 32px 24px;
  }
}

.support-card-figure {
  margin: 0;
  flex-shrink: 0;
}

.support-card-figure img {
  width: 252px;
  height: 250px;
  object-fit: cover;
  object-position: bottom;
  border-radius: 16px;
  box-shadow: 4px 4px 10px rgba(17, 57, 67, 0.25);
}

.support-card-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 24px;
}

.support-card-badge {
  display: inline-block;
  background-color: var(--site-color);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 6px 16px;
  border-radius: 100px;
}

.support-card-name {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--site-font-color);
}

.support-card-text {
  color: var(--site-font-color);
  font-size: 16px;
  line-height: 1.8;
}

/* ===== お問合せ ===== */
.contact-content {
  background-color: #fff;
  width: 100%;
  text-align: center;
  padding: 80px 24px;
}

.contact-title {
  margin: 0;
  font-size: 28px;
  font-weight: 700;
  color: var(--site-heading-color);
}

@media screen and (min-width: 768px) {
  .contact-title {
    font-size: 32px;
  }
}

.contact-card {
  display: flex;
  flex-direction: column;
  gap: 36px;
  max-width: 1000px;
  margin: 0 auto;
  padding: 56px 64px;
  background-color: var(--site-background-color);
  border-radius: 24px;
}

@media screen and (max-width: 850px) {
  .contact-card {
    padding: 32px 24px;
  }
}

.contact-card-copy {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: center;
}

.contact-card-org {
  font-size: 14px;
  letter-spacing: 0.04em;
  color: rgba(51, 46, 84, 0.85);
}

.contact-card-name {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #332e54;
}

.contact-card-address {
  font-size: 14px;
  line-height: 1.8;
  color: rgba(51, 46, 84, 0.85);
}

.contact-methods {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media screen and (max-width: 850px) {
  .contact-methods {
    grid-template-columns: 1fr;
  }
}

.contact-method {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #fff;
  border-radius: 16px;
  padding: 28px 24px;
}

.contact-method-label {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--site-color);
}

.contact-method-label i {
  margin-right: 6px;
}

.contact-method-value {
  font-family: 'Outfit', 'Roboto', sans-serif;
  font-size: 24px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--site-font-color);
}

.contact-method-value a {
  color: inherit;
  text-decoration: none;
}

.contact-method-value-mail {
  font-size: 20px;
}

.contact-method-note {
  font-size: 12px;
  color: #666464;
}

/* ===== ローディング ===== */
.lds-roller {
  display: inline-block;
  position: relative;
  width: 80px;
  height: 80px;
}
.lds-roller div {
  animation: lds-roller 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
  transform-origin: 40px 40px;
}
.lds-roller div:after {
  content: " ";
  display: block;
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #cac7ee;
  margin: -4px 0 0 -4px;
}
.lds-roller div:nth-child(1) { animation-delay: -0.036s; }
.lds-roller div:nth-child(1):after { top: 63px; left: 63px; }
.lds-roller div:nth-child(2) { animation-delay: -0.072s; }
.lds-roller div:nth-child(2):after { top: 68px; left: 56px; }
.lds-roller div:nth-child(3) { animation-delay: -0.108s; }
.lds-roller div:nth-child(3):after { top: 71px; left: 48px; }
.lds-roller div:nth-child(4) { animation-delay: -0.144s; }
.lds-roller div:nth-child(4):after { top: 72px; left: 40px; }
.lds-roller div:nth-child(5) { animation-delay: -0.18s; }
.lds-roller div:nth-child(5):after { top: 71px; left: 32px; }
.lds-roller div:nth-child(6) { animation-delay: -0.216s; }
.lds-roller div:nth-child(6):after { top: 68px; left: 24px; }
.lds-roller div:nth-child(7) { animation-delay: -0.252s; }
.lds-roller div:nth-child(7):after { top: 63px; left: 17px; }
.lds-roller div:nth-child(8) { animation-delay: -0.288s; }
.lds-roller div:nth-child(8):after { top: 56px; left: 12px; }

@keyframes lds-roller {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.margin-0 {
  margin: 0;
}

.flex_wrap_center2 {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.slick-slide {
  padding-inline: 12px;
}
