@charset "utf-8";

/* ---------------------------------------------------- */
/* 変数 */
/* ---------------------------------------------------- */
:root {
    --co_1: #fff;
    --co_2: #000;
    --co_3: #2d3236;
    --co_4: #8fc31f;
    --co_5: #a478a7;
    --co_6: #d3d6d9;
    --co_7: #efe3ed;
    --co_8: #f6fbf2;
    --co_9: #cdacd0;
    --co_10: #fff9e5;
    --co_11: #ffca02;
    --co_12: #ff8412;
    --co_13: #9d7e62;
    --co_14: #686967;
    --co_15: #573a24;
    --co_16: #ffebd8;
}

/* ---------------------------------------------------- */
/* html body */
/* ---------------------------------------------------- */
html {
    width: 100%;
    height: 100%;
    -webkit-text-size-adjust: 100%;
    /* iPhone */
    overflow-y: scroll;
}

body {
    width: 100%;
    min-height: 100%;
    margin: 0;
    padding: 0;
    color: var(--co_3);
    line-height: 1.6;
    font-family: "Noto Sans JP", "游ゴシック体", "Yu Gothic", YuGothic, "ヒラギノ角ゴ Pro", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, "MS Pゴシック", "MS PGothic", sans-serif;
    font-weight: 400;
    background-color: var(--co_1);
    overflow: hidden;
}

body::before {
    content: "";
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
}

@media (min-width: 1000px) {
    body {
        min-width: 1180px;
        font-size: 16px;
    }
}

@media (max-width: 999px) {
    body {
        min-width: 320px;
        font-size: 14px;
    }
}

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

/* svg {
    display: block;
    width: 100%;
    height: 100%;
} */

/* ---------------------------------------------------- */
/* a */
/* ---------------------------------------------------- */
a {
    color: var(--co_4);
    text-decoration: underline;
    outline: none;
    transition: 0.3s ease;
}

@media (min-width: 1000px) {
    a:hover {
        text-decoration: none;
    }
}

/* ---------------------------------------------------- */
/* body_wrap */
/* ---------------------------------------------------- */
.body_wrap {
    max-height: 999999px;
    /* android chrome フォントサイズバグ回避 */
    opacity: 0;
}

/* ---------------------------------------------------- */
/* contents_wrap */
/* ---------------------------------------------------- */
@media (min-width: 1000px) {
    .contents_wrap {
        padding-top: 160px;
    }
}

@media (max-width: 999px) {
    .contents_wrap {
        padding-top: 120px;
    }
}

/* ---------------------------------------------------- */
/* .header_1 */
/* ---------------------------------------------------- */
.header_1 {
    position: relative;
    left: 0;
    top: 0;
    width: 100%;
    z-index: 100;
}

.header_1 .header_inner {
    position: relative;
}

.header_1 .site_ttl_1 {
    position: absolute;
    left: 50px;
    top: 50px;
}

.header_1 .site_ttl_1 a {
    display: block;
    width: 120px;
}
.header_1 .nav_1 {
    margin-top: 30px;
    width: 100%;
}
.header_1 .nav_1 .main-menu > li {
    position: relative;
    border-bottom: 1px solid var(--co_1);
}
.page-bunin .header_1 .nav_1 .main-menu > li {
    border-color: var(--co_5);
}
.header_1 .nav_1 .main-menu > li > a {
    position: relative;
    display: flex;
    align-items: center;
    padding: 20px 0;
    max-width: max-content;
    font-size: 18px;
    color: var(--co_1);
    text-decoration: none;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    outline: none;
}

.header_1 .nav_1 .main-menu > li > a > span > span:nth-of-type(2) {
    display: none;
}

.header_1 .nav_1 .main-menu > li.menu-item-has-children > i {
    position: absolute;
    right: 20px;
    top: 25px;
    display: block;
    width: 12px;
    height: 12px;
    border-top: 2px solid var(--co_1);
    border-right: 2px solid var(--co_1);
    transform: rotate(135deg);
    cursor: pointer;
    transition: 0.3s ease;
}

.header_1 .nav_1 .main-menu > li.menu-item-has-children.is_children_show > i {
    top: 30px;
    transform: rotate(-45deg);
}

.header_1 .nav_1 .sub-menu {
    display: none;
}

.header_1 .nav_1 .sub-menu > li {
    position: relative;
    display: flex;
    margin-bottom: 20px;
}

