@charset "utf-8";

body {
    font-family: "游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック", "Yu Gothic", "メイリオ", sans-serif;
    color: #333;
    font-size: 1rem;
    line-height: 1.85;
}

.pc {
    display: block;
}

.sp {
    display: none;
}

/*header*/
header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    position: fixed;
    top: 0px;
    background-color: rgba(251, 251, 251, 0.8);
    z-index: 999;
}

header h1 {
    padding: 30px;
}

nav.pc_headnav {
    display: flex;
    align-items: center;
}

nav.pc_headnav ul {
    display: flex;
    margin-right: 50px;
}

nav.pc_headnav li::before {
    content: "│";
    margin: 1.5em;
    color: #777;
}

nav.pc_headnav li a {
    position: relative;
    font-weight: bold;
}

nav.pc_headnav li a::after {
    position: absolute;
    content: "";
    display: block;
    width: 100%;
    height: 3px;
    background-color: #c30d23;
    bottom: -15px;
    left: 0;
    -webkit-transform: scale(0, 1);
    transform: scale(0, 1);
    -webkit-transform-origin: center top;
    transform-origin: center top;
    -webkit-transition: all 0.5s ease;
    transition: all 0.5s ease;

}

nav.pc_headnav li a:hover::after {
    transform: scale(1, 1);
}

a.contact {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100px;
    height: 100px;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    text-indent: 0.08em;
    letter-spacing: 0.08em;
    text-decoration: none;
    background-color: #000;
}

a.contact svg {
    margin: 0 0 14px;
    width: 30px;
    height: 25px;
    fill: currentColor;
}

a.contact:hover {
    background: #c30d23;
    transition: 0.5s;
}

/*animetion*/
.fadein {
    opacity: 0;
    transform: translate(0, 100px);
    transition: all 1s;
}

.fadein.active {
    opacity: 1;
    transform: translate(0, 0);
}

/* txt_animation */
.bgextend {
    animation-name: bgextendAnimeBase;
    animation-duration: 1s;
    animation-fill-mode: forwards;
    position: relative;
    overflow: hidden;
    opacity: 0;
}

@keyframes bgextendAnimeBase {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.bgappear {
    animation-name: bgextendAnimeSecond;
    animation-duration: 1s;
    animation-delay: 0.6s;
    animation-fill-mode: forwards;
    opacity: 0;
}

@keyframes bgextendAnimeSecond {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.bgLRextend::before {
    animation-name: bgLRextendAnime;
    animation-duration: 1s;
    animation-fill-mode: forwards;
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #c30d23;
}

@keyframes bgLRextendAnime {
    0% {
        transform-origin: left;
        transform: scaleX(0);
    }

    50% {
        transform-origin: left;
        transform: scaleX(1);
    }

    50.001% {
        transform-origin: right;
    }

    100% {
        transform-origin: right;
        transform: scaleX(0);
    }
}


/*page_style*/
.page_wrap {
    margin-top: 150px;
    margin-bottom: 200px;
    width: 100%;
}

.page_hedding {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    font-weight: bold;
    color: #c30d23;
}

.page_hedding h1 {
    font-size: 4rem;

}

/*footer*/
.contact_wrap {
    text-align: center;
    background: url(../img/contact_bg.jpg) center center/cover;
    padding: 100px 0;
    position: relative;
    z-index: 1;

}

.contact_box {
    display: flex;
    max-width: 1000px;
    margin: 0 auto;
    justify-content: space-around;
    align-items: center;
}

.contact_box span {
    display: block;
    font-size: 1.1rem;
    font-weight: normal;
}

.contact_box p {
    font-size: 2.5rem;
    font-weight: 700;
    font-family: 'Noto Sans JP', sans-serif;
    text-align: left;
}

.contact_button {
    padding: 1em 2em;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: #c30d23;
    transition: all 1000ms;
    font-size: 1.3rem;
    position: relative;
    overflow: hidden;
    outline: 2px solid #c30d23;
    width: 450px;
    display: flex;
    justify-content: center;
    align-items: center;
}



.contact_wrap a:hover {
    color: #ffffff;
    transform: scale(1.1);
    outline: 2px solid #c30d23;
    box-shadow: 4px 5px 17px -4px #c30d23;
}

.contact_wrap a::before {
    content: "";
    position: absolute;
    left: -50px;
    top: 0;
    width: 0;
    height: 100%;
    background-color: #c30d23;
    transform: skewX(45deg);
    z-index: -1;
    transition: width 1000ms;
}

.contact_wrap a:hover::before {
    width: 250%;
}

.contact_wrap svg {
    width: 35px;
    margin-right: 15px;
    fill: currentColor;
}

.footer_wrap {
    background: #000;
    padding: 50px 0;
}

.footer_box {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}

.footer_nav ul {
    display: flex;
}


.footer_nav li::after {
    content: "│";
    color: #bfbfbf;
}

.footer_nav li:last-child {
    content: none;
}

.footer_nav a {
    color: #fff;
    transition: 0.3s all ease;
    padding: 0 20px;
}

.footer_nav a:hover {
    opacity: 0.7;
}

.copyright {
    width: 100%;
    padding-top: 20px;
    margin-top: 30px;
    text-align: center;
    font-family: HelveticaLTPro-Roman, "Helvetica", "Helvetica Neue", "Segoe UI", "游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック", "Yu Gothic", "メイリオ", sans-serif;
    font-size: 0.8rem;
    color: #777;
    font-style: normal;
    border-top: 1px solid #333;
}

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

    .pc {
        display: none;
    }

    .sp {
        display: block;
    }

    img {
        width: 100%;
    }

    header h1 {
        padding: 5px 0 0 10px;
    }

    header h1 img {
        max-width: 180px;
    }

    .page_wrap {
        margin-top: 50px;
    }

    a.contact {
        flex-direction: row;
        width: 40%;
        height: 45px;
    }

    a.contact svg {
        margin: 0 15px 0 0;
        width: 25px;
    }

    .sp_headnav {
        margin-top: 45px;
        height: 45px;
        background: #c30d23;
    }

    .sp_headnav ul {
        display: flex;
        padding: 9px 0;
    }

    .sp_headnav li {
        width: calc(100%/3);
        border-left: 1px solid #800816;
    }

    .sp_headnav li:first-child {
        border-left: none;
    }

    .sp_headnav a {
        display: block;
        text-align: center;
        color: #fff;
        font-size: 0.9rem;
    }

    .page_wrap {
        margin-bottom: 50px;
    }

    .page_hedding {
        width: 90%;
    }

    .page_hedding h1 {
        font-size: 2rem;
    }


    .contact_box {
        width: 100%;
        flex-direction: column;
    }

    .contact_box p {
        font-size: 2rem;
        text-align: center;
    }

    .contact_button {
        width: 80%;
        padding: 15px;
        letter-spacing: 0;
        font-size: 1rem;
        margin-top: 30px;
    }

    .footer_wrap {
        padding: 30px 0;
    }

    .footer_box {
        flex-direction: column;
    }

    .footer_box img {
        max-width: 200px;
    }

    .footer_nav {
        width: 70% !important;
        margin: 20px auto 0;
    }

    .footer_nav ul {
        padding: 20px;
        flex-direction: column;
    }

    .footer_nav li::after {
        display: none;
    }

    .footer_nav a {
        display: block;
        text-align: center;
        font-size: 1rem;
        padding-bottom: 15px;
    }
}