#fv {}

#fv figure {}

#fv figure figcaption {
  left: unset;
  right: 5px;
  color: var(--bodycolor);
}


/* CFA */
#cfa {}

#cfa ol.merit {
  display: flex;
  gap: 24px;
}

#cfa ol.merit li {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 0;
  width: calc(25% - 8px);
  font-size: 2rem;
  line-height: 3rem;
  color: var(--bodycolor);
  text-align: center;
  background: linear-gradient(180deg, rgba(170, 170, 136, 1) 0%, rgba(70, 70, 34, 1) 100%);
}

.room_wrap {
  margin-bottom: 0vw;
}

.room_wrap .imgBox {
  width: 100vw;
  max-width: 1500px;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  margin-top: 5vw;
}

.room_wrap::after {
  bottom: 0;
}

@media screen and (max-width: 767px) {
  .room_wrap {
    margin-bottom: 0;
  }

}



/* BUTTONS */
#buttons {
  padding: 8rem 0;
  max-width: 1200px;
  width: 90%;
  margin-inline: auto;
}

#buttons ol {
  display: flex;
  gap: 40px;
  margin-bottom: 2vw;
}

#buttons ol li {
  width: calc(50% - 20px);
  background-color: var(--bodycolor);
}

#buttons ol li a {
  display: block;

  transition: var(--button);
}

#buttons ol li a:hover {
  opacity: .6;
}


/* CHOUKIYURYO */
#choukiyuryo {
  padding: 8rem 0 4rem;
  max-width: 1200px;
  width: 90%;
  margin-inline: auto;
}

#choukiyuryo .special,
#choukiyuryo .standard {
  margin-bottom: 5rem;
  padding: 2rem;
  background-color: #fff;
  font-family: sans-serif;
}

#choukiyuryo .special>.title,
#choukiyuryo .standard>.title {
  padding: 1rem 0;
  font-size: 1.8rem;
  letter-spacing: .1rem;
  text-align: center;
  color: var(--bodycolor);
  background-color: #717d84;
  color: #fff;
}

#choukiyuryo .special {
  margin-top: 3vw;
}

#choukiyuryo .special ol {
  display: flex;
  gap: 10px;
  margin-top: 2rem;
  width: 100%;
}

#choukiyuryo .special ol li {
  /* display: flex;
  flex-direction: column;
  justify-content: space-between; */
  padding: 5px;
  width: 25%;
  background-color: #e8e8e8;
}

#choukiyuryo .special ol li>.name {
  padding: .5rem 0;
  font-size: 1.4rem;
  text-align: center;
  color: var(--bodycolor);
  background-color: #822230;
  color: #fff;
}

#choukiyuryo .special ol li>.explanation {
  margin: 1rem 0;
  padding-bottom: 1rem;
  font-size: 1.3rem;
  line-height: 1.8rem;
  letter-spacing: -.02rem;
  border-bottom: #000 solid 1px;
}

#choukiyuryo .special ol li>div {
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

#choukiyuryo .special ol li>div .name {
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: -.05rem;
  text-align: center;
}

#choukiyuryo .special ol li>div .name span {
  display: block;
  margin-top: .2rem;
  font-size: 80%;
}

#choukiyuryo .special ol li>div .explanation {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  margin-top: .5rem;
  text-align: center;
}

#choukiyuryo .special ol li>div .explanation p {
  letter-spacing: -.1rem;
}

#choukiyuryo .special ol li>div .explanation p.r {
  padding: .2rem 0 .4rem;
  color: var(--bodycolor);
  background-color: #822230;
}

#choukiyuryo .special ol li>div .explanation p.g {
  padding: .2rem 0 .4rem;
  color: var(--bodycolor);
  background-color: #822230;
  color: #fff;
  font-size: 1.2rem;
}

#choukiyuryo .special ol li>div .explanation p span {
  margin-left: .5rem;
  font-size: 140%;
}

#choukiyuryo .special ol li>div .explanation p span n {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 120%;
  font-weight: 600;
}

#choukiyuryo .special ol li:nth-child(1)>div .explanation p:first-child span n,
#choukiyuryo .special ol li:nth-child(2)>div .explanation p:nth-child(2) span n {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 160%;
  font-weight: 600;
}

#choukiyuryo .special ol li:nth-child(n+2)>div .explanation p:first-child {
  position: relative;
}

#choukiyuryo .special ol li:nth-child(n+2)>div .explanation p:first-child::after {
  content: "▼";
  display: block;
  margin: .8rem 0 .4rem;
  font-size: 1.4rem;
  line-height: 0;
  transform: scaleX(.8);
}

#choukiyuryo .special ol li:nth-child(n+2)>div .explanation p:last-child span n {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 160%;
  font-weight: 600;
}


