@charset "utf-8";

html {
    scroll-padding-top: 110px;
}

body {
    font-family: "Noto Serif JP", serif;
    font-weight: 500;
    color: #333333;
    overflow-x: hidden;
}

a {
    text-decoration: none;
}

.wrapper {
    width: 100%;
    margin: 0 auto;
}

article {
    max-width: 1100px;
    margin: 0 auto;
}


/*------------- ヘッダー --------------*/

.header-title{
    display: flex;
    align-items: flex-end;
}

header {
    height: 75px;
    align-content: center;
    border-bottom: 4px solid #746C89;
    background-color: rgba(255, 255, 255, 0.85);
    z-index: 2147483647;
    top: 0;
    left: 0;
    width: 100%;
    position: fixed;
}

header a {
    color: #333333;
}

.header-title h1{
    font-size: 27px;
    font-weight: 700;
}

.header-title__small {
    font-size: 12px;
    font-weight: 700;
    margin-right: 10px;
    padding-bottom: 7px;
}

.header-container {
    display: flex;
    max-width: 1100px;
    margin: 0 auto;
    justify-content: space-between;
    align-items: center;
    height: 78px;
}

/* グロナビ */
.nav-global__list {
    font-size: 20px;
    font-weight: 700;
    width: 769px;
    justify-content: space-between;
    line-height: 75px;
}

.nav-global__list a:hover {
    color: #746C89;
    font-weight: 900;
    transition: 0.1s;
}

.nav-global ul {
    display: flex;
}

/*------------- フッター --------------*/
.footer {
    background-color: #F9F8F7;
    padding: 35px 0 60px 0;
}

.footer a {
    color: #333333;
}

