/*
.nav_item:first-child{

	background-image: url(../img/bg/bg_page01.jpg);
	background-position:bottom right;
	background-repeat: no-repeat;
	background-size: ;
}
*/

header {
  transition: opacity 1s ease;
}

.anime1 {
  transition: opacity 0.8s ease-in 1.6s;
}
.anime2 {
  transition: opacity 0.8s ease-in 1.7s;
}
.anime3 {
  transition: opacity 0.8s ease-in 1.8s;
}

.anime3a {
  transition: opacity 1s ease-in 0.8s;
  opacity: 1;
}
.anime3b {
  opacity: 0;
}

#main {
  transition: opacity 1s ease;
}

@media screen and (min-width: 769px) {
  /*
�΁@#4d6a79
�ԁ@#8b1129
���@#e3bd4f
*/
}

@media screen and (max-width: 768px) {
  /*��������������������768px��������������������768px��������������������768px��������������������768px��������������������768px��������������������768px��������������������768px��������������������768px��������������������768px��������������������768px��������������������768px��������������������768px��������������������768px��������������������768px��������������������768px��������������������768px��������������������768px��������������������768px��������������������768px��������������������*/

  #top_news {
    z-index: 999;
    box-sizing: border-box;
    display: block;
    position: relative;
    overflow: hidden;

    width: 100%;
    margin-top: 8vh;
    padding: 0;

    transition: opacity 2s ease;
  }

  #top_news img {
    position: relative;
    display: block;
    width: 100%;
  }

  #bg_ume {
    position: absolute;
    margin-top: -3rem;
    right: -1rem;
    width: 80%;
    transform: rotate(-10deg);
    opacity: 0.2;
  }

  #main {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
  }

  #main .block01 {
    position: relative;
    width: 100%;
    padding: 0;
    margin: 0;
  }

  #main .block02 {
    position: relative;
    box-sizing: border-box;

    width: 90%;
    padding: 3rem 0 0 0;
    margin: 0 auto;
  }

  .textarea_hr01 {
    width: 50%;
    margin-top: 4rem;
    margin-bottom: 4rem;
  }

  .icon1 span:nth-child(1) {
    font-size: 3rem;
    margin: -0.7rem 0 0 -1rem;
    color: #a0ad15;
  }
  .icon1 span:nth-child(2) {
    font-size: 1.8rem;
    margin: 1.2rem 0 0 1.7rem;
    color: #f45640;
  }
  /*.icon1 span:nth-child(3){font-size:1rem;margin:-0.6rem 0 0 4rem;color:#f45640;}*/
  .icon1 span:nth-child(3) {
    font-size: 1.5rem;
    margin: -0rem 0 0 4.4rem;
    color: #faa033;
  }

  .icon2 span:nth-child(1) {
    font-size: 3rem;
    margin: -0.7rem 0 0 -1rem;
    color: #f45640;
  }
  .icon2 span:nth-child(2) {
    font-size: 1.8rem;
    margin: 1.2rem 0 0 3rem;
    color: #a0ad15;
  }
  .icon2 span:nth-child(3) {
    font-size: 1rem;
    margin: -0.6rem 0 0 5rem;
    color: #f45640;
  }
  .icon2 span:nth-child(4) {
    font-size: 1.6rem;
    margin: 1.2rem 0 0 8.6rem;
    color: #faa033;
  }

  .icon3 span:nth-child(1) {
    font-size: 3rem;
    margin: -2rem 0 0 2rem;
    color: #faa033;
  }
  .icon3 span:nth-child(2) {
    font-size: 4.6rem;
    margin: 2rem 0 0 12rem;
    color: #a0ad15;
  }
  .icon3 span:nth-child(3) {
    font-size: 2rem;
    margin: 6rem 0 0 5rem;
    color: #f45640;
  }
  .icon3 span:nth-child(4) {
    font-size: 3rem;
    margin: 10rem 0 0 16rem;
    color: #f45640;
  }

  .block01 .textarea {
    display: block;
    box-sizing: border-box;

    width: 100%;
    padding: 0.5rem 1.3rem 3rem 1.3rem;

    font-size: 1.2rem;
    letter-spacing: 0.1rem;
    text-shadow: 0px 0px 3px #ffffff, 1px 1px 2px rgba(0, 0, 0, 0.45),
      1px 1px 2px rgba(0, 0, 0, 0.45);
  }

  .block01 .bgimg_top {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    transform: rotate(180deg);
    opacity: 0.1;
  }

  .block01 .bgimg_bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50%;
    opacity: 0.1;
  }

  .block02 .bgimg_bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50%;
    opacity: 0.1;
  }

  .text_big1 {
    font-size: 1.8rem;
  }

  .text_hl {
    display: inline;
    font-weight: bold;
    text-shadow: 0px 0px 3px #ffffff, 1px 1px 2px rgba(0, 0, 0, 0.45),
      1px 1px 2px rgba(0, 0, 0, 0.45);
  }

  .eventphoto1 {
    display: block;
    position: relative;
    width: 90%;
    left: 5%;
    height: auto;

    -webkit-box-shadow: 6px 6px 9px -4px rgba(0, 0, 0, 0.49),
      6px 6px 9px -4px rgba(0, 0, 0, 0.49);
    box-shadow: 6px 6px 9px -4px rgba(0, 0, 0, 0.49),
      6px 6px 9px -4px rgba(0, 0, 0, 0.49);

    margin: 2rem 0 1rem 0;
  }

  .eventphoto2 {
    display: block;
    position: relative;
    width: 60%;
    left: 20%;
    height: auto;

    -webkit-box-shadow: 6px 6px 9px -4px rgba(0, 0, 0, 0.49),
      6px 6px 9px -4px rgba(0, 0, 0, 0.49);
    box-shadow: 6px 6px 9px -4px rgba(0, 0, 0, 0.49),
      6px 6px 9px -4px rgba(0, 0, 0, 0.49);

    margin: 2rem 0 1rem 0;
  }

  .fullimg {
    display: block;
    position: relative;
    width: 100%;
    height: auto;

    border-bottom: 1px solid black;
  }

  .block02 .event4 span:nth-of-type(5) {
    display: inline-block;
    box-sizing: border-box;

    width: 100%;
    padding: 0.5rem 0.5rem 0.5rem 0.5rem;

    font-size: 1rem;
    text-align: center;
  }

  .event4 img:nth-of-type(1) {
    position: relative;
    display: inline-block;
    width: 35%;
    padding-right: 10%;
  }

  .event4 img:nth-of-type(2) {
    position: relative;
    display: inline-block;
    width: 45%;
  }

  .event4 .torikeshi_text {
    margin: 0 1rem 0 1rem;
  }

  .torikeshi {
    display: inline-block;
    position: relative;
    opacity: 0.6;
  }

  .torikeshi::before {
    content: "";
    width: 100%;
    height: 1px;
    border-top: solid 1px #f66;
    position: absolute;
    left: 0;
    top: calc(50% - 3px);
  }

  .torikeshi::after {
    content: "";
    width: 100%;
    height: 1px;
    border-bottom: solid 1px #f66;
    position: absolute;
    left: 0;
    bottom: calc(50% - 3px);
  }

  .torikeshi_text {
    color: #f66;
  }

  .event_cancelled {
    display: block;
    position: absolute;
    background-color: rgba(250, 220, 150, 0.8);

    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    overflow: hidden;

    text-shadow: 0px 0px 3px #ffffff, 1px 1px 2px rgba(0, 0, 0, 0.45),
      1px 1px 2px rgba(0, 0, 0, 0.45);
  }

  .obi01 {
    display: block;
    position: relative;

    width: 200%;
    height: 4rem;

    transform: translateX(-25%) rotate(10deg);

    padding: 0.4rem 0 0 0;

    font-size: 1.2rem;
    line-height: 1.8rem;

    background-color: rgba(25, 125, 0, 0.3);
  }

  .event2 .obi01 {
    margin-top: 15rem;
  }

  .event3 .obi01 {
    margin-top: 25rem;
  }

  .block02 .event2 span:nth-of-type(1) {
    background-image: url("../img/bg/bg_page01.jpg");
  }
  .block02 .event3 span:nth-of-type(1) {
    background-image: url("../img/bg/bg_page01.jpg");
  }

  #main .block03 {
    position: relative;
    box-sizing: border-box;

    width: 90%;
    padding: 2rem 0 0 0;
    margin: 0 auto;
  }

  .icon5 span:nth-child(1) {
    font-size: 3rem;
    margin: -1rem 0 0 6rem;
    color: #a0ad15;
  }
  .icon5 span:nth-child(2) {
    font-size: 1.8rem;
    margin: 1rem 0 0 10rem;
    color: #f45640;
  }
  .icon5 span:nth-child(3) {
    font-size: 1.4rem;
    margin: -0.6rem 0 0 13rem;
    color: #faa033;
  }

  #map_jigenji {
    width: 100%;
    height: calc(90vw / 4 * 3);
  }

  .textarea_hr02 {
    width: 50%;
    margin-top: 2rem;
    margin-bottom: 2rem;
  }

  .block03 .contact_text {
    font-size: 1.2rem;
    text-align: center;
  }

  .block03 .contact_text span {
    display: block;
  }

  .yt-wrapper {
    position: relative;
    width: 100%;
  }
  .yt-wrapper:before {
    content: "";
    display: block;
    padding-top: 56.25%;
  }
  .yt-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }
}

