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

html {
    font-size: 10px;
    margin: 0 !important;
    scroll-behavior: smooth;
}

@media (min-width: 768px) and (max-width: 1180px) {
    html {
        font-size: .84745763vw;
    }
}

@media (max-width: 390px) {
    html {
        font-size: 2.564102564vw;
    }
}

body {
    color: #333;
    font-family: "Noto Sans JP", sans-serif;
    font-size: 1.8rem;
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: .05em;
    overflow-x: hidden;
}

@media (min-width: 768px) {
    .sp {
        display: none !important;
    }
}

@media (max-width: 767px) {
    body {
        font-size: 1.6rem;
    }

    .pc {
        display: none !important;
    }
}

.container,
section,
main {
    position: relative;
}

.container {
    overflow-y: hidden;
    overflow-x: hidden;
}

a {
    display: block;
    text-decoration: none;
    color: #333;
    transition: .2s;
}

a:before,
a:after {
    transition: .2s;
}

ul {
    list-style-type: none;
}

img {
    display: block;
    width: 100%;
    height: auto;
}

.wrapper {
    margin: 0 auto;
    max-width: 95vw;
    position: relative;
    width: 1280px;
}

.inner {
    width: 1080px;
    max-width: calc(95vw - 40px);
    margin: 0 auto;
    position: relative;
}

.has-black-background-color {
    background-color: #333;
}

.has-black-color {
    color: #333;
}

.has-green-background-color {
    background-color: #3b7e72;
}

.has-green-color {
    color: #3b7e72;
}

.has-pink-background-color {
    background-color: #e88095;
}

.has-pink-color {
    color: #e88095;
}

.has-pink-ivory-color {
    background-color: #fcf9f4;
}

.has-ivory-color {
    color: #fcf9f4;
}

@media (max-width:767px) {

    .wrapper,
    .inner {
        max-width: calc(100vw - 40px);
    }
}


/* TEMPLATE
---------------------------------*/

.maincolor {
    color: #3b7e72;
}

.text {
    font-size: 2rem;
    line-height: 1.75;
    letter-spacing: normal;
}

.text:not(:last-child) {
    margin-bottom: 1.75em;
}

.is-style-button01 {
    width: 100%;
}

.tmp_btn_1,
.is-style-button01 a {
    display: block;
    font-size: 2rem;
    font-weight: 500;
    text-align: center;
    color: #fff;
    letter-spacing: .1em;
    line-height: 1.5;
    padding: 1rem 3rem;
    margin: 0 auto;
    width: 22rem;
    background-color: #3b7e72;
    border: 1px solid #3b7e72;
    border-radius: 999px;
    background-image: url(../img/common/arrow_1.svg);
    background-repeat: no-repeat;
    background-size: 1em;
    background-position: right 1.5rem center;
}

.tmp_btn_1:hover,
.is-style-button01 a:hover {
    color: #3b7e72;
    background-color: #fff;
    background-image: url(../img/common/arrow_2.svg);
}

.tmp_hl_1 {
    font-size: 4rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 4rem;
}

.tmp_hl_1 .en {
    font-size: 2rem;
    color: #3b7e72;
    display: block;
}

@media (max-width:767px) {
    .tmp_hl_1 {
        font-size: 2.6rem;
    }

    .tmp_btn_1,
    .is-style-button01 a {
        font-size: 1.8rem;
    }

    .text {
        font-size: 1.8rem;
    }
}


/* HEADER
---------------------------------*/

.container {
    padding-top: 8rem;
}

.header {
    height: 8rem;
    background-color: #fff;
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: end;
    box-shadow: 0px 1px 3px rgba(0, 0, 0, .1);
    z-index: 9999;
}

.header .h_logo {
    width: 24rem;
    padding-left: 6rem;
    margin: 0 auto 0 0;
}

.header .h_nav {
    display: flex;
    column-gap: 4rem;
    font-size: 1.6rem;
    font-weight: 500;
}

.header .h_link {
    position: relative;
}

.header .h_link:hover {
    color: #3b7e72;
}

.header .h_link:after {
    content: "";
    position: absolute;
    width: 0;
    height: 1px;
    right: 0;
    bottom: 0;
    left: 0;
    margin: 0 auto;
    background-color: #3b7e72;
}

.header .h_link:hover:after {
    width: 100%;
}

.header .h_contact {
    width: 20rem;
    background-color: #3b7e72;
    font-size: 1.6rem;
    font-weight: 500;
    color: #fff;
    margin-left: 6rem;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    column-gap: 12px;
    border: 2px solid #3b7e72;
}

.header .h_contact:before {
    content: "";
    width: 2.1rem;
    height: 1.6rem;
    margin-top: 2px;
    background-image: url(../img/common/mail_1.svg);
    background-repeat: no-repeat;
    background-size: contain;
}

