@charset "utf-8";

/*---------- ビジュアル更新 ----------*/
strong {
    font-weight: bold;
}

em {
    font-style: italic;
}

blockquote {
    display: block;
    -webkit-margin-before: 1em;
    -webkit-margin-after: 1em;
    -webkit-margin-start: 40px;
    -webkit-margin-end: 40px;
}

.aligncenter {
    display: block;
    margin: 0 auto;
}

.alignright {
    text-align: right;
}

.alignleft {
    text-align: left;
}

img.alignright {
    margin-left: auto;
}

img.alignleft {
    margin-right: auto;
}

img[class*="wp-image-"],
img[class*="attachment-"] {
    max-width: 100%;
    height: auto;
}

.clearfix {
    overflow: hidden;
    zoom: 1;
}

.clearfix:after {
    content: ".";
    display: block;
    clear: both;
    height: 0;
    visibility: hidden;
}

pre {
    white-space: pre-wrap;
}

.gallery-item img {
    width: 100%;
}

/*-------------------------------*/
#content_wrap {
    position: relative;
}

/* #content_wrap::before {
	position: absolute;
	content: "";
	width: 100%;
	height: calc(100% + 100px);
	top: 0;
	left: 0;
	background-color: #F7F7F7;
	z-index: -50;
} */

/*------------ h1 ------------*/
#content_h {
    background: #1B1B1B;
    width: 100%;
    /* height: 900px; */
    position: relative;
    /* margin-top: 90px; */
}

#h_area {
    position: absolute;
    width: 100%;
    top: 48.9%;
    left: 50%;
    padding: 0 20px;
    transform: translate(-50%, -50%);
}

#h_area h1 {
    font-size: 1.8rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-align: center;
    color: #FFF;
    max-height: 100%;
    text-shadow: 0 0 5px rgb(34 34 34 / 16%);
}

#h_area h1::before {
    display: block;
    content: attr(data-txt) "";
    font-family: 'Figtree', 'Poppins', sans-serif;
    font-size: 7rem;
    font-weight: 600;
    letter-spacing: 0em;
    line-height: 1;
    color: #FFF;
    margin-bottom: 5px;
    max-height: 100%;
}

/* content_h */
#content_h img {
    display: block;
    width: 100%;
    height: 800px;
    object-fit: cover;
}

/* #content_h.contact_h {
	background: #1B1B1B url(../img/contact_h.jpg) no-repeat center / cover;
}

#content_h.error_h {
	background: #1B1B1B url(../img/news_h.jpg) no-repeat center / cover;
}

#content_h.news_h {
	background: #1B1B1B url(../img/news_h.jpg) no-repeat center / cover;
}
#content_h.works_h {
	background: #1B1B1B url(../img/works_h.jpg) no-repeat center / cover;
} */


/*------------ パンくず ------------*/
#breadcrumb {
    font-size: 1.5rem;
    letter-spacing: 0.05em;
    max-width: 1460px;
    margin: 0 auto 90px;
    padding: 0 20px;
    overflow: hidden;
    position: relative;
}

#breadcrumb .breadcrumb_inner {
    overflow: hidden;
}

#breadcrumb .breadcrumb_inner a {
    position: relative;
    color: #222;
    padding: 0 0 0 0;
    margin: 0 29px 0 0;
}

#breadcrumb .breadcrumb_inner a:after {
    position: absolute;
    content: "";
    display: block;
    width: 8px;
    height: 8px;
    border-top: 1px solid #AAAAAA;
    border-right: 1px solid #AAAAAA;
    top: 7px;
    right: -17px;
    margin: auto;
    transform: rotate(45deg);
}

/*------------ content_area内 ------------*/
.content_area {
    padding: 31px 0 240px;
    margin: -210px auto 0;
    position: relative;
    z-index: 5;
}

.content_area::before {
    position: absolute;
    content: "";
    width: 100%;
    min-width: 1620px;
    height: 212px;
    top: 0;
    left: 50%;
    background: #FFF;
    clip-path: polygon(6.423% 0%, 100% 0%, 100% 100%, 0% 100%, 0% 97.592%, 5.291% 6.373%, 5.291% 6.373%, 5.366% 5.24%, 5.451% 4.201%, 5.547% 3.263%, 5.653% 2.432%, 5.766% 1.713%, 5.887% 1.111%, 6.014% 0.634%, 6.147% 0.285%, 6.283% 0.072%, 6.423% 0%);
    transform: translateX(-50%);
}