.new {
  display: inline;
  color: black;
}

.news_img {
  display: block;
  width: 100%;
  margin-top: 0rem;
  margin-bottom: 1rem;

  -webkit-box-shadow: 0px 5px 10px 0px rgba(0, 0, 0, 0.64);
  box-shadow: 0px 5px 10px 0px rgba(0, 0, 0, 0.64);
}

.midashi1 {
  font-size: 1.6rem;
  text-align: center;
  padding: 0.5rem 0 0.5rem 0;

  text-shadow: 0px 0px 3px #ffffff, 1px 1px 2px rgba(0, 0, 0, 0.45),
    1px 1px 2px rgba(0, 0, 0, 0.45);
}

.icon span {
  z-index: -1;
  display: block;
  position: absolute;
  font-family: Musashino33k;
  opacity: 0.3;
}

.icon4 span:nth-child(1) {
  font-size: 3.4rem;
  margin: -0.4rem 0 0 2rem;
  color: #f45640;
}
.icon4 span:nth-child(2) {
  font-size: 2.2rem;
  margin: 1.4rem 0 0 8rem;
  color: #a0ad15;
}
.icon4 span:nth-child(3) {
  font-size: 1.2rem;
  margin: -0.6rem 0 0 12rem;
  color: #f45640;
}
.icon4 span:nth-child(4) {
  font-size: 1.8rem;
  margin: 2.4rem 0 0 19rem;
  color: #faa033;
}

