/* ---------------header--------------- */

.header {
    background-color: #3B4DC4;
    width: 100vw;
    text-align: center;
    padding: 0px;
    z-index: 6 ;
}

@media screen and (max-width: 830px) {
    .header{
        width: 120vw;
    }
}


@media screen and (max-width: 480px) {
    .header{
        width: 120vw;
    }
}

@media screen and (max-width: 394px) {
    .header{
        width: 100vw;
    }
}

.header-rogo{
    width: 8%;
    min-width: 130px;
}

.about{
    position: absolute;
    top: 25px;
    left: 20px;
    float: left;
    font-size: 150%;
}

.about a{
    color:#ffffff;
    text-decoration:none;
}

/* ---------------header--------------- */

/* -----------------背景------------------- */

.background{
    position: relative;
    width: 100vw;;
    height: 100vh;
    background: url("/static/images/mitsurecom_back.png") repeat;
    background-position: 0 0;
    -webkit-animation: bgroop 300s linear infinite;
    animation: bgroop 300s linear infinite;
}
@-webkit-keyframes backroop {
    from {
        background-position: 0  0;
    }
    to {
        background-position: -3333px 3333px;
    }
}
@keyframes bgroop {
    from {
        background-position: 0 0;
    }
    to {
        background-position: -3333px 3333px;
    }
}

@media screen and (max-height: 830px) {
    .background{
        height: 110vh;
    }
}

@media screen and (max-width: 830px) {
    .background{
        width: 110vw;
    }
}

@media screen and (max-width: 480px) {
    .background{
        height: 110vh;
        width: 120vw;
    }
}

@media screen and (max-width: 394px) {
    .background{
        height: 115vh;
        width: 100vw;
    }
}

@media screen and (max-width: 380px) {
    .background{
        height: 115vh;
    }
}

@media screen and (max-width: 350px) {
    .background{
        height: 100vh;
    }
}

.background::after{
    content: "";
    position: absolute;
    z-index: 2;
    width: 100%;
    height:100%;
    top: 0;
    left: 0;
    background-color: white;
    opacity: 0.5;
  }

/* -----------------背景------------------- */

/* -------------左側コンテンツ（入力前）---------- */

button{
    border: none;
    background: transparent;
    z-index: 4 ;
}

.birthday-cake{
    z-index: 4 ;
    position: absolute;
    width: 5%;
    min-width: 80px;
    top: 1%;
    left: 45%;
}

.choice-yellow{
    position: absolute;
    width: 18%;
    min-width: 180px;
    top: 3%;
    left: 20%;
    border: none;
    background: none;
    cursor: pointer;
    display: inline-block;
    z-index: 4 ;
}

.choice-yellow:active{
    position: absolute;
    top: 2%;
    left: 19%;
    width: 20%;
    min-width: 155px;
 
}

  .choice-green{
    position: absolute;
    width: 18%;
    min-width: 180px;
    top: 34%;
    left: 33%;
    border: none;
    background: none;
    cursor: pointer;
    display: inline-block;
    z-index: 4 ;
}

.choice-green:active{
    position: absolute;
    top: 33%;
    left: 32%;
    width: 20%;
    min-width: 155px;
}

.choice-pink{
    position: absolute;
    width: 18%;
    min-width: 180px;
    top: 34%;
    left: 7%;
    border: none;
    background: none;
    cursor: pointer;
    display: inline-block;
    z-index: 4 ;
}

.choice-pink:active{
    position: absolute;
    top: 33%;
    left: 6%;
    width: 20%;
    min-width: 155px;
}

.theme-form{
    font-size: 1.5em;
    width: 320px;
    padding: 15px 10px 10px;
    font-family: 'Source Sans Pro',arial,sans-serif;
    border: 1px solid #5a5a5a;
    background: #f0f0f0;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    -moz-background-clip: padding;
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.forms{
    position: absolute;
    top: 66%;
    width: auto;
    min-width: 100px;
    left: 20%;
    text-align: center;
    z-index: 4 ;
}
#recommend_button{
    position: absolute;
    top: 10px;
    right: -175px;
}

#choice-updata{
    position: absolute;
    left: 0%;
    margin-top: 15px;
    font-size: 1.5em;
    z-index: 9999 ;    
}

