@charset "utf-8";
/* CSS Document */

@keyframes fadeInAnime{ /* フェードイン必須 */
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
body{
	width: 100%;
	height: 100%;
	background:#EBE8E0;
}
*{/*デフォルトマージンを除去*/
  margin:0;
  padding: 0;
}
*{
    font-family: tot-shizukamin-stdn, sans-serif, heisei-mincho-std, serif;
    font-weight: 400;
    font-style: normal;
}
*{/*テキスト文末を揃える*/
  text-align:justify;
  word-break:break-all; 
  text-justify:inter-ideograph;
  text-justify:inter-character;
  word-wrap:break-word;
  overflow-wrap:break-word;
}
h1,h2,h3,h4,h5,span,p,div,li,a,input,label {
	font-feature-settings: "palt";/*自動文字詰め*/
}
a:hover{
	display: block;
	transition: .5s;
}

@media screen and (min-width : 1100px ) and ( max-width : 2000px ){
/*----------------メニューブロック設定ここから------------------*/
header{
    max-width: 100%;
    width: 100%;
    height: 50px;
    display: flex;
    position: fixed;
	top:0;
	background:#fff;
    z-index:5;
    opacity: .9;
}
header .img{ 
    display: block;
    height: 50px;
    padding: .2em 0 0 .5em;
    box-sizing: content-box;
}
header .img a img{
    display: block;
    height: 45px;
    box-sizing:border-box;
}
header .img a img:hover{
	opacity: .4;
    transition: .2s;
}
/*========= ナビゲーションドロップダウンのためのCSS ===============*/
/*==ナビゲーション全体の設定*/
nav#menu{/* #menuはジャバ動作のため必要*/
    position: absolute;
    width: 73.9vw;
    height: 50px;
	right:0;
    top:0;
    left:25%;
}
/*ナビゲーションを横並びに*/
nav#menu ul{
    list-style: none;
    position: absolute;
    /*コレ*/display:flex;
    right:0;
}
nav#menu ul li{
  position: relative;
  font-size: 1em;
  line-height:4em;
}

/* ナビゲーションのリンク設定 */
nav#menu ul li a{
  display: block;
  text-decoration: none;
  color: #000;
  height: 50px;
  padding: 0 1em ;
}
nav#menu ul li a:hover{
    background-color:#FBF0F5;
}
nav#menu ul li a::after {
position: absolute;
left: 0;
content: '';
width: 100%;
height: 2px;
background:#c97586;
bottom: 0px;
transform: scale(0, 1);
transform-origin: center top; /*変形（アンダーラインの伸長）の原点がaタグ（各メニュー）の右端*/
transition: transform 0.5s;   /*変形の時間*/
}
nav#menu ul li a:hover::after {
transform: scale(1, 1); /*ホバー後、x軸方向に1（相対値）伸長（ヨコ,タテ)*/
}


/* ---------フェードイン設定　各部位 画面外にいる状態----------- */
.fadein {
	opacity : 0;
	transform : translate(0, 5px);
	transition : all 2500ms;/* 1.5秒*/
}
/* ---------フェードイン設定　各部位　画面内に入った状態 */
.fadein.scrollin {
	opacity : 1;
	transform : translate(0, 0);
}
/* ------------フェードイン設定　ヘッダー上部の@keyframes fadeInAnime必須-------- */
/* その場でふわっ */
.fadein2{
animation-name:fadeInAnime;
animation-duration:3s;
animation-fill-mode:forwards;
opacity:0;
}

/* ---------フェードイン設定ここまで----------- */

    
    
/*トップページイメージここから--------------*/
.topimg {
	width: 100%;
}
/*トップページイメージここまで--------------*/	

/*--------下層ページのトップイメージここから-----------*/    
.top, .top img{
    width: 100%;
    margin: 50px 0 0 0;
}
/*--------下層ページのトップイメージここまで-----------*/  
    
    
    
    
/* パンくずリストここから（トップページのみ）--------------------- */	
.breadcrumb {
    display: flex;
    gap: 0 10px;
    list-style: none;
	margin: 0em 0 0em 1em;
	clear: both;
}
.breadcrumb li {
    display: flex;
    align-items: center;
	text-decoration: none;
}

