@charset "UTF-8";

* {
    box-sizing: border-box;
}
html {
    margin: 0;
    padding: 0;
    font-size: 62.5%;
    overflow-x: hidden;
}
body {
    margin: 0;
    padding: 0;
    font-size: 1.6rem;
    /*font-family: "Noto Sans JP", "游ゴシック Medium", YuGothic, YuGothicM, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;*/
    font-family: 'Noto Serif JP', serif;
    -webkit-text-size-adjust: 100%;
    line-height: 2;
}
@media (max-width: 1200px) {
    html {
        font-size: 54.6875%; /* 1.6rem → 14px 相当 */
    }
}
a {
    color: #2C73B5;
}
img {
    max-width: 100%;
    vertical-align: middle;
}

.line-svg {
    position: absolute;
    left: 0;
    width: 100%;
}
.section {
    position: relative;
}
.section-group {
    background:
        linear-gradient(to bottom, white, rgba(255, 255, 255, 0) 300px) no-repeat top left,
        linear-gradient(to top, white, rgba(255, 255, 255, 0) 900px) no-repeat bottom left,
        url(../img/top/bg.jpg) top left
    ;
}
.section-inner {
    max-width: 1002px;
    margin: auto;
}
.section-head {
    margin: 60px 0 30px;
    text-align: center;
    font-family: 'Noto Serif JP';
    color: black;
    letter-spacing: 5px;
    font-size: 3rem;
    font-weight: normal;
}
.section-head::after {
    content: "";
    display: block;
    margin: 35px auto;
    width: 50px;
    height: 1px;
    background: #999;
}
@media (max-width: 960px) {
    .section-head {
        margin-bottom: 0;
    }
    .section-head::after {
        display: none;
    }
}
.tip-box {
    display: block;
    position: relative;
    overflow: hidden;
    width: 500px;
    padding: 20px 10px;
    background: rgba(255, 255, 255, 0);
    transition: color 0.5s;
    text-align: center;
    line-height: 2.9;
}
.tip-box::before {
    content: "";
    position: absolute;
    top: 0; bottom: 0; left: 0;
    z-index: -1;
    width: 100%;
    height: 100%;
    background-color: white;
}
.tip-box::after {
    content: "";
    position: absolute;
    top: 0; bottom: 0; left: 0;
    z-index: -1;
    width: 20%;
    height: 100%;
    background: linear-gradient(to right, rgb(224, 255, 179), rgba(224, 255, 179, 0));
    background-repeat: no-repeat;
    transition: width 0.4s;
}
.tip-box-head {
    margin-bottom: 30px;
    font-size: 3rem;
    text-align: center;
    letter-spacing: 2px;
}
.tip-box-head::after {
    content: "";
    display: block;
    margin: 15px auto;
    width: 50px;
    height: 1px;
    background: black;
}
.tip-box-body {
    font-family: 'Noto Serif JP';
}
.tip-box-btn {
    display: block;
    position: relative;
    width: 200px;
    margin: 30px auto 0;
    border: 1px solid black;
    text-align: center;
    color: black;
    text-decoration: none;
}
.tip-box-btn::before,
.tip-box-btn::after {
    position: absolute;
    z-index: 2;
    content: '';
    width: 0;
    height: 0;
    border: 1px solid rgba(255, 255, 255, 0);
}
.tip-box-btn::before {
    bottom: -1px;
    left: -1px;
}
.tip-box-btn::after {
    top: -1px;
    right: -1px;
}
.tip-box-btn:hover::before,
.tip-box-btn:hover::after {
    width: 100%;
    height: 100%;
}
.tip-box-btn:hover::before {
    border-top-color: #a0c568;
    border-left-color: #a0c568;
    transition: height .1s, width .1s .1s;
}
.tip-box-btn:hover::after {
    border-bottom-color: #a0c568;
    border-right-color: #a0c568;
    transition: height .1s .2s, width .1s .3s;
}
@media (min-width: 601px) {
    .tip-box:hover::before {
        border-color: white;
    }
    .tip-box:hover::after {
        width: 500%;
    }
}
.swiper-container {
    position: relative;
    overflow-x: hidden;
}

/** ヘッダー */
.site-title {
    margin: 0;
    padding: 0;
    line-height: 1;
}
@media (min-width: 1201px) {
    .header-section {
        display: none;
    }
}
@media (max-width: 1200px) {
    .header-section {
        position: relative;
        background: white;
        padding: 15px 45px 15px 60px;
    }
    .header-notice {
        display: flex;
        align-items: center;
        justify-content: center;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        margin: auto;
        padding: 10px 0;
        z-index: 2;
        background: rgba(202, 221, 131, 0.9);
    }
    .header-notice-head {
        margin-right: 10px;
        padding: 0 15px;
        font-size: 1.25rem;
        background: linear-gradient(to right, rgba(241, 244, 216, 0), rgb(241, 244, 216), rgb(241, 244, 216), rgba(241, 244, 216, 0));
    }
    .header-notice-body a {
        font-size: 1.4rem;
        color: inherit;
    }
}
@media (max-width: 600px) {
    .header-notice-head {
        font-size: 1.0rem;
    }
    .header-notice-body {
        font-size: 1.25rem;
    }
}

