﻿@media only screen and (max-width: 768px) {
    .blurFixSP {
        image-rendering: optimizeSpeed;
        image-rendering: -moz-crisp-edges;
        image-rendering: -o-crisp-edges;
        image-rendering: -webkit-optimize-contrast;
        image-rendering: pixelated;
        image-rendering: optimize-contrast;
        -ms-interpolation-mode: nearest-neighbor
    }

    :root {
        --ttl_size: 24px;
        --wrapper: 60px
    }
}

body:not(.ovh) .menu_toggle .inside {
    pointer-events: none
}

.menu_toggle {
    background-color: #fff;
    position: fixed;
    top: var(--wrapper);
    left: 0px;
    width: 100%;
    height: calc(100vh - var(--wrapper));
    padding: 0px 0px 0px;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition: all .3s linear
}

.menu_toggle.active {
    opacity: 1;
    visibility: visible
}

.menu_toggle ul li {
    position: relative;
    overflow: hidden
}

.menu_toggle p {
    margin-bottom: 0
}

.menu_toggle .inside {
    -webkit-overflow-scrolling: touch;
    transition: all .5s ease;
    height: 100%;
    overflow: auto
}

.menu_toggle .inside .ft_link {
    padding: 20px 10px 20px
}

@supports(-webkit-touch-callout: none) {
    .menu_toggle .inside .ft_link {
        padding-bottom: 120px
    }
}

@media not all and (min-resolution: 0.001dpcm) {
    @supports(-webkit-appearance: none) {
        .menu_toggle .inside .ft_link {
            padding-bottom: 120px
        }
    }
}

#nav-icon {
    width: 22px;
    height: 8px;
    position: relative;
    margin: auto;
    cursor: pointer;
    transition: .5s ease-in-out
}

#nav-icon span {
    background-color: #fff;
    display: block;
    position: absolute;
    height: 1px;
    width: 100%;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: .25s ease-in-out
}

#nav-icon span:nth-child(1) {
    top: 0px
}

#nav-icon span:nth-child(2),
#nav-icon span:nth-child(3) {
    top: 50%;
}

#nav-icon span:nth-child(4) {
    top: 100%
}

#nav-icon.open span:nth-child(1) {
    top: calc(50% - .5px);
    transform: rotate(45deg)
}

#nav-icon.open span:nth-child(4) {
    top: calc(50% - .5px);
    transform: rotate(-45deg)
}
#nav-icon.open span:nth-child(2),
#nav-icon.open span:nth-child(3) {width: 0;opacity: 0;}

.hamburger-btn {
    background-color: var(--main-color);
    width: 52px;
    height: 52px;
    position: fixed;
    top: calc(var(--wrapper)/2 - 26px);
    right: 14px;
    z-index: 10;
    border-radius: 50%;
    cursor: pointer;
    transition: all .3s
}

@media only screen and (min-width: 769px) {
    .hamburger-btn:hover {
        background-color: var(--clr1)
    }
}

.hamburger-btn .button-toggle {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    margin: 0 auto;
    text-align: center;
    color: inherit
}

.hamburger-btn .button-toggle #menu_btn {
    color: #fff;
    font-size: 13px;
    text-align: center;
    line-height: 1;
    letter-spacing: 0px
}

@media only screen and (max-width: 768px) {
    .hamburger-btn {
        top: calc(var(--wrapper)/2 - 23px);
        width: 46px;
        height: 46px
    }

    .menu_toggle .lv2 ul {
        background-color: rgba(107, 158, 178, .8)
    }

    .menu_toggle .lv2 li {
        padding: 0 10px
    }

    .menu_toggle .lv2 li a,
    .menu_toggle .lv2 li p.title {
        display: block;
        position: relative;
        color: #fff;
        font-size: 13px;
        padding: 10px 10px 10px 25px;
        border-bottom: 1px dotted rgba(255, 255, 255, .7)
    }

    .menu_toggle .lv2 li a::after {
        content: "›";
        display: block;
        position: absolute;
        top: 47%;
        left: 10px;
        transform: translateY(-50%);
        font-size: 12px;
        font-weight: normal
    }

    .ft_link .ttl {
        font-size: calc(var(--ttl_size) + 0px)
    }

    .ft_link li {
        margin-bottom: 0;
        border-bottom: 1px dashed #ccc
    }

    .ft_link li a {
        display: block;
        padding-top: 8px;
        padding-bottom: 8px
    }

    .ft_link li a::before {
        top: .55em
    }

    .ft_link .menu01 {
        margin-bottom: 30px
    }
}

