@charset "UTF-8";

html {
    margin: 0;
    padding: 0;
    font-size: 62.5%;
}

body {
    font-family: "UD デジタル 教科書体 N-B";
    font-size: 1.6rem;
    line-height: 2.1;
    color: #797e81;
    margin: 0;
    padding: 0;
    text-align: center;
}

a {
    text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 600;
    margin: 0;
    padding: 0;
}

ul {
    margin: 0;
    padding: 0;
}

ul li {
    list-style: none;
}

/*-------------------------------ヘッダ*/
header {
    width: 100%;
    position: fixed;
    top: 0;
    z-index: 10;
    background: white;
}

header .inner {
    height: 100px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header ul {
    display: flex;
}

header a {
    font-size: 1.5rem;
    color: #2e4551;
    margin: 0 0 0 50px;
    letter-spacing: 0.3em;
}


header a:hover {
    color: #61b7d9;
    font-weight: 600;
}

.header-nav {
    display: flex;
    width: 100%;
}

.header-nav img {
    width: 40px;
    height: 40px;
    vertical-align: -3px;
}

/*-------------------------------フッタ*/
.footer-nav ul {
    display: flex;
    width: 100px;
    margin: 50px auto;
}

.footer-nav {
    width: 100%;
}

.footer-nav li {
    justify-content: space-between;
    width: 94%;
    margin: 0 auto;
}

.footer-nav img {
    width: 50px;
    height: 50px;
    vertical-align: -3px;
}

/*-------------------------------ホーム*/
#kv {
    font-family: "Nico Moji";
    width: 100%;
    height: 1000px;
    margin: 0 0 80px;
    background: url(image/main2.png) no-repeat center top;
    background-size: cover;
    font-size: 3rem;
    letter-spacing: 0.3em;
}

#kv .inner {
    position: relative;
    height: 600px;
    top: 100px;
}

#kv p {
    font-family: "Nico Moji";
    font-size: 2.4rem;
}

#kv h1 {
    font-family: "Nico Moji";
    font-size: 5rem;
}

#kv {
    animation: poyoyon2 5s ease-in-out 1 forwards;
}

@keyframes poyoyon2 {
    0% {
        transform: scale(1.0, 1.0) translate(0, 0);
    }

    15% {
        transform: scale(0.98, 0.9) translate(0, 5px);
    }

    30% {
        transform: scale(1.02, 1.0) translate(0, 8px);
    }

    50% {
        transform: scale(0.98, 1.05) translate(0, -8px);
    }

    70% {
        transform: scale(1.0, 0.9) translate(0, 5px);
    }

    100% {
        transform: scale(1.0, 1.0) translate(0, 0);
    }

    0%,
    100% {
        opacity: 1;
    }
}

#comic h1 {
    font-family: "Nico Moji";
    font-size: 4rem;
    color: #61b7d9;
    letter-spacing: 0.2em;
    width: 100%;
    height: 350px;
    position: relative;
    top: 100px;
    margin: 50px 0 0 10px;
    padding: 50px 0 0;
}

#youtube h3 {
    font-family: "Reenie Beanie", cursive;
    font-size: 4rem;
    color: #ababad;
    letter-spacing: 0.3em;
    width: 100%;
    height: 350px;
    position: relative;
    top: 100px;
}

#biography h3 {
    font-family: "Reenie Beanie", cursive;
    font-size: 4rem;
    color: #ababad;
    letter-spacing: 0.3em;
    width: 100%;
    height: 250px;
    position: relative;
    top: 100px;
}

#biography {
    position: relative;
    width: 100%;
    height: auto;
}

#biography .item-blk {
    position: relative;
    width: 1000px;
    left: calc(50% - 400px);
    top: 50px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    -js-display: flex;
}

#biography .item-blk.active {
    animation: RightToLeft 2s;
}

@keyframes RightToLeft {
    0% {
        opacity: 0;
        transform: translateX(500px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

#biography .item {
    display: flex;
    flex-wrap: wrap;
}

#biography .item .picture {
    width: 350px;
    height: 100px;
}

#biography .item .picture1::after {
    content: "はるみちえつこだよ";
    font-weight: bold;
    font-size: 2.4rem;
    display: block;
}

#biography .item .picture1 img {
    max-width: 100px;
    max-height: 100px;
    vertical-align: -3px;
}

#biography .item .picture2 img {
    max-width: 100px;
    max-height: 100px;
    vertical-align: -3px;
}

#biography .item .picture3 img {
    max-width: 100px;
    max-height: 100px;
    vertical-align: -3px;
    text-align: center;
    margin: 0 0 0 250px;
    padding: 50px 0 0;
}

