/*エディターで画像が動かない時のcss*/
img.alignright{
	display: block;
	margin: 0 0 0 auto;
}
img.alignleft{
	display: block;
	margin: 0 auto 0 0;
}
img.aligncenter{
	display: block;
	margin: 0 auto;
}


:root {
  --main-color: #a99469;
  --main-bgcolor: #dedec0 ;
}
.maincolor{color: var(--main-color);}
.mainbgcolor{background-color: var(--main-bgcolor);}
.pan{background-color: var(--main-bgcolor);padding: 5px 0;font-size: 90%;}
.header{}

.max-logo{max-width: 250px;}

.img_wrap img{
  width: 100%;
  cursor: pointer;
  transition-duration: 0.3s;
}


.img_wrap:hover {
  opacity: 0.6;
  transition-duration: 0.3s;
}


h2{font-size: 1.8rem;text-align: center;font-weight: 600;line-height: 2rem;margin-bottom: 1em;margin-top: 1em;letter-spacing: 0.2rem;}
h2 span{font-size: 0.9rem;margin-bottom: 0.7em;margin-top: 1em;}
.text-decoration_none a{text-decoration: none !important;color: #000;}
h3{font-size: 110%;color: #000;text-decoration: none !important;text-align: center;}
h3 span{font-size: 0.7rem;color: #000;text-decoration: none !important;}
.h3_bg{background-color: var(--main-color);color: #FFF;text-align: center;padding: 1.5em 0 1.2em;margin-bottom: 2rem;}
h4{color:var(--main-color);;font-size: 1.5rem;text-align: center;font-weight: bold;line-height: 1.4rem;margin-bottom: 1em;margin-top: 1em;}
p{font-size: 90%;}
@media only screen and (max-width: 767px) {
  h2{font-size: 1.3rem;letter-spacing: 0rem;}
  h3{font-size: 120%;}
}

.w100 {
  width: 100% !important;
}
.w60 {
  width: 60%;
}
.w70 {
  width: 70%;
}
.w80 {
  width: 80%;
}
.w50 {
  width: 50%;
}
.max-100 {
    max-width: 100%;
  }
#topBtn{
    background:var(--main-color);;
    color: #fff;
    position: fixed;
    right: 20px;
    bottom: 20px;
    border-radius: 50%;
    width: 55px;
    height: 55px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}
main{margin-bottom: 2em;}


/*雲*/
#wrap{
	width:100%;
	background-image:url(../images/slide1.jpg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
@media only screen and (max-width: 767px) {
  #wrap{
    height: 500px;
  }

}
#cloud{
	width:100%;
	height:750px;
	background:url(../images/clouds.png) top;
	animation: cloudmove 30s linear infinite;
	-webkit-animation: cloudmove 30s linear infinite;
	-moz-animation: cloudmove 30s linear infinite;
}
@keyframes cloudmove {
	0% {background-position: 0 0;opacity: 0;}
	5% {opacity: 0.8;}
  90% {opacity: 0.7;}
	100% {background-position: 300% 0;opacity: 0;}
}
#cloud2{
	width:100%;
	height:750px;
	background:url(../images/clouds3.png) top;
	animation: cloudmove2 40s linear infinite;
	-webkit-animation: cloudmove2 40s linear infinite;
	-moz-animation: cloudmove2 40s linear infinite;
}
@keyframes cloudmove2 {
	0% {background-position: 0 0;opacity: 0;}
	5% {opacity: 0.9;}
  90% {opacity: 0.9;}
	100% {background-position: -235% 0;opacity: 0;}
}

/*雲その他ページ*/
#wrap_other{
	width:100%;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
}

