@charset "UTF-8";
/*
Theme Name: ripen
Description: リペン様のテンプレートです
Version: 1.0
Author: T.Yamada
*/

/* 全体 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

img {
    width: 100%;
}

a {
    text-decoration: none;
}

ul {
    list-style: none;
}

li {
    list-style: none;
}

body {
    font-family: "Noto Sans JP";
}

:root {
    --blue: #3986A0;
    --skyblue: #EEF2F3;
    --orange: #F29100;
}

.sec_title_img {
    width: 20rem;
}

.sec_title {
    color: #333;
    font-family: "Noto Sans JP";
    font-size: 1.5rem;
    font-weight: 350;
}

.title_icon {
    width: 4rem;
}

.br_sp {
    display: none;
}

.btn {
    display: inline-block;
}

.btn a {
    color: var(--blue);
    transition: background 800ms;
    padding: 1rem 1.5rem;
    border: 1px solid var(--blue);
}

.btn a::after {
    content: "";
    display: inline-block;
    width: 24px;
    height: 24px;
    background: url(img/right_icon.svg) no-repeat;
    background-size: contain;
    margin-left: 1rem;
    position: relative;
    top: 5px;
}

.btn a:hover {
    background-color: var(--blue);
    color: #fff;
}

/* ＝＝ヘッダー＝＝ */

h1 {
    color: #555;
    font-family: "Noto Sans JP";
    font-size: 0.75rem;
    font-weight: 400;
}

.header_logo {
    width: 18rem;
    padding: 1.5rem 0 0.75rem;
}

.phone_icon {
    width: 2rem;
}

.h_main_frame {
    display: flex;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.70);
}

.h_right_area {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: flex-end;
}

.h_right_top p {
    color: #555;
    font-family: "Noto Sans JP";
    font-size: 0.75rem;
    font-weight: 400;
}

.h_phone_area span {
    color: #555;
    font-family: "Sawarabi Mincho";
    font-size: 1.5rem;
    font-weight: 400;
}

.h_contact_icon {
    width: 10rem;
}

.h_right_top {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.h_right_top a {
    transition: 500ms;
}

.h_right_top a:hover {
    opacity: 0.5;
}

.h_phone_area {
    display: flex;
    justify-content: center;
    align-items: center;
}

.g-nav {
    display: flex;
}

.g-nav a {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 1.5rem;
    transition: background 1000ms;
    position: relative;
}

.g-nav strong {
    color: #555;
    text-align: center;
    font-family: "Noto Sans JP";
    font-size: 1rem;
    font-weight: 500;
}

.g-nav span {
    color: #3986A0;
    text-align: center;
    font-family: "Noto Sans JP";
    font-size: 0.75rem;
    font-weight: 400;
}

.g-nav li:last-child {
    display: none;
}

.g-nav a {
    transition: background 1000ms;
    position: relative;

}

.g-nav a::after {
    position: absolute;
    bottom: -3px;
    left: 0;
    content: '';
    width: 100%;
    height: 2px;
    background: var(--blue);
    transform: scale(0, 1);
    transform-origin: left top;
    transition: transform 500ms;
}

.g-nav a:hover::after {
    transform: scale(1, 1);
}

/* ＝＝メインビジュアル＝＝ */

.main_bg {
    background-image: url(img/main_003bokashi.jpg);
    background-size: cover;
}

.mainvisual_pc {
    width: 80%;
    margin: 0 auto;
    box-shadow: 4px 4px 4px 0px rgba(0, 0, 0, 0.25);
}

.mainvisual_sp {
    display: none;
}

/* ＝＝挨拶エリア＝＝ */
.about_area {
    background-image: url(img/about_bg_03.jpg);
    background-size: cover;
    background-position: 50%;
}

.about_container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 3rem;
    width: 93%;
    margin: 0 auto;
    padding: 7rem 0;
}


.about_right p {
    color: #333;
    font-size: 1rem;
    font-weight: 350;
    line-height: 2rem;
}

.about_right span {
    color: var(--blue);
}

.about_btn_area {
    width: 95%;
    text-align: right;
    padding-bottom: 5rem;
}

/* ＝＝施工実績エリア＝＝ */
.works_news_bg {
    background-image: url(img/works_news_bg_02.jpg);
    background-size: cover;
    background-position: 50%;
}

.works_title_area {
    text-align: center;
    padding-top: 5rem;
}

.sec_title_img_02 {
    width: 7.5rem;
}

.works_area_list {
    /* width: 95%;
    margin: 4rem auto; */
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    gap: 1.5rem;
    padding: 2rem 0;
}

.works_area_list li {
    width: 25%;
    display: inline-block;
    box-sizing: border-box;
    background: #fff;
    box-shadow: 4px 4px 4px 0px rgba(0, 0, 0, 0.25);
    margin: 1.75rem;
}

.works_area_list img {
    aspect-ratio: 4 / 3;
}

.works_area_list figure {
    position: relative;
}

.works_area_list a {
    transition: 1000ms;
}

.works_area_list a:hover {
    opacity: 0.5;
}

.works_cat {
    position: absolute;
    top: 0;
    background: var(--blue);
    color: #fff;
    padding: 0.25rem 1.5rem;
}

.works_text_box {
    padding: 0.25rem 1.25rem;
}

.works_text_box time {
    color: var(--blue);
    font-family: "Noto Sans JP";
    font-size: 0.75rem;
    font-weight: 400;
}

