header{
    background: var(--coler-Background-Gradient);
}
.page_title{
    background: var( --coler-Background-Accent);
}
h1{
    position: relative;
    background: url("../images/recruit/recruit_title_bg.jpg") no-repeat;
    background-position: top right;
    background-size: 90%;
    text-align: center;
    padding: 8% 0;
    color: var(--coler-Text-White);
    font-size: 4vw;
    font-weight: 500;
    letter-spacing: 0.1em;
    z-index: 1;
    animation-name: fadein;
    animation-duration:2s;
    animation-fill-mode: forwards;
    opacity: 0;
    
}
h1 span{
    display: block;
    font-family: var(--text-Title-sans_serif);
    font-size: 2vw;
     font-weight: 300;
    letter-spacing: 0.05em; 
}
@keyframes fadein
{
 0%{
     transform: translateX(50px);
     opacity: 0;
 }

 100%{
     transform: translateX(0);
     opacity: 1;
 }
}

/*パンくずリスト*/

.breadcrumb{
    position: absolute;
    width: 23%;
    background: var(--coler-Background-Primary);
    padding: 2% 5%;
    margin-top: -5vw;
    z-index: 2;
    
}
.breadcrumb li {
  display: inline; /*横に並ぶように*/
  list-style: none;
  font-size: 1vw;
}
.breadcrumb li:after { /* >を表示*/
  content: '>';
  padding: 0 0.2em;
  color: var(--coler-Text-Primary);
}
.breadcrumb li:last-child:after {
  content: '';
}
.breadcrumb li a {
  text-decoration: none;
  color: var(--coler-Text-Primary);
}
.breadcrumb li a:hover {
  color: var(--coler-Text-Sub);
  text-decoration: underline;
}
@media (width < 1000px){
    .breadcrumb{
        width: 25%;
    }
    .breadcrumb li {
        font-size: 1.2vw;
    }
}
@media (width < 768px){
    .breadcrumb{
        width: 30%;
    }
    .breadcrumb li {
        font-size: 1.5vw;
    }
}
@media (width < 500px){
    h1{
        font-size: 5vw;
        padding: 7.5% 0;
    }
    h1 span{
        font-size: 2.5vw;
    }
    .breadcrumb{
        width: 38%;
        margin-top: -7vw;
    }
    .breadcrumb li {
        font-size: 2.5vw;
    }
}

/*ページ共通*/
main p {
    margin-bottom: 1em;
    line-height: 1.7em;
    letter-spacing: 0.05em;
    color: var(--coler-Text-Primary);
    font-size: 16px;
}
main section{
    padding-top: 5%;
}
h2{
    margin-bottom: 5%;
}
h2.h2_blue{
    position: relative;
    display: flex; /* フレックスボックスを有効化 */
    flex-direction: column;
    color: var(--coler-Text-Accent);
    padding: 5% 0;
    font-size: 3vw;
    justify-content: center; /* 水平方向の中央寄せ */
    align-items: center; /* 垂直方向の中央寄せ */
    letter-spacing: 0.05em;
}
h2.h2_blue span{
    display: block;
    font-size: 1.5vw;
}
h2.h2_blue:after{
    position: absolute;
    top: 50%; /* 垂直方向の中央寄せ */
    left: 50%; /* 水平方向の中央寄せ */
    transform: translate(-50%, -50%); /* 中央に配置 */
    font-size: 12vw; /* 背景テキストのフォントサイズ */
    font-family: var(--text-Title-sans_serif);
    color:rgba(0,0,0,0); /* 背景テキストの色（透明度含む） */
    -webkit-text-stroke: 1px #19BAFF;
    white-space: nowrap; /* テキストの折り返し防止 */
    opacity: 0.5;  
}
h2.h2_white{
    position: relative;
    display: flex; /* フレックスボックスを有効化 */
    flex-direction: column;
    color: var(--coler-Text-White);
    padding: 5% 0;
    font-size: 3vw;
    justify-content: center; /* 水平方向の中央寄せ */
    align-items: center; /* 垂直方向の中央寄せ */
    letter-spacing: 0.05em;
}
h2.h2_white span{
    display: block;
    font-size: 1.5vw;
}
h2.h2_white:after{
    position: absolute;
    top: 50%; /* 垂直方向の中央寄せ */
    left: 50%; /* 水平方向の中央寄せ */
    transform: translate(-50%, -50%); /* 中央に配置 */
    font-size: 12vw; /* 背景テキストのフォントサイズ */
    font-family: var(--text-Title-sans_serif);
    color:rgba(0,0,0,0); /* 背景テキストの色（透明度含む） */
    -webkit-text-stroke: 1px #fefefe;
    white-space: nowrap; /* テキストの折り返し防止 */
    opacity: 0.5;  
}
.h3_blue{
    color: var(--coler-Text-Accent);
    font-size: 23px;
    letter-spacing: 0.1em;
    margin-bottom: 1em;
    line-height: 1.7em;
}
.h3_white{
    color: var(--coler-Text-White);
    letter-spacing: 0.1em;
    margin-bottom: 1em;
    line-height: 1.7em;
}
@media (width < 1000px){
    h2.h2_white,h2.h2_blue{
        font-size: 4.5vw;
    }
}
@media (width < 768px){
     h2.h2_white,h2.h2_blue{
        font-size: 28px;
        margin: 5% 0 10% 0;
    }
     h2.h2_white:after,h2.h2_blue:after {
         font-size: 15vw;
    }
    .h3_blue{
        font-size: 20px;
    }
}