#biography .item .picture4 img {
    max-width: 100px;
    max-height: 100px;
    vertical-align: -3px;
}

.animation {
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
    animation-direction: alternate;
    animation-duration: 35s;
    width: 128px;
}


.picture1 img {
    animation-name: anim_s;
    transform: rotate(30deg);
    animation-duration: 30s;
}

@keyframes anim_s {
    50% {
        transform: rotate(-30deg);
    }

    100% {
        transform: rotate(30deg);
    }
}

.picture2 img {
    animation-name: anim_s;
    transform: rotate(30deg);
    animation-duration: 35s;
}

@keyframes anim_s {
    50% {
        transform: rotate(-30deg);
    }

    100% {
        transform: rotate(30deg);
    }
}

.picture3 img {
    animation-name: anim_s;
    transform: rotate(30deg);
    animation-duration: 40s;
}

@keyframes anim_s {
    50% {
        transform: rotate(-30deg);
    }

    100% {
        transform: rotate(30deg);
    }
}

.picture4 img {
    animation-name: anim_s;
    transform: rotate(30deg);
    animation-duration: 45s;
}

@keyframes anim_s {
    50% {
        transform: rotate(-30deg);
    }

    100% {
        transform: rotate(30deg);
    }
}


#biography .item h3 {
    position: relative;
    bottom: 30px;
    left: 150px;
    font-size: 1.4rem;
}

.job {
    max-width: 1024px;
    display: flex;
    flex-wrap: wrap;
    margin: 0 auto;
}


.balloon3-left {
    position: relative;
    display: inline-block;
    margin: 1.5em 0 1.5em 15px;
    padding: 40px 5px;
    width: 500px;
    height: 250px;
    line-height: 30px;
    text-align: center;
    color: #FFF;
    font-size: 15px;
    font-weight: bold;
    background: #61b7d9;
    border-radius: 50%;
    box-sizing: border-box;
}

.balloon3-left:before {
    content: "";
    position: absolute;
    top: 32%;
    left: -10px;
    margin-top: -15px;
    border: 15px solid transparent;
    border-right: 15px solid #61b7d9;
    z-index: 0;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
}

.balloon3-right {
    position: relative;
    display: inline-block;
    margin: 1.5em 15px 1.5em 100px;
    padding: 40px 5px;
    width: 400px;
    height: 190px;
    line-height: 30px;
    text-align: center;
    color: #FFF;
    font-size: 15px;
    font-weight: bold;
    background: #797e81;
    border-radius: 50%;
    box-sizing: border-box;
    text-align: center;

}

.balloon3-right:before {
    content: "";
    position: absolute;
    top: 50%;
    right: -25px;
    margin-top: -15px;
    border: 15px solid transparent;
    border-left: 15px solid #797e81;
    z-index: 0;
}

.balloon4-left {
    position: relative;
    display: inline-block;
    margin: 1.5em 0 1.5em 15px;
    padding: 60px 5px;
    width: 300px;
    height: 150px;
    line-height: 30px;
    text-align: center;
    color: #FFF;
    font-size: 20px;
    font-weight: bold;
    background: #61b7d9;
    border-radius: 50%;
    box-sizing: border-box;
}

.balloon4-left:before {
    content: "";
    position: absolute;
    top: 50%;
    left: -25px;
    margin-top: -15px;
    border: 15px solid transparent;
    border-right: 15px solid#61b7d9;
    z-index: 0;
}

.balloon4-right {
    position: relative;
    display: inline-block;
    margin: 1.5em 15px 1.5em 0;
    padding: 40px 5px;
    width: 300px;
    height: 175px;
    line-height: 30px;
    text-align: center;
    color: #FFF;
    font-size: 15px;
    font-weight: bold;
    background: #797e81;
    border-radius: 50%;
    box-sizing: border-box;
}

.balloon4-right:before {
    content: "";
    position: absolute;
    top: 50%;
    right: -25px;
    margin-top: -15px;
    border: 15px solid transparent;
    border-left: 15px solid #797e81;
    z-index: 0;
}

#biography .btn {

    width: 1024px;
    text-align: right;
    bottom: 50px;
    left: calc(50% - 512px);
    z-index: 2;
}

/*--IE9ハック--*/
@media screen and (min-width: 0\0) and (min-resolution: .001dpcm) {
    #home #drink .btn {
        top: 600px;
    }
}

#biography .btn a {
    border-color: #666;
    color: #666;
    background: rgba(255, 255, 255, .3);
    font-family: "Reenie Beanie", cursive;
    font-size: 3rem;
    letter-spacing: 0.3em;
    width: 100%;
    height: 350px;
    position: relative;
    top: 10px;
}

