@charset "UTF-8";
/*
Theme Name: kudou-sangyo
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: #57A5F0;
    --bgcolor: #E3F1FF;
}




.sec_title {
    color: var(--blue);
    font-family: "Noto Serif JP";
    font-size: 2rem;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}

.sec_title_2 {
    color: #222;
    font-family: "Noto Serif JP";
    font-size: 1.5rem;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    position: relative;
    display: inline-block;
}

.sec_title_2:before {
    content: '';
    position: absolute;
    left: 12%;
    bottom: -8px;
    /*線の上下位置*/
    display: inline-block;
    width: 64px;
    /*線の長さ*/
    height: 1px;
    /*線の太さ*/
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    /*位置調整*/
    background-color: var(--blue);
    /*線の色*/
}

.center_title:before {
    left: 50%;
}

p {
    color: #222;
    font-family: "Noto Serif JP";
    font-size: 1rem;
    font-style: normal;
    font-weight: 400;
    line-height: 1.75rem;
    padding: 2rem 0;
}



.br_sp {
    display: none;
}

.btn {
    display: inline-block;
}

.btn a {
    color: var(--blue);
    transition: background 800ms;
    padding: 0.5rem 1.5rem;
    border: 1px solid var(--blue);
}

.btn a::after {
    content: "";
    display: inline-block;
    width: 24px;
    height: 24px;
    background: url(img/right_icon_blue.svg) no-repeat;
    background-size: contain;
    margin-left: 1rem;
    position: relative;
    top: 5px;
}

.btn a:hover {
    background-color: var(--blue);
    color: #fff;
}

.btn a:hover::after {
    background: url(img/right_icon_white.svg) no-repeat;
}



.btn_w a {
    color: #fff;
    background: transparent;
    padding: 0.5rem 1.5rem 0.75rem;
    border: 1px solid #fff;
    position: relative;
    z-index: 1;
    display: block;
    overflow: hidden;
    transition: .3s;
}

.btn_w a::after {
    background: url(img/right_icon_w.svg) no-repeat;
}

.btn_w a::before {
    content: "";
    width: 100%;
    position: absolute;
    top: 0;
    right: -60px;
    z-index: -1;
    border-right: 60px solid transparent;
    border-bottom: 60px solid #fff;
    transform: translateX(-100%);
    transition: transform ease .3s;
}

.btn_w a:hover {
    color: var(--blue);
    border: 2px solid var(--blue);
}

.btn_w a:hover::before {
    transform: translateX(0);
}

.btn_w a:hover::after {
    background: url(img/right_icon_blue.svg) no-repeat;
}

.title_box {
    display: flex;
    align-items: center;
    padding-bottom: 1.75rem;
}

.title_01 {
    color: #333;
    font-family: "Noto Sans JP";
    font-size: 1.25rem;
    font-style: normal;
    font-weight: 400;
    padding-left: 0.25rem;
}

/* ＝＝ヘッダー＝＝ */
header {
    position: absolute;
    z-index: 3;
    width: 100%;
}

.header_logo {
    width: 16rem;
}

.h_main_frame {
    width: 90%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #FFF;
    padding: 2rem 0;
}

.h_right_area {
    display: flex;
}

.g-nav {
    display: flex;
}

.g-nav a {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 2rem;
    transition: background 1000ms;
    position: relative;
}

.g-nav strong {
    color: #fff;
    text-align: center;
    font-family: "Noto Serif JP";
    font-size: 1rem;
    font-style: normal;
    font-weight: 500;
}


.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);
}


