@charset "UTF-8";
.c-footer {
  position: relative;
  z-index: 1;
  padding: 60px;
  color: #fff;
  background-color: #333333;
}
@media screen and (width <= 960px) {
  .c-footer {
    padding: 40px 30px;
  }
}

.c-footer__logo {
  display: flex;
  margin-bottom: 30px;
}
@media screen and (width <= 960px) {
  .c-footer__logo {
    display: block;
  }
  .c-footer__logo img {
    width: 150px;
    height: auto;
  }
}
.c-footer__logo p {
  margin-left: 15px;
  font-size: 1.3rem;
  line-height: 1.45;
}
@media screen and (width <= 960px) {
  .c-footer__logo p {
    margin-left: 0;
    margin-top: 15px;
    font-size: 1.1rem;
  }
}

.c-footer__nav {
  display: flex;
  margin-bottom: 45px;
}
@media screen and (width <= 960px) {
  .c-footer__nav {
    display: block;
  }
}
.c-footer__nav li + li {
  margin-left: 20px;
}
@media screen and (width <= 960px) {
  .c-footer__nav li + li {
    margin: 10px 0 0;
  }
}
.c-footer__nav li a {
  font-size: 1.3rem;
  text-decoration: none;
}
@media screen and (width <= 960px) {
  .c-footer__nav li a {
    font-size: 1.5rem;
  }
}
.c-footer__nav li a:hover {
  text-decoration: underline;
}

.c-footer__address {
  display: flex;
}
@media screen and (width <= 960px) {
  .c-footer__address {
    display: block;
  }
}
.c-footer__address dl {
  display: flex;
  justify-content: flex-start;
}
.c-footer__address dl + dl {
  margin-left: 40px;
}
@media screen and (width <= 960px) {
  .c-footer__address dl + dl {
    margin: 30px 0 0 0;
  }
}
.c-footer__address dl dt {
  margin-right: 30px;
  line-height: 1.3;
}
@media screen and (width <= 960px) {
  .c-footer__address dl dt {
    width: 60px;
  }
}
.c-footer__address dl dd {
  position: relative;
  line-height: 1.3;
}
.c-footer__address dl dd:before {
  content: "";
  position: absolute;
  top: 1px;
  left: -20px;
  display: block;
  width: 14px;
  height: 19px;
  background-image: url(image/common/location_red.svg);
  background-size: 14px 19px;
}
.c-footer__address dl dd a {
  display: block;
  margin-top: 2px;
  font-size: 1.3rem;
}
.c-footer__address dl dd a:hover {
  text-decoration: none;
}

.c-footer__buttons {
  display: flex;
  margin-top: 45px;
}
@media screen and (width <= 960px) {
  .c-footer__buttons {
    justify-content: space-between;
  }
}
.c-footer__buttons a {
  display: block;
  padding: 8px 40px 10px;
  color: #fff;
  font-size: 1.5rem;
  background-color: #CA2400;
  text-decoration: none;
  border-radius: 2px;
  transition: 0.3s;
}
@media screen and (width <= 960px) {
  .c-footer__buttons a {
    padding: 15px 10px 18px;
    width: calc(50% - 5px);
    text-align: center;
  }
}
.c-footer__buttons a:hover {
  opacity: 0.85;
}
.c-footer__buttons a + a {
  margin-left: 10px;
  color: #CA2400;
  border: 1px solid #CA2400;
  background-color: #fff;
}
@media screen and (width <= 960px) {
  .c-footer__buttons a + a {
    margin-left: 0;
  }
}

.c-footer__copyright {
  position: absolute;
  bottom: 60px;
  right: 60px;
  text-align: right;
  color: #fff;
  font-size: 1.2rem;
  font-family: "Montserrat", "Helvetica Neue", helvetica, "Zen Kaku Gothic New", -apple-system, blinkmacsystemfont, "Helvetica Neue", "游ゴシック体", yugothic, "游ゴシック", "Yu Gothic", "ヒラギノ角ゴ ProN W3", hiragino kaku gothic pron, arial, "メイリオ", meiryo, sans-serif;
  opacity: 0.35;
}
@media screen and (width <= 960px) {
  .c-footer__copyright {
    display: block;
    position: static;
    margin-top: 30px;
    text-align: center;
  }
}

.c-header {
  position: absolute;
  z-index: 1;
  top: 0;
}

.c-header__menu {
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  top: 40px;
  left: 40px;
  width: 125px;
  height: 50px;
  z-index: 99;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 5px;
  mix-blend-mode: exclusion;
  opacity: 1;
}
@media screen and (width <= 960px) {
  .c-header__menu {
    left: auto;
    top: 20px;
    right: 20px;
    width: 100px;
    height: 40px;
  }
}
.c-header__menu:hover {
  cursor: pointer;
  opacity: 0.8;
}
.c-header__menu[aria-expanded=true] {
  visibility: hidden;
  opacity: 0;
}
.c-header__menu .icon {
  display: block;
}
.c-header__menu .icon:before, .c-header__menu .icon:after {
  content: "";
  display: block;
  height: 1px;
  width: 15px;
  background-color: #fff;
}
.c-header__menu .icon:after {
  margin-top: 3px;
}
.c-header__menu .text {
  margin-left: 15px;
  color: #fff;
  font-family: "Montserrat", "Helvetica Neue", helvetica, "Zen Kaku Gothic New", -apple-system, blinkmacsystemfont, "Helvetica Neue", "游ゴシック体", yugothic, "游ゴシック", "Yu Gothic", "ヒラギノ角ゴ ProN W3", hiragino kaku gothic pron, arial, "メイリオ", meiryo, sans-serif;
  font-weight: 500;
  font-size: 1.4rem;
}
@media screen and (width <= 960px) {
  .c-header__menu .text {
    font-size: 1.3rem;
  }
}

