@charset "utf-8";
@import url(reset.css);





* {
    box-sizing: border-box;
}

html {
    font-size: 62.5%;
    width: 100%;
    min-width: 1200px;
}

body {
    line-height: 1.0;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 1.4em;
}

a {
    color: inherit;
}

a:hover {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
}

.site-desc,
.catch-copy {
    font-feature-settings: "palt";
}




.tags {
    display: flex;
    flex-wrap: wrap;
}

.tag {
    border-radius: 1em;
    padding: .25em .5em;
    margin: .5em;
}

.tag:hover {
    opacity: .8;
}

aside .tags {
    margin-top: 8rem;
}

aside .tag {
    background: #29c4a0;
    color: #fff;
    font-weight: 100;
}

footer .tag {
    background: #b4f1e2;
    color: #222;
}






aside {
    position: fixed;
    z-index: 10;
    top: 0;
    left: 0;
    width: 30rem;
    height: 100%;
    background: #3ad6b2;

    overflow-y: scroll;

    -ms-overflow-style: none;

    scrollbar-width: none;
}

aside::-webkit-scrollbar {

    display: none;
}

aside nav {
    padding: 4rem;
}

aside nav ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

aside nav ul li + li {
    margin-top: 1rem;
}

aside nav ul a {
    color: #fff;
    line-height: 2;
    padding-left: 1em;
    position: relative;
}

aside nav ul a::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: .5em;
    height: .5em;
    margin: auto;
    background: #fff;
    border-radius: .2rem;
    transform: rotate(45deg);
    transition: 6s;
}

aside nav ul a:hover {
    color: #e5f8f3;
}

aside nav ul a:hover::before {
    transform: rotate(10000deg) scale(20);
}

h1 {
    height: 30rem;
    padding: 4rem;
    background: #29c4a0;
    color: #fff;
    display: flex;
    flex-direction: column;
    font-size: 3em;
    justify-content: center;
}

.site-desc {
    color: #29c4a0;
    font-size: 1rem;
    line-height: 2.5;
    margin-top: 2em;
    font-weight: normal;
}

.site-desc span {
    background: #fff;
    padding: .25em;
    border-radius: .2rem;
}






main {
    width: calc(100% - 30rem);
    min-width: 100rem;
    margin-left: 30rem;
    background: #e5f8f3;
}






header {
    width: 100%;
    padding: 4rem 4rem 0;
    margin: auto;
    display: flex;
    flex-wrap: wrap;
    background: #fff url(../images/bg_header.svg);
    position: relative;
}

header img {
    margin: 2rem auto 4rem;
}

.catch-copy {
    color: #fff;
    font-size: 2em;
    line-height: 2.5;
    text-align: right;
    width: 100%;
}

.catch-copy span {
    background: #3ad6b2;
    padding: .25em .5em;
    border-radius: .8rem;
}





section {
    width: 100%;
    display: flex;
    align-items: flex-start;
}

section:nth-of-type(odd) {
    background: #fff;
}

section h2 {
    font-size: 1.5em;
    color: transparent;
    text-transform: uppercase;
    color: #231815;
    padding-left: 1em;
    position: relative;
}

section h2::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: .5em;
    height: .5em;
    margin: auto;
    background: #3ad6b2;
    border-radius: .2rem;
    transform: rotate(45deg);
    transition: .3s;
}

section .inner {
    width: 100rem;
    margin: auto;
    display: flex;
    flex-wrap: wrap;
}

section p {
    line-height: 1.6;
}




#news {
    width: 100rem;
    margin: auto;
    background: #fff;
    border-radius: 2rem;
    box-shadow: 0 0.8rem 0 #b8e8dc;
    padding: 4rem;
    margin-top: -4rem;
    position: relative;
}

#news h2 {
    flex: 0 0 6em;
}

#news .post {
    flex-grow: 1;
}





.post .category {
    color: #3ad6b2;
}

.post h3 {
    line-height: 1.4;
    margin: 1em 0;
}

.post time{
    color: gray;
}


section:not(#news) {
    flex-wrap: wrap;
    padding: 8rem 0;
}

section:not(#news) h2 {
    width: 100rem;
    margin: auto;
    margin-bottom: 2em;
}

section:not(#news) .post {
    background: #fff;
    border-radius: 2rem;
    box-shadow: 0 0.8rem 0 #b8e8dc;
    padding: 4rem;
    width: 48%;
    display: block;
    position: relative;
}

section:not(#news) .post::before, section:not(#news) .post::after {
    content: "";
    position: absolute;
    transition: .3s;
    transform: translate(-50%);
}

section:not(#news) .post::before {
    right: 3rem;
    bottom: 3rem;
    z-index: 1;
    width: 1rem;
    height: 1rem;
    border-top: 0.3rem solid #29c4a0;
    border-right: 0.3rem solid #29c4a0;
    transform: translate(-25%) rotate(45deg);
}

section:not(#news) .post::after {
    right: 1.5rem;
    bottom: 1.5rem;
    width: 4rem;
    height: 4rem;
    transform: scale(0);
}

section:not(#news) .post:hover {
    box-shadow: 0 0.8rem 0 #3ad6b2;
}

section:not(#news) .post:hover::before {
    border-color: #fff;
}

section:not(#news) .post:hover::after {
    transform: scale(1);
    background: #29c4a0;
    border-radius: 50%;
}

section:not(#news) .post:nth-of-type(even) {
    margin-left: auto;
}

section:not(#news) .post:nth-of-type(n + 3) {
    margin-top: 4%;
}

section:not(#news) .post .category {
    padding-left: 1em;
    position: relative;
}

section:not(#news) .post .category::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: .5em;
    height: .5em;
    margin: auto;
    background: #3ad6b2;
    border-radius: .2rem;
    transform: rotate(45deg);
    transition: .3s;
}


section#feature .post {
    background: #e5f8f3 url(../images/bg_post.svg) right top no-repeat;
}






footer {
    width: 100%;
    background: #e5f8f3;
    text-align: center;
    padding: 10rem 0 5rem;
}

footer .tags {
    width: 100rem;
    margin: auto;
    justify-content: center;
}

footer nav {
    margin: 4rem auto;
    display: flex;
    justify-content: center;
}

footer nav a {
    text-decoration: underline;
    text-decoration-style: dashed;
}

footer nav a + a {
    margin-left: 1em;
}

footer small {
    display: block;
    padding: 1em 0;
}