.h_contact_btn a {
    background: linear-gradient(90deg, #0C71FF 0%, #94CFE5 50%, #0C71FF 100%);
    background-size: 200% 100%;
    color: #FFF;
    text-align: center;
    font-family: "Noto Serif JP";
    font-size: 1rem;
    font-style: normal;
    font-weight: 400;
    padding: 1rem 2.75rem;
    transition: 400ms;
}

.h_contact_btn a:hover {
    background-position: 100% 0;
}

/* ＝＝メインビジュアル＝＝ */
video {
    filter: drop-shadow(0px 0px rgba(0, 0, 0, 0));
    outline: none;
    border: none;
}

.mainvisual_pc {
    position: relative;
}

.mainvisual_sp {
    display: none;
}


.catch_img {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    /* z-index: 2; */
}




/* ＝＝挨拶エリア＝＝ */

.about_area_top {
    background-image: url(img/about_bg.jpg);
    background-size: cover;
    background-position: 50%;
    margin-top: -5px;
    padding: 4rem 0;
}

.about_area_top_box {
    width: 80%;
    margin: 0 auto;
}

/* ＝＝事業案内エリア＝＝ */
.service_area_top {
    background: linear-gradient(180deg, #E3F1FF 0%, #FFF 100%);
}

.service_area_top_box {
    text-align: center;
    padding: 3rem 0;
}

.service_list {
    width: 80%;
    margin: 0 auto;
    display: flex;
    justify-content: space-around;
    padding-bottom: 5rem;
}

.service_list li {
    width: 35%;
    display: inline-block;
    overflow: hidden;
}


.service_list a {
    display: block;
    transition-duration: .5s;
}

.service_list a:hover {
    transform: scale(1.2);
}

/* ＝＝背景エリア＝＝ */
.bg_area {
    height: 450px;
    background-image: url(img/front_bg_img.jpg);
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
}

/* ＝＝グループ企業エリア＝＝ */
.group_area {
    background: linear-gradient(90deg, #E3F1FF 0%, #E3F1FF 50%, #fff 50%, #fff 100%);
}

.group_ttl {
    color: #222;
    font-family: "Noto Serif JP";
    font-size: 1.25rem;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    padding: 1rem 0;
}

.group_line:before {
    left: 18%;
}

.group_area_box {
    width: 90%;
    margin-left: auto;
    display: flex;
    justify-content: space-between;
    padding: 5rem 0;
}

.group_left {
    width: 35%;
}

.group_right {
    width: 60%;
}

.group_right img {
    box-shadow: -10px 10px 0px 0px #57A5F0;
}

/* ＝＝お知らせエリア＝＝ */
.news_title_area {
    text-align: center;
}


.news_box {
    width: 70%;
    margin: 0 auto;
    padding: 3rem 0;
}

.news_box_in {
    padding: 4rem 0;
}

.news_box_in ul {
    border-top: 1px dotted var(--blue);
}

.news_box_in a {
    display: flex;
    gap: 4rem;
    border-bottom: 1px dotted var(--blue);
    padding: 1rem;
    color: #222;
    transition: background 1000ms;
}


.news_box_in p {
    color: var(--blue);
}

.news_box_in dt {
    width: 28%;
}

.news_box_in dd {
    width: 72%;
}

.news_box_in a:hover {
    background-color: var(--blue);
    color: #FFF;

    p {
        color: #FFF;
    }
}

.news_box_in a:hover::after {
    background: url(img/right_icon_white.svg) no-repeat;
}



.news_box_in a::after {
    content: "";
    display: inline-block;
    width: 24px;
    height: 24px;
    background: url(img/right_icon_blue.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.jpg);
    background-size: cover;
    background-position: 50%;
    padding: 5rem 0;
}

.phone_icon02 {
    width: 2rem;
}

.mail_icon_02 {
    width: 3rem;
}

.contact_title {
    color: #FFF;
    font-family: "Noto Serif JP";
    font-size: 2.25rem;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}

.contact_box {
    border: 1px solid #fff;
    width: 70%;
    margin: 0 auto;
    position: relative;

}

.contact_title {
    position: absolute;
    top: -3rem;
    right: 0;
}

.contact_text {
    color: #FFF;
    text-align: center;
    font-family: "Sorts Mill Goudy";
    font-size: 1.25rem;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    padding-top: 3rem;
}

.contact_area02_in {
    padding: 3rem 0;
    display: flex;
    justify-content: space-evenly;
}

.contact_area02_left {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    padding: 1rem 4rem;
    border: 1px solid #fff;
}

.phone_area02 {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    align-items: flex-end;

}

.phone_area02 span {
    color: #FFF;
    text-align: right;
    font-size: 24px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.reception_hours {
    color: #FFF;
    font-size: 0.75rem;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.contact_button a {
    display: flex;
    gap: 1rem;
    padding: 1.5rem 4rem;
    justify-content: center;
    align-items: center;
    border: 1px solid #fff;
    transition: 700ms;
}

.contact_button a:hover {
    background-color: #000;
}

.contact_button span {
    color: #FFF;
    text-align: center;
    font-family: "Noto Serif JP";
    font-size: 20px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}

/* ＝＝フッター＝＝ */

footer {
    background-image: url(img/footer_bg.jpg);
    background-size: cover;
    background-position: 50%;
}

.footer_logo {
    width: 16rem;
}

.insta_logo {
    width: 2rem;
}

.map_icon {
    width: 2rem;
}

.f_phone_icon {
    width: 2rem;
}

.fax_icon {
    width: 2rem;
}

.f_mail_icon {
    width: 2rem;
}

.addres {
    display: flex;
    align-items: center;
}

.addres span {
    color: #fff;
    font-family: "Noto Serif JP";
    font-size: 1rem;
    font-style: normal;
    font-weight: 600;
    padding-left: 0.25rem;
}

.footer_area {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 80%;
    margin: auto;
    padding: 4rem 0;

}

.addres_top {
    padding-top: 1rem;
}

.f_left_area {
    width: 50%;
    border-right: 1px solid #fff;
}

.f_left_area a {
    transition: 500ms;
}

.f_left_area a:hover {
    opacity: 0.7;
}

.f_right_area {
    width: 50%;
    padding-left: 3rem;
}

.f_nav {
    display: flex;
    align-items: flex-start;
    align-content: flex-start;
    gap: 0.375rem 1.5625rem;
    flex-wrap: wrap;

}

.f_nav li {
    width: 40%;
}

.f_nav strong {
    color: #fff;
    font-size: 1rem;
    font-weight: 400;
    font-family: "Noto Serif JP";
}


.f_nav a::before {
    content: "";
    display: inline-block;
    width: 24px;
    height: 24px;
    background: url(img/footer_right_icon.svg) no-repeat;
    background-size: contain;
    margin-right: 1px;
    position: relative;
    top: 6px;
}

small {
    color: #fff;
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
    font-family: "Noto Serif JP";
    font-size: 12px;
}

/* ＝＝トップページメディアクエリ＝＝ */

@media screen and (max-width: 796px) {

    /* 全体 */
    .br_sp {
        display: block;
    }

    .sec_title {
        font-size: 1.25rem;
    }

    .sec_title_2 {
        font-size: 1rem;
    }

    .sec_title_2:before {
        left: 18%;
    }

    .center_title:before {
        left: 52%;
    }

    p {
        font-size: 0.825rem;
    }

    /* ヘッダー */

    .header_logo {
        width: 14rem;
    }

    .g-nav li:last-child {
        display: block;
    }

    .h_contact_area {
        display: none;
    }

    .g-nav li {
        padding: 1rem 0;
    }

    .h_main_frame {
        width: 95%;
        padding: 1rem 0;
    }

    /* ハンバーガーメニュー */
    header nav {
        box-sizing: border-box;
        position: fixed;
        top: 60px;
        width: 100%;
        height: calc(100% - 60px);
        background: #111;
        opacity: 0.7;
        /* 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;
        position: relative;
    }

    /* 挨拶エリア */

    .about_area_top {
        background-position: 70%;
    }

    .about_area_top_box {
        width: 98%;
        margin: 0 auto;
    }

    /* 事業案内エリア */

    .service_list {
        width: 98%;
        flex-direction: column;
        gap: 3rem;
    }

    .service_list li {
        width: 100%;
    }

    /* 背景エリア */
    .bg_area {
        height: 400px;
        background-position: 45%;
        background-size: auto;
        background-image: none;
    }

    .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/front_bg_img.jpg);
        background-size: cover;
    }

    /* グループ企業エリア */

    .group_area {
        background: var(--bgcolor);
    }

    .group_ttl {
        font-size: 1rem;

    }

    .group_line:before {
        left: 25%;
    }

    .group_area_box {
        width: 98%;
        margin-left: 0;
        margin: 0 auto;
        flex-direction: column;
        gap: 3rem;
    }

    .group_left {
        width: 100%;
    }

    .group_right {
        width: 100%;
    }

    /* お知らせエリア */
    .news_area {
        background-color: #fff;
    }

    .news_box {
        width: 98%;
    }

    .news_box_in a {
        display: flex;
        flex-wrap: wrap;
        gap: 1rem;
    }

    time {
        font-size: 0.75rem;
    }

    /* お問い合わせエリア */
    .contact_box {
        width: 98%;
    }

    .contact_title {
        position: absolute;
        top: -3.25rem;
    }

    .contact_area02_in {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;

    }

    .contact_area02_left {
        width: 70%;
        padding: 1rem;
    }

    .contact_button {
        width: 70%;
    }

    .phone_area02 {
        align-items: center;
    }

    .contact_button a {
        padding: 1rem;
    }

    /* フッター */
    .f_right_area {
        display: none;
    }


    .footer_area {
        width: 98%;
    }

    .f_left_area {
        width: 100%;
        border-right: none;
    }

}

/* ＝＝以下固定ページ＝＝ */
/* ＝＝共通＝＝ */

.page-title {
    color: #fff;
    text-align: center;
    font-family: "Noto Serif JP";
    font-size: 3rem;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    padding-top: 12rem;
}

.page_sub_title {
    color: #fff;
    text-align: center;
    font-family: "Noto Serif JP";
    font-size: 1.5rem;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    padding-bottom: 3rem;
}

/* ぱんくず */

.c-breadcrumbs_bg {
    background-color: var(--bgcolor);
}

.c-breadcrumbs {
    width: 80%;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    font-size: 0.875rem;
    color: #555;
    background-color: var(--bgcolor);
    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: #222;
    font-size: 1.5rem;
    font-style: normal;
    font-weight: 400;
    font-family: "Noto Serif JP";
    border-bottom: 3px solid #e3e3e3;
    padding: 0.3em;
    margin-bottom: 0.3em;
    position: relative;
}

.ttl_line::after {
    content: '';
    background-color: var(--blue);
    width: 3em;
    height: 3px;
    position: absolute;
    bottom: -3px;
    left: 0;
    z-index: 1;
}

.ttl_line_sub {
    color: #222;
    font-family: "Noto Serif JP";
    font-size: 1.25rem;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    border-left: 2px solid #57A5F0;
    padding-left: 1rem;
}

/* ページナビ */
.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.15rem;
    }

    .ttl_line_sub {
        font-size: 1rem;
    }

    .page-title {
        font-size: 1.75rem;
    }

    .page_sub_title {
        font-size: 1.25rem;
    }

    .c-breadcrumbs {
        font-size: 0.5rem;
    }

}

/* ＝事業内容ページ＝ */

.s_header-img {
    background-image: url(img/s_header_img.jpg);
    background-size: cover;
    background-position: 50%;
    text-align: center;
}

.service_list_area {
    padding: 5rem 0;
}

.pull_btn {
    display: inline-block;
}

.pull_btn a {
    color: #333;
    font-family: "Noto Serif JP";
    font-size: 1.25rem;
    transition: background 800ms;
    padding: 1.25rem 2rem;
    border: 1px solid #999;
}

.pull_btn a::after {
    content: "";
    display: inline-block;
    width: 24px;
    height: 24px;
    background: url(img/under_icon_blue.svg) no-repeat;
    background-size: contain;
    margin-left: 1rem;
    position: relative;
    top: 5px;
}

.pull_btn a:hover {
    background-color: var(--blue);
    color: #fff;
}

.pull_btn a:hover::after {
    background: url(img/under_icon_w.svg) no-repeat;
}



.service_pull_list {
    width: 80%;
    margin: 0 auto;
    display: flex;
    justify-content: space-around;

}

/* 一般貨物エリア */

.crago_box {
    width: 80%;
    margin: 0 auto;
}

.cargo_container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 2rem 0;
}

.cargo_text {
    width: 55%;
    padding: 0;
}

.cargo_img {
    width: 40%;
}

.cargo_img img {
    box-shadow: 4px 4px 4px 0px rgba(0, 0, 0, 0.25);
}

/* 保有車両 */

.track_box {
    width: 80%;
    margin: 0 auto;
    padding: 2rem 0;
}

.track_list {
    display: flex;
    justify-content: space-between;
    padding: 2rem 0;
}


.track_list li {
    width: 27%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0.25rem;
}

.track_list strong {
    color: #222;
    font-family: "Noto Serif JP";
    font-size: 1rem;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

/* 取り組み */

.attempt_list {
    padding: 3rem 0;
}

.attempt_list li {
    margin-bottom: 1.25rem;
}

.attempt_list h4 {
    color: #000;
    font-family: "Noto Serif JP";
    font-size: 1.25rem;
    font-style: normal;
    font-weight: 600;
}

.attempt_list p {
    padding: 0.75rem 0;
}

/* 産業廃棄物収集運搬業 */
.industry_area {
    background-color: var(--bgcolor);
    padding: 4rem 0;
}

.industry_permission {
    width: 80%;
    margin: 0 auto;
}

.industry_permission h3 {
    margin: 3rem 0;
}


table {
    border-collapse: collapse;
    width: 100%;
}

th {
    width: 27%;
    background-color: var(--blue);
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    border-top: 1px solid #fff;
    border-bottom: 1px solid #fff;
}

td {
    width: 73%;
    border-top: 1px solid var(--blue);
    border-bottom: 1px solid var(--blue);
    color: #333;
    font-size: 1rem;
}

table th,
table td {
    padding: 1rem;
}

/* 石材 */

.stone_area {
    padding: 4rem 0;
}

/* 事業案内ページのメディアクエリ */

@media screen and (max-width: 796px) {
    .service_list_area {
        padding: 3rem 0;
    }

    .service_pull_list {
        width: 98%;
        flex-direction: column;
        gap: 2rem 0;
        text-align: center;
    }

    .pull_btn a {
        font-size: 0.825rem;
        padding: 0.5rem 1rem;
    }

    .crago_box {
        width: 98%;
    }

    .cargo_container {
        flex-direction: column-reverse;
    }

    .cargo_text {
        width: 100%;
    }

    .cargo_img {
        width: 100%;
    }

    .track_box {
        width: 98%;
    }

    .track_list {
        flex-direction: column;
        gap: 1.5rem;
    }

    .track_list li {
        width: 100%;
    }

    .industry_permission {
        width: 98%;
    }

    table th,
    table td {
        font-size: 0.75rem;
    }

}

/* ＝グループ企業ページ＝ */

.g_header-img {
    background-image: url(img/g_header_img.jpg);
    background-size: cover;
    background-position: 50%;
    text-align: center;
}

.g_about_area {
    background-image: url(img/kudokogyo_about_bg.jpg);
    background-size: cover;
    background-position: 50%;
}

.g_about_box {
    width: 80%;
    margin: 0 auto;
    padding: 5rem 0;
}

.g_about_box p {
    margin: 1rem 0;
}

/* 工藤興業概要 */

.g_overview_area {
    background-color: var(--bgcolor);
    padding-bottom: 3rem;
}


.g_overview_box {
    width: 80%;
    margin: 0 auto;
    padding: 2rem 0;
}

.g_overview_box h2 {
    margin: 2rem 0;

}

.g_overview_box th {
    background-color: #fff;
    color: var(--blue);
    border-top: 1px solid var(--blue);
    border-bottom: 1px solid var(--blue);
}

.g_overview_box td {
    border-top: 1px solid #fff;
    border-bottom: 1px solid #fff;
}

/* 工藤興業背景エリア */

.g_bg_area {
    height: 600px;
    background-image: url(img/group_bg.jpg);
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
}

/* 工藤興業アクセス */

.g_access_area {
    padding: 3rem 0;
}

.g_access_box {
    width: 80%;
    margin: 0 auto;
}

iframe {
    width: 100%;
}

/* グループ企業ページのメディアクエリ */

@media screen and (max-width: 796px) {
    .g_header-img {
        background-position: 70%;
    }

    .g_about_box {
        width: 98%;
        padding: 3rem 0;
    }

    .g_overview_box {
        width: 98%;

    }

    .g_bg_area {
        height: 400px;
        background-position: 45%;
        background-size: auto;
        background-image: none;
    }

    .g_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/group_bg.jpg);
        background-size: cover;
    }

    .g_access_area {
        background-color: #fff;
    }

    .g_access_box {
        width: 98%;
    }
}

