/* common */

html{
  scroll-behavior: smooth;
}

body {
  /* margin: 0; */
  color: #8b8686;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

h1, h2, h3, p {
  margin: 0;
  font-weight: normal;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

a {
  color: inherit;
  text-decoration: none;

}

.container {
  /* outline: solid 3px red; */
  max-width: 800px;
  margin: 0 16px;

}

img {
  vertical-align: bottom;
}

.nav_section_wrapper {
  flex: 1;
}

.current {
  border-bottom: solid 1px #8b8686;
}

/***追従するトップへ戻るボタン***/
#page-top {
  position: fixed;
  right: 10px;
  bottom: 20px;
  height: 50px;
  text-decoration: none;
  font-weight: bold;
  transform: rotate(90deg);
  font-size: 70%;
  line-height: 1.5rem;
  color: #8b8686;
  padding: 0 0 0 35px;
  border-top: solid 1px;
  transition: color 0.5s;
}
#page-top:hover {
  color: #b3aaaa;
}

#page-top::before {
  content: "";
  display: block;
  position: absolute;
  top: -1px;
  left: 0px;
  width: 15px;
  border-top: solid 1px;
  transform: rotate(35deg);
  transform-origin: left top;
}
/***トップへ戻るボタンここまで***/


/* index */
.dummy {
  flex: 1;
}


/* header */

header h1 {
  text-align: center;
  font-size: 20px;
  animation-name: fadein;
  animation-duration: 1s;
  transition: color 0.5s;
  padding-top: 8px;
}

header h1:hover {
  color: #b3aaaa;
}

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


/* nav */

nav ul {
  display: flex;
  margin-top: 20px;
  opacity: 0;
  animation:
    opacity 2s 0.4s forwards,
    slide 1.5s forwards;
}

@keyframes opacity {
  from {
      opacity: 0;
  }
  to {
      opacity: 1;
  }
}
@keyframes slide {
  from {
      width: 0%;
  }
  to {
      width: 100%;
      justify-content: space-between;
  }
}

nav li {
  font-size: 16px;
}

nav a {
  text-decoration: none;
  transition: color 0.5s;
}

nav a:hover {
  color: #b3aaaa;
}



/* about */

.about-wrapper .img-wrapper {
  text-align: center;
  padding: 32px 0 16px 0;
}

.about-wrapper h2 {
  font-size: 14px;
  padding: 16px 0 8px 0;
}

.about-wrapper p {
  font-size: 14px;
}

.about-wrapper h3 {
  padding: 16px 0 8px 0;
  font-size: 14px;
}

.about-wrapper img {
  opacity: 0;
  animation: opacityAboutImg 1.5s 1.2s forwards;
}

@keyframes opacityAboutImg {
  from {
      opacity: 0;
  } 
  to {
      opacity: 1;
  }
}

.about-text-wrapper {
  opacity: 0;
  animation: opacityAboutText 1.5s 1.7s forwards;
}

@keyframes opacityAboutText {
  from {
      opacity: 0;
  } 
  to {
      opacity: 1;
  }
}



/* schedule */

.schedule-wrapper {
  flex: 1;
  padding-top: 16px;
}

.schedule-wrapper .container {
  padding-top: 8px;
}

.toggle {
	display: none;
}
.Label {		/*タイトル*/
	padding: 1em 1em 0 1em;
	display: block;
	color: #8b8686;
	/* background:#019ac6; */
}
.Label::before{		/*タイトル横の矢印*/
	content:"";
	width: 6px;
	height: 6px;
	border-top: 2px solid #8b8686;
	border-right: 2px solid #8b8686;
	-webkit-transform: rotate(45deg);
	position: absolute;
	top:calc( 50% - 3px );
	right: 20px;
	transform: rotate(135deg);
}
.Label,
.content {
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
	transform: translateZ(0);
	transition: all 0.3s;
}
.content {		/*本文*/
	height: 0;
	margin-bottom: 0;
	padding:0 20px;
	overflow: hidden;
}
.toggle:checked + .Label + .content {	/*開閉時*/
	height: auto;
	padding: 20px;
	transition: all 0.5s;
}
.toggle:checked + .Label::before {
	transform: rotate(-45deg) !important;
}

.schedule-wrapper p + p {
  margin-top: 8px;
}

.schedule-wrapper p span {
  font-size: 12px;
}


/* スケジュールアニメーション */
.schedule-wrapper .c2025 {
  opacity: 0;
  animation: c2025 1.5s 0.9s forwards;
}
@keyframes c2025 {
  from {
      opacity: 0;
  } 
  to {
      opacity: 1;
  }
}