#cloud3{
	width:100%;
	height:400px;
	background:url(../images/clouds_other.png) top;
	animation: cloudmove3 20s linear infinite;
	-webkit-animation: cloudmove3 20s linear infinite;
	-moz-animation: cloudmove3 20s linear infinite;
}
@media only screen and (max-width: 780px) {
  #cloud3{
    background:url(../images/clouds_other2.png) top;
    height:250px;
    animation: cloudmove3 40s linear infinite;
    -webkit-animation: cloudmove3 40s linear infinite;
    -moz-animation: cloudmove3 40s linear infinite;}
}
@keyframes cloudmove3 {
	0% {background-position: 0 0;opacity: 0;}
	5% {opacity: 1;}
  90% {opacity: 1;}
	100% {background-position: 300% 0;opacity: 0;}
}
#cloud4{
	width:100%;
	height:400px;
	background:url(../images/clouds_other2.png) top;
	animation: cloudmove4 30s linear infinite;
	-webkit-animation: cloudmove4 30s linear infinite;
	-moz-animation: cloudmove4 30s linear infinite;
}
@media only screen and (max-width: 780px) {
  #cloud4{
    background:url(../images/clouds_other2.png) top;
    height:250px;
    animation: cloudmove4 30s linear infinite;
    -webkit-animation: cloudmove4 30s linear infinite;
    -moz-animation: cloudmove4 30s linear infinite;}
}
@keyframes cloudmove4 {
	0% {background-position: 0 0;opacity: 0;}
	5% {opacity: 1;}
  90% {opacity: 1;}
	100% {background-position: -300% 0;opacity: 0;}
}

/*メニュー用css*/

.menu-content .row{padding: 0 0 150px 0 !important;margin: 0;font-family: sans-serif;}

.menu-content ul {
  padding: 60px 10px 0;
}
.menu-content ul li {
  border-bottom: solid 1px #ccc;height: auto;
  list-style: none;
}
.menu-content ul li a {
  display: block;
  width: 100%;
  font-size: 15px;
  box-sizing: border-box;
  text-align: center;
  color:#222;
  text-decoration: none;
  padding: 15px 10px 15px 10px;
  position: relative;
}

@media only screen and (max-width: 1000px) {
  .menu-content ul {
    padding: 0px 30px 0;
  }
  .menu-content ul li a {
    padding: 15px 15px 10px 10px;
  }

.menu-content ul li a::before {
  right: 11px;
  top: 20px;
}
  .menu-content{
    padding: 30px 0 0;}
  }

.menu-content {
  width: 20%;
  height: 100%;
  position: fixed;
  box-shadow: 0 10px 25px 0 rgba(0, 0, 0, .1);
  top: 0;
  left: 100%;/*leftの値を変更してメニューを画面外へ*/
  z-index: 80;
  overflow-y: auto;
  opacity: 0.95;
  background-color: #FFF;
  transition: all 0.5s;/*アニメーション設定*/
}

.menu-content a:hover{
  color:#333;
  background-color: #f6f0e3;
}

#menu-btn-check:checked ~ .menu-content {
    left: 80%;/*メニューを画面内へ*/
}
@media only screen and (max-width: 1000px) {
  .menu-content {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 100%;/*leftの値を変更してメニューを画面外へ*/
    z-index: 80;
    overflow-y: auto;
    opacity: 0.95;
    background-color: #FFF;
    transition: all 0.5s;/*アニメーション設定*/
  }
  
  #menu-btn-check:checked ~ .menu-content {
      left: 0%;/*メニューを画面内へ*/
  }
  .menu-mt{margin-top: 0 !important;padding-top: 0 !important;}
  .menu-mb{margin-bottom: 0 !important;padding-bottom: 0 !important;}
  }
/*三本線疑似要素*/
#menu-btn-check:checked ~ .menu-btn span {
  background-color: rgba(255, 255, 255, 0);/*メニューオープン時は真ん中の線を透明にする*/
}
#menu-btn-check:checked ~ .menu-btn span::before {
  bottom: 0;
  transform: rotate(45deg);
}
#menu-btn-check:checked ~ .menu-btn span::after {
  top: 0;
  transform: rotate(-45deg);
}
.menu-btn {
  position: fixed;
  top: 15px;
  right: 15px;
  display: flex;
  height: 40px;
  width: 40px;
  justify-content: center;
  align-items: center;
  z-index: 90;background-image: url(images/menu_btn.gif);
  background-size: contain;
  border-radius: 3px;
}
.menu-btn span,
.menu-btn span:before,
.menu-btn span:after {
  content: '';
  display: block;
  height: 2px;
  width: 35px;
  background-color: #111;
  position: absolute;
}
.menu-btn span:before {
  bottom: 12px;
  width: 100%;
  left:0%;
}
.menu-btn span:after {
  top: 12px;
  width: 100%;
  left:0%;
}
/*チェックボックスを隠す*/
#menu-btn-check {
    display: none;
}

/* パソコンで見たときは"pc"のclassがついた画像が表示される */
.pc { display: block !important; }
.sp { display: none !important; }
 
