@charset "UTF-8";
/*
Theme Name: Koguma-Reform
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;
}

:root {
    --blue: #71814D;
    --red: #D27C2C;
    /* --white: #faf0e6;  */
}

body {
    font-family: "Noto Sans JP";
}

.sec_title {
    text-align: center;
    padding-top: 2rem;
}

.sec_title img {
    width: 2.5rem;
}

.sec_title h2 {
    color: #333;
    font-family: "Noto Sans JP";
    font-size: 2rem;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}

.br_sp {
    display: none;
}


/* ＝＝ヘッダー＝＝ */
.logo {
    width: 23.875rem;
}

.h_main_frame {
    width: 80%;
    margin: 0 auto;
}

h1 {
    color: #333;
    font-family: "Noto Sans JP";
    font-size: 0.75rem;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.h_phone {
    width: 260px;
}

.h_contact {
    width: 15.375rem;
}

.h_top_area {
    display: flex;
    justify-content: space-between;
}

.h_top_left a {
    transition: 700ms;
}

.h_top_left a:hover {
    opacity: 0.5;
}

.h_top_right {
    display: flex;
}

.h_top_right a {
    transition: 700ms;
}

.h_top_right a:hover {
    opacity: 0.5;
}

.home_icon {
    width: 2rem;
}

.hummer_icon {
    width: 2rem;
}

.beae_icon {
    width: 2rem;
}

.menu_icon {
    width: 2rem;
}

.works_icon {
    width: 2rem;
}

.news_icon {
    width: 2rem;
}

.g-nav span {
    color: #333;
    font-family: "Noto Sans JP";
    font-size: 1rem;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}

.g-nav {
    display: flex;
    align-items: flex-start;

}

.g-nav li {
    width: 20%;
    border-right: 1px solid #888;
}

.g-nav li a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8125rem;
}

nav ul li:first-child {
    border-left: 1px solid #888;
}

.nav_area {
    padding: 1rem 0;
}

.g-nav a {
    transition: background 1000ms;
    position: relative;
    display: inline-block
}

.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);
}

/* ＝＝メインビジュアル＝＝ */
.slider .slick-slide {
    margin: 0 5px;
}

.catch_img {
    position: absolute;
    z-index: 1;
}

.mainvisual_sp {
    display: none;
}

/* ＝＝私の仕事エリア＝＝ */

.about_area {
    background-image: url(img/about_bg.jpg);
    background-size: cover;
    background-repeat: no-repeat;
}

.about_container {
    width: 70%;
    margin: 0 auto;
    padding-bottom: 10rem;

}

.about_sec span {
    color: #71814D;
    text-align: center;
    font-family: Damion;
    font-size: 4rem;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    position: relative;
    top: -2.5rem;
}

.about_sec {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    width: 90%;
    padding-top: 4rem;
}

