@charset "utf-8";
/* CSS Document */

/* ==========================================
    common
========================================== */

.pc,
.flex.pc {
    display: none;
}

.serif {
    font-family: YakuHanMP_Noto, 'Noto Serif JP', 'Hiragino Mincho Pro', serif;
}

.maru {
    font-family: YakuHanRP, 'M PLUS Rounded 1c', 'Hiragino Maru Gothic Pro', sans-serif;
    transform:rotateZ(0.03deg);
}

.wrap {
    padding: 0 3.5vw;
}

.flex {
    display: flex;
    flex-direction: column;
}

@media screen and (min-width: 768px) {
    a[href^="tel:"] {pointer-events: none;}
    .sp {
        display: none !important;
    }

    main {
        background: #F2F2E6;
    }
    .pc,
    .flex.pc {
        display: block;
    }
    .wrap {
        max-width: 1000px;
        padding: 0 20px;
        margin: 0 auto;
    }
    .flex {
        flex-direction: row;
    }
    #mainimg {
        background: #F6F6EE;
    }
    #mainimg {
        padding: 25px 0;
    }
}

/* ==========================================
    header
========================================== */

.hpad.active {
    height: 9.8vw;
}

header>a.sp img {
    width: 100%;
}

.spmenu {
    width: 100%;
    z-index: 100;
}

.spmenu.fixed {
    position: fixed;
    top: 0;
    left: 0;
}

.spmenu .acdbtn {
    background: #3165ae;
    color: #fff;
    flex-direction: row;
    align-items: center;
    cursor: pointer;
    padding: 2.5vw 3vw;
}

.spmenu .acdbtn i {
    font-size: 1.2em;
    width: 1em;
    text-align: center;
    margin-right: 2vw;
}

.spmenu .acdbtn p {
    line-height: 1em;
}

.spmenu ul.acd {
    display: none;
}

.spmenu ul.acd li {
    background: #a9d3e9;
}

.spmenu ul.acd li:nth-of-type(n+2) {
    border-top: 1px dashed #fff;
}

.spmenu ul.acd li a {
    display: block;
    color: #3165ae;
    font-size: 4.5vw;
    padding: 0.5em 0 0.5em 2.5em;
}

@media screen and (min-width: 768px) {
    header {
        border-top: 5px solid #3165ae;
    }
    header .pc {
        border-top: 5px solid #d5e9f4;
    }
    header .pc > .wrap > .flex {
        padding: 10px 0;
        width: 100%;
        align-items: center;
        justify-content: space-between;
    }
    header p.catch {
        font-size: 10px;
    }
    header h1 {
        margin-top: 30px;
        font-size: 20px;
    }
    header h1 small {
        font-size: 14px;
    }
    header h1 span {
        font-size: 24px;
        margin-left: 5px;
    }
    header .flex .right {
        line-height: 1em;
        text-align: right;
        align-items: center;
    }
    header .flex .right h2 {
        font-size: 18px;
    }
    header .flex .right h2 + small {
        font-size: 10px;
    }
    header .flex .right .pic {
        margin-left: 15px;
    }
    header .tel a {
        line-height: 1em;
        padding: 5px 0;
        display: inline-flex;
        font-weight: bold;
        align-items: center;
        justify-content: center;
        color: #e3b732;
    }
    
    header .tel a p {
        font-size: 20px;
        margin-left: 0.3em;
    }
    
    header .tel a+small {
        color: #e3b732;
        display: block;
        font-size: 10px;
    }
    header .gnav {
        background: #3165ae;
    }
    header .gnav ul {
        border-left: 1px solid #fff;
    }
    header .gnav li {
        flex-grow: 1;
        border-right: 1px solid #fff;
    }
    header .gnav a {
        display: block;
        text-align: center;
        color: #fff;
        font-weight: bold;
        font-size: 14px;
        padding: 10px 0;
    }
    header .gnav a small {
        display: block;
        text-align: center;
        font-size: 10px;
        font-weight: normal;
    }
}
@media screen and (min-width: 1024px) {
    header .pc > .wrap > .flex {
        align-items: start;
    }
    header p.catch {
        font-size: 12px;
    }
    header h1 {
        margin-top: 40px;
        font-size: 24px;
    }
    header h1 small {
        font-size: 18px;
    }
    header h1 span {
        font-size: 32px;
        margin-left: 5px;
    }
    header .flex .right h2 {
        font-size: 22px;
    }
    header .flex .right h2 + small {
        font-size: 12px;
    }
    header .tel a p {
        font-size: 24px;
        margin-left: 0.3em;
    }
    header .tel a+small {
        font-size: 12px;
    }
    header .gnav a {
        font-size: 16px;
    }
}


