@charset "utf-8";

/* ===============================================
   common
=============================================== */

:root {
    --font-main: "Noto Sans JP", sans-serif;
    --font-en: "Alatsi", sans-serif;
    --color-main: #e60012;
    --color-brown: #7d0000;
    --color-blue: #003c83;

    --font-w-r: 400;
    --font-w-m: 500;
    --font-w-sb: 600;
    --font-w-b: 700;
    --font-w-eb: 800;
    --font-w-bl: 900;
}

body {
    overflow-x: hidden;
    line-height: 1.6em;
}

html, body {
    font-family: var(--font-main);
    color: #231815;
    letter-spacing: 0.05em;
    font-feature-settings: "palt";
    box-sizing: border-box;
}

body * {
    letter-spacing: 0.05em;
    box-sizing: border-box;
}

.wrapper {
    width: 100%;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.sp { display: none; }
.xl { display: none; }
@media screen and (max-width: 1200px) {
    .xl { display: block; }
}
@media screen and (max-width: 768px) {
    .pc { display: none; }
    .sp { display: block; }
}

img {
    max-width: 100%;
    vertical-align: bottom;
}

a {
    color: #231815;
    text-decoration: none;
    display: block;
    -webkit-font-smoothing: antialiased;
    backface-visibility: hidden;
    transition: opacity 0.4s, color 0.4s, background 0.4s;
}

a:hover,
button:hover {
    transition: opacity 0.4s, color 0.4s, background 0.4s;
}

a.hover:hover,
.hover a:hover {
    opacity: 0.6;
}

sub,
sup {
    font-size: 85%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}

sup {
    top: -0.2em;
}

small {
    font-size: 0.75em;
}

#main {
    width: 100%;
    padding-top: clamp(70px, 7.5vw, 90px);
}

@media screen and (max-width: 768px) {
    #main {
        padding-top: clamp(0px, 16.7dvw, 65px);
    }
}

.inner {
    width: clamp(0px, 100%, 1100px);
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

@media screen and (max-width: 768px) {
    .inner {
        width: 100%;
    }
}


/* ===============================================
   header
=============================================== */
#header {
    width: 100%;
    height: clamp(0px, 10vw, 100px);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999;
    pointer-events: none;
}

.header_inner {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header_inner .logo {
    width: clamp(0px, 19.5vw, 215px);
    margin-left: clamp(0px, 2.7vw, 30px);
    line-height: 0;
    pointer-events: auto;
}

.header_inner .logo img {
    width: 100%;
}

.header_inner .header_menu {
    display: flex;
    align-items: center;
    margin-right: clamp(15px, 1.7vw, 20px);
    pointer-events: auto;
}

@media screen and (max-width: 768px) {
    #header {
        height: 25dvw;
    }

    .header_inner .logo {
        width: 42.5dvw;
        margin-left: 4.5dvw;
    }

    .header_inner .header_menu {
        margin-right: 5dvw;
    }
}

/* ハンバーガー */
.hamburger {
    width: clamp(0px, 6.4vw, 70px);
    aspect-ratio: 70 / 50;
    background-color: var(--color-blue);
    border-radius: 7px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: clamp(0px, 0.6vw, 7px);
    transition: background 0.4s;
}

.hamburger span {
    display: block;
    width: 77%;
    height: 2px;
    background-color: #fff;
    transition: background 0.4s;
}

.hamburger:hover {
    background-color: var(--color-main);
}

.hamburger:hover span {
    background-color: #fff;
}

@media screen and (max-width: 768px) {
    .hamburger {
        width: 15dvw;
        aspect-ratio: 1 / 1;
        border-radius: 0.5dvw;
        gap: 2.2dvw;
    }
}

/* メニュー */
.nav_menu {
    position: fixed;
    top: -100vh;
    right: 0;
    height: 1130px;
    max-height: 100dvh;
    aspect-ratio: 1366 / 1130;
    overflow: auto;
    opacity: 0;
    transition: top 0.4s ease, opacity 0.4s ease;
    z-index: 1001;
}

.nav_menu::-webkit-scrollbar {
    width: 8px;
}
.nav_menu::-webkit-scrollbar-track {
    background: #f0f0f0;
    border-radius: 4px;
}
.nav_menu::-webkit-scrollbar-thumb {
    background: #bbb;
    border-radius: 4px;
    border: 2px solid #f0f0f0;
}

.nav_menu.active {
    top: 0;
    opacity: 1;
}

