@font-face {
    font-family: "shipporimincho";
    src: url("../fonts/Shippori_Mincho/ShipporiMincho-Regular.ttf") format("opentype");
    font-weight: normal;
}

@font-face {
    font-family: "shipporimincho";
    src: url("../fonts/Shippori_Mincho/ShipporiMincho-Bold.ttf") format("opentype");
    font-weight: bold;
}

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body,
html {
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
    font-family: Arial, Meiryo, sans-serif;
    font-weight: normal;
    font-weight: 400;
    margin: 0 auto;
    line-height: 1.8;
    letter-spacing: 0.05em;
    color: #333;
    position: relative;
    background: #f6f9fc;
}

p {
    margin: 1em 0;
}

a {
    color: #00529f;
    display: inline-block;
    transition: all 0.5s ease;
    text-decoration: none;
}

a:hover {
    color: #555;
    border: none;
    opacity: .75;
}

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

#main {
    padding: 0 0 3rem;
}

.container {
    margin: 0 auto;
    width: 80%;
}

@media (min-width:1024px) {

    body,
    html {
        font-size: 18px;
    }
}

.center {
    text-align: center;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 2em 0 1em;
    font-weight: normal;
    font-family: 'shipporimincho', '游明朝', 'Yu Mincho', YuMincho, 'Hiragino Mincho Pro', serif;
}

h1 {
    font-size: 1.75rem;
}

h2 {
    font-size: 1.4rem;
}

h3 {
    font-size: 1.3rem;
}

h4 {
    font-size: 1.2rem;
}

h5 {
    font-size: 1.1rem;
}

h6 {
    font-size: 1rem;
}

p {
    margin: 1rem 0;
}

.sub_text {
    font-size: 0.75em;
}

.serif {
    font-family: 'shipporimincho', '游明朝', 'Yu Mincho', YuMincho, 'Hiragino Mincho Pro', serif;
}

#e404 {
    text-align: center;
}

#e404 h1 {
    padding-top: 5rem;
    font-size: 7rem;
    margin: 0;
    font-style: italic;
    font-weight: 900;
    color: #AAA;
}

#e404 p {
    font-size: 0.75rem;
}

/*** TARGET BLANK ***/
a[target="_blank"]:after {
    content: " ";
    display: inline-block;
    width: 1em;
    height: 1em;
    background: url(../img/blank.svg) no-repeat center center;
    background-size: 1em 1em;
    margin-left: 7px;
    vertical-align: text-top;
}

/*** HEADER ***/
#header {
    width: 100%;
    font-size: 0;
    line-height: 1;
    position: relative;
    top: 0;
    left: 0;
    z-index: 9;
    margin: 0 auto;
    padding: 0 2.5vw;
    padding-right: 6rem;
    align-items: center;
    display: flex;
    justify-content: space-between;
}

#site_logo {
    width: 17rem;
    height: 5rem;
    display: block;
    padding: 0.25rem 0;
    overflow: hidden;
    position: relative;
    z-index: 99;
    max-width: calc(100% - 6rem);
}

#site_logo a {
    display: block;
    width: 100%;
    height: 100%;
    text-indent: -999%;
    transition: all 0s;
    background: url(../img/logo.svg) no-repeat center center/contain;
}

/*** PC MENU ***/
#pcmenu {
    display: none;
}

