/* web font
*/

:root {
    --main-theme-color: #D4161A
}

* {
    box-sizing: border-box;
    color: #121212;
    font-family: "Shippori Mincho", system-ui;
    list-style: none;
    margin: 0;
    padding: 0;
}
html, body {
    background: url(../images/bg1.webp) no-repeat;
    background-position: top;
    background-size: cover;
    background-attachment: fixed;
}
body.open {
    overflow: hidden;
}
a {
    text-decoration: none;
}
img {
    height: auto;
    max-width: 100%;
}
.pc {
    display: block;
}
.sp {
    display: none;
}
.pc2 {
    display: block;
}
.sp2 {
    display: none;
}
@media screen and (max-width: 968px) {
    .pc {
        display: none;
    }
    .sp {
        display: block;
    }
}
@media screen and (max-width: 768px) {
    .pc2 {
        display: none;
    }
    .sp2 {
        display: block;
    }
}
.container {
    display: flex;
    flex-direction: column;
    margin: 0 auto;
    min-height: 100vh;
    overflow-x: clip;
    position: relative;
    width: 100%;
    max-width: 1920px;
    z-index: 1;
}
/* header */
.header {
    margin: 0 auto;
    padding: 17px 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
}
.header::before {
    background: rgb(255,255,255);
    background: linear-gradient(55deg, rgba(255,255,255,1) 0%, rgba(47,139,196,1) 100%);
    content: "";
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
}
.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 auto;
    position: relative;
    width: calc(100% - 100px);
    z-index: 1;
}
.header-left {
    width: 228px;
}
.header-right {
    width: calc(100% - 260px);
}
.header-nav__inner {
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
}
.header-nav__list {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}
.header-nav__list li:not(:last-child) {
    margin-right: 25px;
}
.header-nav__list li a {
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    transition-duration: .3s;
}
.header-nav__list li a:hover {
    color: #00243B;
}
.contact-btn {
    margin-left: 35px;
    width: 100%;
    max-width: 255px;
}
.contact-btn a {
    background: rgb(227,128,128);
    background: linear-gradient(78deg, rgba(227,128,128,1) 0%, rgba(231,146,136,1) 46%, rgba(248,211,167,1) 100%);
    border: 1px solid #fff;
    border-radius: 50px;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 16px;
    font-weight: 500;
    height: 60px;
    transition-duration: .3s;
    width: 100%;
}
.contact-btn a:hover {
    background: rgb(255 255 255 / 18%);
}
@media screen and (max-width: 1268px) {
    .header-nav__list li:not(:last-child) {
        margin-right: 15px;
    }
    .contact-btn {
        margin-left: 25px;
        max-width: 200px;
    }
}
@media screen and (max-width: 1168px) {
    .header-nav__list li a {
        font-size: 13px;
    }
    .contact-btn {
        max-width: 180px;
    }
    .contact-btn a {
        font-size: 14px;
    }
}
@media screen and (max-width: 1068px) {
    .header-inner {
        width: calc(100% - 50px);
    }
    .header-left {
        width: 180px;
    }
    .header-right {
        width: calc(100% - 210px);
    }
}
@media screen and (max-width: 968px) {
    .header {
        display: flex;
        justify-content: center;
        align-items: center;
        height: 75px;
        transition-duration: .3s;
    }
    .header.fixed {
        background: rgb(255 255 255 / 90%);
    }
    .header::before {
        display: none;
    }
    .header-left {
        position: relative;
        width: 212px;
        z-index: 9999;
    }
    .header-right {
        display: flex;
        justify-content: flex-end;
        align-items: center;
        width: calc(100% - 250px);
    }
    .header-nav {
        background: rgb(255,255,255);
        background: linear-gradient(128deg, rgba(255,255,255,1) 0%, rgba(155,215,230,1) 100%);
        display: none;
        height: 100%;
        padding: 100px 20px 80px;
        position: fixed;
        right: 0;
        top: 0;
        width: 100%;
        z-index: -999;
    }
    .header-nav.open {
        opacity: 1;
        z-index: 999;
    }
    .header-nav__inner {
        flex-direction: column;
    }
    .header-nav__list {
        justify-content: space-between;
        flex-wrap: wrap;
        text-align: center;
    }
    .header-nav__list li {
        border-bottom: 1px solid #00243B;
        margin-bottom: 20px;
        width: 48%;
    }
    .header-nav__list li:not(:last-child) {
        margin-right: 0;
    }
    .header-nav__list li a {
        color: #00243B;
        display: block;
        padding: 10px 0;
    }
    .contact-btn {
        margin: 25px auto 0;
        width: 100%;
        max-width: none;
    }
    /* hamberger */
    .header-menu {
        display: block;
        height: 25px;
        position: relative;
        text-align: center;
        width: 30px;
        z-index: 999999;
    }
    .header-menu span {
        display: block;
    }
    .header-menu___trigger {
        position: relative;
        width: 100%;
        height: 100%;
        cursor: pointer;
        z-index: 3;
    }
    .header-menu___trigger span {
        position: absolute;
        right: 0;
        width: 100%;
        height: 3px;
        background-color: #2F8BC4;
        border-radius: 4px;
    }
    .header-menu___trigger, .header-menu___trigger span {
        display: inline-block;
        transition: all .5s;
        box-sizing: border-box;
    }
    .header-menu___trigger span:nth-of-type(1) {
        top: 0;
    }
    .header-menu___trigger span:nth-of-type(2) {
        top: 12px;
    }
    .header-menu___trigger span:nth-of-type(3) {
        bottom: 0;
    }
    .header-menu___trigger.active span:nth-of-type(2) {
        width: 50%;
    }
}
@media screen and (max-width: 768px) {}

/* footer */
.footer {
    background: #fff;
    padding: 45px 0;
    text-align: center;
}
.logo-f {
    margin: 0 auto;
    width: 100%;
    max-width: 228px;
}
.footer-links {
    margin: 20px 0 25px;
}
.footer-links ul {
    display: flex;
    justify-content: center;
    align-items: center;
}
.footer-links ul li a {
    border-right: 1px solid #00243B;
    color: #00243B;
    display: inline-block;
    font-size: 11px;
    font-weight: 500;
    padding: 0 20px;
}
.copyright p {
    color: #00243B;
    font-size: 11px;
    font-weight: 500;
}
@media screen and (max-width: 968px) {}
@media screen and (max-width: 768px) {
    .footer {
        padding-bottom: 100px;
    }
}


.floating {
    display: none;
    filter: drop-shadow(0 -3px 6px rgb(0 0 0 / 16%));
    line-height: 0;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 99;
}
@media screen and (max-width: 768px) {
    .floating {
        display: block;
    }
}

/* フェードインアップ */
.js-fadeUp {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .8s, transform .8s;
}
.js-fadeUp.is-inview {
    opacity: 1;
    transform: translateY(0);
}

.spacer {
    padding-top: 75px;
    margin-top: -75px;
}