@charset "UTF-8";

/* ========================================
	総合トップ
======================================== */

/*---------------------------------
  top_mainv
---------------------------------*/

#top_mainv .mv_img,
#top_mainv .mv_slide {
  background-color: #fff;
}

#top_mainv .mv_img .mv_img_inner,
#top_mainv .mv_slide .mv_slide_wrap .mv_slide_inner {
  position: relative;
}

#top_mainv .mv_img .mv_img_inner .mv_movie,
#top_mainv .mv_slide .mv_slide_wrap .mv_slide_inner .mv_movie {
  display: block;
  position: absolute;
}
#top_mainv .mv_img .mv_img_inner .mv_movie .img-default,
#top_mainv .mv_slide .mv_slide_wrap .mv_slide_inner .mv_movie .img-default {
  position: relative;
  z-index: 2;
  transition: all 0.2s ease;
}
#top_mainv .mv_img .mv_img_inner .mv_movie:hover .img-default,
#top_mainv .mv_slide .mv_slide_wrap .mv_slide_inner .mv_movie:hover .img-default {
  opacity: 0;
}
#top_mainv .mv_img .mv_img_inner .mv_movie .img-hover,
#top_mainv .mv_slide .mv_slide_wrap .mv_slide_inner .mv_movie .img-hover {
  opacity: 0;
  position: absolute;
  left: 0;
  top: 0;
  z-index: 1;
  transition: all 0.3s ease;
}
#top_mainv .mv_img .mv_img_inner .mv_movie:hover .img-hover,
#top_mainv .mv_slide .mv_slide_wrap .mv_slide_inner .mv_movie:hover .img-hover {
  opacity: 1;
}

@media screen and (min-width:768px), print {
  #top_mainv .mv_img {
    margin-bottom: 40px;
  }

  #top_mainv .mv_img .mv_img_inner,
  #top_mainv .mv_slide .mv_slide_wrap {
    max-width: 1366px;
    margin: 0 auto;
  }
  
  #top_mainv .mv_img .mv_img_inner .mv_movie,
  #top_mainv .mv_slide .mv_slide_wrap .mv_slide_inner .mv_movie {
    cursor: pointer;
    transition: opacity 0.3s;
  }
  
  /*
  #top_mainv .mv_img .mv_img_inner .mv_movie:hover,
  #top_mainv .mv_slide .mv_slide_wrap .mv_slide_inner .mv_movie:hover {
    opacity: 0.75;
  }
  */
}

@media screen and (min-width:1367px) {
  #top_mainv .mv_img .mv_img_inner .mv_movie,
  #top_mainv .mv_slide .mv_slide_wrap .mv_slide_inner .mv_movie {
    width: 86px;
    right: 20px;
    bottom: 98px;
  }
}

@media screen and (min-width:1280px) and (max-width:1366px) {
  #top_mainv .mv_img .mv_img_inner .mv_movie,
  #top_mainv .mv_slide .mv_slide_wrap .mv_slide_inner .mv_movie {
    width: 6.296vw;
    right: 1.464vw;
    bottom: 7.174vw;
  }
}

@media screen and (min-width:768px) and (max-width:1279px) {
  #top_mainv .mv_img .mv_img_inner .mv_movie,
  #top_mainv .mv_slide .mv_slide_wrap .mv_slide_inner .mv_movie {
    width: 80px;
    bottom: 90px;
    right: 20px;
  }
}

@media screen and (max-width:767px) {
  #top_mainv .mv_img {
    margin-bottom: 35px;
  }
  
  #top_mainv .mv_slide .mv_slide_wrap {
    margin-bottom: 0 !important;
  }
  
  #top_mainv .mv_img .mv_img_inner .mv_movie,
  #top_mainv .mv_slide .mv_slide_wrap .mv_slide_inner .mv_movie {
    width: 16vw;
    bottom: 14.933vw;
    right: 2.667vw;
  }
}

/* ---------- 動画のモーダル ----------*/

