@charset "UTF-8";

a {
    color: #333;
    text-decoration: none;
}

ul {
    list-style: none;
}

img {
    width: 100%;
    max-width: 100%;
    vertical-align: bottom;
}


.main_header {
    position: relative;
    z-index: 10;
    /* ヘッダーが他の要素より前に表示されるようにする */
    width: 100%;
}

/* ピクチャーの基本スタイル */
picture {
    position: relative;
    z-index: 1;
    /* ピクチャーがヘッダーの後ろに表示されるようにする */
}


/* [header]  main_header */
.main_header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 24px 19px;
    box-sizing: border-box;
}

h1 {
    display: flex;
    align-items: center;
    height: 100%;
    margin: 0;
}

h1 img {
    display: block;
    max-height: 100%;
    width: auto;
}

.main__ul {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.main__li:nth-child(2) {
    margin: 0 20px;
}

.main__li {
    font-size: 14px;
    font-family: Meiryo;
    font-weight: bold;
}

.openbtn1,
#g-nav {
    display: none;
    /* デフォルトでは非表示 */
}

/* 追加 */


/* 追加 */
#g-nav-list ul {
    list-style-type: none;
    padding: 0;
}


#g-nav-list ul li {
        padding: 15px 16px 16px 32px;
        border: 1px solid #CCCCCC;
    }
    #g-nav-list ul li:nth-child(1) {
        border: none;
    }

#g-nav-list ul li a {
    font-size: 14px;
    font-family: Meiryo;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dli-caret-right {
    display: inline-block;
    vertical-align: middle;
    color: #333;
    line-height: 1;
    width: 0;
    height: 0;
    border-style: solid;
    border-color: transparent;
    border-width: 0.375em 0.64952em;
    border-left-color: currentColor;
    border-right: 0;
}

/* ここまで */

/* [header] Modal */
/* 追加 */
#modal {
    display: none;
}

#modal.active {
    display: block;
}

/* ここまで */

.modal {
    display: none;
    /* 最初は非表示 */
    position: fixed;
    z-index: 10;
    top: 64px;
    /* headerの下 - 追加部分 */
    left: 0;
    width: 100%;
    /* 固定幅 - 追加部分 */
    height: 261px;
    /* 固定高さ - 追加部分 */
    background-color: #121212;
    opacity: 1;
    /* 不透明 - 追加部分 */
}




/* モーダルコンテンツ */
.modal-content {
    background-color: #121212;
    margin: 0 auto;
    padding: 40px 200px;
    width: 100%;
    height: 261px;
}





/* 画像を横並びにする */
.modal-images {
    display: flex;
    justify-content: space-between;
    height: 100%;
}

.modal-item {
    display: flex;
    flex-direction: column;
    /* 縦並びに配置 */
    align-items: center;
    /* 中央揃え */
    width: 22%;
    /* 画像の横幅を調整 */
    text-align: center;
    /* テキストを中央揃え */
}

.modal-images img {
    width: 100%;
    height: auto;
}

h4 {
    font-family: 'メイリオ', 'Meiryo', sans-serif;
    font-size: 14px;
    color: #FFFFFF;
    margin-top: 16px;
}



#g-nav {
    display: none;
}

/* [main] */
main {
    background-color: #000000;
}

/* [main]CATCHPHRASE */
.catchphrase {
    font-family: 'メイリオ', 'Meiryo', sans-serif;
    font-size: 20px;
    color: #FFFFFF;
    text-align: center;
    margin: 0 auto 128px;
    padding-top: 112px;
}


/* [main] EXTERIOR */
.exterior__flex-area {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    position: relative;
    height: auto;
}

.exterior__flex-area img {
    width: 75%;
    height: auto;
    position: relative;
    z-index: 1;
}