/** ナビ */
.global-nav {
    font-size: 1.6rem;
}
.global-nav .section-inner {
    max-width: 1200px;
}
.global-nav-item-list,
.global-nav-sub-item-list {
    margin: 0;
    padding: 0;
    list-style: none;
}
@media (min-width: 1201px) {
    .global-nav {
        position: fixed;
        left: 0;
        right: 0;
        z-index: 1000;
        background: rgba(255, 255, 255, 0.85);
    }
    /** グローバルナビリスト (1階層目) */
    .global-nav-item-list {
        display: flex;
        justify-content: space-between;
    }
    /** グローバルナビ項目 (1階層目) */
    .global-nav-item {
        display: flex;
        position: relative;
    }
    .global-nav-item > a {
        display: block;
        position: relative;
        width: 100%;
        padding: 20px 30px 15px;
        color: black;
        text-align: center;
        text-decoration: none;
        letter-spacing: 1px;
        transition: 0.2s background-color;
    }
    .global-nav-item.global-nav-tree-item > a:hover {
        background: rgba(255, 255, 255, 0.8);
    }
    .global-nav-item > a::after {
        display: block;
        content: '';
        position: absolute;
        left: 0;
        bottom: 0;
        width: 100%;
        height: 6px;
        background: linear-gradient(to right, rgba(241, 157, 181, 0) 15%, rgba(241, 157, 181, 0.4) 45%, rgba(241, 157, 181, 0.4) 55%, rgba(241, 157, 181, 0) 85%);
        opacity: 0;
        transition: 0.4s all;
    }
    .global-nav-item:hover > a::after {
        opacity: 1;
    }

    /** グローバルナビリスト (2階層目) */
    .global-nav-sub-item-list {
        width: 0;
        height: 0;
        overflow: hidden;
        opacity: 0;
        transition: 0.4s opacity;
    }
    .global-nav-item:hover > .global-nav-sub-item-list,
    .global-nav-sub-item-list:hover {
        position: absolute;
        top: 100%;
        width: calc(100% + 30px);
        min-width: 200px;
        height: auto;
        left: 50%;
        background: white;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.15);
        overflow: hidden;
        transform: translateX(-50%);
        pointer-events: none;
        z-index: 100;

        opacity: 1;
        pointer-events: all;
    }
    /** グローバルナビ項目 (2階層目) */
    .global-nav-sub-item > a {
        display: flex;
        align-items: center;
        position: relative;
        padding: 15px 30px 15px 20px;
        color: #4f4f4f;
        text-align: left;
        text-decoration: none;
        transition: 0.2s all;
    }
    .global-nav-sub-item:first-child > a {
        border-top: none;
    }
    .global-nav-sub-item > a:hover {
        background: hsl(350, 100%, 97%);
    }
    .global-nav-sub-item-back {
        display: none;
    }
    .global-nav-toggle {
        display: none;
    }
}
@media (max-width: 1200px) {
    .global-nav {
        font-size: 2rem;
    }
    /** グローバルナビリスト (1階層目) */
    .global-nav-item-list {
        width: 100%;
        height: 100vh;
        position: fixed;
        top: 0;
        right: 100%;
        margin: 0;
        padding-top: 150px;
        overflow: auto;
        z-index: 1000;
        background: rgba(255, 255, 255, 0.9);
        transform: rotateY(-90deg);
        transform-origin: left center;
        transition: 0.2s all;
        pointer-events: none;
    }
    .global-nav.open .global-nav-item-list {
        right: 0;
        transform: none;
        pointer-events: all;
    }
    /** グローバルナビ項目 (1階層目, 2階層目) のリンク */
    .global-nav-item a {
        display: flex;
        align-items: center;
        position: relative;
        width: calc(100% - 10px);
        margin-left: 10px;
        padding: 15px 30px;
        color: black;
        text-decoration: none;
        transition: 0.2s all;
    }
    .global-nav-item a:hover {
        background: linear-gradient(to right, rgb(255, 240, 241) 65%, rgba(255, 240, 241, 0));
    }
    .global-nav-tree-item > a::before {
        box-sizing: border-box;
        content: "";
        display: block;
        position: absolute;
        right: 0;
        margin-right: 28px;
        width: 14px;
        height: 14px;
        border: solid  #999;
        border-width: 0 1px 1px 0;
        transform-origin: center;
        transform: translateX(-25%) rotate(-45deg);
        transition: 0.2s all;
    }
    /** グローバルナビリスト (2階層目) */
    .global-nav-sub-item-list {
        position: fixed;
        width: 100%;
        height: 100vh;
        top: 0;
        right: 100%;
        margin: 65px 0 0 25px;
        padding-top: 90px;
        overflow: auto;
        z-index: 100;
        background: rgba(255, 255, 255, 0.95);
        transform: rotateY(-90deg);
        transform-origin: left center;
        transition: 0.2s all;
        pointer-events: none;
    }
    .global-nav-sub-item-list.open {
        right: 0; 
        transform: none;
        transition: 0.2s transform;
        pointer-events: all;
    }
    .global-nav-sub-item a {
        padding-left: 45px;
    }
    .global-nav-sub-item-back a {
        margin-top: 30px;
        padding: 5px 15px;
        background: #f0f0f0;
    }

    /** トグルボタン */
    .global-nav-button {
        box-sizing: border-box;
        position: fixed;
        top: 10px;
        left: 10px;
        width: 45px;
        height: 45px;
        border-radius: 4px;
        z-index: 1001;
        cursor: pointer;
    }
    .global-nav-button-icon {
        position: absolute;
        top: calc(50% - 1px);
        left: 0;
        width: calc(100% - 18px);
        height: 2px;
        margin-left: 9px;
        background: #333;
        z-index: 100;
    }
    .global-nav-button-icon::before {
        position: relative;
        top: -8px;
        display: block;
        content: "";
        height: 2px;
        background: #333;
        transition: 0.1s all;
    }
    .global-nav-button-icon::after {
        position: relative;
        top: 6px;
        display: block;
        content: "";
        height: 2px;
        background: #333;
        transition: 0.1s all;
    }
    .global-nav-button.open .global-nav-button-icon {
        background: rgba(0, 0, 0, 0);
    }
    .global-nav-button.open .global-nav-button-icon::before {
        top: -6px;
        transform: translateY(6px) rotate(45deg);
    }
    .global-nav-button.open .global-nav-button-icon::after {
        top: 3px;
        transform: translateY(-5px) rotate(-45deg);
    }
}

