/** * Main CSS for Susanoo 2025 Theme
 * 
 * This file contains the main styles for the Susanoo 2025 theme.
 * It includes styles for layout, typography, navigation, and various components.
 */

/***************
 * 共通設定 *
*****************/
html {
    overflow-x: clip;
}
body {
  font-family: 'Sawarabi Mincho', serif;
  font-size: 18px;
  letter-spacing: 0.03em;
  overflow-x: visible;

  min-height: 100vh;
  min-height: 100dvh;

  display: flex;
  flex-direction: column;
}
@media screen and (max-width: 479px) {
  body {
    font-size: 16px;
  }
}

.is-style-gothic {
    font-family: "Sawarabi Gothic", sans-serif;
}

.normalize {
  text-decoration: none;
  color: inherit;
}

.wp-block-group {
  padding: 16px;
}

.wp-block-columns, .wp-block-table {
	margin: 0;
}
	
.wp-block-column p {
  margin-top: 0;
  margin-bottom: 0;
}

.wp-block-details summary {
  list-style: none;
  cursor: pointer;
  padding: 5px 10px;
  border: 1px solid #000;
  width: fit-content;
}

/* ブラウザ標準の三角を消す */
.wp-block-details summary::-webkit-details-marker {
  display: none;
}

/* 閉じているとき：▼ */
.wp-block-details summary::after {
  content: "";
  display: inline-block;
  margin-left: 8px;

  width: 0;
  height: 0;

  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 7px solid currentColor;
}

/* 開いているとき：▲ */
.wp-block-details[open] summary::after {
  border-top: 0;
  border-bottom: 7px solid currentColor;
}

h1 {
  font-size: clamp(1.4rem, 3vw, 4rem);
  color: #000;
  background-color: transparent;
  justify-content: flex-start;
  align-items: center;
  margin-top: 30px;
  padding: 5px 5px 5px 5%;
  text-decoration: none;
  display: flex;
  z-index: 100;
  white-space: nowrap;
  position: relative;
  width: fit-content;
}

h1.has-eyecatch {
    /* アイキャッチありの場合 */
    margin-top: -150px;
    color: #fff;
    background-color: rgba(241, 57, 64, 0.8);
    align-self: flex-start;
}
@media screen and (max-width: 479px) {
  h1.has-eyecatch {
    margin-top: -100px;
  }
}

h1.has-eyecatch::after {
  content: "";
  position: absolute;
  top:0;
  left: 100%;
  width: 100px;
  height: 100%;
  background: linear-gradient(
    to right,
    rgba(241, 57, 64, 0.8),
    transparent 100%
  );
}

h2{
	font-size: 2.4rem;
  scroll-margin-top: 150px;
}
@media screen and (max-width: 479px) {
  h2 {
	font-size: 1.35rem;
  }
}

h3 {
  scroll-margin-top: 150px;
}
	
h4 {
	margin-block-start: 10px;
	margin-block-end: 10px;
}

.wrapper {
  grid-row-gap: 0px;
  background-image: url('../../images/japanesepaper.jpg');
  background-repeat: repeat;
  background-size: 100%;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  width: 100%;
  max-width: none;
  text-decoration: none;
  flex: 1;

  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  overflow: visible;
}

/*****************************
 * ナビゲーション設定 *
*******************************/

.nav-bar {
  position: sticky;
  top: 0px;
  z-index: 1000;
  display: flex;
  box-sizing: border-box;
  width: 100%;
  height: 100px;
  padding-left: 0px;
  flex-flow: row;
  justify-content: center;
  align-items: center;
  gap: 0%;
  background-color: rgb(201, 23, 30);
  text-decoration: none;
}
@media screen and (max-width: 479px) {
  .nav-bar {
	  height: 90px;
    box-sizing: border-box;
    object-fit: fill;
  }
}

.nav-container {
  position: sticky;
  top: 0px;
  display: flex;
  overflow: visible;
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  margin-right: 0px;
  margin-left: 0px;
  padding-left: 40px;
  flex-flow: row;
  justify-content: space-between;
  align-items: center;
  align-self: center;
  flex: 0 0 auto;
  gap: 0px;
  aspect-ratio: auto;
  object-fit: fill;
}
@media screen and (max-width: 991px) {
  .nav-container {
    padding-right: 40px;
  }
}
@media screen and (max-width: 479px) {
  .nav-container {
    padding-left: 30px;
	column-gap: 30px;
  }
}

