/*
Theme Name:HOUONJI
*/
@charset "utf-8";
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, sub, sup, tt, var, b, u, i, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
  display: block;
}
ol, ul {
  list-style: none;
}
blockquote, q {
  quotes: none;
}
blockquote::before, blockquote::after, q::before, q::after {
  content: '';
  content: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
/* --------------------------------------
背景＆基本設定
-------------------------------------- */
html {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  overflow-y: scroll;
}
body {
  color: #303030;
  background: url("img/under_bg.png");
  line-height: 1;
  -webkit-text-size-adjust: none;
  font-family: 'Noto Serif JP', serif;
  font-size: 1rem;
}
.header_l h1 {
  display: none;
}
.hosoku {
  color: #5a5a5a;
  font-size: 90%;
  line-height: 1.7;
}
.datetxt {
  color: gray;
  font-size: 90%;
}
a {
  color: #000;
}
.fs2 {
  font-size: 114.2857%!important;
}
.fs3 {
  font-size: 130%!important;
}
.fs4 {
  font-size: 160%!important;
  line-height: 1.5;
}
.fs5 {
  font-size: 200%!important;
  line-height: 1.5;
}
.mt0 {
  margin-top: 0 !important;
}
.mt10 {
  margin-top: 10px !important;
}
.mt20 {
  margin-top: 20px !important;
}
.mt30 {
  margin-top: 30px !important;
}
.mt40 {
  margin-top: 40px !important;
}
.mt50 {
  margin-top: 50px !important;
}
.mt60 {
  margin-top: 60px !important;
}
.mt70 {
  margin-top: 70px !important;
}
.mt80 {
  margin-top: 80px !important;
}
.mb0 {
  margin-bottom: 0 !important;
}
.mb10 {
  margin-bottom: 10px !important;
}
.mb20 {
  margin-bottom: 20px !important;
}
.mb30 {
  margin-bottom: 30px !important;
}
.mb40 {
  margin-bottom: 40px !important;
}
.mb50 {
  margin-bottom: 50px !important;
}
.mb60 {
  margin-bottom: 60px !important;
}
.mb70 {
  margin-bottom: 70px !important;
}
.mb80 {
  margin-bottom: 80px !important;
}
.ml10 {
  margin-left: 10px !important;
}
.ml15 {
  margin-left: 15px !important;
}
.ml20 {
  margin-left: 20px !important;
}
.ml25 {
  margin-left: 25px !important;
}
.ml30 {
  margin-left: 30px !important;
}
.pt10 {
  padding-top: 10px !important;
}
.yellow {
  background-color: #ffff85;
  padding: 4px 5px 2px 5px;
  font-weight: normal;
}
img {
  max-width: 100%;
}
/*========= ナビゲーションのためのCSS ===============*/
#g-nav {
  position: fixed;
  z-index: -1;
  opacity: 0;
  top: 0;
  width: 100%;
  height: 100vh;
  background: rgb(0 0 0 / 70%);
  transition: all 0.3s;
}
/*アクティブクラスがついたら位置を0に*/
#g-nav.panelactive {
  opacity: 1;
  z-index: 999;
}
/*ナビゲーションの縦スクロール*/
#g-nav.panelactive #g-nav-list {
  /*ナビの数が増えた場合縦スクロール*/
  position: fixed;
  z-index: 999;
  width: 100%;
  height: 100vh; /*表示する高さ*/
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}
/*ナビゲーション*/
#g-nav ul {
  display: none;
  /*ナビゲーション天地中央揃え*/
  position: absolute;
  z-index: 999;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