@media screen and (min-width:1280px) {
    #pcmenu {
        display: block;
        font-size: 0.8rem;
        position: relative;
        padding: 0 1rem;
        border-radius: 0.5rem;
        line-height: 1rem;
        transition: all .5s;
    }

    #pcmenu.scroll {
        opacity: 0;
    }

    #pcmenu ul {
        list-style: none;
    }

    ul#pcmenu_main {
        display: flex;
        align-items: center;
    }

    ul#pcmenu_main li a {
        position: relative;
    }

    ul#pcmenu_main li>a:hover {
        transform: translateY(-0.25rem);
        opacity: 1;
    }

    ul#pcmenu_main li.current>a {
        transform: translateY(-0.25rem);
    }

    ul#pcmenu_main>li.current>a:after {
        content: ' ';
        width: calc(100% - 2rem);
        height: 1px;
        border-radius: 3px;
        background: #00529f;
        position: absolute;
        bottom: 1.25rem;
        left: 50%;
        transform: translateX(-50%);
    }

    .pcmenu-icon_sub {
        margin: 0 0 0 0.5rem;
        display: inline-block;
        vertical-align: sub;
        width: 1rem;
        height: 1rem;
        background: url(../img/plus.svg) no-repeat center center/contain;
        cursor: pointer;
        transition: all .5s;
    }

    .open .pcmenu-icon_sub {
        transform: rotate(45deg);
    }

    ul#pcmenu_main a {
        padding: 2rem 1rem;
        display: block;
        color: #333;
    }

    .pcmenu_sub {
        z-index: -1;
        opacity: 0;
        pointer-events: none;
        visibility: hidden;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        transition: all .5s;
        padding: 0.5rem 0 0;
        transform: translateY(-1rem);
        transition: all .5s;
    }

    .pcmenu_sub.active {
        z-index: 99;
        opacity: 1;
        visibility: visible;
        pointer-events: all;
        transform: translateY(0);
    }

    .pcmenu_sub ul {
        background: #FFF;
        border-radius: 0.5rem;
        padding: 1.5rem;
        overflow: hidden;
    }

    .pcmenu_sub ul li:not(:last-child) {
        border-bottom: 1px dotted #333;
    }

    ul#pcmenu_main .pcmenu_sub ul li a {
        padding: 1.5rem 2rem 1.5rem 1rem;
        position: relative;
        overflow: hidden;
        background: url(../img/right.svg) no-repeat center right 0.5rem / 1.25rem 1.25rem;
    }

    ul#pcmenu_main .pcmenu_sub ul li a:hover {
        opacity: 1;
        background-position: center right;
        font-weight: bold;
        transform: translateX(-0.25rem);
    }
}

/*** MAIN MENU ***/
.menu-checkbox {
    display: none;
}

.menu-hamburger {
    position: fixed;
    display: block;
    width: 6rem;
    height: 6rem;
    top: 0;
    right: 0;
    z-index: 101;
    cursor: pointer;
    text-align: center;
    transition: all 0.5s ease;
    color: #FFF;
    background: #00529f;
}

.menu-hamburger:after {
    content: "MENU";
    position: absolute;
    bottom: 1.25rem;
    right: 0;
    line-height: 1rem;
    text-align: center;
    font-size: 0.75rem;
    width: 100%;
    font-family: 'hinamincho', '游明朝', 'Yu Mincho', YuMincho, 'Hiragino Mincho Pro', serif;
}

.menu-hamburger span {
    position: absolute;
    top: 2rem;
    right: 1.75rem;
    width: 2.5rem;
    height: 0.5rem;
}

.menu-hamburger span:after,
.menu-hamburger span:before {
    content: " ";
    position: absolute;
    right: 0;
    height: 1px;
    width: 2.5rem;
    background: #FFF;
    transition: all 0.5s ease;
}

.menu-hamburger span:before {
    top: 0.5rem;
}

.menu-hamburger-open {
    background: #333;
}

.menu-hamburger-open:after {
    content: "CLOSE";
}

.menu-hamburger-open span:after {
    top: 0.25rem;
    transform: rotate(25deg);
}

.menu-hamburger-open span:before {
    top: 0.25rem;
    transform: rotate(-25deg);
}

#menu {
    position: fixed;
    top: 2.5vw;
    right: 2.5vw;
    width: 95%;
    height: calc(100vh - 5vw);
    z-index: -1;
    background: rgba(255, 255, 255, 0.95) url(../img/logo_mark.svg) no-repeat bottom -10vw right -10vw /contain;
    opacity: 0;
    pointer-events: none;
}