/** メインイメージ */
.main-image-slider::before {
    display: block;
    content: '';
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    z-index: 1001;
    background: rgba(0, 0, 0, 0.8);
    pointer-events: none;
    opacity: 0.95;
}
.ready .main-image-slider::before {
    animation: main-image-slider 0.5s forwards ease-in;
}
.main-image-section::after {
    display: block;
    content: '';
    position: absolute;
    right: 0; bottom: 80px; left: 0;
    margin: auto;
    width: 31px;
    height: 117px;
    background: url(../img/top/scroll.png);
    z-index: 10001;
}
@keyframes main-image-slider {
    to { opacity: 0 }
}
.main-image-wrap {
    width: 100%;
    height: 100vh;
    overflow: hidden;
}
.main-image-wrap::before {
    display: block;
    content: '';
    position: absolute;
    z-index: 1;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, black, rgba(0, 0, 0, 0) 400px);
}
.main-image-wrap::after {
    display: block;
    content: '';
    position: absolute;
    z-index: 1;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url(../img/top/logo.png) no-repeat;
    background-position: 160px calc(40% + 20px);
}
.main-image {
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}
.main-image-1 { background-image: url(../img/top/main_1.jpg); }
.main-image-2 { background-image: url(../img/top/main_2.jpg); }
.main-image-3 { background-image: url(../img/top/main_3.jpg); }
.main-image-4 { background-image: url(../img/top/main_4.jpg); }

.swiper-slide-active .main-image,
.swiper-slide-duplicate-active .main-image,
.swiper-slide-prev .main-image {
    animation: zoomUp 10s linear 0s 1 normal both;
}
@keyframes zoomUp {
    0% {
      transform: scale(1);
    }
    100% {
      transform: scale(1.15);
    }
}
@media (max-width: 1200px) {
    .main-image-section::after {
        display: none;
    }
    .main-image-wrap::before {
        display: none;
    }
    .main-image-wrap::after {
        display: block;
        content: '';
        position: absolute;
        z-index: 1;
        top: 75px; right: 0; left: 0;
        margin: auto;
        width: 94px;
        height: 210px;
        background: url(../img/top/logo_sp.png) no-repeat;
        background-position: center;
    }
    .main-image-2 {
        background-position-x: calc(50% + 80px);
    }
}
@media (max-width: 600px) {
    .main-image-wrap {
        height: 75vh;
    }
}

/** バナー */
.banner-section {
    position: relative;
    padding-bottom: 60px;
    margin-bottom: 90px;
}
.banner-section::before {
    display: block;
    content: '';
    position: absolute;
    top: -150px;
    z-index: 1;
    width: 100%;
    height: 420px;
    background: 
        linear-gradient(to top, white, rgba(255, 255, 255, 0) 50px) left bottom,
        url(../img/top/main_bottom.png) no-repeat left top
    ;
    background-size: 100%;
}
.banner-section .section-inner::after {
    display: block;
    content: '';
    position: absolute;
    top: 250px;
    right: -100px;
    z-index: 0;
    width: 184px;
    height: 321px;
    background: url(../img/top/bg_point.png) no-repeat left top;
    background-size: 100%;
}
.banner-section .section-inner {
    position: relative;
    z-index: 2;
}
.banner-wrap {
		display: flex;
		flex-wrap:wrap;
		margin: auto;
		padding: 30px 0 0;
		justify-content: center;
		max-width:650px;
}
	.banner {
		width:50%;
		text-align:center;
		padding:20px;
    transition: 0.2s opacity;
}
.banner:hover {
    opacity: 0.8;
}
@media (max-width: 1600px) {
    .banner-wrap {
        padding-top: 0;
    }
    .banner-section .section-inner::after {
        top: 0;
    }
}
@media (max-width: 1200px) {
    .banner-section {
        margin-bottom: 0;
    }
    .banner-wrap {
        padding: 0;
        justify-content: space-around;
    }
    .banner-section .section-inner::after {
        display: none;
    }
	.banner {
		width:50%;
		padding:10px;
}
}
@media (max-width: 960px) {

    .banner-section {
        margin-bottom: 0;
    }
}
@media (max-width: 600px) {
    .banner-section {
        padding-bottom: 0;
    }
    .banner-section::before {
        top: -100px;
        height: 320px;
    }
    .banner-wrap {
        position: relative;
        top: -40px;
        margin-top: 0;
        padding: 0;
        justify-content: center;
    }
    .banner {
			width: 48%;
			padding:5px;
    }
}