#top_mainv .mv_modal {
  display: none;
  height: 100vh;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 99999;
}

#top_mainv .modal_bg {
  background: rgba(0,0,0,0.4);
  height: 100vh;
  position: absolute;
  width: 100%;
}

#top_mainv .modal_box {
  margin: auto;
  background-color: #edfaf1;
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
}

#top_mainv .modal_box h3 {
  font-weight: 400;
  color: #098240;
}

#top_mainv .modal_box video {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

#top_mainv .modal_box .mv_modal_close {
  display: flex;
  align-items: center;
  align-content: center;
  justify-content: center;
  margin: 0 auto;
}

#top_mainv .modal_box .mv_modal_close::before {
  content: "×";
  color: #a6a6a6;
}

@media screen and (min-width:768px), print {
  #top_mainv .modal_box {
    width: 1052px;
    padding: 50px 96px 20px;
  }
  
  #top_mainv .modal_box h3 {
    margin-bottom: 15px;
    font-size: 26px;
  }
  
  #top_mainv .modal_box video {
    margin-bottom: 20px;
  }
  
  #top_mainv .modal_box .mv_modal_close {
    width: 130px;
    height: 40px;
    font-size: 18px;
    cursor: pointer;
  }
  
  #top_mainv .modal_box .mv_modal_close::before {
    margin-right: 10px;
    font-size: 28px;
  }
}

@media screen and (max-width:767px) {
  #top_mainv .modal_box {
    width: 92%;
    padding: 27px 24px 10px;
  }
  
  #top_mainv .modal_box h3 {
    margin-bottom: 10px;
    font-size: 18px;
  }
  
  #top_mainv .modal_box video {
    margin-bottom: 10px;
  }
  
  #top_mainv .modal_box .mv_modal_close {
    width: 130px;
    height: 40px;
    font-size: 12px;
  }
  
  #top_mainv .modal_box .mv_modal_close::before {
    margin-right: 5px;
    font-size: 20px;
  }
}

/* ---------- インジケーター ----------*/

#top_mainv .mv_indicator {
  display: flex;
  align-items: center;
  align-content: center;
  justify-content: center;
  padding: 12px 0 28px;
}

#top_mainv .mv_indicator .mv_btn {
  display: block;
  width: 16px;
  height: 16px;
  position: relative;
}

#top_mainv .mv_indicator .mv_btn .mv_btn_stop,
#top_mainv .mv_indicator .mv_btn .mv_btn_play {
  width: 16px;
  height: 16px;
  line-height: 0;
  cursor: pointer;
}

#top_mainv .mv_indicator .mv_btn .mv_btn_stop {
  position: absolute;
  top: 0;
  left: 0;
}

#top_mainv .mv_indicator .mv_btn .mv_btn_play.is-hide,
#top_mainv .mv_indicator .mv_btn .mv_btn_stop.is-hide {
  display: none;
}

#top_mainv .mv_indicator .mv_dots .slick-dots {
  display: flex;
  position: static;
}

#top_mainv .mv_indicator .mv_dots .slick-dots li {
  display: block;
  width: 8px;
  height: 8px;
}

#top_mainv .mv_indicator .mv_dots .slick-dots li button {
  width: 8px;
  height: 8px;
  padding: 0;
  border-radius: 50%;
  background-color: #ccc;
}

#top_mainv .mv_indicator .mv_dots .slick-dots li.slick-active button {
  background-color: #008c7a;
}

#top_mainv .mv_indicator .mv_dots .slick-dots li button::before {
  display: none;
}

@media screen and (min-width:768px), print {
  #top_mainv .mv_indicator .mv_dots .slick-dots li {
    margin: 0 16px 0 0;
  }
}

@media screen and (min-width:1367px) {
  #top_mainv .mv_indicator .mv_dots .slick-dots li {
    margin: 0 24px 0 0;
  }
}

@media screen and (max-width:767px) {
  #top_mainv .mv_indicator .mv_dots {
    margin-right: 6px;
  }
  
  #top_mainv .mv_indicator .mv_dots .slick-dots li {
    margin: 0 6px;
  }
}