#g-nav.panelactive ul {
  display: flex;
  flex-direction: row-reverse;
}
/*リストのレイアウト設定*/
#g-nav li {
  list-style: none;
  text-align: left;
  text-orientation: upright;
  -webkit-writing-mode: vertical-rl;
  -ms-writing-mode: tb-rl;
  writing-mode: vertical-rl;
  margin: 0 2em;
}
#g-nav li a {
  color: #fff;
  text-decoration: none;
  padding: 10px;
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: normal;
  font-size: 1.2em;
}
/*========= ボタンのためのCSS ===============*/
.openbtn b {
  position: absolute;
  bottom: -35px;
  color: #fff;
  writing-mode: vertical-rl;
  display: flex;
  width: 100%;
  justify-content: center;
  align-items: center;
}
.openbtn.active b {
  display: none;
}
.openbtn {
  position: fixed;
  z-index: 9999;
  top: 35px;
  right: 35px;
  cursor: pointer;
  width: 70px;
  height: 70px;
}
/*×に変化*/
.openbtn span {
  display: inline-block;
  transition: all .4s;
  position: absolute;
  left: 0;
  height: 1px;
  background-color: #ffffff;
  width: 60px;
}
.openbtn span:nth-of-type(1) {
  top: 15px;
}
.openbtn span:nth-of-type(2) {
  top: 26px;
}
.openbtn span:nth-of-type(3) {
  top: 37px;
}
.openbtn:hover span:nth-of-type(1) {
  top: 13px;
}
.openbtn:hover span:nth-of-type(3) {
  top: 39px;
}
.openbtn.active span:nth-of-type(1) {
  top: 18px;
  left: 0px;
  transform: translateY(6px) rotate(-45deg);
  width: 60px;
}
.openbtn.active span:nth-of-type(2) {
  opacity: 0;
}
.openbtn.active span:nth-of-type(3) {
  top: 30px;
  left: 0px;
  transform: translateY(-6px) rotate(45deg);
  width: 60px;
}
div#header.dnone .openbtn span {
  background: #000;
}
div#header.dnone .openbtn b {
  color: #000;
}
div#header.dnone .openbtn.fadeDown.active span {
  background: #fff;
}
/*========= LoadingのためのCSS ===============*/
/*HOME  Loading背景画面設定　*/
#splash {
  /*fixedで全面に固定*/
  position: fixed;
  width: 100%;
  height: 100%;
  z-index: 999;
  background: #000;
  text-align: center;
  color: #fff;
}
/* Loading画像中央配置　*/
#splash_logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
/* Loading アイコンの大きさ設定　*/
#splash_logo svg {
  width: 100px;
}
/*=============== SVGアニメーション内の指定 =================*/
/*アニメーション前の指定*/
#mask path {
  fill-opacity: 0; /*最初は透過0で見えない状態*/
  transition: fill-opacity .5s; /*カラーがつく際のアニメーション0.5秒で変化*/
  fill: none; /*塗りがない状態*/
  stroke: #ccaa66; /*線の色*/
}
/*アニメーション後に.doneというクラス名がで付与された時の指定*/
#mask.done path {
  fill: #ccaa66; /*塗りの色*/
  fill-opacity: 1; /*透過1で見える状態*/
  stroke: none; /*線の色なし*/
}
/*========= 下層　ローディング画面のためのCSS ===============*/
#splash {
  position: fixed;
  width: 100%;
  height: 100%;
  background: #333;
  z-index: 9999999;
  text-align: center;
  color: #fff;
}
#splash-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
/*========= 画面遷移のためのCSS ===============*/
/*画面遷移アニメーション*/
.splashbg {
  display: none;
}
/*bodyにappearクラスがついたら出現*/
body.appear .splashbg {
  display: block;
  content: "";
  position: fixed;
  z-index: 999;
  width: 100%;
  height: 100vh;
  top: 0;
  left: 0;
  transform: scaleY(0);
  background-color: #333; /*伸びる背景色の設定*/
  animation-name: PageAnime2;
  animation-duration: 2s;
  animation-timing-function: ease-in-out;
  animation-fill-mode: forwards;
}
@keyframes PageAnime2 {
  0% {
    transform-origin: top;
    transform: scaleY(0);
  }
  50% {
    transform-origin: top;
    transform: scaleY(1);
  }
  50.001% {
    transform-origin: bottom;
  }
  100% {
    transform-origin: bottom;
    transform: scaleY(0);
  }
}
/*画面遷移の後現れるコンテンツ設定*/
.home #container.under_page {
  opacity: 0; /*はじめは透過0に*/
}
/*bodyにappearクラスがついたら出現*/
body.appear #container.under_page {
  animation-name: PageAnimeAppear;
  animation-duration: 1s;
  animation-delay: 0.8s;
  animation-fill-mode: forwards;
  opacity: 0;
}
@keyframes PageAnimeAppear {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
/*LOGO*/
.header_l h1 {
  display: none;
}
a#m_logo {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 10;
  display: flex;
  right: 0;
  bottom: 0;
  margin: auto;
  justify-content: center;
  align-items: center;
}
a#m_logo img {
  width: 100px;
}
/*FV*/
.top_header {
  display: flex;
  justify-content: space-between;
}
div#header_main {
  width: 30vw;
  position: relative;
}
div#FV {
  height: 100vh;
  width: 70vw;
}
img {
  max-width: 100%;
}
div#base {
  overflow: hidden;
}
div#FV img {
  width: 100%;
  height: 100vh;
  object-fit: cover;
  object-position: top;
  margin: 0 0 0 auto;
}
div#base {
  overflow: hidden;
}
/*下層ページヘッダー*/
.under_header a#m_logo {
  position: relative;
}
.under_header a#m_logo img {
  width: 50px;
  -webkit-filter: brightness(0) invert(1);
  filter: brightness(0) invert(1);
}
.under_header {
  display: flex;
  min-height: 40vh;
  width: 100%;
  justify-content: space-between;
  background: url("img/main2025.webp") center bottom no-repeat;
  background-size: cover;
  position: relative;
  padding: 20px 0;
}
p.logo_note {
  display: none;
}
.under_header .header_l {
  width: 20vw;
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  z-index: 5;
}
.under_header:before {
  background: -moz-linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgb(0 0 0 / 50%) 75%, rgb(0 0 0 / 50%) 100%);
  background: -webkit-linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgb(0 0 0 / 50%) 75%, rgb(0 0 0 / 50%) 100%);
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgb(0 0 0 / 50%) 75%, rgb(0 0 0 / 50%) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#00000000", endColorstr="#4d000000", GradientType=0);
  bottom: 0;
  content: "";
  display: block;
  height: 100%;
  left: 0;
  position: absolute;
  right: 0;
  z-index: 2;
}
.under_header div#submain {
  width: 100%;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 3;
}
.under_header div#submain h1 {
    writing-mode: vertical-rl;
    color: #fff;
    text-orientation: upright;
    font-size: 24px;
    line-height: 2;
}.breadcrumbs br {
    display: none;
}
/*コンテンツ*/
div#pan {
  padding: 40px 20px;
  font-size: 14px;
  max-width: 1200px;
  margin: 0 auto;
}
.breadcrumbs {
  line-height: 1.8;
}
div#content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  line-height: 2;
}
div#header {
  background: #fff;
}
/*FOOTER*/
footer {
  background: #333;
  padding: 40px;
  color: #fff;
}
.footer_logo a img {
  height: 60px;
}
.footer_logo p {
  font-size: 14px;
  line-height: 2;
  margin: 20px;
}.footer_logo a {
    color: #fff;
	text-decoration: none;
}
.footer_box {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer_menu ul {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
}
.footer_menu ul li a {
  color: #fff;
  font-size: 14px;
  text-decoration: none;
}
.footer_menu {
  width: 40%;
}
.footer_menu ul li {
  width: 50%;
  margin-bottom: 20px;
  line-height: 1.8;
}
.copyright {
  margin: 50px 0 0;
}
.copyright a {
  color: #ddd;
  font-size: 12px;
  text-decoration: none;
}
/*TOP コンテンツ*/
section {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  position: relative;
}
.Inner {
  max-width: 1200px;
  padding: 0 40px;
  position: relative;
  margin: 0 auto;
}
section.sec_0 {
  padding: 100px 0 0;
}
.sec0box {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid #aaa;
  flex-wrap: wrap;
}.sec0_cont.long {
    width: 100%;
}
.sec0_cont {
  display: flex;
  justify-content: space-between;
  width: 48%;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid #aaa;
  position: relative;
  transition: 0.5s;
}
.sec0_cont:before {
  position: absolute;
  content: "";
  transform: scale(0); /*円の大きさ初期値は0*/
  opacity: 0; /*透過0*/
  width: 100%; /*円のサイズ指定*/
  height: 100%; /*円のサイズ指定*/
  border-radius: 50%; /*円の角丸指定*/
  background: rgba(255, 255, 255, 0.4); /*円の背景色*/
}
.sec0_cont:hover:before {
  animation: circle 0.75s;
}
@keyframes circle {
  0% {
    transform: scale(0);
    opacity: 1; /*透過なし*/
  }
  30% {
    opacity: 1;
  }
  100% {
    transform: scale(2); /*アニメーションで大きくなった2倍の円の指定*/
  }
}
.sec0_cont figure {
  width: 100px;
  aspect-ratio: 1;
}
.sec0_cont figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.sec0_cont .txt {
  width: calc(100% - 150px);
}
article#main p.place.rengein {
  font-size: 13px;
  color: #673AB7;
  margin: 0;
}
article#main .sec0_cont p {
  margin: 0;
}
.sec0_cont .txt h3 {
  font-weight: bold;
  font-size: 18px;
  letter-spacing: 2px;
}
.sec0_cont a {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
}
.section_box {
  display: flex;
  justify-content: normal;
  align-items: center;
}.sec1wrap table {
    margin-bottom: 50px;
}
.section_box h2 {
  writing-mode: vertical-rl;
  font-size: 40px;
  position: relative;
  width: 15%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.sec0box {
  width: 85%;
}
.section_box h2 span {
  font-size: 18px;
  text-align: center;
  margin: 40px 0;
  letter-spacing: 0.1em;
}
section.sec_1 {
  padding: 100px 0 0;
}
.sec1box {
  width: 85%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.slider img {
  width: auto;
  margin: 0 auto;
  height: 100%;
}
.slider .slick-slide {
  margin: 0 10px;
  background: #fff;
  border: 8px solid #f7f7f7;
  padding: 10px;
  box-sizing: border-box;
  box-shadow: 5px 5px 5px #0002;
  height: 300px;
  overflow: hidden;
  display: flex !important;
  align-items: center;
  justify-content: center;
}
.sec1_cont {
  width: 24%;
  margin-bottom: 30px;
  position: relative;
  transition: 0.5s;
}
article#main .sec1_cont .txt p.red {
    font-size: 16px;
    color: #673AB7;
    margin: 0;
}
.sec1_cont .txt p {
    font-size: 16px;
}
.sec1_cont p.more {
  font-size: 12px;
  text-align: right;
  position: absolute;
  bottom: 20px;
  right: 20px;
}
.sec_5cont p.more {
  font-size: 14px;
  text-align: right;
  position: absolute;
  bottom: 20px;
  right: 20px;
}
.sec_5cont {
  padding-bottom: 50px;
}
.sec1_cont .txt {
  padding: 10px 10px 50px;
}
.sec1_cont .txt h3 {
    margin-bottom: 10px;
    white-space: unset;
    font-size: 20px;
    font-weight: bold;
}
.sec1_cont a {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
}
.sec1_cont:hover {
  box-shadow: 10px 10px 10px #0003;
}
.sec1_cont .more:after, .sec_5cont .more:after {
  transition: width .6s cubic-bezier(.25, .1, .25, 1);
  content: "";
  display: block;
  width: 100%;
  height: 1px;
  background: #673AB7;
  position: absolute;
  left: 0;
  bottom: 0;
}
.sec1_cont:hover .more:after {
  width: 0;
  left: 100%;
  transition: all .6s cubic-bezier(.25, .1, .25, 1);
}
.sec_5cont:hover .more:after {
  width: 0;
  left: 100%;
  transition: all .6s cubic-bezier(.25, .1, .25, 1);
}
.sec1_cont figure {
  display: block;
  line-height: 0;
  overflow: hidden;
  aspect-ratio: 245 / 164;
}
.sec1_cont:nth-child(1) {
  border-bottom: 4px solid #00ba71;
}
.sec1_cont:nth-child(2) {
  border-bottom: 4px solid #5f2879;
}
.sec1_cont:nth-child(3) {
  border-bottom: 4px solid #E91E63;
}
.sec1_cont:nth-child(4) {
  border-bottom: 4px solid #607d8b;
}
.sec1_cont:nth-child(5) {
  border-bottom: 4px solid #cddc39;
}
.sec1_cont:nth-child(6) {
  border-bottom: 4px solid #2196f3;
}
.sec1_cont:nth-child(8) {
  border-bottom: 4px solid #fad717;
}
.sec1_cont:nth-child(7) {
  border-bottom: 4px solid #ff8901;
}
.sec1_cont figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;

  transform: scale(1);
  transition: transform .3s ease;
  will-change: transform;
}
.sec1_cont:hover figure img {
  transform: translateZ(0) scale(1.05);
}
section.sec_2.google .slider .slick-slide {
  margin: 0 10px;
  border: none;
  padding: 0;
  box-sizing: border-box;
  box-shadow: none;
  height: 340px;
  overflow: hidden;
  display: flex !important;
  align-items: center;
  justify-content: center;
  background: none;
}
section.sec_2.google {
  padding-bottom: 50px;
}
section.sec_2.google .slider .slick-slide img {
  height: 100%;
  object-fit: cover;
  object-position: top;
}
section.sec_2 {
  padding: 100px 0 0px;
}
#palalax .menu-bg {
  position: relative;
  background: url("img/2343a.jpg")center center no-repeat;
  background-size: cover;
  background-attachment: fixed;
  width: 100%;
  height: 50vh;
}
#palalax2 .menu-bg {
  position: relative;
  background: url("img/BA20AE22-EA3A-43F2-9633-3771C4634CD3.webp")center center no-repeat;
  background-size: cover;
  background-attachment: fixed;
  width: 100%;
  height: 50vh;
}
section.sec_3 {
  position: relative;
  padding: 100px 0;
}
.sec3_img {
  width: 50%;
  position: absolute;
  left: 0;
  top: -100px;
}
.sec3_txt {
  max-width: 1200px;
  padding: 80px;
  display: flex;
  flex-direction: row-reverse;
  margin: 0 auto;
  padding: 0 40px;
}
.sec3_txt h2 {
  color: #141414;
  font-size: 40px;
  line-height: 140%;
  letter-spacing: 0.1em;
  font-weight: normal;
  -webkit-writing-mode: vertical-rl;
  -ms-writing-mode: tb-rl;
  writing-mode: vertical-rl;
}
.sec3_txt h2 span {
  font-size: 30px;
}
.sec3_txt .txt {
  margin-right: 6vw;
  margin-left: 6vw;
  margin-top: 60px;
  width: 210px;
}
.sec3_txt .txt p {
  height: 580px;
  -webkit-writing-mode: vertical-rl;
  -ms-writing-mode: tb-rl;
  writing-mode: vertical-rl;
  font-feature-settings: "vrt2"on;
  border-right: 1px solid rgba(0, 0, 0, 0.1);
  border-left: 1px solid rgba(0, 0, 0, 0.1);
  font-size: 18px;
  letter-spacing: 0.1em;
  line-height: 290%;
  padding-top: 15px;
  padding-bottom: 15px;
  background: linear-gradient(to left, rgba(0, 0, 0, 0.2) 1px, transparent 1px) transparent;
  background-size: 2.9em auto;
}
.sec3_txt p.more {
  align-self: flex-end;
  position: relative;
}
.sec3_txt p.more a {
  -webkit-writing-mode: vertical-rl;
  -ms-writing-mode: tb-rl;
  writing-mode: vertical-rl;
  font-feature-settings: "vrt2"on;
  color: #000;
  text-decoration: none;
  padding: 16px 8px;
  position: relative;
  display: inline-block;
  letter-spacing: 0.1em;
}
.sec3_txt p.more a:before {
  border-left-color: #141414;
  left: 100%;
  ransform: scaleY(0);
  width: 0;
  height: 100%;
  border-bottom: 0;
  border-left: 1px solid #141414;
  transition: transform 0.3s ease;
  transform-origin: 100% 100%;
  display: block;
  content: "";
  position: absolute;
  bottom: 0;
}
.sec3_txt p.more a:hover:before {
  -webkit-transition: transform 0.3s ease;
  transition: transform 0.3s ease;
  -webkit-transform: scaleX(0);
  transform: scaleX(0);
}
.sec3_txt p.more a:hover:after {
  -webkit-transition: transform 0.3s ease 0.3s;
  transition: transform 0.3s ease 0.3s;
  -webkit-transform: scaleX(1);
  transform: scaleX(1);
}
.sec3_txt p.more a:hover:before {
  -webkit-transform: scaleY(0);
  transform: scaleY(0);
}
.sec3_txt p.more a:hover:after {
  -webkit-transform: scaleY(1);
  transform: scaleY(1);
}
/* 4-6 じわっ（ぼかしから出現） */
.blur {
  animation-name: blurAnime;
  animation-duration: 2s;
  animation-fill-mode: forwards;
}
@keyframes blurAnime {
  from {
    filter: blur(10px);
    transform: scale(1.02);
    opacity: 0;
  }
  to {
    filter: blur(0);
    transform: scale(1);
    opacity: 1;
  }
}
/* スクロールをしたら出現する要素にはじめに透過0を指定　*/
.blurTrigger {
  opacity: 0;
}
/*4-8 スーッ（枠線が伸びて出現）*/
.lineTrigger {
  position: relative; /* 枠線が書かれる基点*/
  opacity: 0;
}
.lineTrigger.lineanime {
  animation-name: lineAnimeBase;
  animation-duration: .5s;
  animation-fill-mode: forwards;
}
@keyframes lineAnimeBase {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
/*上下線*/
.lineTrigger::before, .lineTrigger::after {
  position: absolute;
  content: '';
  width: 0;
  height: 1px;
  background: #333; /* 枠線の色*/
}
/*左右線*/
.line2::before, .line2::after {
  position: absolute;
  content: '';
  width: 1px;
  height: 0;
  background: #333; /* 枠線の色*/
}
/*上線*/
.lineTrigger::before {
  top: 0;
  left: 0;
}
.lineTrigger.lineanime::before {
  animation: lineAnime .5s linear 0s forwards; /*表示されて0秒後に上線が0.5秒かけて表示*/
}
/*右線*/
.line2::before {
  top: 0;
  right: 0;
}
.lineTrigger.lineanime .line2::before {
  animation: lineAnime2 .5s linear .5s forwards; /*表示されて0.5秒後に右線が0.5秒かけて表示*/
}
/*下線*/
.lineTrigger::after {
  bottom: 0;
  right: 0;
}
.lineTrigger.lineanime::after {
  animation: lineAnime .5s linear 1s forwards; /*表示されて1秒後に下線が0.5秒かけて表示*/
}
/*左線*/
.line2::after {
  bottom: 0;
  left: 0;
}
.lineTrigger.lineanime .line2::after {
  animation: lineAnime2 .5s linear 1.5s forwards; /*表示されて1.5秒後に左線が0.5秒かけて表示*/
}
@keyframes lineAnime {
  0% {
    width: 0%;
  }
  100% {
    width: 100%;
  }
}
@keyframes lineAnime2 {
  0% {
    height: 0%;
  }
  100% {
    height: 100%;
  }
}
/*枠線内側の要素*/
.lineTrigger.lineanime .lineinappear {
  animation: lineInnerAnime .5s linear 1.5s forwards; /*1.5秒後に中央のエリアが0.5秒かけて表示*/
  opacity: 0; /*初期値を透過0にする*/
}
@keyframes lineInnerAnime {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
.sec_4cont {
  display: flex;
  justify-content: space-between;
  position: relative;
}
.sec_4cont .sec4_img {
  width: 50%;
  line-height: 0;
  aspect-ratio: 920 / 613;
  height: 50%;
}
.sec_4cont .txt {
  width: 50%;
  padding: 40px;
  box-sizing: border-box;
}
.sec_4cont:nth-child(2) .txt {
  order: -1;
}
.sec_4cont .txt h3 {
  font-size: 22px;
  font-weight: 500;
  color: #141414;
  font-size: 28px;
  line-height: 140%;
  letter-spacing: 0.1em;
  font-weight: normal;
  -webkit-writing-mode: vertical-rl;
  -ms-writing-mode: tb-rl;
  writing-mode: vertical-rl;
  margin: 0 auto 40px;
}
section.sec_4 {
  padding: 100px 40px;
  box-sizing: border-box;
}
.menu-img-detail {
  aspect-ratio: 1500/1000;
}
.sec_4cont:nth-child(1) .menu-img-detail {
  background: url("img/temple2.webp") center center no-repeat;
  background-size: cover;
}
.sec_4cont:nth-child(2) .menu-img-detail {
  background: url("img/temple1.webp")center center no-repeat;
  background-size: cover;
}
.sec_4cont .txt a {
  display: flex;
  width: 150px;
  background: #000;
  border-radius: 50px;
  padding: 5px;
  text-align: center;
  justify-content: center;
  align-items: center;
  margin: 30px 0 0;
  text-decoration: none;
  color: #fff;
  font-size: 15px;
  position: relative;
  transition: .5s;
  margin: 30px auto 0;
}
.sec_4cont .txt a:after {
  content: '';
  position: absolute;
  top: 42%;
  right: 20px;
  width: 5px;
  height: 5px;
  border-top: 1px solid #ffffff;
  border-right: 1px solid #ffffff;
  transform: rotate(45deg);
}
.sec_4cont .txt a:hover {
  background: #ffffff;
  color: #000;
  box-shadow: 5px 5px 5px #0002;
}
.sec_4cont .txt a:hover:after {
  border-top: 1px solid #000;
  border-right: 1px solid #000;
}
section.sec_4 h2 {
  text-align: center;
  font-size: 40px;
  margin: 0 0 80px;
}
section.sec_4 h2 span {
  font-size: 18px;
  text-align: center;
  margin: 0 40px;
  letter-spacing: 0.1em;
}
.sec_4cont .txt h3 span {
  font-size: 18px;
  color: #673AB7;
  margin: 0 0 10px;
}
.sec_4cont .txt h3 b {
  font-size: 36px;
  margin: 10px 0 0;
}
.sec_4cont .txt p {
  line-height: 2.5;
}
section#palalax2 {
  padding: 100px 0 0;
}
section.sec_5 {
  padding: 150px 0;
}
.sec_5cont {
  width: 48%;
  background: #fff;
  position: relative;
  transition: 0.5s;
}
.sec_5box {
  display: flex;
  justify-content: space-between;
}
.sec_5cont .txt {
  padding: 0 30px;
}
.sec_5cont .txt h3 {
  font-size: 28px;
}
.sec_5cont .txt p {
  margin-bottom: 20px;
}
.sec_5cont a {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
}
.sec_5cont:hover {
  box-shadow: 0px 20px 20px #0003;
}
/*月例行事*/
.event_detail {
  display: flex;
  justify-content: space-between;
}
.event_detail figure {
  width: 45%;
  aspect-ratio: 1;
}
.event_detail .txt {
  width: 50%;
}
.event_cont h2 {
  margin: 40px 0;
  font-size: 2.0rem;
  line-height: 1.4;
}
.event_detail p span {
  font-weight: bold;
  border-bottom: 1px solid #9C27B0;
}
.event_detail .txt h3 {
  font-size: 19px;
  margin-bottom: 0;
  font-weight: bold;
  padding-bottom: 20px;
}
article#main p {
  margin-bottom: 20px;
}
.event_detail td {
  border-bottom: 1px solid;
  padding: 20px;
}
.event_detail table {
  width: 100%;
  margin-bottom: 40px;
}
.event_detail th {
  padding: 20px;
  border-bottom: 1px solid #333;
  color: #9C27B0;
  text-align: left;
}
.event_detail figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.event_cont:nth-child(2n) figure {
  order: 2;
}
.event_cont {
  width: 100%;
  margin-bottom: 120px;
}
/*報恩寺について*/
h2.g_h2 {
  margin-bottom: 65px;
  text-align: center;
  font-size: 2.0rem;
  position: relative;
  background: url(http://shoukakuzan.com/w/wp-content/uploads/2026/06/g-logo.webp) center top no-repeat;
  padding: 30px 0 0; 
  margin-bottom: 50px;
}
.ac {
  text-align: center;
}
.about_02 {
  padding: 120px 0;
  display: flex;
  justify-content: space-between;
}
.about_cont {
  width: 31%;
  margin-bottom: 30px;
}
.about_cont figure {
  position: relative;
  aspect-ratio: 400 / 300;
  margin-bottom: 30px;
}
.about_cont figure img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}
.about_cont figure h3 {
  position: absolute;
  left: 0;
  writing-mode: vertical-rl;
  background: #333;
  color: #fff;
  padding: 30px 10px;
  font-size: 1.2em;
}
.about_01 table {
  min-width: 800px;
  margin: 0 auto;
}
.about_01 table th, .about_01 table td {
  padding: 20px;
  border-bottom: 1px solid;
}
.gyouji4 th, .gyouji4 td {
  padding: 20px;
  border-bottom: 1px solid;
}
.gyouji4 table {
  width: 100%;
}
/* fix_footer */
#fix_footer {
  display: block;
  width: auto;
  padding: 0;
  transition: 0.3s;
}
#fix_footer.fixed {
  position: fixed;
  bottom: 150px;
  transform: translateY(0);
  transition: 0.3s;
  z-index: 100;
  right: 0;
  height: max-content;
  width: 100px;
}
#fix_footer.fadeout {
  transform: translateX(100%);
}
#fix_footer ul {
  width: 100%;
  display: block;
  padding: 0;
  margin: 0;
}
#fix_footer ul li {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 10px;
}
#fix_footer a {
  display: block;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  padding: 10px;
  text-decoration: none;
  text-align: center;
  aspect-ratio: 1;
  font-size: 12px;
  box-shadow: 0 5px 10px #0002;
  background: #fff;
  transition: .5s;
  border: 1px solid #fff;
}
#fix_footer img {
  display: block;
  height: 50px;
  margin: 0 auto 10px;
}
#fix_footer a:hover {
  border: 1px solid;
}
/* トップに戻るボタン */
a.backToTop {
  background: #000;
  width: 55px;
  height: 55px;
  position: fixed;
  right: 20px;
  bottom: 50px;
  opacity: 0;
  z-index: 999;
  border-radius: 9999px;
  display: inline-block;
  transition: opacity 0.8s;
  pointer-events: none;
}
/* 上三角 */
a.backToTop:before {
  display: inline-block;
  color: #FFF;
  line-height: 1;
  width: 0.8rem;
  height: 0.8em;
  border: 0.2em solid currentColor;
  border-left: 0;
  border-bottom: 0;
  box-sizing: border-box;
  content: "";
  z-index: 1000;
  opacity: 1;
  left: 50%;
  top: 55%;
  position: absolute;
  transform: translate(-50%, -50%) rotate(-45deg);
}
/* hover時 */
a.backToTop:hover {
  opacity: 0.8 !important;
}
a.alllink {
  width: 50%;
  height: max-content;
  display: flex;
  position: relative;
  align-items: center;
  justify-content: center;
  transition: .5s;
  border: 1px solid #ccc;
  background-color: #fff;
  margin: 60px auto 100px;
  padding: 20px 30px;
  text-decoration: none;
}
a.alllink:hover {
  border: 1px solid #000;
  box-shadow: 5px 5px 5px #0002;
}
.contact_txt {
  display: flex;
  justify-content: space-between;
  text-align: center;
  padding: 30px;
  margin-bottom: 100px;
}
.contact_d {
  width: 48%;
  border: 1px solid;
  padding: 30px;
  box-sizing: border-box;
  background: #fff;
}
.contact_d h3 {
  font-weight: bold;
  font-size: 1.2em;
  margin: 0;
  border-bottom: 1px solid #aaa;
  padding: 20px 0;
}
.contact_d p.c_tel {
  font-size: 42px;
  letter-spacing: 2px;
  margin: 0 !important;
}
.contact_d p.c_tel span {
  font-size: 16px;
  font-weight: normal;
}
.contact_d p.c_tel a {
  text-decoration: none;
  transition: .5s;
}
.contact_d p.c_tel a:hover {
  color: #f14c4c;
}
.gyouji4 td a {
  text-decoration: none;
  display: inline-block;
  margin-right: 20px;
}
.pagelink {
  padding-top: 100px;
  margin-top: -100px;
}
.single_wrap {
  margin: 0 auto 50px;
  padding: 40px;
  border: 1px solid #aaa;
}
.single_head {
  display: flex;
  justify-content: space-between;
}
.single_head .snsLink {
  display: flex;
  justify-content: space-between;
}
.single_head .snsLink p {
  margin: 0 0 0 1em;
}
ul.cat_list li a {
  text-decoration: none;
  border: 1px solid;
  padding: 2px 20px;
}
ul.cat_list li {
  margin-bottom: 20px;
}
.s_bottom {
  display: flex;
  justify-content: center;
  align-items: center;
  border: 1px solid #aaa;
  box-shadow: 5px 5px 5px #0002;
}
.category_wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-bottom: 50px;
}
.single_post {
  width: 49%;
  position: relative;
  display: flex;
  align-items: center;
  border: 1px solid;
  box-sizing: border-box;
  justify-content: space-between;
  margin-bottom: 2%;
  background: #fff;
}
.single_post a {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  top: 0;
  margin: auto;
}
.single_post figure {
  width: 50%;
  line-height: 0;
  height: 100%;
}
.single_post figure img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}
.single_post .posttitle p.date.datetxt {
  margin: 0 !important;
}
.single_post .posttitle h3 {
  line-height: 1.8;
}
.single_post .posttitle {
  width: 50%;
  padding: 20px 30px;
  box-sizing: border-box;
}
.s_bottom a {
  width: 48%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  text-decoration: none;
  transition: .5s;
}
.s_bottom a:hover {
  color: #673AB7;
}
.archive #main {
  min-height: 800px;
}
table.event-calendar {
  table-layout: fixed;
  width: 100%;
}
table.event-calendar th, table.event-calendar td {
  border: 1px solid #9e9e9e;
  text-align: center;
}td.today {
    background: #fff7dd;
    border: 2px solid #c9a227;
}
table.event-calendar a {
    text-decoration: none;
    font-size: 14px;
    transition: .5s;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 5px;
}
table.event-calendar td {padding: 5px 5px 20px;}
table.event-calendar th {   
    color: #9e9e9e;
    border: 1px solid #9e9e9e;
    border-right: 1px solid #9e9e9e;
}