.inner {
    width: 1040px;
    max-width: 100%;
    margin: 0 auto 0;
    padding: 0 20px 0;
    position: relative;
}

.content_area .inner>*:first-child {
    margin-top: 0;
}

.content_area .inner>*:last-child {
    margin-bottom: 0;
}

a {
    color: #222;
    text-decoration: underline;
}

a:visited {
    color: #333;
}

a[target="_blank"] {
    padding-right: 25px;
    background: url(../img/popup.svg) no-repeat center right 5px;
}

a.non[target="_blank"] {
    padding-right: 0;
    background: none;
}

a[href$=".doc"],
a[href$=".docx"] {
    padding-right: 25px;
    background: url(../img/icon_word.svg) no-repeat center right 5px;
}

a[href$=".xls"],
a[href$=".xlsx"] {
    padding-right: 25px;
    background: url(../img/icon_excel.svg) no-repeat center right 5px;
}

a[href$=".pdf"] {
    padding-right: 25px;
    background: url(../img/icon_pdf.svg) no-repeat center right 5px;
}

a.none[href$=".pdf"] {
    padding-right: 0;
    background: none;
}

[href^="tel:"] {
    color: #333 !important;
    pointer-events: none;
    text-decoration: none;
}

a:hover {
    text-decoration: none;
}

/* page catch */
.page_catch {
    margin-bottom: 90px;
}

.page_catch strong {
    display: block;
    font-size: 3.5rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    line-height: 1.714;
    text-align: center;
}

.page_catch_img {
    width: 1300px;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    clip-path: polygon(0px 0px, calc(100% - 102px) 0px, 100% 102px, 100% 100%, 102px 100%, 0px calc(100% - 102px));
    margin: 75px 0 0;
}

.page_catch p {
    text-align: center;
    margin: 55px 0 0;
}

/* 各ページh2 */
h2 {
    font-size: 2.8rem;
    font-weight: bold;
    letter-spacing: 0.06em;
    line-height: 1.666;
    padding: 0 0 36px;
    margin: 50px 0 25px;
    position: relative;
}

h2::after {
    position: absolute;
    content: "";
    width: 60px;
    height: 1px;
    background: red;
    left: 0;
    bottom: 0;
}

/* 各ページh3 */
h3 {
    font-size: 2.0rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    margin: 45px 0 10px;
}

h2+h3 {
    margin: 32px 0 10px;
}

/* 各ページh4 */
h4 {
    font-size: 1.8rem;
    font-weight: 400;
    margin: 35px 0 15px;
}

/* 各ページh5 */
h5 {
    font-size: 1.6rem;
    font-weight: 400;
    margin: 30px 0 15px;
}

/* 見出しh */
.sec_ttl {
    margin: 90px auto 40px auto;
    display: block;
    box-sizing: border-box;
}

div>.sec_ttl:first-child {
    margin-top: 0;
}

.sec_ttl span {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 500;
    letter-spacing: 0;
    color: #DDD;
    margin-bottom: 16px;
    position: relative;
}

.sec_ttl span::after {
    display: block;
    content: "";
    width: 29px;
    height: 1px;
    background: #DDD;
    margin-left: 14px;
}

.sec_ttl h2 {
    font-size: 3.2rem;
    font-weight: bold;
    letter-spacing: 0.06em;
    line-height: 1.71875;
    padding-left: 0;
    margin: 0;
}

.sec_ttl h2::before {
    content: none;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
    vertical-align: bottom;
}

p {
    display: block;
    margin-bottom: 30px;
    line-height: 1.875;
    max-height: 100%;
}

ul,
ol {
    padding-left: 20px;
    margin: 10px 0;
}

li {
    line-height: 2.7rem;
    margin-bottom: 5px;
    max-height: 100%;
}

ul>li {
    list-style: disc;
}