.c-header__close {
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  top: 40px;
  left: 40px;
  width: 125px;
  height: 50px;
  z-index: 99;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 5px;
  mix-blend-mode: exclusion;
  visibility: hidden;
  opacity: 0;
}
.c-header__close:hover {
  cursor: pointer;
  opacity: 0.8;
}
@media screen and (width <= 960px) {
  .c-header__close {
    top: 20px;
    right: 20px;
    left: auto;
    width: 100px;
    height: 40px;
  }
}
.c-header__close[aria-expanded=true] {
  visibility: visible;
  opacity: 1;
}
.c-header__close .icon {
  display: block;
}
.c-header__close .icon:before, .c-header__close .icon:after {
  content: "";
  display: block;
  height: 1px;
  width: 15px;
  background-color: #fff;
}
.c-header__close .icon:before {
  transform: translateY(3px) rotate(45deg);
}
.c-header__close .icon:after {
  margin-top: 3px;
  transform: translateY(-1px) rotate(-45deg);
}
.c-header__close .text {
  margin-left: 15px;
  color: #fff;
  font-family: "Montserrat", "Helvetica Neue", helvetica, "Zen Kaku Gothic New", -apple-system, blinkmacsystemfont, "Helvetica Neue", "游ゴシック体", yugothic, "游ゴシック", "Yu Gothic", "ヒラギノ角ゴ ProN W3", hiragino kaku gothic pron, arial, "メイリオ", meiryo, sans-serif;
  font-weight: 500;
  font-size: 1.4rem;
}
@media screen and (width <= 960px) {
  .c-header__close .text {
    font-size: 1.3rem;
  }
}

.c-header__global {
  visibility: hidden;
  position: fixed;
  top: 110px;
  left: 40px;
  padding: 20px 40px 20px 20px;
  z-index: 999;
  background-color: #fff;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 5px;
  opacity: 0;
  transition: 0.3s;
}
@media screen and (width <= 960px) {
  .c-header__global {
    top: 75px;
    right: 20px;
    left: auto;
  }
}
.c-header__global[aria-hidden=false] {
  visibility: visible;
  opacity: 1;
}
.c-header__global ul li + li {
  margin-top: 5px;
}
.c-header__global ul li a {
  font-size: 1.4rem;
  text-decoration: none;
}
.c-header__global ul li a:hover {
  text-decoration: underline;
}

.c-header__logo {
  display: flex;
  align-items: center;
  position: absolute;
  top: 45px;
  left: 200px;
  width: 400px;
}
@media screen and (width <= 960px) {
  .c-header__logo {
    display: block;
    top: 20px;
    left: 25px;
    width: 150px;
  }
  .c-header__logo img {
    width: 125px;
    height: auto;
  }
}
.c-header__logo h1 {
  padding-left: 15px;
  font-size: 1.2rem;
  line-height: 1.5;
  font-weight: 500;
  color: #fff;
}
@media screen and (width <= 960px) {
  .c-header__logo h1 {
    margin-top: 10px;
    padding-left: 0;
    font-size: 1rem;
  }
}

.c-wrapper {
  max-width: 1020px;
  padding: 0 30px;
  margin: 0 auto;
}
@media screen and (width <= 960px) {
  .c-wrapper {
    padding: 25px;
  }
}

.c-wrapper__large {
  max-width: 1260px;
  padding: 0 30px;
  margin: 0 auto;
}

.c-wrapper__small {
  max-width: 860px;
  padding: 0 30px;
  margin: 0 auto;
}

.c-cta {
  position: fixed;
  bottom: -100%;
  left: 0;
  z-index: 99;
  transition: 0.3s;
  opacity: 0;
}
@media screen and (width <= 960px) {
  .c-cta {
    bottom: 0px;
    left: 0px;
  }
}
.c-cta[aria-expanded=false] {
  bottom: 0;
  opacity: 1;
}

.c-cta__inner {
  padding: 20px;
  border-radius: 0 10px 0 0;
  background-color: #FFF;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
}
@media screen and (width <= 960px) {
  .c-cta__inner {
    padding: 10px;
  }
}
.c-cta__inner p {
  margin-bottom: 10px;
  text-align: center;
  font-size: 1.3rem;
}
@media screen and (width <= 960px) {
  .c-cta__inner p {
    font-size: 1.2rem;
  }
}

.c-cta__units {
  display: flex;
}
.c-cta__units a {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  width: 140px;
  height: 45px;
  padding-bottom: 4px;
  text-align: center;
  color: #0F65B5;
  line-height: 1;
  text-decoration: none;
  font-size: 1.4rem;
  border: 1px solid #0F65B5;
  border-radius: 3px;
  background-color: #FFF;
  transition: 0.3s;
}
@media screen and (width <= 960px) {
  .c-cta__units a {
    width: 120px;
    height: 40px;
    font-size: 1.3rem;
  }
}
.c-cta__units a:hover {
  color: #CA2400;
  border-color: #CA2400;
}
.c-cta__units a span {
  line-height: 1;
}
.c-cta__units a span.number {
  margin-top: 3px;
  font-size: 1.1rem;
}
.c-cta__units a + a {
  color: #FFF;
  background-color: #0F65B5;
  margin-left: 10px;
}
@media screen and (width <= 960px) {
  .c-cta__units a + a {
    margin-left: 6px;
  }
}
.c-cta__units a + a:hover {
  color: #FFF;
  background-color: #CA2400;
}

.c-nav-global {
  margin-left: auto;
}
.c-nav-global ul {
  display: flex;
  align-items: center;
  justify-content: center;
}
.c-nav-global ul li {
  margin: 0 15px;
}
.p-front__movie {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-ibdex: -1;
}
.p-front__movie:before {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  background-color: #333333;
  opacity: 0.4;
}
.p-front__movie video {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 0;
  transform: translate(-50%, -50%);
  width: 56.25vh; /* 16:9 の幅→16 ÷ 9＝ 177.77% */
  height: 177.77777778vw; /* 16:9の幅 → 9 ÷ 16 = 56.25% */
  min-height: 100%;
  min-width: 100%;
}
@media screen and (width <= 960px) {
  .p-front__movie video .pc {
    display: none;
  }
}
.p-front__movie video .sp {
  display: block;
}
@media screen and (width <= 960px) {
  .p-front__movie video .sp {
    display: block;
  }
}

