/* =============================================================
   メイン
   =============================================================
*/
.main_block {
  background-color: #fff;
}

@media screen and (max-width: 600px) {
  .main_block .swiper-button-next,
  .main_block .swiper-button-prev {
    display: none;
  }

  .main_block .inner {
    display: contents;
  }
}

/* =============================================================
   安全衛生協力会サイトの目的
   =============================================================
*/
.purpose_block {
  background-color: #fff;
  padding: 40px 0;
}

.purpose_block .ttl_section {
  margin-bottom: 21px;
  text-align: center;
}

.purpose_block .box {
  width: 650px;
  text-align: center;
  margin: 0 auto;
  text-align: left;
}

.purpose_block .box p {
  line-height: 1.8;
}

@media screen and (max-width: 1100px) {
  .purpose_block .box {
    width: 100%;
  }
}

@media screen and (max-width: 600px) {
  .purpose_block {
    background-color: #fff;
    padding: 20px 0;
  }

  .purpose_block .ttl_section {
    margin-bottom: 14px;
  }

  .purpose_block .box p {
    text-align: center;
  }

  .purpose_block {
    padding-bottom: 25px;
  }
}

/* =============================================================
   お知らせ
   =============================================================
*/
.news_block {
  padding: 40px 0;
}

.news_block .ttl_section {
  margin-top: 34px;
}

.news_block .btn_blue {
  margin-top: 98px;
}

.news_block .right_box {
  background-color: #fff;
  width: calc(100% - 245px);
  border-radius: 20px;
}

.news_block .list {
  padding: 15px 22px;
}

.news_block .list > :last-child {
  border-bottom: none;
}

.news_block .list_item {
  position: relative;
  border-bottom: #dedede 1px solid;
}

.news_block .list_item a {
  padding: 9px 0;
  background-color: #fff;
  width: 100%;
  display: block;
}

.news_block .list_item:after {
  content: "";
  position: absolute;
  top: 28px;
  right: 0;
  width: 8px;
  height: 13px;
  background-image: var(--arrow-url);
}

.news_block .list .list_ttl {
  width: calc(100% - 30px);
}

.news_block .list .flex {
  justify-content: start;
  margin-bottom: 4px;
}

.news_block .list_date {
  font-size: 13px;
  margin-right: 13px;
}

.news_block .list_cat {
  font-size: 10px;
  color: #fff;
  font-weight: bold;
  display: inline-block;
  background-color: #29519c;
  border-bottom: 21px;
  text-align: center;
  padding-top: 1px;
  border-radius: 3px;
  padding: 1px 10px;
  width: max-content;
}

.news_block.login {
  background-color: #fff;
}

.news_block.login .list_item:first-child {
  border-top: #dedede 1px solid;
}

.news_block.login .list_item:last-child {
  border-bottom: #dedede 1px solid;
}

.news_block.login .btn_white {
  margin-top: 100px;
}

.news_block.login .list_sibu {
  font-size: 10px;
  color: #29519c;
  font-weight: bold;
  display: inline-block;
  border: 1px solid #29519c;
  text-align: center;
  padding-top: 1px;
  border-radius: 3px;
  padding: 1px 10px;
  width: max-content;
  margin-left: 10px;
}

@media screen and (max-width: 600px) {
  .news_block {
    padding: 20px 0;
  }

  .news_block > .flex {
    justify-content: normal;
    flex-direction: column;
  }

  .news_block .left_box {
    display: contents;
  }

  .news_block .ttl_section {
    margin-top: 0;
    width: 100%;
    order: 1;
    margin-bottom: 15px;
  }

  .news_block .btn_blue {
    order: 3;
    display: block;
    margin-left: auto;
    margin-top: 10px;
  }

  .news_block .right_box {
    margin-top: 0;
    order: 2;
    width: 100%;
    margin-left: auto;
    margin-top: 0;
  }

  .news_block .list {
    padding: 10px;
  }

  .news_block.login .btn_white {
    order: 3;
    display: block;
    margin-left: auto;
    margin-top: 15px;
    padding: 5px;
  }

  .news_block .ttl_section {
    margin-top: 0;
    width: 100%;
    order: 1;
    margin-bottom: 15px;
  }

  .news_block.login .list {
    padding: 0;
  }
}

/* =============================================================
   各種様式ダウンロード
   =============================================================
*/
.document_block {
  text-align: center;
  padding: 40px 0;
  background-color: #fff;
}

.document_block .ttl_section {
  margin-bottom: 9px;
}

.document_block .inner > p {
  margin-bottom: 28px;
}

.document_block .list {
  justify-content: center;
  grid-template-columns: repeat(3, 270px);
  gap: 40px;
}

.document_block .list_item {
  width: 270px;
}

.document_block a {
  width: 100%;
}

.document_block .list_img {
  width: 100%;
  height: 98px;
  background-color: #ebeff4;
  border-radius: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 3px;
}

.document_block .list_txt {
  font-size: 18px;
  font-weight: 500;
}

.document_block .error_list {
  width: 510px;
  text-align: left;
  margin: 0 auto;
  margin-bottom: 30px;
}

.grid {
  display: grid;
}

/* タブレット */
@media screen and (max-width: 1024px) {
  .document_block .list {
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
  }
  .document_block .grid .list_item {
    width: auto;
  }
}