.works_text_box h4 {
    color: #333;
    font-family: "Noto Sans JP";
    font-size: 1rem;
    font-weight: 400;
}

.works_btn_area {
    text-align: center;
    padding: 4rem 0 7rem;
}

/* ＝＝サービスエリア＝＝ */
.service_area {
    background-image: url(img/service_bg.jpg);
    background-size: cover;
    background-position: 50%;
}

.sec_title_img_03 {
    width: 10rem;
}

.service_title_area {
    text-align: center;
    padding-top: 5rem;
}

.service_container {
    padding: 3rem 0 5rem;
}

.s_box {
    display: flex;
    justify-content: center;
    padding: 3rem 0;
}

.s_box li {
    width: 33%;
    position: relative;
    overflow: hidden
}

.s_img {
    position: static;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition-duration: 0.5s;
}

.s_img:hover {
    transform: scale(1.25, 1.25);
    filter: brightness(50%);
}


.s_box h3 {
    color: #F5F5F5;
    font-family: "Noto Sans JP";
    font-size: 1.5rem;
    font-weight: 400;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.s_icon {
    width: 2.25rem;
    position: absolute;
    right: 10px;
    bottom: 10px;
}

.s_span {
    color: #FFF510;
    font-family: Damion;
    font-size: 2.5rem;
    font-weight: 400;
    position: absolute;
    top: 10px;
    left: 10px;
}

/* ＝＝お知らせ＆ブログ＝＝ */

.sec_title_img_04 {
    width: 14rem;
}


.news_box {
    width: 70%;
    margin: 0 auto;
}

.news_box_in {
    padding: 4rem 0;
}

.news_box_in ul {
    border-top: 1px dotted #333;
}

.news_box_in a {
    display: flex;
    gap: 4rem;
    border-bottom: 1px dotted #333;
    padding: 1rem;
    color: #222;
    transition: background 1000ms;
}


.news_box_in p {
    color: var(--red);
}

.news_box_in dt {
    width: 12%;
}

.news_box_in dd {
    width: 76%;
}

.news_box_in a:hover {
    background-color: var(--blue);
    color: #FFF;

    p {
        color: #FFF;
    }
}



.news_box_in a::after {
    content: "";
    display: inline-block;
    width: 24px;
    height: 24px;
    background: url(img/right_icon.svg) no-repeat;
    background-size: contain;
    margin-left: auto;
}

.news_btn_area {
    text-align: center;
    padding-bottom: 4rem;
}

/* ＝＝お問い合わせエリア＝＝ */
.contact_area {
    background-image: url(img/contact_bg_03.jpg);
    background-size: cover;
    background-position: 70%;
    border-top: 1px solid var(--blue);
    border-bottom: 1px solid var(--blue);
}

.c_phone_icon {
    width: 4rem;
}

.f_contact {
    width: 22.875rem;
}

.contact_box {
    width: 70%;
    text-align: center;
    padding: 2rem 0;
}

.contact_box h4 {
    color: #333;
    /* text-align: center; */
    font-family: "Noto Sans JP";
    font-size: 1.25rem;
    font-style: normal;
    font-weight: 350;
    line-height: 4rem;
}

.phone_area {
    display: flex;
    flex-direction: column;
    /* justify-content: flex-end; */
    align-items: center;
    padding: 2rem 0;
}

.phone_area a {
    display: flex;
    align-items: center;
}

.phone_area span {
    color: #333;
    font-family: "Noto Sans JP";
    font-size: 2.5rem;
    font-weight: 400;
}

.contact_box a {
    transition: 500ms;
}

.contact_box a:hover {
    opacity: 0.5;
}

/* ＝＝SDGSエリア＝＝ */

.sdgs_area {
    border-bottom: 1px solid #999;
}

.sdgs_box {
    padding: 3rem 0;
    text-align: center;
}

.sdgs_banner {
    padding-bottom: 2rem;
}

.sdgs_banner img {
    width: 30rem;

}

/* ＝＝フッター＝＝ */


.footer_logo {
    width: 13rem;
    padding: 1rem 0;
}

.map_icon {
    width: 2rem;
}

.footer_area {
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4rem;
}

.f_left_area {
    width: 40%;
}

.f_right_area {
    width: 60%;
}

.f_left_area p {
    color: #333;
    font-family: "Noto Sans JP";
    font-size: 1.25rem;
    font-style: normal;
    font-weight: 400;
}

.addres {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    padding-top: 0.5rem;
}

.fax_icon {
    width: 2rem;
}

.f_nav {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.f_nav strong {
    color: #222;
    text-align: center;
    font-family: "Noto Sans JP";
    font-size: 1.25rem;
    font-weight: 500;
}

.f_nav a::before {
    content: "";
    display: inline-block;
    width: 20px;
    height: 20px;
    background: url(img/f_line_icon.svg) no-repeat;
    background-size: contain;
    margin-right: 2px;
    position: relative;
    top: 2px;
}

.f_nav a {
    transition: 1000ms;
}

.f_nav a:hover {
    opacity: 0.5;
}

small {
    color: #fff;
    background-color: var(--blue);
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
    font-family: "Noto Sans JP";
    font-size: 12px;
}

/* ＝＝トップページのメディアクエリ＝＝ */

@media screen and (max-width: 796px) {

    /* 全体 */
    .br_sp {
        display: block;
    }

    /* ヘッダー */
    .header_logo {
        width: 9rem;
        padding: 0.5rem 0 0.25rem;
    }

    .h_right_top {
        display: none;
    }

    h1 {
        font-size: 0.5rem;
    }

    .g-nav li:last-child {
        display: block;
    }

    .main_bg {
        background-image: none;
    }

    .g-nav li {
        padding: 1rem 0;
    }

    .g-nav strong {
        font-size: 0.875rem;

    }

    .g-nav span {
        font-size: 0.65rem;
    }



    /* ハンバーガーメニュー */
    header nav {
        box-sizing: border-box;
        position: fixed;
        top: 60px;
        width: 100%;
        height: calc(100% - 60px);
        background: #fff;
        opacity: 0.9;
        /* 3. スライドメニューの場合 */
        /* display: block; */
        right: -100%;
        transition: right .7s;
        z-index: 1;
        /* ここまで */
    }

    header nav.sp_open {
        right: 0;
    }

    header nav ul {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    header nav ul li a {
        display: block;
        /* padding: 25px; */
        border-radius: 5px;
        color: #666;
        font-size: 1.8rem;
        text-align: center;
        /* text-decoration: none; */
    }

    #openbtn {
        z-index: 200;
        cursor: pointer;
        box-sizing: border-box;
        position: absolute;
        top: 0;
        right: 0;
        display: inline-block;
        width: 60px;
        height: 60px
    }

    #openbtn span {
        position: absolute;
        top: 24px;
        left: 16px;
        display: inline-block;
        width: 30px;
        height: 3px;
        border-radius: 2px;
        background-color: #999;
        vertical-align: top;
    }

    #openbtn span:nth-child(2) {
        margin-top: 10px;
    }

    #openbtn span:last-child {
        margin-top: 20px;
    }

    #openbtn.open span {
        top: 36px;
        left: 14px;
        width: 35px;
        margin: 0;
    }

    #openbtn.open span:first-child {
        transform: rotate(45deg);
    }

    #openbtn.open span:nth-child(2) {
        display: none;
    }

    #openbtn.open span:last-child {
        transform: rotate(-45deg);
    }

    /* メインビジュアル */
    .mainvisual_pc {
        display: none;
    }

    .mainvisual_sp {
        display: block;
    }

    /* ご挨拶エリア */

    .about_container {
        flex-direction: column;
        width: 98%;
    }

    .about_left {
        text-align: center;
    }

    .about_area {
        background-position: 0;
        background-color: rgba(255, 255, 255, 0.3);
        background-blend-mode: lighten;
    }

    /* 施工実績エリア */
    /* .works_area_list {
        flex-direction: column;
        width: 98%;
    } */

    .works_area_list li {
        /* width: 100%; */
        margin: 1rem;
    }

    /* 事業内容エリア */

    .s_box h3 {
        font-size: 0.6rem;
    }

    .s_span {
        font-size: 0.75rem;
        top: 5px;
        left: 5px;
    }

    .s_icon {
        width: 1rem;
        right: 5px;
        bottom: 5px;
    }

    .s_box {
        padding: 1rem 0;
    }

    /* お知らせ */
    .news_box {
        width: 98%;
    }

    .news_box_in a {
        display: flex;
        flex-wrap: wrap;
        gap: 1rem;
    }

    .news_box_in dt {
        width: 20%;
    }

    /* お問い合わせ */

    .c_phone_icon {
        width: 3rem;
    }

    .f_contact {
        width: 66%;
    }

    .contact_box {
        width: 98%;
        margin: 0 auto;
    }

    .phone_area span {
        font-size: 2rem;
    }

    .sdgs_banner img {
        width: 20rem;

    }

    /* フッター */
    .f_right_area {
        display: none;
    }

    .f_left_area {
        width: 98%;
        margin: 0 auto;
    }

}

