@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;
    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.7vw, 65px);
    }
}

.inner {
    width: clamp(0px, 92.3vw, 1200px);
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

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


/* ===============================================
   header
=============================================== */
#header {
    width: 100%;
    height: clamp(0px, 10.8vw, 140px);
    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, 20.8vw, 270px);
    margin-left: clamp(0px, 3.1vw, 40px);
    line-height: 0;
    pointer-events: auto;
}

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

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

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

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

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

/* ハンバーガー */
.hamburger {
    width: clamp(0px, 6.9vw, 90px);
    aspect-ratio: 90 / 60;
    background-color: var(--color-blue);
    border-radius: clamp(0px, 0.55vw, 7px);
    cursor: pointer;
    position: relative;
    transition: background-color 0.4s;
    z-index: 1002;
}

.hamburger span {
    position: absolute;
    left: 50%;
    width: clamp(0px, 4.6vw, 60px);
    height: 2px;
    background-color: #fff;
    transform: translateX(-50%);
    transition:
        transform 0.4s cubic-bezier(.4,0,.2,1),
        top 0.4s cubic-bezier(.4,0,.2,1),
        background-color 0.4s;
}

.hamburger span:nth-child(1) {
    top: 50%;
    transform: translate(-50%, clamp(-8px, -0.6vw, 0px));
}

.hamburger span:nth-child(2) {
    top: 50%;
    transform: translate(-50%, clamp(0px, 0.6vw, 8px));
}

.hamburger.active span:nth-child(1) {
    top: 50%;
    transform: translate(-50%, -50%) rotate(30deg);
}

.hamburger.active span:nth-child(2) {
    top: 50%;
    transform: translate(-50%, -50%) rotate(-30deg);
}

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

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

    .hamburger span {
        width: 11.7vw;
        height: 0.6vw;
    }
    
    .hamburger span:nth-child(1) {
        transform: translate(-50%, -1.5vw);
    }

    .hamburger span:nth-child(2) {
        transform: translate(-50%, 1.5vw);
    }
}

/* メニュー */
.nav_menu {
    position: fixed;
    z-index: 1001;
    right: -500px;
    top: 0;
    width: 450px;
    height: 100%;
    box-sizing: border-box;
    background: #fff;
    border-left: solid 1px #999;
    padding: 0 0 clamp(0px, 4.6vh, 50px) 100px;
    transition: all .7s;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.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 {
    right: 0;
    opacity: 1;
}

.list__main-nav {
    transition: all .5s;
    transform-origin: right bottom;
    transition-delay: .5s;
    transform: translateY(-100vh) rotateZ(50deg);
    transition-timing-function: cubic-bezier(.6, 1.48, .91, .95);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: clamp(0px, 4.6vh, 50px);
}

.nav_menu.active .list__main-nav {
    transform: translateY(0);
}

.list__main-nav a {
    display: block;
    font-size: 20px;
    font-weight: 700;
    color: #003c81;
    padding: 0 0 0 1em;
    position: relative;
}

.list__main-nav a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    margin: auto;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 7px 0 7px 12px;
    border-color: transparent transparent transparent #003c81;
    transition: all .2s;
}

.list__main-nav a:hover::before {
  border-color: transparent transparent transparent #fcc800 !important;
}

.list__main-nav li.nav--bg {
  margin: 30px 0 0;
}

.list__main-nav li.nav--bg a {
    width: 250px;
    aspect-ratio: 250 / 73;
    background: #003c81;
    border-radius: 70px;
    text-align: center;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
}

.list__main-nav li.nav--bg a::before {
    display: none;
}

.list__main-nav li.nav--bg a::after {
    content: "";
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #fff;
    position: absolute;
    top: 0;
    bottom: 0;
    right: 15px;
    margin: auto;   
    transition: background .2s;
}

.list__main-nav li.nav--bg a:hover::after {
    background-color: #fcc800;
}

