@charset "utf-8";

/*============

top.css

=============*/

/* INDEX ----------------------------- */
/* heading */

#fullIndex > h1 {
  margin: 0 auto .2rem;
  padding: 0;
  background: transparent;
  border: 0;
  width: calc(100% - 1.6rem);
  max-width: 960px;
}

#fullIndex > h1 img {
  max-width: 960px;
  width: 100%;
  height: auto;
}

#index_heading {
  margin: 0 auto;
  width: 960px;
}

div#container article#fullIndex #index_heading p {
  color: #542;
  font-size: 1.5rem;
  font-weight: bold;
  line-height: 1.4;
  text-align: center;
}

/* LED導入のメリット */

#merit {
  margin-top: 1rem;
  padding: 1.4rem 2.5rem;
  text-align: center;
  border: 1px solid #0b183d;
  border-radius: 50px;
  background-color: #fff;
}

div#container article#fullIndex #merit h2 {
  color: #D44400;
  font-size: 1.5rem;
  font-weight: bold;
}

#merit ul {
  margin-top: 1.2rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

#merit ul li {
  color: #211;
  font-weight: bold;
  width: calc(100%/5 - 1rem);
}

#merit ul img {
  margin: .5rem auto;
  display: block;
}

#merit ul img {
  max-width: 130px;
  aspect-ratio: 1 / 1;
}

#merit ul li span {
  white-space: nowrap;
  display: inline-block;
}


/* お悩みいっぱい */

#probrems {
  margin-top: 2rem;
  padding: 2rem 0;
  background: url(../img/prob_bg.png) 0 0 / 28px 32px;
  position: relative;
  z-index: 0;
}

#probrems::after {
  content: "";
  display: block;
  width: 100%;
  height: 195px;
  position: absolute;
  left: 0;
  top: 0;
  background: url(../img/prob_ttl_bg.png) repeat-x 0 100% / 44px auto;
  z-index: 1;
}

div#container article#fullIndex #probrems h2 {
  margin: 0 auto;
  font-size: 1.75rem;
}

#probrems h2 {
  width: 960px;
  color: #542;
  font-weight: bold;
  z-index: 2;
  position: relative;
}

div#container article#fullIndex #probrems h2 span {
  padding-left: 1.5rem;
  font-size: 1.5rem;
}

#probrems ul {
  margin: 0 auto;
  padding: 30px 0;
  background: url(../img/prob_moyamoya.png) no-repeat 50% 50% / 913px 913px;
  display: flex;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 960px;
}

#probrems ul li {
  margin-right: 20px;
  padding-top: 64px;
  position: relative;
}

#probrems ul li.prob_anti_crime {
  margin-right: 0;
}

#probrems ul li.prob_factory {
  margin-left: 65px;
}

#probrems ul li.prob_shop {
  margin-left: 180px;
  margin-top: 15px;
}

#probrems ul li.prob_ss {
  margin-top: 15px;
}

#probrems ul li.prob_parking, #probrems ul li.prob_event, #probrems ul li.prob_sign_board {
  margin-top: 15px;
}

#probrems ul li > p:first-child {
  position: absolute;
  left: -26px;
  top: 0;
  width: 121px;
  height: 142px;
}

div#container article#fullIndex #probrems ul li h3 {
  margin: 0 0 30px 100px;
  padding: 0 0 3px 10px;
  font-size: 1.1rem;
  line-height: 32px;
  color: #542;
  display: inline-block;
  position: relative;
}

#probrems ul li h3::after {
  content: "";
  display: block;
  width: 15px;
  height: 35px;
  background: url(../img/label_end_green.png) no-repeat 100% 0 / auto 35px;
  position: absolute;
  right: -15px;
  top: 0;
}

#probrems ul li a {
  padding: 1rem 2.5rem 1rem 1rem;
  display: block;
  color: #542;
  background-image: url(../img/arrow_green.png);
  background-repeat: no-repeat;
  background-position: calc(100% - 10px) 50%;
  background-color: #fff;
  background-size: 14px auto;
  border-radius: 10px;
  border-right: 5px solid #9dc814;
  border-bottom: 5px solid #9dc814;
  position: relative;
}

div#container article#fullIndex #probrems ul li a p {
  font-size: 1.1rem;
  line-height: 1.6;
}

div#container article#fullIndex #probrems ul li a strong {
  font-size: 1.25rem;
  color: #542;
}

div#container article#fullIndex #probrems ul li a span {
  font-size: 0.9rem;
}

#probrems ul li a::before {
  content: "";
  display: block;
  width: 0;
  height: 0;
  position: absolute;
  left: 70px;
  top: -15px;
  background: transparent;
  border-left: 0;
  border-right: 16px solid transparent;
  border-top: 0;
  border-bottom: 16px solid #fff;
}

#probrems ul li a:hover {
  background-color: #fffbcd;
}

#probrems ul li a:hover::before {
  border-bottom-color: #fffbcd;
}

