body{
    font-family: "Yu Gothic Medium", "游ゴシック Medium", YuGothic, "游ゴシック体", "ヒラギノ角ゴ Pro W3", sans-serif;
    margin: 0;
}

.wrapper{
    max-width: 1280px;
    margin: 0 auto 0 auto;
}

.header-position-fixed{
    position: fixed;
    width: 1280px;
    top: 0;
    z-index: 10000;
    background-color: white;
}

.header-area{
    height: 100px;
    text-align: center;
    display: flex;
    justify-content: space-between;
    position: relative;
    border-bottom: solid 1px black;
}

.header-area__rogo{
    position: absolute;
    bottom: 5px;
    text-align: center;
}

.header-area__rogo__image{
    width: 300px;
}

.header-area__rogo__text{
    padding-top: 5px;
    font-size: 11px;
    letter-spacing: 4px;
    margin: 0;
    font-family: 'Montserrat', sans-serif;
}

.header-area__nav{
    position: absolute;
    bottom: 5px;
    right: 0;
    display: flex;
    margin-block-start: 0;
    margin-block-end: 0;
}

.header-area__nav__menu{
    list-style: none;
    width: 200px;
    line-height: 70px;
    font-family: 'Roboto', sans-serif;
    font-size: 30px;
    border-left: solid 1px black;
    position: relative;
}

.header-area__nav__menu:hover{
    transition: 0.5s;
    background-color: lightgray;
}

.header-area__nav__menu .header-area__nav__menu--second{
    margin: 0;
    padding: 0;
    list-style: none;
    font-family: 'Roboto', sans-serif;
    position: absolute;
    top: 70px;
    width: 100%;
    opacity: 0;
    visibility: hidden;
}

.header-area__nav__menu:hover .header-area__nav__menu--second{
    transition: 0.5s;
    opacity: 1;
    visibility: visible;
}

.header-area__nav__menu--second li{
    display: block;
}

.header-area__nav__menu--second li:hover{
    transition: 0.5s;
    background-color: rgba(211,211,211,0.5);
}

.header-area__nav li a{
    text-decoration: none;
    display: block;
    transition: 0.5;
}

.header-area__nav li a:link{
    color: black;
}

.header-area__nav li a:visited{
    color: black;
}

.header-area__nav li a:active{
    color: tomato;
}

.main-contents{
    padding-top: 100px;

}

.eyecatch-image{
    width: 100%;
    min-height: 100vh;
    background-image: url(no_domino_house.png);
    background-size: cover;
    background-position: center;
    position: relative;
}

.eyecatch-image-history{
    width: 100%;
    min-height: 100vh;
    background-image: url(no_domino_house.png);
    background-size: cover;
    background-position: center;
    position: relative;
    margin-bottom: 50px;
}

.eyecatch-image-textarea{
position: absolute;
top: 100px;
margin-left: 100px;
width: 600px;
background-color: rgba(255, 255, 255, 0.5);
border-radius: 15px;
border: solid 3px black;
}

.eyecatch-image-textarea-profile{
    position: absolute;
    top: 100px;
    margin-left: 100px;
    width: 600px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 15px;
    border: solid 3px black;
    padding: 5px;
    margin-bottom: 10px;
}

.eyecatch-image h1{
padding: 30px 50px 0 50px;
color: black;
font-family: 'Roboto', sans-serif;
font-size: 36px;
}

.eyecatch-image h2{
    padding: 30px 50px 0 50px;
    color: black;
    font-family: 'Roboto', sans-serif;
    font-size: 24px;
    }

.eyecatch-image p{
padding: 0 50px 0 50px;
color: black;
font-family: 'Roboto', sans-serif;
}

.eyecatch-image p a{
color: #0066c0;
}

.eyecatch-image-textarea-profile p a{
    color: #0066c0;
    }
    
@media screen and (max-width:1280px) {
    .wrapper{
        max-width: 768px;
    }

    .header-position-fixed{
        width: 768px;
    }

    .header-area__rogo__image{
        width: 240px;
    }

    .header-area__rogo__text{
        padding-top: 5px;
        font-size: 11px;
        letter-spacing: 2px;
        margin: 0;
        font-family: 'Montserrat', sans-serif;
    }

    .header-area__nav__menu{
        width: 120px;
        font-size: 20px;
    }

    .eyecatch-image{
        background-image: none;
    }

    .eyecatch-image-history{
        background-image: none;
    }
}

@media screen and (max-width:768px) {
    .wrapper{
        max-width: 480px;
        margin: 0 auto 0 auto;
    }

    .header-position-fixed{
        width: 480px;
    }

    .header-area{
        height: 100%;
        top: 30px;
        text-align: center;
        display: flex;
        flex-direction: column;
        justify-content:initial;
    }

    .header-area__rogo{
        position:initial;
        top: 10px;
    }

    .header-area__rogo__image{
        width: 300px;
    }
    
    .header-area__rogo__text{
        padding-top: 5px;
        font-size: 11px;
        letter-spacing: 4px;
        margin: 0;
        font-family: 'Montserrat', sans-serif;
    }


    .header-area__nav{
        position: initial;
        top: 10px;
        display: flex;
        flex-direction: column;
        margin-block-start: 0;
        margin-block-end: 0;
        padding-inline-start: 0;
    }

    .header-area__nav__menu{
        list-style: none;
        width: 100%;
        line-height: 70px;
        font-family: 'Roboto', sans-serif;
        font-size: 30px;
        border-left: none;
        position: relative;
        background-color: white;
    }

    .menu2 + .menu3{
        transition: 0.5s;
    }
    .menu2:hover + .menu3{
        margin-top: 140px;
    }

    .menu3 + .menu4{
        transition: 0.5s;
    }
    .menu3:hover + .menu4{
        margin-top: 140px;
    }

    .main-contents{
        padding-top: 500px;
        height: 1200px;
    }

    .eyecatch-image{
        width: 480px;
        min-height: 100vh;
        background-image: none;
    }
    
    .eyecatch-image-history{
        background-image: none;
    }

    .eyecatch-image-textarea{
        margin-left: 60px;
        width: 360px;
    }
    
    .eyecatch-image-textarea-profile{
        margin-left: 60px;
        width: 360px;
    }

    .eyecatch-image h1{
        font-size: 24px;
    }
    
    .eyecatch-image h2{
        font-size: 18px;
    }
    .eyecatch-image p{
        font-size: 12px;
    }

    img{
        width: 340px;
    }
}