/* スマートフォンで見たときは"sp"のclassがついた画像が表示される */
@media only screen and (max-width: 992px) {
    .pc { display: none !important; }
    .sp { display: block !important; }
    .pcnav{ display: none !important; }
}


/* PCメニュー */
.flex_nav a{
  text-decoration: none;
  font-size: 17px;
  font-weight: bold;
  display: block;
  color: #333;
  padding:2em ;
  }
  .flex_nav a:hover{
  color: var(--main-color);
  background-color: #f7f6f0;
  padding:2em;
  }
.flex_nav {
    display: flex;justify-content: center; 
}
.flex_nav-item {
    text-align: center;
    color:  #333;
}
@media only screen and (max-width: 767px) {
  .flex_nav{
    display: block;
    }
  .flex_nav a{
      font-size: 15px !important;
      }
}

@media (max-width: 992px) {
.flex_nav a{font-size: 12px;}
}
/* ボタン */
.btn--main,
a.btn--main {
  width: 100%;
  padding: 10px;
  color: var(--main-color);
  border: 2px solid var(--main-color);
  background-color:  #FFF;
  margin-bottom: 10px;
}
.btn--main:hover,
a.btn--main:hover {
  color: #fff;
  background: var(--main-color);
}

a.btn--radius {
   border-radius: 100vh;
}
/* pickup */
.pickup{background-color: #eee;padding: 2rem 0;text-align: center;}
.pickup p{background-color: #fff;display: block;padding: 5px 0;}
@media (max-width: 992px) {
 .pickup p{font-size: 0.7rem;}
  }


/* アコーディオン */
.accordion {
  margin: 3em auto;
  max-width: 100%;
  }
  .toggle {
  display: none;
  }
  .option {
  position: relative;
  margin-bottom: 1em;
  }
  .title,
  .content {
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform: translateZ(0);
  transition: all 0.3s;
  }
  .title {
  padding: 1em;
  font-size: 22px;
  text-align: center;
  display: block;
  color: #333;
  }
  @media (max-width: 992px) {
    .title {
      font-size: 18px;
      }
  }
  .title::after,
  .title::before {
  content: "";
  position: absolute;
  right: 1.25em;
  top: 1em;
  width: 1px;
  height: 1.5em;
  background-color: #111;
  transition: all 0.3s;
  }
  .title::after {
  transform: rotate(90deg);
  }
  .content {
  max-height: 0;
  text-align: center !important;
  overflow: hidden;
  }
  .content p {
  margin: 0;
  padding: 0em 0 0;
  font-size: 1.1em;
  line-height: 1.5;
  font-weight: bold;
  }
  .toggle:checked + .title + .content {
  max-height: 20000px;
  transition: all 1.5s;
  }
  .toggle:checked + .title::before {
    transform: rotate(45deg) !important;
    }
    .toggle:checked + .title::after {
    transform: rotate(135deg) !important;
    }

/* テーブル */
.border-td{border-bottom:1px solid #c2c29d;padding: 1em 0;}


/* フォーム */
.wpcf7 input[type="submit"] {
  width:100%;
  padding:15px;
  border-radius:10px;
  -webkit-border-radius: 10px;  
  -moz-border-radius: 10px;
  border: none;
  color:#FFF;
  background: #c1c190;
  transition: 0.3s;
  }
  .wpcf7-submit:hover {
  background: #acac79;
  -webkit-transform: translate3d(0px, 3px, 1px);
  -moz-transform: translate3d(0px, 3px, 1px);
  }


input[type="text"] {border: 4px solid #dedec0;width: 100%;padding: 10px;}
input[type="email"] {border: 4px solid #dedec0;width: 100%;padding: 10px;}
textarea{border: 4px solid #dedec0;width: 100%;padding: 10px;}
#form label {
 position: relative;
 cursor: pointer;
 padding-left: 30px;
}

#form label::before,
#form label::after {
 content: "";
 display: block; 
 border-radius: 50%;
 position: absolute;
 transform: translateY(-50%);
 top: 50%;
}

#form label::before {
 background-color: #fff;
 border: 1px solid #999;
 border-radius: 50%;
 width: 20px;
 height: 20px;
 left: 5px;
}

#form label::after {
 background-color: #555;
 border-radius: 50%;
 opacity: 0;
 width: 14px;
 height: 14px;
 left: 8px
}

#form input:checked + label::after {
 opacity: 1;
}

#form .visually-hidden {
position: absolute;
white-space: nowrap;
border: 0;
clip: rect(0 0 0 0);
clip-path: inset(50%);
overflow: hidden;
height: 1px;
width: 1px;
margin: -1px;
padding: 0;
}

