@charset "UTF-8";
/**********************
- ROOT
- BASE
- GENERAL
  -- FONT
  -- ALIGN
  -- FLEX
  -- LIST
  -- OTHER
- HEADER
- BREADCRUMB
- CONTAINER
- HEADING
- BUTTON
- FOOTER
- ARCHIVE
- SINGLE
- CONTACT
- FRONT
- PAGE PARTS
- LOADING
- COLOR
- MARGIN
- ANIMATION
- RESPONSIVE
***********************/

/**********************
* ブレイクポイント
* 560px/960px
**********************/


/*********************
ROOT
**********************/
:root {
    --base: #FAF7EE;
    --bg-1: #EBF1DF;
    --bg-2: #FEFBE5;
    --text-main: #5E5950;
    --bg-image: url(../../assets/image/common/texture.webp);


    --accent-color-1: #7CB180;
    --accent-color-2: #F0B43D;
    --gradient: linear-gradient(70deg, #5DC5F7, #FA966B);

    --font-jp: "fot-tsukubrdgothic-std", sans-serif;
    --font-en: "Bellefair", serif;
    --font-number: "Amiri", serif;
    --light: 300;
    --normal: 400;
    --bold: 700;

    --container: calc(1920px + 6%);
    --container-side: 3%;
    --container-ll: 1600px;
    --container-l: 1200px;
    --container-m: 960px;
    --container-s: 660px;
    --container-ss: 480px;

    --letter-spacing-en: .08em;
    --letter-spacing-nomal: .1em;
    --letter-spacing-wide: .24em;

}

/************
section#blog
************/
body.blog section#blog,
body.archive section#blog {
    margin-top: 10rem;
}

body.home section#blog {
    padding-top: clamp(240px, 24vw, 460px);
    padding-bottom: clamp(144px, 15vw, 280px);
    background: var(--bg-image), var(--bg-1);
    position: relative;
}

body.home section#blog::before {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    aspect-ratio: 1920/465;
    background-image: url(../../assets/image/top/blog-before.webp);
    background-size: cover;
}

body.home section#blog::after {
    position: absolute;
    content: "";
    bottom: 0;
    left: 0;
    width: 100%;
    height: auto;
    aspect-ratio: 1920/280;
    background-image: url(../../assets/image/top/blog-after.webp);
    background-size: cover;
}

.blog-title {
    font-size: clamp(12rem, 8.2vw, 16rem);
    font-family: var(--font-en);
    letter-spacing: .04em;
    text-align: center;
    margin-top: -8rem;
    color: var(--base);
}

body.blog .blog-title,
body.archive .blog-title {
    width: 100%;
    background: var(--bg-image), var(--bg-1);
    padding: 20rem 0 0;
    margin-bottom: 4rem;
    position: relative;
}

body.blog .blog-title::after,
body.archive .blog-title::after {
    position: absolute;
    content: "";
    bottom: 0;
    left: 0;
    transform: translateY(100%);
    width: 100%;
    height: 4rem;
    background: var(--bg-image), linear-gradient(rgba(235, 241, 223, 1), rgba(235, 241, 223, 0));
}

.tab-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem 2rem;
}

.tab-item {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 200px;
    padding: 0 2rem;
    height: 4.2rem;
    border: 1px solid var(--accent-color-1);
    color: var(--accent-color-1);
    border-radius: 999px;
    cursor: pointer;
    transition: all ease .3s;
    text-transform: capitalize;
}

.tab-item a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

.tab-item:hover,
.tab-item.active {
    background-color: var(--accent-color-1);
    color: #fff;
}

.panel-list {
    padding-top: 10rem;
}

body.home .panel-list {
    padding-top: 6rem;
}

.panel-item {
    display: none;
}

.panel-item .btn {
    margin: 6rem auto 0;
}

.panel-item.active {
    display: block;
}

.blog-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    column-gap: 3.3%;
    row-gap: 6rem;
}

.blog-item {
    width: 22.5%;
}

.blog-item .image {
    width: 100%;
    height: auto;
    aspect-ratio: 270/180;
}

.blog-item h3 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    padding-top: 1rem;
    font-size: 2rem;
    font-weight: var(--bold);
    line-height: 1.5em;
    padding-top: 2rem;
    color: var(--accent-color-1);
}

