/*
FIXME:mediaが複数個所に散っています。
*/

body {
    font-family: serif;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    background-color: #101010;
    margin: 0;
    word-break: auto-phrase;
}

/*ナビゲーションバー本体のデザイン*/
.navigation {
    font-family: serif;
    font-size: 20px;
    position: fixed;
    width: 100%;
    height: 80px;/*ナビゲーションバーの高さ。変更したら.cotainer,.vmiddle,.vmiddlenの値も変更すること*/
    top: 0;
    z-index: 10000;
    background-color: #101010;
    border-bottom: 1px solid #474747;
}
/*ナビゲーションバーのリンクをボタン全体に広げる*/
.navigation a {
    position: absolute;
    top: 0;
    left: 0;
    height:100%;
    width: 100%;
}
/*ナビゲーションバーに配置するボタンのデザイン*/
.navbutton {
    transition: all 0.3s ease 0s;/*0.3秒でアニメーションする（アニメーションの挙動の定義は.navbutton:hoverを参照）*/
	cursor: pointer;/*ボタンの上にマウスが来たときのマウスカーソルの形状*/

    border-top: 3px solid #ffffff;/*ボタンの上の線*/
    position: relative;
    padding: 0px;
    /*height: 100%;*/
    height: 77px;
    margin-left: 5px;
    margin-right: 5px;
}
/*ナビゲーションバーのボタンにマウスが乗ったときのアニメーション*/
.navbutton:hover {
    border-top: 3px solid #99c7e8;
    background-color: #282828;
}
/*navbutton:hoverと連動してボタンのテキストの色も変える*/
.navbutton:hover .vmiddle {
    color: #99c7e8;
}
/*ナビゲーションバーのボタンの配置を決める*/
#nboxes {
    display: flex;
    justify-content: flex-start;/*flex-start:左寄せ,flex-end:右寄せ,center:中央寄せ*/
}
/*ナビゲーションバーのボタンのテキストのデザイン*/
.vmiddle {
    transition: all 0.3s ease 0s;
	cursor: pointer;

    margin: 0px;
    padding-left: 20px;
    padding-right: 20px;
    position: relative;
    line-height: 80px;
    color: #FFFFFF;
}
/*ナビゲーションバーのボタン（無効）のデザイン*/
.navbuttond {
    border-top: 3px solid #9e9e9e;
    position: relative;
    padding: 0px;
    height: 100%;
    margin-left: 5px;
    margin-right: 5px;
}
/*無効なナビゲーションバーのボタンのテキストのデザイン*/
.vmiddlen {
    margin: 0px;
    padding-left: 20px;
    padding-right: 20px;
    position: relative;
    line-height: 80px;
    color: #9e9e9e;
}

.hamburger {
    transition: all 0.3s ease 0s;
    position: fixed;
    top: 0px;
    right: 0px;
    z-index: 15000;
    width: 80px;
    height: 80px;
    cursor: pointer;
}

.hamburger:hover {
    background-color: #282828;
}

.hamburger.is-active span:nth-child(1) {
    top: 50%;
    transform: translate(-50%, -50%) rotate(135deg);
}

.hamburger.is-active span:nth-child(2) {
    opacity: 0;
}

.hamburger.is-active span:nth-child(3) {
    top: 50%;
    transform: translate(-50%, -50%) rotate(-135deg);
}

.hamburger span {
    position: absolute;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 33%;
    height: 2px;
    background-color: #ffffff;
    transition: transform .3s;
}

.hamburger.is-active span {
    background-color: #ffffff;
}

.hamburger span:nth-child(1) {
    transition: all 0.3s ease 0s;
    top: 37%;
}

.hamburger span:nth-child(2) {
    transition: all 0.3s ease 0s;
    top: 50%;
}

.hamburger span:nth-child(3) {
    transition: all 0.3s ease 0s;
    top: 63%;
}

.hamburger:hover span:nth-child(1) {
    background-color: #99c7e8;
}
.hamburger:hover span:nth-child(2) {
    background-color: #99c7e8;
}
.hamburger:hover span:nth-child(3) {
    background-color: #99c7e8;
}

.drawer {
    visibility: hidden;
    opacity: 0;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 13000;
    width: 100%;
    height: 100vh;
    background-color: #101010;
    transition: opacity .3s, visibility .3s;
}

.drawer.is-active {
    visibility: visible;
    opacity: 1;
}

.drawer-inner {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    padding: 0 20px;
}

.drawer__list {
    list-style: none;
    display: flex;
    flex-direction: column;

    gap: 50px;
}

.drawer__link {
    color: #ffffff;
    font-size: 30px;
    margin-top: 0px;
    margin-bottom: 0px;
}

