/* ----- コラプス ----- */
#shiryou .base .list-group-item.toggle-collapse,
#shiryou .base .list-group-item.collapse .list-group-item,
#shiryou .base .list-group-item.collapsing .list-group-item {
  padding: 1em;
}

#shiryou .base .content {
  padding-bottom: 80px;
}

/* ----- フォーム ----- */
#shiryou .base form {
  max-width: 900px;
  width: 100%;
}
@media (max-width: 768px) {
  #shiryou .base form {
    padding: 0 25px;
  }
}

/* ラベル */
#shiryou .base .label-select-hope,
#shiryou .base .label-select-claim {
  margin-bottom: unset;
  font-weight: normal;
}

/* 矢印 */
#shiryou .base .list-group-item .arrow-wrap {
  align-self: center;
}

#shiryou .base .list-group-item .arrow-top,
#shiryou .base .list-group-item .arrow-bottom {
  position: relative;
  display: inline-block;
  padding: 10px;
  height: 100%;
}

#shiryou .base .list-group-item .arrow-top::before,
#shiryou .base .list-group-item .arrow-bottom::before {
  content: "";
  width: 10px;
  height: 10px;
  border-top: solid 1px #000;
  border-right: solid 1px #000;
  position: absolute;
  left: 10px;
  top: 5px;
}

#shiryou .base .list-group-item .arrow-top::before {
  transform: rotate(-45deg);
  top: 10px;
}

#shiryou .base .list-group-item .arrow-bottom::before {
  transform: rotate(135deg);
}

/* チェックボックス */
#shiryou .base input[type="checkbox"]:checked + .span-select-hope:before,
#shiryou .base input[type="checkbox"]:checked + .span-select-claim:before {
  background: #30b27f;
}

#shiryou .base input[type="checkbox"]:checked + .span-select-hope:after,
#shiryou .base input[type="checkbox"]:checked + .span-select-claim:after {
  border-bottom: 4px solid #fff;
  border-right: 4px solid #fff;
}

/* 区切り線 */
form hr {
  margin-bottom: 3em;
}
@media (max-width: 768px) {
  form hr {
    display: none;
  }
}

/* まとめて請求から外すボタン */
#shiryou .base .btn-remove-school-wrapper {
  background-color: #fff;
  padding: 8px 12px;
  border-radius: 5px;
  border: 1px solid rgba(0, 0, 0, 0.125);
}

#shiryou .base .btn-remove-school {
  text-decoration: none;
  line-height: 1;
}

/* 送信ボタン */
#shiryou .base .form-submit {
  position: relative;
  width: 300px;
  height: 75px;
  margin-top: unset;
  padding-bottom: unset;
  background: #65cf65;
  border-radius: 100px;
  box-shadow: 0 6px 0 #4da473;
  font-size: 1.9rem;
  color: #fff;
  transition: all 0.48s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  z-index: 10;
  font-weight: bold;
  line-height: 1.2;
  background-image: url("/img/site_new/arrow_circle_r--white.svg");
  background-size: 19px;
  background-position: right 23px center;
  background-repeat: no-repeat;
}

@media (max-width: 768px) {
  #shiryou .base .form-submit {
    width: 310px;
  }
}

#shiryou .base .form-submit:hover {
  opacity: 1;
  transform: translateY(6px);
  box-shadow: unset;
}

#shiryou .base .form-submit:disabled {
  background-color: #c8c8c8;
  box-shadow: 0 6px 0 #a8a8a8;
  pointer-events: none;
}

#shiryou .base .form-submit:disabled::before {
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  border: 1px solid #d6d6d6;
  border-radius: 100px;
  z-index: -10;
}

/* 送信ボタン - ローディング */
#shiryou .base .form-submit span.loading {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  color: white;
  background: #65cf65;
  line-height: 1;
  width: 100%;
  height: 100%;
  border-radius: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}
