body.recommended-category {
  margin: 0;
  padding: 0;
  position: relative;
}
@media screen and (min-width: 768px), (min-width: 897px) and (orientation: landscape) {
  body.recommended-category .sp-only {
    display: none !important;
  }
}
body.recommended-category a, body.recommended-category button, body.recommended-category summary {
  -webkit-tap-highlight-color: transparent;
}
body.recommended-category img {
  width: 100%;
  vertical-align: middle;
}
body.recommended-category .noto {
  font-family: "Noto Sans JP", sans-serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
}
body.recommended-category #main {
  font-family: "Zen Maru Gothic", sans-serif;
  font-weight: 700;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;
  position: relative;
  color: #1c1c1c;
}
body.recommended-category #main .fixedlinks {
  position: fixed;
  z-index: 7;
  display: flex;
  justify-content: center;
}
body.recommended-category #main .fixedlinks a {
  display: flex;
  justify-content: center;
  align-items: center;
  aspect-ratio: 1/1;
  border-radius: 9999px;
  position: relative;
  background-color: rgba(255, 255, 255, 0.9);
}
body.recommended-category #main .fixedlinks a img {
  height: auto;
}
body.recommended-category #mv {
  position: relative;
  width: 100%;
}
body.recommended-category #links {
  position: relative;
}
body.recommended-category #links a {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  border: 2px solid;
  text-align: center;
  line-height: 1;
  letter-spacing: 0.05em;
  font-weight: 500;
}
body.recommended-category #links a .float {
  background: #000;
  color: #fff;
  position: absolute;
  border-radius: 9999px;
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1.4;
}
body.recommended-category #links a .float::after {
  content: "";
  aspect-ratio: 9/7;
  -webkit-clip-path: polygon(0 0, 100% 0, 50% 100%);
          clip-path: polygon(0 0, 100% 0, 50% 100%);
  background-color: #000;
  position: absolute;
  left: 0;
  right: 0;
  margin: auto;
}
body.recommended-category #links a::after {
  content: "";
  aspect-ratio: 12/10;
  position: absolute;
  margin: auto;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  top: 0;
  bottom: 0;
}
body.recommended-category #links a.ao {
  border-color: #77A6EF;
  background-color: #EAF1FD;
}
body.recommended-category #links a.ao::after {
  background-image: url(https://nafu.ac.jp/themes/nafu/images/lp/recommended-category/recommended-category-link-ao.svg);
}
body.recommended-category #links a.ao .float, body.recommended-category #links a.ao .float::after {
  background-color: #77A6EF;
}
body.recommended-category #links a.endorsement {
  border-color: #F8A4CD;
  background-color: #FEF2F8;
}
body.recommended-category #links a.endorsement::after {
  background-image: url(https://nafu.ac.jp/themes/nafu/images/lp/recommended-category/recommended-category-link-endorsement.svg);
}
body.recommended-category #links a.endorsement .float, body.recommended-category #links a.endorsement .float::after {
  background-color: #F8A4CD;
}
body.recommended-category #links a.online {
  border-color: #5CD88B;
  background-color: #E3F9EB;
}
body.recommended-category #links a.online::after {
  background-image: url(https://nafu.ac.jp/themes/nafu/images/lp/recommended-category/recommended-category-link-online.svg);
}
body.recommended-category #links a.online .float, body.recommended-category #links a.online .float::after {
  background-color: #5CD88B;
}
body.recommended-category #links a.special {
  border-color: #F99900;
  background-color: #FFF5E6;
}
body.recommended-category #links a.special::after {
  background-image: url(https://nafu.ac.jp/themes/nafu/images/lp/recommended-category/recommended-category-link-special.svg);
}
body.recommended-category #links a.special .float, body.recommended-category #links a.special .float::after {
  background-color: #F99900;
}
body.recommended-category #links a::after {
  content: "";
  aspect-ratio: 12/11;
}
body.recommended-category .examdetail .inner {
  background-color: #fff;
}
body.recommended-category .examdetail .sec__head {
  display: flex;
  justify-content: center;
  align-items: center;
  border: solid #262626;
  font-weight: 700;
  letter-spacing: 0.05em;
  border-width: 2px;
}
body.recommended-category .examdetail .sec__head::before {
  content: "";
  aspect-ratio: 1/1;
  height: auto;
  background-image: url(https://nafu.ac.jp/themes/nafu/images/lp/recommended-category/recommended-category-finder.png);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}
body.recommended-category .examdetail .sec__head.submain {
  border: none;
  background-color: transparent !important;
  flex-direction: column;
  gap: 0;
  padding-top: 0;
  padding-bottom: 0;
}
body.recommended-category .examdetail .sec__head.submain::before {
  display: none;
}
body.recommended-category .examdetail .sec__head.submain .sub {
  display: flex;
  justify-content: center;
  align-items: center;
  letter-spacing: 0.05em;
}
body.recommended-category .examdetail .sec__head.submain .sub::before, body.recommended-category .examdetail .sec__head.submain .sub::after {
  content: "";
  display: block;
  aspect-ratio: 1/27;
  width: 1px;
}
body.recommended-category .examdetail .sec__head.submain .sub::before {
  rotate: -45deg;
}
body.recommended-category .examdetail .sec__head.submain .sub::after {
  rotate: 45deg;
}
body.recommended-category .examdetail .sec__head.submain .main {
  font-weight: 900;
  letter-spacing: 0.05em;
}
body.recommended-category .examdetail .sec__head.submain small {
  align-self: flex-end;
}
body.recommended-category .examdetail .points__item {
  display: flex;
}
body.recommended-category .examdetail .points__item:not(:last-of-type) {
  border-bottom: 2px dotted;
}
body.recommended-category .examdetail .points__item dt {
  flex-shrink: 0;
}
body.recommended-category .examdetail .points__item dt img {
  height: auto;
}
body.recommended-category .examdetail .points__item dd {
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1.44;
}
body.recommended-category .examdetail .note {
  line-height: 1.66;
}
body.recommended-category .examdetail#ao {
  background-color: #EAF1FD;
}
body.recommended-category .examdetail#ao .sec__head {
  background-color: #BBD2F7;
}
body.recommended-category .examdetail#ao .points__item {
  border-color: #BBD2F7;
}
body.recommended-category .examdetail#ao .points__item dd span {
  background: linear-gradient(transparent 65%, #EAF1FD 65%);
}
body.recommended-category .examdetail#ao .more__link a {
  background-color: #BBD2F7;
}
body.recommended-category .examdetail#endorsement {
  background-color: #FEF2F8;
}
body.recommended-category .examdetail#endorsement .sec__head {
  background-color: #FBD1E6;
}
body.recommended-category .examdetail#endorsement .points__item {
  border-color: #FBD1E6;
}
body.recommended-category .examdetail#endorsement .points__item dd span {
  background: linear-gradient(transparent 65%, #FEF2F8 65%);
}
body.recommended-category .examdetail#endorsement .more__link a {
  background-color: #FBD1E6;
}
body.recommended-category .examdetail#online {
  background-color: #E3F9EB;
}
body.recommended-category .examdetail#online .sec__head {
  background-color: #CEF3DB;
}
body.recommended-category .examdetail#online .sec__head.submain .sub::before, body.recommended-category .examdetail#online .sec__head.submain .sub::after {
  background-color: #CEF3DB;
}
body.recommended-category .examdetail#online .points__item {
  border-color: #CEF3DB;
}
body.recommended-category .examdetail#online .points__item dd span {
  background: linear-gradient(transparent 65%, #E3F9EB 65%);
}
body.recommended-category .examdetail#online .more__link a {
  background-color: #CEF3DB;
}
body.recommended-category .examdetail#special {
  background-color: #FFF5E6;
}
body.recommended-category .examdetail#special .sec__head {
  background-color: #FDDBA5;
}
body.recommended-category .examdetail#special .sec__head.submain .sub::before, body.recommended-category .examdetail#special .sec__head.submain .sub::after {
  background-color: #FDDBA5;
}
body.recommended-category .examdetail#special .sec__head.submain .main {
  color: #F99900;
}
body.recommended-category .examdetail#special .points__item {
  border-color: #FDDBA5;
}
body.recommended-category .examdetail#special .points__item dd span {
  background: linear-gradient(transparent 65%, #FFF5E6 65%);
}
body.recommended-category .examdetail#special .more__link a {
  background-color: #FDDBA5;
}
body.recommended-category .more__link {
  display: flex;
}
body.recommended-category .more__link a {
  width: -moz-max-content;
  width: max-content;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  border: 2px solid #262626;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 9999px;
  color: #262626;
  position: relative;
  font-weight: 700;
  letter-spacing: 0.05em;
}
body.recommended-category .more__link a.full {
  width: 100%;
}
body.recommended-category .more__link a span {
  flex: 1;
  text-align: center;
}
body.recommended-category .more__link a::after {
  content: "";
  aspect-ratio: 11/10;
  position: absolute;
  margin: auto;
  background-image: url(https://nafu.ac.jp/themes/nafu/images/lp/recommended-category/recommended-category-morelink.svg);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  top: 0;
  bottom: 0;
}
body.recommended-category .image__table {
  overflow: hidden;
  position: relative;
}
body.recommended-category .image__table::before {
  content: "";
  position: absolute;
  inset: 0;
  display: inline-block;
  margin: auto;
  aspect-ratio: 1/1;
  background-image: url(https://nafu.ac.jp/themes/nafu/images/lp/recommended-category/recommended-category-hand.png);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  transition: opacity 0.2s;
}
body.recommended-category .image__table .image__tableinner {
  overflow: auto;
}
body.recommended-category .image__table.scrolled::before {
  opacity: 0;
}
body.recommended-category .image__table img {
  max-width: unset;
  width: auto;
}
body.recommended-category .note {
  font-weight: 500;
}
body.recommended-category #footer .section-links {
  margin-top: 0;
}

@media screen and (min-width: 768px) {
  body.recommended-category #main .fixedlinks {
    bottom: min(1.9166666667vw, 23px);
    right: min(1.9166666667vw, 23px);
    gap: min(0.8333333333vw, 10px);
  }
  body.recommended-category #main .fixedlinks a {
    width: min(5.8333333333vw, 70px);
    transition: 0.2s;
  }
  body.recommended-category #main .fixedlinks a::before, body.recommended-category #main .fixedlinks a::after {
    content: "";
    position: absolute;
    inset: 0;
    background-repeat: no-repeat;
    background-position: center;
    background-size: min(1.75vw, 21px) auto;
    transition: 0.2s;
  }
  body.recommended-category #main .fixedlinks a::before {
    background-image: url(https://nafu.ac.jp/themes/nafu/images/lp/recommended-category/recommended-category-totop-pc.svg);
  }
  body.recommended-category #main .fixedlinks a::after {
    background-image: url(https://nafu.ac.jp/themes/nafu/images/lp/recommended-category/recommended-category-totop-active-pc.svg);
    opacity: 0;
  }
  body.recommended-category #main .fixedlinks a img {
    display: none;
  }
  body.recommended-category #main .fixedlinks a:hover {
    opacity: 1;
    background-color: #FF5C50;
  }
  body.recommended-category #main .fixedlinks a:hover::after {
    opacity: 1;
  }
  body.recommended-category #mv {
    background: linear-gradient(to right, #A6C5F4 0%, #A6C5F4 50%, #FAC3DE 50%, #FAC3DE 100%);
    padding-top: min(16.5833333333vw, 199px);
  }
  body.recommended-category #mv .mv__imgs {
    width: min(54.3333333333vw, 652px);
    margin-left: auto;
    margin-right: auto;
  }
  body.recommended-category #links {
    padding: min(11.0833333333vw, 133px) 0 min(10vw, 120px);
    width: -moz-max-content;
    width: max-content;
    display: grid;
    margin-left: auto;
    margin-right: auto;
    grid-template-columns: repeat(2, min(31.5vw, 378px));
    gap: min(8.3333333333vw, 100px) min(4.6666666667vw, 56px);
  }
  body.recommended-category #links a {
    border-radius: min(0.8333333333vw, 10px);
    height: min(7.4166666667vw, 89px);
    padding-right: min(1.8333333333vw, 22px);
    font-size: min(1.8333333333vw, 22px);
    transition: 0.2s;
  }
  body.recommended-category #links a::after {
    right: min(2vw, 24px);
    width: min(1.25vw, 15px);
    transition: 0.2s;
  }
  body.recommended-category #links a .float {
    display: flex;
    justify-content: center;
    align-items: center;
    left: 0;
    right: 0;
    margin: auto;
    bottom: min(5.9166666667vw, 71px);
    width: min(25.3333333333vw, 304px);
    padding: min(0.9166666667vw, 11px) 0 min(1.3333333333vw, 16px);
    font-size: min(1.5vw, 18px);
    min-height: min(6.4166666667vw, 77px);
  }
  body.recommended-category #links a .float::after {
    bottom: min(-0.3333333333vw, -4px);
    width: min(0.75vw, 9px);
  }
  body.recommended-category #links a .label {
    transition: 0.2s;
  }
  body.recommended-category #links a:hover {
    translate: 0 min(0.4166666667vw, 5px);
    opacity: 1;
  }
  body.recommended-category #links a:hover .label {
    opacity: 0.8;
  }
  body.recommended-category #links a:hover .float .label {
    opacity: 0.9;
  }
  body.recommended-category #links a:hover::after {
    translate: 0 min(0.4166666667vw, 5px);
  }
  body.recommended-category .examdetail {
    padding: min(10vw, 120px) 0;
  }
  body.recommended-category .examdetail .inner {
    margin-left: auto;
    margin-right: auto;
    width: min(91.6666666667vw, 1100px);
    border-radius: min(1.6666666667vw, 20px);
    padding: min(7.3333333333vw, 88px) min(11.75vw, 141px);
  }
  body.recommended-category .examdetail .sec__head {
    margin-left: auto;
    margin-right: auto;
    width: min(40.8333333333vw, 490px);
    gap: min(2vw, 24px);
    border-radius: min(0.6666666667vw, 8px);
    padding: min(1.5vw, 18px) 0 min(1.9166666667vw, 23px);
    font-size: min(2.6666666667vw, 32px);
    margin-bottom: min(2vw, 24px);
  }
  body.recommended-category .examdetail .sec__head::before {
    width: min(3.1666666667vw, 38px);
  }
  body.recommended-category .examdetail .sec__head.submain {
    width: -moz-max-content;
    width: max-content;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: min(0.4166666667vw, 5px);
  }
  body.recommended-category .examdetail .sec__head.submain .sub {
    gap: min(2.1666666667vw, 26px);
    font-size: min(1.6666666667vw, 20px);
    margin-bottom: min(0.6666666667vw, 8px);
  }
  body.recommended-category .examdetail .sec__head.submain .sub::before, body.recommended-category .examdetail .sec__head.submain .sub::after {
    width: 1px;
    height: min(3.0833333333vw, 37px);
  }
  body.recommended-category .examdetail .sec__head.submain .main {
    font-size: min(2.6666666667vw, 32px);
  }
  body.recommended-category .examdetail .sec__head.submain small {
    font-size: min(1.3333333333vw, 16px);
    margin-top: min(0.4166666667vw, 5px);
  }
  body.recommended-category .examdetail .sec__head.submain img {
    width: auto;
    height: min(3.9166666667vw, 47px);
  }
  body.recommended-category .examdetail .points {
    margin-bottom: min(3.3333333333vw, 40px);
  }
  body.recommended-category .examdetail .points__item {
    gap: min(1.25vw, 15px);
    padding: min(2vw, 24px) 0 min(2vw, 24px);
    align-items: center;
  }
  body.recommended-category .examdetail .points__item dt {
    width: min(6vw, 72px);
  }
  body.recommended-category .examdetail .points__item dd {
    font-size: min(2vw, 24px);
  }
  body.recommended-category .examdetail .note {
    font-size: min(1.3333333333vw, 16px);
    margin-top: min(-1.3333333333vw, -16px);
    padding-left: min(7.0833333333vw, 85px);
    padding-bottom: min(2.3333333333vw, 28px);
  }
  body.recommended-category .examdetail .sec__img {
    margin-top: min(3.3333333333vw, 40px);
  }
  body.recommended-category .examdetail .points + .sec__img {
    margin-top: min(0.8333333333vw, 10px);
  }
  body.recommended-category .examdetail#ao .more__link a:hover {
    background-color: rgba(187, 210, 247, 0.8);
  }
  body.recommended-category .examdetail#endorsement .more__link a:hover {
    background-color: rgba(251, 209, 230, 0.8);
  }
  body.recommended-category .examdetail#online .more__link a:hover {
    background-color: rgba(206, 243, 219, 0.8);
  }
  body.recommended-category .examdetail#special .more__link a:hover {
    background-color: rgba(253, 219, 165, 0.8);
  }
  body.recommended-category .more__link {
    width: -moz-max-content;
    width: max-content;
    margin-left: auto;
    margin-right: auto;
    justify-content: center;
    gap: min(2.6666666667vw, 32px);
    margin-top: min(5.3333333333vw, 64px);
  }
  body.recommended-category .more__link a {
    min-width: min(23.6666666667vw, 284px);
    min-height: min(5.3333333333vw, 64px);
    padding: 0 min(1.3333333333vw, 16px) 0 min(0vw, 0px);
    font-size: min(1.5vw, 18px);
  }
  body.recommended-category .more__link a span {
    transition: 0.2s;
  }
  body.recommended-category .more__link a::after {
    top: 0;
    bottom: 0;
    margin: auto;
    right: min(2vw, 24px);
    width: min(0.9166666667vw, 11px);
    transition: 0.2s;
  }
  body.recommended-category .more__link a:hover {
    opacity: 1;
  }
  body.recommended-category .more__link a:hover span {
    opacity: 0.8;
  }
  body.recommended-category .more__link a:hover::after {
    right: min(1.5833333333vw, 19px);
  }
  body.recommended-category .image__table {
    margin-bottom: min(5.3333333333vw, 64px);
  }
  body.recommended-category .image__table::before {
    display: none;
  }
  body.recommended-category .image__table img {
    width: 100%;
  }
}
@media screen and (max-width: 767px), (max-width: 896px) and (orientation: landscape) {
  body.recommended-category .pc-only {
    display: none;
  }
  body.recommended-category a:hover, body.recommended-category button:hover, body.recommended-category summary:hover {
    opacity: 1;
  }
  body.recommended-category #main {
    position: relative;
  }
  body.recommended-category #main .fixedlinks {
    position: fixed;
    z-index: 7;
    bottom: 16dvw;
    right: 2.933dvw;
    display: flex;
    justify-content: center;
    gap: 2.667dvw;
  }
  body.recommended-category #main .fixedlinks a {
    display: flex;
    justify-content: center;
    align-items: center;
    aspect-ratio: 1/1;
    border-radius: 9999px;
    width: 12dvw;
    position: relative;
    background-color: rgba(255, 255, 255, 0.9);
  }
  body.recommended-category #main .fixedlinks a img {
    width: 3.467dvw;
    height: auto;
  }
  body.recommended-category #mv {
    aspect-ratio: unset;
  }
  body.recommended-category #links {
    display: flex;
    flex-direction: column;
    gap: 13.067dvw;
    padding: 26.933dvw 12.533dvw 12.8dvw;
  }
  body.recommended-category #links a {
    flex-direction: column;
    border-radius: 2.667dvw;
    height: 17.333dvw;
    padding-right: 2.667dvw;
    font-size: 4.267dvw;
  }
  body.recommended-category #links a::after {
    right: 4.267dvw;
    width: 3.2dvw;
  }
  body.recommended-category #links a .float {
    bottom: 14.133dvw;
    left: 4.267dvw;
    right: 4.267dvw;
    width: 66.4dvw;
    padding: 1.867dvw 0 2.4dvw;
    font-size: 3.733dvw;
  }
  body.recommended-category #links a .float::after {
    bottom: -1.867dvw;
    width: 2.4dvw;
  }
  body.recommended-category .examdetail {
    padding: 19.2dvw 6.133dvw;
  }
  body.recommended-category .examdetail .inner {
    border-radius: 5.333dvw;
    padding: 5.6dvw 4.533dvw 11.2dvw;
  }
  body.recommended-category .examdetail .sec__head {
    gap: 2.933dvw;
    border-radius: 2.133dvw;
    padding: 2.667dvw 0 3.2dvw;
    font-size: 5.333dvw;
    margin-bottom: 1.6dvw;
  }
  body.recommended-category .examdetail .sec__head::before {
    width: 6.667dvw;
  }
  body.recommended-category .examdetail .sec__head.submain {
    padding-left: 2.4dvw;
    padding-right: 2.4dvw;
  }
  body.recommended-category .examdetail .sec__head.submain .sub {
    gap: 4.267dvw;
    font-size: 4.267dvw;
    margin-bottom: 2.667dvw;
  }
  body.recommended-category .examdetail .sec__head.submain .sub::before, body.recommended-category .examdetail .sec__head.submain .sub::after {
    height: 7.2dvw;
  }
  body.recommended-category .examdetail .sec__head.submain .main {
    font-size: 5.333dvw;
  }
  body.recommended-category .examdetail .sec__head.submain small {
    font-size: 3.2dvw;
    margin-top: 1.6dvw;
  }
  body.recommended-category .examdetail .sec__body {
    padding-left: 2.133dvw;
    padding-right: 2.133dvw;
  }
  body.recommended-category .examdetail .points {
    margin-bottom: 2.667dvw;
  }
  body.recommended-category .examdetail .points__item {
    gap: 2.933dvw;
    padding: 6.933dvw 0 8dvw;
  }
  body.recommended-category .examdetail .points__item dt {
    width: 12.267dvw;
  }
  body.recommended-category .examdetail .points__item dd {
    padding-top: 2.4dvw;
    font-size: 4.8dvw;
  }
  body.recommended-category .examdetail .note {
    font-size: 3.2dvw;
    margin-top: -3.733dvw;
    padding-bottom: 8dvw;
  }
  body.recommended-category .examdetail .sec__img {
    margin-top: 10.667dvw;
  }
  body.recommended-category .examdetail .points + .sec__img {
    margin-top: 2.667dvw;
  }
  body.recommended-category .examdetail#ao {
    padding-top: 12.8dvw;
  }
  body.recommended-category .more__link {
    flex-direction: column;
    gap: 6.4dvw;
    margin-top: 10.667dvw;
  }
  body.recommended-category .more__link a {
    min-width: 52.8dvw;
    min-height: 12dvw;
    padding: 0 5.333dvw 0 5.6dvw;
    font-size: 3.733dvw;
  }
  body.recommended-category .more__link a::after {
    top: 0;
    bottom: 0;
    margin: auto;
    right: 4.267dvw;
    width: 2.933dvw;
    background-size: 1.6dvw;
  }
  body.recommended-category .image__table {
    margin-bottom: 3.733dvw;
  }
  body.recommended-category .image__table::before {
    width: 17.867dvw;
  }
  body.recommended-category .image__table .image__tableinner {
    padding-bottom: 2.667dvw;
  }
  body.recommended-category .image__table img {
    height: 75.2dvw;
  }
}

/* ログイン時のユーザーアイコンが大きくならないように調整（ZANMAI） */
body.recommended-category img.acms-admin-margin-right-mini {
  width: 20px;
}