/* ↓共通部分↓ */
nav a.logo img {
  width: 70px;
}

header nav.global-nav {
  position: relative;
}

header nav.global-nav .system-menu {
  background-color: transparent;
  border: none;
  display: inline-block;
  position: absolute;
  top: 50%;
  right: 0;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
  outline: 0;
  cursor: pointer;
}

header nav .system-menu span {
  display: block;
  background-color: black;
  width: 35px;
  height: 3px;
  margin-bottom: 6px;
  -webkit-transition: all 1s;
  transition: all 1s;
}

header nav button.system-menu-open span:nth-child(1) {
  -webkit-transform: translateY(8px) rotate(135deg);
          transform: translateY(8px) rotate(135deg);
}

header nav button.system-menu-open span:nth-child(2) {
  -webkit-transform: scale(0);
          transform: scale(0);
}

header nav button.system-menu-open span:nth-child(3) {
  -webkit-transform: translateY(-9px) rotate(-135deg);
          transform: translateY(-9px) rotate(-135deg);
}

header nav button .system-menu-contents {
  /* width: 200px;
  height: 250px;
  position: absolute;
  top: 50px;
  right: 5px;
  z-index: 5;
  background-color: white;
  border-radius: 10px;
  -webkit-box-shadow: 0 0 3px rgba(0, 0, 0, 0.7);
          box-shadow: 0 0 3px rgba(0, 0, 0, 0.7);
  font-family: 'Rubik', sans-serif; */
  display: flex;
  flex-direction: row;
}

header nav button .system-menu-contents ul {
  /* margin: 0;
  height: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -ms-flex-pack: distribute;
      justify-content: space-around;
  padding: 0; */
  display: flex;
  flex-direction: row;
}

header nav button .system-menu-contents ul li {
  list-style: none;
  margin-right:10px;
}

header nav button .system-menu-contents ul li a {
  color: rgba(0, 0, 0, 0.7);
}

header nav button .system-menu-contents.hide, header .global-nav .system-menu .system-humburger.hide{
  display: none;
}

/* ↓SYSTEM↓ */
#system-title {
  padding: 9.6rem 0;
  background: #f5f5f5;
}

#system-title h1 {
  text-align: center;
  margin-bottom: 0;
  padding-bottom: 10px;
  font-family: 'ヒラギノ明朝 ProN','Hiragino Mincho ProN',sans-serif;
  font-size: 26px;
  color: #522E0A;
  position: relative;
}

/* #system-title h1::after {
  content: '';
    position: absolute;
    display: block;
    bottom: 0;
    left: 0;
    right: 0;
    margin: 0 auto;
    height: 2px;
    width: 200px;
    background-image: linear-gradient(90deg, RGBA(0, 0, 0, 0), RGBA(82, 46, 46, 1) 50%, RGBA(0, 0, 0, 0) 100%);
} */

#system-title > p {
  text-align: center;
  margin-top: 0;
  padding-top: 10px;
  font-family: 'ヒラギノ明朝 ProN','Hiragino Mincho ProN',sans-serif;
  font-size: 12px;
  color: #522E0A;
}

#system-course {
  font-family: 'ヒラギノ明朝 ProN','Hiragino Mincho ProN',sans-serif;
  color: #522E0A;
  margin-top: 50px;
}

#system-course h2 {
  text-align: center;
  font-size: 36px;
  margin-bottom: 0;
  position: relative;
  padding-bottom: 10px;
}

#system-course h2::after {
  content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    margin: 0 auto;
    height: 2px;
    width: 200px;
    background-image: linear-gradient(90deg, RGBA(0, 0, 0, 0), RGBA(82, 46, 46, 1) 50%, RGBA(0, 0, 0, 0) 100%);
}

#system-course > p {
font-size: 14px;
text-align: center;
margin-top: 0;
margin-bottom: 30px;
padding-top: 10px;
}

