@charset "UTF-8";

/*
    background-color: #1E6FC1;
    background-color: #378279;
*/

body {
    font-family: 'Noto Sans JP', sans-serif;
    color: #000;
    background-color: #fff;
    width: 100%;
    text-align: center;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
html {
    font-size: 18px;
    line-height: 2.0;
    word-wrap: break-word;
}
@media screen and (max-width: 600px) {
    html {
        font-size: 16px;
    }
}

a,
a:visited,
a:hover {
    color: #0087f0;
}
a:hover {
    color: #0067d0;
}

/* LAYOUT */

#header {
    position: relative;
    margin: 0 auto 0 auto;
    max-width: 1140px;
    text-align: left;
}
#header:after {
    content: " ";
    display: block;
    height: 0;
    visibility: hidden;
    clear: both;
}

.main-container {
    position: relative;
    top: 0;
    left: 0;
}
.main-section {
    box-sizing: border-box;
    max-width: 1140px;
    margin: 60px auto 60px auto;
    padding: 10px 20px 20px 20px;
    text-align: left;
}
.home .main-section {
    margin-top: 0;
}
.main-section:after {
    content: " ";
    display: block;
    height: 0;
    visibility: hidden;
    clear: both;
}

.section {
    max-width: 1140px;
    margin: 90px auto;
    text-align: left;
}
.section p {
    text-align: justify;
    text-justify: inter-ideograph;
    margin-bottom: 1.5em;
}
.section.first-section {
    margin-top: 0;
}
.section-780 {
    max-width: 780px;
    margin-left: auto;
    margin-right: auto;
}
.section:after {
    content: " ";
    display: block;
    height: 0;
    visibility: hidden;
    clear: both;
}

@media screen and (min-width: 600px) {
    /* PC */
    #main {
        float: left;
        width: 70%;
        margin-top: 0;
    }
    #sidebar {
        float: left;
        width: 30%;
        box-sizing: border-box;
        padding: 0 0 30px 40px;
        margin-top: 0;
    }
}

/* PAGETOP */

#pagetop {
    position: fixed;
    bottom: 10px;
    right: 10px;
}
#pagetop a,
#pagetop a:visited,
#pagetop a:hover {
    background-color: #fff;
    color: #1E6FC1;
    text-decoration: none;
    padding: 10px 14px 14px 14px;
    border-radius: 3px;
    font-size: 16px;
    text-align: center;
    display: block;
    opacity: 1.0;
    line-height: 1.0;
    border: solid 1px #1E6FC1;
}
#pagetop a:hover {
    text-decoration: none;
}
@media print {
    #pagetop {
        display: none;
    }
}

/* === ADDITION === */

a.ul,
a.ul:visited,
a.ul:hover {
    color: #444344;
    text-decoration: underline;
}
a.ul:hover {
    color: #888;
}
hr {
    margin: 40px 0;
    border: 0;
    border-top: 1px solid #acacac;
}
.page h3 {
    font-size: 24px;
    font-weight: 600;
    margin: 0 0 2em 0;
}
.page h3.images {
    margin: 0 0 1.5em 0;
}

/* FUNCTION: nb-news */

