@charset "utf-8";

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400&display=swap');
@font-face {
  font-family: "Noto Sans JP";
  font-style: normal;
  src: url("NotoSansJP-Light-Subset.woff2") format("woff2");
  font-display: swap;
}

html,
html * {
  box-sizing: border-box;
  margin: 0 auto;
  padding: 0;
}
body {
  background: whitesmoke;
  font-family: 'Montserrat', 'Noto Sans JP', sans-serif;
}
header {
  background: black;
  /*position: fixed;	これやるとHeaderに次のコンテンツがめりこむ*/
  width: 100%;
  padding: 1.5em 1em;
}
footer {
  padding: 1.5em 1em;
  background-image: -webkit-linear-gradient(bottom left, rgb(255,91,127) 0%, rgb(255,213,86) 100%);
  background-image: -o-linear-gradient(bottom left, rgb(255,91,127) 0%, rgb(255,213,86) 100%);
  background-image: linear-gradient(to top right, rgb(255,91,127) 0%, rgb(255,213,86) 100%);
}
.copyright {
  text-align: center;
}

/* ------------------------------
  Common
 ------------------------------*/
main {
  max-width: 1400px;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

h1 {
  font-size: 1.3em;
}
h2 {
  font-size: 1.2em;
}
h3 {
  font-size: 1em;
}

.resetfloat {
  clear:left;
}

/* ------------------------------
  Navigation
 ------------------------------*/
nav {
  text-align: center;
  color: white;
  font-size: 1em;
  margin-top: 0.8em;
}
nav ul {
  list-style: none;
  padding: 0;
}
nav ul li {
  display: inline-block;
  padding: 0 0.5em 0.2em 0.5em;
  text-align: center;
}
nav ul li span {
  border-bottom: 1px solid #ffffff;
  display: inline-block;
  padding: 0;
}

a {
  position: relative;
  display: inline-block;
  color: #c58b33;
  text-decoration: none;
}
a::after {
  position: absolute;
  bottom: 0px;
  left: 0;
  content: '';
  width: 100%;
  height: 1px;
  background: #b87108;
  transform: scale(0, 1);
  transform-origin: right top;
  transition: transform .3s;
}
a:hover::after {
  transform-origin: left top;
  transform: scale(1, 1);
}

#logo {
  display: block;
  margin: auto;
  width: 200px;
  height: auto;
}

/* ------------------------------
  Intro
 ------------------------------*/
.intro {
  position: relative;
  height: auto;
}
.intro video {
  object-fit: cover;
  width: 100%;
  max-height: 600px;
}
.intro img {
  object-fit: cover;
  width: 100%;
  max-height: 600px;
}
.intro p {
  position: absolute;
  color: #E9E9E9;
  font-size: 1.0em;
  bottom: 5%;
  left: 0.5em;
}

/* ------------------------------
  Notice
 ------------------------------*/
.notice {
  padding: 1em;
  table {
    margin: 0;
    .title {
      min-width: 7em;
      text-align: right;
      padding-right: 1em;
    }
    .marker {
      background-image: repeating-linear-gradient(-45deg, #ff9aff 0, #ff9aff 3px, transparent 3px, transparent 6px);
      background-repeat: no-repeat;
      background-position: left bottom;
      background-size: 100% 20%;
    }
    td { padding-bottom: 0.5em; }
  }
  ul {
    padding-left: 2em;
    list-style: square;
  }
}
.calendar {
  padding: 1em;
  /*height: 30vh;	/* ViewPort全体のHeightに対する％*/
}

/* ------------------------------
  Classes
 ------------------------------*/
.classes {
  padding: 1em;
  .class-detail {
    padding: 1em 0;
  }
  .class-description {
    padding: 1.5em 0;
    table {
      width: 100%;
      margin: 0;
      th {
        background-color: whitesmoke;
        font-size: 0.8em;
        padding: 0.5em;
      }
      tr:nth-child(odd) {
        background-color: #ffe6fd;
      }
      tr:nth-child(even) {
        background-color: #ded0ff;
      }
      td {
        font-size: 0.8em;
        padding: 0.5em;
      }
      td.bold {
        font-weight: bold;
      }
      td.center {
        text-align: center;
      }
    }
    .comment {
      font-size: 0.8em;
    }
    iframe.map {
      width: 100%;
      height: 450px;
    }
  }
}

/* ------------------------------
  Gallery
 ------------------------------*/
.gallery {
  padding-bottom: 2em;
  /* .video {
  width: 100%;
  height: auto;
  } */
  h2 { text-align: center; }
  .swiper {
    width: 100%;
    height: 100%;
  }
  .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    img {
      object-fit: contain;
      max-height: 300px;
    }
  }
  .swiper-button-prev::after,
  .swiper-button-next::after { 
    font-size: 1.5em;
    background-color: white;
    padding: 10px;
    opacity: 0.8;
  }
  .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background-color: cyan;
    opacity: 0.4;
  }
  .swiper-pagination-bullet-active {
    background-color: blue;
    opacity: 1;
  }
  .autoplay-progress2024,
  .autoplay-progress2023,
  .autoplay-progress2021 {
    position: absolute;
    right: 5px;
    bottom: 5px;
    z-index: 10;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: var(--swiper-theme-color);
  }
  .autoplay-progress2024 svg,
  .autoplay-progress2023 svg,
  .autoplay-progress2021 svg {
    --progress: 0;
    position: absolute;
    left: 0;
    top: 0px;
    z-index: 10;
    width: 100%;
    height: 100%;
    stroke-width: 4px;
    stroke: var(--swiper-theme-color);
    fill: none;
    stroke-dashoffset: calc(125.6px * (1 - var(--progress)));
    stroke-dasharray: 125.6;
    transform: rotate(-90deg);
  }
}

/* ------------------------------
  Contact
 ------------------------------*/
 .contact {
  padding: 1em;

  .detail {
    padding: 1em 0;
  }
  .description {
    padding: 1.5em 0;

    img {
      height: 1.5em;
    }
  }
}

/* ------------------------------
  Sec
 ------------------------------*/
video {
  object-fit: cover;
  width: 100%;
  max-height: 600px;
}

/* ------------------------------
  Responsive(PC, TAB)
 ------------------------------*/
@media (min-width: 768px) {
  nav {
    float: right;
  }	

  h1 {
    font-size: 1.5em;
  }
  h2 {
    font-size: 1.3em;
  }
  h3 {
    font-size: 1.1em;
  }

  #logo {
    display: inline;
  }
  .notice,
  .classes, 
  .calendar,
  .gallery,
  .contact {
    padding: 2em 15%;
  }
  .gallery .swiper-slide img {
    max-height: 600px;
  }
  .intro p {
    font-size: 1.3em;
  }
    
  /* Classes */
  .classes {
    .class-description {
      table {
        border-spacing: 0.3em;

        th,
        td {
          font-size: 1em;
          padding: 0.5em 1em;
        }
      }    
    }
  }
}