.drawer__item {
    padding-left: 50px;
    line-height: 2.35em;
    background: url(img/logo/nishiharu.svg) left 0px top 3px no-repeat;
    background-size: 30px auto;
    /*list-style-image: url("img/logo/nishiharu.svg");*/
}

.drawer__item a{
    transition: all 0.3s ease 0s;
}

.drawer__item:hover a{
    color: #99c7e8;
}

.drawer__itemd {
    padding-left: 50px;
    line-height: 2.35em;
    background: url(img/logo/nishiharu_gray.svg) left 0px top 3px no-repeat;
    background-size: 30px auto;
}

.drawer__itemd p {
    color: #9e9e9e;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
    background-size: cover;
    background-repeat: no-repeat;
    font-style: italic;
    vertical-align: middle;

    shape-margin: .75rem;
}

.sp-show {
    display: none;
}

@media only screen and (max-width: 768px) {
    .sp-show {
        display: block;
    }
    .sp-none {
        display: none;
    }
    .navbutton {
        display: none;
    }
    .navbuttond {
        display: none;
    }
    .hdes p {
        font-size: 20px;
    }
    .box p {
        font-size: 30px;
    }
    .Qa-Box p {
        font-size: 20px;
    }
    .info p {
        font-size: 20px;
    }
}
@media only screen and (min-width: 769px) and (max-width: 8000px) {
    .sp-show {
        display: none;
    }
    .navbutton {
        display: block;
    }
    .navbuttond {
        display: block;
    }
    .hdes p {
        font-size: 30px;
    }
    .box p {
        font-size: 50px;
    }
    .Qa-Box p {
        font-size: 25px;
    }
    .info p {
        font-size: 30px;
    }
}

/*ナビゲーションバーの高さの分だけ本文を下にずらす*/
.container {
    padding-top: 80px;
}
/*ヘッダーのデザイン*/
header {
    position: relative;
    width: 100%;
    height: 100%;
    background-position: center center;
    background-attachment: fixed;
    background-size: cover;
}
/*タイトル画像のデザイン*/
#titleimg {
    object-fit: cover;
    width: 100%;
    height: 100%;
}
/*タイトルの下、サブタイトルのデザイン*/
#subtitle {
    font-size: 60px;
}
/*文中の改行させたい地点（index.htmlのheaderから呼び出し）*/
#brt {
    display: inline-block;
    padding-left: 20px;
    padding-right: 20px;
}
/*タイトルのデザインを決定している。*/
.out {
    display: table;
    width: 100%;
    height: 90vh;
}

.center {
    display: table-cell;
    vertical-align: middle;
    text-align: center;
}
/*タイトルの文字。サブタイトルは#subtitleで規定。*/
.titletxt {
    font-size: 120px;
    color: #FFFFFF;
    font-family: serif;
    text-shadow: 0px 0px 15px #000000,0px 0px 15px #000000,0px 0px 15px #000000;
}

@media only screen and (max-width: 860px) {
    .titletxt {
        font-size: 45px;
    }
    #subtitle {
        font-size: 35px;
    }
}
@media only screen and (min-width: 861px) and (max-width: 1060px) {
    .titletxt {
        font-size: 65px;
    }
    #subtitle {
        font-size: 40px;
    }
}
@media only screen and (min-width: 1061px) and (max-width: 8000px) {
    .titletxt {
        font-size: 80px;
    }
    #subtitle {
        font-size: 60px;
    }
}

/*ここまでタイトル関係*/
/*タイトル下の文章*/
.hdes {
    margin-top: 20px;
    color: #FFFFFF;
    text-align: center;
    font-size: 30px;
    font-family: serif;
}
/*index.html下部の２つのボタン（運動部一覧、文化部一覧）を均等な幅で横並びにする*/
#boxes {
    display: flex;
    justify-content: space-around;
}
/*index.html下部の２つのボタンのデザインを決定*/
.box {
    transition: all 0.3s ease 0s;
	cursor: pointer;

    margin-top: 20px;
    margin-bottom: 20px;
    border: 2px solid #ffffff;
    height: 200px;
    width: 45%;
    background-color: #000000;

    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.box:hover{
    border-color: #99c7e8;
}
.box:hover .boxtitle {
    color: #99c7e8;
}

.box img {
    filter: brightness(70%) blur(3px);
    width:100%;
}

.box a {
    position: absolute;
    top: 0;
    left: 0;
    height:100%;
    width: 100%;
}

.boxtitle {
    transition: all 0.3s ease 0s;

    position:absolute;
    width: 100%;
    text-align: center;
    font-family: serif;
    font-size: 50px;
    color: #FFFFFF;
    /*background-color: rgba(0, 0, 0, 0.33);*/
    text-shadow: 0px 0px 5px #000000,0px 0px 5px #000000,0px 0px 5px #000000,0px 0px 5px #000000;
}

.box_img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.wbox {
    transition: all 0.3s ease 0s;
	cursor: pointer;
    margin-top: 20px;
    margin-bottom: 20px;
    margin-left: auto;
    margin-right: auto;
    border: 2px solid #ffffff;
    /*height: 200px;*/
    width: 90%;
    background-color: #101010;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    @media (max-width: 750px) {
        height: 100px;
    }
    @media (min-width:751px) {
        height: 100px;
    }
}