.close_btn {
    width: 210px;
    max-width: 15.4%;
    aspect-ratio: 210 / 50;
    background-color: var(--color-blue);
    font-size: clamp(0px, 2.7vh, 30px);
    font-family: var(--font-en);
    letter-spacing: 0.3em;
    line-height: 1;
    color: #fff;
    border: 0;
    border-radius: 0 0 7px 7px;
    cursor: pointer;
    position: absolute;
    bottom: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    transition: background 0.4s, color 0.4s;
}

.close_btn:hover {
    background-color: var(--color-main);
    color: #fff;
}

.nav_overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s;
    z-index: 1000;
}

.nav_overlay.active {
    opacity: 1;
    visibility: visible;
}

@media screen and (max-width: 768px) {
    .nav_menu {
        width: 100dvw;
        height: auto;
        aspect-ratio: inherit;
        -webkit-overflow-scrolling: touch;
        overflow-x: hidden;
        overflow-y: auto;
    }

    .close_btn {
        width: 45.5dvw;
        max-width: 100%;
        height: 14dvw;
        font-size: 6dvw;
        border-radius: 0 0 2.1dvw 0;
        position: relative;
        margin-left: auto;
    }
}

/*リンク*/
.nav_menu_inner {
    width: 100%;
    display: flex;
    flex-direction: column;
    background-color: #fff;
    position: relative;
    z-index: 2;
}

.nav_menu_cont {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1px;
}

.nav_menu_cont a {
    width: calc((100% - 1px) / 2);
    aspect-ratio: 680 / 325;
    background-color: var(--color-main);
    display: flex;
}

.nav_menu_cont a:hover {
    background-color: var(--color-brown);
}

.nav_menu_cont a .menu_img {
    width: 58%;
    overflow: hidden;
    position: relative;
}

.nav_menu_cont a .menu_img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: relative;
    z-index: 1;
}

.nav_menu_cont a .menu_img::after {
    content: "";
    width: 100%;
    height: 100%;
    background-color: rgba(35,24,21,0.5);
    mix-blend-mode: multiply;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    opacity: 1;
    transition: opacity 0.4s;
}

.nav_menu_cont a:hover .menu_img::after {
    opacity: 0;
}

.nav_menu_cont a .menu_text {
    width: 42%;
    color: #fff;
    padding-top: clamp(0px, 6.2vh, 70px);
    padding-left: clamp(0px, 4.4vh, 50px);
    position: relative;
}

.nav_menu_cont a .menu_text::before {
    content: "";
    width: clamp(0px, 3.4vh, 38px);
    height: clamp(0px, 3.4vh, 38px);
    background: url("../img/arrow.svg") no-repeat center center / contain;
    position: absolute;
    left: 0;
    right: 0;
    bottom: clamp(0px, 4.4vh, 50px);
    margin: auto;
}

.nav_menu_cont a .menu_text .text_1 {
    font-family: var(--font-en);
    font-size: clamp(0px, 1.8vh, 20px);
    letter-spacing: -0.05em;
    line-height: 1;
    font-style: oblique;
    background-color: #c30d23;
    display: inline-block;
    padding: 0.2em 0.5em 0.1em 0.2em;
}

.nav_menu_cont a .menu_text .text_2 {
    font-size: clamp(0px, 1.5vh, 17px);
    letter-spacing: 0.05em;
    line-height: 1.4em;
    margin-top: 0.6em;
}

