.bg {
    position: relative;
}
.bg_top {
    position: fixed;
    top: 100px;
    right: 100px;
    z-index: -1;
}
.bg_bottom {
    position: fixed;
    bottom: 100px;
    left: 100px;
    z-index: -1;
}
main {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 30px;
}
@media (max-width: 1080px) {
    .bg_top {
        right: 30px;
    }
    .bg_bottom {
        left: 30px;
    }
}
@media (max-width: 800px) {
    .bg img {
        width: 30vw;
    }
}
/*---------------------- ヘッダー ----------------------*/
.header {
    display: flex;
    height: 60px;
    width: 100%;
    position: fixed;
    z-index: 10000;
    background-color: rgb(255, 255, 255, 0.5);
}
.header_L {
    width: fit-content;
}
.header img {
    height: 38px;
    padding: 10px 10px;
}
.header_R {
    width: 100%;
    padding: 10px;
    display: flex;
    justify-content: end;
	place-items: center center;
}
.header_R p {
    padding: 0px 5px;
    font-size: 16px;
    text-align: none;
    color: #000000;
}
.header_L_rogo,
.header_R_rogo {
    height: 40px;
    width: auto;
}
.header_R_rogo {
    padding-right: 5px;
}
.header_R_wrapper {
    display: flex;
}
.header_R_wrapper_txt {
    display: block;
    color: #fff;
    font-size: 1.5rem;
}
.header_R_wrapper_txt span {
    font-size: 2.5rem;
}
.header img {
    height: 40px;
}
@media (max-width: 1080px) {
    .header {
        height: 48px;
    }
    .header_R {
        padding: 5px;
    }
    .header_R_wrapper {
        display: block;
    }
    .header_R_rogo {
        height: 28px;
        padding: 0;
    }
    .header_R p {
        font-size: 14px;
    }
    .header_R_wrapper_txt br {
        display: none;
    }
    .header_R_wrapper_txt {
        font-size: 1rem;
    }
    .header_R_wrapper_txt span {
        font-size: 1rem;
    }
    .header img {
        height: 38px;
        padding: 5px 10px;
    }
}
/***追従するトップへ戻るボタン***/
#page-top {
    position: fixed;
    right: 5px;
    bottom: 120px;
    height: 50px;
    text-decoration: none;
    font-weight: bold;
    transform: rotate(90deg);
    font-size: 90%;
    line-height: 1.5rem;
    color: #737373;
    padding: 0 0 0 35px;
    border-top: solid 1px;
}
#page-top::before {
    content: "";
    display: block;
    position: absolute;
    top: -1px;
    left: 0px;
    width: 15px;
    border-top: solid 1px;
    transform: rotate(35deg);
    transform-origin: left top;
}
/***トップへ戻るボタンここまで***/

/*---------------------- ファーストビュー ----------------------*/
.firstvew {
    height: calc(100vh - 80px);
}
.firstvew_ttl h3 {
    position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	padding: 15px 30px;
    width: 900px;
    font-size: 36px;
    line-height: 72px;
}
@media (max-width: 1080px){
    .firstvew {
        height: 100vh;
    }
	.firstvew_ttl h3 {
		writing-mode: vertical-rl;
		align-items: center;
		display: flex;
		font-size: 2vh;
        height: 60%;
        width: auto;
        line-height: 4vh;
	}
}


/*スクロールダウン全体の場所*/
.scrolldown1{
    /*描画位置※位置は適宜調整してください*/
  position:absolute;
  left:50%;
  top: 74%;
    /*全体の高さ*/
  height:150px;
}

/* 線の描写 */
.scrolldown1::after{
  content: "";
    /*描画位置*/
  position: absolute;
  top: 0;
    /*線の形状*/
  width: 1px;
  height: 150px;
  background: #bebebe;
    /*線の動き1.4秒かけて動く。永遠にループ*/
  animation: pathmove 1.4s ease-in-out infinite;
  opacity:0;
}