.breadcrumb li:first-child::before {/* 家マーク */
    display: block;
    width: 1.3em;
    height: 1.2em;
    margin-right: 1px;
    background-image: url('data:image/svg+xml;charset=utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20d%3D%22M11.7%207.5%204%2013.8v6.8c0%20.4.3.7.7.7h4.7c.4%200%20.7-.3.7-.7v-4c0-.4.3-.7.7-.7h2.7c.4%200%20.7.3.7.7v4c0%20.4.3.7.7.7h4.7c.4%200%20.7-.3.7-.7v-6.8l-7.7-6.3h-.9zm12.1%204.4L20.3%209V3.2c0-.3-.2-.5-.5-.5h-2.3c-.3%200-.5.2-.5.5v2.9L13.3%203c-.7-.6-1.8-.6-2.5%200L.2%2011.8c-.2.2-.3.5-.1.7l1.1%201.3c.2.2.5.2.7.1l9.8-8.1h.6l9.8%208.1c.2.2.5.1.7-.1l1.1-1.3c.2-.2.1-.5-.1-.6z%22%20style%3D%22fill%3A%23000000%22%2F%3E%3C%2Fsvg%3E');
    background-repeat: no-repeat;
    content: '';
}
.breadcrumb li:not(:last-child)::after {
    display: inline-block;
    transform: rotate(45deg);
    width: .4em;
    height: .4em;
    margin-left: 10px;
    border-top: 1px solid #000000;
    border-right: 1px solid #000000;
    content: '';
}
.breadcrumb a {
    color: #000000;
    text-decoration: none; 
}
.breadcrumb a:hover {
    color:darkred;
    text-decoration: underline;
}		
/* パンくずリストここまで--------------------- */	


/*--------トップページ縦書き-----------*/   
.wrapper01, .wrapper02 {
/*縦書き設定*/
  -ms-writing-mode: tb-rl;
    -webkit-writing-mode: vertical-rl;
    writing-mode: vertical-rl;
    margin: 0em auto;
    text-orientation: upright;
    box-sizing: border-box;
    z-index: 5;
}
.wrapper01 h1 {
    font-size:2.3em;
    font-feature-settings: "pkna" 1; /*縦書きの文字ズレ直す*/
    margin: -2em auto 1em auto;
    padding:.5em;
    background-color: #fff;
    z-index: 5;
}
.wrapper02 p {
    font-size:1.4em;
    line-height: 2;
    height: 100%;
    font-feature-settings:"pkna" 1; /*縦書きの文字ズレ直す*/
}
/*--------トップページ縦書きココマデ-----------*/      
 

/*トップページのバナー------------------*/   
.banner{
    width: 70%;
    margin: 3em auto 1em auto;
}
.banner img{
    width: 100%;
    margin: 0em auto;
}
/* パソコンで見たときは"pc"のclassがついた画像が表示される */
.pc { display: block !important; }
.sp { display: none !important; }


/* バナー均等配置 */    
.banner2 {
	display: flex;
	width:70%;
	margin: 2em auto 3em auto ;
	justify-content:space-between; /* 子要素を均等に配置・両端揃え */
}
.banner2 a{
	display: block;
	width: calc(97%/2);/*←画像を横に2つ並べる場合*/
}
.banner2 a img{
	display: block;
	width: 100%;
}
/* ------------トップページのバナーここまで-------------- */	

/* ------------詳細項目ココカラ-------------------- */ 
    
