@charset "UTF-8";

/*
GENERAL STYLING
================================================ */
html {
    font-size: 100%;
}
body {
    color: #949087;
    font-family: sans-serif;
    background: #faf6ed url('../images/bg.png');
}

/*
COMMON
================================================ */
p {
    line-height: 1.6;
}
.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 1.5rem;
    background: #fff;
    border-radius: 0 0 45px 45px;
}

/*
HEADER
================================================ */
header {
    max-width: 1000px;
    margin: 2.5rem auto 0;
    background: url('../images/header1.svg') no-repeat center top/cover;
    height: 170px;
}
.page-title {
    font-size: 2.5rem;
    font-family: "Kaisei Decol", serif;
    margin: 1rem 0;
    padding-top: 2rem;
}
.page-desc {
    font-size: 1rem;
    margin-bottom: 0;
}
.page-title,
.page-desc {
    text-align: center;
}

/*
MAIN
================================================ */
main {
    margin-bottom: 3rem;
    background: #fff;
    border-radius: 10px;
}

/* 記事一覧 */
.post-home {
    margin-bottom: 3rem;
}
.post-title {
    /* padding-bottom: 10px;
    background-image: linear-gradient(45deg, #fff 30%, #ccc 30%, #ccc 50%, #fff 50%, #fff 80%, #ccc 80%, #ccc 100%);
    background-size: 6px 6px;
    margin-bottom: 1.5rem; */
    padding: 0.8rem 0;
    margin-bottom: 1.5rem;
    background-image: linear-gradient(90deg, #c981a6 0 50px, transparent 50px 60px, #ccc 0 60px);
    background-repeat: no-repeat;
    background-size: 100% 3px;
    background-position: bottom;
    color: #353535;
    font-weight: bold;
    font-size: 26px;
}
.post-title h2 {
    background: #fff;
    padding: 0 .5rem 0rem;
    font-size: 1.5rem;
    font-family: 'M PLUS Rounded 1c', sans-serif;
    font-weight: 500;
    line-height: 1.5;
}
.post-title a {
    color: #949087;
    text-decoration: none;
}
.post-title a:hover {
    color: #605c55;
}
.post-thumb {
    margin: 0 0 1rem 0;
    position: relative;
}
.post-date {
    font-size: 1.4rem;
    letter-spacing: .1rem;
    font-family: 'Amatic SC', cursive;
    background: #93bbd8;
    border-radius: 50% 50% 50% 50%;
    color: #fff;
    text-align: center;
    position: absolute;
    left: 0;
    top: -10px;
    width: 85px;
    height: 80px;
}
.post-date span {
    border-bottom: 2px rgba(255,255,255,.5) dotted;
    padding-bottom: 2px;
    display: block;
    width: 60%;
    margin: 4px auto 0;
    font-size: 1rem;
}
.post-img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    border-radius: 50% 50% 50% 0;
}
/* .btn {
    text-align: right;
    margin-top: 1rem;
}
.btn a {
    color: #fff;
    padding: 10px 20px;
    background: #eda1a1;
    box-shadow: 0 0 0 5px #eda1a1;
    border: 2px dashed #e38787;
    border-radius: 5px;
    text-decoration: none;
    display: inline-block;
}
.btn a:hover {
    color: #fff;
    background: #e38787;
    box-shadow: 0 0 0 5px #e38787;
    border: 2px dashed #eda1a1;
} */

.button a {
    position: relative;
    display: flex;
    justify-content: space-around;
    align-items: right;
    margin: 0 auto;
    border-radius: 9999px;
    max-width: 250px;
    padding: 10px 25px;
    font-family: "Noto Sans Japanese";
    color: #fff;
    line-height: 1.8;
    text-decoration: none;
    transition: 0.3s ease-in-out;
    font-weight: 500;
    background: linear-gradient(270deg, #3bade3 0%, #576fe6 25%, #9844b7 51%, #ff357f 100%);
    background-position: 1% 50%;
    background-size: 200% auto;
    transition: all 0.3s ease-out;
}
.button a:hover {
    color: #fff;
    background-position: 99% 50%;
    transform: scale(1.05);
    /*ボックスの影*/  
    box-shadow: 0 10px 10px rgba(87,111,230,0.4);
}
.button a:after {
    content: '';
    width: 5px;
    height: 5px;
    border-top: 3px solid #fff;
    border-right: 3px solid #fff;
    transform: rotate(45deg) translateY(-50%);
    position: absolute;
    top: 50%;
    right: 20px;
    border-radius: 1px;
    transition: 0.3s ease-in-out;
}

/* 記事内部 */
article h3,
article h4,
article h5,
article h6 {
    font-family: 'M PLUS Rounded 1c', sans-serif;
    font-weight: 500;
    margin: 3rem 0 1rem;
}
article h3 {
    font-size: 1.5rem;
    border-top: #ccc dotted 2px;
    border-bottom: #ccc dotted 2px;
    padding: .75rem;
    line-height: 1.4;
}
article h4 {
    font-size: 1.5rem;
}
article h5 {
    font-size: 1.375rem;
}
article h6 {
    font-size: 1.25rem;
}
article p {
    margin-bottom: 1rem;
}
article a {
    color: #93d8d0;
    text-decoration: underline;
}
article a:hover {
    color: #7ac69f;
}
article img {
    max-width: 100%;
    border-radius: 50px;
}

/* リスト */
article li {
    margin: .5rem 0;
}
article ol li {
    counter-increment: list;
}
article ol li::before {
    content: counter(list);
    color: #f03495;
    display: inline-block;
    margin-right: 8px;
}

article ul li::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #93bbd8;
    display: inline-block;
    margin: 0 8px 2px 0;
}

