@charset "UTF-8";

/* 共通部分 */
*  {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "M PLUS Rounded 1c", sans-serif; 
    font-size: 100%;  
}

body {
    height: 100vh;
    width: 100vw;
}

a {
    text-decoration: none;
}

img {
    max-width: 100%;
}

/* タイトルバー */
header {
    height: 6vh;
    width: 100vw;
}

.page-header {
    display: flex;
    align-items: center;
    height: 6vh;
    text-align: center;
    text-decoration: none;
    justify-content: space-around;
    background-color: #6a8fae;
    margin-top: 4vh;    /* 上部の白い部分 */
}

.site-title {   /* さんのアトリエの文字 */ 
    color: rgb(72, 82, 131);
    padding-left: 80px;
    font-size: 40px;
    letter-spacing: 6px;
    font-family: 'Cherry Bomb One';
    margin-top: -5vh;   /* 青い線から上にはみ出すデザイン */
}

.site-title span {   /* TAMUの文字 */
    color: rgb(56, 80, 125);
    font-size: 80px; 
    letter-spacing: 16px;
    font-family: 'Cherry Bomb One';
}


nav ul {
    display: flex;
    justify-content: space-around;
    list-style: none;
}

nav ul li a {
    color: #3d405b;
    font-size: 18px;
    padding: 5px 20px;
    background-color: #a9b4b9;
    border-radius: 5px;
    text-decoration: none;
    font-family: "M PLUS Rounded 1c", sans-serif; 
    margin-left: 16px;
    box-shadow: 0 3px grey;
    transition: all 0.3s;
}

nav ul li a:hover {
    background-color:  #9bd2f2;
    transform: scale(1.2);
}

/* メイン画像 */
.main-visual {
    background-image: url(../images/home/september.png);
    background-position: top center;
    object-fit: cover;
    width: 100vw;
    height: 40vh;
    margin: 0;
}

/* 自画像・プロフィール・作品へのリンク */
.container {
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}
.home-content {
    height: 45vh;
    max-width: 100%;
}

.profile {
    display: flex;
    width: 100vw;
    justify-content: space-around;
    align-items: flex-start;
    padding: 0 3vw;
}

.profile-illust {
    height: auto;
    width: 300px;
    padding-top: 5vh;
}

.profile-illust img {
    height: 100%;
}

.history {
    display: inline-block;
    width: 45%;
}

.history h2 {
    height: 10vh;
    font-size: 24px;
    text-align: center;
    color: rgb(72, 82, 131);
    padding-top: 5vh;
}

.profile p {
    height: 35vh;
    color: rgb(72, 82, 131);
    font-size: 19px;
    line-height: 36px;
    letter-spacing: 1px;
}

.portfolio {
    display: flex;
    flex-direction: column;
    width: 35vw;
    height: 40vh;
    padding-top: 5vh;
}

button {
    min-width: 8vw;
    background: none;
    overflow: visible;
    cursor: pointer;
    transition: all 0.3s;
}

button img {
    box-shadow: 0 7px 7px -7px #7f7f84;
    background-color: #a8bbc6;
    border-radius: 5px;

}

button img:hover {
    transform: scale(1.2rem);
    background-color: #80c6ef;
}

/* フッター */
footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 9vh;
    background-color: #6a8fae;
    text-align: center;
    justify-content: center;
    text-decoration: none;
    padding: 26px 0;
}

footer a {
    color: rgb(35, 50, 67);
    text-decoration: underline;
    font-size: 16px;
    line-height: 32px;
}

footer p {
    font-size: 14px;
}

/* メディアクエリー　Note-PC */
@media (min-width: 769px) and (max-width: 1200px) {
    .page-header {
        margin-top: 0;
    }    
    .site-title {
        padding-left: 1rem;
        margin-top: 0;
        font-size: 28px;
        letter-spacing: 3px;
    }
    .site-title span {
        font-size: 40px;
        letter-spacing: 0;
    }
    nav ul li a {
        font-size: 16px;
        padding: 3px 10px;
    }
    .main-visual {
        background-position: top center;
        object-fit: contain;
    }
    .history h2 {
        font-size: 19px;
    }
    .profile {
        justify-content: flex-start;
    }
    .profile p {
        font-size: 16px;
        line-height: 30px;
        letter-spacing: 0;
    }
    .portfolio {
        height: 30vh;
        padding: 5vh 2vw 0;
    }
}

