@charset "utf-8";

/*-------------------------------------------------------------------------------------------------------------------------------
* reset
------------------------------------------------------------------------------------------------------------------------------- */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
main, article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video, button {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    vertical-align: baseline;
    background: transparent;
    box-sizing: border-box;
}
body {
    line-height: 1;
}
img{
    vertical-align: bottom;
}
ol, ul {
    list-style: none;
}
table {
    border-collapse: collapse;
    border-spacing: 0;
}
button {
    background-color: transparent;
    border: none;
    border-radius: 0;
    cursor: pointer;
    appearance: none;
    font-family: inherit;
    color: inherit;
}


/*-------------------------------------------------------------------------------------------------------------------------------
* base
------------------------------------------------------------------------------------------------------------------------------- */
html {
    font-size: .625em;
    /* scroll-behavior: smooth; */
}
@media (max-width: 767px) {
    html {
        font-size: 1.333vw;
    }
}

body {
    font-family: 'Roboto', sans-serif;
    font-size: 1.6rem;
    line-height: 2;
    letter-spacing: 0.02em;
    color: #313131;
}
.pc {
    display: block;
}
.sp {
    display: none;
}
a {
    color: inherit;
    text-decoration: none;
    transition: opacity 0.4s;
}
img {
    width: 100%;
}
:focus-visible {
    outline: 2px solid #668eb6;
    outline-offset: 2px;
}
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}
@media screen and (max-width: 767px) {
    body {
        font-size: 3.2rem;
        line-height: 1.875;
        letter-spacing: 0.05em;
    }
    .pc {
        display: none;
    }
    .sp {
        display: block;
    }
    :hover {
        opacity: 1 !important;
    }
}

#container {
    width: 100%;
    min-width: 1200px;
}
@media screen and (max-width: 767px) {
    #container {
        min-width: 100%;
    }
}


/* header
===================================================================== */
/* skip-link */
.skip-link {
    position: absolute;
    top: -100px;
    left: 0;
    width: 100%;
    z-index: 10000;
    padding: 10px 20px;
    background-color: #fff;
    color: #313131;
    text-align: center;
    text-decoration: none;
    font-size: 1.4rem;
}
.skip-link:focus {
    top: 0;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    min-width: 1200px;
    height: 110px;
    z-index: 1000;
}
.header-logo {
    position: fixed;
    top: 34px;
    left: 50px;
    width: 48px;
    font-size: 0;
}
.header-logo img {
    filter: brightness(0) saturate(100%) invert(16%) sepia(27%) saturate(7500%) hue-rotate(197deg) brightness(94%) contrast(103%);
}
@media screen and (max-width: 767px) {
    header {
        height: 65px;
        min-width: 100%;
    }
    .header-logo {
        top: 22px;
        left: 22px;
        width: 30px;
    }
}
/* for top */
header.white .header-logo img {
    filter: brightness(0) saturate(100%) invert(100%) sepia(3%) saturate(0%) hue-rotate(150deg) brightness(103%) contrast(103%);
}


/* nav
===================================================================== */
.global-nav ul {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    height: 110px;
}
.global-nav ul li a {
    position: relative;
    display: block;
    font-family: 'Cinzel', serif;
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    padding-left: 0.14em;
}
.global-nav ul li a::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 0px;
    height: 1px;
    background-color: #004386;
    transition: all 0.3s;
}
.global-nav ul li a:hover::after,
.global-nav ul li a.current::after {
    left: calc(50% - 10px);
    width: 20px;
    height: 1px;
}
@media screen and (max-width: 767px) {
    .global-nav {
        display: none;
    }
}

/* for top */
header.white .global-nav ul li a {
    color: #fff;
}
header.white .global-nav ul li a::after {
    background-color: #fff;
}

/* btn-menu */
.btn-menu {
    display: none;
}
@media screen and (max-width: 767px) {
    .btn-menu {
        display: block;
        position: fixed;
        z-index: 10001;
        top: 0;
        right: 0;
        display: flex;
        justify-content: center;
        align-items: center;
        width: 65px;
        height: 65px;
        font-size: 0;
        cursor: pointer;
    }
    .btn-menu .menu-line,
    .btn-menu .menu-line span {
        display: inline-block;
    }
    .btn-menu .menu-line {
        position: relative;
        display: block;
        width: 21px;
        height: 18px;
    }
    .btn-menu .menu-line span {
        position: absolute;
        left: 0;
        width: 100%;
        height: 1px;
        background-color: #004386;
        transition: .3s;
    }
    .btn-menu .menu-line span:nth-of-type(1) {
        top: 0;
    }
    .btn-menu .menu-line span:nth-of-type(2) {
        top: 9px;
    }
    .btn-menu .menu-line span:nth-of-type(3) {
        top: 18px;
    }
    .btn-menu.open .menu-line span:nth-of-type(1) {
        top: 9px;
        transform: rotate(-45deg);
    }
    .btn-menu.open .menu-line span:nth-of-type(2) {
        display: none;
    }
    .btn-menu.open .menu-line span:nth-of-type(3) {
        top: 9px;
        transform: rotate(45deg);
    }
    .btn-menu.white .menu-line span {
        background-color: #fff;
    }
    .btn-menu.white.open .menu-line span {
        background-color: #004386;
    }
}

