body#school .pagetitle {
  color: #9a8668;
  background-image: url("../images/school/pagetitle_bg.jpg");
  background-position: center 25%;
  text-shadow: 0 0 0.625rem rgba(255, 255, 255, 0.8), 0 0 0.625rem rgba(255, 255, 255, 0.8), 0 0 0.625rem rgba(255, 255, 255, 0.8), 0 0 0.625rem rgba(255, 255, 255, 0.8);
}
body#school .pagetitle .container {
  flex-direction: column;
}
body#school .pagetitle h2 {
  margin-top: 0;
  margin-bottom: 1.25rem;
}
body#school .section {
  padding: 6.25rem 0 2.5rem;
  background-color: #ebe7e1;
}
body#school .section .subject {
  display: flex;
  flex-direction: column-reverse;
  margin-bottom: 3.75rem;
  color: #9a8668;
  text-align: center;
  line-height: 1.25;
}
body#school .section .subject h3 {
  margin-top: 1.25rem;
  font-size: 4.375rem;
  font-weight: 500;
}
body#school .section .subject p {
  font-size: 1.875rem;
}
body#school .section .detail {
  margin-bottom: 5rem;
}
body#school .section .detail p {
  font-size: 1.25rem;
  text-align: center;
  line-height: 1.75;
}
body#school .section .subtitle {
  display: flex;
  flex-direction: column-reverse;
  margin-bottom: 5rem;
  color: #9a8668;
  text-align: center;
  line-height: 1.25;
}
body#school .section .subtitle h4 {
  margin-top: 0.625rem;
  font-size: 3rem;
}
body#school .section .subtitle p {
  font-size: 1.875rem;
}
body#school .section .feature {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding-left: 1.25rem;
}
body#school .section .feature li {
  flex-basis: 30%;
  margin-bottom: 5rem;
}
body#school .section .feature li figure {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  position: relative;
  width: 100%;
  margin-bottom: 1.25rem;
  padding-top: 100%;
}
body#school .section .feature li figure img {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 10;
  width: 100%;
  height: 100%;
  object-fit: cover;
  -moz-border-radius: 50%;
  -webkit-border-radius: 50%;
  border-radius: 50%;
}
body#school .section .feature li figure figcaption {
  position: absolute;
  top: -1.25rem;
  left: -1.25rem;
  z-index: 20;
  padding: 0.625rem;
  color: #9a8668;
  font-size: 5.625rem;
}
body#school .section .feature li figure figcaption::before, body#school .section .feature li figure figcaption::after {
  content: '';
  position: absolute;
  width: 0;
  height: 0;
  z-index: -1;
  border-style: solid;
  border-width: 15.625rem 15.625rem 0 0;
}
body#school .section .feature li figure figcaption::before {
  top: 1px;
  left: 1px;
  border-color: #231815 transparent transparent transparent;
}
body#school .section .feature li figure figcaption::after {
  top: 0;
  left: 0;
  border-color: #ebe7e1 transparent transparent transparent;
}
body#school .section .feature li p {
  margin-bottom: 1.25rem;
  font-size: 1.875rem;
  text-align: center;
  line-height: 1.35;
}
body#school .section .feature li .nav {
  text-align: center;
}
body#school .section .feature li .nav a {
  position: relative;
  display: inline-block;
  padding: 0.4375rem 0 0.1875rem 1.875rem;
  color: #caa365;
  font-size: 1.25rem;
  line-height: 1.25;
}
body#school .section .feature li .nav a::before {
  content: '';
  display: block;
  position: absolute;
  top: 50%;
  left: 0;
  width: 1.25rem;
  height: 1.25rem;
  background-color: #caa365;
  -moz-border-radius: 50%;
  -webkit-border-radius: 50%;
  border-radius: 50%;
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
}
body#school .section .feature li .nav a::after {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  content: '';
  display: block;
  position: absolute;
  top: 50%;
  left: 0.4375rem;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0.25rem 0 0.25rem 0.5rem;
  border-color: transparent transparent transparent #ffffff;
  -moz-transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
  -o-transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
  -webkit-transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
  transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
}
body#school .section .course a {
  display: block;
}
body#school .section .course a figure {
  position: relative;
  height: 32.5rem;
  overflow: hidden;
}
body#school .section .course a figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  -moz-transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
  -o-transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
  -webkit-transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
  transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}