.title__area-left {
    background-color: #fff;
    position: absolute;
    /* 絶対位置 */
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    /* 垂直方向に中央揃え */
    width: 40%;
    z-index: 2;
    height: 100%;
    clip-path: polygon(0 0, 100% 0%, 65% 100%, 0% 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-right: 15%;
}


.exterior__flex {
    display: flex;
    margin-bottom: 128px;
}

.exterior__flex img {
    width: 50%;
}


/* [main] INTERIOR*/
.interior__flex-area {
    display: flex;
    align-items: center;
    position: relative;
    height: auto;
}

.interior__flex-area img {
    width: 65%;
    height: auto;
    position: relative;
    z-index: 1;
}


.title__area-right {
    background-color: #fff;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    /* 垂直方向に中央揃え */
    width: 50%;
    z-index: 2;
    height: 100%;
    clip-path: polygon(25% 0, 100% 0%, 100% 100%, 0% 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-left: 15%;
}


.interior__flex {
    display: flex;
}

.interior__flex img {
    width: 50%;
}


h3 {
    font-family: 'メイリオ', 'Meiryo', sans-serif;
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    position: relative;
}

h3::after {
    content: "";
    display: block;
    border: 1px solid #000000;
    width: 130px;
    margin: 4px auto 0;
}

.sub__title {
    font-family: 'メイリオ', 'Meiryo', sans-serif;
    font-size: 12px;
    text-align: center;
    position: relative;
    margin-top: 8px;
}




/* [main]GALLERY */
#gallery__area {
    text-align: center;
    padding-top: 128px;
}

.gallery__item {
    display: flex;
    justify-content: center;
}

.sports__list:nth-child(2) {
    margin: 0 36px;
}

.sports__list img {
    max-width: 311px;
}

#common__gallery-area {
    text-align: center;
}

.gallery_container {
    display: flex;
    justify-content: center;
    margin: 0 auto;
}

.gallery_container img {
    max-width: 307px;
}

.gallery_container img:nth-child(2) {
    margin: 0 36px;
}

.center__btn {
    margin-top: 50px;
}


/* [main] OTHER TYPE */
#low__common-area {
    padding: 128px 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.low__common-area-title {
    margin-bottom: 42px;
}

.sports__section-title {
    font-family: Meiryo;
    color: #FFFFFF;
    font-size: 36px;
    text-align: center;
    padding-top: 128px;
    margin-bottom: 42px;
}


.right {
    display: flex;
    flex-direction: row-reverse;
    margin-top: 128px;
    padding-bottom: 114px;
}

.left {
    display: flex;
    flex-direction: row;
    justify-content: center;
    width: 100%;
}


.zoomIn {
    margin-bottom: 20px;
    /* 画像とテキストの間にスペースを追加 */
}

.zoomIn img {
    transform: scale(1);
    transition: .3s ease-in-out;
    /*移り変わる速さを変更したい場合はこの数値を変更*/
}

.zoomIn img:hover {
    /*hoverした時の変化*/
    transform: scale(1.2);
    /*拡大の値を変更したい場合はこの数値を変更*/
}


.mask {
    display: block;
    line-height: 0;
    /*行の高さを0にする*/
    overflow: hidden;
    /*拡大してはみ出る要素を隠す*/
}


