.scroll-border {
  position: fixed;
  z-index: 3;
  bottom: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.5);
  padding: 15px 0;
  box-sizing: border-box;
  transition: transform 0.6s ease;
  transform: translateY(100%);
  display: flex;
  justify-content: center;
}

.scroll-border.show {
  transform: translateY(0);
}

.scroll-border .btn {
  width: 400px;
  padding: 10px 0;
  margin-top: 0;
  color: #fff;
  border: none;
  background-color: #F18D00;
  font-size: 18px;
  font-weight: bold;
}

header {
  border: none;
  border-bottom: none;
}

main img {
  width: 100%;
}

footer {
  padding-bottom: 74px;
}

/* index
---------------------------------------- */

/* General styles */
#kanri {
  text-align: left;
}

/* Title styles */
#kanri #title {
  background-position: center;
  height: 300px;
  background-image: url("../img/kanri/bg_mv.png");
  background-size: cover;
  background-repeat: no-repeat;
  position: relative;
  padding: 115px 0;
  @media (max-width: 768px) {
    padding: 40px 0;
  }
}

#kanri #title::before {
  content: '';
  width: 100%;
  height: 300px;
  position: absolute;
  top: 0;
  left: 0;
}

#kanri #title .inner {
  display: grid;
  place-items: center;
  height: 100%;
}

#kanri #title h1 {
  position: relative;
  color: #fff;
  align-self: center;
  font-size: clamp(24px,2.9vw,32px);
  font-weight: 500;
  margin-top: 5px;
}

#kanri #title h1 span.sup {
  font-size: clamp(18px,2.9vw,20px);
  color: #fff;
  align-self: center;
  font-weight: lighter;
  margin-top: 17px;
  display: block;
}

@media (max-width: 768px) {
  #kanri #title h1 {
    line-height: normal;
    margin-top: 0;
  }
  #kanri #title h1 span.sup {
    margin-top: 0;
  }
}

/* Section 1 styles */
#kanri #sec1 {
  max-width: 820px;
  margin: 0 auto;
  height: auto;
}

/* Section 1 - Recommendation section */

/* Section 1 - Heading styles */
#kanri #sec1 h3 {
  font-size: clamp(20px,2.9vw,26px);
  margin-bottom: 20px;
  color: #F18D00;
  font-weight: bold;
  line-height: normal;
}

#kanri #sec1 .outline {
  width: 100%;
  margin-bottom: 0px;
  text-align: center;
}

#kanri #sec1 .outline p {
  font-size: 14px;
  color: #333333;
  font-weight: bold;
  padding-left: 13px;
  text-indent: -13px;
}

#kanri #sec1 .outline p:before {
  content: "※";
}

#kanri #sec1 .outline p span.red {
  color: #EC1818;
  font-size: 14px;
}

#kanri #sec1 .outline p span.focus {
  font-size: 16px;
}

#kanri #sec1 .summary {
  border: 1px #333333 solid;
  padding: 15px 10px;
  border-radius: 10px;
  margin: 30px 0;
}

#kanri #sec1 .summary p {
  font-size: clamp(18px,2.9vw,22px);
  font-weight: 500;
}

#kanri #sec1 .summary p span {
  margin-top: 8px;
  display: inline-block;
}

#kanri #sec1 .summary p.sup {
  font-size: clamp(14px,2.9vw,16px);
  padding-top: 10px;
}

#kanri #sec1 .summary p b {
  color: #EC1818;
}

#kanri #sec1 .summary p a {
  color: #0A64BB;
}

#kanri #sec1 div.summary .sup:before {
  content: "※";
}

#kanri #sec1 div.summary .sup {
  text-indent: -13px;
  padding-left: 13px;
}

@media (max-width: 768px) {
  #kanri #sec1 {
    padding-top: 30px;
  }
  #kanri #sec1 .outline p {
    text-align: justify;
    text-indent: -10px;
    padding-left: 10px;
    line-height: 140%;
  }
}

/* sec2 */
#kanri #sec2 {
  margin: 70px 0 25px;
}

#kanri #sec2 p span {
  color: #0A64BB;
}

#kanri #sec2 ol {
  max-width: 900px;
  margin: 50px auto;
}

#kanri #sec2 ol li.flow {
  background-color: #E7F3FF;
  border-radius: 10px;
  padding: 20px 70px 25px;
  margin: 18px 0;
  box-shadow: 0px 1px 5px 0px rgba(0, 0, 0, 0.3);
}

#kanri #sec2 ol li.flow h4 {
  font-weight: bolder;
}

#kanri #sec2 ol li.flow p {
  padding-top: 10px;
  line-height: 170%;
}

#kanri #sec2 ol li img {
  width: 35px;
}

#kanri #sec2 ol li h4 {
  color: #0A64BB;
  font-size: 24px;
  border-bottom: 1px #0A64BB solid;
  padding-bottom: 15px;
}

#kanri #sec2 ol li h4 {
  color: #0A64BB;
  font-size: clamp(22px,2.9vw,24px);
  border-bottom: 1px #0A64BB solid;
}

#kanri #sec2 ol li.flow:nth-child(3) > p:nth-of-type(2n) {
  padding-top: 0;
  text-indent: -13px;
  padding-left: 13px;
}

#kanri #sec2 ol li.flow:nth-child(3) > p:nth-of-type(2n):before {
  content: "※";
}

#kanri #sec2 ol li.flow:nth-child(3) > p:nth-of-type(2n) {
  font-size: 14px;
}

#kanri #sec2 ol li.flow:nth-child(5) > p:nth-of-type(3n):before {
  content: "※";
}

#kanri #sec2 ol li.flow:nth-child(5) > p:nth-of-type(3n) {
  font-size: 14px;
}

#kanri #sec2 ol li.flow:nth-child(5) > p:not(:first-of-type):before {
  content: "※";
}

#kanri #sec2 ol li.flow:nth-child(5) > p:not(:first-of-type) {
  padding-top: 0;
  padding-left: 13px;
  text-indent: -13px;
  font-size: 14px;
}

#kanri #sec2 ol li.flow:last-child > p:nth-of-type(2n) {
  padding-top: 0;
}

#kanri #sec2 ol li.flow:last-child > p:nth-of-type(3n) {
  padding-top: 0;
  text-indent: -13px;
  padding-left: 13px;
  font-size: 14px;
}

#kanri #sec2 ol li.flow:last-child > p:nth-of-type(3n):before {
  content: "※";
}

@media (max-width: 768px) {
  #kanri #sec2 {
    margin: 50px 0 33px;
  }
  #kanri #sec2 ol li.flow {
    padding: 20px 15px 25px;
  }
  #kanri #sec2 ol li.flow p {
    text-align: justify;
  }
}

@media (max-width: 500px) {
  footer #copyright {
    border-top: 1px solid #ccc;
  }
}