@media screen and (max-width: 768px) {
    .nav_menu_cont a {
        aspect-ratio: 500 / 532;
        flex-direction: column;
    }

    .nav_menu_cont a .menu_img {
        width: 100%;
        aspect-ratio: 500 / 335;
    }

    .nav_menu_cont a .menu_text {
        width: 100%;
        height: 100%;
        flex: 1;
        padding-top: 4.5dvw;
        padding-left: 5dvw;
        padding-bottom: 3dvw;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    .nav_menu_cont a .menu_text::before {
        width: 6dvw;
        height: 6dvw;
        top: 0;
        bottom: 0;
        right: 4dvw;
        left: auto;
        margin: auto;
    }

    .nav_menu_cont a .menu_text .text_1 {
        font-size: 4.2dvw;
    }

    .nav_menu_cont a .menu_text .text_2 {
        font-size: 3.2dvw;
        letter-spacing: 0;
    }
}

.external_link {
    width: 100%;
    border-top: 1px solid #fff;
    display: flex;
}

.external_link .corporate {
    width: 82%;
    aspect-ratio: 2230 / 200;
    background: url("../img/external_link_bg.png") no-repeat center center / cover;
    transition: background 1.4s;
    display: flex;
    align-items: center;
    position: relative;
}

.external_link .corporate::before {
    content: "";
    width: clamp(0px, 3.4vh, 38px);
    height: clamp(0px, 3.4vh, 38px);
    background: url(../img/arrow.svg) no-repeat center center / contain;
    position: absolute;
    top: 0;
    bottom: 0;
    right: clamp(0px, 19.5vh, 220px);
    margin: auto;
    z-index: 2;
}

.external_link .corporate::after {
    content: "";
    width: 100%;
    height: 100%;
    background-color: var(--color-brown);
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
    transition: opacity 0.4s;
}

.external_link .corporate:hover::after {
    opacity: 1;
}

.external_link .corporate p {
    position: relative;
    z-index: 2;
}

.external_link .corporate .text_1 {
    font-size: clamp(0px, 4.4vh, 50px);
    font-family: var(--font-en);
    letter-spacing: -0.05em;
    line-height: 1;
    font-style: oblique;
    color: #fff;
    margin-left: clamp(0px, 20.4vh, 230px);
}

.external_link .corporate .text_2 {
    font-size: clamp(0px, 1.2vh, 14px);
    letter-spacing: 0.05em;
    line-height: 1;
    color: #fff;
    margin-left: clamp(0px, 2.7vh, 30px);
    margin-top: 1em;
}

.external_link .sns_link {
    width: 18%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0 clamp(0px, 4.5vh, 60px);
}

.external_link .sns_link a img {
    width: clamp(0px, 4vh, 44px);
}

@media screen and (max-width: 768px) {
    .external_link {
        flex-direction: column;
    }
    
    .external_link .corporate {
        width: 100%;
        aspect-ratio: 1000 / 260;
        background-image: url("../img/external_link_bg_sp.png");
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
    }

    .external_link .corporate::before {
        width: 11dvw;
        height: 11dvw;
        background-color: var(--color-main);
        background-image: url("../img/arrow_white.svg");
        border: 1px solid #fff;
        border-radius: 50%;
        right: 5dvw;
    }

    .external_link .corporate .text_1 {
        font-size: 6.4dvw;
        margin-left: 5dvw;
    }

    .external_link .corporate .text_2 {
        font-size: 3.2dvw;
        margin-left: 5dvw;
    }

    .external_link .sns_link {
        width: 54.5%;
        height: 14dvw;
        background-color: #fff;
        justify-content: flex-start;
        gap: 7.5dvw;
        padding-left: 5dvw;
        position: absolute;
        left: 0;
        bottom: -14dvw;
    }

    .external_link .sns_link a img {
        width: 8.5dvw;
    }
}


/* ===============================================
   footer
=============================================== */
#footer {
    width: 100%;
    margin-top: auto;
    background-color: #fff;
}

.footer_inner {
    padding: clamp(0px, 4.5vw, 50px) 0 clamp(0px, 5.8vw, 70px);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer_inner .logo {
    width: clamp(0px, 30vw, 330px);
    margin-bottom: clamp(0px, 2.3vw, 25px);
    line-height: 0;
}

.footer_inner .logo img {
    width: 100%;
}

.footer_menu {
    margin-bottom: clamp(0px, 5vw, 55px);
}

@media screen and (max-width: 768px) {
    .footer_inner {
        width: 100dvw;
        padding: 15dvw 0 25dvw;
    }

    .footer_inner .logo {
        width: 50dvw;
        margin-bottom: 2.5dvw;
    }

    .footer_menu {
        margin-bottom: 19dvw;
    }
}

#footer .corporate_link {
    width: 100%;
    height: clamp(0px, 15.3vw, 170px);
    background: url("../img/corporate_link_bg.png") no-repeat center center / cover;
    transition: background 1.4s;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

#footer .corporate_link::after {
    content: "";
    width: 100%;
    height: 100%;
    background-color: var(--color-brown);
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
    transition: opacity 0.4s;
}

#footer .corporate_link:hover::after {
    opacity: 1;
}

#footer .corporate_link .link_inner {
    width: clamp(0px, 68.4vw, 760px);
    display: flex;
    align-items: center;
    position: relative;
    z-index: 2;
}

#footer .corporate_link .link_inner::before {
    content: "";
    width: clamp(0px, 5.5vw, 60px);
    height: clamp(0px, 5.5vw, 60px);
    background: var(--color-main) url("../img/arrow_white.svg") no-repeat center center / contain;
    border: 1px solid #fff;
    border-radius: 50%;
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    margin: auto;
    z-index: 2;
}