body#school .section .course a figure figcaption {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  color: #9a8668;
  text-align: center;
  line-height: 1.25;
  text-shadow: 0 0 0.625rem rgba(255, 255, 255, 0.8), 0 0 0.625rem rgba(255, 255, 255, 0.8), 0 0 0.625rem rgba(255, 255, 255, 0.8), 0 0 0.625rem rgba(255, 255, 255, 0.8);
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
}
body#school .section .course a figure figcaption h2 {
  margin-bottom: 1.25rem;
  font-size: 3.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}
body#school .section .course a figure figcaption p {
  font-size: 1.5rem;
}
body#school .section .course a:hover figure img {
  -moz-transform: scale(1.1);
  -ms-transform: scale(1.1);
  -webkit-transform: scale(1.1);
  transform: scale(1.1);
}
body#school .section.salon {
  padding: 2.5rem 0;
  background-color: #ffffff;
}
body#school .section.salon a {
  display: block;
  background-color: #000000;
}
body#school .section.salon a figure {
  position: relative;
  height: 32.5rem;
  overflow: hidden;
}
body#school .section.salon a figure img {
  width: 100%;
  height: 100%;
  opacity: 0.6;
  object-fit: cover;
  -moz-transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
  -o-transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
  -webkit-transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
  transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}
body#school .section.salon a figure figcaption {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  color: #ffffff;
  text-align: center;
  line-height: 1.25;
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
}
body#school .section.salon a figure figcaption h2 {
  margin-bottom: 1.25rem;
  font-size: 3.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}
body#school .section.salon a figure figcaption p {
  font-size: 1.5rem;
}
body#school .section.salon a:hover figure img {
  -moz-transform: scale(1.1);
  -ms-transform: scale(1.1);
  -webkit-transform: scale(1.1);
  transform: scale(1.1);
}
body#school .overlay {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  z-index: 1100;
  background-color: rgba(0, 0, 0, 0.6);
  opacity: 0;
  pointer-events: none;
  -moz-transition: opacity 0.5s linear;
  -o-transition: opacity 0.5s linear;
  -webkit-transition: opacity 0.5s linear;
  transition: opacity 0.5s linear;
}
body#school .overlay.active {
  opacity: 1;
  pointer-events: auto;
}
body#school .modal {
  position: fixed;
  top: 50%;
  left: 50%;
  z-index: 1200;
  width: 90%;
  max-width: 1000px;
  -moz-transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
  -o-transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
  -webkit-transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
  transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
  -moz-transform: translate(-50%, -50%) scale(0);
  -ms-transform: translate(-50%, -50%) scale(0);
  -webkit-transform: translate(-50%, -50%) scale(0);
  transform: translate(-50%, -50%) scale(0);
}
body#school .modal .close {
  position: absolute;
  bottom: 100%;
  right: 0;
  width: 3.125rem;
  height: 3.125rem;
  cursor: pointer;
  pointer-events: auto;
}
body#school .modal .close::before, body#school .modal .close::after {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  content: '';
  width: 1.875rem;
  height: 2px;
  background-color: #ffffff;
}
body#school .modal .close::before {
  -moz-transform: translate(-50%, -50%) rotate(45deg);
  -ms-transform: translate(-50%, -50%) rotate(45deg);
  -webkit-transform: translate(-50%, -50%) rotate(45deg);
  transform: translate(-50%, -50%) rotate(45deg);
}
body#school .modal .close::after {
  -moz-transform: translate(-50%, -50%) rotate(-45deg);
  -ms-transform: translate(-50%, -50%) rotate(-45deg);
  -webkit-transform: translate(-50%, -50%) rotate(-45deg);
  transform: translate(-50%, -50%) rotate(-45deg);
}
body#school .modal .content {
  position: relative;
  display: flex;
  justify-content: space-between;
  padding: 1.875rem;
  background-color: #9a8668;
}
body#school .modal .content figure {
  flex-basis: 46%;
  min-height: 20rem;
}
body#school .modal .content figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
body#school .modal .content .detail {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  flex-basis: 50%;
  align-self: center;
}
body#school .modal .content .detail .label {
  margin-top: -0.16em;
  margin-bottom: 0.9375rem;
  color: rgba(255, 255, 255, 0.5);
  font-size: 6.25rem;
}
body#school .modal .content .detail h3 {
  margin-bottom: 0.625rem;
  padding-bottom: 0.625rem;
  border-bottom: solid 1px #ffffff;
  color: #ffffff;
  font-size: 1.875rem;
  line-height: 1.5;
}
body#school .modal .content .detail p {
  color: #ffffff;
  font-size: 1rem;
  line-height: 1.75;
}
body#school .modal.active {
  -moz-transform: translate(-50%, -50%) scale(1);
  -ms-transform: translate(-50%, -50%) scale(1);
  -webkit-transform: translate(-50%, -50%) scale(1);
  transform: translate(-50%, -50%) scale(1);
}