#choukiyuryo .standard ol {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 2rem;
  width: 100%;
}

#choukiyuryo .standard ol li {
  display: flex;
  width: calc(50% - 10px);
}

#choukiyuryo .standard ol li>.title {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 0;
  width: 40%;
  font-size: 1.8rem;
  color: var(--bodycolor);
  text-align: center;
  background-position: center;
  background-size: cover;
  text-shadow: 0 0 4px #000;
  color: #fff;
}

#choukiyuryo .standard ol li:nth-child(1)>.title {
  background-image: url(../img/standard1.webp);
}

#choukiyuryo .standard ol li:nth-child(2)>.title {
  background-image: url(../img/standard2.webp);
}

#choukiyuryo .standard ol li:nth-child(3)>.title {
  background-image: url(../img/standard3.webp);
}

#choukiyuryo .standard ol li:nth-child(4)>.title {
  background-image: url(../img/standard4.webp);
}

#choukiyuryo .standard ol li:nth-child(5)>.title {
  background-image: url(../img/standard5.webp);
}

#choukiyuryo .standard ol li:nth-child(6)>.title {
  background-image: url(../img/standard6.webp);
}

#choukiyuryo .standard ol li:nth-child(7)>.title {
  background-image: url(../img/standard7.webp);
}

#choukiyuryo .standard ol li:nth-child(8)>.title {
  background-image: url(../img/standard8.webp);
}

#choukiyuryo .standard ol li>.explanation {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 1.5rem;
  width: 60%;
  font-size: 1.1rem;
  line-height: 2rem;
  background-color: #e8e8e8;
}

#choukiyuryo .standard ol li>.explanation span {
  font-size: 1.4rem;
  text-align: justify;
}

#choukiyuryo .standard ol li>.explanation span:first-child {
  margin-bottom: 1.5rem;
  font-size: 160%;
  letter-spacing: .1rem;
  color: #717d84;
}

#choukiyuryo .standard ol li>.explanation span.annotation {
  font-size: 80%;
}


#choukiyuryo .special>p.annotation,
#choukiyuryo .standard>p.annotation {
  margin-top: 1rem;
  text-align: right;
}

#choukiyuryo .standard>span.annotation {
  display: block;
  margin-top: .2rem;
  font-size: 120%;
  text-align: justify;
}

.bg::before {
  background-color: rgb(151, 141, 130, .25);
}

@media screen and (min-width: 768px) and (max-width: 1300px) {}



@media screen and (max-width: 767px) {
  #cfa ol.merit {
    flex-wrap: wrap;
    gap: 10px;
  }

  #cfa ol.merit li {
    width: calc(50% - 5px);
    font-size: 1.6rem;
    line-height: 2rem;
  }

  #buttons {
    padding: 4rem 0;
  }

  #buttons ol {
    flex-wrap: wrap;
    gap: 20px;
  }

  #buttons ol li {
    width: 100%;
  }

  #choukiyuryo {
    padding: 0 0 4rem;
  }

  #choukiyuryo .special,
  #choukiyuryo .standard {
    margin-bottom: 2rem;
    padding: 1rem;
  }

  #choukiyuryo .special>.title,
  #choukiyuryo .standard>.title {
    font-size: 1.4rem;
  }

  #choukiyuryo .special ol {
    flex-wrap: wrap;
    gap: 10px;
  }

  #choukiyuryo .special ol li {
    width: 100%;
  }

  #choukiyuryo .special ol li>.name {
    font-size: 1.6rem;
  }

  #choukiyuryo .special ol li>.explanation {
    font-size: 1.4rem;
    text-align: center;
  }

  #choukiyuryo .special ol li>div .name {
    font-size: 1.4rem;
    line-height: 1.5rem;
    letter-spacing: .1rem;
  }

  #choukiyuryo .special ol li>div .explanation {
    font-size: 120%;
  }

  #choukiyuryo .standard ol {
    gap: 10px;
  }

  #choukiyuryo .standard ol li {
    flex-direction: column;
    width: 100%;
  }

  #choukiyuryo .standard ol li>.title {
    padding: .5rem 0;
    width: 100%;
    min-height: 5rem;
  }

  #choukiyuryo .standard ol li>.explanation {
    justify-content: flex-start;
    padding: 1rem;
    width: 100%;
    /* height: -webkit-fill-available; */
  }

  #choukiyuryo .standard ol li>.explanation span:nth-child(1) {
    font-size: 140%;
    text-align: left;
  }

  #choukiyuryo .standard ol li>.explanation span:nth-child(2) {
    font-size: 120%;
  }

  #choukiyuryo .standard ol li>.explanation span.annotation {
    margin-top: .5rem;
    text-align: left;
    line-height: 1rem;
  }

}