#footer .corporate_link .text_1 {
    font-size: clamp(0px, 4.5vw, 50px);
    font-family: var(--font-en);
    letter-spacing: -0.05em;
    line-height: 1;
    font-style: oblique;
    color: #fff;
}
#footer .corporate_link .text_2 {
    font-size: clamp(0px, 1.3vw, 14px);
    letter-spacing: 0.05em;
    line-height: 1;
    color: #fff;
    margin-left: 2em;
    margin-top: 1.5em;
}

#footer_address {
    font-size: clamp(0px, 1.3vw, 14px);
    font-weight: var(--font-w-b);
    line-height: 2.1em;
    position: absolute;
    bottom: clamp(0px, 11.8vw, 130px);
    right: 5px;
}

#copyright {
    width: 100%;
    font-size: clamp(0px, 1.1vw, 12px);
    font-weight: var(--font-w-b);
    letter-spacing: 0.03em;
    text-align: center;
    color: var(--color-main);
    display: block;
}

@media screen and (max-width: 768px) {
    #footer .corporate_link {
        height: 50dvw;
        background-image: url("../img/corporate_link_bg_sp.png");
    }

    #footer .corporate_link .link_inner {
        width: 90dvw;
        height: 100%;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        padding-top: 6.5dvw;
    }

    #footer .corporate_link .link_inner::before {
        width: 16dvw;
        height: 16dvw;
        top: inherit;
        bottom: 6dvw;
        left: 0;
    }

    #footer .corporate_link .text_1 {
        font-size: 10.1dvw;
    }
    
    #footer .corporate_link .text_2 {
        font-size: 3dvw;
        letter-spacing: 0.05em;
        margin-left: 0;
        margin-top: 1.5em;
    }

    #footer_address {
        font-size: 2.5dvw;
        line-height: 1.6em;
        position: relative;
        bottom: 0;
        right: 0;
        margin-top: 4dvw;
    }

    #copyright {
        font-size: 2dvw;
        line-height: 1;
    }
}


/* ===============================================
   side / pagetop
=============================================== */
#side {
    position: fixed;
    right: clamp(0px, 2.7vw, 30px);
    bottom: clamp(0px, 2.7vw, 30px);
    z-index: 100;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(0px, 1.4vw, 15px) 0;
}

#side .side_text {
    font-size: clamp(0px, 1.4vw, 16px);
    writing-mode: vertical-rl;
    letter-spacing: 0.2em;
}

#side a {
    width: clamp(0px, 3.8vw, 42px);
}

#pagetop {
    aspect-ratio: 1 / 1;
    background: var(--color-main) url("../img/pagetop.svg") no-repeat center center / contain;
    border: 1px solid #fff;
    border-radius: clamp(0px, 0.6vw, 7px);
    transition: background 0.4s;
    overflow: hidden;
    white-space: nowrap;
    text-indent: 150%;
    cursor: pointer;
    margin-top: clamp(0px, 1.4vw, 15px);
}

#pagetop:hover {
    background-color: var(--color-brown);
}

@media screen and (max-width: 768px) {
    #side {
        width: 100%;
        height: 18dvw;
        background-color: #fff;
        border: 1dvw solid var(--color-blue);
        right: 0;
        bottom: 0;
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 0;
    }

    #side .side_text {
        font-size: 3dvw;
        writing-mode: inherit;
        color: var(--color-blue);
        margin-left: 4dvw;
    }

    #side a {
        width: 8.4dvw;
        margin-left: 3dvw;
    }
    
    #side a:not(:first-of-type) {
    }

    #pagetop {
        border-radius: 2dvw;
        margin-top: 0;
    }
}


/* ===============================================
   title
=============================================== */


/* ===============================================
   button / link text
=============================================== */
.site_menu {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1px;
}

.site_menu a {
    width: calc((100% - 2px) / 3);
    aspect-ratio: 365 / 145;
    background-color: var(--color-main);
    color: #fff;
    padding-left: clamp(0px, 3.2vw, 35px);
    display: flex;
    align-items: center;
    position: relative;
}

.site_menu a:hover {
    background-color: var(--color-brown);
}

.site_menu a::before {
    content: "";
    width: clamp(0px, 3.4vw, 38px);
    height: clamp(0px, 3.4vw, 38px);
    background: url(../img/arrow.svg) no-repeat center center / contain;
    position: absolute;
    top: 0;
    bottom: 0;
    right: clamp(0px, 2.7vw, 30px);
    margin: auto;
}