.header_1 .nav_1 .sub-menu > li > a {
    display: block;
    padding-left: 30px;
    max-width: max-content;
    color: var(--co_1);
    font-size: 16px;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
}
.header_1 .nav_1 .sub-menu > li > a::before {
    content: "・";
    position: absolute;
    left: 5px;
    top: 0;
    display: block;
    color: var(--co_1);
}

.header_1 .btn_toggle_megamenu {
    position: fixed;
    right: 50px;
    top: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 80px;
    height: 80px;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    outline: none;
    background-color: var(--co_5);
    z-index: 110;
}

.header_1 .btn_toggle_megamenu > span {
    position: relative;
    width: 40px;
    height: 40px;
}

.header_1 .btn_toggle_megamenu > span > span > span,
.header_1 .btn_toggle_megamenu > span > span:before,
.header_1 .btn_toggle_megamenu > span > span:after {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--co_1);
    border-radius: 2px;
    transform-origin: center center;
    transition: 0.3s ease;
}

.header_1 .btn_toggle_megamenu > span > span:before {
    transform: translateY(-12px);
}

.header_1 .btn_toggle_megamenu > span > span:after {
    transform: translateY(12px);
}

.header_1 .btn_toggle_megamenu.is_show > span > span span,
.header_1 .btn_toggle_megamenu.is_show > span > span:before,
.header_1 .btn_toggle_megamenu.is_show > span > span:after {
    width: 100% !important;
}

.header_1 .btn_toggle_megamenu.is_show > span > span span {
    opacity: 0;
}

.header_1 .btn_toggle_megamenu.is_show > span > span:before {
    transform: translateY(-50%) rotate(-45deg);
}

.header_1 .btn_toggle_megamenu.is_show > span > span:after {
    bottom: 0;
    transform: translateY(-50%) rotate(45deg);
}

.header_1 .toggle_megamenu_wrap {
    position: relative;
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: var(--co_5);
    background-image: url(../img/bg/1.svg), url(../img/bg/2.svg);
    background-position:
        left top,
        right bottom;
    background-size: 500px auto;
    background-repeat: no-repeat;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    z-index: 100;
}

.header_1 .toggle_megamenu_wrap .toggle_inner {
    display: flex;
    justify-content: center;
    /* align-items: center;
    align-content: center; */
    flex-wrap: wrap;
    padding: 150px 0 30px;
    margin: 0 auto;
    width: 500px;
    height: 100%;
}

@media (min-width: 1000px) and (max-width: 1400px) {
    /* .header_1 .site_ttl_1 a img {
        width: 280px;
    }
    .header_1 .site_ttl_1 .desc {
        display: none;
    }
    .header_1 .nav_1 {
        right: 270px;
    }
    .header_1 .nav_1 .main-menu > li + li {
        margin-left: 30px;
    }
    .header_1 .btn_1 {
        right: 270px;
    } */
}
@media (min-width: 1000px) {
    .header_1 .nav_1 a:hover {
        opacity: 0.6;
    }
    .header_1 .nav_1 .main-menu > li.menu-item-has-children > i:hover {
        opacity: 0.6;
    }
}
@media (max-width: 999px) {
    .header_1 .site_ttl_1 {
        left: 20px;
        top: 30px;
    }

    .header_1 .site_ttl_1 a {
        display: block;
        width: 80px;
    }
    .header_1 .nav_1 .main-menu > li > a {
        font-size: 16px;
    }

    .header_1 .nav_1 .main-menu > li.menu-item-has-children.is_children_show > i {
        top: 30px;
        transform: rotate(-45deg);
    }

    .header_1 .nav_1 .sub-menu {
        display: none;
    }

    .header_1 .nav_1 .sub-menu > li > a {
        font-size: 14px;
    }
    .header_1 .btn_toggle_megamenu {
        right: 0;
        top: 0;
        padding-bottom: 10px;
        width: 60px;
        height: 65px;
    }
    .header_1 .btn_toggle_megamenu::after {
        content: "MENU";
        position: absolute;
        left: 0;
        bottom: 10px;
        width: 100%;
        font-family: var(--ff_en_1);
        color: var(--co_1);
        font-size: 10px;
        font-weight: 700;
        text-align: center;
        line-height: 1;
    }
    .header_1 .btn_toggle_megamenu.is_show::after {
        content: "CLOSE";
    }
    .header_1 .btn_toggle_megamenu > span {
        width: 20px;
        height: 20px;
    }

    .header_1 .btn_toggle_megamenu > span > span:before {
        transform: translateY(-8px);
    }

    .header_1 .btn_toggle_megamenu > span > span:after {
        transform: translateY(8px);
    }
    .header_1 .toggle_megamenu_wrap {
        background-size: 300px auto;
    }
    .header_1 .toggle_megamenu_wrap .toggle_inner {
        padding: 50px 30px 30px;
        width: auto;
    }
}