.news-container {
    clear: both;
    box-sizing: border-box;
    margin: 0 auto 80px auto;
    max-width: 1140px;
    padding-top: 40px;
    text-align: center;
}
@media screen and (max-width : 1140px) {
    .news-container {
        padding-left: 10px;
        padding-right: 10px;
    }
}
@media screen and (min-width: 600px) {
    .news-container {
        margin: 20px auto 100px auto;
    }
}
.nb-news {
    line-height: 1.1;
}
.nb-news table {
    border-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
    border-top: solid 1px #222;
}
.nb-news table tr {
    border-bottom: solid 1px #222;
}
.nb-news table tr th,
.nb-news table tr td {
    border-style: none;
    padding: 30px 10px;
    text-align: left;
    font-weight: normal;
    color: #222;
}
.nb-news td a,
.nb-news td a:visited,
.nb-news td a:hover {
    color: #454545;
}
.nb-news td.news-date {
    width: 90px;
    font-size: 93%;
    font-weight: 600;
}
.nb-news td.news-date span {
    display: block;
}
.nb-news td.news-category {
    width: 130px;
}
.nb-news td.news-category a,
.nb-news td.news-category a:visited,
.nb-news td.news-category a:hover {
    display: block;
    padding: 5px 5px;
    font-size: 14px;
    font-weight: bold;
    font-weight: 600;
    text-align: center;
    background-color: #378279;
    color: #fff;
}
.nb-news td.news-link a:hover {
    opacity: 0.7;
}
.nb-news td.news-title {
    margin: 0;
    padding: 0 10px;
    font-weight: normal;
}
.nb-news .news-link-btn {
    width: 90px;
    text-align: center;
}
@media screen and (max-width: 680px) {
    .nb-news td {
        display: inline-block;
    }
    .nb-news td.news-category {
        width: auto;
    }
    .nb-news td.news-category a,
    .nb-news td.news-category a:visited,
    .nb-news td.news-category a:hover {
        min-width: 100px;
        display: inline-block;
        padding: 5px 5px;
        margin-right: 15px;
        font-size: 14px;
        font-weight: 600;
        color: #fff;
        background-color: #378279;
        text-align: center;
    }
    .nb-news table tr th,
    .nb-news table tr td {
        padding: 10px 0 5px 0;
    }
    .nb-news table tr td.news-title {
        display: block;
        padding: 5px 0 10px 0;
    }
    .nb-news table tr {
        display: block;
        padding: 10px 0;
        border-top-style: none;
    }
}

/* FUNCTION: nb-column-posts */

.nb-column-posts .post-meta {
    display: grid;
    grid-template-columns: 1fr 120px;
    grid-column-gap: 20px;
    align-items: center;
}
.nb-column-posts .post-meta {
    font-size: 14px;
    margin: 1em 0 0.5em 0;
    line-height: 1.4;
}
.nb-column-posts .title {
    margin: 0.5em 0;
}

.nb-column-posts a.post-title,
.nb-column-posts a.post-title:visited,
.nb-column-posts a.post-title:hover {
    color: #000;
    margin: 15px 0 0 0;
    font-size: 16px;
}
.nb-column-posts .post-meta .category-link a,
.nb-column-posts .post-meta .category-link a:visited,
.nb-column-posts .post-meta .category-link a:hover {
    display: block;
    text-align: center;
    color: #fff;
    background-color: #1E6FC1;
    padding: 3px 15px;
}

.nb-column-posts .entry-thumbnail {
    aspect-ratio: 16 / 9;
}
.nb-column-posts .entry-thumbnail a,
.nb-column-posts .entry-thumbnail > div {
    display: block;
}
.nb-column-posts .entry-thumbnail a,
.nb-column-posts .entry-thumbnail > div {
    background-attachment: scroll;
    background-repeat: no-repeat;
    background-position: 50% 50%;
    background-size: cover;
}
.nb-column-posts .entry-thumbnail img {
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

/* PAGE HEADER */

.page-header {
    position: relative;
    overflow: hidden;
    background-color: #cffcff;;
    display: flex;
    justify-content: center;
    align-items: center;
}
.page-header h1 {
    color: #1E6FC1;
    margin: 0;
    padding: 70px 0;
    font-size: 180%;
}


/* FOOTER */

#footer {
    padding: 40px 0 20px 0;
    margin: 0;
    text-align: left;
    border-top: solid 1px #1E6FC1;
}
#footer img {
    max-width: 95%;
    height: auto;
}
#footer a:hover {
    opacity: 0.8;
}
.footer-content {
    box-sizing: border-box;
    max-width: 1160px;
    margin: 0 auto 0 auto;
    padding: 20px 10px;
    font-size: 14px;
    line-height: 2.0;
}
.footer-logo {
    margin: 5px 0;
}
.company-info {
    margin: 15px 0;
}

