@charset "UTF-8";

/* ===== page-activity ===== */
#sos {
  position: relative;
}
#sos .inr {
  background-color: var(--color-white);
  border-radius: 30px;
  padding: 40px;
}

/* ===== SOSステーション ===== */
#sos .content1 {
  gap: 40px;
  align-items: center;
}
#sos .content1 .left {
  flex: 1;
}
#sos .content1 .left .txt-wrap .hd {
  align-items: center;
  gap: 8px;
  padding-bottom: 16px;
}

#sos .content1 .left .txt-wrap .hd img {
  width: 45px;
  height: auto;
  object-fit: contain;
}
#sos .content1 .left .txt-wrap .hd .ttl {
  font-size: var(--fs-20);
  font-weight: 700;
  flex: 1;
}
#sos .content1 .left .txt-wrap .txt {
  gap: 24px;
  align-items: center;
}
#sos .content1 .left .txt-wrap .txt img {
  width: 165px;
  height: auto;
  object-fit: contain;
}
#sos .content1 .left .txt-wrap .txt p {
  font-weight: 700;
  line-height: 2;
  flex: 1;
}
#sos .content1 .left .border-solid {
  width: 100%;
  height: 20px;
  object-fit: cover;
  margin-top: 32px;
  margin-bottom: 32px;
}
@media screen and (max-width: 1400px) {
  #sos .content1 .right img {
    width: 400px;
  }
}
@media screen and (max-width: 1200px) {
  #sos .content1 {
    flex-direction: column;
    gap: 24px;
  }
}
@media screen and (max-width: 960px) {
  #sos .content1 .left .txt-wrap .hd img {
    width: 35px;
  }
  #sos .content1 .left .txt-wrap .txt img {
    width: 120px;
  }
  #sos .content1 .left .border-solid {
    height: 10px;
    margin-top: 24px;
    margin-bottom: 24px;
  }
}
@media screen and (max-width: 768px) {
  #sos .inr {
    padding: 32px 5%;
  }
  #sos .content1 .left .txt-wrap .hd {
    align-items: flex-start;
  }
  #sos .inr #sos .content1 .left .txt-wrap .hd {
    align-items: flex-start;
  }
  #sos .content1 {
    gap: 16px;
  }
  #sos .content1 .left .txt-wrap .hd .ttl {
    font-size: var(--fs-18);
  }
  #sos .content1 .left .txt-wrap .txt {
    flex-direction: column;
    gap: 16px;
  }
}

/* ===== 実施手順表 ===== */
#sos .content2 .table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--color-skyblue);
  font-size: var(--fs-17);
  font-weight: 700;
  color: var(--color-navy);
}

#sos .content2 .table th,
#sos .content2 .table td {
  border: 1px solid var(--color-skyblue);
  padding: 20px;
  vertical-align: top;
}

#sos .content2 .table th {
  width: 200px;
}

#sos .content2 .table td {
  background-color: white;
}

#sos .content2 .table .num-list {
  margin: 0;
  padding-left: 20px;
}

#sos .content2 .table .num-list li {
  margin-bottom: 8px;
  line-height: 1.6;
  list-style-type: none;
  counter-increment: number;
  text-indent: -2em;
  padding-left: 0.5em;
}
#sos .content2 .table .num-list li::before {
  content: "(" counter(number) ") ";
}
#sos .content2 .table td .note {
  text-indent: -1.5em;
  padding-left: 1.5em;
  color: var(--color-pink);
}