/* ---------------------------------------------------- */
/* .footer_1 */
/* ---------------------------------------------------- */
.footer_1 {
    position: relative;
    border-top: 1px solid var(--co_6);
}

.footer_1 .footer_inner {
    position: relative;
    margin-left: auto;
    margin-right: auto;
    padding-top: 70px;
    padding-bottom: 70px;
    width: 1100px;
}

.footer_1 .clms_wrap_1 {
    display: flex;
    justify-content: space-between;
}
.footer_1 .clms_wrap_1 > .clm_wrap {
    flex: initial;
    width: auto;
}
.footer_1 .site_ttl_1 {
    margin-bottom: 30px;
    width: 120px;
}
.page-clinic .footer_1 .site_ttl_1 {
    width: auto;
}
.page-clinic .footer_1 .site_ttl_1 img {
    width: auto;
    height: 90px;
}
.footer_1 .desc_1 {
    font-size: 15px;
}
.footer_1 .nav_1 {
    display: flex;
}

.footer_1 .nav_1 .main-menu + .main-menu {
    margin-left: 80px;
}

.footer_1 .nav_1 .main-menu > li + li {
    margin-top: 20px;
}

.footer_1 .nav_1 .main-menu > li > a {
    color: var(--co_3);
    font-size: 15px;
    text-decoration: none;
    font-weight: 500;
}

.footer_1 .nav_1 .sub-menu {
    margin-top: 10px;
}

.footer_1 .nav_1 .sub-menu > li {
    position: relative;
    padding-left: 20px;
}

.footer_1 .nav_1 .sub-menu > li + li {
    margin-top: 10px;
}

.footer_1 .nav_1 .sub-menu > li > a {
    display: block;
    color: var(--co_3);
    text-decoration: none;
}

.footer_1 .nav_1 .sub-menu > li > a::before {
    content: "・";
    position: absolute;
    left: 5px;
    top: 0;
    display: block;
    color: var(--co_5);
}
.footer_1 .btn_pagetop_1 {
    position: absolute;
    right: 40px;
    display: block;
    bottom: 95px;
    width: 100px;
}
.footer_1 .copyright_1 {
    padding: 30px 0;
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
    text-align: center;
    background-color: var(--co_5);
}
.page-nishimagome .footer_1 .copyright_1 {
    background-color: var(--co_5);
}
.page-magome .footer_1 .copyright_1 {
    background-color: var(--co_15);
}

@media (min-width: 1000px) {
    .footer_1 .nav_1 a:hover {
        opacity: 0.6;
    }
    .footer_1 .btn_pagetop_1:hover {
        bottom: 10px;
    }
}
@media (max-width: 999px) {
    .footer_1 .footer_inner {
        padding-top: 40px;
        padding-bottom: 40px;
        width: calc(100% - 40px);
    }
    .footer_1 .footer_inner {
        position: relative;
        margin-left: auto;
        margin-right: auto;
        width: calc(100% - 40px);
    }

    .footer_1 .clms_wrap_1 {
        display: block;
    }

    .footer_1 .site_ttl_1 {
        margin: 0 auto 30px;
        width: 70px;
    }
    .page-clinic .footer_1 .site_ttl_1 img {
        height: 60px;
    }
    .footer_1 .desc_1 {
        font-size: 13px;
        text-align: center;
    }
    .footer_1 .nav_1 {
        display: none;
    }
    .footer_1 .btn_pagetop_1 {
        right: 20px;
        bottom: auto;
        top: 20px;
        width: 60px;
    }
    .footer_1 .copyright_1 {
        padding: 10px 0;
        font-size: 12px;
    }
}

/* ---------------------------------------------------- */
/* .sec_post_wrap */
/* ---------------------------------------------------- */
.sec_post_wrap {
    padding-bottom: 100px;
}

.sec_archive_wrap {
    padding-bottom: 100px;
}