#biography .btn img {
    max-width: 50px;
    max-height: 50px;
    vertical-align: -20px;
}

.sp {
    display: none;
}

/*----------------------------------
スマホ
-----------------------------------*/
@media screen and (max-width: 414px) {

    .sp {
        display: block;
    }

    .inner {
        width: 94%;
        margin: 0 auto;
    }

    /*-----------------ヘッダー*/

    #nav-toggle {
        position: fixed;
        top: 25px;
        right: 25px;
        height: 32px;
        cursor: pointer;
        z-index: 1000;
    }

    #nav-toggle>div {
        position: relative;
        width: 36px;
    }

    #nav-toggle>div span {
        width: 100%;
        height: 2px;
        left: 0;
        display: block;
        background: #000;
        position: absolute;
    }

    #nav-toggle>div span:nth-child(1) {
        top: 0;
    }

    #nav-toggle>div span:nth-child(2) {
        top: 14px;
    }

    #nav-toggle>div span:nth-child(3) {
        top: 28px;
    }

    .header-nav {
        width: 350px;
        position: fixed;
        display: block;
        top: 100px;
        right: 0;
        z-index: 1000;
        background: rgba(255, 255, 255, .8);
        transition: all 0.2s;
        transform: translate(350px);
    }

    .header-nav.open {
        transform: translate(0);
    }

    .header-nav ul {
        display: block;
    }

    /*----------------メイン*/

    #main {
        padding: 100px 0 0;
        margin: 0 0 40px;
    }

    #kv {
        height: 250px;
        margin: 0 0 10px;
        padding: 150px auto;
        top: 20px;
        font-size: 1.8rem;
    }

    #kv p {
        font-size: 2rem;
        letter-spacing: 0.2em;
        width: 100%;
        height: 120px;
        position: relative;
        top: 100px;
        margin: 50px 0 0 10px;
        padding: 50px 0 0;
    }

    #kv h1 {
        font-size: 3rem;
        letter-spacing: 0.2em;
        width: 100%;
        height: 70px;
        position: relative;
        top: 10px;
        margin: 10px 0 0 10px;
        padding: 10px 0 0;
    }

    #comic h1 {
        font-size: 2.5rem;
        height: 150px;
    }

    #youtube h3 {
        height: 200px;
    }

    #youtube p {
        font-size: 1rem;
    }

    iframe {
        width: 100%;
    }

    #biography h3 {
        height: 100px;
    }

    #biography .item {

        flex-wrap: wrap;
    }

    #biography .item .picture1 img {
        margin: 0 0 0 250px;
        padding: 10px 0 0;
    }

    #biography .item .picture1::after {
        font-size: 2rem;
        display: inline-block;
    }

    .balloon3-left {
        margin: 0 0 0 200px;
        padding: 50px 5px;
        width: 400px;
        height: 280px;
    }

    .balloon3-left:before {
        content: "";
        position: absolute;
        top: -4%;
        left: 50%;
        margin-left: -40px;
        border: 30px solid transparent;
        border-bottom: 15px solid #61b7d9;
        z-index: 0;
    }

    .balloon3-right {
        margin: 50px 0 0 200px;
        padding: 40px 5px;
        width: 400px;
        height: 190px;
    }

    .balloon3-right:before {
        content: "";
        position: absolute;
        bottom: -15px;
        left: 50%;
        margin-top: 25px;
        border: 15px solid transparent;
        border-left: 15px solid #797e81;
        z-index: 0;
    }

    #biography .item .picture2 img {
        margin: 0 0 0 300px;
        padding: 10px 0 0;
    }

    #biography .item .picture3 img {
        margin: 50px 0 0 225px;
        padding: 10px 0 0;
        display: block;
        flex-wrap: wrap;
    }

    .balloon4-left {
        margin: 50px 0 0 10px;
        padding: 50px 5px;
        width: 250px;
        height: 130px;
        display: inline-block;
    }

    .balloon4-right {
        margin: 0 0 0 25px;
        padding: 20px 5px;
        width: 250px;
        height: 130px;
        display: block;
        flex-wrap: wrap;
    }

    #biography .item .picture4 img {
        margin: 0 0 0 10px;
        padding: 10px 0 0;
        display: inline-block;
    }

    #biography .btn img {
        margin: 100px 0 0 50px;
        padding: 10px 0 0;
    }

    #biography .btn a {
        margin: 10px 0 0 10px;
        padding: 10px 5px;
        width: 300px;
        height: 50px;
    }



    /*----------------フッター*/

    footer .inner {
        position: relative;
    }

}