html,
button,
input,
select,
textarea {
    color: #121212;
    font-size: 10px;
    line-height: 10px;
}


a {
    text-decoration: none;
}

li {
    list-style: none;
}

div {
    box-sizing: border-box;
}

.pc-only {
    display: inherit;
}

.sp-only {
    display: none;
}

.tab-only {
    display: none;
}

.index-pc-only {
    display: inherit;
}

.index-sp-only {
    display: none;
}

ul,
li {
    margin: 0;
    padding: 0;
}

hr {
    border: none;
    border-top: #ddd thin solid;
}


/*コンテンツ*/
.flex-area {
    display: flex;
}

.grid-area {
    display: grid;
    grid-template-columns: 250px 250px 250px;
    gap: 10px;
}

.flex-center {
    justify-content: center;
}

.flex-left {
    justify-content: flex-start;
}

.flex-right {
    justify-content: flex-end;
}

.flex-between {
    justify-content: space-between;
}

@media (max-width: 540px) {
    .pc-only {
        display: none;
    }

    .sp-only {
        display: inherit;
    }

}

/* ==========================================================================
   General styles
   ========================================================================== */

html,
body {
    width: 100%;
    margin: 0;
    padding: 0;
}

body {
    font-family: "Times New Roman", "YuMincho", "Hiragino Mincho ProN", "Yu Mincho", "MS PMincho", serif;
    color: #121212;
    line-height: 180%;
    letter-spacing: 1px;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -webkit-overflow-scrolling: touch;
}

.clear {
    clear: both;
}

hr {
    margin: 40px 0;
}

a {
    text-decoration: none;
}

/* ==========================================================================
   バーガーメニュー
   ========================================================================== */
.drawer {
    position: relative;
}

.drawer-hidden {
    display: none;
}

.drawer-open {
    background-color: #58348c;
    display: flex;
    right: 10px;
    top: 10px;
    height: 50px;
    width: 50px;
    justify-content: center;
    align-items: center;
    position: fixed;
    z-index: 1000;
    /* 重なり順を一番上に */
    cursor: pointer;
}

/* ハンバーガーメニューのアイコン */
.drawer-open span,
.drawer-open span:before,
.drawer-open span:after {
    content: '';
    position: absolute;
    display: block;
    height: 2px;
    width: 25px;
    background: #fff;
    transition: 0.5s;
}

/* 三本線のうち一番上の棒の位置調整 */
.drawer-open span:before {
    bottom: 8px;
}

/* 三本線のうち一番下の棒の位置調整 */
.drawer-open span:after {
    top: 8px;
}

/* アイコンがクリックされたら真ん中の線を透明にする */
#drawer-check:checked~.drawer-open span {
    background-color: rgba(255, 255, 255, 0);
}

#drawer-check:checked~.drawer-open {
    background-color: ;
}

/* アイコンがクリックされたらアイコンが×印になように上下の線を回転 */
#drawer-check:checked~.drawer-open span::before {
    bottom: 0;
    transform: rotate(45deg);

}

#drawer-check:checked~.drawer-open span::after {
    top: 0;
    transform: rotate(-45deg);
}

/* メニューのデザイン*/
.drawer-content {
    overflow-y: auto;
    width: 100%;
    max-width: 540px;
    padding-top: 10px;
    padding-bottom: 10px;
    height: 100%;
    position: fixed;
    top: 0;
    right: -100%;
    /* メニューを画面の外に飛ばす */
    z-index: 999;
    background: #f1edf5;
    transition: 0.5s;
    color: #58348c;
}

.drawer-content h1 {
    width: 50%;
    max-width: 230px;
    margin: 2rem auto;
}

ul.drawer-list {
    list-style: none;
    padding-left: 0px;
    margin: 0;
}

.drawer-list li {
    margin: 0;
}

.drawer-list li:first-child {
    border-top: thin dotted #58348c;
}

.drawer-list li a {
    font-size: 1.5rem;
    font-family: sans-serif;
    padding: 1.5rem 0px;
    display: block;
    margin: 1px 0;
    color: #58348c;
    border-bottom: thin dotted #58348c;
    text-align: center;
}

.drawer-list li a:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* アイコンがクリックされたらメニューを表示 */
#drawer-check:checked~.drawer-content {
    right: 0;
    /* メニューを画面に入れる */
}


/* ==========================================================================
   header-top
   ========================================================================== */
header {
    width: 100%;
    margin-bottom: 40px;
}