.about_sec h3 {
    color: #333;
    font-family: "Noto Sans JP";
    font-size: 1.5rem;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.about_sec p {
    color: #333;
    font-family: "Noto Sans JP";
    font-size: 1rem;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.a_sec_02 {
    margin-left: auto;
}

/* ＝＝プロフィールエリア＝＝ */
.profile_area {
    background-image: url(img/profile_bg.jpg);
    background-size: cover;
    background-position: center;
}

.profile_sec {
    display: flex;
    justify-content: space-around;
    align-items: center;
    /* gap: 5rem; */
    width: 80%;
    margin: 0 auto;
    padding-top: 4rem;
}

.profile_left {
    width: 40%;

}

.profile_left img {
    border-radius: 2.625rem;
    box-shadow: 8px 8px 4px 0px rgba(0, 0, 0, 0.25);
}

.profile_right_in h3 {
    color: #333;
    font-family: "Noto Sans JP";
    font-size: 1.5rem;
    font-weight: 400;
}

.profile_right_in ul {
    padding-top: 1rem;
}

.biography li::before {
    content: "";
    display: inline-block;
    width: 16px;
    height: 16px;
    background: url(img/dot_icon.svg) no-repeat;
    background-size: contain;
    margin-right: 2px;
    position: relative;
    top: 2px;
}

.profile_right_in li {
    color: #333;
    font-family: "Noto Sans JP";
    font-size: 1rem;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.pro_span {
    color: #F98900;
    display: block;
    text-align: center;
    font-family: "Noto Sans JP";
    font-size: 1rem;
    font-weight: 700;
    padding: 1rem 0;
}

/* 事業所エリア */
.menu_area {
    background-image: url(img/menubg.jpg);
    background-size: cover;
}

.company_profile {
    width: 80%;
    margin: 0 auto;
    padding-bottom: 7rem;
}

.company_profile span {
    font-size: 0.75rem;
}

.company_profile h3 {
    color: #333;
    text-align: center;
    font-family: "Noto Sans JP";
    font-size: 1.5rem;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    padding: 3rem 0 1rem;
}

.company_profile dl {
    width: 70%;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
}

.company_profile dt {
    width: 30%;
    text-align: center;
    border-bottom: 3px solid var(--blue);
    padding: 1rem;
}

.company_profile dd {
    width: 70%;
    border-bottom: 1px solid #aaa;
    padding: 1rem;
}

/* ＝＝リフォームメニュー＝＝ */

.menu_container {
    width: 85%;
    margin: 3rem auto;
    border-radius: 1.5625rem;
    background: #FFF;
    box-shadow: 4px 4px 4px 0px rgba(0, 0, 0, 0.25);
    padding: 1rem;
}

.menu_top {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.menu_in {
    width: 50%;
    display: flex;
    align-items: flex-start;
    padding: 1rem;
}

.menu_in img {
    width: 3rem;
    position: relative;
    top: -9px;
    right: 5px;
}

.menu_text h3 {
    color: #333;
    font-family: "Noto Sans JP";
    font-size: 1.5rem;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.menu_text li {
    color: #333;
    font-family: "Noto Sans JP";
    font-size: 1rem;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.menu_bottom {
    width: 100%;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.menu_bottom_in {
    width: 50%;
}

.menu_bottom_in .menu_in {
    width: 100%;
}

.m_banner {
    text-align: center;
    padding-bottom: 3rem;
}

.m_banner img {
    width: 38.5rem;
    position: relative;
    top: 0;
}

.m_banner a {
    transition: 1000ms;
}


.m_banner a img:hover {
    top: -10px;
    transition: 0.3s;
    opacity: 0.7;
}

/* ＝＝施工実績エリア＝＝ */

.works_title {
    position: relative;
}

.works_title p {
    text-align: left;
    color: var(--blue);
    font-weight: 500;
    position: absolute;
    top: 50%;
    left: 57%;
}




.works_area_list {
    width: 94%;
    margin: 4rem auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    gap: 1.5rem;
}

.works_area_list li {
    width: 25%;
    display: inline-block;
    box-sizing: border-box;
    background: #fff;
    border-radius: 1.5625rem;
    box-shadow: 4px 4px 4px 0px rgba(0, 0, 0, 0.25);
}

.works_area_list img {
    aspect-ratio: 4 / 3;
    border-radius: 1.5625rem 1.5625rem 0rem 0rem;
}

.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;
    border-radius: 1.5625rem;
    background: #D27C2C;
    color: #fff;
    padding: 0.25rem 1.5rem;
}

.works_text_box {
    padding: 0.25rem 1.25rem;
}

.works_text_box time {
    color: #3986A0;
    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;
}

.btn {
    display: inline-block;
    padding: 1rem 1.5rem;
    border-radius: 1.5625rem;
    background-color: var(--blue);
    transition: 1000ms;
}

.btn a {
    color: #fff;
}

.btn:hover {
    background-color: var(--red);
}

.works_btn_area {
    text-align: center;
    padding-bottom: 4rem;
}

.no-data-text {
    text-align: center;
    padding: 7rem 0;
}




/* ＝＝お知らせ&ブログエリア＝＝ */

.news_area {
    background-color: #EDF0F4;
}

.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/menubg.jpg);
}

.contact_bear_sp {
    display: none;
}

.contact_bear {
    width: 17%;
    position: absolute;
}

.contact_area h3 {
    color: #444;
    text-align: center;
    font-family: "Noto Sans JP";
    font-size: 1.5rem;
    font-weight: 400;
    padding: 3rem 0;
}

.phone_icon {
    width: 3rem;
}

.mail_icon {
    width: 3rem;
}

.phone_area {
    display: flex;
    gap: 1rem;
}

.phone_area span {
    color: #444;
    font-family: "Noto Sans JP";
    font-size: 2.25rem;
    font-weight: 500;
}

.contact_area_in {
    display: flex;
    justify-content: space-around;
    width: 70%;
    margin: 0 auto;
    padding-bottom: 4rem;
}

.contact_button {
    display: inline-block;
    border-radius: 1.5625rem;
    background: #71814D;
    transition: 1000ms;
}

.contact_button a {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 2.5rem 0;

}

.contact_button:hover {
    background-color: var(--red);
}

.contact_button span {
    color: #fff;
    font-family: "Noto Sans JP";
    font-size: 1.5rem;
    font-style: normal;
    font-weight: 400;
}

/* ＝＝お問い合わせエリア＝＝ */

.footer_area {
    width: 90%;
    margin: 0 auto;
    display: flex;
    padding: 4rem;
}

.f_left_area {
    width: 50%;
}

.f_left_area a {
    transition: 1000ms;
}

.f_left_area a:hover {
    opacity: 0.7;
}

.f_right_area {
    width: 50%;
}

.addres_icon {
    width: 2rem;
}

.addres {
    display: flex;
}

.addres_in p {
    color: #333;
    font-family: "Noto Sans JP";
    font-size: 1rem;
    font-weight: 400;
}

.addres_in span {
    color: #333;
    font-family: "Noto Sans JP";
    font-size: 1rem;
    font-weight: 400;
}

.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_navi_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;
}

/* ＝＝TOPページのメディアクエリ＝＝ */
@media screen and (max-width: 796px) {

    /* 全体 */
    .sec_title h2 {
        font-size: 1.5rem;
    }

    .sec_title img {
        width: 1.75rem;
    }

    /* ヘッダー */
    .h_main_frame {
        width: 98%;
    }

    .h_top_right {
        display: none;
    }

    header h1 {
        font-size: 0.5rem;
    }

    .logo {
        width: 17rem;
    }

    .g-nav li {
        width: 100%;
        border-style: none;
        padding: 1.5rem 0;
    }

    .g-nav li:first-child {
        border-style: none;
    }


    /* ハンバーガーメニュー */
    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: 10;
        /* ここまで */
    }

    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;
    }

    .slider .slick-slide {
        margin: 0 1px;
    }

    /* 挨拶エリア */
    .about_container {
        width: 98%;
    }

    .about_sec span {
        font-size: 2.5rem;
        position: relative;
        top: -1.5rem;
    }

    .about_sec h3 {
        font-size: 1.25rem;
    }

    .about_sec {
        width: 100%;
    }

    .about_area {
        background-position: 50%;
    }

    .about_text p {
        color: #555;
        padding-top: 0.5rem;

    }

    /* プロフィールエリア */
    .profile_sec {
        flex-direction: column;
        width: 98%;
        margin: 0 auto;
    }

    .profile_left {
        width: 100%;
    }

    .profile_right_in h3 {
        text-align: center;
    }

    .profile_right_in {
        padding-top: 1rem;
    }

    .profile_right_in li {
        padding: 0.25rem 0;
        font-size: 0.75rem;
    }

    .company_profile {
        width: 98%;
    }

    .company_profile dl {
        width: 100%;
    }

    /* リフォームメニュー */
    .menu_container {
        width: 95%;
    }

    .menu_top {
        flex-direction: column;
    }

    .menu_in {
        width: 100%;
    }

    .menu_in img {
        width: 2rem;
        position: relative;
        top: 0;
    }

    .menu_text h3 {
        font-size: 1.25rem;
    }

    .menu_text li {
        font-size: 0.75rem;
    }

    .menu_bottom {
        flex-direction: column;
    }

    .menu_bottom_in {
        width: 100%;
    }

    .m_banner img {
        width: 20rem;
    }

    /* 施工実績エリア */
    /* .works_title {
        position: static;
    } */
    .works_title p {
        text-align: center;
        position: static;
    }

    .works_area_list {
        flex-direction: column;
        width: 98%;
    }

    .works_area_list li {
        width: 100%;
    }

    /* お知らせ */
    .news_box {
        width: 98%;
    }

    .news_box_in a {
        display: flex;
        flex-wrap: wrap;
        gap: 1rem;
    }

    .news_box_in dt {
        width: 20%;
    }

    /* お問い合わせエリア */
    .contact_area h3 {
        font-size: 1.25rem;
    }

    .br_sp {
        display: block;
    }

    .contact_area_in {
        width: 98%;
        flex-direction: column;
        gap: 1.5rem;
        align-items: center;
    }

    .contact_area_left {
        width: 80%;
    }

    .contact_button {
        display: flex;
        align-items: center;
        gap: 1rem;
        padding: 0 0.5rem 0.5rem;

    }

    .contact_bear {
        display: none;

    }

    .contact_bear_sp {
        display: block;
        width: 70%;
    }

    .phone_area span {
        font-size: 1.75rem;
        font-weight: 500;
    }

    /* フッター */
    .f_right_area {
        display: none;
    }

    .f_left_area {
        width: 98%;
    }

}

/* ＝＝以下固定ページ＝＝ */
/* ＝＝共有＝＝ */

.header-img {
    background-image: url(img/header-img.jpg);
    background-size: cover;
    text-align: center;
}

.page-title {
    color: var(--blue);
    font-size: 2.5rem;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    padding: 5rem 0;
}



/* ぱんくず */
.c-breadcrumbs {
    width: 80%;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    font-size: 0.875rem;
    color: #555;
    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: 5px solid var(--blue);
    border-bottom: 1px solid #aaa;
    padding-left: 1.5rem;
}

.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) {
    .page-title {
        font-size: 2rem;
        padding-top: 2rem;
    }

    .page-title02 {
        font-size: 1rem;
        padding-bottom: 2rem;
    }

    .c-breadcrumbs {
        width: 98%;
        box-sizing: border-box;
    }

    .page-nav {
        width: 100%;
    }
}

/* ＝＝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;
}

/* ＝＝お知らせ詳細＝＝ */
.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(--red);
}


.post-title {
    padding-bottom: 3rem;
}

.post-text {
    line-height: 2rem;
    color: #444;
}

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;
    }

}

/* ＝＝施工実績ページ＝＝ */

.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(--blue);
    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;
}

.before_img img {
    aspect-ratio: 4 / 3;
}

.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 img {
    width: 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;
}
.modoru_area {
    text-align: right;
}
.modoru_btn {
    display: inline-block;
    background-color: var(--red);
    border-radius: 2rem;
    padding: 0.5rem;
    
}

.modoru_btn a {
    color: #fff;
    padding: 0.5rem 0.75rem;
}

/* 実績紹介ページのメディアクエリ */
@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_p_area {
    padding: 3rem 0;
    width: 95%;
    margin: 0 auto;
}

/* お問い合わせページ */
.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(--red);
    color: #FFFFFF;
}

.wp-pagenavi span.current {
    background-color: var(--red);
    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(--red);
}

/*リンクを右下に固定*/
#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);
    }
}