@media screen and (max-width: 1300px) {
    .birthday-cake{
        left: 55%
    }
    .choice-yellow{
        top: 15%;
        left: 20%;
        width: 300px;
    }

    .choice-yellow:active{
        position: absolute;
        top: 14%;
        left: 20%;
        width: 310px;
    }

    .choice-green{
        top: 40%;
        left: 35%;
        width: 300px;
    }

    .choice-green:active{
        position: absolute;
        top: 39%;
        left: 35%;
        width: 310px;     
    }
    .choice-pink{
        top: 40%;
        left: 3%;
        width: 300px;
    }

    .choice-pink:active{
        position: absolute;
        top: 39%;
        left: 3%;
        width: 310px;  
     
    }

    .forms{
        position: absolute;
        top: 66%;
        width: auto;
        min-width: 100px;
        left: 10%;
        text-align: center;
        z-index: 4 ;
    } 
}

@media screen and (max-height: 600px) {
    .choice-yellow{
        top: 4%;
        left: 20%;
        width: 220px;
    }

    .choice-yellow:active{
        position: absolute;
        top: 3%;
        left: 20%;
        width: 230px;
    }

    .choice-green{
        top: 31%;
        left: 33%;
        width: 220px;
    }

    .choice-green:active{
        position: absolute;
        top: 30%;
        left: 33%;
        width: 230px;     
    }
    .choice-pink{
        top: 31%;
        left: 8%;
        width: 220px;
    }

    .choice-pink:active{
        position: absolute;
        top: 30%;
        left: 8%;
        width: 230px;  
     
    }

    .forms{
        position: absolute;
        top: 60%;
        width: auto;
        min-width: 100px;
        left: 10%;
        text-align: center;
        z-index: 4 ;
    } 
}



@media screen and (max-width: 960px) {
    .choice-yellow{
        top: 15%;
        left: 20%;
        width: 250px;
    }

    .choice-yellow:active{
        position: absolute;
        top: 14%;
        left: 20%;
        width: 260px;
    }

    .choice-green{
        top: 40%;
        left: 35%;
        width: 250px;
    }

    .choice-green:active{
        position: absolute;
        top: 39%;
        left: 35%;
        width: 260px;     
    }
    .choice-pink{
        top: 40%;
        left: 3%;
        width: 250px;
    }

    .choice-pink:active{
        position: absolute;
        top: 39%;
        left: 3%;
        width: 260px;  
     
    }

    .forms{
        position: absolute;
        top: 66%;
        width: auto;
        min-width: 100px;
        left: 5%;
        text-align: center;
        z-index: 4 ;
    } 
}

@media screen and (max-width: 480px) {
    .birthday-cake{
        left: 77%;
        top:  35%;
    }
    .choice-yellow{
        top: 35%;
        left: 30%;
        width: 180px;
    }

    .choice-yellow:active{
        position: absolute;
        top: 34%;
        left: 30%;
        width: 190px;
        min-width: 155px;
     
    }

    .choice-green{
        top: 50%;
        left: 55%;
        width: 180px;
    }

    .choice-green:active{
        position: absolute;
        top: 49%;
        left: 55%;
        width: 190px;
        min-width: 155px;
     
    }
    .choice-pink{
        top: 50%;
        left: 7%;
        width: 180px;
    }

    .choice-pink:active{
        position: absolute;
        top: 49%;
        left: 7%;
        width: 190px;
        min-width: 155px;
     
    }

    .forms{
        position: absolute;
        top: 66%;
        width: auto;
        min-width: 100px;
        left: 15%;
        text-align: center;
        z-index: 4 ;
    }
    #recommend_button{
        position: relative;
        top: 15px;
        right: 0px;
        margin-bottom: 30px;
    }
    #choice-updata{
    width: 100px;
    top: 30%;
    }
}

@media screen and (max-height: 450px) {
    .birthday-cake{
        left: 40%;
        top:  5%;
    }

    .choice-yellow{
        top: 3%;
        left: 20%;
        width: 100px;
    }

    .choice-yellow:active{
        position: absolute;
        top: 2%;
        left: 20%;
        width: 110px;
    }

    .choice-green{
        top: 31%;
        left: 33%;
        width: 100px;
    }

    .choice-green:active{
        position: absolute;
        top: 30%;
        left: 33%;
        width: 110px;     
    }
    .choice-pink{
        top: 31%;
        left: 8%;
        width: 100px;
    }

    .choice-pink:active{
        position: absolute;
        top: 30%;
        left: 8%;
        width: 110px;  
     
    }

    .forms{
        position: absolute;
        top: 60%;
        width: auto;
        min-width: 100px;
        left: 5%;
        text-align: center;
        z-index: 4 ;
    } 
}