#probrems ul li.prob_road h3, #probrems ul li.prob_street h3, #probrems ul li.prob_anti_crime h3 {
  background: url(../img/label_bg_green.png) no-repeat 0 100% / auto 35px;
}

#probrems ul li.prob_factory h3, #probrems ul li.prob_sc h3, #probrems ul li.prob_shop h3, #probrems ul li.prob_ss h3 {
  background: url(../img/label_bg_pink.png) no-repeat 0 100% / auto 35px;
}

#probrems ul li.prob_factory h3::after, #probrems ul li.prob_sc h3::after, #probrems ul li.prob_shop h3::after, #probrems ul li.prob_ss h3::after {
  background: url(../img/label_end_pink.png) no-repeat 100% 0 / auto 35px;
}

#probrems ul li.prob_factory a, #probrems ul li.prob_sc a, #probrems ul li.prob_shop a, #probrems ul li.prob_ss a {
  background-image: url(../img/arrow_pink.png);
  border-color: #eb7aa0;
}

#probrems ul li.prob_parking h3, #probrems ul li.prob_event h3, #probrems ul li.prob_sign_board h3 {
  background: url(../img/label_bg_orange.png) no-repeat 0 100% / auto 35px;
}

#probrems ul li.prob_parking h3::after, #probrems ul li.prob_event h3::after, #probrems ul li.prob_sign_board h3::after {
  background: url(../img/label_end_orange.png) no-repeat 100% 0 / auto 35px;
}

#probrems ul li.prob_parking a, #probrems ul li.prob_event a, #probrems ul li.prob_sign_board a {
  background-image: url(../img/arrow_orange.png);
  border-color: #fabe00;
}


/* 水銀ランプお知らせ */

#mercury_notice {
  margin: 3rem auto 0;
  padding: 2.4rem 0;
  width: 960px;
  position: relative;
}

div#container article#fullIndex #mercury_notice h2 {
  margin-left: 145px;
  font-size: 1.75rem;
  padding: 1.5rem;
  background: #fff8b0;
  color: #159;
  border-radius: 10px;
  position: relative;
}

#mercury_notice h2::before {
  content: "";
  width: 157px;
  height: 146px;
  position: absolute;
  left: -157px;
  bottom: -20px;
  background: url(../img/susume.png) no-repeat 100% 100% / contain;
  display: block;
  border: 0;
}

div#container article#fullIndex #mercury_notice > div {
  margin-top: 20px;
  font-size: 1.3rem;
}

#mercury_notice h2 + div {
  margin-bottom: 30px;
  padding: 1.6rem;
  border: 5px solid #999;
  text-align: center;
  background-color: #fff;
}

div#container article#fullIndex #mercury_notice h2 + div h3 {
  font-size: 1.5rem;
}

#mercury_notice h2 + div h3:first-child,
#mercury_notice h2 + div h3 + p {
  margin: 0;
}

#mercury_notice h2 + div strong,
#mercury_notice h2 + div span {
  color: #D44400;
}

#mercury_notice p + h3 {
  margin-top: 2rem;
  text-align: left;
}

#mercury_notice .flex_cont ul {
  padding-left: 1.5em;
  list-style: disc outside;
}

#mercury_notice ul strong {
  font-weight: normal;
}

#mercury_notice > .flex_cont div {
  border: 5px solid #0976cd;
  border-radius: 20px;
  padding: 2rem;
  width: 470px;
  box-sizing: border-box;
}

div#container article#fullIndex #mercury_notice > .flex_cont div h3 {
  margin-top: 0;
  margin-bottom: 1rem;
  font-size: 2rem;
  line-height: 1.1;
}

#mercury_notice > .flex_cont div h3 strong {
  color: #0976cd;
}

#mercury_notice .flex_cont ul.link_list {
  margin-top: 1rem;
  padding-left: 0;
  list-style: none;
}

#mercury_notice .link_btn a {
  display: block;
  padding: 1rem 1rem 1rem 2rem;
  border: 1px solid #f90;
  color: #000;
  background: url(../img/link_icon.png) 1rem 50% / 7px 12px no-repeat transparent;
  border-radius: 10px;
  white-space: nowrap;
}

#mercury_notice .link_btn a:hover {
  border: 1px solid #fc3;
  color: #000;
  background-color: #fd0;
}

#mercury_notice .flex_cont {
  justify-content: space-between;
}


/*============

media queries

=============*/

/*-------------

タブレット・スマホ

--------------*/

