@charset "utf-8";

html,

body {
    background-image: url(img/BG.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    background-color: #333;
    margin: 0;
    font-size: 14px;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 20px 30px auto 30px;
    display: -ms-grid;
    -ms-grid-columns: 1fr;
    -ms-grid-rows: 20px 30px auto 30px;
    grid-column-gap: 5px;
    grid-row-gap: 5px;
}

a:link {
    color: #fff;
}

a:visited {
    color: #fff;
}

a:hover {
    color: #fff;
}

a:active {
    color: #ff8000;
}

a {
    text-decoration: none;
}

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

.font-10 {
    font-size: 10px;
    color: #000;
    line-height: 15px;
    font-weight: 600;
}

.font-18 {
    font-size: 18px;
    line-height: 24px;
    font-weight: 600;
}

.font-12 {
    font-size: 11px;
    line-height: 11px;
    font-weight: 500;
}

main {
    margin: 0 auto;
    padding-top: 5px;
    height: 94vh;
}

nav {
    grid-column: 1;
    grid-row: 2;
    -ms-grid-column: 1;
    -ms-grid-row: 2;
    background-color: #281914;
}


.fix {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    width: 100%;
}

.navi {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: 1fr;
    display: -ms-grid;
    -ms-grid-columns: repeat(6, 1fr);
    -ms-grid-rows: 1fr;
    grid-column-gap: 5px;
    padding: 0px 0px;
    max-width: 1000px;
    height: auto;
    margin: 0 auto;
    text-align: center;
    z-index: 2;
}

.navi-1 {
    grid-column: 1;
    -ms-grid-column: 1;
    -ms-grid-row: 1;
}

.navi-2 {
    grid-column: 2;
    -ms-grid-column: 2;
    -ms-grid-row: 1;
}

.navi-3 {
    grid-column: 3;
    -ms-grid-column: 3;
    -ms-grid-row: 1;
}

.navi-4 {
    grid-column: 4;
    -ms-grid-column: 4;
    -ms-grid-row: 1;
}

.navi-5 {
    grid-column: 5;
    -ms-grid-column: 5;
    -ms-grid-row: 1;
}

.navi a {
    color: #fff;
    text-decoration: none;
    text-align: center;
}

/* ここから下がボタンのCSS　*/
.btn-shine {
    color: #fff;
    display: inline-block;
    font-size: 12px;
    font-weight: bold;
    line-height: 25px;
    width: 100px;
    position: relative;
    text-decoration: none;
    text-transform: uppercase;
    border: 1px solid transparent;
    outline: 0px solid;
    outline-color: rgba(255, 255, 255, 0.5);
    outline-offset: 0px;
    text-shadow: none;
    transition: all 1.2s cubic-bezier(0.2, 1, 0.2, 1);
}

.btn-shine:hover {
    border-color: #FFF;
    box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.5), 0 0 20px rgba(255, 255, 255, 0.2);
    outline-color: transparent;
    outline-offset: 12px;
    text-shadow: 2px 2px 3px #000;
}

footer {
    width: 100%;
    position: fixed;
    bottom: 0;
    height: 25px;
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    font-size: 10px;
    font-weight: 500;
    text-align: center;
    padding-top: 5px;
}