#menu.menu-open {
    pointer-events: all;
    z-index: 99 !important;
    animation: menuOpen 1.5s forwards;
}

@keyframes menuOpen {
    0% {
        transform: scale(1.5);
        opacity: 0;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

#menu.menu-close {
    animation: menuClose 1s forwards;
}

@keyframes menuClose {
    0% {
        opacity: 1;
    }

    100% {
        filter: blur(10rem);
        opacity: 0;
    }
}

#menu_box {
    display: block;
    transition: all 0.5s ease;
    z-index: 99;
    overflow: hidden;
    box-sizing: border-box;
    margin: 10vw 5% 3rem auto;
    margin-top: calc(2.5vw + 5rem);
    width: 90%;
    height: 100%;
    overflow-y: auto;
    max-height: calc(100vh - 5vw - 5rem - 3rem);
}

#menu_inner {
    width: 100%;
    margin: 0 0 0 auto;
    overflow-y: scroll;
}

#menu #menu_nav ul {
    list-style: none;
    text-align: left;
}

#menu #menu_nav ul li {
    transform: translateY(1rem);
    opacity: 0;
}

#menu #menu_nav nav>ul>li {
    border-top: 1px dotted #DDD;
}

#menu.menu-open #menu_nav ul li {
    animation: menuOpenLi 0.5s forwards;
}

@keyframes menuOpenLi {
    0% {
        opacity: 0;
        filter: blur(1rem);
        transform: translateY(1rem);
    }

    100% {
        opacity: 1;
        filter: blur(0);
        transform: translateY(0);
    }
}

#menu #menu_nav ul li a {
    display: block;
    font-size: 1rem;
    padding: 1em;
    text-decoration: none;
    color: #333;
    line-height: 1.3;
}

#menu #menu_nav ul li a span {
    display: block;
    font-size: 0.75rem;
    opacity: 0.7;
    letter-spacing: 0.1em;
}

.menu-cover {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    visibility: hidden;
    z-index: -2;
    -webkit-transition: 0.3s;
    transition: 0.3s;
    opacity: 0;
}

.menu-cover.menu-cover-open {
    visibility: visible;
    z-index: 98;
}

#menu #menu_nav ul li.hassub ul.has_sub_menu {
    padding: 0.5rem 0;
    margin: 0;
}

#menu #menu_nav ul li.hassub ul.has_sub_menu li a {
    padding-left: 2.5rem;
    background: url(../img/right.svg) no-repeat center left 1rem /.85rem .85rem;
}

#menu ul#submenu {
    margin-top: 1rem;
    width: 100%;
    list-style: none;
}

#menu ul#submenu li a {
    font-size: .9rem;
    position: relative;
    padding: .25rem 0 .25rem 1rem;
    display: block;
    border: none;
    color: #555;
}

#menu ul#submenu li a:before {
    content: ' ';
    width: 4px;
    height: 4px;
    background: #555;
    position: absolute;
    top: calc(50% - 2px);
    left: 0;
}

#menu #menu_nav ul li#menu_contact,
#menu #menu_nav ul li#menu_recruit {
    display: none;
}


#menu_bnr {
    padding: 0 5vw;
}

.menu_bnr-item a {
    display: block;
    background: #FFF;
    border: 1px solid #dfe5eb;
    color: #333;
    padding: 2.5rem;
    text-align: center;
    position: relative;
}

.menu_bnr-item a:hover {
    opacity: 1;
}

#menu_bnr-item--tel a {
    background: #dfe5eb;
    text-align: center;
    padding: 1rem;
}

.menu_bnr-item-title {
    margin: 0;
    font-size: 0.8rem;
    line-height: 1.5;
}

.menu_bnr-item-title span {
    display: block;
    font-size: 1.25rem;
}

#menu_bnr-item--tel .menu_bnr-item-tel {
    font-size: 1.25rem;
    font-family: '游明朝', 'Yu Mincho', YuMincho, 'Hiragino Mincho Pro', serif;
    font-weight: bold;
    line-height: 1.3;
}

