.flex {
    width: 100%;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.flex-center {
    width: 100%;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.flex-left {
    width: 100%;
    display: flex;
    justify-content: left;
    flex-wrap: wrap;
}

.under-line {
    text-decoration: underline;
}

.link {
    color: white;
}

.link:hover {
    opacity: 0.7;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    z-index: 10;
}

.header-nav {
    width: 90%;
    max-width: 1200px;
    padding: 8px 32px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/*画面幅960px以下の時*/
@media screen and (max-width:800px) {
    .header-nav {
        width: 98%;
    }
}

/*背景動画*/
.main-visual {
    position: relative;
    height: 100vh;
}

.head-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    text-align: center;
}

.head-text {
    margin-top: 16px;
    font-size: 20px;
    font-weight: 600;
    color: white;
}

.head-scroll {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translate(-50%,-50%);
    text-align: center;
    color: white;
}

.video-area {
    position: fixed;
    z-index: -1;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    overflow: hidden;
}

.video {
    width: 177.77777778vh;
    height: 56.25vw;
    position: absolute;
    z-index: -1;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    min-width: 100%;
    min-height: 100%;
}

.main-visual-other {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    z-index: -10;
}

/*メインコンテンツ*/
.main {
    width: 90%;
    max-width: 1200px;
    background: rgba(0, 0, 0, 0.8);
    padding: 32px;
    margin: 0 auto;
    color: white;
}

.zaiko-contents {
    width: 614px;
    background: #00479D;
    border-radius: 8px;
    padding: 24px;
}

.zaiko-contents h3 {
    font-size: 24px;
    line-height: 24px;
    text-align: left;
    font-weight: 600;
    margin-bottom: 16px;
}

.zaiko-contents img {
    width: 100%;
}

.top-card {
    width: 354px;
    background: #00479D;
    border-radius: 8px;
    padding: 24px 32px;
}

.top-card span {
    font-weight: 600;
}

.footer {
    width: 90%;
    max-width: 1200px;
    background: rgba(0, 0, 0, 0.8);
    padding: 32px;
    margin: 0 auto;
    color: white;
    text-align: center;
}

.footer a {
    color: white;
}

/*画面幅960px以下の時*/
@media screen and (max-width:800px) {
    .main {
        width: 95%;
        padding: 16px;
    }
    .zaiko-contents {
        width: 100%;
        margin-bottom: 16px; 
        padding: 12px;
    }
    .zaiko-contents h3 {
        font-size: 16px;
    }
    .top-card {
        width: 100%;
        margin-bottom: 8px;
    }
    .footer {
        width: 95%;
    }
}

/*諸ページ*/

.sub-title {
    font-size: 20px;
    color: white;
    border-bottom: 2px solid white;
    margin-bottom: 24px;
}

.page-top-margin {
    margin-top: 40px;
}

.aisatu {
    width: 85%;
}

.gaiyou-left {
    padding: 8px;
    width: 20%;
    text-align: left;
    border-bottom: 1px solid rgb(151, 151, 151);
}

.gaiyou-right {
    padding: 8px;
    width: 80%;
    text-align: left;
    border-bottom: 1px solid rgb(151, 151, 151);
}

.shop-info {
    margin-top: 24px;
}

.shop-card {
    width: 48%;
}

.shop-card h3 {
    margin-bottom: 8px;
    border-bottom: 1px solid rgb(151, 151, 151);
}

.map {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    /* 16:9のアスペクト比 */
    height: 0;
}

.map iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.small-title {
    font-size: 18px;
    color: white;
    border-bottom: 2px dotted white;
}

.point-title {
    font-size: 18px;
    color: white;
    margin-top: 24px;
    margin-bottom: 16px;
}

.cap {
    font-size: 14px;
}

.form-control {
    width: 100%;
    height: 34px;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.42857143;
    color: #555;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

label {
    width: 148px;
    text-align: right;
}

.btn {
    color: #fff;
    background-color: #5cb85c;
    border-color: #4cae4c;
    display: inline-block;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.42857143;
    text-align: center;
    vertical-align: middle;
    border: 1px solid transparent;
    border-radius: 4px;
}

.btn:hover {
    opacity: 0.7;
}

.staff-card {
    width: 275px;
    height: 570px;
    background: gray;
    padding: 16px;
    margin-bottom: 16px;
    margin-right: 8px;
    border-radius: 16px;
}

.conpe-img {
    width: 375px;
}

.hanbai {
    width: 60%;
}

.hanbai-img {
    width: 451px;
}

.shop-main {
    margin: 16px 0;
    width: 100%;
}

.shop_button {
    display: block;
    width: 360px;
    padding: 16px;
    color: white;
    text-align: center;
    background: #00479D;
    border-radius: 8px;
    margin: 16px;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
}

.shop_button:hover {
    opacity: 0.7;
}

/*画面幅800px以下の時*/
@media screen and (max-width:800px) {
    .page-top-margin {
        margin-top: 50px;
    }
    .shop-card {
        width: 100%;
        margin-bottom: 16px;
    }
    .aisatu {
        width: 100%;
    }
    label {
        width: 148px;
        text-align: left;
    }
    .hanbai {
        width: 100%;
    }
    .hanbai-img {
        width: 100%;
        margin-top: 16px;
    }
    .quo-img {
        width: 100%;
    }
    .staff-card {
        margin: 0 auto 16px auto;
    }
    .conpe-img {
        width: 100%;
        margin-bottom: 8px;
    }
    .shop-link {
        width: 100%;
    }
    .gaiyou-img {
        width: 100%;
        margin-bottom: 8px;
    }
    .kaitori-img {
        width: 100%;
        margin-bottom: 8px;
    }
}