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

/*---------------------------

共通設定

---------------------------*/

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 10px;
    margin: 0!important;
    scroll-behavior: smooth;
}

@media (min-width: 768px) and (max-width: 1180px) {
    html {
        font-size: .84745763vw;
    }
}

@media (max-width: 390px) {
    html {
        font-size: 2.564102564vw;
    }
}

body {
    color: #333333;
    font-family: "Noto Sans JP", sans-serif;
    font-size: 1.6rem;
    font-weight: 500;
    line-height: 2;
    overflow-x: hidden;
    padding-top: 8rem;
}

.container {
    position: relative;
}

main {
    position: relative;
}

section {
    position: relative;
}

.wrapper {
    margin: 0 auto;
    max-width: 95%;
    position: relative;
    width: 120rem;
}

@media (min-width: 768px) {
    .sp {
        display: none!important;
    }
}

@media (max-width: 767px) {
    .pc {
        display: none!important;
    }
}

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

a {
    color: #333333;
    display: block;
    opacity: 1;
    text-decoration: none;
    transition: .2s;
}

a:before,
a:after {
    transition: .2s;
}

ul {
    list-style-type: none;
}

.roboto {
    font-family: "Roboto", sans-serif;
    font-weight: 700;
}

@media (max-width:767px) {
    body {
        font-size: 1.5rem;
        padding-top: 6rem;
    }

    .wrapper {
        max-width: calc(100% - 3rem);
    }
}



/*---------------------------

HEADER

---------------------------*/

#header {
    background-color: #ffffff;
    left: 0;
    position: fixed;
    right: 0;
    top: 0;
    z-index: 99999;
}

#header .h_wrap {
    align-items: center;
    display: flex;
    height: 8rem;
    justify-content: space-between;
    margin: 0 auto;
    max-width: 95%;
    position: relative;
    width: 120rem;
}

#header .h_logo {
    width: 13rem;
}

#header .h_nav {
    column-gap: 6.6rem;
    display: flex;
    font-weight: 700;
}

#header .h_nav > .item > .link {
    cursor: pointer;
}

#header .h_nav > .item > .link.active {
    color: #e50000;
}

#header .h_nav > .item > .link:hover {
    color: #e50000;
}

#header .h_mega {
    background-color: #ffffff;
    box-shadow: 0 2px 5px rgba(85, 85, 85, .16);
    column-gap: 2rem;
    display: flex;
    flex-wrap: wrap;
    left: 0;
    opacity: 0;
    padding: 4rem 6rem 5rem;
    position: absolute;
    right: 0;
    row-gap: 2.5rem;
    top: calc(100% + 1.6rem);
    transition: .3s;
    visibility: hidden;
}

#header .h_js_bg {
    bottom: 0;
    content: "";
    left: 0;
    opacity: 0;
    position: fixed;
    right: 0;
    top: 0;
    visibility: hidden;
    z-index: -10;
}

#header .h_js_btn.active ~ .h_mega, #header .h_js_btn.active ~ .h_js_bg {
    opacity: 1;
    visibility: visible;
}

#header .h_mega:before {
    border-bottom: 1.4rem solid #e50000;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    bottom: 100%;
    content: "";
    position: absolute;
    right: 26.4%;
}

#header .h_label {
    border-left: .5rem solid #e50000;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.5;
    padding-left: .6em;
    width: 100%;
}

#header .h_megalink {
    line-height: 1.5;
    text-align: center;
    width: calc(20% - 1.6rem);
}

#header .h_megalink img {
    border-radius: 5px;
    margin-bottom: 1.8rem;
    overflow: hidden;
}

#header .h_megalink .link {
    background-image: url(../img/common/tab_1.png);
    background-position: right center;
    background-repeat: no-repeat;
    background-size: 1.2em;
    display: inline-block;
    font-size: 1.4rem;
    padding-right: 2em;
    transition: .2s;
}
@media (min-width:768px) {
    #header .h_megalink:hover .link {
        color: #e50000;
    }
}