@media only screen and (max-width: 768px) {
    body {
        font-size: 87.5%
    }

    .under .ud_map iframe {
        height: 100%
    }

    .fblock {
        display: block
    }

    .fblock.true {
        display: -webkit-flex;
        display: -moz-flex;
        display: -ms-flex;
        display: -o-flex;
        display: flex
    }

    .under .topic_path {
        padding-bottom: 10px
    }

    .txt_l,
    .txt_r {
        float: none;
        width: auto
    }

    .image_l,
    .image_r {
        float: none;
        width: auto;
        margin: 0 0 20px;
        text-align: center;
        max-width: none
    }

    .btn-group {
        font-size: 8.75px
    }

    .btn-group .btn.style01,
    .btn-group .btn.style02 {
        max-width: 280px
    }

    .btn-group .btn.style01.md,
    .btn-group .btn.style02.md {
        min-width: 100px
    }

    .btn-group .btn.style01.md a,
    .btn-group .btn.style02.md a {
        min-height: 45px;
        font-size: 14px
    }

    p {
        margin-bottom: 13px;
        line-height: 2
    }

    a .tel_click:hover {
        opacity: 1;
        color: inherit
    }

    .slick-prev {
        left: 0px
    }

    .slick-next {
        right: 0px
    }

    .slick-arrow {
        z-index: 1;
        top: 15vw
    }

    .box_style03 {
        width: 80vw;
        margin: 0 10px;
        padding: 40px
    }

    .box_style03 .ttl {
        font-size: 20px
    }

    .box_style03 .left_ttl {
        font-size: 16px
    }

    .box_style03 .box_body {
        --size-w-left: 110px
    }

    .box_style03 .ttl_frame {
        --size-mg: 2.5px
    }
}

@media only screen and (max-width: 520px) {
    .box_style03 {
        --size-w-avatar: 60px;
        padding: 30px 20px
    }

    .box_style03 .ttl {
        font-size: 18px
    }

    .box_style03 .box_body .left {
        width: 100%;
        min-height: 60px
    }

    .box_style03 .box_body .right {
        width: 100%
    }
}

@media only screen and (max-width: 520px) {
    .box_style03 .ttl_frame a {
        font-size: 12px
    }
}

@media only screen and (max-width: 768px) {
    .wrapper {
        min-width: inherit
    }

    .header_top {
        width: 100%;
        align-items: center;
        height: 60px;
        padding: 0
    }

    .header_top p {
        margin-bottom: 0
    }

    .header_top .logo {
        max-width: calc(100% - 80px);
        width: auto;
        margin-left: 10px;
        transform: none
    }

    .header_top .logo img {
        width: auto;
        max-height: 40px
    }

    footer {
        padding: 60px 0 0;
        background-image: url(../images/footer_bg_sp.jpg)
    }

    footer .ft_logo {
        max-width: 350px;
        margin-left: auto;
        margin-right: auto
    }

    footer .ft_info {
        width: auto;
        margin: 0 auto
    }

    footer .ft_info .des {
        --size-align-left: 0;
        max-width: 252px;
        margin: 0 auto 30px
    }

    footer .box {
        justify-content: center
    }

    footer .box .left,
    footer .box .right {
        width: 100%;
        max-width: 640px;
        margin-left: auto;
        margin-right: auto
    }

    .ft_link .child_ttl {
        margin-top: unset;
        margin-bottom: 0;
        padding: 8px 0;
        font-size: 18px;
        border-bottom: 1px dashed #ccc
    }

    .ft_link .menu01>ul li:first-child {
        border-top: 1px dashed #ccc
    }

    .ft_link .menu02_child01 .child_ttl {
        border-top: 1px dashed #ccc
    }

    .ft_link a {
        font-size: 1.4em
    }

    .totop {
        bottom: 55px;
        right: 5px
    }

    .totop .icon {
        width: 50px;
        height: 50px
    }

    .fixed_banner {
        display: flex;
        flex-wrap: wrap;
        top: auto;
        bottom: 0;
        left: 0;
        right: auto;
        width: 100%;
        height: 50px;
        transform: translateY(100%)
    }

    .fixed_banner.active {
        transform: translateY(0%)
    }

    .fixed_banner p {
        font-weight: normal
    }

    .fixed_banner p::before {
        margin-bottom: 5px
    }

    .fixed_banner>div p {
        font-size: 13px
    }

    .fixed_banner .tel p,
    .fixed_banner .web p,
    .fixed_banner .mail p {
        line-height: 1
    }

    .fixed_banner .tel p::before,
    .fixed_banner .web p::before,
    .fixed_banner .mail p::before {
        height: 24px;
        margin-bottom: 2px
    }

    .fixed_banner .tel {
        width: 33.33333%
    }

    .fixed_banner .tel p span {
        writing-mode: lr-tb
    }

    .fixed_banner .web {
        width: 33.33333%
    }

    .fixed_banner .mail {
        width: 33.33333%
    }

    .copyright {
        display: block;
        padding-top: 20px;
        padding-bottom: 70px;
        margin-top: 60px !important
    }

    .copyright .flex {
        justify-content: center
    }

    .idx_gallery ul li .img {
        width: 220px;
        height: 220px
    }
}