.header .h_contact:hover {
    background-color: #fff;
    color: #3b7e72;
}

.header .h_contact:hover:before {
    background-image: url(../img/common/mail_2.svg);
}

@media (max-width:767px) {
    .container {
        padding-top: 6rem;
    }

    .header {
        height: 6rem;
    }

    .header .h_logo {
        width: 16rem;
        padding-left: 2rem;
    }

    .header .h_nav {
        position: absolute;
        top: 6rem;
        right: 0;
        left: 0;
        max-height: 100dvh;
        flex-wrap: wrap;
        background-color: #fff;
        opacity: 0;
        visibility: hidden;
        transition: .3s;
        z-index: -1;
        overflow-y: auto;
    }

    .header .h_link {
        width: 100%;
        padding: 2rem 0;
        text-align: center;
        border-bottom: 1px solid #ccc;
    }

    .h_btn {
        width: 3rem;
        height: 3rem;
        position: relative;
        cursor: pointer;
        margin: 0 2rem;
    }

    .h_btn span {
        display: inline-block;
        transition: all .4s;
        position: absolute;
        right: 0;
        height: 3px;
        background-color: #333;
        width: 100%;
    }

    .h_btn span:nth-of-type(1) {
        top: .6rem;
    }

    .h_btn span:nth-of-type(2) {
        top: 1.4rem;
    }

    .h_btn span:nth-of-type(3) {
        top: 2.2rem;
    }

    .h_btn.active span:nth-of-type(1) {
        transform: rotate(-45deg);
        top: 1.4rem;
    }

    .h_btn.active span:nth-of-type(2) {
        opacity: 0;
    }

    .h_btn.active span:nth-of-type(3) {
        transform: rotate(45deg);
        top: 1.4rem;
    }

    .h_btn.active+.h_nav {
        visibility: visible;
        opacity: 1;
    }

    .h_sp_contact {
        display: flex;
        column-gap: .5rem;
    }

    .h_sp_contact .tel,
    .h_sp_contact .mail {
        width: 5rem;
        height: 5rem;
        border-radius: 5px;
        background-color: #e6f6e6;
        background-repeat: no-repeat;
        background-size: 3rem auto;
        background-position: center;
    }

    .h_sp_contact .tel {
        background-image: url(../img/common/tel_2.svg);
    }

    .h_sp_contact .mail {
        background-image: url(../img/common/mail_2.svg);
    }
}


/* FOOTER
---------------------------------*/

.f_contact {
    padding: 50px 0 60px;
    text-align: center;
    background-image: url(../img/common/footer_cover.webp);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.f_contact .hl {
    color: #fff;
    font-size: 5rem;
    margin-bottom: 7rem;
}

.f_contact .flex {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    column-gap: 12%;
}

.f_contact .flex .item {
    width: 44%;
    background-color: #fff;
    padding: 2.5rem 8rem;
    font-size: 2.4rem;
    font-weight: 700;
    color: #3b7e72;
    letter-spacing: .1em;
    border-radius: 999px;
    background-image: url(../img/common/arrow_4.svg);
    background-repeat: no-repeat;
    background-size: .5em auto;
    background-position: right 1.1em center;
    position: relative;
}

.f_contact .flex .item:hover {
    background-color: #eefeee;
}

.f_contact .flex .tel:before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 2em;
    width: 1.2em;
    background-image: url(../img/common/tel_2.svg);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}

.f_contact .flex .mail:before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 1.9em;
    width: 1.2em;
    background-image: url(../img/common/mail_2.svg);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}

.footer .inner {
    padding: 4.7rem 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.footer .inner:before {
    content: "";
    position: absolute;
    top: 0;
    right: 63%;
    bottom: 0;
    left: calc(50% - 50vw);
    z-index: -1;
    background-color: #e6f6e6;
}

.footer .inner:after {
    content: "";
    position: absolute;
    top: 0;
    left: 37%;
    bottom: 0;
    right: calc(50% - 50vw);
    z-index: -1;
    background-color: #3b7e72;
}

.footer .f_logo {
    width: 24rem;
    margin-bottom: 20px;
}

.footer .f_address {
    width: 37%;
}

.footer .f_nav {
    padding-left: 7rem;
    width: 63%;
}

.footer .f_nav .flex {
    display: flex;
    flex-wrap: wrap;
    row-gap: .6rem;
    column-gap: 8.4rem;
    margin-bottom: 4rem;
}

.footer .f_nav .item {
    width: 22rem;
    padding-left: 1em;
    font-size: 1.8rem;
    font-weight: 500;
    color: #fff;
    letter-spacing: normal;
    background-image: url(../img/common/arrow_6.svg);
    background-repeat: no-repeat;
    background-size: auto .5em;
    background-position: left center;
}

.footer .f_nav .item:hover {
    opacity: .8;
}

.footer .f_btn {
    font-size: 1.8rem;
    font-weight: 700;
    color: #3b7e72;
    width: 25rem;
    padding: 1.1rem 0 1.1rem 5rem;
    background-color: #fff;
    border-radius: 999px;
    background-image: url(../img/common/arrow_2.svg);
    background-repeat: no-repeat;
    background-size: 2rem;
    background-position: right 1.5rem center;
}

.footer .f_btn:hover {
    opacity: .8;
}

.footer .copyright {
    font-size: 1.4rem;
    font-weight: 500;
    text-align: center;
    padding: 1.3rem 0;
    background-color: #fff;
}

#page-top {
    width: 8rem;
    height: 8rem;
    position: fixed;
    right: 5rem;
    bottom: 5rem;
    border-radius: 50%;
    border: 3px solid #fff;
    background-color: #3b7e72;
    z-index: 9900;
    cursor: pointer;
}