@media screen and (max-width: 600px) {
  .document_block {
    text-align: center;
    padding: 20px 0;
  }

  .document_block .ttl_section {
    margin-bottom: 13px;
  }

  .document_block .inner > p {
    margin-bottom: 12px;
  }

  .document_block .list {
    gap: 20px;
  }

  .document_block .list_img {
    height: 75px;
  }

  .document_block .list_img img {
    width: 42px;
  }

  .document_block .list_txt {
    font-size: 14px;
  }

  .document_block .error_list {
    width: 100%;
    margin-bottom: 20px;
  }

  /* スマホ2列表示 */
  .document_block .list {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* =============================================================
   協力会社情報
   =============================================================
*/
.company_block {
  padding: 40px 0;
}

.company_block .ttl_section {
  text-align: center;
  margin-bottom: 38px;
}

.company_block .list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px 13px;
}

.company_block .list_item {
  position: relative;
}

.company_block .list_item:after {
  content: "";
  position: absolute;
  top: 31px;
  right: 15px;
  width: 8px;
  height: 14px;
  background-image: var(--arrow-url);
}

.company_block .list_btn {
  display: block;
  background-color: #fff;
  border-radius: 20px;
  padding: 17px 16px;
}

.company_block .list_ttl {
  font-size: 15px;
  font-weight: 500;
}

.company_block .list_txt {
  font-size: 13px;
}

@media screen and (max-width: 1100px) {
  .company_block .list {
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
  }
}

@media screen and (max-width: 600px) {
  .company_block {
    padding: 20px 0;
  }

  .company_block .ttl_section {
    margin-bottom: 17px;
  }

  .company_block .list {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .company_block .list_btn {
    padding: 11px 12px;
  }

  .company_block .list_ttl {
    font-size: 14px;
  }

  .company_block .list_txt {
    font-size: 11px;
  }

  .company_block .list_item:after {
    top: 22px;
    right: 10px;
  }
}

/* =============================================================
   紹介動画
   =============================================================
*/
.movie_block {
  padding-top: 40px;
  padding-bottom: 30px;
  background-color: #fff;
}

.movie_block .ttl_section {
  margin-bottom: 15px;
  text-align: center;
}

.movie_block .swiper {
  padding-bottom: 45px !important;
}

.movie_block .swiper-button-prev,
.movie_block .swiper-rtl .swiper-button-next {
  left: 27vw !important;
}

.movie_block .swiper-button-next,
.movie_block .swiper-rtl .swiper-button-prev {
  right: 27vw !important;
}

.movie_block .swiper-button-next,
.movie_block .swiper-button-prev {
  top: 38% !important;
}

.movie_block p {
  margin-top: 5px;
  text-align: center;
  font-size: 20px;
  font-weight: bold;
}

.swiper .movie {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
}

video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.no_slide video {
  position: relative;
}

@media screen and (max-width: 1100px) {
  .movie_block .swiper-button-prev,
  .movie_block .swiper-rtl .swiper-button-next {
    left: 18vw !important;
  }

  .movie_block .swiper-button-next,
  .movie_block .swiper-rtl .swiper-button-prev {
    right: 18vw !important;
  }
}

@media screen and (max-width: 600px) {
  .movie_block {
    padding-top: 25px;
    padding-bottom: 10px;
  }

  .movie_block .ttl_section {
    margin-bottom: 12px;
  }

  .movie_block p {
    margin-top: 0;
    font-size: 13px;
  }

  .movie_block .swiper {
    padding-bottom: 32px !important;
  }

  .movie_block .swiper-button-prev,
  .movie_block .swiper-rtl .swiper-button-next {
    left: 9vw !important;
  }

  .movie_block .swiper-button-next,
  .movie_block .swiper-rtl .swiper-button-prev {
    right: 9vw !important;
  }
}

/* =============================================================
   メニュー
   =============================================================
*/
.menu_block {
  padding: 40px 0;
}

.menu_block .ttl_section {
  text-align: center;
  margin-bottom: 25px;
}

.menu_block .list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px 50px;
}

.menu_block .list_item {
  width: 100%;
}

.menu_block .list_item a {
  display: block;
  width: 100%;
  background-color: #ffffff;
  border-radius: 20px;
  padding: 34px 0;
}

.menu_block .list_item img {
  height: 70px;
  display: block;
  margin: 0 auto;
}

.menu_block .list_item p {
  text-align: center;
  font-size: 23px;
  font-weight: bold;
  padding-top: 11px;
}

@media screen and (max-width: 600px) {
  .menu_block {
    padding: 20px 0;
  }

  .menu_block .ttl_section {
    margin-bottom: 17px;
  }

  .menu_block .list {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .menu_block .list_item a {
    padding: 15px 0;
  }

  .menu_block .list_item img {
    height: 38px;
  }

  .menu_block .list_item p {
    font-size: 13px;
    padding-top: 6px;
  }
}

@media (hover: hover) {
  .news_block .list_item a:hover {
    background-color: #efefef;
  }
  .document_block a:hover .list_img {
    background-color: #d3d3d3;
  }
  .company_block .list_btn:hover {
    background-color: #d3d3d3;
  }
  .menu_block .list_item a:hover {
    background-color: #efefef;
  }
}

@media (hover: none) {
  .news_block .list_item a:active {
    background-color: #efefef;
  }
  .document_block a:active .list_img {
    background-color: #d3d3d3;
  }
  .company_block .list_btn:active {
    background-color: #d3d3d3;
  }
  .menu_block .list_item a:active {
    background-color: #efefef;
  }
}