.schedule-wrapper .c2024 {
  opacity: 0;
  animation: c2024 1.5s 1.0s forwards;
}
@keyframes c2024 {
  from {
      opacity: 0;
  } 
  to {
      opacity: 1;
  }
}

.schedule-wrapper .c2023 {
  opacity: 0;
  animation: c2023 1.5s 1.1s forwards;
}
@keyframes c2023 {
  from {
      opacity: 0;
  } 
  to {
      opacity: 1;
  }
}

.schedule-wrapper .c2022 {
  opacity: 0;
  animation: c2022 1.5s 1.2s forwards;
}
@keyframes c2022 {
  from {
      opacity: 0;
  } 
  to {
      opacity: 1;
  }
}
.schedule-wrapper .c2021 {
  opacity: 0;
  animation: c2021 1.5s 1.3s forwards;
}
@keyframes c2021 {
  from {
      opacity: 0;
  } 
  to {
      opacity: 1;
  }
}
.schedule-wrapper .c2020 {
  opacity: 0;
  animation: c2020 1.5s 1.4s forwards;
}
@keyframes c2020 {
  from {
      opacity: 0;
  } 
  to {
      opacity: 1;
  }
}
.schedule-wrapper .c2019 {
  opacity: 0;
  animation: c2019 1.5s 1.5s forwards;
}
@keyframes c2019 {
  from {
      opacity: 0;
  } 
  to {
      opacity: 1;
  }
}
.schedule-wrapper .c2018 {
  opacity: 0;
  animation: c2018 1.5s 1.6s forwards;
}
@keyframes c2018 {
  from {
      opacity: 0;
  } 
  to {
      opacity: 1;
  }
}
.schedule-wrapper .c2017 {
  opacity: 0;
  animation: c2017 1.5s 1.7s forwards;
}
@keyframes c2017 {
  from {
      opacity: 0;
  } 
  to {
      opacity: 1;
  }
}
.schedule-wrapper .c2016 {
  opacity: 0;
  animation: c2016 1.5s 1.8s forwards;
}
@keyframes c2016 {
  from {
      opacity: 0;
  } 
  to {
      opacity: 1;
  }
}
.schedule-wrapper .c2015 {
  opacity: 0;
  animation: c2015 1.5s 1.9s forwards;
}
@keyframes c2015 {
  from {
      opacity: 0;
  } 
  to {
      opacity: 1;
  }
}
.schedule-wrapper .c2014 {
  opacity: 0;
  animation: c2014 1.5s 2.0s forwards;
}
@keyframes c2014 {
  from {
      opacity: 0;
  } 
  to {
      opacity: 1;
  }
}
.schedule-wrapper .c2013 {
  opacity: 0;
  animation: c2013 1.5s 2.1s forwards;
}
@keyframes c2013 {
  from {
      opacity: 0;
  } 
  to {
      opacity: 1;
  }
}
.schedule-wrapper .c2012 {
  opacity: 0;
  animation: c2012 1.5s 2.2s forwards;
}
@keyframes c2012 {
  from {
      opacity: 0;
  } 
  to {
      opacity: 1;
  }
}


/* present-wrapper */

.present-wrapper {
  flex: 1;
  opacity: 0;
  animation: present-wrapper 1s 1.5s forwards;
}

@keyframes present-wrapper {
  from {
      opacity: 0;
  } 
  to {
      opacity: 1;
  }
}

.present-wrapper .container {
  padding-top: 16px;
}

.present-wrapper li + li {
  margin-top: 8px;
}

.present-wrapper .movie-wrap {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /*アスペクト比 16:9の場合の縦幅*/
  margin-top: 8px;
}

.present-wrapper .movie-wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* padding-top: 16px; */
}

.present-wrapper .movie {
  padding-top: 8px;
}



/* contact-wrapper */

.contact-wrapper {
  flex: 1;
}

.contact-wrapper .container {
  text-align: center;
  margin-top: 24px;
}

.contact-wrapper a {
  opacity: 0;
  animation: opacitycontact 1s 1.2s forwards;
  transition: color 0.5s;
}

.contact-wrapper a:hover {
  color: #b3aaaa;
}

@keyframes opacitycontact {
  from {
      opacity: 0;
  } 
  to {
      opacity: 1;
  }
}



/* drumschool */

.drumschool {
  flex: 1;
}

.drumschool .container {
  margin-top: 32px;
}

.drumschool .drumschool-h2 {
  text-align: center;
  padding-bottom: 32px;
}