#menu_bnr-item--tel .menu_bnr-item-tel span {
    padding-left: 1.75rem;
    position: relative;
    background: url(../img/tel.svg) no-repeat center left / 1.5rem 1.5rem;
}

#menu_bnr-item--tel a p {
    margin: 0;
}

#menu_bnr-item--recruit {
    margin-top: 1.5rem;
}

@media screen and (min-width:1024px) {

    #menu #menu_nav nav>ul {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
    }

    #menu #menu_nav nav>ul>li {
        width: 49%;
    }

    #menu #menu_nav ul li#menu_service {
        width: 100%;
    }
}

/*** FOOTER ***/

#footer {
    width: 100%;
    position: relative;
    padding: 3rem 0;
    background: url(../images/home/mainvisual.jpeg)no-repeat top left / cover #EEE;
}

#footer p.copy {
    margin: 0;
    font-size: .65rem;
}

.foot-adds,
.foot-info {
    margin-bottom: 3rem;
}

.foot-adds-inner {}

.foot-adds-inner p {
    margin: 0;
}

.foot-adds-inner h5 {
    font-size: 1.1rem;
    margin: 1rem 0;
}

.foot-adds-inner h5 span {
    display: block;
    font-size: .75rem;
    margin-top: 1rem;
}

.foot-adds-inner dl {
    display: flex;
}

.foot-adds-inner dt {
    margin-right: 0.5rem;
}


#information {
    padding: 0;
}

.info-inner a {
    display: block;
    background: rgba(246, 255, 121, 0.9);
    color: #333;
    padding: 10vw;
    position: relative;
}

.info-inner a:hover {
    opacity: 1;
}

.info-inner-tel a {
    background: rgba(223, 229, 235, 0.9);
    text-align: center;
}
.info-inner-recruit a {
    background: #00529f;
    color: #FFF;
}
.info-inner a h2 {
    margin: 0 0 1.5rem;
    font-size: 1rem;
    line-height: 1.5;
}

.info-inner a h2 span {
    display: block;
    font-weight: bold;
    font-size: 1.75rem;
}

.info-inner a p {
    margin-bottom: 0;
    font-size: 0.8rem;
}

.info-inner-tel .infomation-tel {
    font-size: 1.5rem;
    text-align: center;
    font-family: '游明朝', 'Yu Mincho', YuMincho, 'Hiragino Mincho Pro', serif;
    font-weight: bold;
}

.info-inner-tel .infomation-tel span {
    padding-left: 1.75rem;
    position: relative;
    background: url(../img/tel.svg) no-repeat center left / 1.5rem 1.5rem;
}

.info-inner-tel a p {
    margin: 0;
    font-size: 0.8rem;
}

/*
.info-inner a:after {
    content: ' ';
    width: 1.5rem;
    height: 1.5rem;
    background: #FFF;
    position: absolute;
    top: 1rem;
    right: 1rem;
    border-radius: 50%;
    transition: all .5s;
}
*/

.info-inner a:hover:after {
    transform: scale(1.5);
}

.info-inner-tel a:after {
    content: none;
}

.info-inner-recruit {
    margin-top: 1.5rem;
}

@media screen and (min-width:1024px) {
    .foot-rows {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
    }

    .foot-adds,
    .foot-info {
        width: 48%;
    }

    .foot-adds {
        order: 1;
    }

    .foot-info {
        order: 2;
    }

    .info-inner a {
        padding: 2rem 3rem;
    }
}

.foot-nav {
    margin-bottom: 3rem;
    display: flex;
    font-size: 0.8rem;
}

.foot-nav ul {
    list-style: none;
}

.foot-nav ul ul {
    margin-left: 1rem;
}

.foot-nav ul li {
    margin-right: 1rem;
}

.foot-nav ul li a {
    padding: 0.5rem 0.5rem 0.5rem 0.75rem;
    color: #333;
    background: url(../img/plus.svg) no-repeat center left / 0.5rem 0.5rem;
}