:root { /* 入替る要素に必要なもの */
  --base-color:#c97586;
  --sub-color: #ffe4e1;
  --color-black: #565656;
  --color-gray: #F4F4F2;
  --color-white: #ffff;
}    
.p-contents{
    margin: 3em 0; 
    padding: 0;
}
.l-inner {
  margin-right: auto;
  margin-left: auto;
  width: 80%;
}
.p-textImgBox {
  margin: 2em 0em 2em 0em;
  counter-increment: number 1;
}
.p-textImgBox2 {
  margin: 5em 0em 2em 0em;
  counter-increment: number 6;
} 
.p-textImgBox__inner {
  display: block;
}
.p-textImgBox__textBox {
  position: relative;
  background-color:#fff;
  padding: 60px 55px 45px ;
  width: 75%;
  z-index: 0;
}
.p-textImgBox__textBox::before {
  position: absolute;
  content: "";
  width: 100%;
  height: 7em;
  background-color: var(--color-white);
  top: -53px;
  left: 0;
  z-index: -1;
}
.p-textImgBox__title {
  font-size: 1.5em;
  line-height: calc(35/22);
  font-weight: 600;
  color: var(--color-black);
}
.p-textImgBox__title2 {/*本文内h4*/
  font-size: 1.5em;
  line-height: calc(30/22);
  color: var(--color-black);
    margin-top: 2em;
    font-weight: 600;
}
.p-textImgBox__text2 {/*本文内h4直下のテキスト*/
  font-size: 1.2em;
  line-height: calc(30/16);
  color: var(--color-black);
  margin-top: 1em;
} 

.p-textImgBox__text {
  font-size: 1.2em;
  line-height: calc(30/16);
  color: var(--color-black);
  margin-top: 2em;
}
.p-textImgBox__img {
  width: 100%;
  display: block;
  position: relative;
  z-index: 1;
  margin-right: auto;
  margin-left: auto;
}
.p-textImgBox__img img {
  width: 100%;
  aspect-ratio: 600 / 400;
  height: auto;
}

.p-textImgBox__number::before {
  position: absolute;
  font-size: 4em;
  letter-spacing: 0.1em;
  line-height: calc(70/70);
  color: var(--base-color);
  right: 0px;
  font-weight: 100;
  content: counter(number) "."; /* ""の中は日本語OK */
  top: 0;
}
.p-textImgBox__inner {
    display: flex;
}
.p-textImgBox__textBox {
    padding: 70px 50px 50px;
    margin-top: 80px;
}
.p-textImgBox__textBox::before {
    width: 150px;
    height: 100%;
    top: 0;
    left: -150px;
}    
.p-textImgBox__title {
    text-align: left;
} 
.p-textImgBox__img {
    max-width: 600px;
}
.p-textImgBox__number::before {
    right: 50px;
    top: -50px;
  }
.p-textImgBox:nth-child(even) .p-textImgBox__inner {
    flex-direction: row-reverse;
  }
.p-textImgBox:nth-child(even) .p-textImgBox__textBox::before {
    left: initial;
    right: -150px;
  }
.p-textImgBox:nth-child(even) .p-textImgBox__number::before {
    right: initial;
    left: 50px;
}
/* リンクボタン-------- */
.p-textImgBox__button {
  margin-top: 40px;
}
.c-button {
  font-size: 1.2em;
  line-height: calc(21.6/18);
  font-weight: 400;
  display: block;
  position: relative;
  border-radius: 8px;
  border: 1px solid var(--base-color);
  background-color: var(--color-white);
  padding: 21px 48px 23px;
  text-align: center;
  color: var(--base-color);
  letter-spacing: 0.1em;
  transition: color .1s, background-color .1s;
  text-decoration: none;
}
.c-button::after {
  content: '';
  width: 8px;
  height: 8px;
  border: 0;
  border-top: solid 3px var(--base-color);
  border-right: solid 3px var(--base-color);
  position: absolute;
  top: 50%;
  right: 36px;
  margin-top: -4px;
  transform: rotate(45deg);
  transition: border-color .1s;
}
.c-button:hover {
  background-color: var(--base-color);
  color: var(--color-white);
    text-decoration: none;
}
.c-button:hover::after {
  border-color: var(--color-white);
}
/* リンクボタンここまで-------- */

/* 写真並べる、文字入れるココカラ-------- */  
.menu{
    width: 100%;
    display: flex;
    justify-content:space-between; /* 子要素を均等に配置・両端揃え */
    margin: 0em auto 6em auto;
}
.menu img{
    width:calc(98%/3);/*←画像を横に2つ並べる場合*/
}
.menu p{
    width: 85%;
    font-size: 1.3em;
    line-height: 1.7em; 
    margin: 1em auto 1em auto;
    color:#333333;
}
/* 写真並べる、文字入れるココカラ-------- */     

