@charset "UTF-8";

/*基本設定*/
body {
    font-family: "游明朝", "YuMincho", "Yu Mincho", serif;
    background-image: url("../img/29.png");
    background-position: top 0px right 600px;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: 70%;
    background-color: #fff;
}
@media (max-width:600px){
    body {
        background-position: top 130px right 20px;
        background-size: 140%;

    }
}

h1 {
    font-size: 105px;
    text-align: center;
    vertical-align: text-top;
    margin-top: -1.88rem;
}
@media (max-width:600px){
    h1 {
        font-size: 4rem;
        margin-top: 0;
    }
}

h2 {
    display: flex;
    justify-content: space-between;
    font-size: 60px;
}
@media (max-width:600px){
    h2 {
        font-size: 1.5rem;
    }
}

.gototop {
    margin: 120px 0 80px 50px;
    letter-spacing: 5rem;
}
@media (max-width:600px){
    .gototop {
        letter-spacing: 1rem;
        margin: 0 0 0 5px;
    }
}

.gotoworks {
    margin: 120px 50px 80px 0;
    letter-spacing: 1rem;
}
@media (max-width:600px){
    .gotoworks {
        margin: 0;
    }
}

a {
    text-decoration: none;
}

a:link {
    color: #000;
}

a:visited {
    color: #993300;
}

a:hover {
    color: #DDD;
}

a:active {
    color: #993300;
}

#menu {
    display: flex;
    justify-content: space-between;
}

/*main*/
main {
    display: flex;
    justify-content: space-around;
}

img {
    opacity: 1;
    -webkit-filter: grayscale(100%);
    -moz-filter: grayscale(100%);
    -ms-filter: grayscale(100%);
    -o-filter: grayscale(100%);
    filter: grayscale(100%);
}

img:hover {
    -webkit-filter: grayscale(0);
    -moz-filter: grayscale(0);
    -ms-filter: grayscale(0);
    -o-filter: grayscale(0);
    filter: grayscale(0);

}

#pict_warp {
    max-width: 100%;
    margin: 0 28rem auto 0;
}
@media (max-width:600px){
    #pict_warp {
        display: none;
    }
}

#pict_warp img {
    width: 100%;
}

.selfintro_photo {
    position: relative;
}

#adulthoot {
    height: 310px;
    z-index: 2;
    margin: 0 0 auto 3rem;
}

#childhoot {
    top: 12rem;
    left: 16rem;
    z-index: 1;
}

.photo_all {
    width: 350px;
    max-width: 80vw;
    max-height: 80vw;
    position: absolute;
    display: block;
    box-sizing: border-box;
}

#childhoot:hover {
    z-index: 2;
}

#selfintro_text {
    width: 30vw;
    font-size: 30px;
    max-width: 100%;
}
@media (max-width:600px){
    #selfintro_text {
        width: 90vw;
        margin: 50px auto 0;
        font-size: 1.5rem;
    }
}

p.hobby {
    font-size: 27px;
    margin-top: 2.5rem;
}
@media (max-width:600px){
    p.hobby {
        font-size: 1.5rem;
    }
}