table.event-calendar th:first-child {   
    border: 1px solid #9e9e9e;
}

table.event-calendar th:last-child {     
    border-right: 1px solid #9e9e9e;
}
table.event-calendar td div {
    margin-bottom: 5px;
}
table.event-calendar a:hover {
    opacity: .6;
}
.event.color01 a {
    background: #00ba71;
    color: #fff;
}.event.color02 a {
    background: #5f2879;
    color: #fff;
}.event.color03 a {
    background: #E91E63;
    color: #fff;
}.event.color04 a {
    background: #607d8b;
    color: #fff;
}.event.color05 a {
    background: #cddc39;
    color: #fff;
}.event.color06 a {
    background: #2196f3;
    color: #fff;
}.event.color07 a {
    background: #ff8901;
    color: #fff;
}
.event.color08 a {
    background: #fad717;
    color: #000;
}
.event.color09:before,.event.color10:before {
    content: "";
    height: 100%;
    width: 100%;
    position: absolute;
    background: #0000006e;
    z-index: 0;
    left: 0;
    top: 0;
}
.event.color09 a,.event.color10 a {
    position: relative;
    z-index: 1;
    color: #fff;
}
.event.color09 {
    background: url( https://www.shoukakuzan.com/w/wp-content/uploads/2026/07/kyuri.webp) center center no-repeat;
    color: #fff;
    padding: 10px 5px;
    background-size: cover;
    position: relative;
}
.event.color10 {
    background: url( https://www.shoukakuzan.com/w/wp-content/uploads/2026/07/34995125_m.webp) center center no-repeat;
    color: #fff;
    padding: 10px 5px;
    background-size: cover;
    position: relative;
}



h2.g_h2 {
    font-size: 24px;
}

h2.g_h2 span {
    font-size: 1.3em;
}.calendar_box {
    margin-bottom: 80px;
}
.ceremonies_box th,.ceremonies_box td {
    border: 1px solid;
    vertical-align: middle;
}

.ceremonies_box th {
    width: 35%;
    padding: 20px;
    background: #eee;
    font-weight: bold;
    font-size: 1.2em;
}

.ceremonies_box td {
    padding: 20px 020px 0;
    background: #fff;
}.single-h3 {
    border-bottom: 1px solid;
    font-size: 1.3em;
    padding: 10px 30px;
    margin-bottom: 30px;
    font-weight: bold;
}

.Overview_tab {
    margin: 0 auto 50px;
    display: flex;
    justify-content: center;
}

.Overview_tab table,.Overview_tab table th ,.Overview_tab table td {
    border: 1px solid;
    padding: 15px;
}

.Overview_tab th {
    background: #eee;
    width: 35%;
}

.Overview_tab table {
    width: 100%;
}

.sq1 {
    border: 4px solid #1b246057;
    padding: 20px;
    margin-bottom: 50px;
}
ul.list_sq li{
    position: relative;
    font-size: 1.2em;
}ul.list_sq li:before{
	 content: "■";
    font-size: 12px;
    margin: 0 10px;
    color: #1a2662;
}
ul.list_disc {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}ul.list_sq.flex_48 li {
    width: 48%;
}ul.list_sq.flex_48 {
    flex-wrap: wrap;
    display: flex;
}

ul.list_disc li {
    width: 20%;
    position: relative;
    font-size: 1.2em;
    text-align: center;
}

ul.list_disc li:before {
    content: "●";
    font-size: 12px;
    margin: 0 10px;
    color: #1a2662;
}
img.iconimg {
    height: 30px;
    vertical-align: middle;
    margin: 0 15px 0 0;
}a.pdf span {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 50px 0 0;
}

a.pdf span {
    background: #000000;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 40px;
    border-radius: 45px;
    transition: .5s;
}

a.pdf span img {
    height: 50px;
    -webkit-filter: brightness(0) invert(1);
    filter: brightness(0) invert(1);
    margin-right: 20px;
}.clearfix {
    position: relative;
    overflow: hidden;
}
img.alignright {
    float: right;
    margin: 0 0 20px 20px;
}.txt_head {
    margin-bottom: 50px;
}img.alignleft {
    float: left;
    margin: 0 20px 20px 0;
}
a.pdf:hover span {
    background: #ad8b4a;
}
span.tk1 {
    color: #a78b56;
    font-weight: bold;
    font-size: 1.1em;
}
span.tk2 {
    color: #673AB7;
    font-weight: bold;
    font-size: 1.1em;
}ul.cat_list {
    display: flex;
}

ul.cat_list li {
    margin-right: 5px;
}
.ceremonies_box {
    max-width: 1000px;
    margin: 0 auto;
}

.ceremonies_cont {
    display: flex;
    justify-content: space-between;
    background: #666;
    margin-bottom: 50px;
    box-shadow: 10px 10px 10px #0002;
}

.ceremonies_cont h3 {
    width: 35%;
    display: flex;
    align-items: center;
    padding: 30px;
    box-sizing: border-box;
    color: #fff;
    font-size: 25px;
}

.ceremonies_cont .txt {
    width: 65%;
    background: #fff;
    padding: 30px;
    box-sizing: border-box;
}
section.sec_1.sec1box_wrap h2 {
    text-align: center;
    font-size: 40px;
    margin: 0 0 80px;
}

section.sec_1.sec1box_wrap h2 span {
    font-size: 18px;
    text-align: center;
    margin: 0 40px;
    letter-spacing: 0.1em;
}video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}.slick-slide {
    display: none;
    float: left;
    height: 100%;
    min-height: 1px;
    aspect-ratio: 1334 / 911;
}.ceremonies_cont.narigoma h3 {
    background: url(https://shoukakuzan.com/w/wp-content/themes/HOUONJI/img/narigoma.webp) left center no-repeat;
    position: relative;
}
 .ceremonies_cont.narigoma h3 span {
    position: relative;
}
.ceremonies_cont.narigoma h3:before {
    content: "";
/* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#000000+0,000000+100&0.65+0,0.65+40,0+100 */
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.65) 0%, rgb(0 0 0 / 65%) 40%, rgba(0, 0, 0, 0) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    position: absolute;
    height: 100%;
    width: 100%;
    left: 0;
    top: 0;
}figure.ceremonies_main {
    width: 100%;
    text-align: center;
    margin-bottom: 80px;
}
@media screen and (max-width: 1150px) {
  #palalax .menu-bg {
    height: 20vh;
  }
  section.sec_2.google .slider .slick-slide {
    height: 250px;
  }
}
@media screen and (max-width: 1100px) {
  .section_box h2 {
    font-size: 28px;
  }
  .section_box h2 span {
    font-size: 12px;
    text-align: center;
    margin: 40px 0;
    letter-spacing: 0.1em;
  }
  .sec0_cont .txt {
    width: calc(100% - 120px);
  }
  .sec0_cont .txt h3 {
    font-weight: bold;
    font-size: 16px;
    letter-spacing: normal;
  }
  .sec0_cont .txt p.date {
    font-size: 14px;
  }
  .sec_4box {
    display: flex;
    justify-content: space-between;
  }
  .sec_4cont {
    display: block;
    justify-content: space-between;
    position: relative;
    width: 48%;
  }
  .sec_4cont .txt {
    width: 100%;
    padding: 40px;
    box-sizing: border-box;
  }
  .sec1_cont {
    width: 48%;
    margin-bottom: 30px;
    position: relative;
    transition: 0.5s;
  }
  .sec_4cont .sec4_img {
    width: 100%;
    line-height: 0;
    aspect-ratio: 920 / 613;
    height: auto;
  }
  .slider .slick-slide {
    height: 200px;
  }
  div#FV {
    height: 60vh;
    width: 70vw;
    overflow: hidden;
  }
  .slick-slider {
    height: 100% !important;
  }
  .slick-list.draggable {
    height: 100% !important;
  }
  .slick-track {
    height: 100% !important;
  }
  div#FV img {
    height: 100%;
  }
  .about_cont figure {
    aspect-ratio: 1;
  }
  .about_cont figure h3 {
    font-size: 1em;
  }
  .about_01 table {
    min-width: 100%;
    margin: 0 auto;
  }
  .contact_d p.c_tel {
    font-size: 28px;
  }
  .contact_d {
    padding: 20px;
  }
}
/* end */
@media screen and (max-width: 768px) {
  .openbtn span {
    width: 50px;
  }
  div#FV {
    height: 350px;
    width: 70vw;
  }
  div#FV img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    object-position: top;
    margin: 0 0 0 auto;
  }
  a#m_logo img {
    width: 50px;
  }
  .openbtn {
    position: fixed;
    z-index: 9999;
    top: 35px;
    right: 15px;
    cursor: pointer;
    width: 30px;
    height: 70px;
  }
  .openbtn span {
    width: 30px;
  }
  .openbtn b {
    font-size: 12px;
    bottom: -20px;
  }
  .openbtn.active span:nth-of-type(1) {
    top: 18px;
    left: 0px;
    transform: translateY(6px) rotate(-45deg);
    width: 50px;
  }
  .openbtn.active span:nth-of-type(3) {
    top: 30px;
    left: 0px;
    transform: translateY(-6px) rotate(45deg);
    width: 50px;
  }
  .Inner {
    padding: 0 20px;
  }
  .sec0_cont {
    width: 100%;
    margin-bottom: 20px;
  }
  .sec3_img {
    width: 70%;
    position: absolute;
    left: 0;
    top: -20%;
  }
  #palalax .menu-bg {
    height: 30vh;
  }
  section.sec_3 {
    position: relative;
    padding: 200px 0;
  }
  .sec_4box {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
  }
  .sec_4cont {
    display: block;
    justify-content: space-between;
    position: relative;
    width: 100%;
  }
  #palalax2 .menu-bg {
    position: relative;
    background: url("img/BA20AE22-EA3A-43F2-9633-3771C4634CD3.webp")center center no-repeat;
    background-size: cover;
    background-attachment: fixed;
    width: 100%;
    height: 30vh;
  }
  #g-nav li {
    margin: 0 3px;
  }
  .under_header .header_l {
    top: 0;
  }
  .under_header a#m_logo img {
    width: 40px;
  }
  .about_cont figure {
    position: relative;
    aspect-ratio: 400 / 500;
    margin-bottom: 30px;
  }
  .about_02 {
    flex-wrap: wrap;
    padding: 30px 0;
  }
  .about_cont {
    width: 100%;
  }
  .about_cont figure {
    aspect-ratio: 1;
  }
  .about_01 figure.ac {
    aspect-ratio: 400 / 300;
  }
  .about_01 figure.ac img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: right;
  }
  div#content {
    padding: 0 20px;
  }
  .event_detail {
    flex-wrap: wrap;
  }
  .event_detail figure {
    width: 100%;
    margin-bottom: 20px;
  }
  .event_detail .txt {
    width: 100%;
  }
  .event_detail th {
    padding: 20px 0;
    white-space: nowrap;
    vertical-align: middle;
  }
  .event_detail td {
    border-bottom: 1px solid;
    padding: 20px 0 20px 20px;
  }