@media all and (orientation: landscape) {
    div.landport {
        /* 横向き専用の追加装飾 */
    }

    .main-contents {
        grid-column: 1;
        grid-row: 3;
        -ms-grid-column: 1;
        -ms-grid-row: 3;

        width: 100%;
        text-align: center;
    }

    .main-contents-grid {
        display: grid;
        grid-template-columns: repeat(20, 1fr);
        grid-template-rows: repeat(20, 1fr);
        display: -ms-grid;
        -ms-grid-columns: repeat(20, 1fr);
        -ms-grid-rows: repeat(20 1fr);
        grid-column-gap: 5px;
        grid-row-gap: 2px;
        max-width: 1000px;
        margin: 0 auto;
        height: 1000px;
    }

    .title {
        grid-column: 2 / 10;
        grid-row: 1 / 4;
        -ms-grid-column: 2;
        -ms-grid-column-span: 8;
        -ms-grid-row: 2;
        -ms-grid-row-span: 2;
        margin-top: 0px;
        font-size: 36px;
        font-weight: 600;
        text-align: left;
        line-height: 36px;
        color: #fff;
        text-shadow: 2px 2px 3px #000;
    }

    .sub-title {
        font-size: 20px;
    }

    .info {
        grid-column: 13 / 20;
        grid-row: 1 / 8;
        -ms-grid-column: 14;
        -ms-grid-column-span: 7;
        -ms-grid-row: 1;
        -ms-grid-row-span: 7;
        margin-top: 10px;
    }

    .members {
        grid-column: 8 / 13;
        grid-row: 2 / 7;
        -ms-grid-column: 8;
        -ms-grid-column-span: 5;
        -ms-grid-row: 3;
        -ms-grid-row-span: 5;
        margin: 10px 0 0 20px;
    }

    .kosyu {
        grid-column: 2 / 8;
        grid-row: 3 / 9;
        -ms-grid-column: 1;
        -ms-grid-column-span: 6;
        -ms-grid-row: 5;
        -ms-grid-row-span: 6;

    }

    .mail {
        grid-column: 7 / 10;
        grid-row: 7 / 10;
        -ms-grid-column: 7;
        -ms-grid-column-span: 3;
        -ms-grid-row: 9;
        -ms-grid-row-span: 3;

    }

    .address {
        grid-column: 13 / 20;
        grid-row: 8 / 11;
        -ms-grid-column: 14;
        -ms-grid-column-span: 7;
        -ms-grid-row: 9;
        -ms-grid-row-span: 3;
    }

    .map {
        grid-column: 2 / 16;
        grid-row: 10 / 18;
        -ms-grid-column: 2;
        -ms-grid-column-span: 15;
        -ms-grid-row: 12;
        -ms-grid-row-span: 8;
        margin: 20px 0 0 0;
    }

    .G-map {
        grid-column: 16 / 19;
        grid-row: 14 / 19;
        -ms-grid-column: 17;
        -ms-grid-column-span: 5;
        -ms-grid-row: 13;
        -ms-grid-row-span: 7;
        margin-left: 10px;

    }

    .info-box {
        display: inline-block;
        text-decoration: none;
        background: #281914;
        color: #FFF;
        width: 220px;
        height: 220px;
        line-height: 24px;
        border-radius: 50%;
        overflow: hidden;
        box-shadow: 0px 0px 0px 5px #281914;
        border: dashed 2px #FFF;
        transition: .4s;
        padding: 60px 40px 20px 40px;
        text-align: left;
    }

    .members-box {
        display: inline-block;
        text-decoration: none;
        background: #281914;
        color: #FFF;
        width: 180px;
        height: 180px;
        line-height: 24px;
        border-radius: 50%;
        overflow: hidden;
        box-shadow: 0px 0px 0px 5px #281914;
        border: dashed 2px #FFF;
        transition: .4s;
        padding: 30px 20px 10px 20px;
        text-align: left;
        margin: 20px 20px 0 0;
    }

    .kosyu-box {
        display: inline-block;
        text-decoration: none;
        background: #281914;
        color: #FFF;
        width: 190px;
        height: 190px;
        line-height: 24px;
        border-radius: 50%;
        overflow: hidden;
        box-shadow: 0px 0px 0px 5px #281914;
        border: dashed 2px #FFF;
        transition: .4s;
        padding: 30px 40px 50px 40px;
        text-align: left;
    }

    .mail-box {
        display: inline-block;
        text-decoration: none;
        background: #281914;
        color: #FFF;
        width: 110px;
        height: 110px;
        line-height: 110px;
        border-radius: 50%;
        text-align: center;
        overflow: hidden;
        box-shadow: 0px 0px 0px 5px #281914;
        border: dashed 2px #FFF;
        transition: .4s;
    }

    .mail-box:hover {
        background: #663300;
        box-shadow: 0px 0px 0px 5px #663300;
    }

    .address-box {
        display: inline-block;
        padding: 0.5em 1em;
        text-decoration: none;
        background: #281914;
        color: #FFF;
        border-radius: 4px;
        box-shadow: 0px 0px 0px 5px #281914;
        border: dashed 2px #FFF;
    }

    .btn-stitch {
        display: inline-block;
        padding: 0.2em 1.5em;
        text-decoration: none;
        background: #281914;
        color: #FFF;
        border-radius: 4px;
        box-shadow: 0px 0px 0px 5px #281914;
        border: dashed 2px #FFF;
    }

    .btn-stitch:hover {
        border: dotted 2px #FFF;
        background: #663300;
        box-shadow: 0px 0px 0px 5px #663300;
    }

}