@media screen and (max-width: 768px) {
  #sos .content2 .table {
    font-size: var(--fs-15);
    display: block;
    width: 100%;
  }
  #sos .content2 .table tr {
    display: block;
    overflow: hidden;
  }
  #sos .content2 .table th,
  #sos .content2 .table td {
    display: block;
    width: 100%;
    padding: 16px;
    border: none;
  }
  #sos .content2 .table th {
    text-align: left;
    margin-bottom: 0;
    border-bottom: 1px solid var(--color-skyblue);
    border-top: 1px solid var(--color-skyblue);
  }
  #sos .content2 .table tr:first-child th {
    border-top: none;
  }
  #sos .content2 .table th:last-child,
  #sos .content2 .table td:last-child {
    border-bottom: none;
  }
  #sos .content2 .table td {
    background-color: white;
    text-align: justify;
  }
  #sos .content2 .table .num-list {
    padding-left: 16px;
  }
  #sos .content2 .table .note {
    font-size: var(--fs-13);
    padding: 10px;
  }
}
/* ===== 「１１０番ＳＯＳステーション」協定書調印式 ===== */
#sos .content3 {
  position: relative;
  z-index: 1;
  background-color: var(--color-skyblue-light);
  border-radius: 0 0 15px 15px;
  padding: 40px;
  padding-bottom: 0;
}
#sos .content3 .bg {
  position: absolute;
  bottom: 100%;
  left: 0;
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  z-index: -1;
}
#sos .content3 .bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}
#sos .content3 .bg::before,
#sos .content3 .bg::after {
  content: "";
  position: absolute;
  top: 8px;
  width: 82px;
  height: 80px;
  object-fit: contain;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  background-image: url(../../img/page/activity/sos-bg-img.svg);
  z-index: 0;
}
#sos .content3 .bg::before {
  left: 8px;
}
#sos .content3 .bg::after {
  left: auto;
  right: 8px;
  transform: scaleX(-1);
}
#sos .content3 .bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
#sos .content3 .hd {
  text-align: center;
  padding-bottom: 40px;
  margin-right: auto;
  margin-left: auto;
  font-family: var(--font-zenmaru);
  font-weight: 700;
  color: var(--color-skyblue);
}
#sos .content3 .hd .ttl {
  font-size: var(--fs-22);
  letter-spacing: 0.2em;
  text-align: center;
  margin-bottom: 16px;
}
#sos .content3 .hd .txt {
  font-size: var(--fs-30);
  text-align: center;
  background-color: var(--color-white);
  padding: 12px 32px;
  width: fit-content;
  margin: 0 auto;
}
#sos .content3 .desc p {
  text-align: center;
  font-size: var(--fs-18);
  letter-spacing: 0.08em;
  font-weight: 700;
  line-height: 2;
}
#sos .content3 .desc p:first-child {
  padding-bottom: 2em;
}
#sos .content3 .cards {
  gap: 32px;
}
#sos .content3 .cards .card {
  width: calc(33.333% - 21.333px);
}
#sos .content3 .cards .card img {
  border-radius: 15px;
  aspect-ratio: 326 / 230;
  object-fit: cover;
}
#sos .content3 .cards .card p {
  padding-top: 16px;
  font-size: var(--fs-14);
  font-weight: 700;
  color: var(--color-navy);
}
@media screen and (max-width: 1200px) {
  #sos .content3 .cards {
    gap: 20px;
  }
  #sos .content3 .cards .card {
    width: calc(33.333% - 13.333px);
  }
  #sos .content3 .cards .card img {
    border-radius: 10px;
  }
  #sos .content3 .cards .card p {
    padding-top: 12px;
  }
}
@media screen and (max-width: 960px) {
  #sos .content3 .cards .card {
    width: calc(50% - 10px);
  }
}
@media screen and (max-width: 768px) {
  #sos .content3 {
    padding: 32px 5%;
  }

  #sos .content3 .bg::before,
  #sos .content3 .bg::after {
    width: 62px;
    height: 60px;
  }
  #sos .content3 .hd {
    padding-bottom: 24px;
  }
  #sos .content3 .hd .ttl {
    font-size: var(--fs-20);
    margin-bottom: 8px;
  }
  #sos .content3 .hd .txt {
    font-size: var(--fs-22);
    padding: 8px 12px;
  }
  #sos .content3 .desc p {
    text-align: justify;
  }
  #sos .content3 .desc p:first-child {
    padding-bottom: 1em;
  }
  #sos .content3 .cards {
    gap: 16px;
  }
  #sos .content3 .cards .card {
    width: calc(50% - 8px);
  }
}

@media screen and (max-width: 600px) {
  #sos .content3 .bg::before,
  #sos .content3 .bg::after {
    width: 46px;
    height: 44px;
  }
  #sos .content3 .cards {
    flex-direction: column;
  }
  #sos .content3 .cards .card {
    width: 100%;
  }
  #sos .content3 .cards .card p {
    padding-top: 8px;
  }
}
/* ===== 新聞記事 ===== */
#sos .content3-2 {
  overflow: hidden;
}
#sos .content3-2 .hd {
  position: relative;
  gap: 8px;
  justify-content: center;
  background-color: var(--color-skyblue);
  padding: 8px 32px;
  border-radius: 30px;
  color: var(--color-white);
  z-index: 1;
  width: fit-content;
  margin-right: auto;
  margin-left: auto;
}
#sos .content3-2 .solid-line {
  position: relative;
}
#sos .content3-2 .solid-line::before,
#sos .content3-2 .solid-line::after {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100vw;
  height: 3px;
  background-image: repeating-linear-gradient(
    90deg,
    var(--color-skyblue) 0px,
    var(--color-skyblue) 12px,
    transparent 12px,
    transparent 24px
  );
  z-index: -1;
}

