@charset "UTF-8";
@media screen and (max-width: 767px) {
    #header .navi {
        width: 80%;
        height: 100vh;
        background-color: #fff;
        position: fixed;
        top: 0;
        right: -80%;
        z-index: 20;
        transition: all 0.6s;
    }
    #header .navi.active {
        right: 0;
    }
    #header .navi .menu {
        width: 100%;
        height: 100vh;
        flex-direction: column;
        align-items: center;
        padding: 60px 0;
        overflow: auto;
    }
    #header .navi .menu li {
        padding: 10px 0;
        margin-left: 0;
    }
    #header .hamburger {
        width: 50px;
        height: 50px;
        cursor: pointer;
        position: fixed;
        top: 5px;
        right: 10px;
        z-index: 30;
    }
    #header .hamburger span {
        width: 30px;
        height: 3px;
        background-color: #000;
        display: inline-block;
        position: absolute;
        left: 10px;
        transition: all 0.4s;
    }
    #header .hamburger span:nth-of-type(1) {
        top: 16px;
    }
    #header .hamburger span:nth-of-type(2) {
        top: 25px;
    }
    #header .hamburger span:nth-of-type(3) {
        top: 34px;
    }
    #header .navi .active {
        right: 0;
    }
    #header .hamburger.active span:nth-of-type(1) {
        top: 24px;
        transform: rotate(-45deg);
    }
    #header .hamburger.active span:nth-of-type(2) {
        opacity: 0;
    }
    #header .hamburger.active span:nth-of-type(3) {
        top: 24px;
        transform: rotate(45deg);
    }
}
html {
    font-size: 100%;
}
body {
    font-family: "Noto Serif JP",serif;
    color: #432;
}
a {
    text-decoration: none;
    transition: opacity 0.7s;
}
a:hover {
    opacity: 0.5;
}
img {
    max-width: 100%;
}
.wrapper {
    width: 100%;
    padding: 0 20px;
    margin: 0 auto;
}
#header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;
    padding: 0 10px;
    background-color: #fff;

    display: flex;
    justify-content: space-between; /* ← 追加 */
    align-items: center;           /* ← 追加 */
}

#header .header-logo {
    display: flex;
    align-items: center;
    transition: opacity 0.7S;
}
#header .header-logo:hover {
    opacity: 0.5;
}
#header figure {
    max-width: 40px;
    opacity: 0.7;
    margin-right: 20px;
}
#header .logo-text {
    font-size: 1.5rem;
    align-items: center;
    width: auto;
    display: flex;
}
#header .logo img {
    max-width: 40px;
}
nav ul {
    display: flex;
}
nav li {
    padding:0 20px;
}
.cover {
    height: 100svh;

    display: flex;
}
.cover img {
    object-fit: cover;
    width: 100%;
}

/*memorial-section*/
.memorial{
    color: white;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5);
    height: 100vh;
    text-align: center;
    font-size: 2rem;
}
.memorial-section {
    height: calc(100vh/3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5);
    background-size: cover;
    background-position: center;
    transition: opacity 0.7s;
}
.memorial-section:hover {
    opacity: 0.7;
}
.permanent-memorial {
    background-image: url(../images/common/permanent-memorial.JPG);
}
.memorial-garden {
    background-image: url(../images/common/memorial-garden-front2.JPG);
}
@media screen and (max-width: 767px) {
    .memorial-garden {
        background-image: url(../images/common/memorial-garden-front1.JPG);
    }
}
.history {
    background-image: url(../images/common/sennenji-top.JPG);
}

/*footer*/
#footer {
    color: rgb(202, 202, 202);
    background-color: rgb(76, 76, 76);
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}
#footer .info {
    display: flex;
    flex-direction: column;
    align-items: center;
}
#footer .info-img{
    opacity: 0.7;
    max-width: 60px;
    line-height: 0;
    filter: invert(1);
    padding-bottom: 20px;
}
#footer .info-base {
    display: flex;
    justify-content: space-between;
}
#footer .instaglam{
    opacity: 0.7;
    max-width: 30px;
    line-height: 0;
    padding-bottom: 20px;
    margin-right: 30px;
}