/* ---------- リンクボタン ----------*/

#top_mainv .mv_link {
  display: flex;
}

#top_mainv .mv_link a {
  background: #098240;
  border: 1px solid #098240;
  position: relative;
  font-weight: 700;
  text-align: center;
  color: #fff;
}

#top_mainv .mv_link a::before {
  content: "";
  display: block;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

#top_mainv .mv_link .mv_kojin a::before {
  background-image: url("/img/index/mv_kojin.png");
}

#top_mainv .mv_link .mv_houjin a::before {
  background-image: url("/img/index/mv_houjin.png");
}

@media screen and (min-width:768px), print {
  #top_mainv .mv_link {
    justify-content: center;
  }
  
  #top_mainv .mv_link .mv_kojin,
  #top_mainv .mv_link .mv_houjin {
    margin: 0 20px;
  }
  
  #top_mainv .mv_link a {
    display: flex;
    align-items: center;
    align-content: center;
    justify-content: center;
    width: 500px;
    height: 84px;
    font-size: 1.25rem;/*20px*/
    line-height: 84px;
    transition: all 0.2s;
  }
  
  #top_mainv .mv_link a::before {
    width: 40px;
    margin-right: 15px;
  }
  
  #top_mainv .mv_link .mv_kojin a::before {
    height: 40px;
  }

  #top_mainv .mv_link .mv_houjin a::before {
    height: 45px;
  }

  #top_mainv .mv_link a::after {
    content: "";
    display: block;
    width: 9px;
    height: 14px;
    background: url("/common/img/arrow/usual_wh_left.svg") no-repeat center;
    background-size: contain;
    position: absolute;
    top: 50%;
    right: 16px;
    transform: translateY(-50%);
  }
  
  #top_mainv .mv_link a:hover {
    background: #fff;
    color: #098240;
  }
  #top_mainv .mv_link a:hover::after {
    background-image: url(/common/img/arrow/usual_gr_left.svg);
  }
  #top_mainv .mv_link .mv_kojin a:hover::before {
    background-image: url("/img/index/mv_kojin_green.png");
  }
  
  #top_mainv .mv_link .mv_houjin a:hover::before {
    background-image: url("/img/index/mv_houjin_green.png");
  }
  
}

@media screen and (max-width:767px) {
  #top_mainv .mv_link {
    justify-content: space-between;
    padding: 0 15px;
  }
  
  #top_mainv .mv_link .mv_kojin,
  #top_mainv .mv_link .mv_houjin {
    width: calc( ( 100% - 15px ) / 2 );
  }
  
  #top_mainv .mv_link a {
    display: block;
    height: 112px;
    padding-top: 53px;
    font-size: 16px;
  }
  
  #top_mainv .mv_link a::before {
    height: 28px;
    margin: auto;
    position: absolute;
    top: 16px;
    left: 0;
    right: 0;
  }
  
  #top_mainv .mv_link .mv_kojin a::before {
    width: 28px;
  }

  #top_mainv .mv_link .mv_houjin a::before {
    width: 32px;
  }
  
  #top_mainv .mv_link .mv_kojin a span,
  #top_mainv .mv_link .mv_houjin a span {
    display: flex;
    align-items: center;
    align-content: center;
    justify-content: center;
    min-height: 48px;
  }
}

/*---------------------------------
  top_emergency
---------------------------------*/

#top_emergency .emergency_inner {
  border: 2px solid #db2121;
  background-color: #fff;
}

#top_emergency .emergency_inner .emergency_title {
  background-color: #fae3e3;
  position: relative;
  font-weight: 400;
  color: #C01C1C;
}

#top_emergency .emergency_inner .emergency_title::before {
  content: "";
  display: block;
  width: 20px;
  height: 20px;
  background: url("/common/img/icon/danger.png") no-repeat center;
  background-size: contain;
  position: absolute;
}

