/* KV */
.kv-section {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  height: 100vh;
  max-height: 1500px;
  padding: 6.12% 4.76%;
}
.kv-wrapper {
  color: #ffffff;
}
.kv-title {
  width: 600px;
  height: auto;
  margin: 0 0 24px;
}
.kv-title img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.kv-subtitle {
  padding: 0 0 0 0.3em;
  font-size: 2.5rem;
  font-weight: 300;
  text-align: left;
  letter-spacing: 0.05em;
  text-shadow: 0px 0px 12px #000;
}

@media (max-width: 767px) {
  .kv-section {
    height: calc(100dvh - 50px);
    padding: 26px 30px;
  }
  .kv-title {
    width: 282px;
    height: auto;
    margin: 0 0 15px;
  }
  .kv-subtitle {
    font-size: 1.25rem;
  }
}

/* SNSセクション */
.sns-section {
  padding: 40px 20px;
  text-align: center;
  background-color: #f4f4f4;
}
.sns-tile {
  margin: 0 0 20px;
  font-size: 1.2rem;
}

.sns-link-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  padding: 0;
  text-align: start;
  list-style: none;
}
.sns-link-list > li {
  flex: 0 0 304px;
  padding: 12px 24px;
  font-size: 0.95rem;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}
.sns-link-list li a {
  display: flex;
  gap: 8px;
  align-items: center;
  text-decoration: none;
}
.sns-link-list li:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  transform: translateY(-2px);
}
.sns-link-list li:nth-child(1) {
  background-color: #232323;
}
.sns-link-list li:nth-child(1) a {
  color: #ffffff;
}
.sns-link-list li:nth-child(2) {
  background-color: #ffffff;
}
.sns-link-list li:nth-child(2) a {
  color: #232323;
}
.sns-link-list li:nth-child(3) {
  background-color: #0081ff;
}
.sns-link-list li:nth-child(3) a {
  color: #ffffff;
}
.sns-image-x {
  width: 46px;
  height: auto;
}
.sns-image-ig {
  width: 46px;
  height: auto;
}
.sns-image-fb {
  width: 46px;
  height: auto;
}
@media (max-width: 767px) {
  .sns-link-list {
    gap: 10px;
    max-width: 380px;
    margin: auto;
  }
  .sns-link-list > li {
    flex: 0 0 114px;
    padding: 1em;
    font-size: 12px;
  }
  .sns-image-x {
    width: 20px;
    height: auto;
  }
  .sns-image-ig {
    width: 20px;
    height: auto;
  }
  .sns-image-fb {
    width: 20px;
    height: auto;
  }
}

/* お知らせ・トピックセクション */
.info-section {
  display: grid;
  grid-template-areas: "aside article";
  grid-template-rows: auto;
  grid-template-columns: minmax(320px, 25%) 1fr;
  background-color: #fff;
}
.info-aside {
  grid-area: aside;
  padding: 142px 20px 142px 53px;
  background-color: #0f3e8f;
}
.info-aside .info-subtitle {
  display: none;
}
.info-aside .info-title {
  margin-bottom: 43px;
  font-size: 1.37rem;
  color: #ffffff;
}
.info-aside .info-topic-title {
  color: #fff;
}
.info-aside .info-category-list {
  padding: 0 0 0 1em;
  margin-bottom: 160px;
  color: #fff;
  list-style: " - ";
}
.info-aside .info-category-list li {
  margin-bottom: 8px;
  font-size: 0.95rem;
  font-weight: 400;
}
.info-aside .info-aside-view-all {
  display: flex;
  gap: 4px;
  align-items: center;
  justify-content: flex-start;
  width: fit-content;
  font-size: 1.125rem;
  color: #ffffff;
  text-decoration: none;
  border-bottom: solid 1px #fff;
}
.info-aside .info-aside-view-all::after {
  display: inline-block;
  width: 1rem;
  height: 1rem;
  content: "";
  background-image: url("../../images/common/icon_arrow_white.svg");
  background-repeat: no-repeat;
  background-size: contain;
}
.info-article-container {
  grid-area: article;
  padding: 30px 90px 38px 56px;
}
.info-article-list {
  padding: 0;
  margin: 0;
  list-style: none;
}
.info-article-list a {
  display: flex;
  gap: 5%;
  padding: 15px 0;
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid #ddd;
}
.info-article-list a:hover {
  background-color: #f9f9f9;
}
.info-article-list li:last-child {
  margin-bottom: 0;
  border-bottom: none;
}
.info-article-list .article-image {
  flex: 0 0 187px;
  height: 125px;
}
.info-article-list .article-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.info-article-list .article-text-content {
  flex: 1;
  font-size: 0.95rem;
}
.info-article-list .article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1em;
  align-items: center;
  margin-bottom: 1em;
}
.info-article-list .article-date {
  line-height: 1em;
}
.info-article-list .article-category {
  padding: 0 0.5em;
  border: 1px solid #0000001f;
}
.info-article-list .article-title {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  -webkit-line-clamp: 1;
  line-clamp: 1;
  font-weight: normal;
}
.info-article-list .article-text {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  color: #b0b0b1;
}