.cp_ipselect {
	overflow: hidden;
	width: 80%;
	margin: 1em auto;
	text-align: center;
}
.cp_ipselect select {
	width: 100%;
	padding-right: 1em;
	cursor: pointer;
	text-indent: 0.01px;
	text-overflow: ellipsis;
	border: none;
	outline: none;
	background: transparent;
	background-image: none;
	box-shadow: none;
	-webkit-appearance: none;
	appearance: none;
}
.cp_ipselect select::-ms-expand {
    display: none;
}
.cp_ipselect.cp_sl02 {
	position: relative;
	border: 4px solid #dedec0;
	border-radius: 2px;
	background: #ffffff;
}
.cp_ipselect.cp_sl02::before {
	position: absolute;
	top: 1em;
	right: 0.9em;
	width: 0;
	height: 0;
	padding: 0;
	content: '';
	border-left: 6px solid transparent;
	border-right: 6px solid transparent;
	border-top: 6px solid #dedec0;
	pointer-events: none;
}
.cp_ipselect.cp_sl02:after {
	position: absolute;
	top: 0;
	right: 2.5em;
	bottom: 0;
	width: 1px;
	content: '';
	border-left: 4px solid #dedec0;
}
.cp_ipselect.cp_sl02 select {
	padding: 8px 38px 8px 8px;
	color: #666666;
}

/*送信エラー*/
.wpcf7-not-valid-tip{
  box-sizing: border-box;
  border-radius: 5px;
  background-color: #e50031;
  color: #fff !important;
  display: block;
  font-size: 14px;
  text-align: left;
  font-weight: bold;
  margin-top: 10px;
  padding: 10px 10px;
  position: relative;
}
.wpcf7-not-valid-tip::before{
  content: "";
  border: 10px solid transparent;
  border-bottom: 15px solid #e50031;
  position: absolute;
  top: -25px;
  left: 5%;
}

/*送信成功*/
.wpcf7 form.sent .wpcf7-response-output {
  background:#FFF;
  color:#000;
  border:4px solid #dedec0 !important;
  padding:15px;
  text-align: center;
}


/*送信失敗*/
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output {
  background:#e50031;
  color:#FFF;
  border:none;
  padding:15px;
  text-align: center;
}

/*スパムなどで送信ブロックされた場合*/
div.wpcf7-spam-blocked {
  background:#e50031;
  color:#FFF;
  border:none;
  padding:10px
}