/* ＝会社概要ページ＝ */

.c_header-img {
    background-image: url(img/c_header_img.jpg);
    background-size: cover;
    background-position: 50%;
    text-align: center;
}

.message_area {
    background: linear-gradient(180deg, #E3F1FF 0%, #FFF 100%);
    padding: 3rem 0;
}

.m_title_area {
    text-align: center;
}

.m_text_area {
    width: 80%;
    margin: 0 auto;
    padding: 2rem 0;
}

.m_name_area {
    text-align: right;
}

.m_name_area strong {
    color: #000;
    text-align: right;
    font-family: "Noto Serif JP";
    font-size: 1.25rem;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
}


.overview_area {
    padding: 3rem 0;
}

.overview_box {
    width: 80%;
    margin: 0 auto;
}

.overview_box table {
    margin: 3rem 0;
}

/* 会社概要ページのメディアクエリ */

@media screen and (max-width: 796px) {
    .m_text_area {
        width: 98%;
    }
    .m_name_area strong {
        font-size: 1rem;
    }
    .overview_box {
        width: 98%;
    }
}

/* ＝お知らせ一覧と詳細＝ */

.blog-wrapper {
    width: 80%;
    margin: 0 auto;
    padding: 5rem 0;
}

.day-cat {
    display: flex;
    gap: 1.5rem;
}

.day-cat time {
    color: var(--blue);
}


.post-title {
    padding-bottom: 1rem;
    color: #555;
    font-size: 1.5rem;
    font-family: "Noto Serif JP";
}

.post-text {
    line-height: 2rem;
    color: #444;
    font-family: "Noto Serif JP";
}

.post-text img {
    width: auto;
}

.post-text p {
    font-size: 1rem;
    padding: 0;
}

@media screen and (max-width: 796px) {
    .blog-wrapper {
        width: 98%;
    }
    .post-title {
        font-size: 1.15rem;
    }
    .post-text {
        font-size: 0.825rem;
    }

}


/* ＝＝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: var(--bgcolor);
    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＝＝ */
/* ページトップデモ */
#page-top a {
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--blue);
    border: 1px solid 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: #555;
}

/*リンクを右下に固定*/
#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);
    }
}

/* フェード */
.fade {
    opacity: 0;
    visibility: hidden;
    transform: translateY(30px);
    transition: opacity 1s, visibility 1s, transform 1s;
}

/* フェードイン */
.is-fadein {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}