/* ------------詳細項目ココマデ-------------------- */    
    
/* ---------バナーズーム（文字入り）設定ここから--------- */	
.zoom0{
	display: flex;
	width: 80%;
	justify-content:space-between; /* 子要素を均等に配置・両端揃え */
	margin: 2em auto 0em auto;
}
.zoom1, .zoom2, .zoom3, .zoom4 {
    position: relative;
    overflow: hidden;
    width: 260px;
    height: 260px;
    border-radius: 15px;
    margin: 2em .5em;
    background: #000;
}
.zoom1:hover::after,.zoom2:hover::after,.zoom3:hover::after,.zoom4:hover::after {
    opacity: .3;
    transform: scale(1.3);
}
.zoom1 a,.zoom2 a,.zoom3 a,.zoom4 a {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    height: 100%;
    text-decoration: none;
    color: #fff;
    font-size: 1.5em;
}
.zoom1::after{
    position: absolute;
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    top: 0;
    background: url( "../img/img02.jpg") no-repeat center center;
    background-size: cover;
    transition: all 1s ease-out;
}
.zoom2::after {
    position: absolute;
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    top: 0;
    background: url( "../img/img03.jpg") no-repeat center center;
    background-size: cover;
    transition: all 1s ease-out;
}
.zoom3::after {
    position: absolute;
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    top: 0;
    background: url( "../img/img04.jpg") no-repeat center center;
    background-size: cover;
    transition: all 1s ease-out;
}
.zoom4::after {
    position: absolute;
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    top: 0;
    background: url( "../img/img05.jpg") no-repeat center center;
    background-size: cover;
    transition: all 1s ease-out;
}

/* ---------バナーズーム（文字入り）設定ここまで--------- */   


    
/* 写真均等配置 */
.photo0 {/* 写真1枚（弁天様ページ紹介バナー・東大寺様バナー） */
    width: 80%;
    margin: 5em auto 7em auto;
    }
.photo0 a:hover {
    opacity: .5;
    }
.photo0 img{
    display:block;
    width: 100%;
    margin: 0em auto 5em auto;
    }
.photo1{/* 写真1枚（トップ神山四季バナー） */
    clear: both;
    width: 100%;
    margin: 2rem auto 4rem auto;
    }
 .photo1 a{
     display: block;
     margin-bottom: 0;
    }
    .photo1 a:hover{
        opacity: .3;
    }    
 .photo1 a img{
    width: 100%;
     display:block;
    margin: 0em auto;
    }
    
.photo2 {
	display: flex;
	width:70%;
	margin: 2em auto 2em auto ;
	justify-content:space-between; /* 子要素を均等に配置・両端揃え */
}
.photo2 img{
	display: block;
	width: calc(97%/2);/*←画像を横に2つ並べる場合*/
}

/* 写真均等配置 */
.photo2-1 {
	display: flex;
	width:100%;
	margin: 0em auto 1em auto ;
	justify-content:space-between; /* 子要素を均等に配置・両端揃え */
}
.photo2-2 {
	display: flex;
	width:80%;
	margin: 0em auto ;
	justify-content:space-between; /* 子要素を均等に配置・両端揃え */
}
.photo2-3 { /* 年中行事 */
    display: flex;
	width:90%;
	margin: 0em auto ;
	justify-content:space-between; /* 子要素を均等に配置・両端揃え */
}
.photo2-1 img,.photo2-2 img,.photo2-3 img{
	display: block;
	width: calc(98%/2);/*←画像を横に2つ並べる場合*/
}
/* 写真均等配置 */      
.photo4 {
	display: flex;
	width:80%;
	margin: 2em auto 2em auto ;
	justify-content:space-between; /* 子要素を均等に配置・両端揃え */
}
.photo4 img{
	display: block;
	width: 95%;
}  
    

 /* ---------背景に市松模様bodyにclass--------- */