.drumschool h2 {
  display: inline-block;
  font-size: 16px;
  border-bottom: #8b8686 1px solid;
}

.drumschool h3 {
  font-size: 14px;
  background: #8b8686;
  color: white;
  border-radius: 4px;
  display: inline-block;
  margin-top: 16px;
}

.drumschool p {
  font-size: 14px;
  margin-top: 8px;
  line-height: 24px;
}


/* footer */

footer {
  margin-top: auto;
}

footer .container {
  font-size: 8px;
  text-align: center;
  padding: 16px 0;
}



/* responsive */

@media (min-width:500px) {
  /* body {
    background: skyblue;
} */

  nav .container {
    padding: 0 32px;
  }

  .about-wrapper .container {
    padding: 8px;
  }

  .present-wrapper .container {
    padding-top: 24px;
  }
  
  .present-wrapper li + li {
    padding-top: 16px;
  }
}


@media (min-width:600px) {
  /* body {
    background: pink;
  } */

  nav .container {
    padding: 0 64px;
  }

  .present-wrapper .movie {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
    justify-content: space-between;
    align-items: flex-start;
  }

  .present-wrapper .movie-wrap-parent {
    flex-basis: 49.5%;
  }
}


@media (min-width:700px) {
  /* body {
    background: green;
  } */

  header h1 {
    text-align: left;
  }

  /* nav {
    opacity: 0;
  } */

  nav .container {
    /* margin: 8px; */
    padding: 0 0;
    height: 170px;
  }

  nav h1 {
    text-align: left;
  }

  nav ul {
    flex-direction: column;
  }

  nav .about {
    animation: about 1.2s 0.3s forwards;
    width: 46px;
  }
  nav .schedule {
    animation: schedule 1.2s 0.3s forwards;
    width: 70px;
  }
  nav .present {
    animation: present 1.2s 0.3s forwards;
    width: 62px;
  }
  nav .contact {
    animation: contact 1.2s 0.3s forwards;
    width: 59px;  
  }

  @keyframes about {
    from {
        opacity: 0;
        transform: translateY(0);
    } 
    to {
        opacity: 1;
        transform: translateY(8px);
    }
  }
  @keyframes schedule {
    from {
        opacity: 0;
        transform: translateY(0);
    } 
    to {
        opacity: 1;
        transform: translateY(36px);
    }
  }
  @keyframes present {
    from {
        opacity: 0;
        transform: translateY(0);
    } 
    to {
        opacity: 1;
        transform: translateY(64px);
    }
  }
  @keyframes contact {
    from {
        opacity: 0;
        transform: translateY(0);
    } 
    to {
        opacity: 1;
        transform: translateY(92px);
    }
  }

  .about-wrapper .container {
    display: flex;
    padding-top: 48px;
    }

  .about-wrapper .img-wrapper {
    padding: 0;
  }

  .about-wrapper img {
    width: 300px;
    height: auto;
    margin-right: 16px;
  }

  .about-wrapper .about-text-wrapper h2 {
    padding: 0 0 8px 0;
  }

  .contact-wrapper {
    margin-right: auto;
    padding-left: 18px;
  }

  .contact-wrapper .container {
    margin-top: 36px;
    animation: contact-wrapper 0.5s 1s forwards;
    opacity: 0;
  }

  @keyframes contact-wrapper {
    from {
        opacity: 0;
    } 
    to {
        opacity: 1;
    }
  }

  .schedule-wrapper {
    padding-top: 12px;
  }

  .present-wrapper {
    /* padding-top: -15px; */
    padding-left: 17px;
  }

  .present-wrapper .container {
    padding-top: 36px;
  }
}



@media (min-width:800px) {
  footer .container {
    margin-left: auto;
    margin-right: auto;
  }
}

@media (min-width:870px) {
  .nav_section_wrapper {
    display: flex;
  }

  .about-wrapper .container {
    padding-top: 32px;
  }

  .schedule-wrapper {
    padding-top: 8px;
  }

  .present-wrapper .container {
    padding-top: 30px;
  }

  .present-wrapper li + li {
    padding-top: 19px;
  }

  .about-wrapper img {
    margin-right: 24px;
  }

  .drumschool .drumschool-h2 {
    text-align: left;
    margin-top: 0;
  }

  .drumschool .container {
    margin-top: 26px;
  }

  .drumschool p {
    margin-top: -4px;
    line-height: 2em;
  }

  .drumschool h3 {
    margin-top: 20px;
    margin-bottom: 8px;
  }
}

@media (min-width:1045px) {
  .drumschool .drumschool-h2 {
    text-align: center;
  }
}