@media screen and (max-height: 420px) {
    .choice-yellow{
        top: 2%;
        left: 20%;
        min-width: 80px;
        width: 150px;
    }

    .choice-yellow:active{
        position: absolute;
        top: 2%;
        left: 20%;
        min-width: 80px;
        width: 160px;
    }

    .choice-green{
        top: 31%;
        left: 33%;
        min-width: 80px;
        width: 150px;
    }

    .choice-green:active{
        position: absolute;
        top: 30%;
        left: 33%;
        min-width: 80px;
        width: 160px;   
    }
    .choice-pink{
        top: 31%;
        left: 8%;
        min-width: 80px;
        width: 150px;
    }

    .choice-pink:active{
        position: absolute;
        top: 30%;
        left: 8%;
        min-width: 80px;
        width: 160px;
     
    }

    .theme-form{
        width: 250px;
    }

}

/* -------------左側コンテンツ（入力前）---------- */

/* -------------左側コンテンツ（入力後）---------- */

.mitsu-container{
    position:absolute;
    width: 35%;
    left: 15%;
    top: 0%;
    z-index: 4 ;
}

@media screen and (max-width: 1300px){
    .mitsu-container{
        width: 45%;  
        left: 10%;
    }
    .embed-responsive-item-1{
        height: 30vh;
    }
    .embed-responsive-item{
        height: 15vh;
    }
}

@media screen and (max-width: 480px) {
    .mitsu-container{
        position: relative;
        top: 110px;
        left: -2%;
        margin-left: 2%;
        z-index: 5 ;
        width: 95%;
    }
}

@media screen and (max-height: 600px) {
    .mitsu-container{
        left:  20%;
        width: 40%;
    }
    .embed-responsive-item-1{
        height: 50vh;
    }
    
    .embed-responsive-item{
        height: 25vh;
    }
}

@media screen and (max-height: 450px) {
    .embed-responsive-item-1{
        height: 55vh;
    }
    
    .embed-responsive-item{
        height: 20vh;
    }
}

@media screen and (max-width: 400px) {
    .mitsu-container{
        position: relative;
        left: -2%;
        margin-left: 2%;
        z-index: 5 ;
        width: 100%;
    }
}



@media screen and (max-width: 380px) {
    .mitsu-container{
        position: relative;
        left: -2%;
        margin-left: 2%;
        z-index: 5 ;
        width: 90%;
    }
}
.embed-responsive-item{
    object-fit: cover;
}


.most-recommend{
    margin-top: 0;
}
.music-detail{
    padding-bottom: 5px;
    padding-left: 5px;
    border-radius: 15px;
    background-color: #e6e6e6;
    font-weight: bold;
    border: solid 3px #888888;
}

.related-songs{
    text-align: center;
    font-weight: bold;
    margin-top: 3px;
    margin-left: 5px;
}

.title{
    font-weight: bold;
    font-size: 25px
}

.unit{
    margin-top: -15px;
    font-weight: bold;
}

.icon{
    margin-left: 5%;
    width: 5%;
    height: 5%;
}

.shyson{
margin-left: 10%;
}

@media screen and (max-width: 1102px) {
    .shyson{
        margin-left: 5%;
        }
}

@media screen and (max-width: 1000px) {
    .shyson{
        margin-left: 2%;
        }
}

@media screen and (max-width: 950px) {
    .shyson{
        margin-left: 0%;
        }
}

.more-list-box{
    background-color: #e6e6e6;
    margin-top: 5px;
    padding-top: 0px;
    border-radius: 10px;
    border: solid 3px #888888;
}

.more-list {
    position: relative;
    display: flex;
    justify-content: space-between;

}

.more-container {
    text-align: center;
    line-height: 35px;
    color: #000000;
    font-size: 14px;
    border-radius: 10px;
}

.more-music-detail{
    margin-left: 5%;
    margin-right: 5%;    
}

.rebutton{
    bottom: 0;
    text-align: center;
    margin-top: 10px;
}

@media screen and (max-width: 480px) {
    .title{
        font-weight: bold;
        font-size: 20px
    }
    .unit{
        font-size: 14px
    }
    .rebutton{
        margin-top: 10px;
    }
}

@media screen and (max-height: 600px) {
    .more-list-box{
        position: absolute;
        left : -45%;
        top: 0%;
        width: 40%;
    }

    .more-list {
        flex-direction: column;
    }
    
    .more-music-detail{
        margin-left: 0%;
        margin-right: 0%;  
        margin-bottom: 10px;  
    }
    
    .icon{
        width: 8%;
        height: 8%;
    }
}

/* -------------左側コンテンツ（入力後）---------- */

/* -------------右側コンテンツ---------- */

.mitsumine{
    position: absolute;
    width: 30%;
    height: auto;
    bottom: 0%;
    right: 8%;
    z-index: 3 ;
}

.left-contents{
    size: 50%;
}

.mitsu-picuter{
    height: 102vh;
}