/* ＝＝以下固定ページ＝＝ */
/* ＝＝共通＝＝ */
.page-title_p {
    color: #fff;
    font-size: 3rem;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    padding-top: 5rem;
}

.page_sub_title_p {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 400;
    padding-bottom: 5rem;
}

.page-title {
    color: #333;
    font-family: "Noto Sans JP";
    font-size: 3rem;
    font-weight: 400;
    padding-top: 5rem;

}

.page_sub_title {
    color: #333;
    text-align: center;
    font-size: 1.5rem;
    font-weight: 400;
    padding-bottom: 5rem;

}


.header-img {
    background-image: url(img/header-img.jpg);
    background-size: cover;
    background-position: 50%;
    text-align: center;
}




/* ぱんくず */

.c-breadcrumbs_bg {
    background-color: var(--skyblue);
}

.c-breadcrumbs {
    width: 80%;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    font-size: 0.875rem;
    color: #555;
    background-color: var(--skyblue);
    line-height: 3.2;
}

.c-breadcrumbs>li {
    display: inline-block;
    position: relative;
}

.c-breadcrumbs>li:not(:last-of-type)::after {
    content: ">";
    display: inline-block;
    margin-right: 0.5em;
    margin-left: 0.5em;
}

.c-breadcrumbs a {
    color: #222;
}

/* 見出し */
.ttl_line {
    color: #555;
    font-size: 1.5rem;
    font-style: normal;
    font-weight: 400;
    border-left: 3px solid var(--blue);
    padding-left: 1.5rem;
}