@media (max-width: 959px) {
  #fullIndex h1 {
    width: 96vw;
  }
  #index_heading {
    width: 96vw;
  }
  /* LED導入のメリット */
  #merit {
    padding: 1.4rem 2vw;
  }
  div#container article#fullIndex #merit ul li {
    /* padding: 0 1vw; */
    font-size: 1.1rem;
  }
  #merit ul img {
    display: block;
    max-width: 16vw;
  }
  #merit ul li span {
    white-space: normal;
    display: inline;
  }
  /* お悩みいっぱい */
  #probrems::after {
    height: 20vw;
  }
  #probrems h2 {
    width: 100%;
    text-align: center;
  }
  #probrems ul {
    /* padding: 3vw 0; */
    /* width: 100%; */
    background: url(../img/prob_moyamoya.png) no-repeat 50% 8vw / 90vw 90vw;
    justify-content: center;
  }
  #probrems ul li {
    margin: 0 2vw;
  }
  #probrems ul li.prob_anti_crime, #probrems ul li.prob_factory, #probrems ul li.prob_shop {
    margin: 0 2vw;
  }
  #probrems ul li.prob_shop, #probrems ul li.prob_ss, #probrems ul li.prob_parking, #probrems ul li.prob_event, #probrems ul li.prob_sign_board {
    margin-top: 0;
  }
  /* 水銀ランプお知らせ */
  #mercury_notice {
    margin-top: 0;
    width: 96vw;
  }
  div#container article#fullIndex #mercury_notice h2 {
    /* margin-left: 145px; */
    padding: 1.2rem;
    font-size: 1.6rem;
    line-height: 1.4;
  }
  #mercury_notice h2::before {
    left: -145px;
  }
  #mercury_notice h2+div {
    text-align: left;
  }
  #mercury_notice>.flex_cont div {
    width: 47vw;
  }
  #mercury_notice .link_btn {
    margin-top: 1rem;
  }
  #mercury_notice .link_list li+li {
    margin-top: 2px;
  }
  #mercury_notice div .flex_cont {
    flex-wrap: wrap;
  }
}


/* お悩みの部分 */

@media (max-width: 749px) {
  #probrems ul {
    /* padding: 5vw 0; */
  }
  #probrems ul {
    flex-flow: column;
  }
  #probrems ul li {
    padding-top: 6vw;
  }
  #probrems ul li>p:first-child {
    left: -2vw;
  }
  div#container article#fullIndex #probrems ul li h3 {
    margin-bottom: 2vw;
    font-size: 1em;
  }
  #probrems ul li a {
    margin-left: 110px;
    padding: .7rem 2.5rem .7rem 1rem;
  }
  div#container article#fullIndex #probrems ul li a p {
    font-size: 0.9rem;
  }
  div#container article#fullIndex #probrems ul li a strong {
    font-size: 1rem;
  }
  #probrems ul li a::before {
    left: -38px;
    top: 15px;
    border-left: 20px solid transparent;
    border-top: 7px solid transparent;
    border-bottom: 7px solid transparent;
    border-right: 20px solid #fff;
  }
  #probrems ul li a:hover::before {
    border-right-color: #fffbcd;
    border-bottom-color: transparent;
  }
}


/* スマホ縦、タブレットのSplitView */

@media (max-width: 639px) {
  /* heading */
  #index_heading p {
    /* font-size: 7vw; */
  }
  /* LED導入のメリット */
  #merit {
    padding: 2vw;
    border-radius: 3vw;
  }
  #merit h2 {
    /* font-size: 6.3vw; */
    /* font-weight: bold; */
  }
  #merit ul {
    flex-wrap: wrap;
    justify-content: space-around;
  }
  #merit ul li {
    /* margin-bottom: 1rem; */
    /* font-size: 5vw; */
    width: calc(100%/2 - 1rem);
  }
  #merit ul img {
    max-width: 30vw;
  }
  /* お悩みいっぱい */
  #probrems {
    padding: 1rem 0;
  }
  #probrems::after {
    height: 30vw;
  }
  #probrems h2 {
    /* width: 100%; */
    /* text-align: center; */
    /* font-size: 6vw; */
  }
  div#container article#fullIndex #probrems h2 span {
    padding: 0;
    display: block;
    font-size: 5vw;
  }
  /* 水銀ランプお知らせ */
  #mercury_notice {
    padding-bottom: 0;
  }
  div#container article#fullIndex #mercury_notice h2 {
    margin-left: 100px;
    padding: 3vw;
    font-size: 6vw;
  }
  #mercury_notice h2::before {
    width: 100px;
    left: -100px;
    background: url(../img/susume.png) no-repeat 0 100% / 134px auto;
    bottom: -10px;
  }
  #mercury_notice>div {
    margin-top: 10px;
  }
  #mercury_notice h2+div {
    text-align: left;
    margin-bottom: 2vw;
    padding: 6vw;
    box-sizing: border-box;
  }
 div#container article#fullIndex #mercury_notice h2+div h3 {
    font-size: 6vw;
  }
  #mercury_notice>.flex_cont div {
    margin-bottom: 2vw;
    padding: 6vw;
    width: 96vw;
  }
  #mercury_notice .link_btn {
    margin-top: 1rem;
  }
  #mercury_notice .flex_cont {
    flex-flow: column;
  }
}