#sos .content3-2 .hd::before {
  right: 100%;
  margin-right: 0;
}

#sos .content3-2 .hd::after {
  left: 100%;
  margin-left: 0;
}
#sos .content3-2 .hd img {
  width: 22px;
  height: auto;
  object-fit: contain;
}
#sos .content3-2 .hd p {
  font-size: var(--fs-18);
  font-weight: 700;
}
#sos .content3-2 .imgs {
  gap: 88px;
}
#sos .content3-2 .imgs .img-wrap {
  width: calc(50% - 44px);
}
#sos .content3-2 .imgs .img-wrap img {
  width: 100%;
  height: auto;
  object-fit: contain;
  margin-bottom: 20px;
}
#sos .content3-2 .imgs .img-wrap.right {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
#sos .content3-2 .imgs .img-wrap p {
  position: relative;
  font-size: var(--fs-14);
  font-weight: 700;
  color: var(--color-navy);
  text-align: right;
}
#sos .content3-2 .imgs .img-wrap p::before {
  content: "■";
  color: var(--color-skyblue);
  padding-right: 4px;
}
#sos .content3-2 .sos-img2-wrap {
  position: relative;
  max-width: 660px;
  margin-left: auto;
  margin-right: auto;
}
#sos .content3-2 .sos-img2-wrap .sos-img2 {
  width: 100%;
  height: auto;
  object-fit: contain;
}
#sos .content3-2 .sos-img2-wrap .sos-img2-note {
  position: absolute;
  bottom: 8%;
  left: calc(100% - 24px);
  width: 206px;
  height: auto;
  object-fit: contain;
  transform: translateY(50%);
}
#sos .wave-bg {
  bottom: auto;
  rotate: 180deg;
  top: calc(100% - 1px);
}
@media screen and (max-width: 1400px) {
  #sos .content3-2 .sos-img2-wrap {
    max-width: 560px;
  }
  #sos .content3-2 .sos-img2-wrap .sos-img2-note {
    width: 160px;
  }
}
@media screen and (max-width: 1200px) {
  #sos .content3-2 .imgs {
    gap: 40px;
  }
  #sos .content3-2 .imgs .img-wrap {
    width: calc(50% - 20px);
  }
  #sos .content3-2 .sos-img2-wrap {
    max-width: 480px;
  }
  #sos .content3-2 .sos-img2-wrap .sos-img2-note {
    width: 120px;
  }
}
@media screen and (max-width: 960px) {
  #sos .content3-2 .imgs {
    gap: 20px;
  }
  #sos .content3-2 .imgs .img-wrap {
    width: calc(50% - 10px);
  }
  #sos .content3-2 .imgs .img-wrap img {
    margin-bottom: 10px;
  }
  #sos .content3-2 .imgs .img-wrap.right {
    gap: 16px;
  }
  #sos .content3-2 .sos-img2-wrap {
    max-width: 80%;
  }
  #sos .content3-2 .sos-img2-wrap .sos-img2-note {
    width: 100px;
    left: 100%;
    bottom: -16px;
    transform: translate(-50%, 50%);
  }
}
@media screen and (max-width: 768px) {
  #sos .content3-2 .hd {
    padding: 8px 0;
    width: 100%;
  }
  #sos .content3-2 .hd p {
    font-size: var(--fs-16);
  }
  #sos .content3-2 .sos-img2-wrap {
    max-width: 100%;
  }
  #sos .content3-2 .sos-img2-wrap .sos-img2-note {
    width: 80px;
    transform: translate(0, 50%);
    left: auto;
    right: 0;
    bottom: -8px;
  }
}
@media screen and (max-width: 600px) {
  #sos .content3-2 .imgs {
    flex-direction: column;
  }
  #sos .content3-2 .imgs .img-wrap {
    width: 100%;
  }
  #sos .content3-2 .sos-img2-wrap .sos-img2-note {
    width: 64px;
    bottom: 0;
  }
}