#system-course .system-heap-course {
  width: 95%;
  margin: 0px auto;
  margin-bottom: 30px;
  padding: 28px 0;
  color: white;
  /* opacity: 0;
  transform:translateY(-50px); */
}

#system-course .system-suddenly-course {
  width: 95%;
  margin: 0 auto;
  margin-bottom: 30px;
  padding: 28px 0;
  color: white;
}


#system-course .system-option a {
text-decoration:none;
}
#system-course .system-option a:link {
color: #fff;
}
#system-course .system-option a:visited {
color: #fff;
}
#system-course .system-option a:hover {
color: #fff;
text-decoration:underline;
}
#system-course .system-option a:active {
color: #fff;
}


#system-course .system-option {
  width: 95%;
  margin: 0 auto;
  margin-bottom: 30px;
  padding: 28px 0;
  color: white;
}

#system-course .system-eachcourse-wrapper {
  width: 70%;
  margin: 0 auto;
}

#system-course .system-eachcourse-wrapper h4 {
  text-align: center;
  font-size: 22px;
}

#system-course .system-eachcourse-wrapper .system-course-description {
  font-size: 18px;
  margin-top: 15px;
 line-height: 1.5em;
}

#system-course .system-eachcourse-wrapper span {
  font-size: 22px;
}

#system-course .system-eachcourse-wrapper span.system-recommend {
  display: inline-block;
  font-size: 15px;
  font-style: italic;
  position: relative;
  left: -20px;
  transform: rotate(-8deg);
  background-color: #C9A110;
  border-radius: 12px;
}

#system-course .system-eachcourse-wrapper p.system-shortest {
  margin-bottom: 30px;
  margin-top: 15px;
}

#system-course .system-eachcourse-wrapper p.system-recommended-course {
  margin-top: 0;
  margin-bottom: 50px;
}

#system-course .system-option p.system-space-between {
  margin-bottom: 50px;
}

#system-course .system-option h4 {
  margin-bottom: 15px;
}

#system-course .system-option p.system-text-center:nth-of-type(4) {
  margin-bottom: 50px;
}

#system-course .system-space-between {
  display: flex;
  justify-content: space-between;
}

#system-course .system-space-between {
  display: flex;
  justify-content: space-between;
}

#system-course .system-text-center {
  text-align: center;
  font-size: 22px;
}

#system-course .system-linethrough {
  text-decoration: line-through;
}

#system-course .system-pay {
  margin-top: 110px;
}

.system-pay .system-pay-wrapper {
  padding-top: 50px;
}
.system-pay h2 {
  margin-bottom: 20px;
}

#system-course .system-pay .system-pay-wrapper p {
  line-height: 1.5;
}

#system-course .system-policy h2 {
  /* margin-top: 110px; */
  margin-bottom: 0;
}



.system-policy p.system-policy-text {
  line-height:2;
	  margin:30px 0;
}

.system-policy p.system-policy-sub-title {
  margin-bottom: 30px;
  padding-top: 10px;
  text-align: center;
}

#system-course .system-policy .system-ban {
  text-align: center;
  margin: 20px 0;
}

#system-course .fadein {
  opacity: 1;
  transform: translateY(50px);
}

/* ↓ACCESS↓ */
#access-body {
  margin: 0;
}

#access-first-view {
  background-color: black;
  position: relative;
  font-family: 'ヒラギノ明朝 ProN','Hiragino Mincho ProN',sans-serif;
}

#access-first-view p {
  color: #522E0A;
  font-size: 27px;
  margin: 0;
  line-height: 1.5;
  font-weight: bold;
}

#access-first-view .access-first-view-ward {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  margin-left: 1.5rem;
  font-style: italic;
}

#access-location {
  font-family: 'ヒラギノ明朝 ProN','Hiragino Mincho ProN',sans-serif;
  color: #8b4513;
}

#access-location .access-location-wrapper {
  padding: 0 15px;
  padding-bottom: 120px;
}