.p-front__hero {
  position: relative;
  z-index: 0;
  width: 100vw;
  height: 100vh;
  min-height: 680px;
}
.p-front__hero-text {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
}
.p-front__hero-text img {
  width: auto;
  height: 100vh;
}
@media screen and (width <= 960px) {
  .p-front__hero-text img {
    display: block;
    margin-top: 100px;
    height: calc(100vh - 180px);
  }
}

.p-front__concept {
  position: relative;
  z-index: 1;
  padding: 160px 0 200px;
}
@media screen and (width <= 960px) {
  .p-front__concept {
    padding: 120px 0;
  }
}

.p-front__concept-wrapper {
  display: flex;
  justify-content: flex-start;
}

.p-front__concept-en {
  padding-top: 10px;
  margin-right: 140px;
}
@media screen and (width <= 960px) {
  .p-front__concept-en {
    margin-right: 30px;
    width: 30px;
  }
}

@media screen and (width <= 960px) {
  .p-front__concept-content {
    flex: 1;
  }
}

.p-front__concept-content-heading {
  margin-bottom: 60px;
  font-size: 5.2rem;
  color: #fff;
  line-height: 1.25;
}
@media screen and (width <= 960px) {
  .p-front__concept-content-heading {
    font-size: 3.2rem;
  }
}

.p-front__concept-content-text p {
  color: #fff;
  line-height: 2.3;
  font-size: 2.2rem;
}
@media screen and (width <= 960px) {
  .p-front__concept-content-text p {
    font-size: 1.5rem;
    line-height: 2;
  }
  .p-front__concept-content-text p br {
    display: none;
  }
}
.p-front__concept-content-text p + p {
  margin-top: 30px;
}

.p-front__feature {
  position: relative;
  z-index: 1;
  padding: 160px 0 200px;
  background-color: #fff;
}
@media screen and (width <= 960px) {
  .p-front__feature {
    padding: 60px 0 60px;
  }
}

.p-front__feature-heading {
  display: flex;
  overflow: hidden;
  margin-bottom: 80px;
}
@media screen and (width <= 960px) {
  .p-front__feature-heading {
    margin-bottom: 45px;
  }
}
.p-front__feature-heading h2,
.p-front__feature-heading span {
  margin: 0 10px;
  font-size: 8.2rem;
  font-family: "Montserrat", "Helvetica Neue", helvetica, "Zen Kaku Gothic New", -apple-system, blinkmacsystemfont, "Helvetica Neue", "游ゴシック体", yugothic, "游ゴシック", "Yu Gothic", "ヒラギノ角ゴ ProN W3", hiragino kaku gothic pron, arial, "メイリオ", meiryo, sans-serif;
  letter-spacing: 0.05em;
}
@media screen and (width <= 960px) {
  .p-front__feature-heading h2,
  .p-front__feature-heading span {
    margin: 0 5px;
    font-size: 3.2rem;
  }
}
.p-front__feature-heading h2 {
  color: #0F65B5;
  font-weight: 900;
}
.p-front__feature-heading span {
  color: #fff;
  font-weight: 900;
  text-shadow: 1px 1px 0 #0F65B5, 1px -1px 0 #0F65B5, -1px 1px 0 #0F65B5, -1px -1px 0 #0F65B5;
  opacity: 0.5;
}
.p-front__feature-heading span:first-child {
  margin-left: -20%;
}

.p-front__feature-unit {
  display: flex;
  align-items: center;
  width: 100%;
}
@media screen and (width <= 960px) {
  .p-front__feature-unit {
    display: block;
  }
}
.p-front__feature-unit + .p-front__feature-unit {
  margin-top: 100px;
}
@media screen and (width <= 960px) {
  .p-front__feature-unit + .p-front__feature-unit {
    margin-top: 80px;
  }
}

.p-front__feature-unit-image {
  position: relative;
}
@media screen and (width <= 960px) {
  .p-front__feature-unit-image {
    margin: 0 auto 30px;
    max-width: 260px;
  }
}
.p-front__feature-unit-image div {
  border-radius: 20px;
  overflow: hidden;
}
.p-front__feature-unit-image span {
  position: absolute;
  top: -55px;
  right: -35px;
  font-size: 6rem;
  font-family: "Montserrat", "Helvetica Neue", helvetica, "Zen Kaku Gothic New", -apple-system, blinkmacsystemfont, "Helvetica Neue", "游ゴシック体", yugothic, "游ゴシック", "Yu Gothic", "ヒラギノ角ゴ ProN W3", hiragino kaku gothic pron, arial, "メイリオ", meiryo, sans-serif;
  font-weight: 300;
  color: #0F65B5;
  letter-spacing: 0.1em;
}
@media screen and (width <= 960px) {
  .p-front__feature-unit-image span {
    top: -35px;
    right: -25px;
    font-size: 4.2rem;
  }
}

.p-front__feature-unit-content {
  width: 100%;
  max-width: 450px;
  margin-left: 80px;
}
@media screen and (width <= 960px) {
  .p-front__feature-unit-content {
    margin: 0 auto;
    max-width: 300px;
  }
}
.p-front__feature-unit-content h3 {
  margin-bottom: 20px;
  font-size: 2.8rem;
  line-height: 1.4;
}
@media screen and (width <= 960px) {
  .p-front__feature-unit-content h3 {
    font-size: 2rem;
    text-align: center;
  }
}
.p-front__feature-unit-content p {
  font-size: 1.4rem;
  color: #555;
}
@media screen and (width <= 960px) {
  .p-front__feature-unit-content p br {
    display: none;
  }
}
.p-front__feature-unit-content p + p {
  margin-top: 20px;
}