@media (max-width: 768px) {
  #shiryou .base .form-submit span.loading {
    font-size: 1.5em;
    width: 85%;
  }
}
span.loading {
  display: inline-block;
  white-space: nowrap;
}
span.loading span {
  display: inline-block;
  vertical-align: middle;
}
span.loading span:nth-of-type(1) {
  -webkit-animation: animation 2s ease 0s infinite;
  animation: animation 2s ease 0s infinite;
}
span.loading span:nth-of-type(2) {
  -webkit-animation: animation 2s ease 0.1s infinite;
  animation: animation 2s ease 0.1s infinite;
}
span.loading span:nth-of-type(3) {
  -webkit-animation: animation 2s ease 0.2s infinite;
  animation: animation 2s ease 0.2s infinite;
}
span.loading span:nth-of-type(4) {
  -webkit-animation: animation 2s ease 0.3s infinite;
  animation: animation 2s ease 0.3s infinite;
}
span.loading span:nth-of-type(5) {
  -webkit-animation: animation 2s ease 0.4s infinite;
  animation: animation 2s ease 0.4s infinite;
}
span.loading span:nth-of-type(6) {
  -webkit-animation: animation 2s ease 0.5s infinite;
  animation: animation 2s ease 0.5s infinite;
}
span.loading span:nth-of-type(7) {
  -webkit-animation: animation 2s ease 0.6s infinite;
  animation: animation 2s ease 0.6s infinite;
}

@-webkit-keyframes animation {
  0% {
    margin-top: 0;
  }
  5% {
    margin-top: -1em;
  }
  10% {
    margin-top: 0;
  }
  13% {
    margin-top: -0.5em;
  }
  16% {
    margin-top: 0;
  }
  18% {
    margin-top: -0.2em;
  }
  20% {
    margin-top: 0;
  }
}

@keyframes animation {
  0% {
    margin-top: 0;
  }
  5% {
    margin-top: -1em;
  }
  10% {
    margin-top: 0;
  }
  13% {
    margin-top: -0.5em;
  }
  16% {
    margin-top: 0;
  }
  18% {
    margin-top: -0.2em;
  }
  20% {
    margin-top: 0;
  }
}

/* 戻るボタン */
#shiryou .base .link-back-wrap {
  padding-top: 36px;
  padding-bottom: 24px;
}
@media (max-width: 768px) {
  #shiryou .base .link-back-wrap {
    padding-top: 26px;
    padding-bottom: 10px;
  }
}

#shiryou .base .link-back-wrap .link-back {
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 45px;
  width: 100%;
  max-width: 230px;
  border: 1px solid #afafaf;
  border-radius: 100px;
  background-color: #fff;
  text-decoration: none;
  color: #7f7f7f;
  box-shadow: 0 3px 0 #b4b4b4;
  background-image: url("/img/site_new/arrow_circle_l--gray.svg");
  background-size: 19px;
  background-position: left 23px center;
  background-repeat: no-repeat;
  font-size: 11px;
}

#shiryou .base .select-container {
  width: 100%;
}
#shiryou .base .select-container::after {
  right: 10px;
  bottom: 50%;
}
#shiryou .base .select-container.is-disabled::after {
  border-top-color: gray;
}
#shiryou .base .select-container select:disabled {
  color: gray;
  background-color: #dadada;
}

@media (max-width: 768px) {
  #shiryou .base .select-container select {
    margin-bottom: 0;
  }
}

/* ----- 関連コンテンツ ----- */
#shiryou .base .recommend-schools {
  padding: 25px 0 70px;
  max-width: 900px;
  width: 100%;
  margin: auto;
}

@media (max-width: 768px) {
  #shiryou .base .recommend-schools {
    padding: 20px 0 0;
    margin: 0 -25px;
    width: auto;
  }
}

#shiryou .base .recommend-schools .inner {
  background-color: #fff;
  padding: 20px 50px 40px;
  border-radius: 20px;
  box-shadow: 0 0 3px rgba(0, 0, 0, 0.16);
}

@media (max-width: 768px) {
  #shiryou .base .recommend-schools .inner {
    padding: 15px 30px 40px;
  }
}

#shiryou .base .recommend-schools .title-wrap {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  max-width: 500px;
  margin: auto;
}

#shiryou .base .recommend-schools .title-wrap .image {
  max-width: 120px;
  width: 100%;
  flex-shrink: 0;
  position: relative;
  pointer-events: none;
}

@media (max-width: 768px) {
  #shiryou .base .recommend-schools .title-wrap .image {
    max-width: 85px;
  }
}

#shiryou .base .recommend-schools .title-wrap .title {
  font-weight: bold;
  margin-left: -8px;
}

@media (max-width: 768px) {
  #shiryou .base .recommend-schools .title-wrap .title {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-left: -6px;
  }
}

#shiryou .base .recommend-schools .title-wrap .sub {
  background-color: #ffdbe5;
  font-size: 14px;
  border-radius: 100px;
  padding: 5px 40px 5px 25px;
  letter-spacing: 0.05em;
  margin-bottom: 13px;
  position: relative;
  display: inline-block;
  align-items: flex-end;
}