/*** LAYOUT ***/
.rows {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    position: relative;
    width: 100%;
}

.col-4 {
    width: 25%;
    width: calc(25% - 0.5rem);
}

.col-3 {
    width: 33%;
    width: calc(100% / 3 - 0.5rem);
}

.col-2 {
    width: 50%;
    width: calc(50% - 0.5rem);
}

@media (max-width: 1023px) {

    .col-4,
    .col-3 {
        width: 50%;
        width: calc(50% - 0.5rem);
    }
}

@media (max-width: 768px) {

    .col-2,
    .col-3 {
        width: 100%;
        display: block;
    }
}

/*** PAGE NATION ***/
.pagination {
    text-align: center;
    margin: 40px auto;
    height: 46px;
    width: 261px;
    position: relative;
}

#pages {
    width: 153px;
    height: 46px;
    position: relative;
    margin: auto;
    border: 1px solid #ccc;
    background: url(../img/arrows.svg) no-repeat center right #fff;
    background-size: 14px 21px;
    background-position: center right 16px;
}

#pages .pages_now {
    width: 109px;
    line-height: 30px;
    position: absolute;
    top: 8px;
    left: 0;
    font-size: 0.75rem;
    color: #555;
    border-right: 1px solid #ccc;
}

#pages select {
    -webkit-appearance: none;
    appearance: none;
    height: 100%;
    border: none;
    opacity: 0;
    z-index: 2;
    cursor: pointer;
    color: #555555;
    width: 100%;
    font-size: 1.1rem;
}

.pagination a.next,
.pagination a.prev {
    position: absolute;
    top: 0;
    right: 0;
    width: 46px;
    height: 46px;
    border: 1px solid #ccc;
    text-indent: -9999px;
    background: url(../img/arrow.svg) no-repeat center center #fff;
    background-size: 1rem 1rem;
    transform: rotate(90deg);
}

.pagination a.prev {
    left: 0;
    right: auto;
    transform: rotate(-90deg);
}

/*** PAGE NEXT PREV ***/
#page_next_prev {
    clear: both;
    width: 100%;
    padding-top: 3rem;
}

#next_prev {
    font-size: 0.85rem;
    border-top: 1px #ddd solid;
    padding-top: 0.5rem;
}

#next_prev a {
    align-items: center;
    text-decoration: none;
    padding: 0.5rem;
    display: flex;
}

#next_prev p {
    margin: 0;
    padding: 1rem 0 1rem 0.75rem;
    flex: 1;
}

#next_prev p span {
    display: block;
    font-size: 0.75rem;
    color: #777;
}

#next_prev .thumb-wrap {
    border-radius: 40px;
    overflow: hidden;
}

#next_prev .thumb-wrap,
#next_prev img {
    width: 80px;
    height: 80px;
}

@media (min-width: 1024px) {
    #next_prev p {
        padding: 1rem;
    }

    #next_prev {
        display: flex;
        justify-content: space-between;
    }

    #next_prev a {
        width: 100%;
        border: 0;
    }

    #next_prev .next-link {
        text-align: right;
        justify-content: flex-end;
    }

    #next_prev .next-link .thumb-wrap {
        order: 2;
    }

    #next_prev .next-link p {
        order: 1;
    }
}

/*** BREADCRUMBS ***/
#breadcrumbs {
    width: 100%;
    margin: 3rem auto 0;
    padding: 5px 10%;
    color: #777;
}

#breadcrumbs a {
    color: #90A3AF;
    text-decoration: underline;
}

@media (max-width: 768px) {
    #breadcrumbs {
        padding: 5px 5%;
    }
}

.breadblock {
    width: 100%;
    overflow: hidden;
    height: 40px;
}

#breadcrumbs ul {
    list-style: none;
    font-size: 0.65rem;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    height: 40px;
    white-space: nowrap;
}

