@charset "UTF-8";

/* ==================================================
レスポンシブ
==================================================*/
/* -------------------- 見出し -------------------- */
h1 {
    font-size: 28px;
    padding: 0 0 0.5rem 0;
    border-bottom: 4px solid #3773B8;
    margin-top: 5rem!important;
    margin-bottom: 2rem!important;
}
#entry_top h1,
#about #about_area h1,
.contact h1 {
    margin-top: 0!important;
}

/* -------------------- 05 会社概要 -------------------- */
#about .about_linkbox {
    margin-bottom: 5rem;
}
#about dl > div {
    border-left: 2px solid #3773B8;
}
#about dl dd {
    width: 100%;
    margin: 0;
}


.treatment_system {
    display: flex;
    flex-direction: column;
}
.treatment_system > div {
    flex-direction: column;
}
.treatment_system > div:nth-child(2n-1) {
    background-color: #3773B8;
}
.treatment_system > div:nth-child(2n) {
    background-color: #DFE9F4;
}
.treatment_system > div:nth-child(2n) p {
    color: #3773B8;
}

.treatment_system > div:nth-child(1) img {
    width: 110px;
    height: auto;
}
.treatment_system > div:nth-child(2) img {
    width: 100px;
    height: auto;
}
.treatment_system > div:nth-child(3) img {
    width: 64px;
    height: auto;
}
.treatment_system > div:nth-child(4) img {
    width: 105px;
    height: auto;
}
.treatment_system > div:nth-child(5) img {
    width: 85px;
    height: auto;
}
.treatment_system > div:nth-child(6) img {
    width: 52px;
    height: auto;
}
.treatment_system > div:nth-child(7) img {
    width: 75px;
    height: auto;
}
.treatment_system > div:nth-child(8) img {
    width: 74px;
    height: auto;
}
.treatment_system > div:nth-child(9) img {
    width: 60px;
    height: auto;
}

.lunch_box,
.club_box {
    flex-wrap: wrap;
}
.lunch_box img,
.club_box > p {
    width: calc(50% - 10px);
}
.club_box > ul {
    width: 100%;
}
.club_box img {
    width: 100%!important;
}


.access_box {
    flex-direction: column;
}
.access_box > div:last-child iframe {
    height: 320px;
}








/* -------------------- 06 エントリー -------------------- */
#entry_top section:nth-of-type(1) ol li {
    background: url(img/arrow_entry.png) no-repeat left 2rem bottom 8px;
    background-size: 8px;
    padding-bottom: 2rem;
}
#entry_top section:nth-of-type(1) ol li:last-child {
    background: none;
    padding: 0;
}
#entry_top section:nth-of-type(1) ol li::marker {
    color: #3773B8;
}

.post_inner {
    background-color: #F5F5F5;
}
.post_text span {
    color: #3773B8;
    font-size: 20px;
    background: url(img/icon_post.png) no-repeat left center;
    background-size: 1.5rem;
    padding: 0 0 0 2.5rem;
}










/* -------------------- 07 フォーム -------------------- */
.contact > section > p {
    margin-bottom: 50px;
}

.contact form > div,
.page-id-100 .contact #inputArea > div,
.page-id-100 .contact #confirmArea > p {
    border-left: 2px solid #3773B8;
    padding-left: 0.5rem;
}
.page-id-100 .contact #confirmArea > p {
    font-weight: bold;
}
.page-id-100 .contact #confirmArea > p > * {
    font-weight: normal;
}
#inputArea,
#confirmArea {
    border: none;
    padding-left: 0;
}
.contact form > div > p,
.page-id-100 .contact #inputArea > div > p {
    width: 100%;
    word-break: break-all;
    display: block;
}
.contact form p > label,
.page-id-100 .contact #inputArea p > label {
    font-weight: bold;
    margin-bottom: 0.25rem;
}
.contact form p > label br,
.page-id-100 .contact #inputArea p > label br {
    display: none;
}
.contact form p > label,
.contact form p > span,
.page-id-100 .contact #inputArea p > label,
.page-id-100 .contact #inputArea p > span {
    width: 100%;
    display: block;
}
.contact form p > label > span.red,
.page-id-100 .contact #inputArea p > label > span.red {
    color: #fff;
    font-size: 12px;
    font-weight: normal;
    background-color: #E40011;
    border-radius: 20px;
    padding: 2px 5px;
    margin-left: 10px;
}

.contact form > div.w100_label > p > span input,
.page-id-100 .contact #inputArea > div.w100_label > p > span input {
    width: 100%;
    display: block;
}
.contact form span.wpcf7-list-item:has(input[type="radio"]),
.page-id-100 .contact #inputArea span.wpcf7-list-item:has(input[type="radio"]) {
    margin: 0 1rem 0 0;
}

.contact p:has(input[type="submit"]),
.page-id-100 .contact p:has(button[type="button"]) {
    text-align: center;
}
.contact input[type="submit"],
.page-id-100 .contact button[type="button"] {
    width: 80%;
    color: #fff;
    font-size: 20px;
    background-color: #3773B8;
    border-color:#3773B8;
    border: 2px solid #3773B8;
    border-radius: 0;
    padding: 1rem;
    margin: 50px auto 0;
    transition: all 0.3s;
}
.contact input[type="submit"]:hover,
.page-id-100 .contact button[type="button"]:hover  {
    color: #3773B8;
    border-color: #3773B8;
    background-color: #fff;
}