@media (max-width:767px) {
    #header .h_wrap {
        height: 6rem;
        max-width: 100%;
        padding-left: 1.2rem;
    }

    #header .h_logo {
        width: 10rem;
    }

    #header .h_btn {
        background-color: #333333;
        cursor: pointer;
        height: 100%;
        position: relative;
        width: 6rem;
    }

    #header .h_btn span {
        background-color: #ffffff;
        border-radius: 999px;
        display: inline-block;
        height: .4rem;
        left: 1.4rem;
        position: absolute;
        right: 1.4rem;
        transition: all .2s;
    }

    #header .h_btn span:nth-of-type(1) {
        top: 1.7rem;
    }

    #header .h_btn span:nth-of-type(2) {
        top: 2.8rem;
    }

    #header .h_btn span:nth-of-type(3) {
        top: 3.9rem;
    }

    #header .h_btn.active span:nth-of-type(1) {
        top: 2.2rem;
        transform: translateY(.6rem) rotate(-45deg);
    }

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

    #header .h_btn.active span:nth-of-type(3) {
        top: 3.5rem;
        transform: translateY(-.6rem) rotate(45deg);
    }

    #header .h_nav {
        background-color: #ffffff;
        flex-wrap: wrap;
        font-weight: 400;
        left: 0;
        opacity: 0;
        position: absolute;
        right: 0;
        top: 100%;
        transition: .2s;
        visibility: hidden;
    }

    #header .h_nav.active {
        opacity: 1;
        visibility: visible;
    }

    #header .h_nav > .item {
        border-bottom: 1px solid #cccccc;
        text-align: center;
        width: 100%;
    }

    #header .h_nav > .item > .link {
        line-height: 5rem;
        padding: 0 5rem;
    }

    #header .h_mega {
        background-color: #e50000;
        height: 0;
        overflow: hidden;
        padding: 0;
        position: initial;
        row-gap: 0;
        transition: .3s;
    }

    #header .h_mega:before {
        content: initial;
    }

    #header .h_js_btn.active ~ .h_mega {
        height: 25rem;
    }

    #header .h_megalink {
        border-bottom: 1px solid #ffffff;
        color: #ffffff;
        height: 5rem;
        line-height: 5rem;
        min-height: 5rem;
        width: 100%;
    }

    #header .h_megalink .link {
        background-image: url(../img/common/tab_2.png);
        font-size: 1.5rem;
    }

    #header .h_nav > .item > .link > span {
        background-image: url(../img/common/tab_3.png);
        background-position: right center;
        background-repeat: no-repeat;
        background-size: 1.2em;
        display: inline-block;
        padding-right: 2em;
    }
}

/*---------------------------

テンプレート

---------------------------*/

.tmp_hl_1 {
    position: relative;
    padding-bottom: 2rem;
}

.tmp_hl_1 .jp {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: .1em;
    margin-bottom: 1.5rem;
}

.tmp_hl_1 .roboto {
    display: block;
    font-size: 8rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: .1em;
    color: #e50000;
}

.tmp_hl_1:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 12rem;
    height: 3px;
    background-color: #e50000;
}

@media (max-width:767px) {
    .tmp_hl_1 .jp {
        font-size: 1.6rem;
        margin-bottom: 1rem;
    }

    .tmp_hl_1 .roboto {
        font-size: 5rem;
    }
}

.tmp_hl_2 {
    font-size: 4rem;
    font-weight: 900;
    line-height: 1.5;
    letter-spacing: .1em;
    color: #e50000;
    margin-bottom: 3rem;
}

@media (max-width:767px) {
    .tmp_hl_2 {
        font-size: 2.5rem;
    }
}

.tmp_btn_1 {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32rem;
    max-width: 100%;
    height: 7rem;
    line-height: 1.5;
    background-color: #333;
    font-size: 1.6rem;
    font-weight: 700;
    text-align: center;
    color: #fff;
    padding: 0 0.5em;
    border: 1px solid #333;
}

.tmp_btn_1[target="_blank"] span {
    padding-right: 1.8em;
    background-image: url(../img/common/tab_2.png);
    background-repeat: no-repeat;
    background-size: 1em;
    background-position: right center;
}

.tmp_btn_1:hover {
    background-color: #fff;
    color: #333;
}

.tmp_btn_1[target="_blank"]:hover span {
    background-image: url(../img/common/tab_3.png);
}

/*---------------------------

CONTACT（footer）

---------------------------*/

#section-contact {
    background-image: url(../img/top/contact_bg.webp);
    background-repeat: no-repeat;
    background-size: cover;
    padding: 10rem 0;
}

#section-contact .wrapper {
    background-color: rgba(255, 255, 255, .85);
    border-radius: 10px;
    padding: 7rem 6rem;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

#section-contact .c_headline,
#section-contact .c_contents {
    width: 50%;
}

#section-contact .text {
    font-size: 1.8rem;
    line-height: 1.6;
    font-weight: 700;
    margin-bottom: 2rem;
}

#section-contact .c_btn {
    line-height: 7rem;
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    background-color: #e50000;
    text-align: center;
    border: 1px solid #e50000;
    margin-bottom: 4rem;
}