#page-top:before {
    content: "";
    position: absolute;
    width: 25%;
    height: 25%;
    top: 10%;
    right: 0;
    bottom: 0;
    left: 0;
    margin: auto;
    border-top: 3px solid #fff;
    border-left: 3px solid #fff;
    transform: rotate(45deg);
}

#page-top:hover {
    background-color: #fff;
    border: 3px solid #3b7e72;
}

#page-top:hover:before {
    border-top: 3px solid #3b7e72;
    border-left: 3px solid #3b7e72;
}

@media (max-width:767px) {
    .f_contact .hl {
        font-size: 3rem;
    }

    .f_contact .flex {
        row-gap: 20px;
    }

    .f_contact .flex .item {
        width: 100%;
        font-size: 2rem;
        padding: 2rem 5rem;
    }

    .f_contact .flex .tel:before {
        left: 1em;
    }

    .f_contact .flex .mail:before {
        left: 1em;
    }

    .footer .inner {
        row-gap: 3rem;
    }

    .footer .f_address {
        width: 100%;
        text-align: center;
    }

    .footer .f_nav {
        width: 100%;
        padding: 0;
    }

    .footer .inner:before {
        right: calc(50% - 50vw);
    }

    .footer .inner:after {
        content: initial;
    }

    .footer .f_logo {
        margin: 0 auto 20px;
    }

    .footer .f_btn {
        color: #fff;
        background-color: #3b7e72;
        background-image: url(../img/common/arrow_1.svg);
        margin: 0 auto;
    }

    #page-top {
        width: 6rem;
        height: 6rem;
        right: 2rem;
        bottom: 2rem;
    }
}


/* 下層共通
---------------------------------*/

.key {
    height: 300px;
    width: 100%;
    max-height: 24vw;
    position: relative;
    text-align: center;
    margin-bottom: 120px;
    z-index: +1;
}

.key:before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: -1;
    background-color: rgba(0, 0, 0, .3)
}

.key .image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: relative;
    z-index: -2;
}

.key .hl {
    display: inline-block;
    padding: 1.5rem 10rem;
    font-size: 4rem;
    font-weight: 700;
    letter-spacing: .1em;
    background-color: #fff;
    margin-top: calc(-0.75em - 1.5rem);
    border-radius: 20px;
    position: relative;
}

.key .hl:after {
    content: "";
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    margin: 0 auto;
    width: 15rem;
    height: 6px;
    border-radius: 3px;
    background-color: #3b7e72;
}

@media (max-width:767px) {
    .key {
        max-height: 40vw;
        margin-bottom: 80px;
    }

    .key .hl {
        font-size: 2rem;
        padding: 1.5rem 2rem;
        border-radius: 10px;
        min-width: 90vw;
    }

    .key .hl:after {
        width: 10rem;
    }
}


/* 下層デザイン
---------------------------------*/

.underlayer main section {
    padding: 80px 0;
}

.underlayer main section:nth-of-type(odd) {
    background-color: #fcf9f4;
}

.underlayer main section:last-of-type {
    padding-bottom: 120px;
}

.is-style-heading01 {
    font-size: 4rem;
    font-weight: 700;
    text-align: center;
    padding-bottom: 18px;
    position: relative;
    margin-bottom: 60px;
}

.is-style-heading01:after {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    margin: 0 auto;
    width: 10rem;
    height: 8px;
    border-radius: 100px;
    background-color: #3b7e72;
}

.is-style-heading02 {
    font-size: 4rem;
    text-align: center;
    margin-bottom: 30px;
}

.is-style-heading02 mark {
    display: block;
    font-size: 1.5rem;
    letter-spacing: .1em;
    padding-top: 5px;
}

.is-style-heading02:not(:first-child) {
    margin-top: 80px;
}

.is-style-heading03 {
    font-size: 3rem;
    padding-bottom: 10px;
    position: relative;
    margin-bottom: 30px;
}