@media all and (orientation: portrait) {
    div.landport {
        /* 縦向き専用の追加装飾 */
    }

    .main-contents {
        width: 100%;
        text-align: center;
    }

    .main-contents-grid {
        display: grid;
        grid-template-columns: repeat(5, 1fr);
        grid-template-rows: repeat(20, 50px);
        grid-column-gap: 10px;
        grid-row-gap: 20px;
        max-width: 1000px;
        margin: 20px auto;
        height: 1200px;
    }

    .title {
        grid-column: 1 / 6;
        grid-row: 1 / 2;
        margin: -25px 10px 10px 10px;
        font-size: 32px;
        font-weight: 600;
        text-align: left;
        line-height: 36px;
        color: #fff;
        text-shadow: 2px 2px 3px #000;
        height: 70px;
    }

    .sub-title {
        font-size: 20px;
    }

    .info {
        grid-column: 1 / 5;
        grid-row: 2 / 3;
    }

    .members {
        grid-column: 1 / 6;
        grid-row: 4 / 7;
        margin: 25px 0 0 0;
    }

    .kosyu {
        grid-column: 3 / 6;
        grid-row: 7 / 9;
        margin: 0px 10px 0 0;
    }

    .mail {
        grid-column: 1 / 3;
        grid-row: 7 / 9;
        margin: 10px 0 0 20px;
    }

    .address {
        grid-column: 2 / 6;
        grid-row: 10 / 12;
        margin: 0px 0 0 0;
    }

    .map {
        grid-column: 1 / 6;
        grid-row: 11 / 14;
        margin: 35px 10px 0px 10px;
    }

    .G-map {
        grid-column: 1 / 6;
        grid-row: 15/ 19;
        margin: 20px 20px 20px 20px;
    }

    .info-box {
        display: inline-block;
        padding: 0.5em 1em;
        text-decoration: none;
        background: #281914;
        color: #FFF;
        border-radius: 4px;
        box-shadow: 0px 0px 0px 5px #281914;
        border: dashed 2px #FFF;
        text-align: left;
        width: 80%;
    }

    .members-box {
        display: inline-block;
        padding: 0.5em 1em;
        text-decoration: none;
        background: #281914;
        color: #FFF;
        border-radius: 4px;
        box-shadow: 0px 0px 0px 5px #281914;
        border: dashed 2px #FFF;
        text-align: left;
        width: 65%;
    }

    .kosyu-box {
        display: inline-block;
        padding: 0.5em 1em;
        text-decoration: none;
        background: #281914;
        color: #FFF;
        border-radius: 4px;
        box-shadow: 0px 0px 0px 5px #281914;
        border: dashed 2px #FFF;
        text-align: left;
        width: 195px;
    }

    .mail-box {
        display: inline-block;
        text-decoration: none;
        background: #281914;
        color: #FFF;
        width: 120px;
        height: 120px;
        line-height: 120px;
        border-radius: 50%;
        text-align: center;
        overflow: hidden;
        box-shadow: 0px 0px 0px 5px #281914;
        border: dashed 2px #FFF;
        transition: .4s;
    }

    .mail-box:hover {
        background: #663300;
        box-shadow: 0px 0px 0px 5px #663300;
    }

    .address-box {
        display: inline-block;
        padding: 0.5em 1em;
        text-decoration: none;
        background: #281914;
        color: #FFF;
        border-radius: 4px;
        box-shadow: 0px 0px 0px 5px #281914;
        border: dashed 2px #FFF;
        text-align: left;
        width: 240px;
    }

    .btn-stitch {
        display: inline-block;
        padding: 0.2em 1.5em;
        text-decoration: none;
        background: #281914;
        color: #FFF;
        border-radius: 4px;
        box-shadow: 0px 0px 0px 5px #281914;
        border: dashed 2px #FFF;
    }

    .btn-stitch:hover {
        border: dotted 2px #FFF;
        background: #663300;
        box-shadow: 0px 0px 0px 5px #663300;
    }

}
