@charset "UTF-8";

/* 共通 */

:root {
    --primary-white: #fafafa;
    --primary-black: #333333;
    --primary-lightgreen: #4CAF50;
    --primary-green: #2E7D32;
    --primary-orange: #FFA726;
    --primary-subBlack: #666666;
    --section-padding: 60px 5.3%;
    scroll-padding: 190px;
}

html {
    font-size: 62.5%;
    overflow-x: hidden;
    min-height: 0;
    min-width: 0;
}

body {
    font-family:
        "Noto Sans JP",
        "Noto Serif JP",
        Arial,
        sans-serif;
    font-style: normal;
    color: var(--primary-black, #333333);
    background-color: var(--primary-white, #fafafa);
    line-height: 1.5;
}

.font-size-logo {
    font-size: clamp(3.6rem, 2.966rem + 2.7vw, 5.4rem);
}

.font-size-title {
    font-size: clamp(2.4rem, 1.977rem + 1.8vw, 3.6rem);
}

.font-size-button {
    font-size: clamp(1.6rem, 1.318rem + 1.2vw, 2.4rem);
}

img {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    display: inline-block;
}

.anchor {
    display: inline-block;
}

.SpBr {
    display: inline-block;
}

.TABBr {
    display: none;
}

.pcBr {
    display: none;
}

/* 共通 pc */

@media screen and (min-width: 768px) {
    .SpBr {
        display: none;
    }

    .TABBr {
        display: inline-block;
    }
}

@media screen and (min-width: 1024px) {
    .TABBr {
        display: none;
    }

    .pcBr {
        display: inline-block;
    }

    :root {
        --section-padding: 90px 5.3%;
    }
}

/* ブログ */

.section--blog {
    padding: var(--section-padding);
}

.blog__tab {
    display: flex;
    border: 1px var(--primary-white, #fafafa);
    justify-content: center;
    margin-top: 50px;
}

.blog__tab li {
    width: 33%;
    background-color: var(--primary-white, #fafafa);
    border: 1px solid var(--primary-lightgreen, #4CAF50);
    position: relative;
    display: block;
    overflow: hidden;
    color: var(--primary-lightgreen, #4CAF50);
    text-align: center;
    font-family: "Noto Sans JP";
    font-style: normal;
    font-weight: 700;
    line-height: 1.8;
    white-space: nowrap;
    z-index: 1;
}

.blog__tab li:after {
    position: absolute;
    background-color: var(--primary-lightgreen, #4CAF50);
    top: 0;
    left: 0;
    content: '';
    width: 100%;
    height: 100%;
    transform: scale(0, 1);
    transform-origin: left top;
    transition: .2s cubic-bezier(0.45, 0, 0.55, 1);
    z-index: -1;
}

.checked {
    background-color: var(--primary-green, #2E7D32);
    color: var(--primary-white, #fafafa);
}

.blog__tab li a {
    width: 100%;
    display: block;
    padding: 15px 0;
}

.blog__tab li:hover {
    color: var(--primary-white, #fafafa);
}

.blog__tab li:hover::after {
    transform: scale(1, 1);
}

.blog__content {
    position: relative;
    margin-top: 75px;
}

.blog__title {
    position: relative;
    display: flex;
    gap: 1%;
    align-items: center;
}

.blog__mainTitle {
    color: var(--primary-black, #333333);
    font-family: "Noto Sans JP";
    font-style: normal;
    font-weight: 700;
    line-height: 1.3;
    margin-left: 10px;
    position: relative;
}

.blog__titleImg {
    width: 25px;
    height: auto;
    aspect-ratio: 1/1;
    background-image: url(../images/futaba.png);
    background-size: cover;
    background-repeat: no-repeat;
    filter: brightness(0) saturate(100%) invert(83%) sepia(17%) saturate(7234%) hue-rotate(338deg) brightness(102%) contrast(104%);
}

.blog__subTitle {
    color: var(--primary-orange, #FFA726);
    font-family: "Noto Sans JP";
    font-style: normal;
    font-weight: 700;
    line-height: 1.3;
    margin-left: 10px;
}

.blog__content {
    position: relative;
}

.blog__item {
    padding: 50px 5.3%;
    background-color: rgba(76, 175, 80, 0.3);
    width: 100%;
    max-width: 400px;
    margin: 50px auto 0;
    position: relative;
    transition: all 0.4s;
    box-shadow: 0px 3px 3px 0px rgba(0, 0, 0, 0.3);
}

.blog__link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
    z-index: 1;
}

.blog__item:hover {
    transform: scale(1.02);
}

.blogImg {
    width: 100%;
    height: auto;
    aspect-ratio: 1/1;
    object-fit: cover;
    position: relative;
}

.post-categories {
    display: flex;
    align-items: center;
    z-index: 10;
}

.post-categories li a {
    color: var(--primary-white, #fafafa);
    font-family: "Noto Sans JP";
    font-size: 1.6rem;
    font-style: normal;
    font-weight: 500;
    line-height: 1.8;
    padding: 10px;
    background-color: var(--primary-orange, #FFA726);
}

.blog__date {
    color: var(--primary-black, #333333);
    font-family: "Noto Sans JP";
    font-size: 1.6rem;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    padding-left: 10px;
}

.blog__name {
    color: var(--primary-black, #333333);
    font-family: "Noto Sans JP";
    font-style: normal;
    font-weight: 700;
    line-height: 1.8;
    margin-top: 10px;
}

.blog__subName {
    display: flex;
    margin-top: 20px;
    align-items: center;
    position: relative;
}

.blog__txt {
    color: var(--primary-black, #333333);
    font-family: "Noto Sans JP";
    font-size: 1.6rem;
    font-style: normal;
    font-weight: 400;
    line-height: 1.8;
    margin-top: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.pagination {
    margin-top: 30px;
}

.pagination__page {
    color: var(--primary-black, #000);
    font-family: "Noto Sans JP";
    font-size: 1.6rem;
    font-style: normal;
    font-weight: 500;
    line-height: 1.8;
    background-color: var(--primary-gray, #f3f3f3);
    padding: 10px;
    display: inline-block;
    transition: all 0.2s;
}

.pagination__page:hover {
    opacity: 0.5;
}

/* ブログ紹介 pc */

@media screen and (min-width:1024px) {
    .blog__item {
        display: flex;
        margin-top: 50px;
        max-width: 1440px;
    }

    .blog__tab {
        margin-top: 75px;
    }

    .blogImg {
        width: 100%;
    }

    .blogImg__hover {
        width: 50%;
    }

    .blogImg img {
        width: 100%;
    }

    .blog__detail {
        width: 60%;
        margin-left: 5%;
    }

    .blog__subName {
        margin-top: 0px;
    }

    .blog__name {
        margin-top: 10px;
    }
}