.header-top {
    width: 100%;
    display: flex;
    align-items: stretch;
}

.slider {
    width: 80%;
    height: 758px;
}

.title {
    width: 15%;
    min-width: 55px;
    margin-left: 15px;
    margin-top: 100px;
}

.title-logo {
    position: absolute;
    right: 0;
    top: 0;
    z-index: -1;
}

.main-title {
    width: 100%;
    display: flex;
    align-items: flex-start;
}

.main-title-img-01 {
    margin-top: 30px;
    width: 45%;
    min-width: 30px;
    max-width: 50px;
}

.main-title-img-02 {
    width: 25%;
    min-width: 20px;
    max-width: 30px;
}

.sub-title {
    margin-top: 1em;
    writing-mode: vertical-rl;
    font-size: 1.6em;
}

.secondline {
    margin-top: 2em;
}

@media (max-width: 434px) {
    .slider {
        height: 630px;
        /* 600pxに固定 */
    }
}


.contents {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}



/* ==========================================================================
   バナー
   ========================================================================== */
.bnr {
    margin-bottom: 40px;
    width: 90%;
    max-width: 1000px;
}

.bnr img {
    width: 100%;
}


/* ==========================================================================
   お知らせ
   ========================================================================== */
.topics {
    margin-bottom: 60px;
    width: 90%;
    max-width: 1000px;
    font-size: 1.8em;
    position: relative;
}

.topics-title {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: flex-start;
}

.topics-title span {
    color: #fff;
    padding: .5em .8em;
    text-align: center;
    width: 30%;
    display: block;
    background: url(../img/news-title-bg.png);
    background-size: cover;
    background-repeat: no-repeat;

}

