.guideline {
  margin-bottom: 10%;
  width: 100%;
}

.guideline h1 {
  /* font-size: 20px;
  font-weight: bold;
  color: #0263b5;
  padding: 8px 12px;
  text-align: left; */
  margin: auto;
  width: 100%;
  /* border-bottom-style: solid;
  border-bottom-width: 1px;
  border-bottom-color: #0263b5;
  border-left-style: solid;
  border-left-width: 8px;
  border-left-color: #0263b5; */
}

.guideline h1 span {
  font-size: 18px;
  vertical-align: top;
}


.guideline .guideline-inner {
  border: 0px solid #0263b5;
  padding: 0px 0% 8px;
  padding: 0 0 8.2%;
  /* margin-bottom: 24px; */
  background: #fff;
}

.guideline .guideline-inner .guideline-wrap {
  display: flex;
  margin-bottom: 0px;
  flex-direction: column;
  /* padding: 6.0% 0%; */
  padding: 0% 8.2% 0;
}

.guideline .guideline-inner .guideline-text {
  margin: 5% 0;
  font-size: 18px;
}

.guideline .guideline-inner .guideline-text h2 {
  font-size: 24px;
  font-weight: bold;
  color: #0263b5;
  margin-top: 8px;
}

.guideline .guideline-inner .guideline-text h3 {
  font-size: 20px;
  font-weight: bold;
  color: #0263b5;
  margin-top: 16px;
  margin-bottom: 8px;
}

.guideline .guideline-inner .guideline-text h4 {
  font-size: 18px;
  font-weight: bold;
  color: #0263b5;
  margin-bottom: 8px;
  display: flex;
}

.guideline .guideline-inner .guideline-text h4 .text {
  align-self: center;
}


.guideline .guideline-inner .guideline-text h4 .icon {
  background: #0263b5;
  color: #fff;
  font-size: 12px;
  padding: 8px 8px;
  margin-right: 12px;
  /* width: 75px; */
  justify-content: center;
  display: flex;
  align-items: center;
  min-width: 70px;
  word-break: break-all;
}

.guideline .guideline-inner .guideline-index h4 .icon {
  min-width: 65px;
}

.guideline .guideline-inner .guideline-text h4 a {
  font-size: 16px;
  color: #333;
  text-decoration: solid;
  text-decoration-color: #333;
  text-decoration-line: underline;
  align-self: center;
  word-break: break-all;
  flex: 1;
}

.guideline .guideline-inner .guideline-text h4 a:hover {
  color: #A9D6DC;
  text-decoration-color: #A9D6DC;
  opacity: 1;
}

.guideline .guideline-inner .guideline-wrap img {
  width: 100%;
  height: auto;
}

.guideline .guideline-inner .guideline-wrap img.left {
  margin: 0 24px 0 0;
  width: 250px;
  height: 166px;
}

.guideline .guideline-inner .guideline-wrap .bg-grey {
  padding-bottom: 5px;
  background-color: #f1f1f1;
}

.text-marker {
  font-weight: bold;
  padding-bottom: 3px;
  background: linear-gradient(transparent 50%, #fff47d 0%);
}

.text-marker.pink {
  
  background: linear-gradient(transparent 50%, #fbd0d0 0%);
}

@media screen and (min-width: 1025px){
  .sp {
    display: none;
  }
  .pc {
    display: block;
  }
}
@media screen and (max-width: 1024px) {
  .sp {
    display: block;
  }
  .pc {
    display: none;
  }

  .guideline {
    width: 100%;
    margin: 0 auto 10%;
  }


  .guideline .guideline-inner .guideline-text {
    margin-right: 0px;
  }

  .guideline .guideline-inner .guideline-text h4 {
    font-size: 20px;
    line-height: 1.4;
    margin-bottom: 5px;
  }

  .guideline .guideline-inner .guideline-wrap img.left {
    margin: 0 24px 0 0;
    width: 250px;
    height: 166px;
  }

  .guideline .guideline-inner .guideline-wrap {
    display: block;
  }

  .guideline .guideline-inner .guideline-wrap:last-child {
    margin-bottom: 8px;
  }

  .guideline .guideline-inner .guideline-wrap p {
    display: block;
    font-size: 2.6vw;
  }
}

@media screen and (max-width: 1024px) {
  .guideline .guideline-inner .guideline-wrap {
    padding-left: 7.2%;
    padding-right: 7.2%;
  }
}

@media screen and (max-width: 524px) {
  .guideline .guideline-inner .guideline-wrap {
    padding-left: 3.2%;
    padding-right: 3.2%;
  }
}

.guideline_lasttable {
  font-size: 20px;
  font-weight: bold;
  color: #0263b5;
  /* margin-bottom: 12px; */
  padding: 8px 12px;
  text-align: left;
  /* background-color: #0263b5; */
  margin: auto;
  margin-bottom: 12px;
  width: 100%;
  border-bottom-style: solid;
  border-bottom-width: 1px;
  border-bottom-color: #0263b5;
  border-left-style: solid;
  border-left-width: 8px;
  border-left-color: #0263b5;
}

.guideline-anchor {
  padding-bottom: 36px;
}

.guideline-detail {
  border: 1px solid #414141;
  position: relative;
  margin: 0 0 7%;
}

.guideline-detail:last-child{
  margin: 0 0;
}

.guideline-detail::before{
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 25%;
  height: 3px;
  background: #00a592;/*左：ピンク*/
}

.guideline-detail .guideline-title {
  padding: 1% 3%;
  display: flex;
  align-items: center;
  font-weight: bold;
  cursor:pointer;
}


.guideline-detail .guideline-title .num {
  font-size: 75px;
  color: #00a592;
  width: 18%;
  justify-content: center;
  display: flex;
  font-weight: normal;
} 

.guideline-detail .guideline-title .title {
  font-size: 28px;
  width: 78%;
  padding: 0 5% 0 2%;
}

.guideline-detail .guideline-title .arrow {
  width: 4%;
}

.guideline-detail .detail-contents {
  border-top: 1px solid #414141;
  padding: 3% 4% 6% 4%;
}

.guideline-detail .detail-contents .intro {
  text-align: center;
  font-size: 18px;
  padding: 1% 0 4%;
}

.arrow img {
  transition: transform 0.3s ease;
}

.arrow img.rotated {
  transform: rotate(180deg);
}

@media screen and (max-width: 1024px) {
  .guideline-detail .guideline-title {
    font-weight: bold;
    line-height: 1.2;
    padding: 6% 3%;
  }

  .guideline-detail .guideline-title .num {
      font-size: 7vw;
      font-weight: bold;
  }

  .guideline-detail .guideline-title .title {
    font-size: 4vw;
    width: 74.6%;
    padding: 0 2% 0 2%;
  }
  
  .guideline-detail .detail-contents {
    padding: 7%;
  }

  .guideline-detail .guideline-title .arrow {
    width: 7.4%;
  }

  .guideline-detail .detail-contents .intro {
    text-align: left;
  }
}


@media screen and (max-width: 524px) {
  .guideline .guideline-inner .guideline-wrap p {
    font-size: 4.3vw;
  }

  .guideline-detail .guideline-title .num {
      font-size: 9vw;
  }

  .guideline-detail .guideline-title .title {
    font-size: 5vw;
  }
  
}