* {
    font-family: 'Lato', 'ヒラギノ角ゴ ProN', 'Hiragino Kaku Gothic ProN', 'メイリオ', Meiryo, 'ＭＳ Ｐゴシック', 'MS PGothic', sans-serif;
    margin: 0 auto;
}

html {
    font-size: 62.5%;
}

body {
    background: #efefef;
    font-size: 1.6rem;
    /* 16px*/

    line-height: 2;
    min-width: 350px;
    padding-left: 10px;
    padding-right: 10px;
}

a:hover {
    text-decoration: none;
}

li {}

h1 {
    font-size: 36px;
    /* IE8以下とAndroid4.3以下用フォールバック */
    font-size: calc(2.4rem + ((1vw - 0.64rem) * 2.1429));
    /* 24px~36pxで可変*/
    line-height: 1.3;
}

h2 {
    font-size: 24px;
    /* IE8以下とAndroid4.3以下用フォールバック */
    font-size: calc(2rem + ((1vw - 0.64rem) * 0.7143));
    /* 20px~24pxで可変*/
    font-weight: normal;
    line-height: 1.3;
    margin: 0 0 10px 0;
    padding: 10px 0 0 0;
}

header {
    background-color: #ffffff;
    font-family: 'Lato', 'ヒラギノ角ゴ ProN', 'Hiragino Kaku Gothic ProN', 'メイリオ', Meiryo, 'ＭＳ Ｐゴシック', 'MS PGothic', sans-serif;
    height: 430px;
    left: 10px;
    right: 10px;
    max-width: 700px;
    padding-top: 60px;
    position: fixed;
    text-decoration: none;
    z-index: 1;
}

header p {}

header p a:hover {
    color: #ff0000;
}

header p a::after {
    position: absolute;
    bottom: -2px;
    left: 0;
    content: '';
    width: 100%;
    height: 2px;
    background: #ff0000;
    transform: scale(0, 1);
    transform-origin: left top;
    transition: transform .3s;
}

header p a:hover::after {}



header a {
    position: relative;
    display: inline-block;
    text-decoration: none;
}

header a:hover {
    color: none;
}

header a::after {
    position: absolute;
    bottom: 10px;
    left: 0;
    content: '';
    width: 100%;
    height: 2px;
    background: #326679;
    transform: scale(0, 1);
    transform-origin: left top;
    transition: transform .3s;
}

header a:hover::after {
    transform: scale(1, 1);
}

header h1 {
    color: #000000;
    line-height: 1.5em;
    z-index: 0;
    padding: 0 20px 0 10px;
}

header h1 a {
    text-decoration: none;
}

#navi {
    list-style: none;
}

#navi ul {
    padding: 0;
}

#navi li {
    list-style: none;
    display: inline-block;
    padding: 0 5px 0 0px;
    margin-left: 10px;
}

#navi a {}

#navi a::after {
    bottom: -2px;
    left: 0;
    content: '';
    width: 100%;
    height: 2px;
    background: #ff0000;
    transform: scale(0, 1);
    transform-origin: left top;
    transition: transform .3s;
}

#navi a:hover::after {
    transform: scale(1, 1);
}

#navi a:hover {
    color: #ff0000;
}

.about {
    font-weight: bold;
    line-height: 1;
}

.about p {
    padding: 0 10px 0 10px;
    line-height: 1;
}

.about ul li {
    padding: 0 10px 0 10px;
}

main {
    max-width: 700px;
    text-align: center;
    padding-top: 430px;
    width: 100%;
}

section {
    background: #ffffff;
    max-width: 700px;
    min-width: 350px;
    position: relative;
    z-index: 2;
    padding: 10px 10px 10px 10px;
}

section p {
    color: #000000;
    line-height: 1;
    text-align: center;
    padding-left: 0;
}

.aboutme {
    font-weight: bold;
    padding-top: 0;
    padding-bottom: 0;
    line-height: 1.4;
    margin-bottom: 100px;
    text-align: left;
}

.aboutme p {
    text-align: left;
    font-weight: normal;
}

.aboutme h2 {
    padding: 0px;
}

@media (min-width: 1200px) {

    /* 1200px以上*/
    h1 {
        font-size: 3.6rem;
        /* 36px*/
    }

    h2 {
        font-size: 2.4rem;
        /* 24px*/
    }
}

@media screen and (max-width: 640px) {

    /* 640px以下*/
    body {
        line-height: 2;
    }

    h1 {
        font-size: 2.4rem;
        /* 24px*/
    }

    h2 {
        font-size: 2rem;
        /* 20px*/
    }
}

img {
    max-width: 700px;
    width: 100%;
    box-shadow: 3px 3px 10px -5px gray;
}

.prof {
    width: 300px;
}

#page_top {
    color: #000000;
    position: static;
}

#page_top a {
    background-color: #fafafa;
    text-decoration: none;
    padding: 5px 10px;
}

#page_top a:hover {
    background-color: #fafafa;
    text-decoration: none;
}


.corp {
    background: #ffffff;
    padding: 10px 0 20px 0;
    text-align: left;
}

.corp p {
    font-weight: normal;
    text-align: left;
    line-height: 1.2em;
}

footer {
    background: #ffffff;
    padding: 20px 0 20px 0;
    color: #000000;
    max-width: 700px;
    width: 100%;
    position: relative;
    z-index: 2;
}

footer p {
    font-size: 14px;
    font-weight: bold;
    text-align: center;
}

.container {
    background-color: #fafafa;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(152px, 1fr));
    grid-gap: 10px;
    margin: 0 auto;
    width: 100%;
    text-align: center;
}