.topics-title-border {
    position: relative;
    left: -5px;
    width: 70%;
    height: 2px;
    background: linear-gradient(to right, #513688, transparent);
}

.topics-title-border-reverse {
    margin-top: 2em;
    margin-bottom: .5em;
    width: 100%;
    height: 2px;
    background: linear-gradient(to left, #513688, transparent);
}

.topics_contents_cover {
    margin: 0 auto;
    padding-bottom: 1em;
    width: 100%;
    max-width: 1000px;
    border-bottom: thin #1D277B dashed;
}

.topics_contents_cover a {
    width: 12%;
    max-width: 60px;
    transition: opacity 0.3s;
}

.topics_contents_cover a:hover {
    opacity: .5;
}

.topics_contents_cover a img {
    width: 100%;
}

.topics_contents_sns {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 32px;
    width: 100%;
    padding: 16px 0;
}

.topics_contents_news {
    width: auto;
    box-sizing: border-box;
    display: flex;
    justify-content: flex-start;
    padding: 1em 1em 0 1em;
}

.topics_contents_news_day {
    margin-bottom: .5em;
    margin-right: 1em;
    font-weight: bold;
    white-space: nowrap;
}

.topics_contents_news_text {
    line-height: 1.3;
}

.btn_topicsdetail a {
    white-space: nowrap;
    padding: .5em;
    background-color: #513688;
    color: #fff;
    display: inline-block;
    text-align: center;
}

.btn_topicsdetail a:hover {
    background-color: #957EAD;
    color: #fff;
}

.topics_contents_list {
    text-align: right;
}

.topics_contents_list a {
    color: #513688;
}

.topics-stamp-01 {
    background: url(../img/stamp-01.png);
    background-size: cover;
    position: absolute;
    width: 30%;
    aspect-ratio: 1/1;
    max-width: 150px;
    min-width: 125px;
    right: 0;
    top: -20%;
    z-index: -1;
}

.topics-stamp-02 {
    background: url(../img/stamp-02.png);
    background-size: cover;
    position: absolute;
    width: 20%;
    aspect-ratio: 1/1;
    max-width: 75px;
    min-width: 70px;
    right: -5%;
    top: 20%;
    z-index: -1;
}




@media (max-width:1024px) {
    .topics_contents {
        display: flex;
        flex-direction: column;
    }
}

@media (max-width:649px) {
    .topics_contents_news {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    .topics_contents_news_category {
        margin: 0;
    }

    .topics_contents_news_text {
        font-size: 1.5rem;
    }
}



/* ==========================================================================
   グリッドメニュー
   ========================================================================== */
.grid-menu {
    position: relative;
    margin-bottom: 60px;
    width: 90%;
    max-width: 1000px;
    display: grid;
    /* grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); */
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

@media (max-width: 434px) {
    .grid-menu {
        grid-template-columns: repeat(2, 1fr);
        gap: 2px;

    }
}


.koimurasaki {
    background-color: #513688;
}

.grid-item {
    position: relative;
    transition: all .3s ease;
    cursor: pointer;
}

.grid-item:hover {
    opacity: .5;
}

.grid-item-01 {
    background: url(../img/grid-item01.jpg);
}

.grid-item-02 {
    background: url(../img/grid-item02.jpg);
}

.grid-item-03 {
    background: url(../img/grid-item03.jpg);
}

.grid-item-04 {
    background: url(../img/grid-item04.jpg);
}

.grid-item-05 {
    background: url(../img/grid-item05.jpg);
}

.grid-item-06 {
    background: url(../img/grid-item06.jpg);
}

.grid-item-img {
    width: 100%;
    aspect-ratio: 1.2/1;
    background-position: center;
    background-size: cover;
}

.grid-item-text {
    width: 100%;
    height: 3.5rem;
    text-align: center;
    font-size: 2rem;
    background-size: cover;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}

.grid-item-text span {
    padding: .5em;
}

.grid-item-koi {
    color: #fff;
    background: url(../img/grid-bg-koi.png);
}

.grid-item-awa {
    color: #000;
    background: url(../img/grid-bg-awa.png);
}

.grid-stamp-01 {
    background: url(../img/stamp-03.png);
    opacity: 0.2;
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    width: 50%;
    aspect-ratio: 1/1;
    max-width: 350px;
    min-width: 200px;
    left: -10%;
    top: -15%;
    z-index: -1;
}



/* ==========================================================================
   メニュー
   ========================================================================== */
.menu {
    width: 90%;
    max-width: 1000px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
}

.menu-item {
    position: relative;
    margin-bottom: 60px;
    width: 100%;
    text-align: center;
    font-size: 1.5rem;
}

.menu-item img {
    width: 100%;
}

.menu-item p {
    margin: .7em;
    font-size: 1.6em;
    font-family: "shinryu";
    font-style: normal;
}

.menu-item span {
    line-height: 1.3;
    font-size: 1em;
}

.menu-detail {
    display: inline-block;
    width: 100%;
    margin-top: 1em;
    font-size: 1.2em;
    max-width: 550px;

}

.menu-detail span {
    display: inline-block;
    width: 100%;
    color: #513688;
    background: #fff;
    border: 1px solid #513688;
    border-radius: 10px;
    padding: .5em 0;
    transition: all .3s ease;
}

.menu-detail span:hover {
    display: inline-block;
    width: 100%;
    color: #fff;
    background: #513688;
    border: 1px solid #513688;
    border-radius: 10px;
    padding: .5em 0;
}

.menu-item-stamp01 {
    background: url(../img/stamp-04.png);
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    opacity: .5;
    width: 50%;
    aspect-ratio: 1/1;
    max-width: 350px;
    min-width: 200px;
    left: -7%;
    top: 20%;
    z-index: -1;
}

.menu-item-stamp02 {
    background: url(../img/stamp-05.png);
    background-size: cover;
    background-repeat: no-repeat;
    position: absolute;
    width: 50%;
    aspect-ratio: 1/1;
    max-width: 400px;
    min-width: 250px;
    right: -5%;
    top: 15%;
    z-index: -1;
}

.menu-item-stamp03 {
    background: url(../img/stamp-06.png);
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    width: 50%;
    opacity: .5;
    aspect-ratio: 1/1;
    max-width: 400px;
    min-width: 250px;
    left: -10%;
    top: 20%;
    z-index: -1;
}


/* ==========================================================================
   フォトアルバム
   ========================================================================== */
.photoalbum {
    /* margin-bottom: 60px; */
    position: relative;
    background: url(../img/photoalbum-bg.png);
    background-repeat: no-repeat;
    background-size: cover;
    width: 100%;
    border-top: #513688 solid 3px;
    border-bottom: #513688 solid 3px;
    color: #513688;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.photoalbum h2 {
    font-size: 2.5rem;
    position: relative;
}

.photoalbum h2::before,
.photoalbum h2::after {
    font-weight: bold;
    content: '';
    position: absolute;
    top: 50%;
    width: 50%;
    height: 1px;
    background-color: #513688;
    transform: translateY(-50%);
}

.photoalbum h2::before {
    left: -55%;
}

.photoalbum h2::after {
    right: -55%;
}

.photoalbum-img {
    width: 90%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.photoalbum-img img {
    width: 29%;
}

.photoalbum-menu {
    width: 90%;
    max-width: 550px;
}

.photoalbum p {
    font-size: 2rem;
    font-weight: bold;
}

.photoalbum-menu-stamp {
    background: url(../img/stamp-07.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: right;
    position: absolute;
    width: 50%;
    opacity: .2;
    aspect-ratio: 1/1;
    max-width: 350px;
    min-width: 200px;
    right: -5%;
    top: 20%;
    z-index: -1;
}

@media (max-width: 434px) {
    .photoalbum-img {
        flex-direction: column;
    }

    .photoalbum-img img {
        width: 100%;
        margin-bottom: 20px;
    }
}



/* ==========================================================================
フッター
   ========================================================================== */
footer {
    border-top: 3px solid #513688;
    border-bottom: 3px solid #513688;
    position: relative;
    margin-top: 100px;
    margin-bottom: 30px;
}

.footer-inner {
    width: 100%;
    max-width: 1000px;
    position: relative;
    margin: 0 auto;
    padding: 1.5rem 0;
}

footer .footer_shamon01 {
    position: absolute;
    width: 80px;
    height: 80px;
    top: -45px;
    left: 1rem;
}

footer .footer_shamon02 {
    position: absolute;
    width: 60px;
    height: 60px;
    bottom: -40px;
    right: 1rem;
}

footer .footer_shamon01 img,
footer .footer_shamon02 img {
    width: 100%;
}

footer h1 {
    text-align: center;
}

footer h1 img {
    width: 65%;
    max-width: 200px;
}

footer .add {
    font-size: clamp(1.4rem, 2.5vw, 1.6rem);
    text-align: center;
}




/* ==========================================================================
    区切りスタンプ
   ========================================================================== */
.border-stamp {
    margin-bottom: 60px;
    text-align: center;
}

.border-stamp img {
    width: 30%;
    max-width: 200px;
    min-width: 130px;
    aspect-ratio: 1/1;

}


/* ==========================================================================
   ページトップへ戻る
   ========================================================================== */

#page-top a {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 60px;
    height: 60px;
    border-radius: 20px;
    border: none;
    background: #c79700;
    color: #fff;
    padding: 0px;
    z-index: 20000;
    font-size: 18px;
    font-weight: lighter;
    display: flex;
    align-items: center;
    justify-content: center;
}

#page-top a:hover {
    background-color: #fff;
    border: #c79700 solid 1px;
    color: #c79700;
}





/* ==========================================================================
令和６年例大祭告知　20240516追記
========================================================================== */

.reitaisai-kokuchi {
    width: 90%;
    max-width: 1000px;
    font-size: 1rem;
    margin-bottom: 60px;
    padding: 18px;
    background-color: #ffdacc;
}

.reitaisai-kokuchi .reitaisai-kokuchi-inner {
    font-size: clamp(1.2rem, 2.5vw, 1.6rem);
    line-height: 1.3;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding: 1rem 0;
}

.reitaisai-kokuchi h6 {
    font-size: clamp(2rem, 2.5vw, 2.4rem);
    margin: 0;
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
    border-bottom: thin red solid;
}

.reitaisai-kokuchi-flex {
    padding-bottom: 1em;
    display: flex;
    align-items: flex-start;
    margin: 0.5rem auto;
}

.reitaisai-kokuchi-flex div:first-child {
    width: 20rem;
    margin-right: 1rem
}

.reitaisai-flex-column {
    flex-direction: column;
}

.reitaisai-button a {
    display: block;
    padding: 0.5rem 2rem;
    background-color: red;
    color: #fff;
    border: thin red solid;
}

.reitaisai-button a {
    display: block;
    text-align: center;
    padding: 0.5rem 2rem;
    background-color: #b30000;
    color: #fff;
    font-weight: bold;
    border: thin #b30000 solid;
    width: 50%;
    max-width: 450px;
    margin: 0 auto;
}

.reitaisai-button a:hover {
    background-color: #fff;
    color: #b30000;
    cursor: pointer;
}

@media (max-width: 649px) {
    .reitaisai-kokuchi .reitaisai-kokuchi-inner {
        font-size: 1.5rem;
    }

    .reitaisai-kokuchi-flex {
        flex-direction: column;
    }

    .reitaisai-kokuchi-flex div:first-child {
        width: 100%;
    }
}

@media (min-width:650px) {
    .menu-item img {
        width: 100%;
        height: 360px;
    }

    .menu-item img {
        width: 100%;
        object-fit: cover;
    }
}