.head{
  display: none;
}

.head-fixed-top-custom{
  display: block;
}


.logo_text{
  display: none;
}

.top_image_area{
  position: relative;
  
  width: 100%;
}

.logo_t_i{
  position: absolute;
  z-index: 20;
  top: 50%;
  left: 70%;
  transform: translateY(-50%) translateX(-50%);
  -webkit-transform: translateY(-50%) translateX(-50%);
}

.logo_t_i_shou{
  position: absolute;
  z-index: 20;
  bottom: 0%;
  left: 35%;
  transform: translateY(-50%) translateX(-50%);
  -webkit-transform: translateY(-50%) translateX(-50%);
}

.hitokoto_back{
  /*background-image: url(../img/sq_sidare.png);*/
  background-size: cover;
  
  background: linear-gradient(to bottom, #ff000000, #27006a, #27006a, #ff000000);
  color: #ffffff;
  font-weight: bold;
}

.hitokoto{
  position: relative;
  padding: 48px 0;
}

.mark_hitokoto{
  position:absolute;
  right: 0;
  top: -40px;
}

.ote_content{
  background-image: url(../img/haikei.jpg);
  background-attachment: fixed;
  background-size: cover;
  padding: 48px 0 ;
  
}

.kon_area{
  margin: 24px 0 120px 0;
  padding: 15px;
  background-color: rgba(39, 0, 106, 0.17);
  border-radius: 0 20px;

  display: flex;
  align-items: center;
}

.s_web_area{
  margin: 54px 0 0px 0;
  padding: 15px;
  background-color: rgb(255 255 255 / 50%);
  border-radius: 20px 0px;

  display: flex;
  align-items: center;
}

.kon_area:hover{
  background-color: #27006a;
  color: #ffffff !important;
}

.s_web_area:hover{
  background-color: #27006a;
  color: #ffffff !important;
}


.kon_img {
  width: 50%;
  padding-right: 15px;
}

.kon_img img{
  border-radius: 20px;
}

.kon_naiyou {
  width: 50%;
}

.gyouji_area{
  padding: 24px 0 8px 0;
  border-bottom: 1px solid #31046d;
}

.gyouji_area p{
  margin-bottom: 12px;
}

.gyouji_line{
  margin-top: 12px;
  margin-bottom: 0px;
  border-top: 2px solid #27006a;
}

.gyo_ji_title{
  font-weight: bold;
	padding-top: 8px;
}

.about_joudo{
  margin-top: 24px;
}

.pet_img{
  margin-top: 24px;
  text-align: center;
}

.pet{
  margin-bottom: 120px;
}


.gohan_img img {
  border: 3px solid #beab55;
}

.gohan_area {
  margin: 24px 0 0px 0;
  display: flex;
  align-items: center;
}

.gohan_img {
  width: 50%;
  padding-right: 15px;
}

.kon_naiyou{
  font-weight: bold;
}

.otera_img{
  margin: 24px 0;
}

.otera_name{
  font-weight: bold;
}

.tem_name{
  font-size: 24px;
}

.otera_address{
  margin-top: 42px;
}

.otera_map {
  margin-top: 24px;
  text-align: center;
}

.otoi{
  color: #27006a;
  font-weight: bold;
  font-size: 18px;
  margin-top: 48px;

  text-align: center;
}

.scroll {
  position: relative;
  z-index: 100;
}

.top_otera_img{
  width: 100%;
  height: 700px;
  object-fit: cover;
}

.youtube{
  margin-top: 24px;
}

.about_sho_fu_ku{
  margin: 32px 0;
}


.gohan_area:hover {
  filter: drop-shadow(5px 5px 5px #aaa);
}


.title_kongetsu{
  /*background-image: url(../img/c_1.jpg);
  background-position: center;
  background-size: cover;
  */
  position: relative;
  margin-bottom: 32px;
}

.re_ab{
  position: absolute;

  top: -20px;
  right: 18px;
}

.re_ab_2{
  position: absolute;

  top: -20px;
  left: 18px;
}

.re_ab_2 img,
.re_ab img {
  width: 60px;
}

img.img_back {
  border-top: solid 2px #ab964a;
  border-bottom: solid 2px #ab964a;
}



.gyouji_iti,
.kongetsu{
  padding-bottom: 120px;
}



.top_otera_img {
  animation: animationZoom2 10s ease-in-out;
}


@keyframes animationZoom2 {
  0% {
    object-position: 100% 100%;
    }

  100% {
    object-position: 50% 50%;
    
  }

  
}

.top_view_img{
  animation: fadeIn 3s ease  normal;
  
}
@keyframes fadeIn { /*animation-nameで設定した値を書く*/
  0% {opacity: 0} /*アニメーション開始時は不透明度0%*/
  100% {opacity: 1} /*アニメーション終了時は不透明度100%*/
}

.top_view_img_logo{
  animation: fadeIn2 6s ease  normal;
	
  
}
@keyframes fadeIn2 { /*animation-nameで設定した値を書く*/
  0% {opacity: 0} /*アニメーション開始時は不透明度0%*/
  100% {opacity: 1} /*アニメーション終了時は不透明度100%*/
}


/****タイトルアニメーション***/
.title_area{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
}
.bd{
	position: relative;
	text-align: center;
	
  margin: 24px auto;
  width: 240px;
  height: 120px;
  display: flex;
  align-items: center;

  color: #ffffff;
  font-size: 24px;
  font-weight: bold;
  text-shadow: 2px 2px 0px #ac964a;
}

.in{
  width: 100%;
}

.active .bt{
	
	position: absolute;
	left: 0%;
	top: 0;
	width: 0;
	border-top: solid 2px #ffffff;
	animation: border_anim 3s linear forwards;
}

@keyframes border_anim {
	0%{
		width: 0%;
	}
	100%{
		width: 100%;
	}
}

.active .bb{
	
	position: absolute;
	right: 0%;
	bottom: 0;
	width: 0;
	border-bottom: solid 2px #ffffff;
	animation: border_anim_b 3s linear forwards;
}

@keyframes border_anim_b {
  0%{
		width: 0%;
	}
	100%{
		width: 100%;
	}
}

.active .br{
	
	position: absolute;
	right: 0%;
	top: 0;
	height: 0;
	border-right: solid 2px #ffffff;
	animation: border_anim_r 3s linear forwards;
}

@keyframes border_anim_r {
  0%{
		height: 0%;
	}
	100%{
		height: 100%;
	}
}

.active .bl{
	
	position: absolute;
	left: 0%;
	bottom: 0;
	height: 0;
	border-left: solid 2px #ffffff;
	animation: border_anim_l 3s linear forwards;
}

@keyframes border_anim_l {
  0%{
		height: 0%;
	}
	100%{
		height: 100%;
	}
}

/***アニメーションsample***/
/*アニメ―ションする要素を非表示にする*/
.invisible {
  visibility: hidden;
}

.wrap {
  margin: 80vh 0 40vh;
  width: 100%;
  overflow: hidden;
}

.box {
  width: 150px;
  margin: 30px auto;
  padding: 10px;
  background: #005425;
  color: #fff;
  text-align: center
}


/****ボタン装飾*****/
.b_area{
  display: flex;
  justify-content: center;
  align-items: center;
  background: #FAFAFA;
  margin: 24px;
  text-align: center;
}

.a_btn {
  padding: 20px 40px;
  background: none;
  border: none;
  position: relative;
  text-transform: uppercase;
  font-weight: bold;
  letter-spacing: 3px;
  cursor: pointer;
}
.a_btn:after, .a_btn:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  border: 1px solid #000;
  transition: transform 0.2s;
}
.a_btn:after {
  transform: translate(3px, 3px);
}
.a_btn:before {
  transform: translate(-3px, -3px);
}
.a_btn:hover:after, .a_btn:hover:before {
  transform: translate(0);
  border:3px solid rgb(194, 44, 44);
}

/******画像フェードイン*****/
.hdn{
  display: none;
}

.an3-fadedown {
  display: block;
  font-size: 30px;
  font-weight: bold;
  animation-name: fadedown;
  animation-duration: 2s;
}

@keyframes fadedown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0px);
  }
}




