body, html {
    margin: 0;
    padding: 0;
    background: url('../img/otona/back.png');
    background-size: 50px 50px;
    font-family: sans-serif;
}

#overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.8); /* 70%の透明度の黒 */
    z-index: 1; /* 画像の背後に配置 */
}

.back-top {
    display: block;
    width: 80px;
    height: 120px;
    position: fixed;
    bottom: 80px;
    z-index: 10;
    right: 30px;
}




/*
各オブジェクト
*/
.flex-row{
    display: flex;
    flex-direction: row; /* 横方向に並べる */
}

.flex-column{
    display: flex;
    flex-direction: column; /* 縦方向に並べる */
}

.border-radius-circle {
    border-radius: 50px;
    border: solid 1px #fff;
    width: 50px;
    height: 50px;
}

/*
ヘッダー
*/
.header {
    position: relative;
    width: 100%;
    height: auto;
}

.header-background {
    background: url('../img/back_blue.png');
    background-size: auto auto;
    width: 100%;
    height: 100px; 
}

.header-wave {
    background: url('../img/wave_blue.png');
    background-size: auto auto;
    width: 100%;
    height: 15px; 
}

.header-container {
    position: absolute;
    top: 20px;
    left: calc(50%);
    transform: translateX(-50%);
    width: 1024px;
    height: auto;
    margin: 0 auto;
}

.header-logo-otona {
    position: relative;
    width: 150px;
    height: 150px;
    left: 50px;
}

.header-title {
    position: absolute;
    top: 40px;
    -webkit-top: 0px;
    width: auto;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1.7em;
    font-weight: bold;
    color: #fff;
    width: 60%;
    text-align: center;
    line-height: 20px;
}

/*
コンテナ―
*/
.container {
    position: relative;
    width: calc(100% - 0px);
    max-width: 1024px;
    min-height: calc(100vh - 400px);
    margin: 0 auto;
    margin-top: 50px;
    margin-bottom: 50px;
}

/*
フッター
*/
.footer {
    position: relative;
    width: 100%;
    height: auto;
}

.footer-wave {
    background: url('../img/wave_blue.png');
    background-size: auto auto;
    width: 100%;
    height: 15px;
    transform: rotate(180deg);
    margin-bottom: -1px;
}

.footer-background {
    background: url('../img/back_blue.png');
    background-size: auto auto;
    width: 100%;
    height: 300px; 
}

.footer-container {
    position: absolute;
    left: calc(50%);
    bottom: 0px;
    transform: translateX(-50%);
    width: 1024px;
    height: 300px;
    margin: 0 auto;
}

.footer-wrapper {
    position: relative;
    height: 100%;
    display: flex;
}

.footer-box {
    position: relative;
    height: calc(100% - 50px);
    margin: 50px 0px 0px 0px;
    display: flex;
    padding: 0px 0px 0px 30px;
}

.footer-business-container {
    border: 2px solid #fff;
    border-radius: 10px;
    padding: 5px 20px;
    display: inline-block;
    font-size: 1em;
    color: #fff;
    font-weight: bold;
    position: relative;
    height: 25px;
}

.footer-company-detail {
    display: inline-block;
    font-size: 1.7em;
    color: #fff;
    font-weight: bold;
    padding: 0px 0px 0px 30px;
    margin-top: -5px;
    margin-right: 50px;
}

.footer-company-name {
    font-size: 1.2em;
}

.footer-company-zip1, .footer-company-zip2 {
    font-size: 0.7em;
}

.footer-company-tel {
    margin-top: 20px;
}

.footer-phone-img {
    padding: 0px 8px 0px 0px;
}

.footer-phone-number {
    font-size: 1.2em;
    line-height: 35px;
}

.copyright {
    position: relative;
    margin: 0 auto;
    color: #fff;
    bottom: 20px;
}

.copyright br {
    display: none;
}

.header-title br {
    display: none;
}

.zoom {
    transform: scale(2);
    z-index: 20;
}

/*
タブレット用
*/
@media screen and (max-width: 1024px) {

    .header-title {
        position: absolute;
        top: 20px;
        width: auto;
        left: 50%;
        transform: translateX(-50%);
        font-size: 1.2em;
        font-weight: bold;
        color: #fff;
        width: 60%;
        text-align: center;
    }

    .header-background {
        height: 70px; 
    }

    .header-wave {
        margin-top: -1px;
    }

    .header-container {
        max-width: 100%;
    }

    .header-logo-otona {
        top: 0px;
        left: calc(50% - 40%); 
        width: 100px;
        height: 100px;
    }

    .container {
        max-width: 100%;
    }

    .footer {
        height: 300px; 
    }

    .footer-wave {
        margin-bottom: -1px;
    }

    .footer-container {
        max-width: 100%;
    }

    .footer-business-container {
        font-size: 1.0em;
    }

    .footer-company-detail {
        font-size: 1.4em;
    }

    .zoom {
        transform: scale(1.2);
        z-index: 20;
    }
}

/*
スマホ用
*/
@media screen and (max-width: 768px) {

    .header-title {
        position: absolute;
        top: 30px !important;
        width: auto;
        left: calc(50% + 30px);
        transform: translateX(-50%);
        font-size: 1.0em;
        font-weight: bold;
        color: #fff;
        width: 60%;
        text-align: center;
    }

    .header-title br {
        display: block;
    }

    .header-background {
        height: 80px; 
    }

    .header-container {
        display: flex;
        flex-direction: row;
        max-width: 100%;
        top:0px;
    }

    .header-logo-otona {
        top: 0px;
        left: calc(50% - 48%); 
        width: 100px;
        height: 90px;
    }

    .container {
        max-width: 100%;
    }

    .footer {
        height: 400px; 
    }

    .footer-background {
        height: 400px; 
    }

    .footer-wave {
        margin-bottom: -1px;
    }

    .footer-container {
        max-width: 100%;
        height: 400px;
    }

    .footer-wrapper {
        position: relative;
        margin: 0 auto;
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-box {
        margin-top: 20px;
        padding: 0;
        display: flex !important;
        flex-direction: column !important; /* 縦方向に並べる */
    }

    .footer-business-container {
        font-size: 1.0em;
        /* display: none; */
        width:55px;
        margin: 0 auto;
        text-align: center;
    }
    
    .footer-company-detail {
        margin: 0 auto;
        padding: 0px;
        padding-top: 20px;
    }

    .footer-company-name {
        font-size: 0.9em;
    }

    .footer-company-zip1, .footer-company-zip2 {
        font-size: 0.5em;
        margin-top: 10px;
    }

    .footer-company-tel {
        font-size: 0.6em;
        margin-top: 10px;
    }

    .footer-phone-img {
        width: 20px;
    }
    
    .footer-sponsor {
        position: relative;
        margin: 0 auto;
        padding-top: 30px;
    }

    .copyright {
        font-size: 0.5em;
        text-align: center;
        margin: 0 auto;
    }

    br {
        display: none;
    }

    .copyright br {
        display: block;
    }
    
}