.p-front__feature-unit-content-voice {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  outline: 0;
  text-align: left;
  display: flex;
  position: relative;
  width: 100%;
  min-height: 110px;
  margin-top: 45px;
  color: #0F65B5;
  background: rgba(15, 101, 181, 0.1);
  border-radius: 4px;
}
@media screen and (width <= 960px) {
  .p-front__feature-unit-content-voice {
    margin-top: 25px;
  }
}
.p-front__feature-unit-content-voice:hover .p-front__feature-unit-content-voice-text span {
  text-decoration: none;
}

button.p-front__feature-unit-content-voice {
  transition: 0.3s;
}
button.p-front__feature-unit-content-voice:hover {
  background: rgba(15, 101, 181, 0.2);
}

.p-front__feature-unit-content-voice-image {
  border-radius: 4px 0 0 4px;
  overflow: hidden;
}
.p-front__feature-unit-content-voice-image img {
  height: 130px;
  width: auto;
}

.p-front__feature-unit-content-voice-text {
  width: 100%;
  flex: 1;
  padding: 20px;
}
@media screen and (width <= 960px) {
  .p-front__feature-unit-content-voice-text {
    padding: 15px;
  }
}
.p-front__feature-unit-content-voice-text p {
  font-size: 1.5rem;
  line-height: 1.55;
  color: #0F65B5;
}
@media screen and (width <= 960px) {
  .p-front__feature-unit-content-voice-text p {
    font-size: 1.3rem;
  }
}
.p-front__feature-unit-content-voice-text span {
  display: block;
  margin-top: 10px;
  text-align: right;
  font-size: 1.3rem;
  color: #0F65B5;
  text-decoration: underline;
}
@media screen and (width <= 960px) {
  .p-front__feature-unit-content-voice-text span {
    font-size: 1.1rem;
  }
}
.p-front__feature-unit-content-voice-text span:hover {
  cursor: pointer;
}

.p-front__feature-unit-content-modal {
  visibility: hidden;
  opacity: 0;
  position: fixed;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 60px;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 100;
  transition: 0.3s;
}
@media screen and (width <= 960px) {
  .p-front__feature-unit-content-modal {
    padding: 30px;
  }
}
.p-front__feature-unit-content-modal[aria-hidden=false] {
  visibility: visible;
  opacity: 1;
}
.p-front__feature-unit-content-modal .bg {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 3;
  content: "";
  display: block;
  background-color: rgba(51, 51, 51, 0.75);
}
.p-front__feature-unit-content-modal .inner {
  display: flex;
  position: relative;
  max-width: 500px;
  padding: 40px;
  background-color: #fff;
  border-radius: 10px;
  z-index: 9999;
}
@media screen and (width <= 960px) {
  .p-front__feature-unit-content-modal .inner {
    display: block;
    max-width: 320px;
    height: calc(100vh - 200px);
    overflow-y: scroll;
    padding: 30px;
  }
}
@media screen and (width <= 960px) {
  .p-front__feature-unit-content-modal .image {
    margin: 0 auto 25px;
    text-align: center;
  }
}
.p-front__feature-unit-content-modal .image img {
  display: block;
  width: 100px;
  height: auto;
  border-radius: 3px;
}
@media screen and (width <= 960px) {
  .p-front__feature-unit-content-modal .image img {
    margin: 0 auto;
  }
}
.p-front__feature-unit-content-modal .text {
  flex: 1;
  margin-left: 30px;
}
@media screen and (width <= 960px) {
  .p-front__feature-unit-content-modal .text {
    margin-left: 0;
  }
}
.p-front__feature-unit-content-modal .text p {
  font-size: 1.4rem;
}
.p-front__feature-unit-content-modal .text p + p {
  margin-top: 20px;
}
.p-front__feature-unit-content-modal .close {
  position: absolute;
  top: -50px;
  right: 5px;
  width: 55px;
  height: 55px;
}
.p-front__feature-unit-content-modal .close:hover {
  cursor: pointer;
}
.p-front__feature-unit-content-modal .close:before {
  display: block;
  content: "";
  width: 55px;
  height: 1px;
  transform: rotate(-45deg);
  background-color: #fff;
}
.p-front__feature-unit-content-modal .close:after {
  display: block;
  content: "";
  width: 55px;
  height: 1px;
  transform: rotate(45deg);
  background-color: #fff;
}

.p-front__teacher {
  position: relative;
  z-index: 1;
  padding: 0 0 120px;
  overflow-x: hidden;
  background-color: #F1F2CD;
}
@media screen and (width <= 960px) {
  .p-front__teacher {
    padding-top: 20px;
    padding-bottom: 60px;
  }
}

.p-front__teacher-heading {
  display: flex;
  overflow: hidden;
  margin-bottom: 80px;
}
@media screen and (width <= 960px) {
  .p-front__teacher-heading {
    margin-bottom: 15px;
  }
}
.p-front__teacher-heading h2,
.p-front__teacher-heading span {
  margin: 0 10px;
  font-size: 8.2rem;
  font-family: "Montserrat", "Helvetica Neue", helvetica, "Zen Kaku Gothic New", -apple-system, blinkmacsystemfont, "Helvetica Neue", "游ゴシック体", yugothic, "游ゴシック", "Yu Gothic", "ヒラギノ角ゴ ProN W3", hiragino kaku gothic pron, arial, "メイリオ", meiryo, sans-serif;
  letter-spacing: 0.05em;
}
@media screen and (width <= 960px) {
  .p-front__teacher-heading h2,
  .p-front__teacher-heading span {
    margin: 0 5px;
    font-size: 3.2rem;
  }
}
.p-front__teacher-heading h2 {
  color: #CA2400;
  font-weight: 900;
}
.p-front__teacher-heading span {
  color: #F1F2CD;
  font-weight: 900;
  text-shadow: 1px 1px 0 #CA2400, 1px -1px 0 #CA2400, -1px 1px 0 #CA2400, -1px -1px 0 #CA2400;
  opacity: 0.5;
}
.p-front__teacher-heading span:first-child {
  margin-left: -20%;
}