.site_menu a .text_1 {
    font-family: var(--font-en);
    font-size: clamp(0px, 1.8vw, 20px);
    letter-spacing: -0.05em;
    line-height: 1;
    font-style: oblique;
    background-color: #c30d23;
    display: inline-block;
    padding: 0.2em 0.5em 0.1em 0.2em;
}

.site_menu a .text_2 {
    font-size: clamp(0px, 1.5vw, 17px);
    letter-spacing: 0.05em;
    line-height: 1.4em;
    margin-top: 0.4em;
}

@media screen and (max-width: 768px) {
    .site_menu a {
        width: calc((100% - 1px) / 2);
        aspect-ratio: 500 / 200;
        padding-left: 4.5dvw;
    }

    .site_menu a::before {
        content: "";
        width: 6dvw;
        height: 6dvw;
        right: 4dvw
    }

    .site_menu a .text_1 {
        font-size: 4.2dvw;
    }

    .site_menu a .text_2 {
        font-size: 3.2dvw;
    }
}


/* ===============================================
   box
=============================================== */

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

}


/* ===============================================
   list
=============================================== */


/* ===============================================
   breadcrumb
=============================================== */
.breadcrumb {
    font-size: clamp(10px, 1vw, 12px);
    display: flex;
    flex-wrap: wrap;
    gap: 0.5em 0;
    margin-bottom: 1em;
}

.breadcrumb li a,
.breadcrumb li {
    font-size: clamp(10px, 1vw, 12px);
    font-weight: var(--font-w-r);
    color: var(--color-main);
    position: relative;
}

.breadcrumb li a:hover {
    text-decoration: underline;
}

.breadcrumb li:not(:last-child) {
    margin-right: 1.2em;
}

.breadcrumb li:not(:last-child)::before {
    content: "\03e";
    position: absolute;
    right: -0.9em;
}

@media screen and (max-width: 768px) {
    .breadcrumb {
        font-size: clamp(0px, 3.6dvw, 14px);
        margin-bottom: 0.8em;
        gap: 0;
    }

    .breadcrumb li a,
    .breadcrumb li {
        font-size: clamp(0px, 3.6dvw, 14px);
    }
}


/* ===============================================
   anim
=============================================== */
.js-fadeup {
    opacity: 0;
    transform: translateY(5vh);
    transition: opacity 1s, transform 1s;
}

.js-fadeup.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.js-fadein {
    opacity: 0;
    transition: opacity 1s;
}

.js-fadein.is-visible {
    opacity: 1;
}

.delay-0-3 { transition-delay: 0.3s; }
.delay-0-5 { transition-delay: 0.5s; }

@media screen and (max-width: 768px) {
    .delay-0-3,
    .delay-0-5 {
        transition-delay: 0;
    }
}


/* ===============================================
   editor style
=============================================== */
#single .article_sec .text_area {
    line-height: 1.8;
    font-size: 1rem;
}

/* 段落 */
#single .article_sec .text_area p {
    margin: 0 0 1.2em;
}

/* 見出し（必要なものだけ） */
#single .article_sec .text_area h2 {
    margin: 2em 0 1em;
    font-size: 1.4em;
    font-weight: 700;
}

#single .article_sec .text_area h3 {
    margin: 1.6em 0 0.8em;
    font-size: 1.2em;
    font-weight: 700;
}

/* リンク */
#single .article_sec .text_area a {
    color: #0066cc;
    text-decoration: underline;
    display: inline-block;
}

#single .article_sec .text_area a:hover {
    text-decoration: none;
}

/* 太字 */
#single .article_sec .text_area strong,
#single .article_sec .text_area b {
    font-weight: 700;
}

/* 画像 */
#single .article_sec .text_area img {
    max-width: 100%;
    height: auto;
    display: inline-block;
    margin: 1.5em auto;
}

/* リスト */
#single .article_sec .text_area ul,
#single .article_sec .text_area ol {
    margin: 1.5em 0;
    padding-left: 1.5em;
}

#single .article_sec .text_area li {
    margin: 0.5em 0;
    list-style: inherit;
}

/* 引用 */
#single .article_sec .text_area blockquote {
    margin: 2em 0;
    padding: 1em 1.5em;
    background: #f7f7f7;
    border-left: 4px solid #ccc;
}

/* 横線 */
#single .article_sec .text_area hr {
    margin: 3em 0;
    border: none;
    border-top: 1px solid #ddd;
}