.event_cont h2 {
    font-size: 26px;
}
  .event_detail .txt h3 {
    font-size: 18px;
  }
  .event_cont:nth-child(2n) figure {
    order: unset;
  }
  h2.g_h2 {
    font-size: 28px;
  }
}
@media screen and (min-width: 600px) {
  .pc_only {
    display: block;
  }
  .mobile_only {
    display: none;
  }
}
@media screen and (max-width: 600px) {
  .pc_only {
    display: none;
  }
  .mobile_only {
    display: block;
  }
  .section_box {
    display: flex;
    justify-content: normal;
    align-items: center;
    flex-wrap: wrap;
  }
.section_box h2 {
    font-size: 28px;
    width: 100%;
    writing-mode: unset;
    margin-bottom: 40px;
}
  .section_box h2 span {
    font-size: 12px;
    text-align: center;
    margin: 20px;
    letter-spacing: 0.1em;
  }
  .sec0box {
    width: 100%;
    align-items: start;
  }
  .sec0_cont {
    width: 100%;
    margin-bottom: 20px;
    align-items: start;
  }
  .sec0_cont figure {
    width: 75px;
    aspect-ratio: 1;
  }
  .sec0_cont .txt {
    width: calc(100% - 90px);
  }
  article#main p.place.rengein {
    font-size: 12px;
    color: #673AB7;
    margin-bottom: 0;
  }
  article#main .sec0_cont .txt p.date {
    font-size: 13px;
    margin-bottom: 0;
  }
  .sec1box {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }
  .sec1_cont {
    width: 48%;
    margin-bottom: 30px;
    position: relative;
    transition: 0.5s;
    overflow: hidden;
  }
  .sec1_cont .txt p {
    font-size: 14px;
  }
  .sec3_img {
    width: 90%;
    position: relative;
    left: auto;
    top: auto;
    margin-top: -80px;
  }
  .sec_4cont .txt {
    width: 100%;
    padding: 20px 0;
    box-sizing: border-box;
  }
  .sec_4cont {
    display: block;
    justify-content: space-between;
    position: relative;
    width: 100%;
    margin-bottom: 30px;
  }
  .sec_5box {
    flex-wrap: wrap;
  }
  .sec1_cont .txt h3 {
    font-size: 16px;
  }
  .sec_5cont {
    width: 100%;
    background: #fff;
    position: relative;
    transition: 0.5s;
    margin-bottom: 50px;
  }
  .footer_box {
    flex-wrap: wrap;
  }
  .footer_menu {
    width: 100%;
    text-align: center;
  }
  .slider img {
    width: 100%;
    margin: 0 auto;
    height: auto;
    object-fit: cover;
  }
  section.sec_0 {
    padding: 50px 0;
  }
  section.sec_1 {
    padding: 0;
  }
  section.sec_2 {
    padding: 0;
  }
  .sec3_txt {
    margin: -50px auto;
    padding: 0 20px;
  }
  .sec3_txt h2 span {
    font-size: 18px;
  }
  .sec3_txt h2 {
    font-size: 30px;
  }
  .sec3_txt .txt {
    margin-right: 8vw;
    margin-left: 6vw;
    margin-top: 0;
    width: 100%;
  }
  .sec3_txt .txt p {
    font-size: 15px;
    writing-mode: unset;
    height: auto;
    border-right: none;
    border-left: none;
    background: none;
    background-size: unset;
    line-height: 2;
    font-feature-settings: unset;
    padding-bottom: 0;
  }
  .sec3_txt p.more a {
    font-size: 14px;
    writing-mode: unset;
    font-feature-settings: unset;
    border-bottom: 1px solid;
    padding: 0 0 15px;
  }
  section.sec_3 {
    position: relative;
    padding: 0;
  }
  section.sec_4 h2 {
    text-align: center;
    font-size: 28px;
    margin: 0 0 30px;
  }
  section.sec_4 h2 span {
    font-size: 15px;
    text-align: center;
    margin: 0 40px;
    letter-spacing: 0.1em;
  }
  section.sec_4 {
    padding: 65px 0px 0;
    box-sizing: border-box;
  }
  .sec_4cont .txt h3 span {
    font-size: 14px;
  }
  .sec_4cont .txt h3 {
    font-size: 18px;
    -webkit-writing-mode: unset;
    -ms-writing-mode: unset;
    writing-mode: unset;
    margin: 30px 0;
  }
  .sec_4cont .txt h3 b {
    font-size: 28px;
  }
  .sec_4cont .txt {
    padding: 20px;
  }
  section#palalax2 {
    padding: 50px 0 0;
  }
  section.sec_5 {
    padding: 50px 0;
  }
  .sec3_txt p.more, .sec3_txt h2 {
    width: 100%;
    -webkit-writing-mode: unset;
    -ms-writing-mode: tb-rl;
    writing-mode: unset;
    font-size: 28px;
    margin: 0;
  }
  .sec3_txt {
    display: block;
    margin-top: 30px;
  }
  .sec3_txt .txt {
    width: 100%;
    margin: 0;
  }
  #palalax .menu-bg {
    height: 30vh;
    background-size: cover;
    width: 100vw;
    aspect-ratio: 390 / 200;
    background: url(http://shoukakuzan.com/w/wp-content/uploads/2026/06/2343a.webp) top right;
  }
  #palalax2 .menu-bg {
    background: url(http://shoukakuzan.com/w/wp-content/uploads/2026/06/sp_under.webp);
  }
  .gyouji4 th {
    padding: 20px 20px 20px 0;
    border-bottom: 1px solid;
    text-align: left;
    white-space: nowrap;
  }
  .sec3_txt p.more a:before {
    content: none;
  }
  .sec3_txt p.more {
    display: flex;
    justify-content: end;
  }
  .sec_4cont .sec4_img {
    width: 90%;
    margin: 0 0 0px auto;
  }
  .sec_4cont:last-child .sec4_img {
    margin: 0 auto 0px 0;
  }
  .sec_5cont .txt h3 {
    font-size: 20px;
  }
  a.alllink {
    width: 100%;
    padding: 20px 0;
  }
  .contact_txt {
    flex-wrap: wrap;
    padding: 0;
  }
  footer a {
    text-decoration: none;
  }
  .copyright a {
    font-size: 9px;
  }
  .contact_d {
    width: 100%;
    margin-bottom: 20px;
  }
  .contact_txt {
    flex-wrap: wrap;
    padding: 0;
  }
  .contact_d {
    width: 100%;
    margin-bottom: 10px;
  }
  footer a {
    text-decoration: none;
  }
  #fix_footer.fixed {
    bottom: 0;
    width: 100%;
  }
  #fix_footer ul {
    display: flex;
    justify-content: space-between;
  }
  #fix_footer ul li {
    margin-bottom: 0;
  }
  #fix_footer a {
    aspect-ratio: unset;
    padding: 5px 0;
    background: #000;
    color: #fff;
    line-height: 0;
    border: 1px solid #000;
  }
  #fix_footer a img {
    height: 25px;
    filter: invert(100%);
  }
  #fix_footer.fadeout {
    transform: translateY(100%);
  }
