@import 'https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.7.2/css/all.min.css';
html {
  scroll-behavior: smooth;
  font-size: 62.5%;
}
body {
  color: #111;
  font-family: YuMincho, "Yu Mincho", "游明朝", "Hiragino Mincho ProN", "serif";
  font-size: 1.6rem;
  letter-spacing: 0.05em;
  line-height: 1.8;
  margin: 0;
  padding: 0;
  -webkit-text-size-adjust: 100%;
}
h1, h2, h3, h4, h5, h6, ul, li, ol, dl, dt, dd {
  list-style: none;
  font-weight: normal;
  margin: 0;
  padding: 0;
}
a {
  color: #111;
  text-decoration: none;
}
a:hover {
  opacity: 0.8;
  filter: alpha(opacity=80);
  -ms-filter: "alpha(opacity=80)";
}
img {
  vertical-align: baseline;
  max-width: 100%;
}
.cf:before, .cf:after {
  content: " ";
  display: table;
}
.cf:after {
  clear: both;
}
.cf {
  *zoom: 1;
}
.pc {
  display: block;
}
.sp {
  display: none;
}
@media screen and (max-width: 768px) {
  .pc {
    display: none;
  }
  .sp {
    display: block;
  }
}

.main{
  background: url("../img/tenjinmatsuri/bg.jpg") no-repeat 50% 0;
  background-size: cover;
  height: 90vh;
  text-align: center;
  width: 100%;
}
.main img{
  max-height: 90vh;
}
.nav{
  background: #111;
  width: 100%;
  height: 70px;
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  left: 0;
  color: #FFF;
  z-index: 9;
}
#ohaguruma,#access{
  margin-top: -70px;
  padding-top: 70px;
}
.nav ul{
  display: flex;
  align-item: center;
  justify-content: space-between;
  margin: 0 auto;
  text-align: center;
  padding: 9px 0;
  width: 620px;
}
.nav ul li a{
  border: 1px solid #FFF;
  color: #FFF;
  display: block;
  align-items: center;
  font-size: 1.6rem;
  height: 50px;
  line-height: 50px;
  position: relative;
  text-align: center;
  transition : 0.5s;
  width: 300px;
}
.nav ul li a::after{
  content: "\f078";
  font-family: "Font Awesome 6 Free";
  font-size: 1.4rem;
  font-weight: 700;
  right: 20px;
  position: absolute;
}
.nav ul li a:hover{
  background: #FFF;
  color: #111;
  opacity: 1.0;
  filter: alpha(opacity=100);
  -ms-filter: "alpha(opacity=100)";
}
.nav ul li a:hover::after{
  color: #111;
}
.youtube{
  background: #111;
  margin-top: -1px;
  padding: 30px 0;
  text-align: center;
}
.youtube iframe{
  aspect-ratio: 1200/675;
  margin: 0 auto;
  width: 90%;
  max-width: 800px;
}
.ttl{
  font-size: 4.0rem;
  text-align: center;
  margin-bottom: 50px;
  padding-bottom: 5px;
  position: relative;
}
.ttl::after{
  background: #D70D0D;
  bottom: 0;
  content: "";
  height: 3px;
  left: calc(50% - 25px);
  position: absolute;
  width: 50px;
}
.section_box{
  margin: 0 auto;
  padding: 80px 0;
  max-width: 800px;
  width: 90%;
}
.ohaguruma,.schedule,footer{
  background: #E9E9E9;
}
.section_box p{
  margin: 0 0 2.0em 0;
}
.marT20{
  margin-top: 20px;
}
.marB40{
  margin-bottom: 40px;
}
.summary,.access{
  background: #141A3C;
  color: #FFF;
}
.summary a{
  color: #FFF;
  text-decoration: underline;
}
.detail dt{
  border-bottom: 1px solid #FFF;
  font-size: 2.4rem;
  font-weight: 600;
  padding-bottom: 0.2em;
}
.detail dd{
  margin: 1.0em 0 2.0em 0;
}
.detail dd .list li{
  padding-left: 1.0em;
  position: relative;
}
.detail dd .list li::after{
  content: "・";
  left: 0;
  top: 0;
  position: absolute;
}
.half{
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}
.half li:last-child{
  font-size:1.2rem;
  text-align: right;
  width: 300px;
}
.notes{
  border: 1px solid #FFF;
  padding: 1.0em;
}
.schedule_list dt{
  color: #FFF;
  font-size: 3.0rem;
  height: 75px;
  line-height: 75px;
  padding-left: 120px;
}
.schedule_list dt:nth-of-type(1){
  background: url("../img/tenjinmatsuri/01.png") no-repeat 5px 0 #141A3C;
}
.schedule_list dt:nth-of-type(2){
  background: url("../img/tenjinmatsuri/02.png") no-repeat 5px 0 #141A3C;
}
.schedule_list dt:nth-of-type(3){
  background: url("../img/tenjinmatsuri/03.png") no-repeat 5px 0 #141A3C;
}
.schedule_list dd{
  margin: 1.0em 0 3.0em 0;
}
.schedule_list dd:last-of-type{
  margin-bottom: 0;
}
.schedule_list dd a{
  text-decoration: underline;
}
.access .map iframe{
  height: 450px;
  margin-bottom: 40px;
  width: 100%;
}
.access .map_btn a{
  background: #FBBC05;
  color: #FFF;
  display: block;
  font-size: 2.4rem;
  height: 60px;
  line-height: 60px;
  margin: 0 auto;
  text-align: center;
  transition : 0.5s;
  width: 100%;
  max-width: 300px;
}
.access .map_btn a:hover{
  background: #FFF;
  color: #141A3C;
  opacity: 1.0;
  filter: alpha(opacity=100);
  -ms-filter: "alpha(opacity=100)";
}
.access .map_btn a i{
  padding-left: 15px;
}
footer .section_box{
  padding: 80px 0 0 0;
}
footer a{
  text-decoration: underline;
}
.instagram{
  margin: 30px auto;
  text-align: center;
}
.instagram a {
  display: inline-block;
}
.instagram a span{
  position: relative;
  display: inline-block;
  width: 46px;
  height: 46px;
  background: -webkit-linear-gradient(135deg, #427eff 0%, #f13f79 70%) no-repeat;
  background: linear-gradient(135deg, #427eff 0%, #f13f79 70%) no-repeat;
  overflow: hidden;
  border-radius: 13px;
  -moz-border-radius: 13px;
  -webkit-border-radius: 13px;

}
.instagram a span:before{
  content: '';
  position: absolute;
  top: 23px;
  left: -18px;
  width: 60px;
  height: 60px;
  background: -webkit-radial-gradient(#ffdb2c 10%, rgba(255, 105, 34, 0.65) 55%, rgba(255, 88, 96, 0) 70%);
  background: radial-gradient(#ffdb2c 10%, rgba(255, 105, 34, 0.65) 55%, rgba(255, 88, 96, 0) 70%);
}
.instagram .fa-instagram {
  color: #FFF;
  position: relative;
  z-index: 2;
  font-size: 35px;
  line-height: 46px;
}
.copy{
  border-top: 1px solid #111;
  font-size: 1.4rem;
  padding: 1.5em 0 120px 0;
  text-align: center;
}
.btn_form{
  display: none;
  position: fixed;
  bottom: 15px;
  left: 0;
  text-align: center;
  z-index: 10;
  width: 100%;
}
.btn_form a{
  background: #D70D0D;
  border-radius: 100px;
  -moz-border-radius: 100px;
  -webkit-border-radius: 100px;
  box-shadow: 5px 5px rgba(0,0,0,.5);
  color: #FFF;
  display: block;
  font-size: 2.4rem;
  font-weight: 600;
  margin: 0 auto;
  padding: 0.8em 0;
  transition : 0.5s;
  width: 500px;
}
.btn_form a i{
  padding-left: 10px;
}
.btn_form a:hover{
  background: #FBBC05;
  opacity: 1.0;
  filter: alpha(opacity=100);
  -ms-filter: "alpha(opacity=100)";
}

@media screen and (max-width: 768px) {
  body {
    font-size: 1.4rem;
  }
  .main{
    height: 110vw;
  }
  .main img{
    height: 110vw;
  }
  .nav ul{
    width: 90%;
  }
  .nav ul li{
    width: 48%;
  }
  .nav ul li a{
    font-size: 1.4rem;
    height: 50px;
    line-height: 40px;
    width: 100%;
  }
  .nav ul li a::after{
    font-size: 1.2rem;
    height: 1.0em;
    line-height: 1.0;
    right: calc(50% - 0.5em);
    bottom: 7px;
  }
  .ttl{
    font-size: 2.6rem;
    margin-bottom: 40px;
  }
  .ttl::after{
    height: 2px;
    left: calc(50% - 20px);
    width: 40px;
  }
  .section_box{
    padding: 50px 0;
  }
  .section_box p{
    margin: 0 0 1.5em 0;
  }
  .marT20{
    margin-top: 10px;
  }
  .marB40{
    margin-bottom: 20px;
  }
  .detail dt{
    font-size: 2.0rem;
  }
  .half li{
    width: 100%;
  }
  .half li:last-child{
    font-size:1.0rem;
    margin: 10px auto 0 auto;
    width: 70%;
  }
  .schedule_list dt{
    font-size: 1.8rem;
    height: 40px;
    line-height: 40px;
    padding-left: 65px;
  }
  .schedule_list dt:nth-of-type(1),
  .schedule_list dt:nth-of-type(2),
  .schedule_list dt:nth-of-type(3){
    background-size: auto 40px;
  }
  .access .map iframe{
    height: 90vw;
    margin-bottom: 30px;
  }
  .copy{
    font-size: 1.2rem;
    padding-bottom: 90px;
  }
  .btn_form{
    bottom: 0;
  }
  .btn_form a{
    border-radius: 0;
    -moz-border-radius: 0;
    -webkit-border-radius: 0;
    font-size: 2.0rem;
    height: 70px;
    line-height: 70px;
    padding: 0;
    width: 100%;
  }
}