.nav-logo {
  width: 100%;
  max-width: 300px;
}
@media screen and (max-width: 479px) {
	.nav-logo {
	  width: 65%;
	}
}

.nav-logo a {
  display:block;
}

.nav-logo img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.nav-menu {
  /*position: relative;*/
  display: flex;
  box-sizing: border-box;
  width: auto;
  height: 100%;
  justify-content: flex-end;
  align-items: center;
  text-decoration: none;
  object-fit: contain;
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
}
@media screen and (max-width: 991px) {
  .nav-menu {
    position: absolute;
    top: 100%;
	right: 0;
    height: auto;
    flex-flow: column;
    justify-content: flex-start;
    align-items: center;
    background-color: rgb(160, 13, 13);
    padding: 0;
    margin: 0;
    visibility: hidden;
  }
}
@media screen and (max-width: 479px) {
  .nav-menu {
    width: 100vw;
  }
}
@media screen and (max-width: 991px) {
  .nav-menu.active {
    visibility: visible;
    display: block;
    right: 0;
  }
}

.nav-item {
  display: flex;
  width: auto;
  height: 100%;
  justify-content: center;
  align-items: center;
  align-self: center;
  column-gap: 10px;
  color: rgb(255, 255, 255);
  text-decoration: none;
  object-fit: contain;
  padding-left: 1vw;
  padding-right: 1vw;
}
@media screen and (max-width: 991px) {
	.nav-item {
		flex-direction: column;
		width: 256px;
		height: auto;
		position: relative;
		padding-left: 0;
		padding-right: 0;
	}
}
@media screen and (max-width: 479px) {
	.nav-item {
		width: 100%;
	}
}

.nav-sub-item {
  display: flex;
  width: auto;
  height: 100%;
  justify-content: center;
  align-items: center;
  align-self: center;
  column-gap: 10px;
  color: rgb(255, 255, 255);
  text-decoration: none;
  object-fit: contain;
}
@media screen and (max-width: 991px) {
	.nav-sub-item {
		height: 60px;
	}
}

.nav-link {
  color: inherit;
  text-decoration: none;
  font-size: min(24px, 1.6vw);
  font-weight: 400;
  line-height: 150%;
}
@media screen and (max-width: 991px) {
	.nav-link {
		padding: 8px 0;
		font-size: 20px;
	}
}

@media screen and (max-width: 991px) {
  .menu-button {
    visibility: visible;
    height: 80%;
  }
}
@media screen and (max-width: 991px) {
  .menu-button.w--open {
    background-color: rgba(0, 0, 0, 0);
  }
}

/* ハンバーガーボタンの基本スタイル */
.hamburger-wrapper {
  /*position: relative;*/
  display: flex;
  align-items: center;
  height: 100%;
}

.hamburger {
  display: none;
  width: 30px;
  height: 20px;
  position: relative;
  cursor: pointer;
  z-index: 1000;
}
@media screen and (max-width: 991px) {
  .hamburger {
    display: block;
  }
}

.hamburger span {
  display: block;
  height: 3px;
  width: 100%;
  background: rgb(255, 255, 255);
  position: absolute;
  left: 0;
  transition: 0.4s ease;
  border-radius: 2px;
}

/* 各線の位置 */
.hamburger span:nth-child(1) {
  top: 0;
}

.hamburger span:nth-child(2) {
  top: 8.5px;
}

.hamburger span:nth-child(3) {
  bottom: 0;
}

/* アクティブ時のアニメーション */
.hamburger.active span:nth-child(1) {
  transform: rotate(-45deg);
  top: 8.5px;
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(45deg);
  bottom: 8.5px;
}

@media screen and (max-width: 991px) {
  .hamburger-button {
    display: flex;
    height: 44px;
    flex-flow: column;
    justify-content: space-between;
    align-items: center;
    gap: 0px;
  }
}
@media screen and (max-width: 479px) {
  .hamburger-button {
    height: 35px;
  }
}

