@charset "UTF-8";
html {
    font-size: 100%;
}
body {
    color: #383e45;
    font-size: 0.9rem;
}
a {
    text-decoration: none;
}
img {
    max-width: 100%;
}
li {
    list-style: none;
}
.site-title {
    width: 120px;
    line-height: 1px;
    padding: 10px 0;
}
.section-title {
    display: inline-block;
    font-size: 2rem;
    margin-bottom: 30px;
    border-bottom: solid 1px #383e45;
}
.content-title {
    font-size: 1rem;
    margin: 10px 0;
}
.wrapper {
    max-width: 960px;
    margin: 0 auto 100px;
    padding: 0 4%;
    text-align: center;
}

/*-------------------------------------------
ヘッダー
-------------------------------------------*/
#header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 auto;
}
#header ul {
  display: flex;
  padding: 10px 0;
}
#header li {
  margin-left: 30px;
}
#header li a {
  color: #24292e;
}
#header li a:hover {
  opacity: 0.7;
}

/*-------------------------------------------
Mainvisual
-------------------------------------------*/
#mainvisual {
    margin-bottom: 80px;
}
#mainvisual img {
    width: 100%;
    max-width: 1920px;
    height: 400px;
    object-fit: cover;
}

/*-------------------------------------------
About
-------------------------------------------*/
#About .content {
    display: flex;
    justify-content: center;
    align-items: center;
}
#About img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin-right: 30px;
}
#About .text {
    text-align: left;
}

/*-------------------------------------------
Hobby
-------------------------------------------*/
#Hobby .content {
    display:flex;
    justify-content: center;
    align-items: center;
}
#Hobby img {
    order:2;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin-left: 30px;
}
#Hobby .text {
    text-align: right;
}

/*-------------------------------------------
footer
-------------------------------------------*/
#footer {
    font-size: 0.5rem;
    padding: 10px 0;
    text-align: center;
}

/*-------------------------------------------
SP
-------------------------------------------*/
@media screen and (max-width: 600px) {
    /*-------------------------------------------
    Mainvisual
    -------------------------------------------*/
    #mainvisual img {
        height: calc(100vh - 60px);
    }

    /*-------------------------------------------
    About Hobby
    -------------------------------------------*/
    #about .content,
    #Hobby .content,
    #Contact .content {
        flex-direction: column;
    }
    #about img {
        margin-right: 0;
    }
}