/** お知らせ */
.info-section {
    position: relative;
    z-index: 2;
}
.info-section a{
	color:#333;
	text-decoration:none;
}
.info-section a:hover{
	color:#ec6d65;
}
.info-section .section-inner {
    margin-top: 90px;
    position: relative;
    z-index: 2;
}
.info-section .section-head::after {
    display: none;
}
.info-head {
    margin-bottom: 15px;
    color: #ef858c;
}
.info-item {
    width: 31%;
    height: 130px;
    padding: 20px;
    border-left: 1px solid #999;
    border-right: 1px solid #999;
}
.info-slider-wrap .swiper-wrapper {
    align-items: stretch;
}
.info-slider-wrap .swiper-button-next {
    margin-right: -75px;
    background-image: url(../img/top/info_right.png);
}
.info-slider-wrap .swiper-button-prev {
    margin-left: -75px;
    background-image: url(../img/top/info_left.png);
}
.info-slider-wrap .swiper-button-next::after,
.info-slider-wrap .swiper-button-prev::after {
    display: none;
}
.info-slider-wrap {
    position: relative;
}
/** 一覧を見る */
.info-more {
    display: block;
    position: relative;
    max-width: 250px;
    margin: 60px auto 0;
    padding: 10px 10px;
    border: 1px solid black;
    color: inherit;
    text-align: center;
    text-decoration: none;
}
.info-more::after {
    position: absolute;
    content: "";
    display: block;
    top: 0;
    left: 15px;
    bottom: 0;
    width: 12.5px;
    height: 12.5px;
    margin: auto;
    border: solid #ec6d65;
    border-width: 0 1px 1px 0;
    transform-origin: center;
}
.info-more::after { transform: translateY(0) rotate(315deg); }

@media (max-width: 1200px) {
    .info-slider-wrap {
        margin: 0 90px;
    }
}
@media (max-width: 600px) {
    .info-section .section-inner {
        margin-top: 0;
    }
    .info-more {
        margin-top: 30px;
    }
    .info-item {
        height: 160px;
    }
}

/** 椿大神社について */
.about-section {
    margin-top: 120px;
    position: relative;
}
.about-image {
    text-align: right;
    overflow: hidden;
}
.about-image img {
    width: 75%;
}
.about-tip-box {
    position: absolute;
    bottom: -10%;
    left: 12.5%;
    z-index: 1;
}
@media (max-width: 1200px) {

.about-tip-box {
    position: absolute;
    bottom: -10%;
    left: 3%;
    z-index: 1;
	width:500px;
}
}
@media (max-width: 960px) {
    .about-image img {
        width: 100%;
    }
    .about-tip-box {
        position: relative;
        top: -50px;
        bottom: auto;
        left: auto;
        margin: auto;
        padding: 10px 20px;
        width: 80%;
    }
    .about-tip-box .tip-box-head {
        margin-bottom: 0;
    }
    .about-tip-box .tip-box-head::after {
        display: none;
    }
    .about-tip-box .tip-box-btn {
        margin-top: 0;
        margin-bottom: 15px;
    }
}
@media (max-width: 600px) {
    .about-tip-box {
        top: -70px;
        padding: 15px 30px;
    }
    .about-image img {
        position: relative;
        left: -100px;
        max-width: none;
        min-width: 100%;
        height: 360px;
        width: auto;
    }
}

