@charset "UTF-8";

/*共通部分*/
html {
    font-size: 16px;
    /*リンクによるジャンプの際スクロール*/
    scroll-behavior: smooth;
}

body {
    font-family: "ヒラギノ丸ゴ ProN";
    line-height: 1.7;
    color: white;
}

a {
    text-decoration: none;
}

img {
    max-width: 100%;
}


/*HEADER*/
.logo {
    margin-top: 22px;
    width: 20%;
}
/*
.main-nav {
    display: flex;
    justify-content: center;
    height: 75px;
    align-items: center;
}
*/


.main-nav {
    display: flex;
    text-transform: uppercase;
    margin-top: 34px;
    list-style: none;
}

.main-nav li {
    margin-right: 36px;
}

.main-nav a {
    font-size: 1.5vw;
    color: white;
}

.main-nav a:hover {
    color:#0bd;
}

.page-header {
    background: black;
    display: flex;
    justify-content: space-between;
    margin: 0 auto;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 2;
}

/* HOME */
.home-content {
    height: 400px;
    text-align: center;
    margin-top: 15%;
}

/*縦書き*/
.page-title {
    writing-mode: vertical-rl;
    display: inline-block;
    font-size: 5vw;
    font-family: serif;
    /*position: relative;*/
    top: 10%;
}

/*背景画像*/
.big-bg {
    background-image: url(image/homepage_bg_2.avif);
    /*min-height: 100vh;*/
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    background-attachment: fixed;
}



/*内容共通*/

.title {
    margin-top: 30%;
    font-size: 20px;
}

.subtitle {
    text-align: center;
    margin-top: 10%;
    font-size: 25px;
}

.titlelogo{
    text-align: center;
    margin-top: 20%;
}
.KYOSENlogo{
    width:50%
}
.sublogo{
    margin-top: 5%;
    width: 100%;
}
/* about */
.about {
    text-align: center;
    margin-top: 40%;
}


.about-content {
    margin-top: 5%;
    margin-right: auto;
    margin-left: auto;
    width: 74%;
}



/*project*/
.project {
    margin-top: 20%;
    text-align: center;
}

/*climber*/
.project-upside {
    margin-top: 10%;
    display: flex;
    justify-content: center;
    z-index: 1;
}
.project-downside {
    margin-top: 10%;
    display: flex;
    justify-content: center;
    z-index: 1;
}
.link-img {
    
    width: 40%;
    overflow: hidden;
    position: relative;
    background: black;
    margin: 0 auto;
}

.link-img p {
    position: absolute;
    color: white;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
}

.link-img img {
    
    transition-duration: 0.5s;
    cursor: pointer;
    height: 100%;
}

.link-img:hover img {
    transition-duration: 0.5s;
    opacity: 0.5;
}

.climber-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 5%;
}

.climber-text {
    width: 30%;
    text-align: center;
    text-align: justify;
    margin-left: 10%;
}


.cansat-content {
    margin-top: 10%;
    display: flex;
    justify-content: center;
}

/*trackrecord*/
.trackrecord{
    text-align: center;
    margin: 10%;
}

.record-intro{
    margin-top: 10%;
}

.record-content{
    margin-top: 10%;
}
.photo {
    text-align: center;
    display: flex;
    
}

.item {
    margin: 2%;
    width:60%;
}
/*contact*/
.contact {
    text-align: center;
    margin: 10%;
}


.contact-content {
    text-align: center;
    margin-top: 5%;
}


.link {
    color: white;
}

.link:hover {
    color:#0bd;
}

/*partner*/
.partner {
    text-align: center;
    margin: 10%;
    margin-top: 40%
}

.partner-content{
    margin: 8%;
    text-align: center;
}

.company-name{
    font-size: 23px;
    margin-bottom: 5%;
    text-align: center;
}

.kusayamasan {
    margin-left: auto;
    margin-top: 20%;
    margin-bottom: -10%;
    width: 80%;
    
}

.BoCS{
    margin-top: 20%;
    width:40%;
}
/*モバイル版*/
@media screen and (max-width:520px) {

    .big-bg {
        background-color: black;
        background-image: none;
    }
    
    .mobile-bg {
        background-image: url(image/homepage_mobile.webp);
        background-position: left top;
        background-repeat: no-repeat;
        position: relative;
        background-attachment: local;
        background-size: cover;
    }

    .page-title {
        writing-mode: vertical-rl;
        font-size: 20px;
        font-family: serif;
        margin-top:30%;
        line-height: 1;
        word-spacing: 0;
        white-space: nowrap; /* 改行を防ぐ */

    }

    .titlelogo{
        text-align: center;
        margin-top: 40%;
    }

    .logo {
        width: 150px;
    }

    .link-img img {
        transition-duration: 0.5s;
        cursor: pointer;
        height: 100%;
        width: 200px;
    }

    .main-nav a {
        font-size: 10px;
        color: white;
    }

    .main-nav li {
        margin-right: 20px;
    }
}