/* ページのタイトル */
.p_title {
    color: #333;
    font-family: "Noto Sans JP";
    font-size: 2rem;
    font-weight: 400;
}

/* ページナビ */
.page-nav {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    margin-top: 28px;
    border-top: 1px dashed #666666;
    border-bottom: 1px dashed #666666;
    font-size: 0.875rem;
    font-weight: 500;
    color: #666666;
    list-style: none;
}

.page-nav a {
    text-decoration: none;
    color: #777;
    padding: 5px 8px;
    transition: background 1000ms;
}


.page-nav a:hover {
    background: var(--blue);
    color: #fff;
}

.page-nav a.to-archive {
    padding: 5px 0;
}

/* ＝固定ページ共通のメディアクエリ＝ */

@media screen and (max-width: 796px) {
    .ttl_line {
        font-size: 1.25rem;
    }

    .page-title {
        font-size: 1.75rem;
    }

    .page_sub_title {
        font-size: 1.25rem;
    }

    .p_title {
        font-size: 1.25rem;
    }

    .c-breadcrumbs {
        font-size: 0.5rem;
    }
}


/* ＝ポリウレアについて＝ */

.header-img_poly {
    background-image: url(img/poly_header_img.jpg);
    background-size: cover;
    text-align: center;
}

/* ポリウレアとはエリア */
.p_p_about {
    background-color: var(--skyblue);
}

.p_title_area {
    text-align: center;
    padding: 4rem 0;
}

.p_about_box {
    display: flex;
    justify-content: space-around;
    padding-bottom: 5rem;
}

.p_about_box_left {
    width: 30%;
}

.p_about_box_right p {
    color: #333;
    font-family: "Noto Sans JP";
    font-size: 1rem;
    font-style: normal;
    font-weight: 400;
    line-height: 1.75rem;
    padding-top: 1.5rem;
}

/* ポリウレアの特性と利点 */
.P_P_meri_container {
    width: 85%;
    margin: 0 auto;
    padding: 5rem 0;
}

.p_mer_box {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 2.5rem;
    padding-top: 3rem;
}

.p_mer_box li {
    width: 27%;
}

.p_mer_box h4 {
    color: var(--blue);
    text-align: center;
    font-size: 1.25rem;
    font-style: normal;
    font-weight: 400;
    padding: 0.5rem;
}

.p_mer_box p {
    color: #333;
    font-size: 1rem;
    font-weight: 400;
}

/* ポリウレアのよくある質問 */
.p_p_q_area {
    background-color: var(--skyblue);
}

.qa_icon {
    width: 3rem;
}

.p_p_qa_container {
    width: 85%;
    margin: 0 auto;
    padding: 3rem 0 5rem;
}

.qa_box dl {
    display: flex;
    align-items: center;
    padding: 1rem 0;
}

.qa_box dl:first-child {
    border-bottom: 1px solid #ddd;
}

.qa_box dt {
    width: 7%;
}

.qa_box dd {
    width: 93%;
    color: #333;
    font-size: 1.25rem;
    font-weight: 400;
    padding-left: 0.25rem;
}

.qa_box li {
    background-color: #fff;
    padding: 0.5rem;
    margin: 2rem 0;
    border-radius: 1.5rem;
}

/* ポリウレアのコンタクトエリア */
.contact_area_p {
    background-image: url(img/contact_bg.jpg);
    background-size: cover;
}

.contact_box_p h4 {
    color: #333;
    text-align: center;
    font-family: "Noto Sans JP";
    font-size: 1.5rem;
    font-style: normal;
    font-weight: 350;
    line-height: 3.5rem;
    padding: 3rem 0;
}

.p_contact_in {
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding-bottom: 3rem;
}

.p_contact_in a {
    transition: 500ms;
}

.p_contact_in a:hover {
    opacity: 0.8;
}

/* ＝ポリウレアページメディアクエリ＝ */

@media screen and (max-width: 796px) {

    /* ポリウレアについて */
    .p_about_box {
        flex-direction: column;
        gap: 2rem;

    }

    .p_about_box_left {
        width: 95%;
        margin: 0 auto;
    }

    .p_about_box_right {
        width: 98%;
        margin: 0 auto;
    }

    /* ポリウレアの利点 */
    .P_P_meri_container {
        width: 98%;
        padding: 3rem 0;
    }

    .p_mer_box li {
        width: 100%;
    }

    /* Q&A */
    .qa_icon {
        width: 1.5rem;
    }

    .p_p_qa_container {
        width: 98%;
    }

    .qa_box dd {
        font-size: 0.75rem;
    }

    /* ポリウレアのコンタクトエリア */
    .contact_box_p h4 {
        font-size: 1.25rem;
    }

    .p_contact_in {
        flex-direction: column;
        text-align: center;
    }
}

/* ＝Ripenについて＝ */
.p_about_top {
    background-image: url(img/about_bg_04.jpg);
}

.p_a_about_box {
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding-bottom: 5rem;

}

.p_a_about_box_right {
    width: 25%;
}

.about_ripen_img {
    box-shadow: 4px 4px 4px 0px rgba(0, 0, 0, 0.25);
}

.p_a_about_box_left h4 {
    color: #333;
    font-family: "Noto Sans JP";
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.75rem;
    padding: 0.5rem 0;
}

.p_a_about_box_left span {
    color: var(--orange);
}


.p_a_about_text {
    color: #333;
    width: 95%;
    margin: 0 auto;
    font-size: 0.9rem;
    line-height: 1.75rem;
    font-weight: 600;
}