#news a{text-decoration: none;}
#news a:hover{background-color: #edecdc;text-decoration: none;}
.news_border{border-bottom: 1px solid #dedec0;}




/*ページネーションー*/

  
.pagination {
  margin:auto;
  justify-content: center;
  text-align:center;
}
.pagination ul {
  display: flex;
  display: -ms-flexbox;
  display: -webkit-box;
  display: -webkit-flex;
    justify-content: center;
  flex-wrap: wrap;
  border-radius: 3px;
}
.pagination li {
  overflow: hidden;
  margin: 4px;
  padding: 0;
}
.pagination a, .pagination span {
  display: inline-block;
  width: 40px;
  height: 40px;
  margin: 0 3px 0 0;
  padding-top: 6px;
  text-decoration: none;
  border-radius: 5px;
  color: #666;
  border:2px solid #eee;
}
.pagination a:hover {
  display: inline-block;
  margin: 0 3px 0 0;
  text-decoration: none;
  color: #FFF;
  background:#34290a !important;
}
.pagination .current {
  color: #205aef;
  cursor: default;
  margin: 0 3px 0 0;
  color: #FFF;
  background:#34290a;
}
.page-numbers {
  width: auto;
  padding: 0;
  background: transparent
}



/* フッター */
.footer-logo{}
#footer{color: #111;font-size: .9rem;background-color: #f2f2f2;}
#footer h2{font-size: 1.2rem;color: #111;text-align: left;margin-bottom: 0.5em;margin-top: 0em;}
#footer h2 span{font-size: .9rem;color: #111;}
#footer ul{padding-left: 1em;text-indent: -1em;}
#footer li{color: #111;list-style: none;}
#footer li a{color: #111;text-decoration: none;}
#footer li a:hover{color: #111;text-decoration: underline;}
.copyright{padding: 10px 0;}
@media (max-width: 992px) {
.copyright{font-size: 10px;}
#footer h2{margin-top: 1.5rem;}
.pickup span{ font-size: 0.8rem;}
}



/*アニメーション要素のスタイル*/
.animation{
  opacity : 0;
  visibility: hidden;
  transition: 1.5s;
  transform: translateY(30px);
}

/*アニメーション要素までスクロールした時のスタイル*/
.active{
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}



  /* 下から */
  
  .fadeUp{
  animation-name:fadeUpAnime;
  animation-duration:1s;
  animation-fill-mode:forwards;
  opacity:0;
  }
  
  @keyframes fadeUpAnime{
    from {
      opacity: 0;
    transform: translateY(30px);
    }
  
    to {
      opacity: 1;
    transform: translateY(0);
    }
  }
table.topphoto {
border-collapse: collapse;
border-spacing: 0;
}



#form5{
  position:relative;
  font-family: sans-serif;
  font-weight: normal !important;
  margin-bottom:40px;	
  width: 100%;
  }
  #sbox5{	
  outline:0;	
  height:40px;
  padding:0 10px; 
  position:absolute; 
  border: 1px solid #ccc;
  left:0;
  top:0; 
  width:70%;
  border-radius:2px;
  background:#eee;
  }
  #sbtn5{
  width:27%;
  height:40px;
  position:absolute; 
  right:0px; 
  top:0;
  border-radius:2px;
  background:#000;
  color:#fff;
  border-radius:30px;
  font-weight:bold;
  font-size:16px;
  border:none;
  }
  #sbtn5:hover{
  background:#333;
  color:#FFF;
  }
  @media (max-width: 992px) {
    #form5{
      width: 80%;
      margin: 0 auto;
      }

  }

  .search-form{display: flex;}
  .search-field{
  border: 1px solid #ccc;
  width: 95%;
  height:40px;
  padding:0 10px; 
  background:#eee;}
  .search-submit{
  border-radius:2px;
  padding: 5px 20px;
  background:#000;
  font-family: sans-serif;
  color:#fff;
  border-radius:30px;
  font-size:16px;
  border:none;
  }


/*トリミング*/
.topphoto td{
  border-collapse: collapse !important;
  border-spacing: 0 !important;}
.tri2 img {
    padding: 0;
    margin: 0;
    width: 100%;
    height: 300px;
    object-fit: cover; /* この一行を追加するだけ！ */
  }
.tri2  { width: 20%;}
.tri  { width: 10%;}
.tri img {
    padding: 0;
    margin: 0;
    width: 100%;
    height: 150px;
    object-fit: cover; /* この一行を追加するだけ！ */
  }
  

/*境内*/
  .precinct {/*親div*/
    position: relative;/*相対配置*/
    margin-bottom: 15px;
    width: 100%;
    }
  
  .precinct p {
    position: absolute;
    width: 100%;
    text-align: center ;
    font-size: 130%;
    top: 50%;
    -ms-transform: translate(0,-50%);
    -webkit-transform: translate(0,-50%);
    transform: translate(0,-50%);
    /*文字の装飾は省略*/
    }
  .precinct span {font-size: 70%;}
  .precinct img {
    width: 100%;
    }



/*トップボタン*/ 
.topboder-l{border-top: 1px solid #c6c693;background: #c6c693;border-right: 1px solid #c6c693;}
.topboder-r{border-top: 1px solid #c6c693;background: #c6c693;}
.topboder-l-last{border-bottom: 1px solid #c6c693;border-top: 1px solid #c6c693;background: #c6c693;border-right: 1px solid #c6c693;}
.topboder-r-last{border-bottom: 1px solid #c6c693;border-top: 1px solid #c6c693;background: #c6c693;}
@media (max-width: 800px) {
.topboder-l{border-top: 1px solid #c6c693;background: #c6c693;border-right: none;}
.topboder-l-last{border-bottom: none;border-top: 1px solid #c6c693;background: #c6c693;border-right:none;}
.topboder-r-last{border-bottom: 1px solid #c6c693;border-top: 1px solid #c6c693;background: #c6c693;}
}