/** 参拝 */
.sanpai-section {
    padding-top: 360px;
}
.sanpai-image-wrap {
    position: relative;
    z-index: 10;
}
.sanpai-image {
    position: relative;
}
.sanpai-image::after {
    display: block;
    content: '';
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    margin: auto;
    background: rgba(0, 0, 0, 0.5);
}
.sanpai-image img {
    width: 100%;
}
.sanpai-image-caption-wrap {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    flex-direction: column;
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    z-index: 1;
    margin: auto;
    color: white;
    font-size: 2.4rem;
    text-shadow: 0 0 10px rgba(0, 0, 0, 1);
}
.sanpai-image-caption {
    margin-right: 50px;
    text-align: center;
}
.sanpai-image-caption-head {
    margin-bottom: 30px;
    font-size: 3rem;
}
.sanpai-image-caption-head::after {
    content: "";
    display: block;
    margin: 35px auto;
    width: 50px;
    height: 1px;
    background: #999;
}
.sanpai-image-caption-body {
    font-size: 1.6rem;
    line-height: 3;
}
.sanpai-link-wrap {
    position: relative;
    z-index: 102;
    top: -120px;
    text-align: center;
}
.sanpai-link-wrap > .row {
    display: inline-flex;
}
.sanpai-link {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border-bottom: 6px solid #e9546b;
    background-repeat: no-repeat;
    color: white;
    font-size: 2.4rem;
    font-family: 'Noto Serif JP';
    text-decoration: none;
    text-shadow: 0 3px 3px rgba(0, 0, 0, 0.8);
    letter-spacing: 5px;
    overflow: hidden;

    transition: 0.2s transform;
    transform-origin: center;
}
.sanpai-link {
    border-left: 1px solid white;
}
.sanpai-link-wrap > .row > .col:first-child .sanpai-link {
    border-left: none;
}
.sanpai-link:hover {
    border-left: none;
    z-index: 10;
    transform: scale(1.05);
}
.sanpai-link img {
    position: relative;
    z-index: 0;
    transform: scale(1.01);
}
.sanpai-link-caption {
    position: absolute;
    z-index: 1;
}
.sanpai-link::after {
    content: "";
    display: block;
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    background: rgba(0, 0, 0, 0.2);
    opacity: 0;
    transition: 0.2s all;
}
.sanpai-link:hover::after {
    opacity: 1;
}
@media (max-width: 1200px) {
    .sanpai-section {
        padding-top: 60px;
    }
    .sanpai-image-caption {
        margin: auto;
    }
    .sanpai-image-caption-head {
        margin-bottom: 0;
    }
    .sanpai-image-caption-head::after {
        display: none;
    }
    .sanpai-link-wrap {
        margin: 0 30px;
        top: -120px;
    }
    .sanpai-image {
        height: 360px;
        overflow: hidden;
    }
    .sanpai-image img {
        max-width: none;
        min-width: 100%;
        min-height: 100%;
        width: auto;
    }
}
@media (max-width: 960px) {
    .sanpai-section {
        padding-top: 60px;
    }
}
@media (max-width: 1200px) {
    .sanpai-link-wrap {
        top: -60px;
    }
}

/** 祭事 */
.saiji-body {
    margin-bottom: 45px;
    text-align: center;
    line-height: 3;
}
.saiji-image-slider {
    padding-top: 12px;
    background: linear-gradient(to right, rgba(237, 242, 188, 0), rgb(237, 242, 188), rgb(238, 243, 194), rgb(237, 242, 188),  rgba(237, 242, 188, 0)) top center;
    background-size: 600px 12px;
    background-repeat: no-repeat;
}
.saiji-image {
    position: relative;
}
.saiji-image img {
    width: 100%;
}
.saiji-more {
    position: absolute;
    right: 0; bottom: 75px; left: 0;
    width: 13%;
    margin: auto;
    padding: 10px;
    border: 1px solid white;
    color: white;
    text-align: center;
    text-decoration: none;
    transition: 0.2s opacity;
}
.saiji-more:hover {
    opacity: 0.8;
}
.saiji-link-container {
    position: relative;
    margin-top: 45px;
    margin-bottom: 240px;
}
.saiji-monthly-link-list {
    max-width: 500px;
    margin: 0 auto;
    padding: 0 30px;
    border-bottom: 1px solid black;
    list-style: none;
    text-align: center;
}
.saiji-monthly-link-list li {
    display: inline-block;
    padding: 0 25px;
    writing-mode: vertical-rl;
}
.saiji-monthly-link-list a {
    display: inline-block;
    position: relative;
    min-width: 40px;
    height: 180px;
    font-family: 'Cormorant Infant', serif;
    font-size: 2.5rem;
    font-weight: 500;
    color: inherit;
    text-decoration: none;
}
.saiji-monthly-link-list img{
    vertical-align: baseline;
}
.saiji-monthly-link-list .num {
    display: inline-block;
    width: 6rem;
    height: 5rem;
    font-size: 3rem;
    text-align: center;
    transform-origin: center;
    transform: rotate(-90deg);
}
_:lang(x)+_:-webkit-full-screen-document, .selector {
    transform: rotate(-90deg) translate(0, -7px);
}
.saiji-monthly-link-list a::before {
    display: block;
    content: '';
    position: absolute;
    bottom: -11px;
    left: 0;
    right: 0;
    margin: auto;
    width: 50px;
    height: 2px;
    background: rgba(255, 255, 255, 0);
    transition: 0.4s all;
}
.saiji-monthly-link-list a.active::before,
.saiji-monthly-link-list a:hover::before {
    background: black;
}
.saiji-monthly-link-list a::after {
    display: block;
    content: '';
    position: absolute;
    bottom: -17px;
    left: 0;
    right: 0;
    margin: auto;
    width: 10px;
    height: 10px;
    border: 1px solid black;
    border-radius: 100%;
    background: white;
    transition: 0.4s all;
}
.saiji-monthly-link-list a.active::after,
.saiji-monthly-link-list a:hover::after {
    background: black;
}
.saiji-link-list {
    position: absolute;
    top: 0;
    right: 0;
    margin: 0;
    padding: 0;
    list-style: none;
    writing-mode: vertical-rl;
}
.saiji-link-list li {
    display: inline-block;
    vertical-align: top;
}
.saiji-link-list a {
    display: inline-block;
    margin-left: 15px;
    padding: 15px 10px;
    border: 1px solid #999;
    color: inherit;
    text-decoration: none;
    letter-spacing: 3px;
    transition: 0.2s opacity;
}
.saiji-link-list a:hover {
    opacity: 0.8;
}