@media screen and (max-width: 991px) {
  .hamburger-line {
    visibility: visible;
    width: 50px;
    height: 6px;
    padding-right: 0px;
    padding-bottom: 0px;
    border-radius: 20px;
    background-color: rgb(255, 255, 255);
  }
}
@media screen and (max-width: 479px) {
  .hamburger-line {
    width: 40px;
    height: 5px;
  }
}

/** ↓↓サブメニュー対応↓↓ **/
/* ベース */
/*.nav-bar { position: relative; z-index: 100; }*/
.nav-bar, .nav-bar * { box-sizing: border-box; }


/* ルートの各LI */
/*.nav-menu > li { position: relative; }*/

/* サブメニューの初期状態（非表示） */
.sub-menu {
  position: absolute;
  width: 100vw;
  height: 80px;
  left: 0;
  top: 100%;
  display: none;
  min-width: 220px;
  margin: 0;
  padding: 0;
  list-style: none;
  background: #F56066;
  /*border: 1px solid #eee;*/
  box-shadow: 0 10px 24px rgba(0,0,0,.08);
  z-index: 9999;
}
@media screen and (max-width: 991px) {
	.sub-menu {
		width: 100%;
		height: auto;
	}
}

/* 第2階層以降は右にスライド表示 */
.sub-menu .sub-menu {
  top: 0;
  left: 100%;
}

/* hover & キーボード操作で表示 */
.nav-menu > li:hover > .sub-menu,
.nav-menu > li:focus-within > .sub-menu {
  display: flex;
  justify-content: center;
}
@media screen and (max-width: 991px) {
	.nav-menu > li:hover > .sub-menu,
	.nav-menu > li:focus-within > .sub-menu {
		display: block;
		position: static;
	}
}

.sub-menu > li:hover > .sub-menu,
.sub-menu > li:focus-within > .sub-menu {
  display: block;
}
@media screen and (max-width: 991px) {
	.sub-menu > li:hover > .sub-menu,
	.sub-menu > li:focus-within > .sub-menu {
  		display: flex;
	}
}

/* アンカー装飾 */
/*.nav-menu a,*/
.sub-menu a {
	width: 100%;
  display: flex;
  height: 100%;
  font-size: min(20px, 1.6vw);
  padding: 0 2vw;
  text-decoration: none;
  color: #fff;
  line-height: 1.4;
  justify-content: center;
  align-items: center;
}
@media screen and (max-width: 991px) {
	.sub-menu a {
		font-size: 16px;
	}
}