@media screen and (max-width: 768px) {
    .nav_menu {
        width: 100vw;
        height: 100dvh;
        right: -105vw;
        aspect-ratio: inherit;
        -webkit-overflow-scrolling: touch;
        overflow-x: hidden;
        overflow-y: auto;
        border-left: 0;
        padding: 0;
        justify-content: center;
    }
    
    .list__main-nav {
        gap: 4dvh 0;
    }

    .list__main-nav a {
        font-size: 4vw;
            padding: 0 0 0 1.2em;
    }

    .list__main-nav a::before {
        border-width: 1.8vw 0 1.8vw 3vw;
    }

    .list__main-nav li.nav--bg {
      margin: 6dvh 0 0;
    }

    .list__main-nav li.nav--bg a {
        width: 50vw;
        aspect-ratio: 500 / 146;
    }

    .list__main-nav li.nav--bg a::after {
        width: 2vw;
        height: 2vw;
        right: 2.5vw;
    }
}

/*リンク*/
.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;
    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.5vw;
        padding-left: 5vw;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

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

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

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


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

#footer .corporate_link {
    width: clamp(0px, 92.3vw, 1200px);
    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;
    margin: 0 auto;
}

#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;
}

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

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

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

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

.footer_inner {
    width: 100%;
    height: clamp(0px, 28.1vw, 365px);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0 clamp(0px, 4.6vw, 60px);
    position: relative;
}

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

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

@media screen and (max-width: 768px) {
    .footer_inner {
        height: 97vw;
        gap: 5vw;
        flex-direction: column;
        align-items: center;
    }
    
    .footer_inner .footer_l {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

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

#footer_address {
    font-size: clamp(0px, 1.3vw, 14px);
    font-weight: var(--font-w-b);
    line-height: 2.1em;
    margin-bottom: clamp(0px, 1.5vw, 20px);
}

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

.footer_inner .btn_base {
    width: clamp(0px, 23.5vw, 305px);
}

.footer_img {
    width: clamp(0px, 10.4vw, 135px);
    position: absolute;
    bottom: 0;
    left: clamp(0px, 6.9vw, 90px);
    transform: scaleX(-1);
    overflow: hidden;
}

@media screen and (max-width: 768px) {
    #footer_address {
        font-size: 2.5vw;
        line-height: 1.6em;
        margin-bottom: 4.5vw;
    }

    #copyright {
        font-size: 2vw;
        letter-spacing: 0.07em;
    }

    .footer_inner .btn_base {
        width: 57.5vw;
    }

    .footer_img {
        width: 17vw;
        left: 4vw;
    }
}


/* ===============================================
   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;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

#side.is_show {
    opacity: 1;
    pointer-events: auto;
}

#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;
}

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

@media screen and (max-width: 768px) {
    #side {
        right: 2vw;
        bottom: 2vw;
    }
    
    #side a {
        width: 10vw;
    }
    
    #pagetop {
        border-radius: 1vw;
    }
}


/* ===============================================
   button / link text
=============================================== */
.btn_base {
    width: 100%;
    height: clamp(0px, 3.8vw, 50px);
    border-radius: 50px;
    background-color: var(--color-main);
    color: #fff;
    font-size: clamp(0px, 1.1vw, 14px);
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    transition: box-shadow 0.3s ease, background 0.3s ease;
}

.btn_base::before {
    content: "";
    width: clamp(0px, 0.8vw, 10px);
    height: clamp(0px, 0.8vw, 10px);
    border-radius: 50%;
    background-color: #fff;
    position: absolute;
    top: 0;
    bottom: 0;
    right: clamp(0px, 1.2vw, 15px);
    margin: auto;
}

.btn_base::after {
    content: "";
    width: clamp(0px, 1.5vw, 20px);
    height: clamp(0px, 1.5vw, 20px);
    position: absolute;
    right: clamp(0px, 0.8vw, 10px);
    top: 0;
    bottom: 0;
    margin: auto;
    border-radius: 50%;
    background: #fff;
    opacity: 0;
    transform: scale(0);
    transition: transform .3s ease, opacity .3s ease;
}

.btn_base:hover {
    background-color: #ff0015;
    box-shadow: 0 0 3px 1px #999;
    transition: box-shadow 0.3s ease, background 0.3s ease;
}

.btn_base:hover::after {
    opacity: .5;
    transform: scale(1);
    transition: transform .3s ease, opacity .3s ease;
}

.btn_base.btn_blue {
    height: clamp(0px, 6.5vw, 85px);
    font-size: clamp(0px, 1.5vw, 20px);
    letter-spacing: 0.05em;
    background-color: var(--color-blue);
    border: clamp(0px, 0.4vw, 5px) solid #fff;
}

