@charset "UTF-8";

:root {
  --site-background-color: #F4F9FC;
  --site-color: #1a3d52;
  --site-accent-color: #4aabbb;
  --site-font-color: #1a3d52;
}

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: #F4F9FC;
}

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

.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;
}

/* ===== 高知県の支援情報 ===== */
.introduction-content {
  background-color: #fff;
  text-align: center;
  padding: 72px 24px 72px;
}

.introduction-title {
  margin: 0;
  font-size: 28px;
  font-weight: 700;
  color: var(--site-font-color);
  @media screen and (min-width: 768px) {
    font-size: 32px;
  }
}

/* ===== セクションサブタイトル画像 ===== */
.section-subtitle-img {
  display: block;
  margin: 4px auto 32px;
  height: 24px;
  width: auto;
}

.introduction-text {
  color: var(--site-font-color);
  font-size: 15px;
  line-height: 2;
  max-width: 640px;
  margin: 0 auto;
}

.introduction-link-wrapper {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.introduction-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: var(--site-color);
  color: #fff;
  text-decoration: none;
  padding: 7px 38px;
  border-radius: 100px;
  border: 2px solid var(--site-color);
  transition: background-color 0.25s ease, border-color 0.25s ease;
  cursor: pointer;
  font-family: 'Hiragino Kaku Gothic Pro', sans-serif;
  font-size: 15px;
  font-weight: 600;
}

.introduction-link:hover {
  background-color: #0096D0;
  border-color: #0096D0;
}

.introduction-link-texts {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.introduction-link-main {
  font-size: 15px;
  font-weight: 600;
}

.introduction-link-sub {
  font-size: 11px;
  font-weight: 400;
  opacity: 0.85;
}

.introduction-link-note {
  font-size: 12px;
  color: #888;
}

/* ===== お知らせ ===== */
.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-font-color);
  @media screen and (min-width: 768px) {
    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%;
}

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

.successor-title {
  margin: 0;
  font-size: 28px;
  font-weight: 700;
  color: var(--site-font-color);
  @media screen and (min-width: 768px) {
    font-size: 32px;
  }
}


.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) {
    display: block;
  }
}

.successor-content ul li {
  display: flex;
  width: 100%;
  background: #ededed;
  @media screen and (max-width: 768px) {
    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: var(--site-color);
  color: #fff;
  text-decoration: none;
  font-family: 'Hiragino Kaku Gothic Pro', sans-serif;
  font-size: 15px;
  font-weight: 600;
  padding: 14px 38px;
  border-radius: 100px;
  border: 2px solid var(--site-color);
  cursor: pointer;
  margin: 48px auto 0;
  transition: background-color 0.25s ease, border-color 0.25s ease;
}

.link-to-bosyu:hover {
  background-color: #0096D0;
  border-color: #0096D0;
  color: #fff;
}

/* ===== ローディング ===== */
.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;
}