.p_a_about_text li {
    padding: 0.5rem 0;

}


/* 施工時の取り組み */
.torikumi_area {
    background-color: var(--skyblue);
}

.torikumi_container {
    width: 80%;
    margin: 0 auto;
    padding-bottom: 3rem;
}

.torikumi_box {
    display: flex;
    justify-content: space-between;
    border: 1px solid #999;
    padding: 1rem;
    background: #FFF;
    box-shadow: 4px 4px 4px 0px rgba(0, 0, 0, 0.25);
}

.t_box_text {
    width: 80%;
}

.t_box_img {
    width: 20%;
}

.t_box_text h3 {
    color: #333;
    font-size: 2rem;
    font-weight: 400;
}

.t_box_text p {
    color: #333;
    font-family: "Noto Sans JP";
    font-size: 1rem;
    font-style: normal;
    font-weight: 400;
    line-height: 1.75rem;
    padding-top: 1rem;
}

.under_icon {
    display: block;
    margin: auto;
    width: 10rem;
    padding: 0.5rem 0;
}

.t_box_text span {
    color: var(--orange);
}

.point_area {
    border: 2px solid var(--orange);
}

.t_c_p {
    color: #333;
    font-family: "Noto Sans JP";
    font-size: 1.25rem;
    font-style: normal;
    font-weight: 350;
    line-height: normal;
    padding: 3rem 0;
}

.t_c_p span {
    color: #E95513;
    font-family: "Noto Sans JP";
    font-size: 2rem;
}

/* 塗り替え時期エリア */
.nurikae_area {
    background-image: url(img/about_p_bg.jpg);
    background-size: cover;
    background-position: 50%;
}

.nurikae_container {
    width: 80%;
    margin: auto;
    padding-bottom: 5rem;
}

.nurikae_container span {
    color: var(--orange);
}

.nurikae_container p {
    color: #333;
    font-family: "Noto Sans JP";
    font-size: 1rem;
    font-style: normal;
    font-weight: 400;
    line-height: 1.75rem;
    padding: 1rem 0;
}

/* ＝RIPENページメディアクエリ＝ */

@media screen and (max-width: 796px) {
    .p_a_about_box {
        flex-direction: column;
        width: 98%;
        margin: auto;
        gap: 1rem;
    }

    .p_a_about_box_right {
        width: 95%;
        margin: auto;
    }

    .torikumi_container {
        width: 98%;
    }

    .torikumi_box {
        flex-direction: column;
    }

    .t_box_text {
        width: 100%;
    }

    .t_box_text h3 {
        font-size: 1.25rem;
    }

    .t_box_img {
        width: 100%;
    }

    .t_c_p {
        font-size: 1rem;
        text-align: center;
    }

    .t_c_p span {
        font-size: 1.5rem;
    }

    .nurikae_area {
        background-position: 80%;
    }

    .nurikae_container {
        width: 98%;
    }
}

/* ＝事業内容ページ＝ */
/* 事業内容のトップエリア */
.p_s_top_area {
    background-image: url(img/service_top_bg.jpg);
    background-size: cover;
    background-position: 50%;
}

.p_title_area_p {
    color: #333;
    font-family: "Noto Sans JP";
    font-size: 1rem;
    font-style: normal;
    font-weight: 350;
    line-height: 1.75rem;
}

/* サービス内容 */

.p_s_m_box {
    display: flex;
    width: 90%;
    margin: auto;
}

.s_p_m_text {
    width: 40%;
    position: relative;

}

.s_p_m_in_img {
    width: 40%;
    display: flex;
    gap: 2rem;
    position: absolute;
    bottom: 0;
}

.s_p_m_text p {
    padding-top: 1rem;
}

.s_p_m_img {
    width: 60%;
}

.bg_line {
    background-color: var(--skyblue);
    width: 100%;
    height: 8rem;
    position: relative;
    top: -4rem;
    z-index: -1;
}

.box_rev {
    flex-direction: row-reverse;
    gap: 4rem;
}

.p_s_btn_area {
    width: 40%;
    text-align: center;
    padding-top: 1rem;
}

.bg_line_last {
    margin-bottom: -6rem;
    background-color: var(--skyblue);
    width: 100%;
    height: 8rem;
    position: relative;
    top: -6rem;
    z-index: -1;
}

/* ＝事業案内ページのメディアクエリ＝ */
@media screen and (max-width: 796px) {
    .p_s_m_box {
        width: 98%;
        flex-direction: column;
        gap: 1.5rem;

    }

    .s_p_m_text {
        width: 100%;
        position: static;
        /* background-color: pink; */
    }

    .s_p_m_in_img {
        position: static;
        width: 50%;
        padding: 1rem;
    }

    .s_p_m_img {
        width: 98%;
    }

    .bg_line {
        height: 6rem;
        top: -3rem;
    }

    .p_s_btn_area {
        width: 98%;
    }
}

/* ＝会社概要ページ＝ */

.p_c_about {
    background-image: url(img/company_bg_02.jpg);
    background-size: cover;
    background-position: 50%;

}

.p_c_about_box {
    width: 85%;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 3rem 0;

}

.p_c_about_box_left {
    width: 55%;
}

.p_c_about_box_left p {
    color: #333;
    font-family: "Noto Sans JP";
    font-size: 1rem;
    font-style: normal;
    font-weight: 400;
    padding: 3rem 0;
}