.is-style-heading03:before {
    content: "";
    height: 3px;
    width: 80px;
    position: absolute;
    bottom: 0;
    left: 0;
    background-color: #3b7e72;
}

.is-style-heading03:after {
    content: "";
    height: 3px;
    width: calc(100% - 80px);
    position: absolute;
    bottom: 0;
    right: 0;
    background-color: #ccc;
}

.is-style-heading03:not(:first-child) {
    margin-top: 60px;
}

h2.is-style-default {
    font-size: 2.8rem;
    padding: 0 0 1rem 24px;
    position: relative;
    border-bottom: 1px solid #ccc;
    margin-bottom: 4rem;
}

h2.is-style-default:not(:first-child) {
    margin-top: 60px;
}

h2.is-style-default:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 1.5em;
    width: 8px;
    background-color: #3b7e72;
}

.underlayer .wp-block-group p {
    font-size: 2rem;
    letter-spacing: normal;
    line-height: 1.75;
}

.underlayer .wp-block-group p.small {
    font-size: 1.6rem;
}

.underlayer .wp-block-group p:not(:last-child) {
    margin-bottom: 1.75em;
}

.underlayer .page_nav {
    padding: 0 0 60px;
}

.underlayer .page_nav .wp-block-buttons {
    justify-content: center;
    column-gap: 2.6rem;
    row-gap: 10px;
}

.underlayer .page_nav .wp-block-button__link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 25rem;
    min-height: 6rem;
    padding: .5rem 3rem .5rem 1rem;
    text-align: center;
    letter-spacing: normal;
    font-size: 1.8rem;
    font-weight: 700;
    color: #3b7e72;
    background-color: #fff;
    border-radius: 0;
    border: 1px solid #3b7e72;
    background-image: url(../img/common/arrow_7.svg);
    background-repeat: no-repeat;
    background-size: 0.6em auto;
    background-position: right 1.3rem top 53%;
}

.underlayer .page_nav .wp-block-button__link:hover {
    background-color: #e6f6e6;
}

.underlayer .wp-block-table thead {
    border: none;
    font-size: 2rem;

}

.underlayer .wp-block-table thead th {
    border: 1px solid #fff;
    background-color: #3b7e72;
    color: #fff;
    padding: 1.4rem 1rem;
}

.underlayer .wp-block-table td {
    font-size: 1.8rem;
    padding: 1.8rem 2rem;
    border: 1px solid #ccc;
}

.underlayer .wp-block-table ul li {
    display: flex;
}

.underlayer .wp-block-table ul li:before {
    content: "・";
}

.underlayer .is-style-table01:not(:last-child) {
    margin-bottom: 40px;
}

.underlayer .is-style-table01 table tr {
    display: flex;
    flex-wrap: wrap;
    column-gap: 10px;
}

.underlayer .is-style-table01 td {
    border: none;
    display: block;
    padding: 2rem 3rem;
}

.underlayer .is-style-table01 td:first-of-type {
    font-weight: 500;
    border-bottom: 2px solid #3b7e72;
    width: calc(25% - 10px);
}

.underlayer .is-style-table01 td:not(:first-of-type) {
    border-bottom: 2px solid #ccc;
    width: 75%;
}

.underlayer .is-style-table01 tr:first-of-type td:first-of-type {
    border-top: 2px solid #3b7e72;
}

.underlayer .is-style-table01 tr:first-of-type td:not(:first-of-type) {
    border-top: 2px solid #ccc;
}

.underlayer .is-style-table01 td a {
    display: inline;
    color: #3b7e72;
    text-decoration: underline;
}

.underlayer .front_text {
    padding-bottom: 60px;
}

.underlayer ul.wp-block-list {
    margin-bottom: 2em;
    display: flex;
    flex-direction: column;
    row-gap: 1rem;
}

.underlayer ul.wp-block-list li {
    display: flex;
}

.underlayer ul.wp-block-list li:before {
    content: "・";
}

.underlayer .wp-block-group {
    counter-reset: numbers 0;
}

.underlayer p.numbers {
    display: flex;
}

.underlayer p.numbers:before {
    counter-increment: numbers 1;
    content: counter(numbers) "．";
    color: #3b7e72;
}

.underlayer ol {
    counter-reset: olist 0;
    list-style: none;
    margin-bottom: 2em;
}

.underlayer ol li {
    display: flex;
    margin-bottom: 15px;
}

.underlayer ol li:before {
    counter-increment: olist 1;
    content: "(" counter(olist) ")";
    min-width: 4rem;
    display: block;
}

.underlayer .wp-block-image:not(:first-child) {
    margin-top: 60px;
}

.underlayer .wp-block-image:not(:last-child) {
    margin-bottom: 60px;
}