/*メッセージ*/
.message{
    background: var(--coler-Background-Primary);
    padding-bottom: 10%;
}
.message h2:after {
    content: 'MASSAGE'; 
}

.message_wrap{
    display: flex;
    justify-content: space-between;
    padding-left: 10%;
    align-items: center;
}
.message_text{
    width: 40%;
}
.message_wrap p {
    margin-bottom: 1em;
    line-height: 1.7em;
    letter-spacing: 0.05em;
}
.message_wrap img{
    display: block;
    width: 53%;
    height: auto;
    object-fit: cover;
}
.message_img{
    width: 100%;
    margin-bottom: 0;
    line-height: 0;
}
.message_img img{
    width: 100%;
    height: auto;
    margin-top: 5%;
}
.under_column{
    flex-direction: row-reverse;
    padding: 5% 10% 0 0;
}
@media (width < 1000px){
    .message_wrap{
        flex-direction: column;
        padding-left: 0;
}
    .message_text,.message_wrap img{
        width: 90%;
        margin: 0 auto;
}
    .message_text{
        margin-bottom: 5%;
    }
    .under_column{
        padding-right: 0;
        
    }

}



/*待遇*/

.treatment{
    background: var(--coler-Background-Gradient-Lower);
}
.treatment h2:after {
    content: 'TREATMENT'; 
}
.treatment table{
    width: 80%;
    margin: 0 auto;
}
.treatment table caption{
    font-size: 23px;
    font-weight: 600;
    text-align: left;
    margin-bottom: 3%;
    letter-spacing: 0.05em;
}
.treatment{
    padding-bottom: 5%;
}
.treatment table,.treatment tr th,.treatment tr td{
    border-collapse: collapse;
    border-spacing: 0;
    border-bottom: 1px solid #fefefe;
    padding: 2% 0;
    color: var(--coler-Text-White);
    line-height:1.7em;
    vertical-align: middle;
    letter-spacing: 0.05em;
     }
.treatment tr th{
    width: 15%;
    text-align: left;
}
.treatment table tr td{
    text-align: left;
}
.treatment .btn{
    width: 30%;
    margin: 5% 0;
    font-size: 1vw;
}
.treatment .align_center{
    width: 100%;
    margin: 2% 0 0 0;
}

@media (width < 1000px){
    .treatment table{
        width: 90%;
    }
    .treatment .btn{
        font-size: 1.7vw;
    }
    .treatment .btn-c{
         width: 42%;
    }
}
@media (width < 750px){
    .treatment table caption{
        font-size: 20px;
    }
    .treatment table,.treatment tr th,.treatment tr td{
        padding: 5% 0;
    }
    .treatment tr th{
        width: 30%;
    }
    .treatment .btn{
        font-size:15px;
    }
    .treatment .btn-c{
         width: 60%;
    }
}
@media (width < 500px){
    .treatment .btn-c{
         width: 80%;
    }
}