.nav-item:hover { background: #F56066; }
.sub-menu a:hover {
  background: #f6f6f6;
  color: rgb(201, 23, 30);
}

/* 親要素のoverflowで隠れないように */
.nav-bar, .nav-container { overflow: visible; }

/* 画面右端ではサブがはみ出ることがある → 必要なら右寄せ補正例
.nav-menu > li:last-child > .sub-menu { right: 0; left: auto; }
.sub-menu > li:last-child > .sub-menu { right: 100%; left: auto; }
*/

/** ↑↑サブメニュー対応↑↑ **/

/****************************************************
 * トップ メインビジュアルセクションのスタイル *
****************************************************/
.visual-area {
	background-color: #000 !important;    /* 背景を黒に */
	width: 100%;
  height: 100vh;          /* 画面の高さ100% */
  height: 100dvh;
  display: flex;          /* 中央寄せのため */
  justify-content: center;
  align-items: center;
	overflow: hidden;       /* 動画のはみ出しを隠す */
}

.main-visual {
  object-fit: cover;      /* 余白が出ないように全面表示 */
	width: 100%;
	height: 100%;
}

.scroll-down{
	position: absolute;
	bottom: 10px;
	left: 50%;
	height:50px;
}

.scroll-down span {
	position: absolute;
	left: -15px;
	top:-15px;
	color: #eee;
	font-size: 0.7rem;
	letter-spacing: 0.05em;
}

.scroll-down:after{
	content:"";
	position:absolute;
	top:0;
	width:1px;
	height:30px;
	background:#eee;
	animation: pathmove 1.4s ease-in-out infinite;
	opacity:0;
}

@keyframes pathmove{
	0%{
		height:0;
		top:0;
		opacity:0;
	}
	30%{
		height:30px;
		opacity:1;
	}
	100%{
		height:0;
		top:50px;
		opacity:0;
	}
}

/****************************************************
 * トップ セクション共通のスタイル *
****************************************************/

.container {
  width: 100%;
  max-width: 1200px;
  margin-bottom: 30px;
	display: flex;
  flex-direction: column;
  align-items: center;
}
.container.has-eyecatch {
  margin-top: 60px;
}

.section-title {
  grid-column-gap: 10px;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding-top: 30px;
  padding-bottom: 30px;
  text-decoration: none;
  display: flex;
}
@media screen and (max-width: 479px) {
  .section-title {
    padding-top: 10px;
    padding-bottom: 10px;
  }
}

.link-page {
  grid-column-gap: 10px;
  justify-content: flex-end;
  align-items: center;
  width: 90%;
  padding: 10px 0;
  text-decoration: none;
  display: flex;
}

.link-text {
  color: #000;
  text-align: center;
  margin-top: 0;
  margin-bottom: 0;
  font-size: 18px;
  font-weight: 400;
  line-height: 100%;
  text-decoration: none;
  padding: 10px 16px;
  border: 1px solid #000;
  border-radius: 3px;
}
@media screen and (max-width: 479px) {
  .link-text {
    font-size: 14px;
  }
}
.link-text:hover {
  background-color: #fff;
  color: #F56066;
  text-decoration: none;
}

/****************************************************
 * トップ バナーセクションのスタイル *
****************************************************/

/* バナーの親要素をFlexで整列（ショートコード出力全体を想定） */
.seasonal-banners-wrapper {
  display: flex;
  justify-content: center;
  gap: 10px 2%;                     /* バナー間のすき間 */
  flex-wrap: wrap;             /* 2つ以上でも折り返し可 */
  padding: 50px 5%;
  align-items: center;
  width: 100%;
}
@media (max-width: 1200px) {
  .seasonal-banners-wrapper {
    width: 90%;
  }
}
@media (max-width: 768px) {
  .seasonal-banners-wrapper {
    flex-direction: column;
    
  }
}


.seasonal-banners-wrapper .sb-banner {
  flex: 1 1 48%;               /* 各バナーの幅を調整 */
  max-width: 500px;
}
@media screen and (max-width: 479px) {
	.seasonal-banners-wrapper .sb-banner {
    max-width: 100%;
	}
}

.seasonal-banners-wrapper img {
  width: 100%;
  height: auto;
  display: block;
}

/****************************************************
 * トップ お知らせセクションのスタイル *
****************************************************/
.info-area {
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  width: 100%;
  max-width: 1200px;
  padding-top: 0;
  padding-bottom: 20px;
  text-decoration: none;
  display: flex;
}

.info-list {
	border-top: 1px solid #bdbdbd;
	padding-top: 10px;
  grid-row-gap: 10px;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  width: 90%;
  text-decoration: none;
  display: flex;
}

.info-item {
  border-bottom: 1px solid #bdbdbd;
  flex: 0 auto;
  justify-content: flex-start;
  align-items: center;
  width: 100%;
  padding-bottom: 10px;
  text-decoration: none;
}

.info-link{
	display: flex;
	grid-column-gap: 20px;
}
@media screen and (max-width: 479px) {
  .info-link {
    grid-column-gap: 5%;
  }
}

.thumb {
  width: 120px;
  height: 120px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
	flex-shrink: 0;
}
.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.3s ease; /* アニメーションを追加 */
}

.thumb:hover img {
  transform: scale(1.08); /* 少しだけ拡大（1.0→1.08倍） */
}

.info-content {
  grid-row-gap: 10px;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  text-decoration: none;
  display: flex;
}

.info-date {
  color: #000;
  margin-top: 0;
  margin-bottom: 0;
  font-size: min(16px, 4vw);
  font-weight: 400;
  line-height: 100%;
  text-decoration: none;
}
@media screen and (max-width: 479px) {
  .info-date {
    font-size: min(16px, 4vw);
  }
}

