@charset "UTF-8";

#mv {
  position: relative;
  background-image: url(/asetts/img/visual-top.jpg);
  background-repeat: no-repeat;
  background-position: top center;
  height: 700px;
}
@media screen and (max-width: 520px) {
  #mv {
    height: 500px;
    background-size: cover;
    position: relative;
    background-position-x: 55%;
  }
  #mv:after {
    position: absolute;
    content: "";
    background: #e83e34;
    height: 5px;
    width: 100%;
    bottom: -3px;
  }
}

header {
  z-index: 1;
}

.mv_message,
.mv_contents ul {
  position: absolute;
  left: 11%;
  bottom: 20px;
}
.mv_message {
  top: 10%;
  background: rgb(218 2 4 / 70%);
  width: 380px;
  height: 380px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  color: #fff;
  font-size: 2em;
  line-height: 1.5;
  text-align: center;
}
.mv_contents span {
  display: contents;
  font-size: 1.4em;
}
.mv_contents ul {
  bottom: 30px;
  display: flex;
  justify-content: normal;
  flex-wrap: wrap;
}
.mv_contents ul li {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: #f8aa00;
  color: #fff;
  display: flex;
  align-items: center;
  text-align: center;
  flex-direction: column;
  justify-content: center;
  font-weight: bold;
  font-size: 1.1em;
  line-height: 1.5;
}
.mv_contents ul li + li {
  margin-left: 0.7em;
}

@media screen and (max-width: 520px) {
  .mv_message,
  .mv_contents ul {
    left: 10px;
  }
  .mv_message {
    top: 50px;
    width: 210px;
    height: 210px;
    font-size: 1.1em;
  }
  .mv_contents span {
    display: contents;
    font-size: 1.1em;
  }
  .mv_contents ul {
    bottom: 10px;
  }
  .mv_contents ul li {
    width: 110px;
    height: 110px;
    margin-top: 5px;
    font-size: 0.9em;
  }
  .mv_contents ul li:nth-child(4) {
    margin-left: 2em;
  }
}

#global-nav {
  background-color: #da0204;
}

#global-nav .clearfix {
  display: flex;
}

#global-nav ul li {
  width: 25%;
}

#what h2 {
  background: #f8aa00;
}

#aisatu {
  background: #f8aa00;
}
@media screen and (max-width: 520px) {
  #aisatu .text-box {
    z-index: initial;
  }
  #intyo .box .text-box {
    z-index: initial;
  }
}

.line-box .txt {
  background-color: #da0204;
}

.line-box .link-box p {
  color: #f8aa00;
}

.line-box .link-box .link a {
  color: #f8aa00;
  border-color: #f8aa00;
}

.line-box .link-box .link a:hover {
  background-color: #fff6e1;
}

#flow .box .text-box h3 span {
  background-color: #da0203;
}

@media screen and (max-width: 520px) {
  #g-nav {
    background: #da0204;
  }

  .line-box .link-box .link + .link {
    margin-top: 10px;
  }
}

/*** 遭ってしまったら ***/
.flow_list .flow_step {
  font-size: 70%;
  margin-right: 5px;
}
#step .flow_list .flow_img {
  width: 20%;
}
@media screen and (max-width: 520px) {
  .flow_list .flow_step {
    font-size: 65%;
  }
  #step .flow_list .flow_img {
    width: 50%;
    margin: auto;
  }
}

/*** 流れ ***/
.flow_list ul li {
  background: #fff;
  padding: 20px;
  position: relative;
}
.flow_list .flow_no {
  background: #da0203;
  color: #fff;
  font-size: 2em;
  font-weight: bold;
  padding: 15px;
  border-radius: 10px;
  margin-right: 20px;
}
.flow_list .flow_ttl {
  display: flex;
  align-items: center;
}
.flow_list .flow_ttl p {
  font-size: 1.2em;
  font-weight: bold;
  line-height: 1.3;
}
.flow_list .flow_summary {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-top: 20px;
}
.flow_list .flow_txt {
  width: 55%;
}
.flow_list .flow_img {
  width: 40%;
}
.flow_list ul li + li {
  margin-top: 60px;
}
.flow_list ul li:after {
  position: absolute;
  content: "";
  border-left: 30px solid transparent;
  border-right: 30px solid transparent;
  border-top: 20px solid #f8aa00;
  left: 50%;
  transform: translateX(-50%);
  bottom: -45px;
}
.flow_list ul li:last-child:after {
  content: none;
}
.flow_list dl {
  display: flex;
  flex-wrap: wrap;
  font-size: 1.1em;
  line-height: 1.8;
  margin: 15px 10px;
}
.flow_list dl dt {
  color: #da0203;
  font-weight: bold;
  width: 5em;
  border: 2px solid #da0203;
  border-radius: 5px;
  text-align: center;
  margin-right: 1em;
}

.flow_list ul li .flow_ico {
  position: absolute;
  right: -10px;
  top: -10px;
  background: #4e9805;
  border-radius: 50px;
  color: #fff;
  width: 100px;
  height: 100px;
  text-align: center;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-content: center;
}
.flow_list ul li:nth-child(2) .flow_ico {
  background: #6db923;
}
.flow_list ul li:nth-child(3) .flow_ico {
  background: #86ce3f;
}
.flow_list ul li .flow_ico .ico_img {
  display: block;
  width: 100%;
  margin-bottom: 5px;
}
.flow_list ul li .flow_ico img {
  width: 50px;
  height: 50px;
}
.flow_list ul li .flow_ico span {
  display: block;
  align-items: center;
  font-size: 1em;
  font-weight: bold;
}
@media screen and (max-width: 520px) {
  .flow_list .flow_ttl p {
    padding-right: 4em;
  }
  .flow_list .flow_no {
    font-size: 1.5em;
    padding: 10px;
    margin-right: 15px;
  }
  .flow_list .flow_txt,
  .flow_list .flow_img {
    width: 100%;
  }
  .flow_list .flow_img {
    margin-top: 20px;
  }
  .flow_list ul li + li {
    margin-top: 40px;
  }
  .flow_list ul li:after {
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-top: 15px solid #f8aa00;
    bottom: -30px;
  }
  .flow_list dl dt {
    width: 4em;
  }

  .flow_list ul li .flow_ico {
    width: 80px;
    height: 80px;
    right: -5px;
    top: -5px;
  }
  .flow_list ul li .flow_ico img {
    width: 40px;
    height: 40px;
  }
  .flow_list ul li .flow_ico span {
    font-size: 0.8em;
  }
  .flow_list ul li .flow_ico .ico_img {
    margin-bottom: 3px;
  }
}

#tiryohi .tiryohi-box .text-box.n1 .text {
  text-align: initial;
}

@media screen and (max-width: 900px) {
  #nayami h2 {
    padding: 20px 2%;
  }
}