.p_c_about_box_right {
    width: 35%;
}

/* 会社概要overview */
.c_p_overview {
    background-color: var(--skyblue);
}

.c_p_overview_box {
    width: 85%;
    margin: auto;
    padding: 3rem 0;
}

.c_p_overview_box h3 {
    margin-bottom: 3rem;
}

.togun_img {
    box-shadow: 4px 4px 4px 0px rgba(0, 0, 0, 0.25);
}

table {
    border-collapse: collapse;
    width: 100%;
}

th {
    width: 30%;
    background-color: #fff;
    color: var(--blue);
    font-size: 1rem;
    font-weight: 700;
    border-top: 1px solid var(--blue);
    border-bottom: 1px solid var(--blue);
}

td {
    width: 70%;
    border-top: 1px solid #FFF;
    border-bottom: 1px solid #FFF;
    color: #333;
    font-size: 1rem;
}

table th,
table td {
    padding: 1rem;
}

.access_box {
    width: 85%;
    margin: 0 auto;
    padding: 3rem 0;
}

.access_addres {
    font-weight: 500;
    color: #333;
    padding-top: 1rem;
}

iframe {
    width: 100%;
}

/* 会社概要ページのメディアクエリ */

@media screen and (max-width: 796px) {
    .p_c_about {
        background-position: 10%;
    }

    .p_c_about_box {
        flex-direction: column;
        width: 98%;
    }

    .p_c_about_box_left {
        width: 100%;
    }

    .p_c_about_box_right {
        width: 100%;
    }

    .c_p_overview_box {
        width: 98%;
    }

    .access_box {
        width: 98%;
    }

}

/* ＝SDGsページ＝ */

.sd_header-img {
    background-image: url(img/sd_header_img.jpg);
    background-size: cover;
    text-align: center;
}

.sd_about_box {
    width: 70%;
    margin: 0 auto;
    padding: 6rem 0;
}

.sd_about_box h2 {
    color: #222;
    text-align: center;
    font-family: "Noto Sans JP";
    font-size: 1.5rem;
    font-style: normal;
    font-weight: 400;
    line-height: 3rem;
}

.sd_about_box p {
    color: #222;
    text-align: right;
    font-family: "Noto Sans JP";
    font-size: 1rem;
    font-style: normal;
    font-weight: 400;
    line-height: 1.75rem;
}

/* sd_bg_area */
.sd_bg_area {
    height: 450px;
    background-image: url(img/sd_bg.jpg);
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
}

/* SDメインエリア */
.sd_title {
    text-align: center;
    padding: 2rem 0;
}

.sd_title img {
    width: 4rem;
}