/* ==========================================
    footer
========================================== */
.gototop {
    position: absolute;
    width: 100%;
    left: 0;
    bottom: 100%;
    border-bottom: 2vw solid #3165ae;
}

.gototop span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40vw;
    background: #3165ae;
    color: #fff;
    font-weight: bold;
    margin-left: auto;
    margin-right: 3vw;
    margin-bottom: -1px;
    border-top-left-radius: 1vw;
    border-top-right-radius: 1vw;
    cursor: pointer;
}

.gototop span img {
    width: 5vw;
}

.gototop span p {
    padding-left: 1vw;
    font-size: 3.2vw;
    letter-spacing: 0.1em;
}

footer {
    position: relative;
    text-align: center;
}

footer,
footer a {
    color: #3165ae;
}

footer .contact {
    background: #a9d3e9;
    padding: 2.5vw 0 5vw;
}

footer .contact>p {
    color: #fff;
    display: inline-block;
    text-align: left;
    font-weight: bold;
}

footer .tel a {
    display: inline-flex;
    font-weight: bold;
    align-items: center;
    justify-content: center;
}

footer .tel a .icon {
    width: 6vw;
}

footer .tel a p {
    font-size: 7vw;
    margin-left: 0.3em;
}

footer .tel a+small {
    display: block;
    font-size: 3.5vw;
}

footer .cont-btn {
    display: inline-flex;
    background: #fff;
    padding: 1vw 0;
    border-radius: 1vw;
    margin: 2vw auto 0;
    font-weight: bold;
    width: 70vw;
    align-items: center;
    justify-content: center;
}

footer .cont-btn .icon {
    width: 6vw;
}

footer .cont-btn p {
    margin-left: 0.5em;
}

footer .address {
    background: #d5e9f4;
    padding: 4vw 0;
}

footer .address h3 {
    margin-bottom: 3vw;
}

footer .address p {
    font-size: 3vw;
}

@media screen and (min-width: 768px) {
    footer {
        border-top: 10px solid #3165ae;
    }
    .gototop {
        border-bottom: 0;
        max-width: 1000px;
        padding: 0 20px;
        bottom: calc(100% + 10px);
        left: 50%;
        transform: translateX(-50%);
    }
    .gototop span {
        align-items: end;
        padding-top: 5px;
        width: 230px;
        margin-bottom: 0;
        margin-right: 0;
        border-top-left-radius: 10px;
        border-top-right-radius: 10px;
    }
    .gototop span img {
        width: 28px;
    }
    .gototop span p {
        font-size: 13px;
        margin-bottom: 2px;
        padding-left: 0;
    }
    footer .contact {
        padding: 25px 0;
    }
    footer .contact > p {
        font-size: 16px;
        margin-bottom: 10px;
    }
    footer .contact .flex {
        width: auto;
        justify-content: center;
        align-items: center;
    }
    footer .tel a .icon,
    footer .cont-btn .icon {
        width: 32px;
    }
    footer .tel a p {
        font-size: 28px;
    }
    footer .tel a+small {
        font-size: 14px;
    }
    footer .cont-btn {
        width: 300px;
        margin: 0;
        margin-left: 40px;
        border-radius: 10px;
        padding: 12px 0;
    }
    footer .cont-btn p {
        font-size: 18px;
        line-height: 1em;
    }
    footer .address {
        padding: 25px 0 20px;
    }
    footer .address h3 {
        font-size: 24px;
        margin-bottom: 10px;
    }
    footer .address p {
        font-size: 14px;
        line-height: 24px;
    }
}