.low__common-text-area-left,
.low__common-text-area-right {
    width: 336px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.low__common-text-area-left {
    margin-right: 66px;
}

.low__common-text-area-right {
    max-width: 500px;
    margin-left: 66px;
}

.low__common-text-title {
    font-family: Meiryo;
    color: #FFFFFF;
    font-size: 36px;
}

.low__common-text {
    font-family: Meiryo;
    color: #FFFFFF;
    font-size: 14px;
    margin: 32px 0 24px;
    text-align: left;
}

button,
.center__btn {
    border: solid 1px #fff;
    padding: 10px;
    width: 150px;
}


button a {
    font-family: Meiryo;
    color: #FFFFFF;
    font-size: 14px;
}

.arrow {
    display: inline-block;
    vertical-align: middle;
    color: #fff;
    line-height: 1;
    position: relative;
    width: 43px;
    height: 0.1em;
    background: currentColor;
    margin-left: 9px;
}

.arrow::before {
    content: '';
    width: 0.65em;
    height: 0.65em;
    border: 0.1em solid currentColor;
    border-left: 0;
    border-bottom: 0;
    transform: rotate(45deg);
    transform-origin: top right;
    position: absolute;
    top: 50%;
    right: -0.05em;
    box-sizing: border-box;
}



/* [footer] */
footer {
    font-size: 14px;
    color: #fff;
    text-align: center;
    padding-bottom: 20px;
    background-color: #000000;
}



@media(max-width: 768px) {
    nav {
        display: none;
        /* デフォルトでは非表示 */
    }

    #g-nav {
        display: none;
        /* 初期状態では非表示 */
        position: fixed;
        top: 60px;
        left: 0;
        width: 100%;
        background-color: #fff;
        z-index: 1000;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }

    .openbtn1 {
        display: block;
        position: relative;
        cursor: pointer;
        width: 50px;
        height: 50px;
        border-radius: 5px;
    }

    .openbtn1 span {
        display: inline-block;
        transition: all .4s;
        position: absolute;
        left: 14px;
        height: 3px;
        border-radius: 2px;
        background: #000;
        width: 45%;
    }

    .openbtn1 span:nth-of-type(1) {
        top: 15px;
    }

    .openbtn1 span:nth-of-type(2) {
        top: 23px;
    }

    .openbtn1 span:nth-of-type(3) {
        top: 31px;
    }

    .openbtn1.active span:nth-of-type(1) {
        top: 18px;
        left: 18px;
        transform: translateY(6px) rotate(-45deg);
        width: 30%;
    }

    .openbtn1.active span:nth-of-type(2) {
        opacity: 0;
    }

    .openbtn1.active span:nth-of-type(3) {
        top: 30px;
        left: 18px;
        transform: translateY(-6px) rotate(45deg);
        width: 30%;
    }

    .openbtn1.active+#g-nav {
        display: block;
        /* activeクラスが付与されたときに表示 */
    }


    /* [main] catchphrase */
    .catchphrase {
        font-size: 16px;
        margin: 0;
        padding: 56px 0 98px;
    }


    /* [main] EXTERIOR */
    .exterior__flex-area {
        display: block;
    }

    .exterior__flex-area {
        display: flex;
        flex-wrap: wrap;
        flex-direction: column-reverse;
    }
    .exterior__flex-area img {
        width: 100%;
    }

    .exterior__flex {
        display: flex;
        flex-direction: column;
        margin-bottom: 0;
    }

    .exterior__flex img {
        width: 100%;
        position: static;
    }

    .title__area-left {
        position: static;
        transform: none;
        clip-path: none;
        width: 100%;
        text-align: center;
        margin: 0; 
        padding: 32px 0; 
        box-sizing: border-box;
    }

    /* [main] INTERIOR */

    .interior__flex-area {
        display: flex;
        flex-direction: column-reverse;
    }

    .interior__flex-area img {
        width: 100%;
    }
    .interior__flex img {
        width: 100%;
    }

    .title__area-right {
        transform: none;
        clip-path: none;
        position: static;
        width: 100%;
        padding: 32px 0;
    }

    h3 {
        font-size: 18px;
    }

    .interior__flex {
        display: flex;
        flex-direction: column;
    }

    .interior__flex img {
        width: 100%;
    }

    /* [main] gallery_container */
    .gallery_container img:nth-child(2),
    .gallery_container img:nth-child(3) {
        display: none;
    }

    .gallery_container {
        justify-content: center;
    }

    .gallery_container img {
        max-width: 100%;
        padding: 0 24px;
    }


    /* [main] #low__common-area */
    #low__common-area {
        display: flex;
        flex-wrap: nowrap;
        flex-direction: column;
        padding: 128px 24px;
    }

    .right,
    .left {
        display: flex;
        display: flex;
        flex-direction: column;
    }

    .low__common-text-area-left {
        width: 100%;
        margin-right: 0;
    }

    .low__common-text-area-right {
        width: 100%;
        margin-left: 0;
    }

    .low__common-text-title {
        margin-top: 24px;
    }
}