.p-front__teacher-principal {
  position: relative;
}

.p-front__teacher-principal-image {
  position: absolute;
  top: 0;
  right: -180px;
  z-index: 1;
}
@media screen and (width <= 960px) {
  .p-front__teacher-principal-image {
    position: static;
    border-radius: 5px;
    overflow: hidden;
  }
}

.p-front__teacher-principal-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
  padding-top: 160px;
}
@media screen and (width <= 960px) {
  .p-front__teacher-principal-content {
    padding-top: 30px;
  }
}

.p-front__teacher-principal-content-profile {
  margin-bottom: 40px;
}
@media screen and (width <= 960px) {
  .p-front__teacher-principal-content-profile {
    text-align: center;
  }
}
.p-front__teacher-principal-content-profile .role {
  display: flex;
  justify-content: center;
  align-content: center;
  position: relative;
  left: -30px;
  width: 70px;
  height: 38px;
  padding-top: 4px;
  margin-bottom: 20px;
  color: #F1F2CD;
  font-size: 1.5rem;
  border-radius: 50%;
  background-color: #CA2400;
}
@media screen and (width <= 960px) {
  .p-front__teacher-principal-content-profile .role {
    left: 0;
    font-size: 1.3rem;
    width: 60px;
    height: 32px;
    margin: 0 auto 20px;
  }
}
.p-front__teacher-principal-content-profile .name {
  display: block;
  margin-bottom: 6px;
}
.p-front__teacher-principal-content-profile .name .ja {
  display: block;
  margin-bottom: 8px;
  font-size: 3.8rem;
  font-weight: bold;
  line-height: 1;
}
@media screen and (width <= 960px) {
  .p-front__teacher-principal-content-profile .name .ja {
    font-size: 3rem;
  }
}
.p-front__teacher-principal-content-profile .name .en {
  display: block;
  font-family: "Montserrat", "Helvetica Neue", helvetica, "Zen Kaku Gothic New", -apple-system, blinkmacsystemfont, "Helvetica Neue", "游ゴシック体", yugothic, "游ゴシック", "Yu Gothic", "ヒラギノ角ゴ ProN W3", hiragino kaku gothic pron, arial, "メイリオ", meiryo, sans-serif;
  font-size: 1.2rem;
  color: #CA2400;
}
@media screen and (width <= 960px) {
  .p-front__teacher-principal-content-profile .name .en {
    font-size: 1rem;
  }
}
.p-front__teacher-principal-content-profile .history {
  display: flex;
}
@media screen and (width <= 960px) {
  .p-front__teacher-principal-content-profile .history {
    justify-content: center;
  }
}
.p-front__teacher-principal-content-profile .history li {
  font-size: 1.4rem;
}
@media screen and (width <= 960px) {
  .p-front__teacher-principal-content-profile .history li {
    font-size: 1.3rem;
  }
}
.p-front__teacher-principal-content-profile .history li + li:before {
  position: relative;
  top: -1px;
  margin: 0 3px;
  content: "-";
  color: #CA2400;
}

.p-front__teacher-principal-content-article {
  margin-bottom: 80px;
  padding: 45px 60px 60px;
  border: 1px solid #CA2400;
  border-radius: 10px;
  background-color: #F1F2CD;
}
@media screen and (width <= 960px) {
  .p-front__teacher-principal-content-article {
    padding: 30px;
    margin-bottom: 40px;
  }
}
.p-front__teacher-principal-content-article h3 {
  margin-bottom: 45px;
  font-size: 3rem;
  line-height: 1.45;
}
@media screen and (width <= 960px) {
  .p-front__teacher-principal-content-article h3 {
    font-size: 2.2rem;
    margin-bottom: 25px;
  }
}
.p-front__teacher-principal-content-article p {
  font-size: 1.5rem;
  line-height: 1.85;
}
@media screen and (width <= 960px) {
  .p-front__teacher-principal-content-article p {
    font-size: 1.4rem;
  }
}
.p-front__teacher-principal-content-article p em {
  color: #CA2400;
  font-style: normal;
}
.p-front__teacher-principal-content-article p + p {
  margin-top: 25px;
}

.p-front__teacher-team {
  padding: 45px 60px 60px;
  border: 1px solid #CA2400;
  border-radius: 10px;
  background-color: #F1F2CD;
}
@media screen and (width <= 960px) {
  .p-front__teacher-team {
    padding: 25px;
  }
}
.p-front__teacher-team h3 {
  margin-bottom: 35px;
  font-size: 2.4rem;
  line-height: 1.45;
}
@media screen and (width <= 960px) {
  .p-front__teacher-team h3 {
    font-size: 2.2rem;
  }
  .p-front__teacher-team h3 br {
    display: none;
  }
}

.p-front__teacher-team-units {
  display: flex;
}
@media screen and (width <= 960px) {
  .p-front__teacher-team-units {
    display: block;
  }
}

.p-front__teacher-team-pro {
  max-width: 500px;
  margin-right: 45px;
}
@media screen and (width <= 960px) {
  .p-front__teacher-team-pro {
    margin-right: 0;
  }
}

.p-front__teacher-team-pro-profile {
  display: flex;
  align-items: center;
  margin-bottom: 25px;
}
@media screen and (width <= 960px) {
  .p-front__teacher-team-pro-profile {
    display: block;
  }
}

.p-front__teacher-team-pro-profile-image {
  width: 170px;
  height: 170px;
  margin-right: 30px;
  border-radius: 9999px;
  overflow: hidden;
}
@media screen and (width <= 960px) {
  .p-front__teacher-team-pro-profile-image {
    width: 140px;
    height: 140px;
    margin: 0 auto;
  }
}

