/*-----------------------------------------------------------------------

    header

-----------------------------------------------------------------------*/
.inquiry_btn {
    width: 120px;
    height: auto;
    color: #fff;
    background: linear-gradient(to left top, #22d694, #22d694 50%, #ffb643 51%) no-repeat right bottom / 11px 11px;
    background-color: #ffb643;
    text-align: center;
    line-height: 1;
}
.inquiry_btn::before {
    content: '';
    display: block;
    width: 30px;
    height: 23px;
    margin: 0 auto 10px;
    background: url(../images/common/ico_mail.png) no-repeat center / contain;
}
.h_tel {
    text-align: right;
    font-size: 1.3rem;
    letter-spacing: 0.08em;
}
.h_tel a {
    line-height: 1;
    font-weight: bold;
    font-size: 2.6rem;
}
.h_tel a::before {
    content: '';
    display: inline-block;
    width: 26px;
    height: 26px;
    margin-right: 10px;
    background: url(../images/common/ico_tel.png) no-repeat center / contain;
    vertical-align: -2px;
}
@media screen and (min-width: 768px) {
    .h_wrap {
        width: 100%;
        align-items: center;
        height: 80px;
        padding: 0 0 0 40px;
    }
    .page-ttl {
        margin: 0 0 12px;
        font-size: 1.1rem;
        line-height: 1;
    }
    .h_info {
        align-items: center;
    }
    .h_info-sns {
        align-items: center;
    }
    .h_info-sns li {
        margin-right: 15px;
    }
    .h_wrap .inquiry_btn {
        margin-left: 30px;
        padding: 16px 0;
    }
    .h_tel a {
    }
}

/*-----------------------------------------------------------------------

    key

-----------------------------------------------------------------------*/
.key {
    align-items: center;
    justify-content: center;
    background-image: url(../images/top/main_vis.jpg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    text-align: center;
}
.carousel,
.carousel-cell {
    width: 100%;
    height: 100%;
}
.carousel-cell {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.main-vis01 {
    background: url(../images/top/main_vis.jpg) no-repeat center / cover;
}
.key_ttl-sub {
    display: inline-block;
    width: auto;
    background-color: #fff;
}
@media screen and (min-width: 768px) {
    .key {
        height: 200px;
        font-size: 3rem;
    }
    #top .key {
        height: calc(100vh - 80px - 60px);
        min-height: 600px;
        max-height: 1080px;
    }
    .key_ttl-sub {
        padding: 20px;
    }
}
@media screen and (max-width: 767px) {
    .key {
        height: 150px;
        margin-top: 50px;
    }
    #top .key {
        height: calc(50vh - 60px);
        min-height: 200px;
    }
    #top .key_ttl {
        width: 335px;
        margin: 0 auto;
    }
    .key_ttl-sub {
        padding: 10px;
    }
}


/*-----------------------------------------------------------------------

    nav

-----------------------------------------------------------------------*/
.js-stickyNav {
    display: none;
}
.fixed{
    display: block;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 100;
}
@media screen and (min-width: 768px) {
    .g_nav {
        color: #fff;
        background-color: #22d694;
    }
    .g_nav .h_nav {
        justify-content: center;
    }
    .g_nav .h_nav li {
        width: 215px;
        text-align: center;
        border-left: 1px solid #fff;
        line-height: 60px;
    }
    .g_nav .h_nav li:last-child {
        border-right: 1px solid #fff;
    }
}
@media screen and (max-width: 767px) {
    /*▼sp_nav*/
    .h_logo {
        font-size: 0;
    }
    .h_wrap {
        align-items: center;
        flex-direction: row;
        width: 100%;
        padding: 12px 20px;
        background-color: #fff;
        position: relative;
        z-index: 999;
    }
    header {
        position: fixed;
        top: 0; left: 0; right: 0;
        z-index: 999;
        transition: .3s all;
    }
    #nav_toggle {
        position: fixed;
        top: 0; right: 0;
        padding: 17px 20px;
        background-color: #ffb643;
    }
    #nav_toggle span {
        display: block;
        width: 30px;
        height: 2px;
        margin: 0 auto;
        background-color: #fff;
        transition: .3s;
    }
    #nav_toggle span:not(:last-child) {
        margin-bottom: 12px;
    }
    #nav_toggle.active span:nth-of-type(1) {
        -webkit-transform: translate3d(0px, 7px, 0) rotate(45deg);
        transform: translate3d(0px, 7px, 0) rotate(45deg);
    }
    #nav_toggle.active span:nth-of-type(2) {
        -webkit-transform: translate3d(0px, -7px, 0) rotate(-45deg);
        transform: translate3d(0px, -7px, 0) rotate(-45deg);
    }
    .g_nav {
        overflow-y: scroll;
        visibility: hidden;
        width: 100%;
        height: 100%;
        padding: 20px 5% 50%;
        color: #fff;
        background: #22d694;
        position: fixed;
        top: 50px; bottom: 0; left: 0; right: 0;
        transition: 0.5s ease-in-out;
        z-index: 998;
        -webkit-overflow-scrolling: touch;
    }
    .g_nav .partition {
        border-bottom: 1px solid;
        margin: 0 0 10px;
        padding: 0 0 10px;
    }
    .h_nav li {
        width: 100%;
    }
    .h_nav li a {
        padding: 10px 0 10px 25px;
        font-weight: bold;
    }
    .g_nav .h_info-sns {
        justify-content: center;
        align-items: center;
        margin-top: 20px;
        text-align: center;
    }
    .g_nav .h_info-sns li.h_info-sns_icon {
        width: 40px;
    }
    .g_nav .h_info-sns li:not(:last-child) {
        margin-right: 15px;
    }
    .g_nav {
        opacity: 0;
        pointer-events: none;
    }
    .g_nav.open {
        visibility: visible;
        opacity: 1;
        pointer-events: all;
    }
    .g_nav ul {
        transform: translateX(30vw);
        transition: all .4s;
        opacity: 0;
    }
    .g_nav.open ul {
        transform: translateX(0);
        opacity: 1;
    }
}