@media (min-width: 1201px) {
    .saiji-section .section-head {
        margin-bottom: 60px;
    }
}
@media (max-width: 1200px) {
    .saiji-link-container {
        margin-bottom: 120px;
    }
    .saiji-image-slider {
        background-size: 300px 19px;
    }
    .saiji-monthly-link-list a {
        height: 180px;
    }
    .saiji-monthly-link-list a::after {
        bottom: -14px;
    }
    .saiji-link-list {
        display: flex;
        justify-content: space-around;
        position: relative;
        margin-top: 30px;
        writing-mode: unset;
    }
    .saiji-link-list a {
        writing-mode: initial;
    }
    .saiji-link-list li {
        width: calc(50% - 30px);
    }
    .saiji-link-list li:first-child {
        order: 2;
    }
    .saiji-link-list li:nth-child(2) {
        order: 1;
    }
    .saiji-link-list li a {
        width: 100%;
        margin: 0;
        padding: 10px 10px;
        text-align: center;
    }
    .saiji-more {
        bottom: 35px;
    }
}
@media (max-width: 600px) {
    .saiji-section .section-head {
        margin-top: 0;
    }
    .saiji-link-container {
        margin-top: 0;
        margin-bottom: 75px;
    }
    .saiji-monthly-link-list li {
        padding: 0 15px;
    }
    .saiji-monthly-link-list a {
        height: 160px;
    }
    .saiji-monthly-link-list img{
        margin-left: -5px;
    }
    .saiji-link-list {
        writing-mode: unset;
    }
    .saiji-link-list li {
        width: calc(50% - 20px);
    }
    .saiji-link-list li a {
        font-size: 1.2rem;
    }
}

/** 境内 */
.keidai-section {
    margin-top: 150px;
    position: relative;
}
.keidai-image {
    text-align: right;
}
.keidai-image img {
    width: 75%;
}
.keidai-tip-box {
    position: absolute;
    top: -75px;
    left: 5%;
    z-index: 1;
    padding-top: 50px;
    padding-bottom: 50px;
    width: 430px;
}
@media (max-width: 1200px) {

.keidai-tip-box {
    left: 2%;
    padding-top: 30px;
    padding-bottom: 30px;
    width: 35%;
}
}
@media (max-width: 960px) {
    .keidai-section {
        margin-top: 90px;
    }
    .keidai-image {
        height: 420px;
        overflow: hidden;
    }
    .keidai-image img {
        max-width: none;
        min-width: 100%;
        min-height: 100%;
        width: auto;
        position: relative;
        top: -100px;
    }
    .keidai-tip-box {
        position: relative;
        top: -50px;
        padding: 15px 30px;
        width: 80%;
    left:10%;
    }
    .keidai-tip-box .tip-box-head {
        margin-bottom: 0;
    }
    .keidai-tip-box .tip-box-head::after {
        display: none;
    }
    .keidai-tip-box .tip-box-btn {
        margin-top: 0;
        margin-bottom: 15px;
    }
}
@media (max-width: 600px) {
    .keidai-section {
        margin-top: 0;
    }
    .keidai-image {
        height: 360px;
        overflow: hidden;
    }
    .keidai-image img {
        min-height: auto;
        height: 360px;
        top: auto;
        left: -150px;
    }
}