ol>li {
    list-style: decimal;
}

ul>li:last-child,
ol>li:last-child {
    margin-bottom: 0;
}

/*------------ table ------------*/
table {
    border-collapse: collapse;
    border-spacing: 0;
    width: 100%;
    margin: 20px auto;
}

table tr {
    border-bottom: 1px solid #CCCCCC;
}

table tr:first-child {
    border-top: 1px solid #CCCCCC;
}

table th {
    font-weight: 500;
    letter-spacing: 0.06em;
    /* 	line-height: 1.7; */
    text-align: left;
    padding: 20px 25px;
    /* background: #F1F1F3; */
    width: 25.45%;
    vertical-align: unset;
}

table td {

    letter-spacing: 0.06em;
    /* 	line-height: 1.7; */

    padding: 20px;
}

table td ul {
    list-style: disc;
    padding-left: 20px;
    margin-bottom: 0;
}

/*------------ page link ------------*/
.pl_list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: 0 0 75px;
}

.pl_item {
    width: calc((100% - 42px) / 3);
    border-bottom: 1px solid #CCC;
}

.pl_item:nth-child(-n+3) {
    border-top: 1px solid #CCC;
}

.pl_link {
    display: block;
    color: #222;
    text-decoration: none;
    padding: 26px 48px 16px 20px;
    position: relative;
    transition: all .3s ease;
}

.pl_link::after {
    position: absolute;
    display: block;
    content: "";
    width: 20px;
    height: 20px;
    top: -5px;
    bottom: 0;
    right: 22px;
    margin: auto;
    background: #222222 url(../img/icon_arrow_white.svg) no-repeat center / 6px auto;
    border-radius: 50%;
    transform: rotate(90deg);
    transition: all .3s ease;
    opacity: .7;
}

.pl_link span {
    font-size: 1.6rem;
    font-weight: bold;
    letter-spacing: 0.1em;
    line-height: 1.5;
    position: relative;
}

.pl_link span::after {
    display: block;
    content: attr(data-txt) "";
    font-family: 'Poppins', 'Noto Sans JP', sans-serif;
    font-size: 1.0rem;
    font-weight: 500;
    letter-spacing: 0;
    /* margin: 0; */
}

/* hover */
.pl_link:hover {
    background: #F2F2F2;
}

.pl_link:hover::after {
    opacity: 1;
}

/*------------ others ------------*/
.align_width {
    max-width: 755px;
}

.link_btn {
    position: relative;
    /* min-width: 269px; */
    /* max-width: 100%; */
    /* height: 65px; */
}

.link_btn.center {
    margin: auto;
    text-align: center;
}

.link_btn a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    /* width: 100%; */
    /* height: 100%; */
    min-width: 269px;
    max-width: 100%;
    height: 65px;
    padding: 6px 55px;
    font-size: 1.7rem;
    font-weight: bold;
    letter-spacing: 0;
    color: #222;
    background-color: transparent;
    border: 1px solid #CCC;
    cursor: pointer;
    text-decoration: none;
    transition: all .3s ease;
    border-radius: 50px;
    max-height: 100%;
    position: relative;
}

.link_btn a::before {
    position: absolute;
    content: "";
    width: 6px;
    height: 6px;
    background-color: #E63944;
    left: 30px;
    border-radius: 50%;
    transition: all .3s ease;
}

.link_btn a:hover {
    color: #FFF;
    background-color: #E63944;
    border-color: #E63944;
}