.footer-menu .menu {
    list-style-type: none;
    width: 100%;
    margin: 0 0 15px 0;
    padding: 0;
    line-height: 100%;
    text-align: right;
    font-size: 15px;
}
.footer-menu .menu:after {
    content: " ";
    display: block;
    height: 0;
    visibility: hidden;
    clear: both;
}
.footer-menu .menu li {
    display: inline-block;
    margin: 10px;
    padding: 0;
}
.footer-menu .menu li small {
    display: none;
}
.footer-menu .menu li a,
.footer-menu .menu li a:visited,
.footer-menu .menu li a:hover {
    display: inline-block;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    line-height: 1.0;
    text-decoration: none;
    font-weight: 400;
    color: #000;
}
#footer .sns-links {
    text-align: right;
}
@media screen and (max-width : 640px) {
    .footer-content {
        text-align: center;
    }
    .footer-menu .menu {
        margin-top: 50px;
        text-align: center;
        font-size: 13px;
    }
    .footer-sub-content {
        margin: 0 auto 0 auto;
        text-align: center;
    }
    .footer-sub-menu .menu {
        text-align: center;
    }
    #footer .sns-links {
        text-align: center;
    }

    .company-info {
        margin: 15px auto;
        padding: 0 10px;
        text-align: left;
    }
}

.copyright {
    background-color: #1E6FC1;
    color: #fff;
}
.copyright p {
    box-sizing: border-box;
    max-width: 1160px;
    margin: 0 auto 0 auto;
    padding: 15px 10px;
    line-height: 1.0;
    font-size: 13px;
    text-align: left;
}
@media screen and (max-width : 640px) {
    .copyright p {
        text-align: center;
    }
}

/* Breadcrumb */

.breadcrumb-list {
    box-sizing: border-box;
    max-width: 1140px;
    margin: 30px auto 0 auto;
    margin-bottom: 40px;
    padding: 0 20px;
    text-align: left;
    font-size: 14px;
    color: #404040;
}
.breadcrumb-list a,
.breadcrumb-list a:visited,
.breadcrumb-list a:hover {
    color: #000;
}
.breadcrumb-separator {
    color: #acacac;
    font-size: 110%;
}

/* POST */

.archive-meta {
    margin: 0 0 40px 0;
}
.filter-tag {
    max-width: 300px;
    display: grid;
    grid-template-columns: 90px 1fr;
    border: solid 1px #000;
}
.filter-tag div {
    padding: 5px 10px;
}
.filter-tag div:first-child {
    background-color: #000;
    color: #fff;
    text-align: center;
}
@media screen and (max-width : 400px) {
    .filter-tag {
        max-width: 100%;
    }
}

.entry-content p {
    text-align: justify;
    text-justify: inter-ideograph;
    margin-bottom: 1.5em;
}
.entry-header {
    margin-bottom: 40px;
}
.post-tag a,
.post-tag a:visited,
.post-tag a:hover {
    display: inline-block;
    padding: 2px 8px;
    font-size: 12px;
    font-weight: bold;
    color: #0087f0;
    border: solid 1px #0087f0;
    text-align: center;
    margin-right: 5px;
}

#main {
    padding-top: 0;
}
#sidebar {
    text-align: left;
    font-size: 90%;
}
#sidebar a,
#sidebar a:visited,
#sidebar a:hover {
    color: #000;
}
#sidebar a:visited {
    color: #000;
}
#sidebar a:hover {
    opacity: 0.75;
}
#sidebar .widgettitle {
    font-weight: 600;
    font-size: 18px;
    letter-spacing: 1px;
}
#sidebar .sidebar-widgets ul li:before {
    content: "";
    display: inline-block;
    width: 0;
    height: 0;
    border-left: 4px solid #222;
    border-bottom: 4px solid transparent;
    border-top: 4px solid transparent;
    margin: 0 6px 0 3px;
    position: relative;
    top: -1px;
}

/* PAGE */

h2 {
    font-size: 32px;
    font-weight: bold;
    margin: 0;
    padding: 0;
    margin-bottom: 60px;
    text-align: center;
}
h2 a,
h2 a:visited,
h2 a:hover {
    color: #222;
}
h2.entry-title {
    text-align: left;
    margin: 0;
}

/* POST */