/** 施設案内 */
.facility-section {
    margin-top: 120px;
}
.facility-section .section-head {
    margin-top: 0;
}
.facility-body {
    margin-bottom: 90px;
    text-align: center;
    line-height: 3;
}
.facility-item-wrap {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: auto;
    padding-top: 12px;
    background: linear-gradient(to right, rgba(237, 242, 188, 0), rgb(237, 242, 188), rgb(238, 243, 194), rgb(237, 242, 188), rgba(237, 242, 188, 0)) top center;
    background-size: 600px 12px;
    background-repeat: no-repeat;
}
.facility-item {
    position: relative;
    width: 50%;
}
.facility-item-image {
    position: relative;
    overflow: hidden;
}
.facility-item-image img {
    width: 100%;
    transform: scale(1.01);
    vertical-align: middle;
    transform-origin: center;
    transition: 0.4s transform;
}
.facility-item-image:hover img {
    transform: scale(1.1);
}
.facility-item-image::after {
    content: "";
    display: block;
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    margin: auto;
    background: rgba(0, 0, 0, 0.2);
    opacity: 0;
    transition: 0.2s opacity;
}
.facility-item-image:hover::after {
    opacity: 1;
}
.facility-item-caption {
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 2.8rem;
    text-shadow: 0 0 5px rgba(0, 0, 0, 1);
    letter-spacing: 3px;
    background: rgba(0, 0, 0, 0.2);
    pointer-events: none;
}
.facility-item-caption::after {
    display: block;
    content: '';
    top: calc(50% + 30px);
    width: 74px;
    height: 73px;
    margin-top: 5px;
    background: url(../img/top/facility_arrow.png) center center no-repeat;
}
@media (max-width: 1200px) {
    .facility-section {
        margin-top: 60px;
    }
    .facility-item-wrap {
        background-size: 300px 19px;
    }
    .facility-item-caption::after {
        display: none;
    }
}
@media (max-width: 960px) {
    .facility-section {
        margin-top: 0;
    }
    .facility-item-wrap {
        background-size: 300px 19px;
    }
    .facility-item-caption::after {
        display: none;
    }
}
@media (max-width: 600px) {
    .facility-item-caption {
        font-size: 1.4rem;
        white-space: nowrap;
    }
}

/** アクセス */
.access-section {
    margin-top: 180px;
    position: relative;
}
.access-section img {
    width: 100%;
}
.access-link-wrap {
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}
.access-link {
    display: block;
    width: 400px;
    margin: 60px;
    padding: 60px 30px;
    color: black;
    background: rgba(255, 255, 255, 0.6);
    font-family: 'Noto Serif JP';
    font-size: 2.8rem;
    letter-spacing: 3px;
    text-align: center;
    text-decoration: none;
    transition: 0.2s background-color;
}
.access-link:hover {
    background: rgba(255, 255, 255, 0.75);
}
@media (max-width: 1200px) {
    .access-section {
        margin-top: 60px;
        position: relative;
    }
    .access-link-wrap {
        display: flex;
        padding: 30px;
        justify-content: space-between;
    }
    .access-link {
        width: calc(50% - 15px);
        margin: 0;
        padding: 20px 30px;
    }
}
@media (max-width: 600px) {
    .access-link {
        font-size: 1.8rem;
    }
}

/** フッターナビ */
.footer-nav-section {
    background: #dde2db;
}
.footer-nav-section .section-inner {
    max-width: 90%;
}
.footer-nav {
    padding-top: 90px;
    padding-bottom: 90px;
    justify-content: space-between;
}
.footer-nav-item {
    width: calc(100% / 6 - 20px);
    padding-top: 15px;
}
.footer-nav-item-head {
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid black;
    font-size: 1.7rem;
}
.footer-nav-item-list {
    margin: 0;
    padding: 0;
    list-style: none;
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 2.5;
}
.footer-nav-item-list a {
    color: inherit;
    text-decoration: none;
}
@media (max-width: 1200px) {
    .footer-nav-section {
        display: none;
    }
}

/** フッター */
.footer-section {
    padding: 60px 0;
    color: white;
    background: #79817E;
}
.footer-section a {
    text-decoration: none;
    color: inherit;
}
.address-name {
    position: relative;
    margin-bottom: 15px;
    font-size: 2rem;
}
.address-name::before {
    content: '';
    display: block;
    width: 45px;
    height: 45px;
    position: absolute;
    left: -60px;
    background: url(../img/top/jimon.png);
}
.address-access {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 60px;
    border: 1px solid white;
}
.footer-link-list {
    margin: 0;
    padding: 0;
    list-style: none;
    font-family: 'Noto Sans JP', sans-serif;
}
.footer-link-list li {
    display: inline-block;
}
.footer-link-list-1 {
    margin-top: 15px;
    margin-bottom: 60px;
}
.footer-link-list-1 li {
    border-left: 1px solid white;
}
.footer-link-list-1 li:last-child {
    border-right: 1px solid white;
}
.footer-link-list-1 li a {
    display: inline-block;
    padding: 0 30px;
}
.footer-link-list-2 li {
    margin-left: 15px;
    margin-bottom: 10px;
}
.footer-link-list-2 .arrow {
    display: inline-block;
    position: relative;
    top: -2px;
    font-size: 1rem;
}