@media screen and (min-width:768px), print {
  #top_emergency {
    margin-top: 60px;
  }
  
  #top_emergency .emergency_inner {
    width: 1200px;
    margin: 0 auto;
  }
  
  #top_emergency .emergency_inner .emergency_title {
    padding: 16px 38px 16px 68px;
    font-size: 1.25rem;/*20px*/
  }
  
  #top_emergency .emergency_inner .emergency_title::before {
    left: 38px;
    top: calc( ( ( ( 1.25rem * 1.5 ) - 20px ) / 2 ) + 16px );    
  }
  
  #top_emergency .emergency_inner .emergency_body {
    padding: 25px 38px;
  }
  
  #top_emergency .emergency_inner .emergency_body p {
    font-size: 1rem;
  }
  
  #top_emergency .emergency_inner .emergency_body p:not(:last-child) {
    margin-bottom: 25px;
  }
}

@media screen and (max-width:767px) {
  #top_emergency {
    margin-top: 52px;
  }
  
  #top_emergency .emergency_inner {
    margin: 0 15px;
  }
  
  #top_emergency .emergency_inner .emergency_title {
    padding: 15px 15px 15px 40px;
    font-size: 16px;
  }
  
  #top_emergency .emergency_inner .emergency_title::before {
    left: 15px;
    top: calc( ( ( ( 16px * 1.5 ) - 20px ) / 2 ) + 15px );    
  }
  
  #top_emergency .emergency_inner .emergency_body {
    padding: 15px;
  }
  
  #top_emergency .emergency_inner .emergency_body p {
    font-size: 14px;
  }
  
  #top_emergency .emergency_inner .emergency_body p:not(:last-child) {
    margin-bottom: 20px;
  }
}

/*---------------------------------
  top_important
---------------------------------*/

#top_important {
  background-color: #f7f7f7;
}

#top_important .important_inner .important_title {
  padding-left: 30px;
  position: relative;
  font-weight: 400;
  color: #C01C1C;
}

#top_important .important_inner .important_title::before {
  content: "";
  display: block;
  width: 20px;
  height: 20px;
  background: url("/common/img/icon/danger.png") no-repeat center;
  background-size: contain;
  position: absolute;
  left: 0;
}

#top_important .important_inner .important_body .important_list li a em,
#top_important .important_inner .important_body .important_list li a {
  font-style: normal;
  color: #C01C1C;
}

#top_important .important_inner .important_body .important_sub_list {
  display: none;
}

#top_important .important_inner .important_body .important_sub_list ul li a {
  color: #222;
}

#top_important .important_inner .important_body .important_more {
  margin: 0 auto;
  border: 1px solid #ccc;
  position: relative;
  text-align: center;
}

#top_important .important_inner .important_body .important_more::before,
#top_important .important_inner .important_body .important_more::after {
  content: "";
  display: block;
  background-color: #098240;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  transition: opacity 0.3s;
}

#top_important .important_inner .important_body .important_more::before {
  width: 12px;
  height: 2px;
  right: 12px;
}

#top_important .important_inner .important_body .important_more::after {
  width: 2px;
  height: 12px;
  right: 17px;
}

#top_important .important_inner .important_body .important_more.is-open::after {
  opacity: 0;
}

@media screen and (min-width:768px), print {
  #top_important {
    margin-top: 60px;
  }
  
  #top_important .important_inner {
    width: 1200px;
    padding: 35px 0;
    margin: 0 auto;
  }
  
  #top_important .important_inner .important_title {
    margin-bottom: 20px;
    font-size: 1.25rem;/*20px*/
  }
  
  #top_important .important_inner .important_title::before {
    top: calc( ( ( 1.25rem * 1.5 ) - 20px ) / 2 );
  }
  
  #top_important .important_inner .important_body ul li:not(:last-child) {
    margin-bottom: 12px;
  }
  
  #top_important .important_inner .important_body .important_sub_list {
    margin-top: 32px;
  }
  
  #top_important .important_inner .important_body .important_sub_list .important_sub_list_inner ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }
  
  #top_important .important_inner .important_body .important_sub_list ul > li {
    width: calc( ( 100% - 40px ) / 2 );
  }
  
  #top_important .important_inner .important_body .important_more {
    margin-top: 25px;
    width: 320px;
    transition: background 0.3s;
    font-size: 0.9375rem;/*15px*/
    line-height: 2.8;
    cursor: pointer;
  }
  
  #top_important .important_inner .important_body .important_more:hover {
    background-color: #fff;
  }
}