.p-front__teacher-team-pro-profile-content .role {
  display: flex;
  justify-content: center;
  align-content: center;
  position: relative;
  left: -10px;
  width: 80px;
  height: 34px;
  padding-top: 5px;
  margin-bottom: 10px;
  color: #F1F2CD;
  font-size: 1.3rem;
  border-radius: 50%;
  background-color: #CA2400;
}
@media screen and (width <= 960px) {
  .p-front__teacher-team-pro-profile-content .role {
    position: static;
    margin: 20px auto 10px;
  }
}
.p-front__teacher-team-pro-profile-content .name {
  display: block;
  margin-bottom: 6px;
}
@media screen and (width <= 960px) {
  .p-front__teacher-team-pro-profile-content .name {
    text-align: center;
  }
}
.p-front__teacher-team-pro-profile-content .name .ja {
  display: block;
  margin-bottom: 8px;
  font-size: 3.2rem;
  font-weight: bold;
  line-height: 1;
}
@media screen and (width <= 960px) {
  .p-front__teacher-team-pro-profile-content .name .ja {
    font-size: 2.6rem;
  }
}
.p-front__teacher-team-pro-profile-content .name .en {
  display: block;
  font-family: "Montserrat", "Helvetica Neue", helvetica, "Zen Kaku Gothic New", -apple-system, blinkmacsystemfont, "Helvetica Neue", "游ゴシック体", yugothic, "游ゴシック", "Yu Gothic", "ヒラギノ角ゴ ProN W3", hiragino kaku gothic pron, arial, "メイリオ", meiryo, sans-serif;
  font-size: 1.1rem;
  color: #CA2400;
}
.p-front__teacher-team-pro-profile-content .history {
  display: flex;
}
@media screen and (width <= 960px) {
  .p-front__teacher-team-pro-profile-content .history {
    justify-content: center;
  }
}
.p-front__teacher-team-pro-profile-content .history li {
  font-size: 1.3rem;
}
.p-front__teacher-team-pro-profile-content .history li + li:before {
  position: relative;
  top: -1px;
  margin: 0 3px;
  content: "-";
  color: #CA2400;
}

.p-front__teacher-team-pro-comment p {
  font-size: 1.4rem;
}
.p-front__teacher-team-pro-comment p + p {
  margin-top: 15px;
}

.p-front__teacher-team-others {
  font-size: 1.5rem;
}
@media screen and (width <= 960px) {
  .p-front__teacher-team-others {
    margin-top: 45px;
    font-size: 1.4rem;
  }
}
.p-front__teacher-team-others h4 {
  margin-bottom: 15px;
}
.p-front__teacher-team-others ul li {
  color: #CA2400;
}
.p-front__teacher-team-others ul li + li {
  margin-top: 5px;
}

.p-front__section {
  position: relative;
  z-index: 1;
  background-color: #fff;
  padding-top: 160px;
}
@media screen and (width <= 960px) {
  .p-front__section {
    padding-top: 60px;
  }
}
.p-front__section .c-wrapper {
  display: flex;
}
.p-front__section + .p-front__section {
  padding-top: 120px;
}
@media screen and (width <= 960px) {
  .p-front__section + .p-front__section {
    padding-top: 40px;
  }
}

.p-front__section-heading {
  margin-right: 80px;
}
@media screen and (width <= 960px) {
  .p-front__section-heading {
    width: 30px;
    margin-right: 25px;
  }
}
.p-front__section-heading img {
  max-width: inherit !important;
}
@media screen and (width <= 960px) {
  .p-front__section-heading img {
    width: 100%;
    height: auto;
  }
}

.p-front__section-content {
  flex: 1;
  padding-top: 60px;
}
@media screen and (width <= 960px) {
  .p-front__section-content {
    padding-top: 35px;
  }
}

.p-front__section-content-notion {
  padding: 30px 35px;
  margin-bottom: 20px;
  background-color: rgba(0, 131, 106, 0.1);
}
@media screen and (width <= 960px) {
  .p-front__section-content-notion {
    padding: 20px;
  }
}
.p-front__section-content-notion h3 {
  font-size: 2rem;
  color: #00836a;
}
@media screen and (width <= 960px) {
  .p-front__section-content-notion h3 {
    font-size: 1.5rem;
  }
}
.p-front__section-content-notion p {
  margin-top: 3px;
  font-size: 1.5rem;
}
@media screen and (width <= 960px) {
  .p-front__section-content-notion p {
    margin-top: 5px;
    font-size: 1.2rem;
  }
}
.p-front__section-content-notion[data-color=red] {
  background-color: rgba(202, 36, 0, 0.1);
}
.p-front__section-content-notion[data-color=red] h3 {
  color: #CA2400;
}

.p-front__course-unit {
  padding: 15px 20px 17px;
  border-radius: 4px;
  border: 1px solid #00836a;
}
@media screen and (width <= 960px) {
  .p-front__course-unit {
    padding: 13px 15px 14px 15px;
  }
}
.p-front__course-unit + .p-front__course-unit {
  margin-top: 15px;
}
.p-front__course-unit h4 {
  position: relative;
  color: #00836a;
  font-size: 2rem;
}
@media screen and (width <= 960px) {
  .p-front__course-unit h4 {
    font-size: 1.5rem;
    padding-right: 40px;
  }
}
.p-front__course-unit h4:hover {
  cursor: pointer;
}
.p-front__course-unit h4:before {
  position: absolute;
  top: 16px;
  right: 3px;
  content: "";
  width: 17px;
  height: 1px;
  background-color: #00836a;
}
@media screen and (width <= 960px) {
  .p-front__course-unit h4:before {
    width: 13px;
    transform: translate(0, -2px);
  }
}
.p-front__course-unit h4:after {
  position: absolute;
  top: 8px;
  right: 11px;
  content: "";
  width: 1px;
  height: 17px;
  background-color: #00836a;
}
@media screen and (width <= 960px) {
  .p-front__course-unit h4:after {
    height: 13px;
    transform: translate(2px, 0px);
  }
}
.p-front__course-unit h4.open:after {
  display: none;
}
.p-front__course-unit div {
  display: none;
}
.p-front__course-unit div p {
  margin-top: 15px;
  margin-bottom: 15px;
  font-size: 1.4rem;
  word-wrap: break-word;
}
.p-front__course-unit div dl {
  display: flex;
  font-size: 1.4rem;
}
@media screen and (width <= 960px) {
  .p-front__course-unit div dl {
    display: block;
  }
}
.p-front__course-unit div dl + dl {
  margin-top: 3px;
}
.p-front__course-unit div dl dt {
  padding: 12px 15px 13px;
  width: 220px;
  color: #fff;
  background-color: #00836a;
}
@media screen and (width <= 960px) {
  .p-front__course-unit div dl dt {
    width: 100%;
  }
}
.p-front__course-unit div dl dd {
  padding: 12px 15px 13px;
  width: 300px;
  color: #00836a;
  background-color: rgba(0, 131, 106, 0.1);
}
@media screen and (width <= 960px) {
  .p-front__course-unit div dl dd {
    width: 100%;
  }
}