.underlayer .wp-block-group .is-style-paragraph01 {
    line-height: 1.5;
    font-size: 3rem;
    font-weight: 700;
    padding-left: .7em;
    border-left: .3em solid #3b7e72;
    margin-bottom: 2rem !important;
}

.underlayer .wp-block-group .is-style-paragraph02 {
    font-size: 1.6rem;
    margin-bottom: 2rem !important;
}

.underlayer .wp-block-group .is-style-paragraph03 {
    font-size: 2.4rem;
    font-weight: 700;
    line-height: 1.5;
    color: #3b7e72;
    padding: 4.4rem 2rem;
    border: 1px solid #3b7e72;
    margin-bottom: 6rem !important;
}

@media (max-width:767px) {
    .underlayer .page_nav .wp-block-button__link {
        width: 34rem;
        font-size: 1.6rem;
    }

    .underlayer section {
        padding: 60px 0;
    }

    .is-style-heading01 {
        font-size: 2.6rem;
        margin-bottom: 40px;
    }

    .is-style-heading01:after {
        width: 5rem;
        height: 5px;
    }

    .is-style-heading02 {
        font-size: 2.8rem;
    }

    .is-style-heading03 {
        font-size: 2.3rem;
    }

    h2.is-style-default {
        font-size: 2.2rem;
    }

    .underlayer .wp-block-group p {
        font-size: 1.6rem;
    }

    .underlayer .is-style-table01 table tr {
        margin-bottom: 2rem;
    }

    .underlayer .is-style-table01 td:first-of-type {
        color: #3b7e72;
    }

    .underlayer .is-style-table01 td {
        width: 100% !important;
        border-top: none !important;
        padding: 1rem 0;
    }

    .underlayer .wp-block-group p.small {
        font-size: 1.4rem;
    }

    .underlayer .wp-block-group .is-style-paragraph01 {
        font-size: 2rem;
    }

    .underlayer .wp-block-group .is-style-paragraph03 {
        font-size: 1.6rem;
    }
}


/* 会社案内
---------------------------------*/

#page-company #section-2 p {
    font-size: 3rem;
    line-height: 2;
    letter-spacing: .1em;
}

@media (max-width:767px) {
    #page-company #section-2 p {
        font-size: 1.8rem;
    }
}


/* m&aガイドライン
---------------------------------*/

#page-guideline .wp-block-group {
    letter-spacing: normal;
}


/* Q&A
---------------------------------*/

#page-faq .key {
    margin-bottom: 0;
}

#page-faq main section {
    padding: 14rem 0 12rem;
}

#page-faq .ac_answer {
    white-space: pre-wrap;
}

#page-faq .ac_group {
    display: flex;
    flex-direction: column;
    row-gap: 20px;
}

#page-faq .ac_box {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 1px 2px 2px rgba(0, 0, 0, .16)
}

#page-faq .ac_question {
    padding: 2rem 8rem 2rem 10rem;
    font-size: 2.4rem;
    font-weight: 700;
    cursor: pointer;
    transition: .2s;
    position: relative;
}

#page-faq .ac_question:hover {
    background-color: #eefeee;
}

#page-faq .ac_question:before {
    content: "Q";
    font-size: 4rem;
    color: #3b7e72;
    line-height: 1;
    height: 1em;
    position: absolute;
    top: 0;
    bottom: .2em;
    left: .8em;
    margin: auto 0;
}

#page-faq .ac_question .opcl {
    content: "";
    position: absolute;
    width: 4rem;
    height: 4rem;
    right: 3rem;
    top: 0;
    bottom: 0;
    margin: auto 0;
}

#page-faq .ac_question .opcl:before,
#page-faq .ac_question .opcl:after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: auto;
    height: 4px;
    background-color: #3b7e72;
    border-radius: 10px;
    transition: .3s;
}

#page-faq .ac_question:not(.open) .opcl:after {
    transform: rotate(-90deg);
}

#page-faq .ac_answer {
    font-size: 2rem;
    line-height: 1.75;
    padding: 3rem 8rem;
    position: relative;
}

#page-faq .ac_question.open+.ac_answer:before {
    content: "";
    position: absolute;
    top: 0;
    right: 20px;
    left: 20px;
    height: 1px;
    background-color: #ccc;
}

@media (max-width:767px) {
    #page-faq main section {
        padding: 10rem 0 8rem;
    }

    #page-faq .ac_question {
        font-size: 1.8rem;
        padding: 2rem 5rem 2rem 6rem;
    }

    #page-faq .ac_question:before {
        font-size: 3rem;
        left: .5em;
    }

    #page-faq .ac_question .opcl {
        width: 2.4rem;
        height: 2.4rem;
        right: 1.5rem;
    }

    #page-faq .ac_answer {
        font-size: 1.6rem;
        padding: 3rem 2rem;
    }
}


/* M&Aについて
---------------------------------*/

