/* Define font-face for each custom font */
     @font-face {
        font-family: 'Hiragino Sans';
        src: url('fonts/hiragino-sans-gb-w3-webfont.woff2') format('woff2');
        font-weight: 300;
        font-style: normal;
    }
    
    @font-face {
        font-family: 'Hiragino Sans';
        src: url('fonts/hiragino-sans-gb-w6-webfont.woff2') format('woff2'),
             url('fonts/hiragino-sans-gb-w6-webfont.woff') format('woff');
        font-weight: 600;
        font-style: normal;
    }
    
    @font-face {
        font-family: 'Hiragino Kaku Gothic StdN W8';
        src: url('fonts/hiragino-kaku-gothic-stdn-w8.woff2') format('woff2');
        font-weight: 800;
        font-style: normal;
    }
    
    @font-face {
        font-family: 'Kozuka Gothic Pr6N';
        src: url('fonts/KozukaGothicPr6NR.woff2') format('woff2'),
             url('fonts/KozukaGothicPr6NR.woff') format('woff');
        font-weight: bold;
        font-style: normal;
    }
    
    @font-face {
        font-family: 'Hiragino Mincho Pro W6';
        src: url('fonts/hiragino-mincho-pro-w6.woff2') format('woff2'),
             url('fonts/hiragino-mincho-pro-w6.woff') format('woff');
        font-weight: 600; /* 'W6' indicates a weight of 600 */
        font-style: normal;
      }
    * {
        box-sizing: border-box;
        margin: 0;
        padding: 0;
        text-decoration: none;
      }
      body{
        max-width: 100vw;
        overflow-x: hidden;
      }
      a{
        text-decoration: none;
        color: black;
        cursor: pointer;
      }
      .videotop
    {
        width: 100vw;
        height: auto;
    }
    video{
        width: 100vw;
    }
    .bio{

    }
    .linkmid{

width: 100vw;

max-height: 40vw;
}
    .midlink{

height: fit-content;

}
    .membership{

/* margin-bottom: 4vw; */


}
.membership.mobile .membershipmain{
    background-image: url(cont/bcgr.png);

    background-size: cover;
    
    /* background-attachment: fixed; */
    
    background-position: center center;
    
    background-repeat: no-repeat;
}
    .line{

    }
    .centered{
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    footer{

font-size: 3vw;

padding: 8vw 0;

background-color: #000000;

color: white;

text-decoration: none;
}
    .imgcont, .imgcont2{

display: flex;

flex-direction: column;

align-items: center;

margin-bottom: 8vw;
}
    .imgcont img{

width: 70vw;

margin-top: 3vw;
}
.imgcont2 img{

    width: 85vw;
    
    margin-top: 3vw;
    }
    .maintext{

margin-top: 6vw;

padding: 0 5vw;

font-family: 'Hiragino Kaku Gothic StdN W3', 'Hiragino Kaku Gothic Pro', 'ヒラギノ角ゴ Pro W3', 'Hiragino Sans', sans-serif;

font-weight: 300;

font-size: 3vw;

line-height: 2.3;
}
.biotext{
    margin-bottom: 4vw;
}
    .midvid{

    }
    .vidmid{

    }
    .membershipmain{

/* background-image: url('cont/bcgr.png'); */

        /* Ensure the image covers the entire element */

/* background-size: cover; */
      
        /* Fix the background image in place (it won't scroll with the content) */

/* background-attachment: fixed; */
      
        /* Position the background image */

/* background-position: center center; */
      
        /* Set the background to repeat or not */

/* background-repeat: no-repeat; */
}
    .membershiptext{

padding: 6vw;

padding-top: 15vw;
}
    .membertext{

color: white;

margin-bottom: 5vw;

line-height: 2;

font-family: 'Hiragino Kaku Gothic StdN W3', 'Hiragino Kaku Gothic Pro', 'ヒラギノ角ゴ Pro W3', 'Hiragino Sans', sans-serif;

font-weight: 300;

}
    .buttongreen{

margin-bottom: 25vw;

background-color: #66B14F;

cursor: pointer;

width: 60vw;

height: 15vw;

border-radius: 50vw;

text-align: center;

display: flex;

flex-direction: column;

align-items: center;

justify-content: center;
}
.buttongreenlink{

margin: 4vw 0;

/* background-color: #66B14F; */

color: white;

text-decoration: none;

cursor: pointer;

}
    .linebanner{

background-color: #D1EB9E;

display: flex;

/* flex-direction: row; */

/* flex-wrap: wrap; */

justify-content: center;

/* align-items: center; */
}
.lineback{
    background-color: #F4FFDE;
}
.linebanner img{
    
width: 15vw;
    
margin-right: 3vw;
}
.banner{
    
padding: 4vw 0;
    
/* background-color: #D1EB9E; */
    
display: flex;
    
flex-direction: row;
    
align-items: center;
    
justify-content: center;
    
font-family: 'Kozuka Gothic Pr6N', Arial, Helvetica, sans-serif;
    
font-size: 5vw;
    
line-height: 1.3;
}
    .textline{

color: #393939;
}
.linetext{
    font-family: 'Hiragino Kaku Gothic StdN W5', 'Hiragino Kaku Gothic Pro', 'ヒラギノ角ゴ Pro W5', 'Hiragino Sans', sans-serif;
    font-weight: 500;
    color: #393939;
    padding: 8vw;
    line-height: 2;
}
    .subtitle{
        font-family: 'Kozuka Gothic Pr6N', Arial, Helvetica, sans-serif;
        padding: 0 7vw;
        text-align: center;
        margin-bottom: 4vw;
        font-size: 4vw;
    }
    .lineimg{

    }
    .linesub{
        font-family: 'Kozuka Gothic Pr6N', Arial, Helvetica, sans-serif;
color: #B99520;

font-weight: 600;

margin-bottom: 4vw;

}
.footerlinks a{
    color: white;
}
.copyright a{
    color: white;
}
    h1{

margin-top: 3vw;

font-size: 7vw;

font-family: 'Hiragino Kaku Gothic StdN W3', 'Hiragino Kaku Gothic Pro', 'ヒラギノ角ゴ Pro W3', 'Hiragino Sans', sans-serif;

font-weight: 300;

}
    h2{

font-family: 'Hiragino Mincho Pro W6', serif;

font-weight: 600;

font-size: 7vw;

margin-top: 3vw;
}
    h3{
        font-family: 'Hiragino Mincho Pro W6', serif;
        font-weight: 600;
        margin-top: 8vw;
        width: auto;
}
    h4{

font-family: 'Hiragino Kaku Gothic StdN W6', 'Hiragino Kaku Gothic Pro', 'ヒラギノ角ゴ Pro W6', 'Hiragino Sans', sans-serif;

font-weight: 600;

}
    h5{

font-family: 'Hiragino Mincho Pro W6', serif;

font-weight: 600;

margin-bottom: 8vw;

text-align: left;

margin-left: -10vw;

font-size: 4vw;
}
    .mobile{
        display: block;
            }
            .desktop{
        display: none;
            }
    @media only screen and (min-width: 768px) {
        /* Your CSS rules for mobile devices */
        .mobile{display: none!important;}
        .desktop{
            display: block;
        }
.bio2{
    
display: flex;
    
flex-direction: row-reverse;
    
padding: 0 10vw;
    
align-items: flex-start;
    
align-content: flex-start;
    
margin-top: 2vw;
    
margin-bottom: 5vw;
}
h4 {
    font-size: 2vw;
}
h3 {
    font-size: 2.5vw;
}
.imgcont img {
    width: 40vw;
    margin-top: 3vw;
    margin-right: -4vw;
    margin-left: 1vw;
}
.biotext {
    margin-bottom: 1.5vw;
    font-size: 1.1vw;
}
.maintext {
    margin-top: -6vw;
    padding: 0 0vw;
    line-height: 1.9;
    margin-left: -4vw;
}
.membership{

margin-top: -1vw;

background-size: cover;

background-position: center;

background-repeat: no-repeat;

background-image: url(cont/memb_back_desk.png);

width: 100vw;
}
.membershipmain {
    background-color: white;
    width: 35vw;
    margin-left: 10vw;
}
h2{

font-size: 3vw;

padding-top: 4vw;
}
h5{
    
font-size: 2vw;
    
margin-left: -2vw;
    
margin-bottom: 4vw;
}
.membershiptext {
    padding: 0 2vw;
    padding-top: 0vw;
}

.membertext {
    color: black;
    margin-bottom: 2vw;
    line-height: 2;
    font-family: 'Hiragino Kaku Gothic StdN W3', 'Hiragino Kaku Gothic Pro', 'ヒラギノ角ゴ Pro W3', 'Hiragino Sans', sans-serif;
    font-weight: 300;
}
.buttongreen {
    margin-top: 2vw;
    margin-bottom: 5vw;
    background-color: #66B14F;
    cursor: pointer;
    width: 20vw;
    height: 5vw;
    border-radius: 50vw;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.banner {
    padding: 2vw 0;
    /* background-color: #D1EB9E; */
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    font-family: 'Kozuka Gothic Pr6N', Arial, Helvetica, sans-serif;
    font-size: 3vw;
    line-height: 1.3;
}

.linebanner img {
    width: 8vw;
    margin-right: 3vw;
}

.flex{
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    padding: 2vw 10vw;
    align-items: flex-start;
    /* border-bottom: 1px solid grey; */
}

.imgcont2 img {
    width: 45vw;
    margin-top: 0vw;
    /* margin-right: 3vw; */
}   
.subtitle {
    font-family: 'Kozuka Gothic Pr6N', Arial, Helvetica, sans-serif;
    padding-right: 2vw;
    padding-left: 0;
    text-align: left;
    margin-bottom: 2vw;
    font-weight: 600;
    font-size: 1.5vw;
}
.linetext {
    font-family: 'Hiragino Kaku Gothic StdN W5', 'Hiragino Kaku Gothic Pro', 'ヒラギノ角ゴ Pro W5', 'Hiragino Sans', sans-serif;
    font-weight: 500;
    color: #393939;
    padding: 0vw;
    padding-right: 4vw;
    line-height: 2;
    font-size: 1.1vw;
    margin-bottom: 2vw;
    margin-top: 4vw;
}
.greyline{
    width: 40vw;
    border-top: #393939 1px solid;
}

.imgcont2 {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 2vw;
}
.linesub {
    font-family: 'Kozuka Gothic Pr6N', Arial, Helvetica, sans-serif;
    color: #B99520;
    font-weight: 600;
    margin-bottom: 4vw;
    margin-top: 4vw;
    font-size: 2vw;
}
.buttongreens img{
    width: 20vw;
}
.buttongreenlink {
    margin: 4vw 0;
    margin-top: 0;
    /* background-color: #66B14F; */
    color: white;
    text-decoration: none;
    cursor: pointer;
}
footer {
    font-size: 0.8vw;
    padding: 3vw 0;
    background-color: #000000;
    color: white;
    text-decoration: none;
}
body > main > section.membership.desktop > div > div:nth-child(3) > div > a{
    margin-top: 4vw;
}
    }