.mitsu-picuter-before{
    height: 102vh;
}
.name{
    border-bottom:dotted #777777;
    font-size: 30px;
}

.text-area{
    position: absolute;
    top: 63%;
    border-radius: 15px;
    height: 310px;
    width: 350px;
    background: #f0f0f0c0;
}

#output{
    font-size: 24px;
    font-family: Arial, sans-serif;
    color: black; 
    visibility: visible;
    display: block; 
    object-fit: cover;
}

@media screen and (max-width: 1030px){
    .mitsumine{
        top: 0;
    }
    .mitsu-picuter{
        height: 80vh;
    }
    
    .mitsu-picuter-before{
        top:0;
        height: 80vh;
    }
    .text-area{
        top: 45%;
        left: 50px;
        width: 300px;
    }
}

@media screen and (max-width: 960px){
    .mitsumine{
        top: 0;
    }
    .mitsu-picuter{
        height: 80vh;
    }
    
    .mitsu-picuter-before{
        top:0;
        height: 80vh;
    }
    .text-area{
        top: 45%;
        left: 10px;
        width: 250px;
    }
}

@media screen and (max-width: 810px){
    .mitsumine{
        top: 0;
    }
    .mitsu-picuter{
        height: 80vh;
    }
    
    .mitsu-picuter-before{
        top:0;
        height: 80vh;
    }
    .text-area{
        top: 45%;
        left: 40px;
        width: 250px;
    }
}

@media screen and (max-width: 480px) {
    .mitsu-picuter{
        position: absolute;
        top:15px;
        left: -23px;
        height: 15vh;
    }

    .mitsu-picuter-before{
        position: absolute;
        top: 130px;
        left: 20%;
        z-index: 2 ;
     }
    .mitsumine{
        position:absolute;
        width: 100vw;
        top: -3%;
        right: 0%;
        left: 5%;
    }
    .text-area{
        position: relative;
        left: 5%;
        top: 2px;
        height: 5%;
        width: 110vw;
        z-index: 4 ;
    }

    #output{
        font-size: 20px;
    }
 }

 @media screen and (max-width: 430px) {
    .text-area{
        position: relative;
        height: 110px;
        width: 100vw;
        z-index: 4 ;
    }
    .name{
        font-size: 25px;
    }
    #output{
        font-size: 15px;
    }
 }

 @media screen and (max-width: 394px) {
    .text-area{
        width: 90vw;
    }
 }

 @media screen and (max-height: 600px) {
    .text-area{
        height: 300px;
        top: 55%;
    }

    #output{
        font-size: 20px;
    }
 }
 @media screen and (max-height: 450px) {
    .text-area{
        height: 240px;
        width: 270px;
        top: 45%;
    }
    .mitsu-picuter{
        height: 90vh;
    }
    
    .mitsu-picuter-before{
        height: 90vh;
    }

 }

/* -------------右側コンテンツ---------- */

/* ---------------footer---------------- */

.footer-in-contents{
    background-color: #3b91c4;; 
    color: #fff; 
    padding: 20px 0; 
    text-align: center;
    position: relative;
    bottom: 0;
    width: 100vw;
    height: 11vh;
    font-size: 14px;
    z-index: 5 ;
}

.footer-in-contents a {
    color: #ffffff;
    text-decoration: none; /* 下線を消す */
    margin: 0 10px; /* リンクの間隔を調整 */
    transition: color 0.3s ease; /* ホバー時のアニメーション */
}
.footer-links {
    margin-bottom: 10px;
}

@media screen and (max-width: 830px) {
    .footer-in-contents{
        width: 100vw;
        height: 15vh;
        /* margin-top: 40px;
        padding-top: -20px; */
    }
}
@media screen and (max-width: 380px) {
    .footer-in-contents{
        width: 100vw;
        height: 15vh;
        /* margin-top: 200px; */
    }
}


/* ---------------footer---------------- */

/* -----------------ローディング------------ */

#loading {
    display:none;
    position: fixed;
    right: 0;
    bottom: 0;
    z-index: 9999;
  }

#loading img{
    height: 80px; 
}
@media screen and (max-width: 480px) {

    #loading {
        bottom: 15%;
    }
    #loading img{
        width: 80%;
    }    
}


/* -----------------------------about page-------------------------------------- */
.about-text{
    position: absolute;
    top: 1%;
    left: 10%;
    background-color: #c9d8e2;; 
    z-index: 10;
    padding:  30px;
}

.about-text-content{
    background-color: #f2fffd;
    margin-top: -8px;
    padding: 5px;
}

h2{
    background-color: #3b91c4;
    margin-bottom: 0;
    padding: 7px;
}