.check {
	width: 100%;
	height: 100%;
	background-image: repeating-conic-gradient(from 0deg, #fbfaf5 0deg 90deg, #fff 90deg 180deg);
	background-size: 20px 20px;
    background-attachment: fixed;
}

    


/* ----------------ページトップに戻るボタン------------------- */
#page-top{
	position: fixed;
	bottom: 20px;
	right: 20px;
	font-size:1.15em;
	line-height: .1em;
    background-color:#fff;
    border-radius: 100px;
}
#page-top a {
	text-decoration: none;
	color: black;
	height: 3.6em;
	width: 3.6em;
	text-align: center;
	display: flex;
    justify-content:center;
    align-items: center;
    flex-direction: column;
	margin: 0;
	border-radius: 100px;
}
#page-top a:hover {
	text-decoration: none;
	transition:.5s;
	background-color:#fff0f5;
}
#page-top a::before {
    /* 絶対必要 */
    content: "";
    display: block;
    /* 三角のサイズ */
    width: 23px;
    height: 23px;
    /* 三角の線と回転角度 */
    border-top: 1px solid black;
    border-right: 1px solid black;
    transform: rotate(-45deg);
}

/* ----------------ページトップに戻るボタンここまで------------------- */


/*-------フッター設定ここから------*/
footer{
	width: 100%;
	background:#EBE8E0;
	padding: 3em 0 .5em 0;
}
#address{/*フッター住所*/
    width: 80%;
	display: flex;
	margin: 0 auto 1em auto;
    justify-content: space-between;
}
#address .address1{
    width: 35%;
}
#address .address1 a{/*フッター画像*/
    display:inline-block;
    width: 100%;
    margin: 0em 0em 2em 0em;
    object-fit: cover; /* コンテナを完全に覆うように調整 */
}
#address .address1 a,
#address .address1 a:hover{/*フッター画像*/
    width: 100%;
}
#address .address1 a:hover{
    opacity: .4;
}
#address .address1 a img{
    display: block;
    width: 100%;
    height: 100%;
} 
#address .address2{
	font-size: 1.15em;
    color: #000;
    line-height: 1.7;
}
#address .address2 a { 
    width: 2em;
    display: block;
    margin: 1em 0em 0em 0em;
}
#address .address2 a:hover {
    opacity: .3;
 }
#address .address2 a img{
    width: 100%;
    object-fit: cover; /* コンテナを完全に覆うように調整 */
}

    
#menu1{/*フッターメニュー*/
	width: 100%;
}
#menu1 ul{
	width: 90%;
	margin: 1em auto 0em auto;
	display: flex;
	justify-content:space-between; /* 子要素を均等に配置・両端揃え */
}
#menu1 ul li{
    width:fit-contents;
	font-size:1em;
	list-style:none; 
}
#menu1 ul li a{
	color: #000;
    text-decoration: none;
    width: fit-content;
}
#menu1 a:hover{
	text-decoration: underline;
    color:#c97586;
    opacity: .5;
}
#menu1 ul li a::after {
    position: absolute;
    left: 0;
    content: '';
    width: 100%;
    height: 2px;
    background:#C7A700;
    bottom: 0px;
    transform: scale(0, 1);
    transform-origin: center top; /*変形（アンダーラインの伸長）の原点がaタグ（各メニュー）の右端*/
    transition: transform 0.5s;   /*変形の時間*/
}
#menu1 ul li a:hover::after {
    transform: scale(1, 1); /*ホバー後、x軸方向に1（相対値）伸長*/
}
.contents1{
    width:80%;
    margin: 3% auto 10% auto;
	display:flex;
	justify-content:space-between; /* 子要素を均等に配置・両端揃え */
}
.cresit{
	width: 100%;
	padding: 0 auto ;
	font-size: .9em;
	text-align: center;
	color:#A0A0A0;
    clear: both;
	line-height: .4;
}
hr {
	height: 20px;
	border: 0;
	border-top: 1px solid #000;
	width: 95%;
	margin: 0 auto;
}

/*-------フッター設定ここまで------*/


}