.copyright {
    font-family: 'Noto Sans JP', sans-serif;
}
@media (min-width: 1201px) {
    .footer-section .section-inner {
        max-width: 80%;
    }
}
@media (max-width: 1200px) {
    .footer-section {
        padding-top: 30px;
        color: black;
        background: #E8EBE6;
        text-align: center;
    }
    .address-name {
        font-size: 2.4rem;
    }
    .address-name::before {
        position: static;
        width: 72px;
        height: 72px;
        margin: 0 auto 20px;
        background: url(../img/top/jimon_sp.png);
    }
    .address-access {
        display: none;
    }

    .footer-link-list-1 {
        display: flex;
        justify-content: center;
        margin: 30px 0 60px 0;
        text-align: center;
    }
    .footer-link-list-1 li {
        margin: 0;
        padding: 0;
        border-left: 1px solid #666;
        text-align: center;
    }
    .footer-link-list-1 li:last-child {
        border-right: 1px solid #666;
    }
    .footer-link-list-1 li a {
        display: inline-block;
        margin: 0;
        padding: 0 20px;
    }
    .footer-link-list-2 {
        display: flex;
        text-align: center;
        justify-content: center;
    }
    .footer-link-list-2 li {
        margin: 0 0 0 10px;
    }
    .copyright {
        text-align: center;
    }
}
@media (max-width: 600px) {
    .address-name {
        font-size: 2rem;
    }
    .footer-link-list-1 {
        display: block;
        margin-bottom: 30px;
    }
    .footer-link-list-1 li:first-child {
        border-left: none;
        background: linear-gradient(to bottom, rgba(102, 102, 102, 0) 20%, #666 20%, #666 80%, rgba(102, 102, 102, 0) 80%) no-repeat top left;
        background-size: 1px 100%;
    }
    .footer-link-list-1 li:nth-child(2) {
        border-left: none;
        background:
            linear-gradient(to bottom, rgba(102, 102, 102, 0) 20%, #666 20%, #666 80%, rgba(102, 102, 102, 0) 80%) no-repeat top left,
            linear-gradient(to bottom, rgba(102, 102, 102, 0) 20%, #666 20%, #666 80%, rgba(102, 102, 102, 0) 80%) no-repeat top right;
        background-size: 1px 100%;
    }
    .footer-link-list-1 li:last-child {
        border-left: none;
        border-right: none;
        background:
            linear-gradient(to bottom, rgba(102, 102, 102, 0) 20%, #666 20%, #666 80%, rgba(102, 102, 102, 0) 80%) no-repeat top left,
            linear-gradient(to bottom, rgba(102, 102, 102, 0) 20%, #666 20%, #666 80%, rgba(102, 102, 102, 0) 80%) no-repeat top right;
        background-size: 1px 100%;
    }
    .footer-link-list-2 {
        display: block;
    }
}

/** 汎用 */

    /** margin */
    .mt-0   { margin-top: 0 !important }
    .mt-5   { margin-top: 5px !important }
    .mt-15  { margin-top: 15px !important }
    .mt-30  { margin-top: 30px !important }
    .mt-45  { margin-top: 45px !important }
    .mt-60  { margin-top: 60px !important }
    .mt-90  { margin-top: 90px !important }
    .mt-120 { margin-top: 120px !important }
    .mt-150 { margin-top: 150px !important }
    .mb-0   { margin-bottom: 0 !important }
    .mb-15  { margin-bottom: 15px !important }
    .mb-30  { margin-bottom: 30px !important }
    .mb-45  { margin-bottom: 45px !important }
    .mb-60  { margin-bottom: 60px !important }
    .mb-90  { margin-bottom: 90px !important }
    .mb-120 { margin-bottom: 120px !important }
    .mb-150 { margin-bottom: 150px !important }

    /** padding */
    .p-0 { padding: 0 !important }

    /** text */
    .text-center { text-align: center !important }
    .text-right { text-align: right !important }

    /** border */
    .border-0 { border: 0 !important }

    /** overflow */
    .overflow-auto { overflow: auto !important }
    .overflow-hidden { overflow: hidden !important }

    /** flex */
    .row { display: flex; }
        /** 比率指定 */
        .row > .col-1 { flex: 1; }
        .row > .col-2 { flex: 2; }
        .row > .col-3 { flex: 3; }
        .row > .col-4 { flex: 4; }
        .row > .col-5 { flex: 5; }
        .row > .col-6 { flex: 6; }
        .row > .col-7 { flex: 7; }
        .row > .col-8 { flex: 8; }
        .row > .col-9 { flex: 9; }
        .row > .col-10 { flex: 10; }
        .row > .col-11 { flex: 11; }

    @media (max-width: 1200px) {
        .row {
            display: block;
        }
        .col,
        .col-1,
        .col-2,
        .col-3,
        .col-4,
        .col-5,
        .col-6,
        .col-7,
        .col-8,
        .col-9,
        .col-10,
        .col-11 {
            margin-top: 15px !important;
        }
    }

    .justify-content-between { justify-content: space-between !important }
    .align-items-center { align-items: center !important }

    .float-wrap::after {
        content: '';
        display: table;
        clear: both;
    }

    @media (max-width: 600px) {
        .pc-tb-only {
            display: none !important;
        }
    }

    /* スマートフォン */
    @media (max-width: 960px) {
        /* PC のみの要素を非表示 */
        .pc-only {
            display: none !important;
        }
        .text-sp-center {
            text-align: center !important;
        }
        .float-pc-right {
            text-align: center;
        }
        .float-pc-left {
            text-align: center;
        }
    }
    /* PC */
    @media (min-width: 601px) {
        /* スマートフォンのみの要素を非表示 */
        .sp-only {
            display: none !important;
        }
        .float-pc-right {
            float: right !important;
            padding: 0 0 15px 15px;
        }
        .float-pc-right figure {
            margin: 0;
            text-align: right;
        }
        .float-pc-left {
            float: left !important;
            padding: 0 15px 15px 0;
        }
    }