@media only screen and (max-width: 640px) {
    .copyright .flex {
        max-width: 400px;
        margin: auto
    }

    .copyright .grits {
        text-align: center;
        margin-left: auto;
        margin-right: auto
    }

    .copyright .grits img {
        margin: auto;
        border-bottom: 1px solid rgba(255, 255, 255, .5);
        padding-bottom: 10px;
        max-width: 120px
    }

    .copyright .textwidget {
        display: block;
        width: 100%;
        margin-top: 10px;
        border: none;
        margin-left: auto;
        margin-right: auto;
        padding: 0px 10px;
        text-align: center
    }

    .copyright .textwidget span {
        display: inline-block
    }
}

@media only screen and (max-width: 520px) {
    .header_top .logo img {
        max-height: 30px
    }

    .fixed_banner>div p {
        font-size: 2.9vw
    }

    .copyright .grits img {
        max-width: 110px
    }

    .copyright {
        padding-top: 10px;
        padding-bottom: 60px
    }

    .copyright .textwidget {
        margin-top: 5px
    }
}

@media only screen and (max-width: 768px) {
    .flex_gr {
        --size-mg: 5px
    }

    .flex_gr.col-3 .item,
    .flex_gr.col-4 .item,
    .flex_gr.col-5 .item  {
        width: calc(50% - var(--size-mg)*2)
    }
}

@media only screen and (max-width: 480px) {

    .flex_gr.col-2 .item,
    .flex_gr.col-3 .item,
    .flex_gr.col-4 .item {
        width: calc(100% - var(--size-mg)*2)
    }
}

@media only screen and (max-width: 768px) {
    .idx_banner_02 {
        padding: 60px 0;
    }
    .idx_banner_02 .bn {
        height: auto;
    }
    .idx_banner {
        padding: 60px 20px
    }

    .idx_banner .flex_gr {
        --size-mg: 10px
    }
    .idx_banner.bg {
        background-image: url(../images/idx_banner_bg_sp.jpg);
    }
    .idx_banner .item {
        font-size: min(10px, 1.3vw)
    }

    .idx_banner .ttl_box {
        margin-bottom: 30px;
        --f-size:clamp(6px,1.4vw,8.5px);
    }
}

@media only screen and (max-width: 480px) {
    .idx_banner {
        padding: 40px 20px
    }

    .idx_banner .flex_gr.col-3 {
        --size-mg: 5px
    }

    .idx_banner .flex_gr.col-3 .item {
        font-size: 2.4vw;
        width: calc(50% - var(--size-mg)*2);
        font-size: 1.5vw;
        min-height: 65px;
        min-width: 155px
    }

    .idx_banner .flex_gr.col-3 .item.btn_line {
        font-size: 1.3vw
    }

    .idx_banner .flex_gr.col-3 .item.btn_line .note {
        font-size: 1.9em
    }
}

@media only screen and (max-width: 430px) {
    .idx_banner .flex_gr.col-3 .item {
        width: calc(100% - var(--size-mg)*2);
        font-size: 7px !important
    }

    .idx_banner .ttl_box {
        --f-size:7px;
        flex-direction: column;
        max-width: 245px;
        margin-left: auto;
        margin-right: auto;
    }
    .idx_banner .ttl_box .ttl_frame {
        margin-bottom: 10px;
    }
    .idx_banner .ttl_box .ttl {
        padding-left: 0;
        justify-content: center;
        width: 100%;
    }
    .idx_banner .ttl_box .ttl .txt {
        text-align: center;
        width: 100%;
    }
    .idx_banner .ttl_box .ttl::after {
        margin-top: 5px;
        width: 100%;
        padding-left: 0;
    }
}

/*# sourceMappingURL=style_sp.css.map */