@import "/css/common.css";

/* =================================== */
/*  header */
/* =================================== */
header {
    position: fixed;
    width: 100%;
    top: 0;
    background: #fff;
    border-bottom: 1px solid #ccc;
    z-index: 9000;
}

.pc-header {
    position: relative;
    height: 120px;
}

.pc-logo {
    text-align: center;
    padding-top: 20px;
}

.pc-logo img {
    width: 380px;
    padding-top: 10px;
}

.btn-abs {
    position: absolute;
    right: 0;
    top: 0;
}

.pc-gnav {
    display: flex;
    line-height: 70px;
    justify-content: center;
}

.gnav_list {
    color: var(--main-color);
    padding: 0 20px;
    transition: 1s;
}

.invert {
    color: var(--main-color);
}

.gnav_list:hover {
    opacity: 0.7;
}

.gnav_list {
    position: relative;
    padding-bottom: 10px;
    font-size: 1rem;
    font-weight: 900;
}

.pc-gnav li.current a,
.gnav_list:hover {
    color: #5b5a5a;
}

.gnav_list::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 14%;
    width: 70%;
    height: 2px;
    background: #5b5a5a;
    transition: all .3s;
    transform: scale(0, 1);
    transform-origin: center top;
}

.pc-gnav li.current a::after,
.gnav_list:hover::after {
    transform: scale(1, 1);
}

.header-tel a, .header-contact a {
    display: block;
    padding: 0 20px;
    height: 70px;
    color: #fff;
    transition: 1.4s;
}

.header-tel a {
    background: #f17108;
    border: 1px solid #f17108 !important;
}

.header-contact a {
    background: #36a8f1;
    border: 1px solid #36a8f1 !important;
}

.header-tel a:hover {
    background: #fff !important;
    color: #f17108 !important;
}

.header-contact a:hover {
    background: #fff !important;
    color: #36a8f1 !important;
}

.header-tel a:hover::after,
.header-contact a:hover::after {
    transform: none;
}

.header-tel a .fa, .header-contact a .fa {
    padding-right: 10px;
}

.header-tel a::after, .header-contact a::after {
    height: 0 !important;
}

.sp-header, .open-btn, .sp-gnav {
    display: none;
}

@media (max-width: 1024px) {
    .pc-logo img {
        width: 320px;
        padding-top: 16px;
    }
}

@media (max-width: 912px) {
    .pc-header {
        display: none;
    }

    .sp-header {
        display: block;
        background: #fff;
        height: 70px;
    }

    .sp-header img {
        width: 310px;
        padding-top: 15px;
        margin-left: 15px;
    }

    .sp-header h2 {
        line-height: 70px;
        margin-left: 1rem;
        color: #333;
    }

    .sp-gnav li a {
        color: #fff;
        display: block;
    }

    .sp-gnav-lists {
        padding-bottom: 30px;
    }

    .sp-gnav-list {
        padding-left: 30px;
    }

    .sp-gnav-list li a {
        color: #fff;
    }

    .sp-gnav-list li a::before {
        content: 'ー';
        padding-right: 10px;
    }

    .sp-active {
        display: block;
        position: fixed;
        width: 100%;
        height: 100vh;
        padding: 10%;
        background-color: #125cb3;
        z-index: 9000;
    }

    .openbtn {
        position: absolute;
        background: #333;
        cursor: pointer;
        width: 60px;
        height: 60px;
        border-radius: 5px;
        right: 2%;
        top: 8%;
        z-index: 10;
    }

    /*ボタン内側*/
    .openbtn span {
        display: inline-block;
        transition: all .4s;
        /*アニメーションの設定*/
        position: absolute;
        left: 17px;
        height: 3px;
        border-radius: 2px;
        background: #fff;
    }


    .openbtn span:nth-of-type(1) {
        top: 20px;
        width: 45%;
    }

    .openbtn span:nth-of-type(2) {
        top: 28px;
        width: 45%;
    }

    .openbtn span:nth-of-type(3) {
        top: 36px;
        width: 45%;
    }

    .active span:nth-of-type(1) {
        top: 22px;
        left: 20px;
        transform: translateY(6px) rotate(-135deg);
        width: 30%;
    }

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

    .active span:nth-of-type(3) {
        top: 34px;
        left: 20px;
        transform: translateY(-6px) rotate(135deg);
        width: 30%;
    }
}