#access-location .access-location-wrapper iframe {
  width: 100%;
}

#access-location .access-location-wrapper > p:nth-of-type(3) {
  width: 100%;
  margin-top: 40px;
}

#access-location h4 {
  margin-top: 0;
  margin-bottom: 60px;
  font-size: 23px;
}

#access-location p {
  color: white;
  font-size: 15px;
}

#access-location .access-location-wrapper > p {
  font-size: 14px;
  }

#access-details {
  background-color: #1b2a2f;
  padding-top: 120px;
  padding-bottom: 60px;
}

#access-details .access-details-wrapper {
  padding: 0 15px;
}

#access-details .access-details-wrapper p {
  color: white;
}

#access-details .access-details-wrapper p.access-img-bottom-p {
  color: white;
  font-size: 13px;
  margin-top: 20px;
  margin-bottom: 60px;
}

#access-details .access-details-wrapper > p:nth-of-type(1) {
  margin-top: 0;
  margin-bottom: 50px;
  font-size: 25px;
}

#access-details div img {
  display: inline-block;
  width: 100%;
}

.access-slide {
  position: relative;
  overflow: hidden;
  display: inline-block;
}

.access-slide img{
  width: 300px;
}

#access-body img {
  display: inline-block;
  /* position: relative; */
  /* z-index: -1; */
}

.access-slide::after{
  content: '';
  background-color: black;
  display: inline-block;
  width:100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 20;
  transition: all 0.8s;
  transition-timing-function: ease-in;
  transition-timing-function: cubic-bezier(1.0,0.7,0.8,0.8);
}


.access-slide1::after {
  background-color: #8b4513;
}

.access-slide2::after {
  background-color: white;
}

.slide-fadein::after{
  transform: translateX(100%);
}

#access-details p.access-slide {
  margin-top: 0;
}

.access-try {
  width: 500px;
  height: 1000px;
  background-color: pink;
}

/* ↓GUIDE↓ */
#guide-body {
  margin: 0;
  font-family: 'ヒラギノ明朝 ProN','Hiragino Mincho ProN',sans-serif;
}


#guide-container {
  background-color: #fafaf0;
  /* padding-top: 58px; */
}

.guide-title-wrapper {
  position: relative;
  margin-bottom: 70px;
}

.guide-title-wrapper .guide-title-p {
  text-align: center;
  margin: 0;
  background-color: #fafaf0;
  position: relative;
  z-index: 30;
}

#guide-container h1 {
  background: #f5f5f5;
  position: relative;
  text-align: center;
  z-index: 30;
  overflow: visible;
  margin: 0;
  color: #522E0A;
}

#guide-container .guide-line {
  display: inline-block;
  width: 180px;
  height: 2px;
  background-color: rgba(59, 59, 59, 0.7);
  transform: rotate(40deg) translateX(-50%) translateY(-50%);
  transform-origin: left;
  position: absolute;
  left: 50%;
  top: 50%;
}

.guide-step-img {
  height: 315px;
  margin: 0;
  position: relative;
}

.guide-step-container h3 {
  margin: 0;
}

.guide-step-container > h4 {
  display: none;
}

.guide-step-container p {
  margin-top: 60px;
  margin-bottom: 0;
  padding-bottom: 30px;
  color: #8B8370;
}

.guide-step {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
  /* background-color: #8B8370; */
  width: 105px;
  height: 105px;
  border-radius: 50%;
  text-align: center;
  vertical-align: middle;
  display: table;
}

.guide-step-inner {
  width: 100%;
  height: 100%;
  display: table-cell;
  vertical-align: middle;
  color: white;
  font-style: italic;
  font-size: 20px;
}

.guide-step-number {
  font-size: 30px;
}

.guide-step-img .guide-step-sp-title {
  margin: 0;
  font-size: 24px;
  position: absolute;
  top: 80%;
  left: 50%;
  transform: translateX(-50%);
  width:220px;
  color: #8B8370;
  text-align: center;
}