/* drawerMenu */
.drawerMenu {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 2002;
    width: 100%;
    height: 100%;
    background-color: #fff;
    transform: translateX(100%);
    transition: all 0.5s;
    visibility: hidden;
}
.drawerMenu.open {
    transform: translate(0);
    visibility: visible;
}

/* drawerMenu-list  */
.drawerMenu-list {
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    padding: 0 0 60px;
}
.drawerMenu-list {
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.drawerMenu-list ul li {
    position: relative;
    padding: 2.5rem 0;
    text-align: center;
}
.drawerMenu-list ul li a {
    position: relative;
    display: inline-block;
    padding: 1.5rem 0;
    font-family: 'Cinzel', serif;
    font-size: 6rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    line-height: 1.1;
}
.drawerMenu-list ul li a::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 0px;
    height: 1px;
    background-color: #004386;
    transition: all 0.3s;
}
.drawerMenu-list ul li a:hover::after,
.drawerMenu-list ul li a.current::after {
    left: calc(50% - 50px);
    width: 100px;
    height: 1px;
}

.drawerMenu-list ul li::after {
    content: '';
    position: absolute;
    z-index: 2;
    right: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: #Fff;
    transition: all 1.0s ease;
}
.drawerMenu.active .drawerMenu-list ul li::after {
    width: 0;
}


/* main
===================================================================== */
main.under {
    padding: 210px 0 0;
}
@media screen and (max-width: 767px) {
    main.under {
        padding: calc(65px + 4rem) 0 0;
    }
}


/* footer
===================================================================== */
footer {
    position: relative;
    z-index: 1000;
    padding: 160px 0 50px;
    background-color: #fff;
}
.footer-wrapper {
    width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 250px;
    gap: 15px;
}
@media screen and (max-width: 767px) {
    footer {
        padding: 18rem 0 8rem;
    }
    .footer-wrapper {
        width: 100%;
        display: block;
    }
}

/* footer-logo */
.footer-logo {
    display: flex;
    grid-row: 1 / 2;
	grid-column: 1 / 2;
    padding: 10px 0 20px;
}
.footer-logo a {
    display: flex;
    align-items: center;
    flex-basis: auto;
    gap: 10px;
    width: auto;
}
.footer-logo a span:first-of-type {
    width: 46px;
}
.footer-logo a span:first-of-type img {
    filter: brightness(0) saturate(100%) invert(16%) sepia(27%) saturate(7500%) hue-rotate(197deg) brightness(94%) contrast(103%);
}
.footer-logo a span:last-of-type {
    width: 320px;
    font-size: 1px;
    line-height: 0;
}
@media screen and (max-width: 767px) {
    .footer-logo a {
        display: flex;
        flex-direction: column;
        flex-basis: 100%;
        gap: 3.5rem;
    }
    .footer-logo a span:first-of-type {
        width: 7.6rem;
        display: block;
    }
    .footer-logo a span:last-of-type {
        width: 52rem;
    }
}

/* footer-nav */
.footer-nav {
    grid-row: 1 / 4;
	grid-column: 2 / 3;
}
.footer-nav ul li {
    margin: 0 0 20px;
    text-align: right;
}
.footer-nav ul li:last-of-type {
    margin: 0;
}
.footer-nav ul li a {
    position: relative;
    display: inline-block;
    font-family: 'Cinzel', serif;
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 0.14em;
}
.footer-nav ul li a::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 0px;
    height: 1px;
    background-color: #004386;
    transition: all 0.3s;
}
.footer-nav ul li a:hover::after {
    left: calc(50% - 10px);
    width: 20px;
    height: 1px;
}
@media screen and (max-width: 767px) {
    .footer-nav {
        padding: 10rem 0 6rem;
    }
    .footer-nav ul li {
        margin: 0 0 3.5rem;
        text-align: center;
    }
    .footer-nav ul li a {
        padding: 2px 0;
        font-size: 4rem;
    }
    .footer-nav ul li a:hover::after {
        left: calc(50% - 3rem);
        width: 6rem;
    }
}

@media screen and (max-width: 767px) {
    .footer-address {
        margin: 0 0 2rem;
        text-align: center;
        font-size: 2.8rem;
    }
    .copyright {
        text-align: center;
        font-size: 2.8rem;
    }
}

/* pagetop */
.pagetop {
    position: fixed;
    z-index: 1999;
    right: 0;
    bottom: 0;
    width: 60px;
    visibility: hidden;
    opacity: 0;
    transition: all 0.5s;
}
.pagetop.active {
    visibility: visible;
    opacity: 1;
}
@media screen and (max-width:767px) {
    .pagetop {
        width: 11rem;
    }
}