.single_wrap h2.g_h2 {
    font-size: 24px;
}
  .single_wrap {
    padding: 20px;
  }
  .single_post {
    width: 100%;
  }
  .archive #main {
    min-height: auto;
  }.calendar_box {
    overflow-x: scroll;
}

.calendar_box table {
    table-layout: unset;
    width: 800px;
}

.calendar_box table th {
    width: calc(100% / 7);
}
.calendar_box table td div.event a {
    padding: 0;font-size: 12px;
}
	img.alignright,img.alignleft  {
    float: none;
    margin: 0 0 20px;
    display: block;
}ul.list_disc li {
    width: 48%;
    position: relative;
    font-size: 1.1em;
    text-align: left;
}.single_post {
    display: block;
}.single_post figure {
    width: 100%;
    line-height: 0;
    height: auto;
    aspect-ratio: 3 / 2;
}.single_post .posttitle {
    width: 100%;
    padding: 15px;
    box-sizing: border-box;
}.single_post .posttitle h3 {
    line-height: 1.8;
    padding: 10px;
    font-size: 16px;
    margin: 0;
    border: none;
}.Overview_tab table, .Overview_tab table th, .Overview_tab table td {
    display: block;
    border: none;
    width: 100%;
    box-sizing: border-box;
    padding: 10px 0;
}.Overview_tab table td iframe {
    height: 200px;
}.Overview_tab tbody, .Overview_tab tr {
    display: block;
    width: 100%;
}.single-h3 {
    padding: 10px 0px;
}ul.cat_list {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 30px;
    font-size: 0.8em;
}.ceremonies_txt.ac.mb50 p {
    text-align: left;
}.ceremonies_cont {
    flex-wrap: wrap;
    display: block;
}.ceremonies_cont h3 {
    width: 100%;
   padding: 20px;
}.ceremonies_cont .txt {
    width: 100%;
    padding: 20px;
}.ceremonies_cont h3 br {
    display: none;
}ul.list_sq.flex_48 li {
    width: 100%;
}ul.list_sq li {
    position: relative;
    font-size: 1em;
}section.sec_1.sec1box_wrap h2 {
    text-align: center;
    font-size: 28px;
    margin: 0 0 40px;
}section.sec_1.sec1box_wrap h2 span {
    font-size: 12px; 
}.sec1_cont .txt h3 {
    font-size: 24px;
}.sec1_cont {
    flex: 0 0 375px;
    width: 375px;
}.sec1_cont .txt p {
    font-size: 16px;
}.ceremonies_cont h3 { 
    font-size: 22px;
}.ceremonies_cont.narigoma .txt{ 
    position: relative;
}.ceremonies_cont.narigoma .txt:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url(https://shoukakuzan.com/w/wp-content/themes/HOUONJI/img/narigoma.webp) left center no-repeat;
    background-size: cover;
    opacity: 0.25;
    z-index: 0;
}.ceremonies_cont.narigoma h3 {
    background: #aaa;
    position: relative;
}.ceremonies_cont .txt p {
    position: relative;
    z-index: 1;
}figure.ceremonies_main {
    width: 100%;
    text-align: center;
    margin-bottom: 20px;
}
}
/* end */
/*完了報告*/
.done_pic {
    display: flex;
    justify-content: space-between;
    margin: 50px 50px 150px;
    position: relative;
}

.done_pic .done_img {
    width: 69%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.done_pic video {
    width: 30%;
}

.done_pic .done_img figure {
    width: 47.5%;
}

.done_pic:before {
    content: "";
    height: 2px;
    width: 100%;
    background: #ccab6a;
    position: absolute;
    bottom: -50px;
    left: 0;
    right: 0;
    margin: auto;
}

.done_pic:after {
        content: "";
        height: 2px;
        width: 100%;
        background: #ccab6a6e;
        position: absolute;
        bottom: -65px;
        left: 0;
        right: 0;
        margin: auto;
}
@media screen and (max-width: 600px) {
	.done_pic {
    margin: 50px 0 100px;
    flex-wrap: wrap;
}.done_pic .done_img {
    width: 100%; 
}.done_pic .done_img figure {
    width: 48%;
}.done_pic video {
    width: 100%; 
}
}section.sec_gallery ul {
    display: flex;
    flex-wrap: wrap;
    max-width: 1000px;
    margin: 0 auto;
}

section.sec_gallery ul li {
    width: 200px;
    aspect-ratio: 1;
    margin: 20px;
}

section.sec_gallery ul li img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}