/* 引用文 */
article blockquote {
    position: relative;
    padding: 1rem 3rem 1rem 3rem;
    margin-bottom: 1rem;
}
article blockquote::before,
article blockquote::after {
    font-size: 6rem;
    font-family: georgia, serif;
    color: #ccc;
    position: absolute;
    line-height: 0;
}
article blockquote::before {
    content: '\201C';
    top: 2.5rem;
    left: 0;
}
article blockquote::after {
    content: '\201D';
    bottom: .5rem;
    right: 0;
}

/* ページ送り */
.pagination {
    display: flex;
    justify-content: center;
    font-family: 'M PLUS Rounded 1c', sans-serif;
    font-size: 1.5rem;
    text-align: center;
}
.pagination a:hover {
    background: #93bbd8;
    color: #fff;
}
.pagination a,
.pagination .current {
    border-radius: 50%;
    padding-top: 4px;
    display: inline-block;
    width: 36px;
    height: 36px;
    margin: 0 6px;
}
.pagination .current {
    background: #ccc;
    color: #fff;
}

/*
ASIDE
================================================ */
aside {
    margin-top: 1rem;
}
.side-box {
    margin-bottom: 4rem;
    border: 1px solid #ccc;
    outline: 2px solid #ccc;
    outline-offset: 4px;
    border-radius: 6px;
    padding: .875rem;
    position: relative;
}
.side-box::before {
    display: block;
    width: 2rem;
    height: 2rem;
    text-align: center;
    background: #fff;
    position: absolute;
    top: -1rem;
    left: 0;
    right: 0;
    margin: auto;
/* Font Awesome */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: #949087;
    font-size: 1.5rem;
    content: '\e139';
}

.side-box a:hover {
    color: #93bbd8;
}

/* 見出し */
.side-box h3 {
    font-family: "Kaisei Decol", serif;
    font-size: 1.575rem;
    letter-spacing: .1rem;
    text-align: center;
    margin: .875rem 0 1.125rem;
}

/* リスト */
.side-box li {
    border-bottom: 1px dashed #ccc;
    padding: 1rem .25rem;
    display: flex;
}
.side-box li:first-child {
    padding-top: 0;
}
.side-box li:last-child {
    padding-bottom: .5rem;
    border-bottom: 0;
}
.side-box li::before {
    display: inline-block;
    content: '';
    background: #93bbd8;
    width: 8px;
    height: 8px;
    margin: 6px 10px 0 0;
    border-radius: 50%;
}
.side-box li a {
    flex: 1;
    line-height: 1.4;
}

/* 人気記事 */
.popular-posts {
    margin-bottom: 2rem;
}

/* フォーム */
.newsletter-form {
    display: flex;
    margin-top: 1.5rem;
}
.newsletter-form input[type='email'] {
    border: 2px solid #ccc;
    border-radius: 10px 0 0 10px;
    background: #fff;
    padding: 1rem;
    width: 75%;
}
.newsletter-form input[type='email']::placeholder {
    color: #ccc;
}
.newsletter-form input[type='submit'] {
    background: #c981a6;
    border-radius: 0 10px 10px 0;
    color: #fff;
    cursor: pointer;
    padding: 1.1rem;
    margin-left: -5px;
}
.newsletter-form input[type='submit']:hover {
    background: #9e537a;
}

/*
FOOTER
================================================ */
footer {
    background: #9e537a;
    text-align: center;
    padding: 3rem;
}
footer ul {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}
footer li {
    margin: 0 12px;
}
footer a {
    color: #fff;
}
footer a:hover {
    color: #c7c3ba;
}
footer small {
    color: #c7c3ba;
    font-size: .875rem;
}

/*
DESKTOP SIZE 
================================================ */
@media (min-width: 600px) {
    /* Layout*/
    .container {
        display: flex;
        justify-content: space-between;
        margin-bottom: 4rem;
        padding: 1rem 2.5rem 2.5rem;
    }

    /* Header */
    header {
        height: 190px;
    }
    .page-title {
        margin: 1rem 0 2rem;
    }
    .page-desc {
        font-size: 1.125rem;
        margin-bottom: 4rem;
    }

    /* Main */
    main {
        width: 68%;
        margin-bottom: 0;
    }
    .post-thumb {
        margin: 0 3rem 1rem 0;
        shape-outside: circle();
        float: left;
    }
    .post-img {
        width: 220px;
        height: 180px;
    }

    /* Aside */
    aside {
        width: 26%;
    }

    /* 人気記事 */
    .popular-posts {
        position: sticky;
        top: 1rem;
    }
}