.column_02,
.column_03 {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.column_02>div {
    width: calc((100% - 20px) / 2);
    margin-right: 20px;
    box-sizing: border-box;
}

.column_02>div:nth-child(2n) {
    margin: 0;
}

.column_03>div,
.column_03>ul {
    width: calc((100% - 42px) / 3);
    margin-right: 21px;
    box-sizing: border-box;
}

.column_03>div img {
    margin: 0;
}

.column_03>div:nth-child(3n),
.column_03>ul:nth-child(3n) {
    margin: 0;
}

.column_04 {
    display: flex;
    flex-wrap: wrap;
}

.column_04 ul {
    line-height: 1.85em;
    margin-right: 2%;
    width: 23.5%;
}

.column_04 ul:nth-child(4n) {
    margin-right: 0;
}

.txt_img_column {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.txt_img_column .txt_img_wide {
    width: 56.3%;
}

.txt_img_column .txt_img_narrow {
    width: 40%;
}

.txt_right {
    text-align: right !important;
}

.txt_left {
    text-align: left !important;
}

.txt_center {
    text-align: center !important;
}

.gmap {
    height: 0;
    overflow: hidden;
    padding-bottom: 75%;
    position: relative;
    border: 1px solid #D5D7DB;
}

.gmap iframe {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
}

/*--- pagenav ---*/
.wp-pagenavi {
    position: relative;
    margin-top: 23px;
    text-align: center;
}

.wp-pagenavi a {
    text-decoration: none !important;
}

.wp-pagenavi .current,
.wp-pagenavi .page {
    position: relative;
    display: inline-block;
    font-family: 'Roboto';
    font-weight: 500;
    padding: 7px 3px 2px;
    width: 40px;
    height: 40px;
    margin: 0 4px;
    transition: all 0.3s;
    /* background: #222; */
    /* border: 1px solid #ccc; */
    border-radius: 50%;
}

.wp-pagenavi .current,
.wp-pagenavi .page:hover {
    color: #FFF;
    background: #E52F3B;
}

/* .wp-pagenavi .current::before,
.wp-pagenavi .page::before {
	content: '';
	display: block;
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	margin: auto;
	width: 18px;
	height: 1px;
	background: #229F42;
	opacity: 0;
	transition: opacity 0.3s;
} */

/* .wp-pagenavi .current::before,
.wp-pagenavi .page:hover::before {
	opacity: 1;
} */

/* .previouspostslink,
.nextpostslink {
    position: absolute;
    bottom: 0;
    padding-bottom: 5px;
    transition: opacity 0.3s;
}

.previouspostslink {
    left: 0;
    padding-left: 20px;
}

.nextpostslink {
    right: 0;
    padding-right: 20px;
}

.previouspostslink:hover,
.nextpostslink:hover {
    opacity: .65;
}

.previouspostslink::before,
.nextpostslink::before {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    bottom: 2px;
    margin: auto;
    width: 8px;
    height: 8px;
    transform: rotate(45deg);
    transition: all .3s ease;
}

.previouspostslink::before {
    left: 3px;
    border-bottom: 2px solid #222;
    border-left: 2px solid #222;
}

.nextpostslink::before {
    right: 3px;
    border-top: 2px solid #222;
    border-right: 2px solid #222;
} */

/* .previouspostslink:hover,
.nextpostslink:hover{
	opacity: .7;
} */
/* .previouspostslink:hover::before,
.nextpostslink:hover::before {
	border-color: #229F42;
} */

/* .previouspostslink::after,
.nextpostslink::after {
	content: '';
	display: block;
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 1px;
	background: #229F42;
	opacity: 0;
	transition: opacity 0.3s;
}

.previouspostslink:hover::after,
.nextpostslink:hover::after {
	opacity: 1;
} */


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

    /*------------ h1 ------------*/
    #content_h {

        min-width: 100%;
        /* margin-top: 65px; */
    }

    #content_h img {
        height: 300px;
    }

    #h_area {
        top: 53%;
        /* padding: 0 60px; */
    }

    #h_area h1 {
        font-size: 1.4rem;
    }

    #h_area h1::before {
        font-size: 4rem;
    }

    /*------------ パンくず ------------*/
    #breadcrumb {
        font-size: 1.2rem;
        margin: 20px auto 35px;
    }

    #breadcrumb .breadcrumb_inner a {
        margin: 0 17px 0 0;
    }

    #breadcrumb .breadcrumb_inner a:after {
        width: 6px;
        height: 6px;
        top: 7px;
        right: -11px;
    }

    /*------------ content_area内 ------------*/
    .content_area {
        padding-bottom: 55px;
        margin: -48px auto 0;
    }

    .content_area::before {
        min-width: auto;
        height: 50px;
        left: 50%;
    }

    /* page catch */
    .page_catch {
        margin-bottom: 40px;
    }

    .page_catch_img {
        width: calc(100% + 20px);
        clip-path: polygon(0px 0px, calc(100% - 35px) 0px, 100% 35px, 100% 100%, 35px 100%, 0px calc(100% - 35px));
        margin: 30px 0 0;
    }

    .page_catch strong {
        font-size: 2rem;
        font-size: min(2.5rem, 5.2vw);
        letter-spacing: 0;
    }

    .page_catch p {
        margin: 30px 0 0;
    }

    /* 各ページh2 */

    h2 {
        font-size: 2.0rem;
        padding: 0 0 20px;
        margin: 45px 0 15px;
    }

    /* 各ページh3 */
    h3 {
        font-size: 1.8rem;
        margin-top: 20px;
    }

	h2+h3 {
		margin: 20px 0 10px;
	}

    /* 各ページh4 */

    h4 {
        font-size: 1.6rem;
        margin-top: 20px;
    }

    /* 各ページh5 */
    h5 {
        font-size: 1.5rem;
        margin-top: 20px;
    }

    /* 見出しh */
    .sec_ttl {
        margin: 50px auto 25px;
    }

    .sec_ttl span {
        font-size: 1.2rem;
        margin-bottom: 6px;
    }

    .sec_ttl span::after {
        width: 20px;
        margin-left: 10px;
    }

    .sec_ttl h2 {
        font-size: 2.2rem;
    }

    [href^="tel:"] {
        pointer-events: all;
        text-decoration: underline;
    }

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

    p {
        margin-bottom: 15px;
        line-height: 1.8;
    }

    /*------------ table ------------*/


    table th {
        padding: 15px 7px;
        /* width: 30%; */
    }

    table td {
        padding: 15px 10px 15px 5px;
    }


    /*------------ page link ------------*/
    .pl_list {
        margin: 0 0 45px;
    }

    .pl_item {
        width: calc((100% - 10px) / 2);
        border-top: none !important;
        display: flex;
        flex-direction: column;
        align-items: stretch;
    }

    .pl_item:nth-child(-n+2) {
        border-top: 1px solid #CCC !important;
    }

    .pl_link {
        display: flex;
        flex-direction: column;
        justify-content: center;
        /* align-items: stretch; */
        height: 100%;
        padding: 16px 27px 12px 5px;
    }

    .pl_link::after {
        width: 15px;
        height: 15px;
        right: 5px;
    }

    .pl_link span {
        font-size: 1.3rem;
    }


    /* hover */


    /*------------ others ------------*/
    /*     .link_btn {
        margin: auto;
    } */

    .link_btn a {
        font-size: 1.4rem;
        height: 50px;
        padding: 6px 35px;
    }

	.link_btn a::before {
    left: 18px;
}

    .column_02>div,
    .column_03>div {
        width: 100%;
        margin-right: 0;
        margin-bottom: 20px;
    }

    .column_03>ul {
        width: 100%;
        margin-right: 0;
    }

    .column_04 ul {
        margin: 0;
        width: 100%;
    }

    .txt_img_column .txt_img_wide {
        width: 100%;
    }

    .txt_img_column .txt_img_narrow {
        width: 100%;
        /* 		margin: 20px 0; */
    }

    .txt_img_column .txt_img_narrow+.txt_img_wide {
        margin: 20px 0 0;
    }

    /*--- pagenav ---*/
    .wp-pagenavi {
        padding: 0 56px;
        margin-top: 40px;
    }

    .wp-pagenavi .current,
    .wp-pagenavi .page {
        /*padding: 4px 8px 3px;*/
        width: 33px;
		height:33px;
        margin: 0 3px;
    }

    /* .wp-pagenavi .current::before,
	.wp-pagenavi .page::before {
		width: 13px;
	} */

    /*.previouspostslink,
    .nextpostslink {
        position: absolute;
        bottom: 0;
        padding: 0 0 5px;
    }

    .previouspostslink {
        padding-left: 16px;
    }

    .nextpostslink {
        padding-right: 16px;
    }

    .previouspostslink::before,
    .nextpostslink::before {
        bottom: 3px;
        width: 6px;
        height: 6px;
        border-width: 1px !important;
    } */

}