@media (max-width: 767px) {
  .info-section {
    /* flex-direction: column; */
    display: grid;
    grid-template-areas:
      "space aside"
      "space article";
    grid-template-rows: auto auto;
    grid-template-columns: 10px auto;
    padding: 56px 0 0;
  }

  .info-section::before {
    grid-area: space;
    content: "";
    background-color: #0f3e8f;
  }
  .info-aside {
    display: flex;
    flex: none;
    align-items: flex-end;
    justify-content: space-between;
    padding: 6px 25px 25px;
    background-color: #fff;
    border-bottom: solid 1px #ddd;
  }
  .info-aside .info-subtitle {
    display: block;
    font-weight: 700;
    color: #0f3e8f;
  }
  .info-aside .info-title {
    margin: 0;
    font-size: 1.25rem;
    color: #232323;
  }
  .info-aside .info-category-list {
    display: none;
  }
  .info-article-container {
    flex: none;
    width: 100%;
    padding: 20px;
  }

  .info-aside .info-topic-title {
    display: none;
  }
  .info-aside .info-aside-view-all {
    font-size: 0.8rem;
    color: #2d569d;
    border-bottom: solid 1px #2d569d;
  }
  .info-aside .info-aside-view-all::after {
    display: inline-block;
    width: 0.8rem;
    height: 0.8rem;
    content: "";
    background-image: url("../../images/common/icon_arrow_blue.svg");
    background-repeat: no-repeat;
    background-size: contain;
  }

  .info-article-list .article-image {
    flex: 0 0 145px;
    height: 96px;
  }
  .info-article-list .article-text-content {
    flex: 1;
    font-size: 0.8rem;
  }
  .info-article-list .article-meta {
    margin-bottom: 0.5em;
  }
  .info-article-list .article-title {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    margin: 0 0 0.5em;
    overflow: hidden;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    font-weight: normal;
    line-height: 1.2em;
  }
  .info-article-list .article-text {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    line-height: 1.2em;
    color: #b0b0b1;
  }
}