.p-front__course-caution {
  color: #555;
  font-size: 1.2rem !important;
}

@media screen and (width <= 960px) {
  .p-front__section-calendar {
    width: calc(100vw - 110px);
    overflow-x: scroll;
  }
}
.p-front__section-calendar table {
  width: 100%;
  text-align: left;
  border-collapse: collapse;
  border-left: 1px solid #00836a;
  border-bottom: 1px solid #00836a;
  white-space: nowrap;
}
@media screen and (width <= 960px) {
  .p-front__section-calendar table {
    display: block;
    width: 100%;
    max-width: 500px;
    font-size: 1.4rem;
  }
}
.p-front__section-calendar table thead tr th {
  padding: 10px 15px 12px;
  font-weight: 500;
  color: #fff;
  text-align: center;
  background-color: #00836a;
  border-right: 1px solid #fff;
}
@media screen and (width <= 960px) {
  .p-front__section-calendar table thead tr th {
    padding: 10px 12px 12px;
  }
}
.p-front__section-calendar table thead tr th:nth-child(1) {
  text-align: left;
}
.p-front__section-calendar table thead tr th:nth-child(8) {
  border-right: 1px solid #00836a;
}
.p-front__section-calendar table tbody tr th {
  width: 30%;
  padding: 10px 15px 13px;
  border-right: 1px solid #00836a;
  border-bottom: 1px solid #00836a;
}
@media screen and (width <= 960px) {
  .p-front__section-calendar table tbody tr th {
    padding: 10px 12px 13px;
  }
}
.p-front__section-calendar table tbody tr td {
  width: 10%;
  padding: 10px 15px 13px;
  text-align: center;
  border-right: 1px solid #00836a;
  border-bottom: 1px solid #00836a;
}
@media screen and (width <= 960px) {
  .p-front__section-calendar table tbody tr td {
    padding: 10px 12px 13px;
  }
}

.p-front__section-caution {
  margin-top: 20px;
  color: #555;
  font-size: 1.2rem !important;
}

.p-front__faq {
  padding-bottom: 120px;
}
@media screen and (width <= 960px) {
  .p-front__faq {
    padding-bottom: 80px;
  }
}

.p-front__section-faq {
  padding: 30px 30px 35px 75px;
  background-color: #F1F2CD;
  border-radius: 10px;
}
@media screen and (width <= 960px) {
  .p-front__section-faq {
    padding: 20px 20px 25px 55px;
  }
}
.p-front__section-faq + .p-front__section-faq {
  margin-top: 15px;
}
.p-front__section-faq dt {
  position: relative;
  margin-bottom: 10px;
  color: #00836a;
}
.p-front__section-faq dt span {
  position: absolute;
  top: -6px;
  left: -35px;
  font-size: 2.6rem;
  font-family: "Montserrat", "Helvetica Neue", helvetica, "Zen Kaku Gothic New", -apple-system, blinkmacsystemfont, "Helvetica Neue", "游ゴシック体", yugothic, "游ゴシック", "Yu Gothic", "ヒラギノ角ゴ ProN W3", hiragino kaku gothic pron, arial, "メイリオ", meiryo, sans-serif;
  font-weight: 900;
  color: #00836a;
  opacity: 0.35;
}
@media screen and (width <= 960px) {
  .p-front__section-faq dt span {
    font-size: 2rem;
  }
}
.p-front__section-faq dt p {
  font-size: 2rem;
  font-weight: 600;
}
@media screen and (width <= 960px) {
  .p-front__section-faq dt p {
    font-size: 1.6rem;
  }
}
.p-front__section-faq dd {
  color: #555;
  font-size: 1.5rem;
}
@media screen and (width <= 960px) {
  .p-front__section-faq dd {
    font-size: 1.3rem;
  }
}
.p-front__section-faq dd p + p {
  margin-top: 15px;
}

.p-front__section-bg {
  position: relative;
  z-index: 2;
  padding-top: 45%;
  background-image: url(image/front/bg.jpg);
  background-size: cover;
  background-position: center;
}
@media screen and (width <= 960px) {
  .p-front__section-bg {
    padding-top: 100%;
  }
}

.p-front__access {
  position: relative;
  z-index: 1;
  padding: 160px 0;
  background-color: #fff;
}
@media screen and (width <= 960px) {
  .p-front__access {
    padding: 60px 0 40px;
  }
}

.p-front__access-heading {
  margin-bottom: 65px;
}
@media screen and (width <= 960px) {
  .p-front__access-heading {
    width: 180px;
    margin: 0 auto 35px;
    text-align: center;
  }
}

.p-front__access-units {
  display: flex;
  align-items: center;
}
@media screen and (width <= 960px) {
  .p-front__access-units {
    display: block;
  }
}
.p-front__access-units:nth-of-type(2) .p-front__access-units-image {
  order: 2;
}
.p-front__access-units:nth-of-type(2) .p-front__access-units-info {
  order: 1;
  margin-right: 60px;
  margin-left: 0;
}
@media screen and (width <= 960px) {
  .p-front__access-units:nth-of-type(2) .p-front__access-units-info {
    margin: 0;
  }
}
.p-front__access-units + .p-front__access-units {
  margin-top: 80px;
}