/* ===== モーダルウィンドウ ===== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 9999;
  display: none;
  justify-content: center;
  align-items: center;
  padding: 20px;
}
.modal-overlay.active {
  display: flex;
}
.modal-content {
  position: relative;
  max-width: 90%;
  max-height: 90%;
  background-color: var(--color-white);
  overflow: auto;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
}
.modal-content img {
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
  display: block;
  min-height: auto;
}
.modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 40px;
  height: 40px;
  background-color: rgba(0, 0, 0, 0.7);
  color: var(--color-white);
  border: none;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10000;
  transition: background-color 0.3s ease;
}
.modal-close:hover {
  background-color: rgba(0, 0, 0, 0.9);
}
.modal-close::before {
  font-size: 24px;
  font-weight: bold;
}

.clickable-article {
  cursor: pointer;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}
.clickable-article:hover {
  transform: translateY(2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
@media screen and (max-width: 768px) {
  .modal-overlay {
    padding: 10px;
  }

  .modal-content {
    max-width: 95%;
    max-height: 95%;
  }

  .modal-content img {
    height: auto;
  }

  .modal-close {
    width: 35px;
    height: 35px;
    font-size: 18px;
  }
}

@media screen and (max-width: 480px) {
  .modal-overlay {
    padding: 5px;
  }

  .modal-content {
    max-width: 98%;
    max-height: 98%;
  }

  .modal-content img {
    height: auto;
  }
}
/* ===== topics ===== */
#topics {
  position: relative;
}
#topics .topics-wrap {
  position: relative;
  padding-left: 40px;
  padding-right: 40px;
}
#topics .swiper {
  max-width: 776px;
  margin-right: auto;
  margin-left: auto;
  width: 100%;
  position: relative;
}
#topics .swiper-slide .news-item {
  width: 100%;
}
#topics .swiper-slide .news-item img {
  width: 100%;
  aspect-ratio: 776 / 440;
  object-fit: cover;
}
#topics .swiper-slide .news-item .txt {
  -webkit-line-clamp: 5;
}
#topics .swiper-button-next:after,
#topics .swiper-button-prev:after,
.swiper-rtl .swiper-button-prev:after {
  content: none;
}
#topics .swiper-button-next,
#topics .swiper-button-prev {
  object-fit: contain;
  width: 109px;
  height: 103px;
}
#topics .swiper-button-next {
  right: 0;
  left: auto;
  transform: translateX(-50%);
}
#topics .swiper-button-prev {
  right: auto;
  left: 0;
  transform: translateX(50%);
}
#topics .wave-bg {
  bottom: -1px;
  rotate: 180deg;
}
@media screen and (max-width: 1300px) {
  #topics .swiper-button-next,
  #topics .swiper-button-prev {
    width: 80px;
    height: 75px;
  }
}
@media screen and (max-width: 1200px) {
  #topics .swiper {
    width: calc(100% - 80px - 80px - 16px);
  }
}

@media screen and (max-width: 768px) {
  #topics .swiper {
    width: 90%;
  }
  #topics .swiper-slide .news-item {
    flex-direction: column;
  }
  #topics .swiper-button-next,
  #topics .swiper-button-prev {
    width: 64px;
    height: 60px;
    transform: none;
  }
}
@media screen and (max-width: 600px) {
  #topics .swiper {
    width: 100%;
  }
  #topics .swiper-slide .news-item .img-wrap {
    width: 90%;
    margin-left: auto;
    margin-right: auto;
  }
  #topics .swiper-button-next,
  #topics .swiper-button-prev {
    width: 40px;
    height: 35px;
  }
  #topics .swiper-button-prev {
    left: 4px;
  }
  #topics .swiper-button-next {
    right: 4px;
  }
}
/* ===== news　& past ===== */
.all-btn {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  margin-right: 0;
  margin-left: auto;
  width: fit-content;
  border-bottom: 1px solid var(--color-skyblue);
  padding-bottom: 4px;
  margin-bottom: 16px;
}
.all-btn span {
  font-size: var(--fs-18);
  font-weight: 500;
  color: var(--color-skyblue);
  letter-spacing: 0.08em;
}
.all-btn img {
  width: 20px;
  height: auto;
  object-fit: contain;
  transition: all 0.3s ease;
}
.all-btn:hover {
  transform: translateY(0px);
}
.all-btn:hover img {
  transform: translate(4px, 0);
}
