@charset "utf-8";

/* 全体のスタイル調整 */
* {
    box-sizing: border-box;
}

/* 初期スタイル */
body {
    font-size: 16px;
    line-height: 1.5;
    font-family: 'Yomogi', cursive;
    font-weight: 400;
    color: #333;
    background-color: #fff;
}

a{
    text-decoration: none;
}

ul{
    margin: 1em 0;
    padding: 0;
    list-style: none;
}

.inner {
    padding: 0 15px;
    margin: 0 auto;
    max-width: 1200px;
}

.sp-only {
    display: none;
}

.pc-only {
    display: block;
}

@media screen and (max-width:959px) {
    .sp-only {
        display: block;
    }

    .pc-only {
        display: none;
    }
}

/* ヘッダー */
header{
    position: fixed;
    top: 0px;
    width: 100%;
    padding: 10px;
    background-color: #313131;
    z-index: 1000;
}

.header-menu{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.logo-area {
    position: relative;
    width: 30%;
    height: 50px;
    font-size: 32px;
    font-family: 'RocknRoll One', sans-serif;
}

@media screen and (max-width:480px) {
    .logo-area{
        width: 50%;
    }
}

.logo-svg{
    position: absolute;
    max-width: 350px;
    overflow: visible;
    top: 50%;
    transform: translate(0, -50%);
}

.logo-outline{
    stroke: #5D0670;
    stroke-width: 8;
}

.logo-inline{
    fill: #fff;
}

/* メイン */
main{
    display: flex;
    flex-direction: row;
}

/* サイドバー */
.side-area{
    flex: 20%;
    background-color: #A5FF2F;
    padding-top: 70px;
    padding-bottom: 100px;
}

.site-note{
    font-size: 12px;
    margin-left: 1em;
    margin-top: 5em;
    margin-bottom: 5em;
}

.site-note::before{
    content: "⚠︎";
    color: #FF0386;
    margin-left: -1em;
}

.profile-area{
    background-color: rgba(255, 255, 255, 0.5);
    padding: 20px;
    border-radius: 50px 0px;
    margin-top: 5em;
}

.profile-area p{
    font-family: 'RocknRoll One', sans-serif;
    font-size: 14px;
    color: #333;
    -webkit-text-stroke: 0px #fff;
    text-stroke: 0px #fff;
    background: none;
}

.profile-area > a img{
    display: block;
    width: 100px;
    border-radius: 50%;
    margin: 20px auto;
    cursor: pointer;
}

.profile-area span{
    display: block;
    font-family: 'RocknRoll One', sans-serif;
    font-size: 0.8em;
    font-style: italic;
    text-align: center;
}

.sns-link{
    display: flex;
    justify-content: flex-end;
    margin-top: 20px;
}

.sns-link img{
    width: 25px;
    transition: all 0.1s;
}

.sns-link a:first-child img{
    margin-right: 15px;
}

@media screen and (min-width:480px) {
    .profile-area > a img:hover{
        animation: wenterme-link 0.7s infinite ease-in-out;
    }

    .sns-link img:hover{
        filter: drop-shadow(2px 2px 0px #473FA8);
        transform: translate(-2px, -2px);
    }
    
}

@keyframes wenterme-link{
    100%{
        transform: scale(1.07);
    }
}

/* コンテンツエリア */
.content-area{
    flex: 80%;
    margin-top: 70px;
    margin-bottom: 1rem;
}

/* タブ */
#tab {
    display: flex;
}

.tab-area{
    margin: 1em 0 0 2em; 
}

.tab-card{
    border: none;
    font-size: 20px;
    line-height: 1.5;
    font-family: 'Yomogi', cursive;
    color: #fff;
    border-top: 2px solid transparent;
    border-bottom: 2px solid transparent;
    white-space: nowrap;
}

@media screen and (max-width:480px) {
    .tab-card{
        font-size: 16px;
    }
}

.tab-card span{
    display: inline-block;
}

.tab-card::before{
    content: "";
    position: absolute;
    top: 86px;
    margin-left: -13px;
    width: 1em;
    height: 1.5em;
    padding: 1px 0;
    border: 2px solid transparent;
    border-radius: 20% 0 0 10%;
    transform: skew(-8deg);
    z-index: -1;
}

.tab-card::after{
    content: "";
    position: absolute;
    top: 86px;
    margin-left: -8px;
    width: 1em;
    height: 1.5em;
    padding: 1px 0;
    border: 2px solid transparent;
    border-radius: 0 20% 20% 0;
    transform: skew(25deg);
    z-index: -1;
}

@media screen and (max-width:480px) {
    .tab-card::after{
        margin-left: -10px;
        border: 5px solid transparent;
    }
}

.tab-all,
.tab-all::after,
.tab-all::before{background-color: #A5FF2F;}
.tab-css,
.tab-css::after,
.tab-css::before{background-color: #5FDE98;}
.tab-java,
.tab-java::after,
.tab-java::before{background-color: #FF0386;}
.tab-libra,
.tab-libra::after,
.tab-libra::before{background-color: #B0028D;}
.tab-etc,
.tab-etc::after,
.tab-etc::before{background-color: #5D0670;}

.itempage-all{margin: 0 1em 0; background-color: #A5FF2F;}
.itempage-css{margin: 0 1em 0; background-color: #5FDE98;}
.itempage-java{margin: 0 1em 0; background-color: #FF0386;}
.itempage-libra{margin: 0 1em 0; background-color: #B0028D;}
.itempage-etc{margin: 0 1em 0; background-color: #5D0670;}

.itempage-cover{
    background-color: rgba(255, 255, 255, 0.75);
}

.note-area{
    margin: 0 1em;
    padding: 1em 0 5em;
}

.date{
    font-size: .8em;
    text-align: right;
    margin-bottom: 3em;
}

.note-h1{
    text-align: center;
    margin-top: 1em;
    font-size: 20px;
    -webkit-text-stroke: 1px #333;
    text-stroke: 1px #333;
}

.note-h1::before{
    content: "〜";
    margin-right: 0.5em;
}

.note-h1::after{
    content: "〜";
    margin-left: 0.5em;
}

.note-h2{
    margin-bottom: 1em;
    font-size: 20px;
}

.note-h2::before{
    content: "●";
    margin-right: .5em;
}

.note-h3{
    margin-left: 2em;
    margin-bottom: 1em;
}

.note-h3::before{
    content: "・";
}

.note-ul{
    margin: 3em 5em 5em;
}

.note-li{
    color: #202020;
    border-bottom: 3px dotted #fff;
    margin-bottom: 1em;
    margin-left: 1em;
    line-height: 1.5em;
}

.note-li::before{
    content: "";
    display: inline-block;
    width: 2em;
    height: 1.5em;
    background-image: url(../img/memo.svg);
    margin-left: -2em;
    vertical-align: middle;
}

.note-li p, .note-ol-li p{
    font-family: Arial, Helvetica, sans-serif;
    font-size: .9em;
    background-color: #ddd;
    padding: .5em;
    margin: 1.5em 0;
}

@media screen and (max-width:480px) {
    .note-ul{
        margin: 3em 1em 5em;
    }
}

.note-ol{
    margin: 3em 5em 5em;
}

.note-ol-li{
    color: #202020;
    border-bottom: 3px dotted #fff;
    margin-bottom: 1em;
    margin-left: 1em;
}

.note-ol-li img{
    border: #e0e0e0 2px solid;
    margin-top: 1em;
}

@media screen and (max-width:480px) {
    .note-ol{
        margin: 3em 1em 5em;
    }
}

.notice{
    color: #313131;
    background-color: #fff;
    font-size: .9em;
    border-radius: 10px;
}

code{
    display: inline-block;
    font-family: Arial, Helvetica, sans-serif;
    font-size: .9em;
    background-color: #ddd;
    padding: .5em;
    margin: 1.5em 0;
    width: 100%;
}

.libra-site{
    margin-bottom: 5em;
}

.libra-site::before{
    content: "提供サイト";
    display: block;
    font-size: 20px;
    color: #fff;
    background-color: #B0028D;
    text-align: center;
}

.libra-site a{
    display: flex;
    border: #B0028D solid 2px;
    padding: 1em;
    background-color: #fff;
    justify-content: space-between;
    align-items: center;
}

.libra-site a img{
    border: #e0e0e0 solid 2px;
}

.link-img{
    display: block;
    margin: 0 auto;
    border: #ddd solid 5px;
    border-radius: 30px;
}

@media screen and (min-width:480px) {
    .link-img:hover{
        animation: scaleup .3s forwards;
    }
}

@keyframes scaleup{
    0%{
        transform: scale(1);
    }
    50%{
        transform: scale(1.08);
    }
    100%{
        transform: scale(1.05);
    }
}

.link-text{
    text-align: right;
    margin-right: 5%;
}

.top-link{
    position: relative;
    display: inline-block;
    margin: 10px 10px 0px 10px;
}

.top-link span{
    display: inline-block;
    color: #fff;
    background-color: #5D0670;
    padding: 3px 10px;
    border-radius: 50px;
}

.top-link span::before{
    display: inline-block;
    content: "◀︎";
    text-align: center;
    margin-right: 5px;
    color: #fff;
}

/* フッター */
.foot-area {
    position: relative;
    background-color: #5FDE98;
    padding-top: 20px;
}

.foot-text {
    color: #202020;
    -webkit-text-stroke: 1px #202020;
    text-stroke: 1px #202020;
    text-align: center;
    margin-bottom: 1em;
}

.email-text {
    font-family: 'RocknRoll One', sans-serif;
    font-size: 20px;
    color: #fff;
    text-align: center;
    padding-bottom: 20px;
}

.email-text p{
    display: inline-block;
    padding: 0 .2em;
    background-color: #5D0670;
}

.foot-copy {
    display: inline-block;
    background-color: #313131;
    color: #fff;
    text-align: center;
    width: 100%;
    padding: 10px;
}