/*イベント*/

.event{
    background: var(--coler-Background-Primary);
}
.event h2:after {
    content: 'EVENT'; 
}
.event_wrap{
    width: 80%;
    margin: 0 auto;
    display: flex;
    color: var(--coler-Text-White);
    flex-wrap: wrap;
    gap:5%;
}
.event_box{
    width: 30%;
    margin-bottom: 5%;
}
.event_box h3{
    margin-bottom: 10px;
}
.event_box img{
    display: block;
    width: 100%;
    margin: 0 0 20px 0;
}
.event_wrap p{
    color: var(--coler-Text-Primary);    
}

.event_under_wrap p {
    margin-bottom: 1em;
    line-height: 1.7em;
    letter-spacing: 0.05em;
}
.event_under_wrap img{
    display: block;
    width: 50%;
    height: auto;
    object-fit: cover;
}

@media (width < 1000px){
    .event_wrap{
        width: 90%;
        flex-direction: column;
        margin: 0 auto;
    }
    .event_box{
        width: 100%;
}
    .event_Number{
        font-size: 20vw;
    }
}

    

/*school*/

.school{
    position: relative;
    background: url("../images/common/school_bg.jpg") no-repeat;
    background-size: cover;
    background-position: center right;
    z-index: 5;
    padding: 8.5vw 0 0 0; 
    color: var(--coler-Text-Primary);
    letter-spacing: 0.1em;    
}
.school_tit{
    -webkit-transition: 0.8s ease-in-out;
    -moz-transition: 0.8s ease-in-out;
    -o-transition: 0.8s ease-in-out;
    transition: 0.8s ease-in-out;
    transform: translateX(-30px);
    opacity: 0;
    filter: alpha(opacity=0);
    -moz-opacity: 0;
}
.school_tit.on{
    opacity: 1.0;
    filter: alpha(opacity=100);
    -moz-opacity: 1.0;
    transform: translateX(0);
}
.school_wrap{
    width: 60%;
}
.school h2{
    background: var(--coler-Background-Accent);
    color: var(--coler-Text-White);
    padding-left:10%;
}
.school h2 span{
    display: inline-block;
    font-size: 4.5vw;
    font-family: "din-2014-narrow", sans-serif; 
    font-weight: 600;
    margin-right: 20px;
     letter-spacing: 0;
}

.school .school_text{
    padding: 2vw 0 8vw 10%;
}
.school .school_text h3{
    font-size: 1.6vw;
    font-weight: 500;
    margin-bottom: 1.5em;
    line-height: 1.7em;
}
.school .school_text p{
    width: 65%;
    font-size: 1vw;
    line-height: 1.8em;
    margin-bottom: 1em;
}
.school .btn{
    margin-top: 3%;
}
@media (width < 1300px){
    .school_wrap{
        width: 80%;
}
    .school .school_text h3{
        font-size: 1.8vw;
    }
    .school .school_text p,.school .btn{
        font-size: 1.4vw;
    }
}
@media (width < 1000px){

    .school .school_text h3{
        font-size: 2.1vw;
    }
    .school .school_text p {
        width: 90%;
    }
    .school .school_text p,.school .btn{
        font-size: 1.7vw;
    }
}
@media (width < 768px){
    .school{
        position: relative;
        background-color:rgba(255,255,255,0.5);
        background-blend-mode:lighten;
        padding-bottom: 5%;
    }
    .school h2{
        font-size: 26px;
        padding:2% 5%;
        margin-bottom: 5%;
    }
    .school h2 span{
        font-size: 40px;
        display: block;
    }
    .school_wrap{
        width: 100%;
    }
    .school .school_text{
    padding: 2vw 5%;
    }
    .school .school_text h3{
        font-size: 20px;
    }
    .school .school_text p {
        width: 100%;
    }
    .school .school_text p,.school .btn{
        font-size: 15px;
    }
}