.entry-body {
    margin: 70px 0;
}
.footer-pagelinks {
    text-align: center;
    margin: 80px 0 0 0;
}
.footer-pagelinks {
    display: grid;
    grid-template-columns: 1fr 1.5fr 1fr;
    grid-gap: 10px;
}
.footer-pagelinks > div {
    align-self: end;
}
.footer-pagelinks a,
.footer-pagelinks a:visited,
.footer-pagelinks a:hover {
    display: inline-block;
    font-size: 16px;
    color: #000;
}
.footer-pagelinks span.arrow {
    position: relative;
    top: 2px;
    font-size: 22px;
}
.footer-pagelinks .center {
    position: relative;
    top: -2px;
}
.footer-pagelinks .prev {
    text-align: left;
}
.footer-pagelinks .next {
    text-align: right;
}

@media screen and (max-width : 640px) {
    .footer-pagelinks a,
    .footer-pagelinks a:visited,
    .footer-pagelinks a:hover {
        font-size: 13px;
    }
    .footer-pagelinks span.arrow {
        font-size: 16px;
    }
}

.entry-single .post-date {
    font-size: 14px;
    text-align: left;
    margin: 0;
    padding: 0;
}
.entry-single h2.entry-title {
    font-weight: 500;
    margin: 0 0 15px 0;
    padding: 0;
    line-height: 1.4;
}
.entry-single h2.entry-title a,
.entry-single h2.entry-title a:visited,
.entry-single h2.entry-title a:hover {
    font-size: 26px;

}
@media screen and (max-width : 600px) {
    .entry-single h2.entry-title a,
    .entry-single h2.entry-title a:visited,
    .entry-single h2.entry-title a:hover {
        font-size: 24px;
    }
}

/* ADDITION */

.top-image {
    margin-bottom: 48px;
}

.pamphlet-download img {
    border: solid 1px #333;
}
.pamphlet-download a.dl,
.pamphlet-download a.dl:visited,
.pamphlet-download a.dl:hover {
    display: block;
    background-color: #fcfcd9;
    color: #000;
    font-size: 16px;
    font-weight: 500;
    padding: 8px 10px;
}

h2.top-news {
    text-align: left;
    font-size: 24px;
    font-weight: 500;
    margin: 2em 0 1em 0;
    padding: 0;
}

.box {
    border: solid 1px #1E6FC1;
    padding: 10px 20px 20px 20px;
}
.box h5 {
    color: #1E6FC1;
    font-size: 100%;
    border-bottom: solid 1px #1E6FC1;
    padding: 0;
    margin: 0;
    padding-bottom: 5px;
    margin-bottom: 15px;
}
.gmap {
    margin: 60px 0;
}

dl dt .bi {
    margin-right: 10px;
}
dl.g-box,
dl.b-box {
    margin: 0;
    padding: 0;
}
dl.g-box dt::before,
dl.b-box dt::before {
    content: "\F232";
    font-size: 95%;
    font-family: 'bootstrap-icons', sans-serif;
    margin-right: 10px;
    vertical-align: middle;
}
dl.g-box dt,
dl.b-box dt {
    padding: 10px 18px;
    color: #fff;
}
dl.g-box dd,
dl.b-box dd {
    padding: 18px;
    margin-bottom: 30px;
}

dl.b-box dt {
    background-color: #1E6FC1;
}
dl.b-box dd {
    border: solid 1px #1E6FC1;
}
dl.g-box dt {
    background-color: #378279;
}
dl.g-box dd {
    border: solid 1px #378279;
}

.service-table > table .sub-title {
    background-color: #fcfcd9;
    text-align: center;
}
.service-table > table {
    border-top: solid 1px #444;
    border-left: solid 1px #444;
}
.service-table > table tr th,
.service-table > table tr td {
    padding: 15px;
    border-bottom: solid 1px #444;
    border-right: solid 1px #444;
    vertical-align: top;
}
.service-table > table tr th {
    font-weight: 600;
}
.service-table table dl dt {
    border: solid 1px #333;
    padding: 12px;
    font-size: 90%;
}
.service-table table dl dd {
    font-size: 90%;
    padding: 12px;
    margin-bottom: 1em;
}

.quote-info {
    font-size: 13px;
    text-align: right;
    color: #555;
}