.wbox:hover{
    border-color: #99c7e8;
}
.wbox:hover .boxtitle {
    color: #99c7e8;
}

.wbox a {
    position: absolute;
    top: 0;
    left: 0;
    height:100%;
    width: 100%;
}
.wbox p {
    font-size: 30px;
}

@media only screen and (max-width: 550px) {
    .clubs {
        display: grid;
        grid-template-columns: 1fr;
    }
}
@media only screen and (min-width: 551px) and (max-width: 830px) {
    .clubs {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
}
@media only screen and (min-width: 831px) and (max-width: 1100px) {
    .clubs {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
    }
}
@media only screen and (min-width: 1101px) and (max-width: 8000px) {
    .clubs {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr 1fr;
    }
}

.conth {
    margin-left: 25px;
    margin-right: 25px;
    color: #ffffff;
    text-align: center;
    font-size: 30px;
    font-family: serif;
    /*font-weight: lighter;*/
    border-bottom: solid 3px #99c7e8;
}

.conc {
    /*margin-left: 50px;*/
    color: #ffffff;
    text-align: center;
    font-family: serif;
    /*font-weight: bold;*/
    font-size: 20px;
}

.conch {
    /*margin-left: 50px;*/
    color: #ffffff;
    text-align: center;
    font-family: serif;
    font-weight: bold;
    /*font-weight: ;*/
    font-size: 20px;
}

.data h3 {
    /*margin-left: 50px;*/
    color: #ffffff;
    text-align: center;
    font-family: serif;
    /*font-weight: lighter;*/
    font-size: 25px;
}

.data table {
    border-collapse: collapse;
    /*margin-left: 50px;*/
    margin:auto;
    color: #ffffff;
    text-align: left;
    font-family: serif;
    font-size: 25px;
}

.faq {
    color: #ffffff;
    font-family: serif;
    text-align: left;
    font-size: 25px;
}

.question {
    margin-left: 50px;
}

.answer {
    margin-left: 50px;
}

.fb {
    padding: 10px;
    margin-right: 10px;
    background-color: #3737ff;
    font-size: 60px;
    color: #ffffff;
}

.fr {
    padding: 10px;
    margin-right: 10px;
    background-color: #99c7e8;
    font-size: 50px;
    color: #ffffff;
}

.Qa-Box {
    width: 85%;
    margin-left: 50px;
    font-size: 45px;
    font-family: serif;
    color: #ffffff;
}

.Qa-Box .Qa dt,
.Qa-Box .Qa dd {
    display: flex;
    align-items: baseline;
    margin: 30px 0;
}

.Qa-Box .Qa dt p {
    margin: 0;
    padding-left: 15px;
    /*font-weight: bold;*/
    width: 100%;
}

.Qa-Box .Qa dd p {
    margin: 0;
    padding-left: 15px;
    width: 100%;
}

.Qa-Box .Qa dt::before {
    content: "Q";
    display: flex;
    justify-content: center;
    align-items: center;
    background: #D65556;
    color: #fff;
    width: 65px;
    height: 65px;
}

.Qa-Box .Qa dd::before {
    content: "A";
    display: flex;
    justify-content: center;
    align-items: center;
    background: #6699B7;
    color: #fff;
    width: 65px;
    height: 65px;
}

.Qa {
    font-size: 25px;
}

.photo-library table {
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 30px;
}

.photo-library img {
    width: 320px;
    cursor: pointer;
}

.info {
    font-family: serif;
    font-weight: lighter;
    font-size: 30px;
    border-top: solid 1px #00aaff;
    color: #ffffff;
}

.info p {
    text-align: center;
    margin: 0px 3px;
}

.info a {
    color: #00aaff;
    text-decoration:underline;
    text-decoration-color: #00aaff;
}

footer {
    margin-top: 20px;
}

footer p {
    color: #9d9b9b;
    text-align: center;
    font-size: 10px;
}