.guide-step3-img .guide-step-sp-title {
  top: 70%;
} 

.guide-step-container hr {
  display: none;
}

/* ↓RECRUIT↓ */








/* ↓タブレット、PC↓ */
@media screen and (min-width: 600px) {

  .system-pay .system-pay-wrapper {
    padding: 0 40px;
    /* padding-top: 50px; */
  }
  .system-policy-wrapper {
    padding: 0 40px;
  }
  /* .system-policy-wrapper {
    width: 60%;
    margin: 0 auto;
  } */

  /* ↓GUIDE↓ */
  .guide-step-container p {
    text-align: center;
  }

  /* ↓RECRUIT↓ */
  #recruit-merit .recruit-each-merit-title .recruit-merit-number {
    display: inline-block;
    position: relative;
    width: 60px;
    height: 60px;
    line-height: 60px;
    text-align: center;
    font-size: 35px;
    border-radius: 50%;
    box-sizing: border-box;
  }

  #recruit-merit .recruit-each-merit-title h2 {
    display: inline-block;
  }
}






@media screen and (min-width: 768px) {
  /* ↓共通部分↓ */


  /* ↓SYSTEM↓ */
  #system-course .system-heap-course, #system-course .system-suddenly-course, #system-course .system-option {
    width: 75%;
  }

  /* ↓ACCESS↓ */
  #access-first-view p {
    font-size: 40px;
  }

  #access-location .access-location-pc-wrapper {
    display: flex;
    justify-content: space-between;
  }

  #access-location h4 {
    /* margin-top: 0; */
    font-size: 26px;
    /* width: 35%; */
  }
  
  #access-location p {
    color: white;
    font-size: 18px;
    /* width: 65%; */
    margin :0;
    margin-bottom: 30px;
  }

  #access-location iframe {
    margin-bottom: 35px;
  }

  #access-details .access-details-pc-wrapper {
    display: flex;
    justify-content: space-between;
  }

  #access-details .access-details-pc-wrapper > div {
    width: 30%;
  }

  #access-details .access-details-pc-wrapper > p {
    width: 30%;
  }

  #access-details .access-details-wrapper p {
    font-size: 26px;
    margin-bottom: 0;
  }

  /* ↓GUIDE↓ */
  .guide-step-container .guide-step-img h4 {
    display: none;
  }

  .guide-step {
    width: 170px;
    height: 170px;
    top: 100%;
  }

  .guide-step-inner {
    font-size: 30px;
  }

  .guide-step-number {
    font-size: 50px;
  }

  .guide-step-container p {
    margin-top: 30px; 
    margin-bottom: 0;
    padding-bottom: 30px;
  }

  .guide-step-container > h4 {
    display: block;
    margin-top: 140px; 
    text-align: center;
    font-size: 24px;
    color: #8B8370;
  }

  .guide-step-container hr {
    display: block;
    width: 63px;
    height: 4px;
    background-color: black;
    text-align: center;
    /* border-style: inset; */
    /* border: solid;
    border-width: 1px; */
  }
}

/* ↓PC↓ */
@media screen and (min-width: 1000px) {

  .system-pay .system-pay-wrapper {
    width: 60%;
    margin: 0 auto;
  }
  .system-policy-wrapper {
    width: 60%;
    margin: 0 auto;
  }

  /* ↓ACCESS↓ */
  #access-location .access-location-wrapper {
    padding: 0 40px;
    padding-bottom: 120px;
  }

  #access-location .access-location-pc-wrapper {
    width: 930px;
  }

}



/*---------------------------------------------------
 * モバイル版
 *---------------------------------------------------*/
@media screen and (max-width: 768px) {
#system-course .system-eachcourse-wrapper {
  width: 86%;
  margin: 0 auto;
}

#system-course .system-eachcourse-wrapper span {
  font-size: 18px;
}
#system-course h2 {
    font-size: 21px;
}	
}