/*高さ・位置・透過が変化して線が上から下に動く*/
@keyframes pathmove{
  0%{
    height:0;
    top:0;
    opacity: 0;
  }
  30%{
    height:75px;
    opacity: 1;
  }
  100%{
    height:0;
    top:150px;
    opacity: 0;
  }
}
/*---------------------- コース ----------------------*/
.course {
    margin-bottom: 50px;
}
.course_ttl h2 {
    font-size: 3.6rem;
    line-height: 65px;
    padding-left: 20px;
}
.course_ttl span {
    font-size: 2.4rem;
}
.course_ttl_1 {
    background: linear-gradient(#FDE59B,#fff);
}
.course_ttl_2 {
    background: linear-gradient(#FCB873,#fff);
}
.course_ttl_3 {
    background: linear-gradient(#F396FF,#fff);
}
.course_ttl_4 {
    background: linear-gradient(#BD83FF,#fff);
}
.course_ttl_5 {
    background: linear-gradient(#537BFF,#fff);
}
.course_ttl_6 {
    background: linear-gradient(#48D000,#fff);
}
.course_ttl {
    height: 65px;
}
.course_contents {
    display: flex;
    justify-content: space-between;
}
.course_content_L {
    width: 60%;
}
.course_content_R {
    width: 35%;
}
.course_content_R ul li {
    font-size: 2.4rem;
}
.course_content_familly p {
    font-size: 1.6rem;
    text-align: center;
    margin-top: 10px;
}
.course_content_R ul {
    background-color: #F7F7F7;
    opacity: 0.9;
    margin-top : 20px;
    padding: 20px;
}
.fa-link {
    margin-right: 5px;
}
.course_link {
    text-align: center;
    margin-top: 30px;
}
.course_link a {
    font-size: 1.6rem;
    color: #000000;
    text-decoration: none;
    display: inline-block;
    position: relative;
}
.course_link a::after {
    position: absolute;
    left: 0;
    content: '';
    width: 100%;
    height: 2px;
    background: #000000;
    bottom: -1px;               /*アンダーラインがaタグの下端から現れる*/
    transform: scale(0, 1);     /*アンダーラインの縮尺比率。ホバー前はx方向に0*/
    transform-origin: left top; /*変形（アンダーラインの伸長）の原点がaタグ（各メニュー）の左端*/
    transition: transform 0.3s; /*変形の時間*/
}
    
.course_link a:hover::after {
    transform: scale(1, 1);     /*ホバー後、x軸方向に1（相対値）伸長*/
}
@media (max-width: 800px) {
    .course_ttl {
        height: 50px;
    }
    .course_ttl h2 {
        font-size: 2.7rem;
        line-height: 50px;
        padding-left: 20px;
    }
    .course_ttl span {
        font-size: 1.8rem;
    }
    .course_contents {
        display: block;
    }
    .course_content_R {
        display: flex;
        width: 100%;
    }
    .course_content_L {
        width: 100%;
        margin-bottom: 20px;
    }
    .course_content_R img {
        width: 60%;
    }
    .course_content_R ul {
        width: 35%;
        margin: 0;
        padding: 10px;
        height: 100%;
    }
    .course_content_R ul li {
        font-size: 3vw;
    }
    .course_content_familly p {
        font-size: 2.5vw;
    }
    .course_link {
        margin-top: 20px;
    }
}
@media (max-width: 500px) {
    .course_content_R {
        display: block;
    }
    .course_content_L {
        margin-bottom: 10px;
    }
    .course_content_R ul {
        width: auto;
        padding: 10px;
    }
    .course_content_R ul li {
        font-size: 14px;
    }
    .course_content_R img {
        width: 80%;
        margin: 10px 10%;
    }
}
/*---------------------- サービス ----------------------*/
.service {
    margin-top: 50px;
    margin-bottom: 100px;
}
.service_ttl,
.service_txt {
    font-size: 2.4rem;
}
.service_icon {
    margin: 40px auto;
}
.service_icon ul {
    display: flex;
    flex-wrap: wrap;
}
.service_icon ul li {
    width: 180px;
    display: flex;
    margin: 10px;
    position: relative;

}
.service_icon_img {
    width: 60px;
    height: 60px;
}
.service_icon_txt {
    font-size: 1.6rem;
    position: absolute;
    top: 50%;
    left: 40%;
    transform : translateY(-50%);
}
@media (max-width: 800px) {
    .service {
        margin-bottom: 50px;
    }
    .service_ttl {
        font-size: 1.6rem;
    }
    .service_icon {
        margin: 20px auto;
    }
    .service_icon ul li {
        margin: 5px;
        width: 140px;
    }
    .service_icon_txt {
        font-size: 1.2rem;
    }
    .service_icon_img {
        width: 50px;
        height: 50px;
    }
    .service_txt {
        font-size: 1.2rem;
    }
}
/*---------------------- アクセス ----------------------*/
.access {
    width: 100%;
}
.access_tel {
    background-color: #FCF4F1;
    opacity: 0.9;
    font-size: 2.4rem;
    padding: 40px 100px;
}
.access_tel p {
    padding: 40px;
    margin-bottom: 40px;
    background-color: #fff;
}
.access_tel_wrapper {
    width: fit-content;
    margin: auto;
}
.access_tel_number {
    display: flex;
    justify-content: center;
    background-color: #A40033;
    color: #fff;
    border-radius: 52px;
    padding: 5px 10px;
    width: fit-content;
    margin: 0 auto;
}
.access_tel_number h3{
    text-align: center;
    font-size: 20px;
    padding: 16px 10px;
}
.access_tel_number h2 {
    color: #A40033;
    background-color: #fff;
    width: fit-content;
    font-size: 24px;
    padding: 10px 24px;
    margin: 5px auto;
    border-radius: 44px;
}
.access_address {
    display: flex;
    margin-bottom: 20px;
}
.access_address img {
    width: 30%;
}
.access_address_txt {
    width: 70%;
    background-color: #F7F7F7;
    opacity: 0.9;
    font-size: 2.4rem;
    display: grid;
    place-items: center;
}
.access_link {
    text-align: end;
    font-size: 2.4rem;
}
.access_link {
    margin-bottom: 100px;
}
/*矢印が右に移動する*/
.btnarrow4{
    /*矢印と下線の基点とするためrelativeを指定*/
    position: relative;
    /*形状*/
    display: inline-block;
    padding: 0 20px;
    color: #333;
    text-decoration: none;
    outline: none;
}
/*矢印と下線の形状*/
.btnarrow4::before{
    content: '';
    /*絶対配置で下線の位置を決める*/
    position: absolute;
    bottom:-8px;
    left:15%;
    /*下線の形状*/    
    width: 85%;
    height: 1px;
    background:#333;
    /*アニメーションの指定*/
    transition: all .3s;
}
.btnarrow4::after{
    content: '';
    /*絶対配置で矢印の位置を決める*/
    position: absolute;
    bottom:-3px;
    right:0;
    /*矢印の形状*/    
    width: 15px;
    height:1px;
    background:#333;
    transform: rotate(35deg);
    /*アニメーションの指定*/
    transition: all .3s;
}
/*hoverした際の移動*/
.btnarrow4:hover::before{
    left:20%;
}
.btnarrow4:hover::after{
    right:-5%;
}
@media (max-width: 800px) {
    .access_tel {
        font-size: 1.2rem;
        padding: 20px;
    }
    .access_address_txt {
        font-size: 3vw;
    }
    .access_tel p {
        padding: 10px;
        margin-bottom: 10px;
        background-color: #fff;
    }
    .access_tel_number {
        display: block;
        width: 220px;
    }
    .access_tel_number h3{
        font-size: 16px;
        padding: 5px;
    }
    .access_tel_number h2 {
        font-size: 20px;
        padding: 5px 20px;
        margin: 5px auto;
    }
    .inner{
        padding:5px;
    }
    .access_link a {
        font-size: 1.2rem;
        width: 120px;
        min-width: 100px;
    }
    .access_link {
        margin-bottom: 50px;
    }
}
/*---------------------- コピーライト ----------------------*/
.copylight {
    margin-bottom: 80px;
    margin-top: 10px;

}
.copylight p {
    text-align: center;
}