#breadcrumbs li {
    padding-right: 20px;
    line-height: 40px;
    display: inline-block;
}

#breadcrumbs li:not(:last-child) {
    position: relative;
    padding-right: 40px;
}

#breadcrumbs li:not(:last-child):after {
    content: " ";
    display: block;
    position: absolute;
    width: 7px;
    height: 7px;
    top: 17px;
    right: 17px;
    transform: rotate(45deg);
    border-top: 1px solid #777;
    border-right: 1px solid #777;
}

/*** キャプション ***/
.wp-caption-text {
    margin: 0.25rem 0 0;
    font-size: 0.75rem;
    color: #777;
    padding: 0 1rem 1rem;
}

/*** BLOG LIST ***/

.blog_item {
    border-bottom: 1px dotted #AAA;
    display: block;
    width: 100%;
    height: auto;
    margin: 0 0 1rem;
}

.blog_item a {
    display: flex;
    align-items: flex-start;
    position: relative;
    padding: 0 0 1rem;
    height: 100%;
    color: #333;
}

.blog_item figure {
    overflow: hidden;
    width: 30%;
    padding-top: 22.5%;
    margin-right: 1.5rem;
    position: relative;
}

.blog_item figure span {
    height: 100%;
    width: 100%;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    transition: all 0.5s ease;
}


.blog_item figure span img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    max-width: 200%;
}

.blog_item a:hover figure span,
.blog_item a:active figure span {
    transform: scale(1.2);
}

.blog_item-txt {
    font-size: 1rem;
    padding: 0;
    flex: 1;
}

.blog_item-txt.noimg {
    width: 100%;
}

.blog_item h2 {
    font-size: 1rem;
    margin: 0;
    border: none;
    padding: 0;
    font-weight: normal;
}

.blog_item a .postmeta {
    font-size: .8rem;
    margin: 0;
}

.blog_item a .postmeta-day {
    color: #777;
}

.blog_item a .postmeta-cate {
    font-size: 0.8rem;
    color: #00529f;
    margin: 1.5rem 0 0;
}

@media (min-width: 1280px) {
    .blog_item figure {
        width: 300px;
        padding-top: 200px;
    }

    .blog_item-txt {
        padding: 1.5rem 2.5vw;
    }

    .blog_item h2 {
        font-size: 1.15rem;
    }
}

/****/
#contents-default {
    margin-top: 3rem;
}

#page_block ul,
#page_block ol,
#contents-default ul,
#contents-default ol {
    margin-left: 2rem;
}

#contents-default h3,
#contents-default h4,
#contents-default h5 {
    margin: 2em 0 1em;
}

#contents-default h1 {
    font-size: 1.75rem;
}

#contents-default h2 {
    padding: 0.5em;
    border-top: 1px solid #CCC;
    border-bottom: 1px solid #CCC;
}

#contents-default h3 {
    padding-left: 0.75rem;
    border-left: 0.25rem solid #CCC;
    color: #555;
}

#contents-default .wp-blogcard-item:hover {
    border: 2px solid #777;
    opacity: 1;
}

/****/



#sort-block {
    text-align: right;
}

#sort {
    background: #FFF;
    width: auto;
    display: inline-block;
    position: relative;
    z-index: 1;
    margin: 0 0 0 auto;
    border: 1px solid #AAA;
}

#sort::after {
    position: absolute;
    content: '';
    width: 8px;
    height: 8px;
    right: 18px;
    top: calc(50% - 4px);
    transform: translateY(-50%) rotate(45deg);
    border-bottom: 2px solid #0c3c7c;
    border-right: 2px solid #0c3c7c;
    z-index: -1;
}

#sort select {
    appearance: none;
    -moz-appearance: none;
    -webkit-appearance: none;
    background: none;
    border: none;
    color: #333;
    font-size: 16px;
    width: 100%;
    height: 100%;
    padding: 10px 48px 10px 10px;
}

#sort select:focus-visible {
    outline: none;
}

#sort select::-ms-expand {
    display: none;
}