.blog-item .category {
    width: fit-content;
    background-color: var(--accent-color-1);
    color: #fff;
    font-weight: var(--bold);
    font-size: 1.4rem;
    padding: .4rem 1.6rem;
    margin-top: 1rem;
    border-radius: 999px;
}

.category-list {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
    padding-top: 1rem;
}

.category-item {
    background-color: var(--accent-color-1);
    color: var(--base);
    padding: 2px 16px;
    border-radius: 999px;
}

.blog-item p {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    padding-top: 1rem;
}

@media screen and (max-width: 960px) {

    body.blog section#blog,
    body.archive section#blog {
        margin-top: 8rem;
    }

    body.home section#blog {
        padding-top: clamp(180px, 24vw, 240px);
        padding-bottom: clamp(90px, 15vw, 144px);
    }

    body.blog .blog-title,
    body.archive .blog-title {
        width: 100%;
        background: var(--bg-image), var(--bg-1);
        padding: 16rem 0 2rem;
    }

    .panel-list {
        padding-top: 6rem;
    }

    .blog-title {
        font-size: clamp(8rem, 10vw, 12rem);
    }

    .blog-list {
        column-gap: 4.4%;
    }

    .blog-item {
        width: 30.4%;
    }

    body.home .blog-list .blog-item:nth-child(n+7) {
        display: none !important;
    }
}

@media screen and (max-width: 560px) {

    body.blog section#blog,
    body.archive section#blog {
        margin-top: 4rem;
    }

    body.home section#blog {
        padding-top: clamp(150px, 33vw, 180px);
        padding-bottom: clamp(60px, 15vw, 90px);
    }

    .blog-title {
        font-size: clamp(4rem, 14vw, 8rem);
    }

    .tab-list {
        justify-content: space-between;
        row-gap: 1rem;
        column-gap: normal;
    }

    .tab-item {
        min-width: auto;
        padding: 0 1rem;
        width: 49.2%;
    }

    .panel-list,
    body.home .panel-list {
        padding-top: 4rem;
    }

    .blog-list {
        row-gap: 2rem;
    }

    .blog-list {
        column-gap: 3%;
    }

    .blog-item {
        width: 48.5%;
    }

    body.home .blog-list .blog-item:nth-child(n+5) {
        display: none !important;
    }

    .blog-item h3 {
        font-size: 1.4rem;
        padding-top: 1rem;
    }

    .blog-item .category {
        font-size: 1.2rem;
        padding: .4rem 1rem;
        margin-top: 0.5rem;
    }

    .blog-item p {
        padding-top: .5rem;
        font-size: 1.2rem;
    }

    .panel-item .btn {
        margin: 4rem auto 0;
    }

}


/************
SINGLE
************/

/*********************
SINGLE
*********************/
.header-single {
    position: relative;
    padding-top: 120px;
}

.time-single {
    display: inline-block;
    margin-bottom: .5em;
}

.title-single {
    font-size: 2.2rem;
    font-weight: 400;
    margin-bottom: 0;
}

.main-single-post h2 {
    font-size: 1.8em;
}

.main-single-post h3 {
    font-size: 1.5em;
}

.main-single-post h4 {
    font-size: 1.2em;
}

.main-single-post h2,
.main-single-post h3,
.main-single-post h4 {
    margin: 1em 0;
}

.main-single-post p+h2,
.main-single-post img+h2,
.main-single-post figure+h2,
.main-single-post table+h2 {
    margin-top: 3em;
}

.main-single-post p+h3,
.main-single-post img+h3,
.main-single-post figure+h3,
.main-single-post table+h3 {
    margin-top: 2em;
}

.main-single-post ul,
.main-single-post ol {
    margin: 2em 0;
}

.main-single-post figure,
.main-single-post img {
    display: block;
    max-width: 100%;
    margin: auto;
}

.main-single-post figure {
    margin-bottom: 2em;
}

.main-single-post figcaption {
    font-size: .8em;
    line-height: 1.7;
    margin-top: .5em;
}

.main-single-post table {
    border: solid 1px #DDD;
    border-collapse: collapse;
}

.main-single-post tr {
    border-bottom: solid 1px #DDD;
}

.main-single-post th,
.main-single-post td {
    padding: 1em;
    border-right: solid 1px #DDD;
}


@media only screen and (max-width: 560px) {
    .title-news {
        font-size: 1.9rem;
    }
}