.sd_title h2 {
    color: #333;
    font-family: "Noto Sans JP";
    font-size: 1.5rem;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.sd_icon_01 {
    width: 18rem;
    height: 6rem;
}

.sd_icon_02 {
    width: 24rem;
    height: 12rem;
}

.sd_main_box {
    width: 70%;
    margin: 6rem auto;
    background-color: var(--skyblue);
    border-radius: 1.5rem;
    box-shadow: 4px 4px 4px 0px rgba(0, 0, 0, 0.25);
    padding: 3rem 4rem;
}

.sd_main_title_box {
    text-align: center;
    position: relative;
    margin-bottom: 3rem;
}

.sd_main_title_box span {
    color: var(--blue);
    font-family: Damion;
    font-size: 4rem;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    position: absolute;
    left: 46.5%;
    top: -6.25rem;
}

.sd_main_title_box h3 {
    color: #222;
    font-family: "Noto Sans JP";
    font-size: 1.5rem;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    padding: 1rem 0;
}

.sd_main_title_box h4 {
    color: #222;
    font-family: "Noto Sans JP";
    font-size: 1.25rem;
    font-style: normal;
    font-weight: 400;
    line-height: 2rem;
}

.sd_container {
    display: flex;
    justify-content: space-between;
}

.sd_container p {
    color: #222;
    font-family: "Noto Sans JP";
    font-size: 1rem;
    font-style: normal;
    font-weight: 400;
    line-height: 1.75rem;
}

.sd_notes_box {
    width: 70%;
    margin: -2rem auto 5rem;
    display: flex;
    justify-content: space-between;
}

.sd_notes_box p {
    color: #222;
    font-family: "Noto Sans JP";
    font-size: 1rem;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.sd_img_02 {
    width: 16rem;
}

/* ＝SDGsメディアクエリ＝ */

@media screen and (max-width: 796px) {
    .sdgs_about_area {
        background-color: #fff;
    }

    .sd_about_box {
        width: 98%;
        padding: 3rem 0;
    }

    .sd_about_box h2 {
        font-size: 1rem;
        line-height: 1.75rem;
    }

    .sd_about_box p {
        font-size: 0.75rem;
        line-height: 1rem;
        margin: 1rem 0;
    }

    .sd_bg_area {
        height: 400px;
        background-position: 45%;
        background-size: auto;
        background-image: none;

    }

    .sd_bg_area::before {
        content: "";
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        z-index: -10;
        width: 100%;
        height: 100vh;
        background-repeat: no-repeat;
        background-position: 50% 100%;
        background-image: url(img/sd_bg.jpg);
        background-size: cover;
    }

    .sd_main_area {
        background-color: #fff;
    }

    .sd_main_title_box span {
        font-size: 3rem;
        left: 43.5%;
        top: -3.5rem;
    }

    .sd_title h2 {
        font-size: 1.115rem;
    }

    .sd_main_box {
        width: 98%;
        padding: 1rem 0.25rem;
    }

    .sd_main_title_box h3 {
        font-size: 1rem;
    }

    .sd_main_title_box h4 {
        font-size: 0.825rem;
        line-height: 1.5rem;
    }

    .sd_container {
        flex-direction: column;

    }

    .sd_container p {
        font-size: 0.75rem;
    }

    .sd_icon_01 {
        width: 9rem;
        height: 3rem;
    }

    .sd_icon_02 {
        width: 12rem;
        height: 6rem;
    }

    .sd_notes_box {
        width: 98%;
        flex-direction: column-reverse;
        margin: 0 auto;
        padding-bottom: 3rem;
    }

    .sd_notes_box p {
        font-size: 0.75rem;
    }

    footer {
        background-color: #fff;
    }

}

/* ＝施工実績＝ */

.w_single_p_box {
    width: 85%;
    margin: 0 auto;
    padding: 3rem 0;
}

.before_after {
    display: flex;
    justify-content: space-between;
    padding: 3rem 0;
}

.before_img {
    width: 45%;
}

.before_after span {
    float: right;
    color: var(--orange);
    font-weight: 500;
    font-size: 1.5rem;
}

.ba_icon {
    width: 48px;
}

.w_single_main_img {
    width: 45%;
}

.w_single_main_img img {
    aspect-ratio: 4 / 3;
    border: 1px solid var(--orange);
    object-fit: cover;
}

.before_img img {
    aspect-ratio: 4 / 3;
    border: 1px solid var(--orange);
    object-fit: cover;

}

.w_single_list {
    padding: 3rem 0;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: space-around;
}

.w_single_list img {
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.w_single_list li {
    width: 22%;

}

.w_single_p_textbox {
    /* width: 60%; */
    margin: 3rem auto;
}

.w_single_p_textbox p {
    line-height: 2rem;
    color: #444;
}

.w_single_list img {
    cursor: pointer;
    transition: 500ms;
}

.w_single_list img:hover {
    opacity: 0.7;
}

/* 実績カテゴリー */
.works_cat_area {
    text-align: center;
    width: 50%;
    margin: 0 auto;
}

.works_cat_all {
    padding: 2rem;
}

.works_cat_all a {
    padding: 0.5rem 1rem;
    color: var(--blue);
    transition: 700ms;
}

.works_cat_all a:hover {
    opacity: 0.7;
}

.works_cat_list {
    /* text-align: center; */
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.works_cat_list li {
    padding: 0 3px;
}

.works_cat_list a {
    padding: 0.5rem 1rem;
    background-color: var(--blue);
    color: #fff;
    font-size: 1rem;
    transition: 700ms;
}

.works_cat_list a:hover {
    background-color: var(--skyblue);
}



/* 実績紹介ページのメディアクエリ */
@media screen and (max-width: 796px) {
    .w_single_p_box {
        width: 95%;
    }

    .before_after {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 1.5rem 0;
    }

    .before_img {
        width: 100%;
    }

    .w_single_main_img {
        width: 100%;
    }

    .ba_icon {
        transform: rotate(90deg);
    }

    .w_single_list {
        gap: 0.5rem;

    }

    .works_area_list {
        width: 98%;
        margin: 0 auto;

    }

    .works_area_list li {
        width: 100%;
    }

    /* 実績カテゴリー */
    .works_cat_area {
        width: 100%;
        justify-content: space-evenly;
    }

    .works_cat_list li {
        padding: 0.75rem 0.5rem;
    }

    .works_cat_area a {
        font-size: 0.825rem;
    }
}

/* 実績一覧ページ */

.works_p_area {
    padding: 3rem 0;
    width: 95%;
    margin: 0 auto;
}

/* ＝＝お知らせ詳細＝＝ */
.blog-title {
    text-align: center;
    font-weight: 500;
    color: var(--blue);
    font-size: 2.5rem;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    padding: 5rem;
}

.blog-container {
    display: flex;
    gap: 2rem;
    width: 85%;
    margin: 0 auto;
    padding: 3rem 0;
}

.blog-wrapper {
    width: 70%;
}

.day-cat {
    display: flex;
    gap: 1.5rem;
}

.day-cat time {
    color: #777;
}

.day-cat p {
    color: var(--orange);
}


.post-title {
    padding-bottom: 3rem;
}

.post-text {
    line-height: 2rem;
    color: #444;
}

.post-text img {
    width: auto;
}

aside {
    width: 30%;
}

.news-title {
    border-bottom: double 5px #777;
    color: #555;
}

.sidebar-list li {
    padding: 0.25rem;

}

.sidebar-list a {
    color: #555;
    transition: 500ms;
}

.sidebar-list a:hover {
    background-color: var(--blue);
    color: #fff;
}

/* お知らせページのメディアクエリ */
@media screen and (max-width: 796px) {
    .blog-container {
        display: flex;
        flex-direction: column;
        width: 95%;
        align-items: center;
    }

    .blog-wrapper {
        width: 100%;
    }

    aside {
        width: 100%;
    }

    .blog-title {
        font-size: 1.5rem;
    }

}

/* ＝＝404ページ＝＝ */
.page-404 {
    background: #eee;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 60vh;
    color: #777;

}

.page-404 h2 {
    font-size: 2rem;
    padding: 64px;
}

/* お問い合わせページ */
.box-white {
    background-color: #eee;
    padding: 48px;
}

.form-wrapper {
    max-width: 70%;
    margin: 0 auto;
    background-color: #fff;
    padding: 128px;
    border-radius: 2px;
}

.form-wrapper p {
    line-height: 32px;
    font-size: 1.2rem;
    color: #555;
}

.text-red {
    color: #DA1725;
}

form {
    margin: 32px 0;
}

.form-box {
    width: 100%;
}

.form-box dl {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: stretch;
}

.form-box dt,
.form-box dd {
    padding-bottom: 30px;
}

.form-box dt {
    font-weight: 400;
    text-align: left;
}

.form-box dt.message {
    padding-top: 10px;
    vertical-align: top;
}

.form-box dd {
    width: 63.993%;
}

.required {
    display: inline-block;
}

.required::after {
    content: "※";
    display: inline-block;
    padding-left: 1em;
    color: #DA1725;
}

.form-style {
    width: 400px;
    padding: 8px;
    box-shadow: 0 0 0 1px #ccc inset;
    border-radius: 4px;
}

.form-style:focus {
    outline: 0;
    box-shadow: 0 0 0 2px rgb(33, 150, 243) inset;
}

.btn-wrapper {
    margin-top: 30px;
    text-align: center;
}

.btn-submit {
    display: inline-block;
    min-width: 220px;
    padding: 10px;
    background-image: linear-gradient(to right, #333 0%, #333 50%, #FFFFFF 50%, #FFFFFF 100%);
    background-size: 200%;
    background-position-x: 0;
    border: 1px solid #333;
    border-radius: 5px;
    color: #FFFFFF;
    text-align: center;
    transition: 0.3s ease-in;
}

.btn-submit:hover {
    background-position-x: 100%;
    color: #333;
}

/* お問い合わせページメディアクエリ */
@media (max-width: 796px) {
    .box-white {
        padding: 16px;
    }

    .form-wrapper {
        max-width: 97%;
        margin: 0 auto;
        padding: 16px;
    }

    .form-wrapper p {
        font-size: 0.9rem;
    }

    .form-box dl {
        display: flex;
        flex-direction: column;
    }

    .form-box dd {
        width: 100%;
    }

    .form-style {
        width: 100%;
    }

}

/* ＝＝ワードプレスのページネーション＝＝ */
/* 前へ次へ */

.wp-pagenavi {
    display: flex;
    justify-content: flex-end;
    margin-top: 42px;
    padding: 16px;
}

.wp-pagenavi a {
    text-decoration: none;
}

.wp-pagenavi span,
.wp-pagenavi a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border: 1px solid var(--blue);
    font-size: 0.9375rem;
    font-weight: 500;
    transition: 0.3s ease-in;
}

.wp-pagenavi span:not(:last-child),
.wp-pagenavi a:not(:last-child) {
    margin-right: 2.622%;
}

@media screen and (max-width: 768px) {

    .wp-pagenavi span,
    .wp-pagenavi a {
        font-size: 0.875rem;
    }
}

.wp-pagenavi span:hover,
.wp-pagenavi a:hover {
    background-color: var(--blue);
    color: #FFFFFF;
}

.wp-pagenavi span.current {
    background-color: var(--blue);
    color: #FFFFFF;
}

.wp-pagenavi a {
    color: #666666;
}

.wp-pagenavi a.nextpostslink,
.wp-pagenavi a.previouspostslink {
    width: auto;
    padding: 5px 1.2em;
}

/* ＝＝J-Query＝＝ */

.fade {
    opacity: 0;
    visibility: hidden;
    transform: translateY(30px);
    transition: opacity 1s, visibility 1s, transform 1s;
}

/* フェードイン */
.is-fadein {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}


/* ページトップ */
#page-top a {
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--blue);
    border-radius: 5px;
    width: 60px;
    height: 60px;
    color: #fff;
    text-align: center;
    text-transform: uppercase;
    text-decoration: none;
    font-size: 0.6rem;
    transition: all 0.3s;
}

#page-top a:hover {
    background: var(--orange);
}

/*リンクを右下に固定*/
#page-top {
    position: fixed;
    right: 10px;
    bottom: 10px;
    z-index: 101;
    /*はじめは非表示*/
    opacity: 0;
    transform: translateX(100px);
}

/*　左の動き　*/

#page-top.LeftMove {
    animation: LeftAnime 0.5s forwards;
}

@keyframes LeftAnime {
    from {
        opacity: 0;
        transform: translateX(100px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/*　右の動き　*/

#page-top.RightMove {
    animation: RightAnime 0.5s forwards;
}

@keyframes RightAnime {
    from {
        opacity: 1;
        transform: translateX(0);
    }

    to {
        opacity: 1;
        transform: translateX(100px);
    }
}

/* dots */
.slick-dots {
    bottom: -25px;
}

.slick-dots li,
.slick-dots li button,
.slick-dots li button::before {
    width: 6px;
    height: 6px;
}

.slick-dots li {
    margin: 0 7px;
}

.slick-dots li button {
    background-color: #999;
    /* opacity: 0.3; */
    border-radius: 100%;
}

.slick-dots li.slick-active button {
    /* opacity: 1; */
    background-color: var(--blue);
}

.slick-dots li button::before {
    content: '';
}