#section-contact .c_btn span {
    display: inline-block;
    padding-left: 3.5em;
    background-image: url(../img/common/mail_1.png);
    background-repeat: no-repeat;
    background-position: left center;
    background-size: 2.3em auto;
}

#section-contact .c_btn:hover {
    color: #e50000;
    background-color: #fff;
}

#section-contact .c_btn:hover span {
    background-image: url(../img/common/mail_2.png);
}

#section-contact .c_tel,
#section-contact .c_fax {
    display: inline-block;
    font-size: clamp(2rem,3vw,4rem);
    font-weight: 700;
    line-height: 6rem;
    padding-left: 7.8rem;
    background-repeat: no-repeat;
    background-size: auto 6rem;
    background-position: left center;
    position: relative;
}

#section-contact .c_tel {
    margin-bottom: 3rem;
    background-image: url(../img/common/tel_1.png);
}

#section-contact .c_fax {
    background-image: url(../img/common/fax_1.png);
}

#section-contact .c_tel:after {
    content: "\FF08\4EE3\8868\FF09";
    font-size: 50%;
    position: absolute;
    left: 100%;
    top: 0;
    bottom: 0;
    margin: auto 0;
    white-space: nowrap;
}

@media (max-width:767px) {
    #section-contact .wrapper {
        padding: 5rem 2rem;
        flex-direction: column;
        row-gap: 5rem;
    }

    #section-contact .c_headline, #section-contact .c_contents {
        width: 100%;
    }

    #section-contact .c_tel:after {
        font-size: 70%;
    }
}

/*---------------------------

FOOTER

---------------------------*/

#footer .f_wrap {
    padding: 5.4rem 0;
    display: flex;
    flex-wrap: wrap;
    row-gap: 3rem;
}

#footer .f_left,
#footer .f_right {
    width: 50%;
}

#footer .f_logo {
    width: 13rem;
    margin-bottom: 2.5rem;
}

#footer .f_address {
    font-size: 1.6rem;
    font-weight: 400;
    line-height: 2;
}

#footer .f_address .map {
    display: inline-block;
    color: #e50000;
    padding: 0 1.8rem;
    border-radius: 9999px;
    border: 1px solid #e50000;
    margin-left: 1.5rem;
}

#footer .f_nav {
    display: flex;
    align-items: start;
    flex-direction: column; 
    flex-wrap: wrap;
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1.7;
    row-gap: 1.2rem;
    column-gap: 1rem;
    max-height: 20rem;
}

#footer .f_nav_item {
    padding-right: 1.5em;
    padding-left: 1em;
    position: relative;
}

#footer .f_nav_item:before {
    content: "";
    border-top: .6rem solid transparent;
    border-bottom: .6rem solid transparent;
    border-left: .7rem solid #e50000;
    position: absolute;
    left: 0;
    top: .5em;
}

#footer .f_nav_item[target="_blank"] {
    background-image: url(../img/common/tab_3.png);
    background-repeat: no-repeat;
    background-size: 1em auto;
    background-position: right center;
}

#footer .f_nav_item[target="_blank"]:hover {
    background-image: url(../img/common/tab_1.png);
}

#footer .f_nav_item:hover {
    color: #e50000;
}

#footer .copyright {
    width: 100%;
    padding: 1.5rem 0;
    font-size: 1.4rem;
    font-weight: 400;
    text-align: center;
    background-color: #eee;
}

#page-top {
    width: 8rem;
    height: 8rem;
    border-radius: 50%;
    background-image: url(../img/common/page_top.png);
    background-repeat: no-repeat;
    background-size: cover;
    position: absolute;
    bottom: 110%;
    right: 5%;
    cursor: pointer;
    transition: .2s;
}

#page-top:hover {
    background-image: url(../img/common/page_top_hover.png);
}

@media (max-width:767px) {
    #footer .f_left,
    #footer .f_right {
        width: 100%;
    }

    #footer .f_nav {
        max-height: 100%;
    }

    #page-top {
        bottom: 105%;
        width: 6rem;
        height: 6rem;
    }
}

/*==================================================
じわっ
===================================*/

/* ぼかしから出現 */
.fadeInTrigger {
    opacity: 0;
}
.fadeIn{
    animation-name:blurAnime;
    animation-duration:.8s;
    animation-fill-mode:forwards;
  }
  
  @keyframes blurAnime{
    from {
    filter: blur(10px);
    transform: translateY(2rem);
    opacity: 0;
    }
  
    to {
    filter: blur(0);
    transform: translateY(0);
    opacity: 1;
    }
  }