/* RWD
---------------------------------------------------------------- */
@media only screen and (max-width: 768px) {
  body#school .pagetitle {
    text-shadow: 0 0 1.30208vw #ffffff, 0 0 1.30208vw #ffffff, 0 0 1.30208vw #ffffff, 0 0 1.30208vw #ffffff, 0 0 1.30208vw #ffffff, 0 0 1.30208vw #ffffff;
  }
  body#school .pagetitle h2 {
    margin-top: 0;
    margin-bottom: 5.20833vw;
  }
  body#school .section {
    padding: 15.625vw 0 5.20833vw;
  }
  body#school .section .subject {
    margin-bottom: 10.41667vw;
  }
  body#school .section .subject h3 {
    margin-top: 2.60417vw;
    font-size: 9.375vw;
  }
  body#school .section .subject p {
    font-size: 4.6875vw;
  }
  body#school .section .detail {
    margin-bottom: 15.625vw;
  }
  body#school .section .detail p {
    font-size: 3.64583vw;
  }
  body#school .section .subtitle {
    margin-bottom: 15.625vw;
  }
  body#school .section .subtitle h4 {
    margin-top: 2.60417vw;
    font-size: 7.8125vw;
  }
  body#school .section .subtitle p {
    font-size: 4.16667vw;
  }
  body#school .section .feature {
    padding-left: 2.60417vw;
  }
  body#school .section .feature li {
    flex-basis: 46%;
    margin-bottom: 10.41667vw;
  }
  body#school .section .feature li figure {
    margin-bottom: 5.20833vw;
  }
  body#school .section .feature li figure figcaption {
    top: -2.60417vw;
    left: -2.60417vw;
    padding: 1.30208vw;
    font-size: 9.375vw;
  }
  body#school .section .feature li figure figcaption::before, body#school .section .feature li figure figcaption::after {
    border-width: 26.04167vw 26.04167vw 0 0;
  }
  body#school .section .feature li p {
    margin-bottom: 2.60417vw;
    font-size: 4.16667vw;
  }
  body#school .section .feature li .nav a {
    padding: 1.82292vw 0 0.78125vw 5.20833vw;
    font-size: 3.64583vw;
  }
  body#school .section .feature li .nav a::before {
    width: 3.64583vw;
    height: 3.64583vw;
  }
  body#school .section .feature li .nav a::after {
    left: 1.30208vw;
    border-width: 0.78125vw 0 0.78125vw 1.5625vw;
  }
  body#school .section .course a figure {
    height: 52.08333vw;
  }
  body#school .section .course a figure figcaption {
    text-shadow: 0 0 1.30208vw #ffffff, 0 0 1.30208vw #ffffff, 0 0 1.30208vw #ffffff, 0 0 1.30208vw #ffffff, 0 0 1.30208vw #ffffff, 0 0 1.30208vw #ffffff;
  }
  body#school .section .course a figure figcaption h2 {
    margin-bottom: 5.20833vw;
    font-size: 10.41667vw;
  }
  body#school .section .course a figure figcaption p {
    font-size: 4.16667vw;
  }
  body#school .section.salon {
    padding: 5.20833vw 0;
  }
  body#school .section.salon a figure {
    height: 52.08333vw;
  }
  body#school .section.salon a figure figcaption h2 {
    margin-bottom: 5.20833vw;
    font-size: 9.375vw;
  }
  body#school .section.salon a figure figcaption p {
    font-size: 4.16667vw;
  }
  body#school .modal .close {
    width: 13.02083vw;
    height: 13.02083vw;
  }
  body#school .modal .close::before, body#school .modal .close::after {
    width: 7.8125vw;
  }
  body#school .modal .content {
    display: block;
    padding: 5.20833vw;
  }
  body#school .modal .content figure {
    min-height: auto;
  }
  body#school .modal .content .detail {
    margin-top: 5.20833vw;
  }
  body#school .modal .content .detail .label {
    margin-bottom: 2.60417vw;
    font-size: 15.625vw;
  }
  body#school .modal .content .detail h3 {
    margin-bottom: 2.60417vw;
    padding-bottom: 2.60417vw;
    font-size: 5.72917vw;
  }
  body#school .modal .content .detail p {
    font-size: 3.64583vw;
  }
}