.contact form input::placeholder,
.contact form textarea::placeholder {
    color: #ccc;
}








/* -------------------- 08 フォーム確認画面 -------------------- */
.wpcf7-spinner {
    display: none!important;
}
.page-id-76 .contact form > div > p,
.page-id-79 .contact form > div > p,
.page-id-100 .contact #confirmArea > div > p {
    gap: 20px;
}
.page-id-76 .contact form p > label,
.page-id-79 .contact form p > label,
.page-id-100 .contact #confirmArea p > label {
    border-right: none;
}


.page-id-76 .contact p:has(input[type="button"]),
.page-id-79 .contact p:has(input[type="button"]),
.page-id-100 .contact #confirmArea p:has(button[type="button"]) {
    text-align: center;
}
.page-id-76 .contact input[type="button"],
.page-id-79 .contact input[type="button"],
.page-id-100 .contact #confirmArea button#backBtn {
    width: 80%;
    color: #3773B8;
    font-size: 20px;
    background-color: #fff;
    border-color:#3773B8;
    border: 2px solid #3773B8;
    border-radius: 0;
    padding: 1rem;
    /* margin: 0 auto; */
    margin: 24px auto 0;
    transition: all 0.3s;
}
.page-id-76 .contact input[type="button"]:hover,
.page-id-79 .contact input[type="button"]:hover,
.page-id-100 .contact #confirmArea button#backBtn:hover {
    color: #fff;
    background-color: #3773B8;
}

.page-id-100 #realSubmit {
    display: none!important;
}












/* ==================================================
レスポンシブ　sm 576px
==================================================*/
@media screen and (min-width: 576px) {

/* -------------------- 見出し -------------------- */
h1 {
    font-size: 40px;
    margin-bottom: 3rem!important;
}


/* -------------------- 05 会社概要 -------------------- */
.treatment_system > div {
    flex-direction: initial;
}
}






/* ==================================================
レスポンシブ　md 768px
==================================================*/
@media screen and (min-width: 768px) {

/* -------------------- 05 会社概要 -------------------- */
.lunch_box img,
.club_box > ul,
.club_box > p {
    width: calc((100% - 40px) / 3);
}


}






/* ==================================================
レスポンシブ　lg 992px
==================================================*/
@media screen and (min-width: 992px) {

/* -------------------- 05 会社概要 -------------------- */
#about dl dt,
#about dl dd {
    border-bottom: 1px solid #ccc;
}
#about dl dt {
    width: 12rem;
    font-weight: normal;
}

.treatment_system {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
}
.treatment_system > div {
    flex-direction: column;
}

.access_box {
    flex-direction: initial;
    justify-content: space-between;
}
.access_box > div:first-child {
    width: 40%;
}
.access_box > div:last-child {
    width: 60%;
}





/* -------------------- 07 フォーム -------------------- */
.contact > section > p {
    margin-bottom: 80px;
}

.contact form > div,
.page-id-100 .contact #inputArea > div,
.page-id-100 .contact #confirmArea > p {
    border-left: none;
    padding-left: 0;
}
.page-id-100 .contact #confirmArea > p {
    font-weight: normal;
}
.contact form > div > p,
.page-id-100 .contact #inputArea > div > p {
    display: flex;
    justify-content: start;
    align-items: top;
    gap: 50px;
}
.contact form p > label,
.page-id-100 .contact #inputArea p > label {
    width: 30%;
    font-weight: normal;
    border-right: 3px solid #3773B8;
    margin-bottom: 0;
}
.contact form p > label br,
.page-id-100 .contact #inputArea p > label br {
    display: block;
}
.contact form p > span,
.page-id-100 .contact #inputArea p > span {
    width: 70%;
}


.contact input[type="submit"],
.page-id-100 .contact button[type="button"] {
    width: 50%;
}









/* -------------------- 08 フォーム確認画面 -------------------- */
.page-id-76 .contact input[type="button"],
.page-id-79 .contact input[type="button"],
.page-id-100 .contact #confirmArea button#backBtn {
    width: 50%;
}

.page-id-76 .contact form p > label,
.page-id-79 .contact form p > label,
.page-id-100 .contact #confirmArea p {
    /* width: auto; */
    padding-right: 1rem;
    padding-left: 24px;
    position: relative;
}
.page-id-100 .contact #confirmArea p {
    padding-right: 0;
    justify-content: space-between;
}
.page-id-100 .contact #confirmArea p:has(button) {
    position: initial;
    padding: 0;
}
.page-id-76 .contact form p > label::before,
.page-id-79 .contact form p > label::before,
.page-id-100 .contact #confirmArea p::before {
    content: '';
    width: 16px;
    height: 16px;
    background-color: #3773B8;
    position: absolute;
    top: 4px;
    left: 0;
}
.page-id-76 .contact form p > label::after,
.page-id-79 .contact form p > label::after {
    content: ':';
    position: absolute;
    top: 0;
    right: 0.5rem;
}
.page-id-100 .contact #confirmArea p span {
    padding-left: 3rem;
    position: relative;
}
.page-id-100 .contact #confirmArea p span::before {
    content: ':';
    position: absolute;
    top: 0;
    left: 0.5rem;
}


}