/* 横須賀地方隊についてのセクション */
.about-section {
  display: flex;
  align-items: center;
  justify-content: start;
  min-height: 735px;
  padding: 0 12.4%;
  background-image: url("../../images/top/top_about_bg.jpg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}
.about-container {
  color: #fff;
}
.about-container .about-subtitle {
  margin-bottom: 42px;
  font-size: 1.125rem;
  font-weight: 700;
}
.about-container .about-title {
  margin-bottom: 69px;
  font-size: 2.5rem;
  text-shadow: 0px 0px 30px #000000;
}
.about-container .about-link {
  display: flex;
  gap: 1.25em;
  align-items: center;
  justify-content: center;
  width: 247px;
  height: 66px;
  font-weight: bold;
  text-decoration: none;
  background-color: #fff;
  border-radius: 4px;
}
.about-container .about-link::after {
  display: inline-block;
  width: 1rem;
  height: 1rem;
  content: "";
  background-image: url("../../images/common/icon_arrow_blue.svg");
  background-repeat: no-repeat;
  background-size: contain;
}
.about-container .about-link:hover {
  background-color: #f0f0f0;
}
@media (max-width: 767px) {
  .about-section {
    display: flex;
    align-items: flex-end;
    justify-content: start;
    min-height: 600px;
    padding: 0 5% 50px;
    background-image: url("../../images/top/top_about_bg_sp.jpg");
    background-size: cover;
  }
  .about-container .about-subtitle {
    margin-bottom: 30px;
  }
  .about-container .about-title {
    font-size: 1.8rem;
  }
}
/* 総監挨拶・イベント情報セクション */
.other-section {
  display: flex;
}
.message-container {
  flex: 1;
  padding: 133px 28px 50px 59px;
  background-color: #fff;
}
.message-container .message-subtitle {
  margin-bottom: 1rem;
  font-weight: bold;
  color: #0f3e8f;
}
.message-container .message-title {
  margin-bottom: 1.25rem;
}
.message-container .message-image {
  margin-bottom: 1.25rem;
}
.message-container .message-image img {
  width: 100%;
  height: auto;
}
.message-container .message-text {
  margin-bottom: 1.125rem;
  font-size: 0.8rem;
}
.message-container .message-link {
  display: inline-block;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 247px;
  height: 66px;
  padding: 0.5em 1.5em;
  margin: 0 0 0 auto;
  font-size: 0.95rem;
  font-weight: bold;
  color: #1c1d1f;
  text-decoration: none;
  border: solid 1px #b9b9b9;
  border-radius: 4px;
}
.message-container .message-link::after {
  display: inline-block;
  width: 1rem;
  height: 1rem;
  content: "";
  background-image: url("../../images/common/icon_arrow_blue.svg");
  background-repeat: no-repeat;
  background-size: contain;
}
.message-container .message-link:hover {
  background-color: #f0f0f0;
}
.event-container {
  flex: 1;
  padding: 133px 59px 50px 28px;
  background-color: #0f3e8f;
}

.event-container .event-subtitle {
  margin-bottom: 1rem;
  font-weight: bold;
  color: #fff;
}
.event-container .event-title {
  margin-bottom: 1.25rem;
  color: #fff;
}
.event-container .event-image {
  margin-bottom: 1.25rem;
}
.event-container .event-image img {
  width: 100%;
  height: auto;
}
.event-container .event-text {
  margin-bottom: 1.125rem;
  font-size: 0.8rem;
  color: #fff;
}
.event-container .event-link {
  display: inline-block;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 247px;
  height: 66px;
  padding: 0.5em 1.5em;
  margin: 0 0 0 auto;
  font-size: 0.95rem;
  font-weight: bold;
  color: #fff;
  text-decoration: none;
  background-color: #0f3e8f;
  border: solid 1px #fff;
  border-radius: 4px;
}
.event-container .event-link::after {
  display: inline-block;
  width: 1rem;
  height: 1rem;
  content: "";
  background-image: url("../../images/common/icon_arrow_white.svg");
  background-repeat: no-repeat;
  background-size: contain;
}
.event-container .event-link:hover {
  background-color: #0a2e6b;
}
@media (max-width: 767px) {
  .other-section {
    flex-direction: column;
  }
  .message-container,
  .event-container {
    flex: none;
    width: 100%;
    padding: 75px 20px 35px;
  }
  .message-container .message-subtitle {
    border-bottom: 10px;
  }
  .message-container .message-title {
    margin-bottom: 22px;
    font-size: 1.25rem;
  }
  .message-container .message-image {
    margin-bottom: 10px;
  }
  .message-container .message-text {
    margin-bottom: 48px;
    font-size: 0.75rem;
    font-weight: 400;
  }
  .message-container .message-link {
    width: 200px;
    height: 54px;
    font-size: 0.81rem;
  }
  .event-container .event-subtitle {
    margin-bottom: 10px;
  }
  .event-container .event-title {
    margin-bottom: 22px;
    font-size: 1.25rem;
  }
  .event-container .event-image {
    margin-bottom: 10px;
  }
  .event-container .event-text {
    margin-bottom: 48px;
    font-size: 0.75rem;
    font-weight: 400;
  }
  .event-container .event-link {
    width: 200px;
    height: 54px;
    font-size: 0.81rem;
  }
}

/* 採用情報についてのセクション */
.recruit-section {
  display: flex;
  align-items: center;
  justify-content: start;
  min-height: 640px;
  padding: 0 12.4%;
  background-image: url("../../images/top/top_recruit_bg.jpg");
  background-position: center;
  background-size: cover;
}
.recruit-container {
  color: #fff;
}
.recruit-container .recruit-subtitle {
  margin-bottom: 42px;
  font-weight: 700;
}
.recruit-container .recruit-title {
  margin-bottom: 69px;
  font-size: 2.5rem;
  text-shadow: 0px 0px 30px #000000;
}
.recruit-container .recruit-link {
  display: flex;
  gap: 4.5em;
  align-items: center;
  justify-content: center;
  width: 247px;
  height: 66px;
  font-weight: bold;
  text-decoration: none;
  background-color: #fff;
  border-radius: 4px;
}
.recruit-container .recruit-link::after {
  display: inline-block;
  width: 1rem;
  height: 1rem;
  content: "";
  background-image: url("../../images/common/icon_arrow_blue.svg");
  background-repeat: no-repeat;
  background-size: contain;
}
.recruit-container .recruit-link:hover {
  background-color: #f0f0f0;
}
@media (max-width: 767px) {
  .recruit-section {
    display: flex;
    align-items: flex-end;
    justify-content: start;
    padding: 0 5% 50px;
    background-image: url("../../images/top/top_recruit_bg_sp.jpg");
  }
  .recruit-container .recruit-subtitle {
    margin-bottom: 30px;
  }
  .recruit-container .recruit-title {
    margin-bottom: 48px;
    font-size: 1.8rem;
  }
  .recruit-container .recruit-link {
    width: 200px;
    height: 54px;
    font-size: 0.81rem;
  }
}