/* メディアクエリー　Tablet */
@media (min-width: 431px) and (max-width: 768px) {
    header {
        height: 8vh;
    }
    .page-header {
        display: block;
        text-align: left;
        margin-top: 0;
        height: 8vh;
        width: 100%;
    }    
    .site-title {
        width: 100%;
        height: 3vh;
        padding-left: 1.5vw;
        font-size: 16px;
        letter-spacing: 3px;
        margin-top: 0;
        margin-bottom: 1vh;
    }    
    .site-title span {
        font-size: 19px; 
        letter-spacing: 0;
    }
    nav ul {
        margin-left: 20%;
        margin-right: 5%;
    }
    nav ul li a {
        font-size: 11px;
        padding: 2px 5px;
        border-radius: 3px;
        margin: 1.5vh 0;
    }        
    .main-visual {
        background-position: top center;
        background-size: cover;
        scale: 100%;
        height: 20vh;
    }
    .home-content {
        height:65vh;
        justify-content: center;
        margin-top: 0;
    }    
    .profile {
        display: flex;
        flex-direction: column;
        align-items: center; 
        padding: 0;       
    }    
    .profile-illust {
        width: auto;
        height: 15vh;
        text-align: center;
        padding: 3vh 0 0;
    }    
    .profile-illust img {
        width: 100%;
    }    
    .history {
        width: 100vw;
        padding: 0 4vw;
    }    
    .history h2 {
        height: 3vh;
        font-size: 16px;
        padding-bottom: 2vh;
    }    
    .profile p {
        height: 20vh;
        font-size: 13px;
        line-height: 22px;
        letter-spacing: 0;
        padding: 1vh 2vw;
    }    
    .portfolio {
        text-align: center;
        align-items: center;
        width: 60%;
        height: 25vh;
        padding: 0;
    }    
    button {
        text-align: center;
        width: 100%;
        height: 6vh;
        margin: 0.5vh auto;
        padding: 3px 0 3px;
    }    
    button img {
        height: 95%;
    }
    footer {
        height: 7vh;
        position: sticky;
        bottom: 0;
    }
    footer a {
        font-size: 13px;
        line-height: 24px;
    }   
}
    
/* メディアクエリー　Mobile */
@media (max-width: 430px) {
    header {
        height: 8vh;
        width: 100vw;
    }
    .page-header {
        display: block;
        text-align: left;
        margin-top: 0;
        height: 8vh;
        width: 100%;
    }    
    .site-title {
        width: 100%;
        height: 3vh;
        padding-left: 1.5vw;
        font-size: 16px;
        letter-spacing: 3px;
        margin-top: 1vh;
        margin-bottom: 1vh;
    }    
    .site-title span {
        font-size: 19px; 
        letter-spacing: 0;
    }     
    nav ul {
        margin-left: 20%;
        margin-right: 5%;
    }
    nav ul li a {
        font-size: 11px;
        padding: 2px 5px;
        border-radius: 3px;
        margin: 1.5vh 0;
    }    
    .main-visual {
        background-position: top center;
        background-size: cover;
        scale: 100%;
        height: 15vh;
        margin: 0;
    }
    .home-content {
        height:70vh;
        justify-content: center;
        margin-top: 0;
    }    
    .profile {
        display: flex;
        flex-direction: column;
        align-items: center; 
        padding: 0;       
    }    
    .profile-illust {
        width: auto;
        height: 20vh;
        text-align: center;
        padding: 0 1vw;
    }    
    .profile-illust img {
        width: 80%;
    }    
    .history {
        display: inline-block;
        width: 100vw;
        padding: 0 4vw;
    }    
    .history h2 {
        display: none;
    }    
    .profile p {
        height: 25vh;
        color: rgb(72, 82, 131);
        font-size: 13px;
        line-height: 22px;
        letter-spacing: 0;
        padding: 1vh 5vw;
    }    
    .portfolio {
        display: flex;
        flex-direction: column;
        text-align: center;
        align-items: center;
        width: 60%;
        height: 25vh;
        padding: 0;
    }    
    button {
        text-align: center;
        width: 100%;
        height: 6vh;
        background: none;
        margin: 0.5vh auto;
    }    
    button img {
        height: 95%;
    }
    button img:hover {
        transform: scale(1.2rem);
        background-color: #80c6ef;
    }
    footer {
        height: 7vh;
        position: sticky;
        bottom: 0;
    }
    footer a {
        font-size: 13px;
        line-height: 24px;
    }   
   
}