.block02 .event {
  position: relative;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  border: solid 1px black;

  padding-bottom: 0.5rem;
  margin-bottom: 3rem;
}

.block02 .event span:nth-of-type(1) {
  display: block;
  box-sizing: border-box;

  width: 100%;
  padding: 0.2rem 0 0.2rem 0;

  font-size: 2rem;
  text-align: center;
  border-bottom: solid 1px black;

  background-image: url("../img/bg/bg_page02.jpg");
  background-size: cover;

  text-shadow: 0px 0px 5px #ffffff, 0px 0px 3px #ffffff,
    3px 2px 3px rgba(0, 0, 0, 0.3), 3px 2px 3px rgba(0, 0, 0, 0.3);
}

.block02 .event span:nth-of-type(2) {
  display: inline-block;
  box-sizing: border-box;

  width: 50%;
  padding: 0.1rem 0 0.1rem 0;

  font-size: 1.2rem;
  text-align: center;
  border-right: solid 1px black;
  border-bottom: solid 1px black;
}

.block02 .event span:nth-of-type(3) {
  display: inline-block;
  box-sizing: border-box;

  width: 50%;
  padding: 0.1rem 0 0.1rem 0;

  font-size: 1.2rem;
  text-align: center;
  border-bottom: solid 1px black;
}

.block02 .event span:nth-of-type(4) {
  display: inline-block;
  box-sizing: border-box;

  width: 100%;
  padding: 0.5rem 0.5rem 0.5rem 0.5rem;

  font-size: 1rem;
}

/*
#top_img {
  background-image: url(../img/jiin/top01.jpg);
  background-position: bottom left 10%;
  background-repeat: no-repeat;
  background-size: cover;
}

#top_img {
  position: absolute;
  display: block;
  width: 100%;
  height: 100%;

  overflow: hidden;
  bottom: 0;

  background-image: url(../img/jiin/top01.jpg);
  background-position: bottom center;
  background-repeat: no-repeat;
  background-size: cover;
}
*/