#page-m_a .page_nav .wp-block-buttons {
    column-gap: 1%;
}

#page-m_a .page_nav .wp-block-button {
    width: 19%
}

#page-m_a .page_nav .wp-block-button__link {
    width: 100%;
    font-size: 1.6rem;
}

#page-m_a .md_table {
    width: 100%;
    overflow-x: auto;
}

#page-m_a .md_table table {
    min-width: 74rem;
}

#page-m_a .md_table th:nth-of-type(1),
#page-m_a .md_table th:nth-of-type(2) {
    width: 16%;
}

#page-m_a .md_table th:nth-of-type(3),
#page-m_a .md_table th:nth-of-type(4) {
    width: 34%;
}

#page-m_a .md_table td[rowspan="2"] {
    font-weight: 700;
    background-color: #eefeee;
    color: #3b7e72;
}

#page-m_a .step_wrap {
    display: flex;
    column-gap: 2rem;
}

#page-m_a .step_label {
    width: 8rem;
    min-width: 8rem;
    padding: 3rem calc(4rem - .6em);
    text-align: center;
    background-color: #3b7e72;
    color: #fff;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.25;
}

#page-m_a .step_wrap > .wp-block-column {
    flex-basis: initial !important;
    flex-grow: initial;
    min-width: initial;
}

#page-m_a .step_wrap .ac_group {
    display: flex;
    flex-direction: column;
    row-gap: 10px;
    width: calc(100% - 10rem);
}

#page-m_a .step_wrap .ac_box {
    background-color: #fff;
    box-shadow: 1px 2px 2px rgba(0, 0, 0, .16)
}

#page-m_a .step_wrap .ac_question {
    padding: 3rem 10rem 3rem 5rem;
    font-size: 1.8rem;
    font-weight: 700;
    cursor: pointer;
    transition: .2s;
    position: relative;
    margin: 0;
}

#page-m_a .step_wrap .ac_question:hover {
    color: #3b7e72;
}

#page-m_a .step_wrap .ac_question.open {
    color: #3b7e72;
}

#page-m_a .step_wrap .ac_question:before,
#page-m_a .step_wrap .ac_question:after {
    content: "";
    position: absolute;
    top: 0;
    right: 2rem;
    bottom: 0;
    width: 4rem;
    margin: auto;
    height: 4px;
    background-color: #3b7e72;
    border-radius: 10px;
    transition: .3s;
}

#page-m_a .step_wrap .ac_question:not(.open):after {
    transform: rotate(-90deg);
}

#page-m_a .step_wrap .ac_answer {
    display: none;
    padding: 3rem 8rem 4rem;
    letter-spacing: normal;
    font-size: 1.8rem;
    line-height: 1.5;
    position: relative;
}

#page-m_a .step_wrap .ac_answer:before {
    content: "";
    position: absolute;
    top: 0;
    right: 20px;
    left: 20px;
    height: 1px;
    background-color: #ccc;
}

#page-m_a .step_wrap + .step_wrap {
    margin-top: 30px;
}

#page-m_a .step_wrap:nth-of-type(2) .step_label {
    background-color: #60a195;
}

#page-m_a .step_wrap:nth-of-type(3) .step_label {
    background-color: #87bcb3;
}

#page-m_a .com_table {
    letter-spacing: normal;
    font-weight: 700;
}

#page-m_a .com_table th:nth-of-type(1) {
    width: 74%;
}

#page-m_a .com_table th:nth-of-type(2) {
    width: 26%;
}

#page-m_a .com_table td:nth-of-type(1) {
    background-color: #eefeee;
    color: #3b7e72
}

#page-m_a .com_table td:nth-of-type(2) {
    background-color: #fff;
}

@media (max-width:767px) {
    #page-m_a .page_nav .wp-block-buttons {
        column-gap: 4%;
        justify-content: start;
    }

    #page-m_a .page_nav .wp-block-button {
        width: 48%;
    }

    #page-m_a .md_table th {
        font-size: 1.6rem;
    }

    #page-m_a .md_table td {
        font-size: 1.6rem;
        padding: 1.8rem 1rem;
    }

    #page-m_a #section-2 .is-style-heading01 {
        font-size: 2.2rem;
    }

    #page-m_a .step_label {
        width: 5rem;
        padding: 3rem calc(2.5rem - .6em);
        font-size: 1.6rem;
    }

    #page-m_a .step_wrap .ac_group {
        width: calc(100% - 7rem);
    }

    #page-m_a .step_wrap .ac_question {
        padding: 2rem 5rem 2rem 2.5rem;
        font-size: 1.6rem;
    }

    #page-m_a .step_wrap .ac_question:before,
    #page-m_a .step_wrap .ac_question:after {
        width: 2rem;
        height: 3px;
    }

    #page-m_a .step_wrap .ac_answer {
        padding: 2rem 2.5rem;
        font-size: 1.6rem;
    }

    .underlayer .wp-block-table thead th {
        font-size: 1.6rem;
    }

    .underlayer .wp-block-table td {
        font-size: 1.6rem;
        padding: 1.8rem 1rem;
    }
}