@media (max-width: 820px) {
    .section01 #slider {
        height: 50vh;
    }
}

@media (max-width: 540px) {
    .sp-header {
        height: 60px;
    }

    .sp-header img {
        width: 260px;
        padding-top: 12px;
        margin-left: 10px;
    }

    .openbtn {
        width: 50px;
        height: 50px;
    }

    .openbtn {
        top: 0.7%;
    }

    .openbtn span {
        left: 14px;
        height: 2px;
    }

    .openbtn span:nth-of-type(1) {
        top: 17px;
        width: 45%;
    }

    .openbtn span:nth-of-type(2) {
        top: 25px;
        width: 45%;
    }

    .openbtn span:nth-of-type(3) {
        top: 33px;
        width: 45%;
    }

    /*activeクラスが付与されると線が回転して×になる*/

    .active span:nth-of-type(1) {
        top: 19px;
        left: 17px;
        transform: translateY(6px) rotate(-135deg);
        width: 30%;
    }

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

    .active span:nth-of-type(3) {
        top: 31px;
        left: 17px;
        transform: translateY(-6px) rotate(135deg);
        width: 30%;
    }

    .sp-gnav-lists {
        padding-bottom: 20px;
    }
}

@media (max-width: 412px) {
    .sp-header img {
        width: 230px;
        padding-top: 16px;
        margin-left: 10px;
    }
}

@media (max-width: 360px) {
    .sp-header img {
        width: 210px;
        padding-top: 18px;
        margin-left: 10px;
    }
}

/* =========================== */
/* footer */
/* =========================== */
.footer-info {
    background: #0d5ca3;
}

.footer-address .inner_inner {
    width: 60%;
    margin: 0 auto;
}

.footer-logo, .footer-address {
    padding: 30px 0;
    color: #fff;
}

.footer-logo {
    display: flex;
    align-items: center;
}

.footer-logo img {
    display: block;
    margin: auto;
    width: 350px;
    height: auto;
}

.footer-contact a {
    border-radius: 5px;
}

.footer-info p, .footer-info p a {
    font-size: 20px;
    padding-bottom: 10px;
    color: #fff;
}

.footer-info p span {
    margin-right: 10px;
}

.copyright {
    text-align: center;
    padding: 20px 0;
}

iframe {
    width: 100%;
    height: 100%;
}

@media (max-width: 1280px) {
    .footer-contact a {
        width: 40%;
    }
}

@media (max-width: 1024px) {
    .footer-info-content {
        width: 70%;
    }

    .footer-address .inner_inner {
        width: 70%;
        margin: 0 auto;
    }

    .footer-logo img {
        width: 70%;
        height: auto;
    }

    .footer-info p {
        font-size: 1.2rem;
        padding-bottom: 0;
    }

    .copyright {
        padding: 10px 0;
    }
}

@media (max-width: 912px) {
    .footer-info .row {
        width: 100%;
        margin: 0 auto;
    }

    .footer-address .inner_inner {
        width: 82%;
        margin: 0 auto;
    }

    .footer-logo img {
        width: 64%;
        height: auto;
    }

    .footer-logo, .footer-address {
        padding: 50px 0 30px 0;
    }

    iframe {
        width: 100%;
        height: 300px;
    }

    .footer-address {
        align-items: center;
    }

    .footer-address .inner_inner {
        margin: 0 auto;
    }

    .copyright {
        padding: 10px 0;
    }
}

@media (max-width: 853px) {
    .copyright {
        padding: 30px 0;
    }

    iframe {
        width: 100%;
        height: 300px;
    }
}

