@charset "utf-8";

html {
    background-color: #F3ECE4;
    color: #4D4844;
    /* font-family: 'Yomogi', cursive; */
    /* font-family: 'Roboto', sans-serif; */
    /* font-family: 'Hachi Maru Pop', cursive; */
    font-family: 'Kiwi Maru', serif;
    /* font-family: 'Noto Serif JP', serif; */
    overflow-x: hidden;
}
section {
    display: block;
    margin-top: 100px;
}
header, footer {
    background-color: #4D4844;
    color: #F3ECE4;
}
footer section {
    margin: 100px auto 0;
    padding: 200px 0;
    text-align: center;
    width: 940px;
}
footer h2, footer p:last-child {
    text-align: center;
}

main {
    margin: auto;
    width: 940px;
}
h1 {
    font-size: 96px;
    padding: 1.0rem 1.0rem 0 1.0rem;
}
h2 {
    font-size: 4.6rem;
    padding: 2rem;
}
p {
    font-size: 1.6rem;
    padding: 10px;
}
span {
    color: #D31B27;
}
a {
    color: inherit;
}
ul {
    font-size: 1.5rem;
    padding: 0 0.5rem 0.5rem 0.5rem;
    text-align: right;
}
li {
    display: inline;
    margin: 0 0.5rem;
    /* display: flex;
    justify-content: flex-end; */
}
figure {
    text-align: center;
    margin-top: -85px;
}
figure p {
    font-size: 1rem;
}
img {
    max-width: 100%;
}

.opening {
    position: relative;
    text-decoration: none;
}
.opening p {
    font-size: 3rem;
    line-height: 200%;
    margin: 25% 0;
    padding: 0;
    text-align: center;
}
.opening p::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: blue;
    transition: width 0.3s ease;
}
.ending p {
    font-size: 2rem;
    text-align: left;
}
.textbox {
    align-items: center;
    display: flex;
    justify-content: space-evenly;
}
.textbox p {
    padding: 0.5rem 0;
    text-align: left;
}
.title {
    text-align: left;
}
.career {
    align-items: center;
    display: flex;
    justify-content: space-evenly;
}
.azuki img {
    height: 18rem;
}
.skills {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    margin: 5rem 0;
}
#myRadarChart {
    margin: 5rem;
    flex-basis: 40%;
}
.etc {
    margin-top: -150px;
    text-align: right;
}
.annotation { /* 注釈 */
    color: #D31B27;
    font-size: 1.0rem;
    text-align: right;
}
.main_hobby {
    align-items: center;
    display: flex;
    justify-content: space-evenly;
}
.main_hobby img {
    width: 310px;
    height: 450px;
    object-fit: cover;
}
.sub_hobby {
    text-align: center;
}
.sub_hobby image {
    width: 930px;
    height: 150px;
    object-fit: cover;
}
.button { /* 送信ボタン */
    background: #D31B27;
    border-radius: 20px;
    color: #F3ECE4;
    cursor: pointer;
    font-family: 'Kiwi Maru', serif;
    font-size: 1.6rem;
    margin: 1rem;
    padding: 0 1rem;
    text-align: center;
    transition: 0.3s;
}
.button:hover {
    background: #F3ECE4;
    box-shadow: none;
    color: #4D4844;
}


/*========= ナビゲーションのためのCSS ===============*/
#g-nav {
    /*position:fixed;にし、z-indexの数値を大きくして前面へ*/
    position: fixed;
    z-index: 999;
    /*ナビのスタート位置と形状*/
    top: -120%;
    left: 0;
    width: 100%;
    height: 100vh;
    /*ナビの高さ*/
    background: #999;
    /*動き*/
    transition: all 0.6s;
}
/*アクティブクラスがついたら位置を0に*/
#g-nav.panelactive {
    top: 0;
}

/* ----------パターン2：下からふわっと---------- */
/* 画面外 */
.fade-block2 {
    transform: translateY(100px);
    transition: all .5s ease-in;
}
/* 画面に入った時の動き */
.fade-block2.blockIn {
    transform: translateY(0);
}

/*==================================================
スライダーのためのcss
===================================*/
.slider img {
    width: auto;
    /*スライダー内の画像を横幅100%に*/
    height: 310px;
}
/*slickのJSで書かれるタグ内、スライド左右の余白調整*/
.slider .slick-slide {
    /* margin:0 10px;スライド左右の余白調整 */
}

/* 959px以下に適用されるCSS（タブレット用） */
@media screen and (max-width: 959px) {
    html {
        overflow: hidden;
    }
}
/* 480px以下に適用されるCSS（スマホ用） */
@media screen and (max-width: 480px) {
    html {
        overflow: hidden;
    }
}