/****スマホ画面****/
@media screen and (max-width: 788px){


  img.top_view_img {
    width: 58px;
  }

  img.top_view_img_logo {
    width: 120px;
  }

  .ote_content{
    padding: 84px 0 ;
    
  }



  .kon_area{
    display: block;
  }

  .s_web_area{
    display: block;
  }
  
  .kon_img {
    width: 100%;
    padding-right: 0px;
    
  }
  
  .kon_naiyou {
    width: 100%;
    padding-top: 15px;
  }

  .gohan_area {
    display: block;
  }

  .gohan_img {
    width: 100%;
    padding-right: 0px;
  }

  .top_otera_img {
    height: 600px;
  }




  .hitokoto_back{
    background-position: center;
  }


}

/****PC画面****/
@media screen and (min-width: 788px){

  .mark_hitokoto img {
    width: 140px;
  }

  .logo_t_i img {
    width: 60px;
  }

  .yane,
  .yane2{
    text-align: center;
  }

  .hitokoto {
    text-align: center;
  }

	.logo_t_i_shou img {
    width: 120px;
	}

	.pc_flex{
		display: flex;
		justify-content:space-between;
	}

	.title_kongetsu{
		width: 40%;
	}

	.pc_f_right{
		width: 55%;
	}

	.pc_f_right {
    margin-top: 60px;
	}

	.ote_content {
    padding-left: 140px !important;
		padding-right:20px !important;
		padding-top: 120px !important;
	}
	

	

}

/****巨大画面****/
@media screen and (min-width: 1825px){

	.logo_t_i{
		left: 55vw;
	}
	
	.logo_t_i_shou{
		left: 45vw;
	}

}