@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 {
    position: relative;
    background: #65BC7B;
    height: 410px;
    position: relative;
    width: 100%;
    margin-top: 90px;
}

#h_area {
    position: absolute;
    width: 100%;
    top: 51.6%;
    left: 50%;
    font-family: 'Noto Serif JP', serif;
    padding: 0 20px;
    transform: translate(-50%, -50%);
}

#h_area h1 {
    font-size: 1.4rem;
    font-weight: 400;
    letter-spacing: 0.06em;
    text-align: center;
    color: #222;
    max-height: 100%;
}

#h_area h1::before {
    display: block;
    content: attr(data-txt) "";
    font-size: 3.4rem;
    font-weight: 500;
    letter-spacing: 0;
    margin-bottom: 6px;
    max-height: 100%;
}

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

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

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

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

#content_h.service_h {
    background: url(../img/service_h.jpg) no-repeat center / cover;
}

/*------------ パンくず ------------*/
#breadcrumb {
    font-size: 1.4rem;
    letter-spacing: 0.05em;
    max-width: 1040px;
    margin: 25px auto 71px;
    padding: 0 20px;
    overflow: hidden;
}

#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: 6px;
    right: -17px;
    margin: auto;
    transform: rotate(45deg);
}

/*------------ content_area内 ------------*/
.content_area {
    padding-bottom: 103px;
    margin: 0 auto;
    position: relative;
}

.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;
}

/* 各ページh2 */
h2 {
    font-size: 3.0rem;
    font-weight: 400;
    line-height: 1.666;
    margin: 50px 0 20px;
    position: relative;
}

/* 各ページh3 */
h3 {
    font-size: 2.2rem;
    font-weight: 600;
    font-family: 'Noto Serif JP';
    margin: 45px 0 15px;
}

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

.agreement h4 {
    margin: 0;
}

/* 各ページ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: #00A8CA;
    ;
    margin-bottom: 16px;
    position: relative;
}

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

.sec_ttl h3 {
    font-family: 'Noto Serif JP', serif;
    font-size: 3.2rem;
    font-weight: bold;
    letter-spacing: 0.06em;
    line-height: 1.71875;
    padding-left: 0;
    margin: 0;
}

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

.ttl_h2 {
    position: relative;
    font-family: 'Noto Serif JP', serif;
    font-weight: bold;
    letter-spacing: 0.06em;
    line-height: 1.43;
    padding: 0 0 33px 0;
    margin: 20px 0 60px 0;
    text-align: center;
}

.ttl_h2:after {
    content: "";
    position: absolute;
    width: 72px;
    height: 1px;
    bottom: 0;
    left: calc(50% - 36px);
    background: #00A8CA;
}

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

p {
    display: block;
    margin-bottom: 30px;
    line-height: 1.875em;
    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;
}

/*------------ list-style ------------*/

.circled-decimal>li {
    list-style: none;
    padding-left: 2em;
    text-indent: -3.2em;
}

ol.parenthesized-decimal {
    padding-left: 2.3rem;
}

.parenthesized-decimal>li {
    list-style-type: none;
    counter-increment: cnt;
	text-indent: -1.7em;
    padding-left: 0.4rem;
}

.parenthesized-decimal>li::before {
    content: "(" counter(cnt) ") ";
}

li ol.katakana-iroha>li{
    list-style: none;
	text-indent: -2em;
    padding-left: 1.3rem;
}


/*------------ 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.1em;
    line-height: 2.133;
    text-align: left;
    padding: 20px 25px;
    background: #F1F1F3;
    width: 25.45%;
    vertical-align: unset;
}

table td {

    letter-spacing: 0.1em;
    line-height: 2.133;

    padding: 20px;
}

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


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

.link_btn {
    position: relative;
    width: 260px;
    max-width: 100%;
    height: 60px;
}

.link_btn.center {
    margin: auto;
}

.link_btn a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    padding: 6px;
    font-family: 'Noto Serif JP', serif;
    font-size: 1.6rem;
    letter-spacing: 0.06em;
    color: #FFF;
    /*background-color: #229F42;*/
    background-color: #00A8CA;
    border-radius: 100px;
    cursor: pointer;
    text-decoration: none;
    transition: all .3s ease;
    max-height: 100%;
    position: relative;
}

.link_btn a:hover {
    /*background-color: #23C74D;*/
    background-color: #24B7E8;
}

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

.column_02>div {
    width: 48%;
    margin-right: 4%;
    box-sizing: border-box;
}

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

.column_03>div,
.column_03>ul {
    width: 31.2%;
    margin-right: 3.2%;
    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: 80px;
    text-align: center;
}

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

.wp-pagenavi .current,
.wp-pagenavi .page {
    position: relative;
    display: inline-block;
    padding: 0 10px 5px;
    margin: 0 7px;
    transition: color 0.3s;
    border: none;
}

.wp-pagenavi .current,
.wp-pagenavi .page:hover {
    color: #229F42;
}

.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: color 0.3s;
}

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

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

.previouspostslink:hover,
.nextpostslink:hover {
    color: #229F42;
}

.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::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;
}

/*------------ プライバシーポリシー ------------*/

.privacy_ttl {
    padding: 150px 0 50px 0;
    font-family: 'Noto Serif JP', serif;
    font-weight: 600;
}


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

    /*------------ h1 ------------*/
    #content_h {
        height: 220px;
        min-width: 100%;
        margin-top: 65px;
    }

    #h_area {
        top: 50%
    }

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

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

    /*------------ パンくず ------------*/
    #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;
    }

    /* 各ページh2 */

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

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

    /* 各ページ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 h3 {
        font-size: 2.2rem;
    }

    .ttl_h2 {
        font-size: 2.2rem;
        padding-bottom: 20px;
        margin-bottom: 30px;
    }

    .ttl_h2:after {
        width: 30px;
        left: calc(50% - 15px);
    }



    [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;
    }

    /*------------ others ------------*/
    .link_btn a {
        font-size: 1.4rem;
        padding: 15px 20px;
    }

    .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: 0 7px 5px;
        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;
    }

    /*------------ sp プライバシーポリシー ------------*/

    .privacy_ttl {
        padding: 50px 0 20px 0;
    }


}