/*-----------------------------------------------------------------------

    main

-----------------------------------------------------------------------*/
/*
    page-top
--------------------*/
/* ▼top-about */
.top-about_ttl {
    text-align: center;
}
.top-about_ttl span {
    display: block;
}
@media screen and (min-width: 768px) {
    .top-about {
        background: url(../images/top/about_bg01.png) no-repeat left center,
        url(../images/top/about_bg02.png) no-repeat right center;
    }
    .top-about_ttl {
        margin: 0 0 50px;
    }
    .top-about_ttl span {
        margin: 0 0 20px;
    }
    .top-about_flex {
        flex-direction: row-reverse;
    }
}
@media screen and (max-width: 767px) {
    .top-about {
        background: url(../images/top/about_bg01.png) no-repeat left top / 150px auto,
        url(../images/top/about_bg02.png) no-repeat right bottom / 150px auto;
    }
    .top-about_ttl {
        margin: 0 0 20px;
    }
    .top-about_ttl img {
        width: 335px;
    }
    .top-about_ttl span {
        margin: 0 0 15px;
    }
    .top-about_ttl span img {
        width: 260px;
    }
    .top-about_cnt {
        margin: 20px 0 0;
    }
}
/* ▼top-works */
.top-works {
    background: url(../images/top/works_bg.jpg) no-repeat bottom / cover;
}
.top-works_ttl {
    text-align: center;
    position: relative;
    z-index: 0;
}
.top-works_ttl::before,
.top-works_ttl::after {
    content: '';
    position: absolute;
    z-index: -1;
}
.top-works_lead {
    color: #fff;
    background-color: #ffb643;
    border-radius: 12px;
    text-align: center;
    font-weight: bold;
    position: relative;
}
.top-works_lead::after {
    content: '';
    width: 0;
    height: 0;
    margin: auto;
    border-style: solid;
    border-width: 18px 9.5px 0 9.5px;
    border-color: #ffb643 transparent transparent transparent;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
}
.top-works_cnt {
    background-color: #fff;
    border-radius: 10px;
}
.top-works_cnt li {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-flow: column;
    color: #22d694;
    background-color: #eafff9;
    border-radius: 6px;
    text-align: center;
}
@media screen and (min-width: 768px) {
    .top-works_ttl::before {
        width: 176px;
        height: 172px;
        background: url(../images/top/works_deco01.png) no-repeat center / contain;
        top: 40px; left: calc(50% - 490px);
    }
    .top-works_ttl::after {
        width: 165px;
        height: 147px;
        background: url(../images/top/works_deco02.png) no-repeat center / contain;
        top: 20px; right: calc(50% - 490px);
    }
    .top-works_lead {
        width: 540px;
        margin: 0 auto -40px;
        padding: 17px 0;
        font-size: 1.6rem;
        line-height: 1.8125;
    }
    .top-works_cnt {
        padding: 80px 40px 40px;
    }
    .top-works_cnt li {
        width: 220px;
        height: 70px;
        font-size: 1.9rem;
        line-height: 1.3684;
    }
    .top-works_cnt li:not(:nth-child(4n)) {
        margin-right: 40px;
    }
    .top-works_cnt li:nth-child(n+5) {
        margin-top: 30px;
    }
}
@media screen and (max-width: 767px) {
    .top-works_ttl {
        margin: 0 0 30px;
    }
    .top-works_ttl img {
        width: 220px;
        height: auto;
    }
    .top-works_ttl::before {
        width: 88px;
        height: 86px;
        background: url(../images/top/works_deco01.png) no-repeat center / contain;
        top: 30px; left: calc(50% - 190px);
    }
    .top-works_ttl::after {
        width: 82.5px;
        height: 73.5px;
        background: url(../images/top/works_deco02.png) no-repeat center / contain;
        top: -20px; right: calc(50% - 210px);
    }
    .top-works_lead {
        width: 100%;
        max-width: 540px;
        margin: 0 auto -40px;
        padding: 17px 15px;
        line-height: 1.8125;
    }
    .top-works_cnt {
        padding: 70px 10px 10px;
    }
    .top-works_cnt li {
        width: 49%;
        height: 58px;
        padding: 10px 0;
        font-size: 1.4rem;
        line-height: 1.5;
        letter-spacing: 0;
    }
    .top-works_cnt li br {
        display: block;
    }
    .top-works_cnt li:nth-child(n+3) {
        margin-top: 2%;
    }
}