@media (max-width: 820px) {
    .footer-info {
        padding: 20px 0;
    }

    .footer-logo img {
        width: 65%;
        height: auto;
    }

    .footer-contact p {
        font-size: 19px;
    }

    .footer-info p {
        margin: 2px auto;
        line-height: 26px;
    }

    .footer-contact a {
        font-size: 18px;
        width: 55%;
        margin: 10px auto 0;
        padding: 8px 8px;
    }

    .copyright {
        font-size: 16px;
        padding: 10px 0;
    }
}

@media (max-width: 540px) {
    .footer-info .row {
        width: 95%;
        margin: 0 auto;
    }

    .footer-address {
        display: block;
        align-items: center;
    }

    .footer-address .inner_inner {
        width: 95%;
        margin: 0 auto;
    }

    .footer-logo img {
        width: 60%;
        margin-bottom: 20px;
    }

    .footer-logo {
        padding: 0;
    }

    .footer-contact p {
        font-size: 16px;
    }

    .footer-address .inner_inner h2 {
        text-align: center;
    }

    .footer-address .inner_inner p,
    .footer-address .inner_inner a {
        font-size: 1rem;
    }

    .footer-address {
        padding: 20px 0;
        width: 60%;
        margin: 0 auto;
    }

    .copyright {
        padding: 10px 0 70px 0;
    }
}

@media (max-width: 430px) {
    .footer-address {
        padding: 20px 0;
        width: 80%;
        margin: 0 auto;
    }
}

@media (max-width: 412px) {
    .footer-info .row {
        width: 100%;
        margin: 0 auto;
    }

    .footer-address .inner_inner {
        width: 90%;
        margin: 0 auto;
    }

    .footer-logo {
        padding: 10px;
    }

    .footer-info p {
        margin: 2px auto;
        line-height: 22px;
    }

    .footer-address {
        padding: 0 0 10px 0;
    }

    .copyright {
        font-size: 14px;
        margin: 0px auto 0;
    }
}

@media (max-width: 360px) {
    .footer-logo img {
        width: 60%;
        margin-bottom: 10px;
    }
}

@media (max-width: 344px) {
    .footer-address .inner_inner {
        width: 75%;
        margin: 0 auto;
    }

    iframe {
        width: 100%;
        height: 200px;
    }
}

/* ============================ */
/* link-area */
/* ============================ */
.link-lists {
    display: flex;
    flex-wrap: wrap;
    padding: 10px 0;
}

.link-lists span {
    padding-right: 20px;
}

/* ============================ */
/* modal */
/* ============================ */
.modal-list {
    display: none;
}

@media (max-width: 540px) {
    .modal-list {
        background: #fff;
        border-top: 1px solid #ccc;
        position: fixed;
        display: flex;
        bottom: 0;
        height: 83px;
        width: 100%;
        z-index: 5;
    }

    .modal-list li {
        bottom: 0;
        width: 50%;
        line-height: 20px;
        padding: 10px 0;
        text-align: center;
        color: #333;
    }

    .modal-list li a img {
        display: block;
        height: 40px;
        width: auto;
        margin: 0 auto;
    }

    .modal-list li a span {
        line-height: 35px;
    }
}

@media (max-width: 768px) {
    .modal-list {
        height: 80px;
    }

    .modal-list li a img {
        height: 35px;
    }
}

@media (max-width: 540px) {
    .modal-list {
        height: 65px;
    }

    .modal-list li a img {
        height: 26px;
    }

    .modal-list li a {
        height: 27px;
        width: 40px;
    }

    .modal-list li a span {
        line-height: 25px;
        font-size: 0.8rem;
    }
}

@media (max-width: 412px) {
    .modal-list li a img {
        height: 20px;
    }

    .modal-list li a {
        height: 23px;
        width: 34px;
    }

    .modal-list {
        height: 50px;
    }

    .modal-list li {
        padding: 8px 0;
    }

    .modal-list .list-5 {
        padding: 10px 0;
    }

    .modal-list li a span {
        line-height: 0;
        font-size: .5rem;
    }
}