.p-front__access-units-image {
  flex: 1;
}
@media screen and (width <= 960px) {
  .p-front__access-units-image {
    margin-bottom: 15px;
  }
}

.p-front__access-units-info {
  margin-left: 60px;
}
@media screen and (width <= 960px) {
  .p-front__access-units-info {
    margin: 20px 0 0;
    text-align: center;
  }
}
.p-front__access-units-info h3 {
  margin-bottom: 20px;
  color: #0F65B5;
  font-weight: bold;
  font-size: 2.8rem;
}
@media screen and (width <= 960px) {
  .p-front__access-units-info h3 {
    font-size: 2.4rem;
  }
}
.p-front__access-units-info .address {
  display: block;
}
.p-front__access-units-info p {
  margin-bottom: 15px;
  font-size: 1.2rem;
}

.p-front__access-units-info-map {
  display: block;
  margin-bottom: 20px;
  font-size: 1.3rem;
  text-decoration: underline;
}
.p-front__access-units-info-map:hover {
  text-decoration: none;
}

.p-front__access-units-info-buttons {
  display: flex;
}
@media screen and (width <= 960px) {
  .p-front__access-units-info-buttons {
    justify-content: space-between;
  }
}
.p-front__access-units-info-buttons a {
  display: block;
  padding: 8px 30px 10px;
  color: #fff;
  font-size: 1.5rem;
  background-color: #0F65B5;
  text-decoration: none;
  border-radius: 2px;
  transition: 0.3s;
}
@media screen and (width <= 960px) {
  .p-front__access-units-info-buttons a {
    padding: 15px 10px 18px;
    width: calc(50% - 5px);
    text-align: center;
  }
}
.p-front__access-units-info-buttons a:hover {
  opacity: 0.85;
}
.p-front__access-units-info-buttons a + a {
  margin-left: 10px;
  color: #0F65B5;
  border: 1px solid #0F65B5;
  background-color: #fff;
}
@media screen and (width <= 960px) {
  .p-front__access-units-info-buttons a + a {
    margin-left: 0;
  }
}

.p-front {
  color: #333333;
}

.p-contact {
  color: #333333;
}

html {
  font-size: 62.5%;
}

body {
  font-family: "Zen Kaku Gothic New", -apple-system, blinkmacsystemfont, "Helvetica Neue", "游ゴシック体", yugothic, "游ゴシック", "Yu Gothic", "ヒラギノ角ゴ ProN W3", hiragino kaku gothic pron, arial, "メイリオ", meiryo, sans-serif, sans-serif;
  font-size: clamp(1.4rem, 1.343rem + 0.29vw, 1.6rem);
  font-weight: 400;
  font-feature-settings: "palt";
  line-height: 1.75;
  color: #333333;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-size-adjust: 100%;
     -moz-text-size-adjust: 100%;
          text-size-adjust: 100%;
}
body a {
  color: inherit;
  text-decoration: underline;
  text-underline-position: under;
  -webkit-text-decoration-skip-ink: none;
          text-decoration-skip-ink: none;
}
body ul,
body ol {
  list-style: none;
}
body img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}
body input,
body button,
body textarea,
body select {
  font-family: "Zen Kaku Gothic New", -apple-system, blinkmacsystemfont, "Helvetica Neue", "游ゴシック体", yugothic, "游ゴシック", "Yu Gothic", "ヒラギノ角ゴ ProN W3", hiragino kaku gothic pron, arial, "メイリオ", meiryo, sans-serif;
  font-size: inherit;
  color: inherit;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  background: none;
  border: none;
  border-radius: 0;
}
body input [type=submit],
body button {
  cursor: pointer;
}

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
/* Document
   ========================================================================== */
/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
  line-height: 1.15; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
}

/* Sections
   ========================================================================== */
/**
 * Remove the margin in all browsers.
 */
body {
  margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
  display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

/* Grouping content
   ========================================================================== */
/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
  box-sizing: content-box; /* 1 */
  height: 0; /* 1 */
  overflow: visible; /* 2 */
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/* Text-level semantics
   ========================================================================== */
/**
 * Remove the gray background on active links in IE 10.
 */
a {
  background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
  border-bottom: none; /* 1 */
  text-decoration: underline; /* 2 */
  -webkit-text-decoration: underline dotted;
          text-decoration: underline dotted; /* 2 */
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
  font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/**
 * Add the correct font size in all browsers.
 */
small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Embedded content
   ========================================================================== */
/**
 * Remove the border on images inside links in IE 10.
 */
img {
  border-style: none;
}

/* Forms
   ========================================================================== */
/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
  font-family: inherit; /* 1 */
  font-size: 100%; /* 1 */
  line-height: 1.15; /* 1 */
  margin: 0; /* 2 */
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input { /* 1 */
  overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select { /* 1 */
  text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type=button],
[type=reset],
[type=submit] {
  -webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type=button]::-moz-focus-inner,
[type=reset]::-moz-focus-inner,
[type=submit]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type=button]:-moz-focusring,
[type=reset]:-moz-focusring,
[type=submit]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
  padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *    `fieldset` elements in all browsers.
 */
legend {
  box-sizing: border-box; /* 1 */
  color: inherit; /* 2 */
  display: table; /* 1 */
  max-width: 100%; /* 1 */
  padding: 0; /* 3 */
  white-space: normal; /* 1 */
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
  vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
  overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type=checkbox],
[type=radio] {
  box-sizing: border-box; /* 1 */
  padding: 0; /* 2 */
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type=number]::-webkit-inner-spin-button,
[type=number]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type=search] {
  -webkit-appearance: textfield; /* 1 */
  outline-offset: -2px; /* 2 */
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type=search]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}

/* Interactive
   ========================================================================== */
/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
  display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
  display: list-item;
}

/* Misc
   ========================================================================== */
/**
 * Add the correct display in IE 10+.
 */
template {
  display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
  display: none;
}

*:not(dialog),
*::before,
*::after {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}