/* ▼top-merit */
.top-merit_list {
    text-align: center;
    position: relative;
}
.top-merit_list-ttl {
    background: none;
}
/* example */
.top-merit_example {
    text-align: center;
}
.top-merit_example_cnt {
    background-color: #eafff9;
    position: relative;
}
.top-merit_example_cnt::before {
    content: '';
    width: 111px;
    height: 100px;
    background: url(../images/top/merit_works_list01.png) no-repeat center / contain;
    position: absolute;
}
.top-merit_example_cnt:nth-of-type(2):before {
    background-image: url(../images/top/merit_works_list02.png);
}
.top-merit_example_cnt span.background {
    margin: 0 3px 0 0;
    padding: 0 8px;
    color: #fff;
    background: repeating-linear-gradient(135deg, #29dfab, #29dfab 10px, #22d694 11px, #22d694 21px, #29dfab 22px);
}
.top-merit_example_cnt span.color {
    color: #22d694;
}
@media screen and (min-width: 768px) {
    .top-merit_list {
        width: 330px;
        padding: 60px 0 40px;
        font-size: 2.1rem;
        line-height: 1.9048;
    }
    .top-merit_list-ttl {
        text-align: left;
        position: absolute;
        top: -26px; left: -9px;
    }
    /* example */
    .top-merit_example {
        padding: 0 50px 50px;
        margin-top: 100px;
    }
    .top-merit_example_cnt::before {
        top: -34px; left: 20px;
    }
    .top-merit_example-ttl {
        margin: -48px 0 46px;
    }
    .top-merit_example_cnt {
        width: 460px;
        padding: 33px 0 34px;
        font-size: 2.6rem;
    }
    .top-merit_example_cnt-ttl {
        margin: 13px 0 0;
    }
}
@media screen and (max-width: 767px) {
    .top-merit_ttl {
        margin: 0 0 50px;
    }
    .top-merit_list {
        width: 330px;
        margin: 0 auto;
        padding: 30px 0 20px;
        font-size: 1.6rem;
        line-height: 1.9048;
    }
    .top-merit_list:not(:last-child) {
        margin-bottom: 45px;
    }
    .top-merit_list br {
        display: block;
    }
    .top-merit_list-ttl {
        text-align: left;
        position: absolute;
        top: -26px; left: -9px;
    }
    .top-merit_list-ttl img {
        height: 50px;
    }
    /* example */
    .top-merit_example {
        padding: 0 20px 20px;
        margin-top: 70px;
    }
    .top-merit_example_cnt::before {
        width: 74px;
        height: 66.666667px;
        top: -34px; left: 20px;
    }
    .top-merit_example-ttl {
        margin: -35px 0 46px;
    }
    .top-merit_example-ttl img {
        height: 70px;
    }
    .top-merit_example_cnt {
        width: 100%;
        padding: 20px;
        font-size: 1.6rem;
    }
    .top-merit_example_cnt:not(:last-child) {
        margin-bottom: 50px;
    }
    .top-merit_example_cnt-ttl {
        margin: 13px 0 0;
    }
}

/* ▼top-staff */
.top-staff {
    background: url(../images/top/staff_bg.png) no-repeat left center;
}
.top-staff .c_ofi {
    padding-top: 72.7272%;
    border: 10px solid #eafff9;
}
.top-staff_cnt-ttl {
    display: inline;
    color: #ff9e9e;
    background: repeating-linear-gradient(135deg, #fff4f4, #fff4f4 10px, #fff 11px, #fff 21px, #fff4f4 22px) no-repeat bottom / 100% 15px;
}
@media screen and (min-width: 768px) {
    .top-staff_cnt {
        width: 330px;
    }
    .top-staff_cnt:not(:nth-of-type(3n)) {
        margin-right: 45px;
    }
    .top-staff_cnt:nth-of-type(n+4) {
        margin-top: 45px;
    }
    .top-staff_cnt-img {
        margin: 0 0 16px;
    }
    .top-staff_cnt-ttl {
        padding: 0 0 3px;
        font-size: 2rem;
    }
    .top-staff_cnt-txt {
        margin: 16px 0 0;
    }
    .top-staff .c_btn {
        margin-top: 50px;
    }
}
@media screen and (max-width: 767px) {
    .top-staff_cnt {
        width: 100%;
    }
    .top-staff_cnt:nth-of-type(n+2) {
        margin-top: 30px;
    }
    .top-staff_cnt-img {
        margin: 0 0 16px;
    }
    .top-staff_cnt-ttl {
        padding: 0 0 3px;
        font-size: 1.6rem;
    }
    .top-staff_cnt-txt {
        margin: 16px 0 0;
    }
    .top-staff .c_btn {
        margin-top: 30px;
    }
}

/* ▼top-recruit */
.top-recruit {
    background: url(../images/top/recruit_bg.jpg) no-repeat center / cover;
}

/* ▼top-greeting */
.top-greeting {
    background: url(../images/top/information_bg.jpg) no-repeat bottom left / cover;
}
@media screen and (min-width: 768px) {
    .top-greeting_ttl {
        margin: 0 0 21px;
    }
    .top-greeting_info {
        margin-top: 50px;
    }
    .top-greeting_info-cnt {
        width: 520px;
    }
    .top-greeting .map {
        height: 240px;
    }
}
@media screen and (max-width: 767px) {
    .top-greeting_ttl {
        margin: 0 0 20px;
    }
    .top-greeting_ttl img {
        height: 60px;
    }
    .top-greeting_img {
        margin: 30px 0 0;
    }
    .top-greeting_info {
        margin-top: 50px;
    }
    .top-greeting_info-ttl img {
        height: 70px;
    }
    .top-greeting_info-cnt {
        width: 100%;
    }
    .top-greeting .map {
        margin-top: 30px;
        height: 30vh;
    }
}

/* ▼story */
.story_cnt {
    background-color: #fff;
}
.story_post {
    position: relative;
}
.story_post::after {
    content: '';
    width: 0;
    height: 0;
    margin: auto;
    border-style: solid;
    border-width: 5.5px 0 5.5px 10px;
    border-color: transparent transparent transparent #29dfab;
    position: absolute;
    top: 0; bottom: 0; right: 0;
    transition: all .3s;
}
.story_post:hover::after {
    transform: translateX(5px);
}
.story_post .story_post_inner {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    width: 100%;
    border-radius: 25px;
}
.story_post span.story_post-tag {
    display: inline-block;
    width: 100px;
    line-height: 25px;
    color: #fff;
    background-color: #ff9e9e;
    text-align: center;
    font-size: 1.6rem;
}
.story_post span.story_post-tag.tag9695 {
    background-color: #ffb643;
}
.story_post .story_post-txt {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
@media screen and (min-width: 768px) {
    .story_cnt {
        padding: 65px 50px;
    }
    .story_ttl {
        margin-bottom: -35px;
    }
    .story_post {
        padding: 0 25px 0 0;
    }
    .story_post:not(:last-child) {
        margin: 0 0 20px;
    }
    .story_post time {
        margin: 0 15px 0 0;
    }
    .story_post span.story_post-tag {
        margin: 0 20px 0 0;
    }
    .story_post .story_post-txt {
        flex: 1;
    }
    .story_post {
        font-size: 1.5rem;
    }
    .story .c_btn {
        margin-top: 50px;
    }
}
@media screen and (max-width: 767px) {
    .story_post:not(:last-child) {
        margin: 0 0 10px;
    }
    .story_cnt {
        padding: 50px 20px 20px;
    }
    .story_ttl {
        margin: 0 0 -30px;
    }
    .story_ttl img {
        height: 60px;
    }
    .story_post {
        padding: 0 25px 0 0;
    }
    .story_post:not(:last-child) {
        margin: 0 0 15px;
    }
    .story_post .story_post_inner {
        justify-content: flex-start;
    }
    .story_post time {
        margin: 0 0 0 15px;
    }
    .story_post .story_post-txt {
        width: 100%;
        margin-top: 5px;
    }
    .story .c_btn {
        margin-top: 30px;
    }
}

/*
    page-contact
--------------------*/
.input_big {
    width: 100%;
}
.input_mid {
    width: 70%;
}
.input_min {
    width: 28%;
    max-width: 85px;
}
.contact-form-table {
    font-size: 15px;
    line-height: 2;
    letter-spacing: 0;
}
.contact-form-table td,
.contact-form-table th{
    vertical-align: middle;
    font-weight: 400;
}
.contact-form-table th {
    font-weight: bold;
    text-align: left;
}
.contact-form-table td a {
    display: inline;
    text-decoration: underline;
}
/* ▼button */
.contact_submits input[type='button'],
.contact_submits input[type='submit'] {
    margin: 7px;
    padding: 1em 2em;
    font-size: 16px;
    border: none;
    -webkit-appearance: none;
    transition: all 0.4s ease;
    background-color: #eee;
    border: 1px solid #ddd;
}
.contact-form-table td div:not(:last-child) {
    margin: 0 0 5px;
}
.contact_submits.flex {
    display: flex;
    align-items: center;
    justify-content: center;
}
.contact-privacyPolicy {
    width: 100%;
    border: 1px solid;
}
.contact-privacyPolicy iframe {
    width: 100%;
    height: 100%;
}
@media screen and (min-width: 768px) {
    .contact-form-table th {
        padding: 0 20px;
    }
    .contact-form-table th {
        width: 360px;
    }
    .required-mark {
        line-height: 25px;
    }
    .contact-privacyPolicy {
        margin-bottom: 50px;
        height: 200px;
    }
}
@media screen and (max-width: 767px) {
    .contact-form-table,
    .contact-form-table tbody,
    .contact-form-table tr,
    .contact-form-table th,
    .contact-form-table td {
        width: auto;
        display: block;
    }
    .contact-form-table tr {
        margin: 0 0 20px;
        border: 1px solid #ddd;
    }
    .contact-form-table th {
        padding: 0 0 0 5%;
        line-height: 40px;
    }
    .contact-form-table td {
        padding: 10px;
    }
    .contact-form-table .input_table tr:last-child {
        text-align: center;
    }
    .required-mark {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 20%;
        margin: 0 0 0 auto;
        top: 0; bottom: 0; right: 0;
    }
    .contact-form-table input[type='submit']:not(:last-child) {
        margin-bottom: 20px;
    }
    .contact_submits {
        font-size: 14px;
    }
    .contact-privacyPolicy {
        margin-bottom: 30px;
        height: 35vh;
    }
}
/*-----------------------------------------------------------------------

    footer

-----------------------------------------------------------------------*/
footer {
    color: #fff;
    background-color: #22d694;
}
footer .inquiry_btn {
    padding: 11px 0;
    background-image: linear-gradient(to left top, #fff, #fff 50%, #ffb643 51%);
}
footer .copyright {
    color: #191919;
    background-color: #97f3da;
    text-align: center;
}
footer .pagetop {
    position: fixed;
    right: 0; bottom: 0;
    z-index: 100;
}
@media screen and (min-width: 768px) {
    footer .f_wrap {
        padding: 48px 0 45px;
    }
    footer .f_logo {
        margin: 0 0 13px;
    }
    footer .f_info_list {
        font-size: 1.4rem;
        line-height: 1.9286;
    }
    footer .inquiry_btn {
        margin-left: 20px;
    }
    .f_nav {
        margin: 7px 0 0;
    }
    .f_nav ul.flex {
        justify-content: flex-end;
    }
    footer .copyright {
        font-size: 1.2rem;
        line-height: 30px;
    }
}
@media screen and (max-width: 767px) {
    footer .f_wrap {
        justify-content: center;
        padding: 30px 0;
    }
    footer .f_logo {
        display: block;
        width: 215px;
        margin: 0 auto 20px;
    }
    footer .f_info_list {
        font-size: 1.4rem;
        line-height: 1.9286;
    }
    footer .f_detail {
        margin: 20px auto 0;
    }
    footer .inquiry_btn {
        margin-left: 20px;
    }
    footer .copyright {
        font-size: 1rem;
        padding: 10px;
    }
}