@media screen and (max-width:767px) {
  #top_important {
    margin-top: 52px;
  }
  
  #top_important .important_inner {
    padding: 30px 0;
    margin: 0 15px;
  }
  
  #top_important .important_inner .important_title {
    margin-bottom: 18px;
    font-size: 16px;
  }
  
  #top_important .important_inner .important_title::before {
    top: calc( ( ( 16px * 1.5 ) - 20px ) / 2 );
  }
  
  #top_important .important_inner .important_body ul li:not(:last-child) {
    margin-bottom: 10px;
  }
  
  #top_important .important_inner .important_body ul li a {
    font-size: 14px;
  }
  
  #top_important .important_inner .important_body .important_sub_list {
    margin-top: 17px;
  }
  
  #top_important .important_inner .important_body .important_more {
    margin-top: 20px;
    font-size: 14px;
    line-height: 40px;
  }
}


/*---------------------------------
  top_useful
---------------------------------*/

#top_useful .useful_inner .useful_list {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

#top_useful .useful_inner .useful_list li a {
  display: block;
  border: 1px solid #ccc;
  position:relative; 
  text-align: center;
  color: #222;
}

#top_useful .useful_inner .useful_list li a .icn {
  content: "";
  display: block;
  margin: auto;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  position: absolute;
  left: 0;
  right: 0;
}
#top_useful .useful_inner .useful_list li a .icn img {
  width: 100%;
}

@media screen and (min-width:768px), print {
  #top_useful {
    margin-bottom: 60px;
  }
  
  #top_useful .useful_inner {
    width: 1200px;
    padding: 56px 0;
    margin: 0 auto;
  }

  #top_useful .useful_inner .useful_list li {
    width: 288px;
  }
  
  #top_useful .useful_inner .useful_list li a {
    padding: 82px 0 20px;
    font-size: 1rem;/*16px*/
    transition: background 0.3s;
  }
  
  #top_useful .useful_inner .useful_list li a:hover {
    background-color: #edfaf3;
  }
  
  #top_useful .useful_inner .useful_list li a .icn {
    width: 42px;
    height: 42px;
    top: 25px;
  }
}

@media screen and (max-width:767px) {
  #top_useful .useful_inner {
    padding: 48px 0;
    margin: 0 15px;
  }

  #top_useful .useful_inner .useful_list li {
    width: calc( ( 100% - 15px ) / 2 );
    margin-bottom: 15px;
  }
  
  #top_useful .useful_inner .useful_list li a {
    padding: 57px 0 15px;
    font-size: 16px;
  }
  
  #top_useful .useful_inner .useful_list li a .icn {
    width: 28px;
    height: 28px;
    top: 19px;
  }
}

/*---------------------------------
  top_news
---------------------------------*/

#top_news .news_inner .news_heading {
  display: flex;
  align-items: center;
  align-content: center;
  justify-content: space-between;
  border-bottom: 1px solid #098240;
}

#top_news .news_inner .news_heading h2 {
  font-weight: 400;
  color: #098240;
}

#top_news .news_inner .news_heading a {
  color: #222;
}

#top_news .news_inner .news_list li {
  border-bottom: 1px solid #ccc;
}

#top_news .news_inner .news_list li a {
  color: #222;
}