/* タイトル */
.footer-title {
    background-image: url(../img/logo.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-size: 57px auto;
    padding-left: 75px;
    height: 57px;
    align-content: center;
}

.footer-title__small {
    font-size: 16px;
    margin-right: 10px;
    vertical-align: middle;
}

.footer-title__large {
    font-size: 30px;
    vertical-align: middle;
}

/* アドレス情報 */
.footer-address {
    font-size: 19px;
}

.footer-address__place {
    background-image: url(../img/icon_address.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-size: 16.64px auto;
    background-position: top 5px left 5px;
    padding-left: 30px;
    margin-bottom: 20px;
}

.footer-address__tel {
    font-size: 30px;
    font-weight: 700;
    background-image: url(../img/icon_tel.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-size: 27px auto;
    background-position: top 13px left;
    padding-left: 30px;
}

.footer-address__time {
    margin-bottom: 7px;
    padding-left: 25px;
}

.footer-address__color {
    color: #746C89;
}

/* フッターナビ */
.nav-footer__list {
    display: flex;
    width: 658px;
    justify-content: space-between;
    padding-top: 20px;
    font-size: 20px;
}

.footer-container__1 {
    display: flex;
    width: 1100px;
    justify-content: space-between;
    margin: 0 auto;
}

.footer-container__2 {
    display: flex;
    align-items: flex-end;
    width: 1100px;
    margin: 12px auto 0 auto;
    justify-content: space-between;
}

/* ホバー時 */
.nav-footer__item a:hover {
    color: #746C89;
    font-weight: 800;
    transition: 0.1s;
}

/* コピーライト */
footer small {
    font-size: 16px;
}


/*------------- 子ページ共通 --------------*/

/* パンくず */
.breadcrumbs {
    padding-top: 66px;
    padding-bottom: 35px;
    max-width: 1100px;
    margin: 75px auto 0 auto;
}

.breadcrumbs__list {
    display: flex;
    list-style-type: none;
    color: #707070;
    font-weight: 700;
}

.breadcrumbs__list a {
    color: #707070;
}

.breadcrumbs li:last-child {
    color: #333333;
}

.breadcrumbs li:after {
    content: '｜';
    padding: 0 18px;
}

.breadcrumbs li:last-child:after {
    content: '';
}

/* ページタイトル */
.page-title {
    background-color: #746C89;
    height: 103px;
    color: #fff;
    background-image: url(../img/back_page-title.png);
    background-size: cover;
}

.page-title h2 {
    font-size: 40px;
    font-weight: 700;
    width: 1100px;
    margin: 0 auto;
    line-height: 103px;
}


/*------------- TOPページ --------------*/
.article-top__1 {
    margin: 90px auto 0 auto;
}

.article-top__2 {
    margin: 0 auto 120px auto;
}

.header-top {
    background-image: url(../img/top-mv.jpg);
    width: 100%;
    height: 1081px;
    position: relative;
    border-bottom: none;
    background-position: center;
    background-size: cover;
}

.header-inner {
    background-color: rgba(255, 255, 255, 0.85);
    position: absolute;
    border-bottom: 4px solid #746C89;
    z-index: 2147483647;
    top: 0;
    left: 0;
    width: 100%;
    position: fixed;
}

/* スクロールダウンの位置 */
.scroll {
    color: #fff;
    position: absolute;
    bottom: 85px;
    left: 50%;
    transform: translateX(-50%);
}

/* 線のアニメーション部分 */
.scroll::before {
    animation: scroll 3s infinite;
    background-color: #fff;
    bottom: -83px;
    content: "";
    height: 70px;
    left: 0;
    margin: auto;
    position: absolute;
    right: 0;
    width: 1px;
    z-index: 2;
}

/* 線の背景色 */
.scroll::after {
    background-color: #ccc;
    bottom: -83px;
    content: "";
    height: 70px;
    left: 0;
    margin: auto;
    position: absolute;
    right: 0;
    width: 1px;
}

/* 線のアニメーション */
@keyframes scroll {
    0% {
        transform: scale(1, 0);
        transform-origin: 0 0;
    }

    50% {
        transform: scale(1, 1);
        transform-origin: 0 0;
    }

    51% {
        transform: scale(1, 1);
        transform-origin: 0 100%;
    }

    100% {
        transform: scale(1, 0);
        transform-origin: 0 100%;
    }
}

/* 背景画像 */
.section-top__1 {
    text-align: center;
    background-image: url(../img/cloud-left.png), url(../img/cloud-right.png);
    background-repeat: no-repeat;
    background-size: 30%, 30%;
    background-position: top 20px left, top -35px right -70px;
    width: 100vw;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    z-index: 800;
}

.section-top__2 {
    background-image: url(../img/cloud-left__white.png), url(../img/cloud-right__white.png), url(../img/back_section-top__1__767.jpg);
    background-repeat: no-repeat;
    background-size: 27%, 35%, contain;
    background-position: top 200px left -90px, top 320px right -25px, center top 195px;
    width: 100vw;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
}

.about {
    background-color: #F9F8F7;
    z-index: 500;
}

.section-top__1 img {
    margin-bottom: 52px;
    width: 85px;
    height: auto;
}

.p-prologue {
    font-size: 20px;
    font-weight: 700;
    line-height: 58px;
    writing-mode: vertical-rl;
    width: 520px;
    margin: 0 auto;
    text-align: start;
    letter-spacing: 0.065em;
    padding-bottom: 150px;
}

.p-prologue__large {
    font-size: 22px;
    font-weight: 900;
}

.p-prologue rt {
    font-size: 12px;
    margin-left: 7px;
    margin-top: -5px;
}

/* セクション２ */
.section-top__2 h2 {
    font-size: 35px;
    font-weight: 700;
    text-align: center;
    padding-top: 150px;
    z-index: 100;
}

.about {
    padding-top: 120px;
}

.link-card__img{
    width: 367px;
    height: auto;
}


.link-card__grid {
    color: #fff;
    display: flex;
    max-width: 1100px;
    margin: 0 auto;
    padding-bottom: 175px;
}

.link-card__contents {
    width: 367px;
    height: 367px;
    background-color: #746C89;
    text-align: center;
}

.link-card__contents img {
    margin-top: 50px;
    margin-bottom: 25px;
}

.link-card__contents dt {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 0.065em;
    margin-bottom: 10px;
}

.link-card__contents dd {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 40px;
    letter-spacing: 0.065em;
}

/* 詳しく見るボタン1 */
.btn-learnmore__1 {
    font-size: 18px;
    width: 226px;
    height: 47px;
    border: 1px solid;
    text-align: center;
    line-height: 47px;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.btn-learnmore__1 a {
    color: #fff;
    letter-spacing: 0.065em;
}

/* ホバー */
.btn-learnmore__1::after {
    background: #ffffff;
    position: absolute;
    top: 0;
    left: 0;
    content: '';
    width: 100%;
    height: 100%;
    transform: scale(0, 1);
    transform-origin: left top;
    transition: .2s cubic-bezier(0.45, 0, 0.55, 1);
    z-index: -1;
}

.btn-learnmore__1:hover a {
    color: #746C89;
}

.btn-learnmore__1:hover::after {
    transform: scale(1, 1);
}

/* セクション３ */
.section-top__3 {
    margin-top: 125px;
}

/* ご祈祷・出張祭典リンク */
.link-wide__prayer {
    background-image: url(../img/link_prayer.jpg);
    background-size: cover;
    background-position: center;
    color: #fff;
    text-align: center;
    width: 1110px;
    height: 469px;
    margin-bottom: 80px;
}

.link-wide__prayer img {
    margin-top: 63px;
    margin-bottom: 20px;
}

.link-wide__prayer dt {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 0.065em;
    margin-bottom: 30px;
}

.link-wide__prayer dd {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 45px;
    letter-spacing: 0.065em;
}

/* 境内案内リンク */
.link-wide__guide {
    background-image: url(../img/link_guide.jpg);
    background-size: cover;
    background-position: center;
    color: #fff;
    text-align: center;
    margin-bottom: 80px;
    width: 1110px;
    height: 312px;
}

.link-wide__guide img {
    margin-top: 60px;
    margin-bottom: 20px;
}

.link-wide__guide p {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 30px;
    letter-spacing: 0.065em;
}

/* 詳しく見るボタン2 */
.btn-learnmore__2 {
    font-size: 18px;
    width: 226px;
    height: 47px;
    border: 1px solid;
    text-align: center;
    line-height: 47px;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.btn-learnmore__2 a {
    color: #fff;
    letter-spacing: 0.065em;
}

/* ホバー */
.btn-learnmore__2::after {
    background: #ffffff;
    position: absolute;
    top: 0;
    left: 0;
    content: '';
    width: 100%;
    height: 100%;
    transform: scale(0, 1);
    transform-origin: left top;
    transition: .2s cubic-bezier(0.45, 0, 0.55, 1);
    z-index: -1;
}

.btn-learnmore__2:hover a {
    color: #333333;
}

.btn-learnmore__2:hover::after {
    transform: scale(1, 1);
}


/*------------- 御由緒 --------------*/
.article-history {
    margin: 90px auto 198px auto;
}

.article-history dt {
    font-weight: 700;
    font-size: 24px;
}

.article-history dd {
    font-size: 20px;
    line-height: 35px;
}

.article-history address {
    font-size: 20px;
    line-height: 30px;
}

.sarutahiko {
    margin-bottom: 50px;
}

.sarutahiko dd {
    margin-top: 5px;
    margin-left: 95px;
}

.niwatsuhi {
    margin-bottom: 75px;
}

.niwatsuhi dd {
    margin-top: 75px;
    line-height: 35px;
}

.article-history address p {
    margin-bottom: 12px;
    line-height: 30px;
    font-size: 20px;
    color: #333333;
}

.footer-address__notes {
    display: block;
    margin-top: 10px;
}


/*------------- 摂社・末社 --------------*/

.article-setumatusya {
    margin-top: 90px;
    margin-bottom: 210px;
}

.table-setumatusya {
    border: #978FAD 2px solid;
    max-width: 1100px;
    margin: 0 auto;
}

.table-setumatusya th {
    background-color: rgba(151, 143, 173, 0.3);
    border: #978FAD 2px solid;
    height: 64px;
    line-height: 64px;
    font-size: 24px;
    font-weight: 500;
}

.th-shrine {
    padding-left: 40px;
}

.th-deity {
    padding-left: 20px;
}

.table-setumatusya td {
    border: #978FAD 2px solid;
    line-height: 64px;
    font-size: 20px;
    vertical-align: middle
}

.td-shrine {
    padding-left: 40px;
}

.td-deity {
    padding-left: 20px;
}

.table-setumatusya tr td:first-child {
    width: 564px;
}


/*------------- 祭典神事 --------------*/

.article-events {
    margin: 90px auto 210px auto;
}

.event-list {
    display: flex;
    max-width: 1100px;
    margin: 0 auto;
    line-height: 30px;
    align-items: center;
    border-bottom: 2px solid #978FAD;
    padding: 30px 0;
}

.event-list__1 {
    max-width: 1100px;
    border-top: 2px solid #978FAD;
    margin: 0 auto;
}

.event-list__2 {
    max-width: 1100px;
    border-top: 2px solid #978FAD;
    margin: 0 auto;
}

.event-list__date {
    text-align: center;
    font-size: 20px;
    width: 220px;
}

.event-list__title {
    width: 191px;
    height: 86px;
    background-color: #978FAD;
    color: #fff;
    text-align: center;
    font-size: 24px;
    font-weight: 700;
    line-height: 86px;
    margin-right: 23px;
}

.event-list__title__furigana {
    line-height: 30px;
    padding-block: 13px;
}

li.event-list__title {
    padding-bottom: 5px;
}

.event-list__title__small {
    font-size: 20px;
}

.event-list__contents {
    width: 640px;
    font-size: 20px;
}

.article-events h3 {
    font-size: 22px;
    font-weight: bold;
    max-width: 1100px;
    margin: 90px auto 25px auto;
}


/*------------- 境内案内 --------------*/

.article-guide {
    margin: 90px auto 210px auto;
}

/* マップ */
.guide-map {
    position: relative;
    max-width: 1100px;
}

.guide-map__illustration {
    max-width: 1100px;
    width: 94%;
}

.guide-map a {
    position: absolute;
}

/* 番号 */
.smooth_scroll img {
    width: 48.44px;
}

.guide-map a:nth-child(1) {
    left: 36.5%;
    top: 67.1%;
}

.guide-map a:nth-child(2) {
    left: 18.5%;
    top: 71%;
}

.guide-map a:nth-child(3) {
    left: 42.5%;
    top: 22.4%;
}

.guide-map a:nth-child(4) {
    left: 15.5%;
    top: 33.3%;
}

.guide-map a:nth-child(5) {
    left: 33.8%;
    top: 15.5%;
}

.guide-map a:nth-child(6) {
    left: 50.0%;
    top: 15.5%;
}

.guide-map a:nth-child(7) {
    left: 18.3%;
    top: 21.6%;
}

.guide-map a:nth-child(8) {
    left: 25%;
    top: 26.5%;
}

.guide-map a:nth-child(9) {
    left: 54.3%;
    top: 50.2%;
}

.guide-map a:nth-child(10) {
    left: 76.9%;
    top: 75.1%;
}

.guide-map a:nth-child(11) {
    left: 22.7%;
    top: 52.2%;
}

.guide-map a:nth-child(12) {
    left: 15.8%;
    top: 46.1%;
}

.guide-map a:nth-child(13) {
    left: 31.8%;
    top: 59.1%;
}

.guide-map a:nth-child(14) {
    left: 72.1%;
    top: 80.8%;
}

.guide-map a:nth-child(15) {
    left: 72.8%;
    top: 8.2%;
}

/* 写真 */
.guide-container {
    display: flex;
    max-width: 1100px;
    justify-content: space-between;
    flex-wrap: wrap;
    row-gap: 100px;
    column-gap: 30px;
    margin-top: 160px;
    margin-bottom: 180px;
}

.guide-img-container p {
    font-size: 22px;
    font-weight: 400;
    text-align: center;
    margin-top: 15px;
}

.guide-img img {
    max-width: 324px;
    object-fit: contain;
    cursor: pointer;
}

/* クリックで拡大表示 */
.zoomback {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    background: rgba(92, 92, 92, 0.8);
    pointer-events: none;
    opacity: 0;
    transition: 0.25s ease-out;
}

.zoomback.show {
    opacity: 1;
    pointer-events: all;
}

.zoomimg {
    position: absolute;
    max-width: 90%;
    max-height: 80%;
    top: 55%;
    left: 50%;
    transform: translate(-50%, -50%);
    object-fit: cover;
    opacity: 0;
    transition: 0.5s ease-out;
}

.zoomimg.show {
    opacity: 1;
}

/* Googleマップ */
.google-map {
    max-width: 1100px;
    margin: 0 auto;
}

iframe {
    width: 100%;
    height: 485px;
    margin-bottom: 75px;
}

/* アクセス */
.guide-access {
    max-width: 1100px;
    display: flex;
    justify-content: space-between;
}

.guide-access th {
    font-size: 22px;
    font-weight: 700;
    text-align: center;
    padding-bottom: 15px;
}

.guide-access__1 {
    width: 40%;
}

.guide-access__2 {
    width: 40%;
}

.guide-access td {
    font-size: 20px;
    font-weight: 700;
    border-top: 1px solid #707070;
    border-bottom: 1px solid #707070;
    text-align: center;
    height: 120px;
    vertical-align: middle;
}


/*------------- ご祈祷・出張祭典 --------------*/
.article-prayer {
    margin: 90px auto 210px auto;
}

.article-prayer h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 22px;
}

.article-prayer ul {
    font-size: 20px;
    font-weight: 700;
    line-height: 35px;
    display: flex;
    flex-wrap: wrap;
    column-gap: 20px;
    border: 1px solid #746C89;
    padding: 35px 30px 35px 30px;
}

.prayer-explanation {
    font-size: 20px;
    line-height: 35px;
    margin-top: 50px;
    margin-bottom: 75px;
}

.prayer-tel {
    font-size: 22px;
    font-weight: 700;
    color: #746C89;
    line-height: 40px;
}

.prayer-tel__title{
    letter-spacing: 10.5px;
}

.prayer-tel a {
    color: #746C89;
    margin-left: 6px;
}

.prayer-reservation {
    font-size: 20px;
    line-height: 35px;
    margin-bottom: 50px;
}

.prayer-price {
    display: flex;
    max-width: 1100px;
    justify-content: space-between;
    font-weight: 700;
}

.article-prayer table {
    width: 430px;
}

.article-prayer th {
    font-size: 22px;
    text-align: center;
    padding-bottom: 15px;
}

.article-prayer td {
    font-size: 20px;
    line-height: 30px;
    height: 120px;
    border-top: 1px solid #707070;
    border-bottom: 1px solid #707070;
    vertical-align: middle;
    text-align: center;
}

.section-prayer__1 {
    margin-bottom: 75px;
}

.section-prayer__2 {
    border-top: 3px solid #746C89;
    padding-top: 75px;
}