@media (max-width: 768px) {
  #shiryou .base .recommend-schools .title-wrap .sub {
    font-size: 10px;
    padding: 2px 28px 2px 10px;
    margin-bottom: 6px;
  }
}

#shiryou .base .recommend-schools .title-wrap .sub::before {
  content: "";
  width: 42px;
  height: 40px;
  border-radius: 50%;
  background: url("/img/site_new/search/department/icon_smile.png") center /
    cover;
  position: absolute;
  right: -5px;
  top: 50%;
  transform: translateY(-50%);
}

@media (max-width: 768px) {
  #shiryou .base .recommend-schools .title-wrap .sub::before {
    width: 30px;
    height: 28px;
    right: -3px;
  }
}

#shiryou .base .recommend-schools .title-wrap .title .sub::after {
  content: "";
  border-style: solid;
  border-right: 5px solid transparent;
  border-left: 5px solid transparent;
  border-top: 12px solid #ffdbe5;
  position: absolute;
  left: 50%;
  bottom: -10px;
  transform: translateX(-50%);
}

@media (max-width: 768px) {
  #shiryou .base .recommend-schools .title-wrap .title .sub::after {
    border-right: 3px solid transparent;
    border-left: 3px solid transparent;
    border-top: 8px solid #ffdbe5;
    bottom: -7px;
  }
}

#shiryou .base .recommend-schools .title-wrap .sub .count {
  font-size: 23px;
}

@media (max-width: 768px) {
  #shiryou .base .recommend-schools .title-wrap .sub .count {
    font-size: 18px;
  }
}

#shiryou .base .recommend-schools .title-wrap .main {
  font-size: 20px;
  line-height: 1.35;
  letter-spacing: 0.05em;
  padding-left: 14px;
  padding-bottom: 10px;
}

@media (max-width: 768px) {
  #shiryou .base .recommend-schools .title-wrap .main {
    font-size: 14px;
  }
}

#shiryou .base .recommend-schools .recommend-wrapper {
  border: 1px solid rgba(0, 0, 0, 0.125);
  border-radius: 15px;
  margin-bottom: 25px;
  font-weight: bold;
  max-height: 500px;
  overflow-y: auto;
  position: relative;
}
#shiryou .base .recommend-schools .recommend-box.is-none {
  display: none;
}
#shiryou
  .base
  .recommend-schools
  .recommend-box
  + .recommend-box
  .recommend-title {
  border-top: 1px solid rgba(0, 0, 0, 0.125);
}

#shiryou .base .recommend-schools .recommend-wrapper .recommend-title {
  padding: 15px 35px 15px 25px;
  position: relative;
  cursor: pointer;
}

#shiryou .base .recommend-schools .recommend-wrapper .recommend-title::before {
  content: "";
  width: 5px;
  height: 5px;
  background-color: #65cf65;
  border-radius: 50%;
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
}

#shiryou .base .recommend-schools .recommend-wrapper .recommend-title::after {
  content: "";
  width: 10px;
  height: 10px;
  border-right: 1px solid #707070;
  border-top: 1px solid #707070;
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%) rotate(135deg);
}

#shiryou
  .base
  .recommend-schools
  .recommend-wrapper
  .recommend-title
  .recommend-title__text {
  font-weight: bold;
}

#shiryou
  .base
  .recommend-schools
  .recommend-wrapper
  .recommend-title.is-active::after {
  transform: translateY(-50%) rotate(-45deg);
}

#shiryou .base .recommend-schools .recommend-wrapper .recommend-content {
  position: relative;
}

#shiryou .base .recommend-schools .recommend-wrapper .recommend-content::after {
  content: "";
  width: 100%;
  height: 1px;
  position: absolute;
  top: 0;
  background: #fff;
  left: 0;
}

#shiryou .base .recommend-schools .recommend-wrapper .recommend-list {
  background-color: #f5f5f5;
}

#shiryou
  .base
  .recommend-schools
  .recommend-wrapper
  .recommend-content
  .recommend-item
  .label-select-hope {
  display: none;
  padding: 12px;
  font-size: 12px;
  font-weight: bold;
  margin-inline: 10px;
  border-top: 1px solid rgba(0, 0, 0, 0.125);
  position: relative;
}

#shiryou
  .base
  .recommend-schools
  .recommend-wrapper
  .recommend-content
  .recommend-item
  .label-select-hope.is-active {
  display: block;
}

#shiryou
  .base
  .recommend-schools
  .recommend-wrapper
  .recommend-content
  .recommend-item
  .label-select-hope
  input[type="checkbox"] {
  top: 0;
  left: 0;
}