.btn_base.btn_blue:hover {
    background-color: #024d99;
}

@media screen and (max-width: 768px) {
    .btn_base {
        height: 13vw;
        font-size: 2.9vw;
    }

    .btn_base::before {
        width: 2vw;
        height: 2vw;
        right: 3vw;
    }

    .btn_base::after {
        width: 1vw;
        height: 1vw;
        right: 3.5vw;
    }

    .btn_base.btn_blue {
        height: 16.5vw;
        font-size: 4vw;
        border: 0.75vw solid #fff;
    }
}


/* ===============================================
   article
=============================================== */
.article_wrap {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(0px, 7.7vw, 100px);
    margin-bottom: clamp(0px, 11.5vw, 150px);
}

.article_block {
    width: clamp(0px, 92.3vw, 1200px);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.article_block .cont_title_2 {
    margin-bottom: clamp(0px, 3.1vw, 40px);
}

.article_list {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, clamp(0px, 28.1vw, 365px));
    justify-content: space-between;
    row-gap: clamp(0px, 5.4vw, 70px);
}

.article_list li {
    width: clamp(0px, 28.1vw, 365px);
}

.article_list li .article_img {
    width: 100%;
    aspect-ratio: 365 / 275;
    margin-bottom: clamp(0px, 1.5vw, 20px);
    overflow: hidden;
}

.article_list li a .article_img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.article_list li a:hover .article_img img {
    transform: scale(1.08);
}

.article_wrap .cat_area {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: clamp(0px, 0.8vw, 10px);
    margin-bottom: clamp(0px, 0.6vw, 8px);
}

.article_wrap .cat_area .article_icon {
    height: clamp(0px, 2.7vw, 35px);
    font-size: clamp(0px, 1.2vw, 16px);
    font-weight: var(--font-w-bl);
    color: #fff;
    background-color: var(--color-main);
    padding: 0 0.6em;
    display: flex;
    align-items: center;
}

.article_wrap .cat_area .category {
    width: auto;
    height: clamp(0px, 3.1vw, 40px);
    font-size: clamp(0px, 1.2vw, 16px);
    font-weight: var(--font-w-bl);
    padding: 0 1.3em;
    background-color: #fff;
    border: 2px solid;
    border-radius: 40px;
    display: flex;
    align-items: center;
}

.article_wrap .cat_area .category.cat_museum {
    color: var(--color-main);
    border-color: var(--color-main);
}

.article_wrap .cat_area .category.cat_shrine {
    color: var(--color-blue);
    border-color: var(--color-blue);
}

.article_wrap .article_text {
    font-size: clamp(0px, 1.4vw, 18px);
    font-weight: var(--font-w-b);
    line-height: 1.5em;
}

.article_wrap + .more {
    width: clamp(0px, 21.5vw, 280px);
    margin: 0 auto;
}

.article_wrap + .more a {
    width: 100%;
    font-size: clamp(0px, 1.3vw, 17px);
}

@media screen and (max-width: 768px) {
    .article_wrap {
        gap: 14vw;
        margin-bottom: 15vw;
    }

    .article_block {
        width: 90vw;
    }

    .article_block .cont_title_2 {
        margin-bottom: 5vw;
    }

    .article_list {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(2, 50%);
        justify-content: space-between;
        row-gap: 6vw;
    }

    .article_list li {
        width: 100%;
    }

    .article_list li .article_img {
        aspect-ratio: 450 / 370;
        margin-bottom: 3vw;
    }

    .article_wrap .cat_area {
        width: 39vw;
        gap: 1.6vw;
        margin: 0 auto 1.5vw;
    }

    .article_wrap .cat_area .article_icon {
        height: 4.8vw;
        font-size: 2.4vw;
        white-space: nowrap;
    }

    .article_wrap .cat_area .category {
        height: 5vw;
        font-size: 2.4vw;
        padding: 0 0.5em;
        white-space: nowrap;
        border: clamp(1px, 0.2vw, 2px) solid;
    }
    
    .article_wrap .article_text {
        width: 39vw;
        font-size: 3.5vw;
        line-height: 1.4em;
        text-align: left;
        margin: 0 auto;
    }

    .article_wrap + .more {
        width: 70vw;
    }

    .article_wrap + .more a {
        font-size: 3.3vw;
    }
}


/* ===============================================
   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;
    }
}