/* サイトマップ
---------------------------------*/

#page-sitemap main section {
    background: none;
    padding-top: 40px;
}

#page-sitemap .wp-block-button__link {
    border-radius: 0;
    border: 1px solid #aaa;
    padding: 1em 2em 1em 3rem;
    font-size: 2rem;
    font-weight: 500;
    text-align: left;
    background-color: #fff;
    color: #333;
    letter-spacing: normal;
    position: relative;
    background-image: url(../img/common/arrow_8.svg);
    background-repeat: no-repeat;
    background-size: .3em auto;
    background-position: right 2rem center;
}

#page-sitemap .wp-block-button__link:hover {
    background-color: #3b7e72;
    border: 1px solid #3b7e72;
    color: #fff;
    background-image: url(../img/common/arrow_6.svg);
}

@media (max-width:767px) {
    #page-sitemap .wp-block-button__link {
        font-size: 1.8rem;
    }

    #page-sitemap .wp-block-button {
        width: 100%;
    }
}


/* お問い合わせ
---------------------------------*/

.contact_step {
    display: flex;
    justify-content: center;
    column-gap: 8rem;
    padding-bottom: 60px;
}

.contact_step .item {
    font-size: 1.6rem;
    font-weight: 500;
    text-align: center;
}

.contact_step .item .num {
    display: block;
    font-size: 3.4rem;
    color: #fff;
    line-height: 8rem;
    width: 8rem;
    border-radius: 50%;
    background-color: #3b7e72;
    margin-bottom: 1rem;
}

.contact_cover.step_contact .item:not(.step_1),
.contact_cover.step_confirm .item:not(.step_2),
.contact_cover.step_thanks .item:not(.step_3) {
    opacity: .5;
}

.table_contact {
    width: 100%;
    letter-spacing: normal;
    margin-bottom: 60px;
}

.table_contact tr {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    width: 100%;
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid #ccc;
}

.table_contact th {
    width: 30rem;
    text-align: left;
    font-size: 2rem;
}

.table_contact th.hissu {
    position: relative;
    padding-right: 10rem;
}

.table_contact th.hissu:after {
    content: "\5FC5\9808";
    padding: 0 1.4rem;
    border: 1px solid #c00;
    color: #c00;
    line-height: 3rem;
    height: 3rem;
    font-size: 1.6rem;
    font-weight: 500;
    position: absolute;
    right: 3rem;
    top: 0;
    bottom: 0;
    margin: auto 0;
}

.table_contact td {
    width: calc(100% - 30rem);
}

.table_contact .wpcf7-checkbox {
    display: flex;
    flex-wrap: wrap;
    column-gap: 3rem;
    row-gap: 1rem;
}

.table_contact .wpcf7-checkbox .wpcf7-list-item.last {
    display: flex;
    width: 100%;
    align-items: center;
    column-gap: 3rem;
}

.table_contact .wpcf7-checkbox .wpcf7-list-item.last input[type="text"] {
    width: 40rem;
}

.table_contact ::placeholder {
    color: #ccc;
}

.table_contact input[type="text"],
.table_contact input[type="tel"],
.table_contact input[type="email"],
.table_contact textarea {
    width: 100%;
    padding: 1rem 2rem;
    font-size: 1.8rem;
    line-height: 1.5;
}

.table_contact textarea {
    height: 12em;
}

.policy_consent {
    text-align: center;
    font-size: 2.2rem;
    font-weight: 500;
    margin-bottom: 60px;
}

.policy_consent a {
    display: inline;
    color: #3b7e72;
    text-decoration: underline;
}

.policy_consent .btn {
    display: flex;
    justify-content: center;
    margin-top: 10px;
}
.table_contact input[type="checkbox"] {
    margin-right: 3px;
}

#page-contact input[type="checkbox"] {
    transform: scale(1.5);
}

.policy_consent input[type="checkbox"] {
    margin-right: 1rem;
}

.submit_btn {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    column-gap: 3rem;
    row-gap: 2rem;
}

