* {
    margin:0; padding:0;        /*全要素のマージン・パディングをリセット*/
}

/*.main {
    display: flex;
    color: #fff;
    background-image: linear-gradient(rgba(255,255,255,0.1),rgba(255,255,255,0.1)), url(images/sahara.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    width: 100%;
    height: 100vh;
    min-height: 450px;
    justify-content: center;
}*/

.main {
    position: relative;
    margin: 0 auto;
    text-align: center;
}

.main-bg {
    color: #fff;
    background-image: linear-gradient(rgba(0,0,0,0.1),rgba(0,0,0,0.1)), url(images/under_construction2.jpg);
    background-position: 50% 70%;
    background-repeat: no-repeat;
    background-size: cover;
    width: 100%;
    height: 100vh;
    min-height: 450px;
    background-attachment: fixed;
}

.main-comment {
    height: 100px;
    position: absolute;
    top: 20vh;
    left: 15vh;
    margin: auto;
}

h1 {
    font-size: 18px;
    font-weight: normal;
    text-align: left;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

h2 {
    font-size: 18px;
    font-weight: normal;
    text-align: left;
    letter-spacing: 2px;
}

.footer {
    position: absolute;
    bottom: 10vh;
    right: 10vh;   
}

.icon ul { 
    text-align: right;
    display: flex;
    display: inline-block;
    margin: 0;
    padding: 0;
    list-style: none;
}

.icon li {
	display: inline-block;
}

.icon a {
	display: block;
	color: inherit;
	font-size: 24px;
	text-decoration: none;
	margin-right: 10px;
	padding: 0;
	width: 2em;
	line-height: 2em;
	border-radius: 10%;
	text-align: center;
}

.icon a:hover {
	background-color: rgba(255,255,255,0.3);
}

p {
    margin-top: 10px;
    font-size: 18px;
    text-align: center;
    line-height: 1.3;
    letter-spacing: 2px;
}

@media screen and (max-width: 640px) { 
    .main-bg {
       background-image: linear-gradient(rgba(0,0,0,0.1),rgba(0,0,0,0.1)), url(images/under_construction.jpg);
       background-position:center;
    }

    .main-comment {
        top: 10vh;
        left: 0;
        right: 0;
        margin-left: 30px;
        margin-right: 30px;
    }

    h1 {
        font-size: 1rem;
        text-align: center;
    }

    h2 {
        font-size: 1rem;
        text-align: center;
    }

    .footer {
        color: #000; 
        right: 5vh;
        bottom: 15vh;
    }

    .icon a {
        font-size: 20px;
        margin-right: 3px;
    }

    .footer p {
        font-size: 14px;
    }
}

@media screen and (min-width: 641px) {
    .main-comment h1 br{
        display: none;
    }

    .main-comment h2 br{
        display: none;
    }


}