.info-text {
  color: #000;
  text-align: left;
  margin-top: 0;
  margin-bottom: 0;
  font-size: min(24px, 4.5vw);
  font-weight: 400;
  line-height: 130%;
  text-decoration: underline;
}
/****************************************************
 * トップ 由緒セクションのスタイル *
****************************************************/
.yuisho {
  background-image: url('../../images/yuisho.jpg');
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  width: 100%;
  height: 800px;
  text-decoration: none;
  display: flex;
  position: relative;
}

.yuisho-container {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  order: 1;
  align-items: center;
  min-height: 0;
  padding-top: 40px;
  padding-bottom: 20px;
  text-decoration: none;
  position: relative;
	z-index: 100;
}
@media screen and (max-width: 479px) {
  .yuisho-container {
    grid-row-gap: 20px;
  }
}

.rectangle-1 {
  opacity: .75;
  background-color: #2b3140;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

.yuisho-text {
  color: #fff;
  margin-top: 0;
  margin-bottom: 0;
  font-size: 18px;
  font-weight: 400;
  line-height: 50px;
  text-decoration: none;
	width: 90%;
  max-width: 1200px;
}
@media screen and (max-width: 479px) {
  .yuisho-text {
    font-size: 14px;
    line-height: 28px;
  }
}

.yuisho-link {
  color: #fff;
  text-align: center;
  margin-top: 0;
  margin-bottom: 0;
  font-size: 18px;
  font-weight: 400;
  line-height: 100%;
  text-decoration: none;
  padding: 10px 16px;
  border: 1px solid #fff;
  border-radius: 3px;
}
@media screen and (max-width: 479px) {
  .yuisho-link {
    font-size: 14px;
  }
}
.yuisho-link:hover {
  background-color: #fff;
  color: #F56066;
}

.yuisho-title {
  color: #fff;
  text-align: center;
  margin-top: 0;
  margin-bottom: 0;
  line-height: 100%;
  text-decoration: none;
}


/****************************************************
 * トップ 天王祭セクションのスタイル *
****************************************************/
.pict-text {
	width: 90%;
  grid-column-gap: 20px;
  grid-row-gap: 20px;
  flex-flow: row;
  display: flex;
	align-items: center;
}
@media screen and (max-width: 991px) {
  .pict-text {
    width: 100%;
    flex-flow: column;
  }
}
/*@media screen and (max-width: 479px) {
	.pictt-text p {

	}
}*/

.tennosai-text {
  color: #000;
  margin-top: 0;
  margin-bottom: 0;
  font-size: 18px;
  font-weight: 400;
  line-height: 26.6px;
  text-decoration: none;
}
@media screen and (max-width: 991px) {
  .tennosai-text {
	  width: 90%;
    max-width: 90%;
  }
}
@media screen and (max-width: 479px) {
  .tennosai-text {
    font-size: 14px;
    line-height: 28px;
  }
}

.tennosai-pict {
  flex: 0 auto;
  justify-content: center;
  width: 30%;
  display: flex;
  overflow: clip;
}
@media screen and (max-width: 991px) {
  .tennosai-pict {
    width: 100%;
  }
}


/****************************************************
 * トップ ご祈祷セクションのスタイル *
****************************************************/

.prayer-title {
  color: #fff;
  text-align: center;
  height: auto;
  margin-top: 0;
  margin-bottom: 0;
  font-size: 32px;
  font-weight: 400;
  line-height: 36px;
  text-decoration: none;
  display: block;
}
@media screen and (max-width: 479px) {
  .prayer-title {
    font-size: 20px;
    line-height: 22px;
  }
}

.prayer-text {
  color: #000;
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 18px;
  font-weight: 400;
  line-height: 26.6px;
  text-decoration: none;
	width: 90%;
  max-width: 1200px;
}
@media screen and (max-width: 479px) {
  .prayer-text {
    font-size: 14px;
    line-height: 28px;
  }
}

.prayer-list {
	width: 90%;
	max-width: 1200px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
@media screen and (max-width: 991px) {
  .prayer-list {
	  width: 100%;
    grid-template-columns: 1fr;
  }
}

.prayer-item {
  background-position: 0%;
  background-size: cover;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  width: 100%;
  height: 300px;
  min-height: 300px;
  text-decoration: none;
  display: flex;
}
@media screen and (max-width: 479px) {
  .prayer-item {
    height: 180px;
    min-height: 180px;
  }
}

.hatsumoude{
	background-image: url('../../images/hatsumoude.jpg');
}
.hatsumiya{
	background-image: url('../../images/hatsumiya.jpg');
}
.shichigosan{
	background-image: url('../../images/shichigosan.jpg');
}
.yakuyoke{
	background-image: url('../../images/yakuyoke.jpg');
}

.prayer-title-area {
  background-image: linear-gradient(90deg, #f13940, #f13940cc 60%, #f1394000);
  justify-content: flex-start;
  align-items: center;
  width: 20%;
  height: 100%;
  padding-left: 5%;
  padding-right: 0;
  text-decoration: none;
  display: flex;
}



/****************************************************
 * トップ 祭典・行事セクションのスタイル *
****************************************************/
.event-list {
  grid-row-gap: 0px;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  width: 90%;
  text-decoration: none;
  display: flex;
  position: relative;
  padding: 0;
}

.event-item {
  grid-column-gap: 40px;
  border-top: 1px solid #bdbdbd;
  border-bottom: 0 #000;
  justify-content: flex-start;
  align-items: center;
  width: 100%;
  margin-top: 0;
  padding-top: 40px;
  padding-bottom: 40px;
  padding-left: 0;
  display: flex;
  font-size: min(32px, 3em);
  font-weight: 400;
  line-height: 100%;
}
@media screen and (max-width: 991px) {
  .event-item {
    grid-column-gap: 5%;
    font-size: min(32px, 1.5em);
  }
}
@media screen and (max-width: 479px) {
  .event-item {
    grid-column-gap: 5%;
    grid-row-gap: 5%;
    padding-top: 20px;
    padding-bottom: 20px;
    font-size: min(14px, 1.5em);
  }
}

.event-date {
  color: #000;
  width: 280px;
  margin-top: 0;
  margin-bottom: 0;
  text-decoration: none;
	padding-left: 10px;
}
@media screen and (max-width: 991px) {
  .event-date {
    width: 40%;
    max-width: 280px;
  }
}

@media screen and (max-width: 991px) {
  .event-date-last {
    width: 40%;
  }
}


.event-content {
  /*color: #000;
  text-align: center;
  margin-top: 0;
  margin-bottom: 0;*/
	padding-left: 10px;
}
/*@media screen and (max-width: 991px) {
  .eventcontent {
    width: auto;
  }
}*/

.is-last {
  -webkit-text-fill-color: transparent;
  background-image: linear-gradient(#000 0%, #0000 75%);
  -webkit-background-clip: text;
  background-clip: text;
  margin-top: 0;
  margin-bottom: 0;
}

.event-link {
  color: #000;
  text-align: center;
  margin-top: 0;
  margin-bottom: 0;
  display: inline-block;
}

/****************************************************
 * トップ 交通案内セクションのスタイル *
****************************************************/
.access-list {
  line-height: 150%;
}
@media screen and (max-width: 479px) {
  .access-list {
    padding-left: 20px;
  }
}

@media screen and (max-width: 479px) {
  .access-item {
    font-size: 14px;
    line-height: 130%;
  }
}
.access-description {
  margin-top: 20px;
	width: 90%;
}

.shrineground {
  width: 100%;
  max-width: 1200px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.map {
  justify-content: flex-start;
  width: 90%;
  text-decoration: none;
  background-color: #d9d9d9;
}

.code-embed {
  width: 100%;
}

@media screen and (max-width: 479px) {
  .note {
    font-size: 14px;
    line-height: 130%;
  }
}


/****************************************************
 * フッターのスタイル *
****************************************************/
.footer-section {
  box-sizing: border-box;
  grid-row-gap: 50px;
  background-color: #cfa1a3;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  width: 100%;
  padding-top: 30px;
  text-decoration: none;
  display: flex;
  position: relative;
  z-index: 1;
}
@media screen and (max-width: 479px) {
  .footer-section {
    grid-row-gap: 20px;
    padding-left: 5%;
    padding-right: 5%;
  }
}

.footer-info {
  grid-row-gap: 10px;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  text-decoration: none;
  display: flex;
}

@media screen and (max-width: 479px) {
  .paragraph {
    font-size: 14px;
    line-height: 130%;
  }
}

.fb-icon {
  width: 30px;
  height: 30px;
}

.footer-nav {
  justify-content: space-between;
  align-items: flex-start;
  width: 80%;
  max-width: 1200px;
  text-decoration: none;
  display: flex;
}
@media screen and (max-width: 991px) {
  .footer-nav {
    grid-column-gap: 10px;
    grid-row-gap: 10px;
    flex-flow: column;
    width: auto;
  }
}

.footer-nav-item {
  grid-column-gap: 10px;
  grid-row-gap: 10px;
  flex-flow: column;
  flex: 0 auto;
  justify-content: flex-start;
  align-items: flex-start;
  text-decoration: none;
  display: flex;
}
@media screen and (max-width: 479px) {
  .footer-nav-item {
    grid-column-gap: 8px;
    grid-row-gap: 8px;
  }
}

.footer-link-small {
  color: #000;
  margin-top: 0;
  margin-bottom: 0;
  font-size: 16px;
  font-weight: 400;
  line-height: 150%;
  text-decoration: none;
}
@media screen and (max-width: 991px) {
  .footer-link-small {
    padding-left: 20px;
  }
}
@media screen and (max-width: 479px) {
  .footer-link-small {
    font-size: 14px;
  }
}

.copyright-text {
  color: #000;
  margin-top: 0;
  margin-bottom: 0;
  font-size: 16px;
  font-weight: 400;
  line-height: 100%;
  text-decoration: none;
}

.footer-link {
  color: #333;
  text-decoration: none;
}
@media screen and (max-width: 479px) {
  .footer-link {
    margin-top: 0;
  }
}

.copyright-block {
  grid-column-gap: 10px;
  flex: 0 auto;
  justify-content: center;
  align-items: center;
  padding-top: 10px;
  padding-bottom: 10px;
  text-decoration: none;
  display: flex;
}

/***************************************
*     固定ページのスタイル     *
****************************************/
.eyecatch-container{
	position: relative;
	width: 100%;
	margin-bottom: 20px;
}

.eyecatch-area {
  width: 100%;
  background: black;    /* 背景を黒に */
  height: 61.8vw;
  max-height: calc(100vh - 100px);
  display: flex;          /* 中央寄せのため */
  justify-content: center;
  align-items: center;
  overflow: hidden;       /* 動画のはみ出しを隠す */
}

.eyecatch {
  object-fit: contain;      /* 余白が出ないように全面表示 */
  width: 100%;
  height: 100%;
}

.is-layout-grid p {
	padding: 0.5em 0;
}

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

.post-thumbnail {
	width: 100%;
}

figure > img { display: block; }


/***************************************
*     お知らせ一覧ページのスタイル     *
****************************************/
.pagination {
	margin-top: 20px;
}

.pagination ul {
	display: flex;
	gap: 8px;
	list-style: none;
	padding-left: 0;
}

.pagination li a,
.pagination li span {
	display: block;
	padding: 6px 12px;
	border: 1px solid #ddd;
	border-radius: 4px;
	text-decoration: none;
	color: #fff;
	background-color: rgb(160, 13, 13);
}

.pagination li .current {
	background: #333;
	color: #fff;
	border-color: #333;
}

/****************************
*     投稿ページのスタイル     *
****************************/
.post-content {
  background-color: #fff;
  width: min(80%, 1200px);
  margin: 30px auto 30px;
  padding: 20px;
}
.post-header {
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  justify-content: space-between;
  border-bottom: 1px solid #ddd;
  padding: 10px 10px
}

.post-header h2,
.post-header p {
  margin: 0;
}

/***************************************
*                  404                 *
****************************************/
.error-code {
  font-size: 10rem;
  margin: 0;
  color: #000;
  background: none;
  padding: 0;
}
.error-code::after {
  content: none;
}