@media screen and (min-width:768px), print {
  #top_news {
    margin-bottom: 80px;
  }
  
  #top_news .news_inner {
    display: flex;
    justify-content: space-between;
    width: 1200px;
    margin: 0 auto;
  }
  
  #top_news .news_inner .news_release,
  #top_news .news_inner .news_oshirase {
    width: 552px;
  }
  
  #top_news .news_inner .news_heading {
    padding-bottom: 12px;
    margin-bottom: 15px;
  }
  
  #top_news .news_inner .news_heading h2 {
    font-size: 36px;
  }
  
  #top_news .news_inner .news_heading a {
    font-size: 1rem;/*16px*/
  }
  
  #top_news .news_inner .news_heading a:not(:first-child) {
    margin-left: 1em;
  }
  
  #top_news .news_inner .news_list li {
    display: flex;
    padding: 22px 0;
    min-height: calc( ( 1rem * 1.5 * 2 ) + 44px );
  }
  
  #top_news .news_inner .news_list li .news_list_date {
    width: 140px;
    font-size: 0.9375rem;/*15px*/
  }
  
  #top_news .news_inner .news_list li .news_list_text {
    width: 412px;
    font-size: 1rem;/*16px*/
  }
  
  #top_news .news_inner .news_list li a:hover {
    text-decoration: underline;
  }
  
  #top_news .news_inner .news_oshirase .news_list {
    margin-bottom: 30px;
  }
}

@media screen and (max-width:767px) {
  #top_news {
    margin-bottom: 60px;
  }
  
  #top_news .news_inner {
    margin: 0 15px;
  }
  
  #top_news .news_inner .news_heading {
    padding-bottom: 10px;
    margin-bottom: 5px;
  }
  
  #top_news .news_inner .news_heading h2 {
    font-size: 25px;
  }
  
  #top_news .news_inner .news_heading a {
    font-size: 14px;
  }
  
  #top_news .news_inner .news_release {
    margin-bottom: 65px;
  }
  
  #top_news .news_inner .news_list li {
    padding: 20px 0;
  }
  
  #top_news .news_inner .news_list li .news_list_date {
    margin-bottom: 10px;
    font-size: 12px;
  }
  
  #top_news .news_inner .news_list li .news_list_text {
    font-size: 14px;
  }
  
  #top_news .news_inner .news_oshirase .news_list {
    margin-bottom: 20px;
  }
}

/*---------------------------------
  top_link
---------------------------------*/

#top_link .link_inner .link_list li a {
  display: block;
  border: 1px solid #ccc;
  position: relative;
  text-align: center;
  color: #222;
}

#top_link .link_inner .link_list li a::after {
  content: "";
  display: block;
  background: url("/common/img/arrow/usual_gr_left.svg") no-repeat center;
  background-size: contain;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

#top_link .link_inner .link_list li a {
  padding: 15px 20px 15px 15px;
}
  
#top_link .link_inner .link_list li a::after {
  width: 9px;
  height: 14px;
  right: 11px;
}

@media screen and (min-width:768px), print {
  #top_link {
    margin-bottom: 96px;
  }
  
  #top_link .link_inner {
    width: 1200px;
    margin: 0 auto;
  }
  
  #top_link .link_inner .link_list {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin: 0 -18px;
  }
  
  #top_link .link_inner .link_list > li {
    width: 376px;
    margin: 0 18px;
  }

  #top_link .link_inner .link_list > li:nth-of-type(n+4) {
    margin-top: 38px;
  }
  
  #top_link .link_inner .link_list li a {
    padding: 15px 20px 15px 15px;
    font-size: 1rem;/*16px*/
    transition: all 0.3s;
  }
  
  #top_link .link_inner .link_list li a:hover {
    background-color: #edfaf1;
  }
}

@media screen and (max-width:767px) {
  #top_link {
    margin-bottom: 65px;
  }
  #top_link .link_inner .link_list > li:not(:last-child) {
    margin-bottom: 15px;
  }
  
  #top_link .link_inner .link_list li a {
    padding: 13px 20px 13px 13px;
    font-size: 16px;
  }
  
  #top_link .link_inner {
    margin: 0 15px;
  }
}