.submit_btn > p {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.submit_btn .tmp_btn_1 {
    width: 32rem;
    font-size: 2.2rem;
    padding: 1.8rem 3rem;
    cursor: pointer;
    transition: .2s;
    margin: 0;
}

.submit_btn .tmp_btn_1:disabled {
    background-color: #ccc;
    color: #999;
    background-image: none;
    border: none;
    cursor: default;
}

.submit_btn .change_btn {
    display: block;
    font-size: 2.2rem;
    font-weight: 500;
    text-align: center;
    color: #fff;
    letter-spacing: .1em;
    line-height: 1.5;
    padding: 1.8rem 3rem;
    margin: 0;
    width: 38rem;
    background-color: #aaa;
    border: 1px solid #aaa;
    border-radius: 999px;
    cursor: pointer;
    transition: .2s;
}

.submit_btn .change_btn:hover {
    background-color: #333;
}

.submit_btn .wpcf7-spinner {
    display: none;
}

.wpcf7-list-item {
    margin: 0;
}

.submit_btn .back_button {
    background-color: #333;
    border: 1px solid #333;
    background-image: none;
}

.submit_btn .back_button:hover {
    background-color: #fff;
    color: #333;
}

@media (max-width:767px) {
    .table_contact tr {
        row-gap: 2rem;
    }

    .table_contact th,
    .table_contact td {
        width: 100%;
    }

    .table_contact th.hissu:after {
        right: 0;
    }

    .table_contact .wpcf7-checkbox .wpcf7-list-item.last {
        flex-wrap: wrap;
        row-gap: 1rem;
    }
    .table_contact .wpcf7-checkbox .wpcf7-list-item.last input[type="text"] {
        width: 100%;
    }

    .contact_step {
        column-gap: 4rem;
    }

    .contact_step .item .num {
        line-height: 6rem;
        height: 6rem;
        width: 6rem;
        font-size: 3rem;
    }

    .policy_consent {
        font-size: 1.8rem;
    }

    .policy_consent a {
        display: inline-block;
    }
}


/* 独立薬剤師
---------------------------------*/

#page-pharmacist #section-2 .wp-block-table td:first-of-type {
    background-color: #eefeee;
    color: #3b7e72;
    font-weight: 700;
}

#page-pharmacist .structure_graph {
    padding: 5rem 0;
    border-left: 5px solid #aaa;
    margin-bottom: 60px;
}


#page-pharmacist .structure_graph .wp-block-group-is-layout-flex {
    column-gap: 0;
    align-items: initial;
}

#page-pharmacist .structure_graph .wp-block-group-is-layout-flex:nth-of-type(1) {
    width: 100%;
    margin-bottom: 2rem;
}

#page-pharmacist .structure_graph .wp-block-group-is-layout-flex:nth-of-type(2) {
    width: 100%;
    margin-bottom: 2rem;
}

#page-pharmacist .structure_graph .wp-block-group-is-layout-flex:nth-of-type(3) {
    width: 60%;
    margin-bottom: 2rem;
}

#page-pharmacist .structure_graph .wp-block-group-is-layout-flex:nth-of-type(4) {
    width: 30%;
}

#page-pharmacist .structure_graph .wp-block-group-is-layout-flex p {
    margin: 0;
    text-align: center;
    line-height: 1.5;
    font-size: 1.8rem;
    font-weight: 500;
    min-height: 6rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

#page-pharmacist .structure_graph .wp-block-group-is-layout-flex:nth-of-type(1) p {
    width: 100%;
    background-color: #ddf8de;
}

#page-pharmacist .structure_graph .wp-block-group-is-layout-flex:nth-of-type(2) p:first-child {
    width: 60%;
    background-color: #ddf8de;
}

#page-pharmacist .structure_graph .wp-block-group-is-layout-flex:nth-of-type(2) p:last-child {
    width: 40%;
    background-color: #aadfac;
}

#page-pharmacist .structure_graph .wp-block-group-is-layout-flex:nth-of-type(3) p:first-child {
    width: 40%;
    background-color: #ddf8de;
}

#page-pharmacist .structure_graph .wp-block-group-is-layout-flex:nth-of-type(3) p:last-child {
    width: 60%;
    background-color: #aadfac;
}

#page-pharmacist .structure_graph .wp-block-group-is-layout-flex:nth-of-type(4) p:first-child {
    width: 50%;
    background-color: #ddf8de;
}

#page-pharmacist .structure_graph .wp-block-group-is-layout-flex:nth-of-type(4) p:last-child {
    width: 50%;
    background-color: #aadfac;
}

#page-pharmacist .box_text {
    padding: 4rem 5rem;
    border: 2px solid #3b7e72;
    margin-top: 60px;
}

@media (max-width:767px) {
    #page-pharmacist .structure_graph .wp-block-group-is-layout-flex p {
        font-size: 1.5rem;
    }

    #page-pharmacist .structure_graph .wp-block-group-is-layout-flex:nth-of-type(3) {
        width: 80%;
    }

    #page-pharmacist .structure_graph .wp-block-group-is-layout-flex:nth-of-type(4) {
        width: 50%;
    }

    #page-pharmacist .box_text {
        padding: 3rem 2rem;
    }
}




/*フォーム改修
----------------------------*/

.confirm_wrap,
.thanks_wrap,
.wpcf7-response-output {
    display: none;
}
