@charset "UTF-8";
html {font-size: 120%;font-family: "sans-serif";
line-height: 1.8;
color: #432}

body {
  font-family: "sans-serif", "Yu Gothic Medium";
  margin: 0;
  animation: fadein 3s forwards;
}

@keyframes fadein {
	0% {opacity: 0}
	100% {opacity: 1}
}








a {
  text-decoration: none;
  color: #432;
}

a:hover {
  color: #0bd;
}

img {
  max-width: 100%;
}


.big-bg {
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
}



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

.logo {
  width: 240px;
  margin-top: 12px;
}

.main-nav {
  display: flex;
  font-size: 1rem;
  text-transform: uppercase;
  margin-top: 27px;
}

.main-nav li {
  margin-left: 36px;
  list-style: none;
}

.main-nav a {
  color: #432;
}

.main-nav a:hover {
  color: #0bd;
}

.wrapper {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 4%;
}

.home-content {
  text-align: center;
  margin-top: 10%;
}

.home-content p {
  font-size: 1rem;
  margin: 30px 0 42px;
}

.home-content .place {
  margin-bottom: 0;
  font-size: 30px;
  text-align: left;
  margin-left: 210px;
}

.page-title {
  margin-top: 0;
  font-size: 4.2rem;
  font-family: 'Philosopher', serif;
  text-transform: uppercase;
  font-weight: normal;
}

.home-page-title {
  font-size: 4rem;
  font-family: 'Philosopher', serif;
  text-transform: uppercase;
  font-weight: normal;
  text-align: center;
  padding-top: 60px;
}

.button {
  font-size: 1.2rem;
  background: #0bd;
  color: #fff;
  border-radius: 5px;
  padding: 12px 27px;
}


.button:hover {
  background: #0090aa;
}

/*h3 {
  color: #0090aa;
  border-bottom: 4px solid #0bd9;
}*/

h3 {
    position: relative;
    margin-bottom: 0.2rem;
    padding:0;
    border-bottom: 5px solid;
    color: #0bd9;
    font-size: 26px;
    font-weight: bold;
}

article h3:before {
    position: absolute;
    bottom: -0.6rem;
    left: 0rem;
    right: 0rem;
    border-bottom: 1px solid;
    content: '';
}

#ibukih {
  position: static;
}

.teachibu h3:before{
  display: none;
}



h4 {
  color: #0090aa;
  padding-left:10px;
  border-bottom: 2px solid #0bd9;
  border-left: 4px solid #0bd9;
}


table{
  width: 75%;
border-collapse: collapse;
}

tr {
  height: 40px;
}

th {
  width: 20%;
  background-color: #0bd3;
  border: 2px solid #0bd;
}

td {
  text-align: center;
  border: 2px solid #0bd;
}

.tah {
  width: 200px;
}


.biko {
  text-align: left;
}

.left-top {
  background-color: #fff;
  border: 0;
}


.taiken {
  width: 6rem;
  color: #0090aa;
  font-size: 80%;
  height: 40px;
  border-radius: 20px;
  border: 3px solid #0090aa;
}
.taiken:hover {
  background-color: #0090aa;
  color: #fff;
}

#home {
background-image: url(images/home.jpg);
min-height: 100vh;
}

#home .page-title{
  text-transform: none;
}


#teacher {
  background-image: url(images/class-title.png);
  height: 270px;
  margin-bottom: 40px;
}

#teacher .page-title {
  text-align: center;
}

#class {
  background-image: url(images/teacher.jpg);
  height: 270px;
  margin-bottom: 40px;
}

#class .page-title {
  text-align: center;
}

#lesson {
  background-image: url(images/lesson.jpeg);
  height: 270px;
  margin-bottom: 40px;
}

#lesson .page-title {
  text-align: center;
}


#contact {
  background-image: url(images/contact.jpeg);
  background-color: #fff5;
  background-blend-mode: screen;
  height: 270px;
  margin-bottom: 40px;
}

#contact .page-title {
  text-align: center;
}





article {
  width: 75%;
}

.home-article {
  width: 100%;
  padding: 5%;
}

aside {
  width: 21%;
}

aside p {
  padding: 12px 10px;
}

.teacher-contents {
  display: flex;
  justify-content: space-between;
  margin-bottom: 50px;
}


.post-info {
  position: relative;
  padding-top: 4px;
  margin-bottom: 40px;
}

.post-title {
  font-family: "Yu Mincho", "YuMincho", serif;
  font-size: 2rem;
  font-weight: normal;
  margin-left: 20px;
}

.post-cat {
  margin-left: 20px;
}

.sub-title {
  font-size: 1.25rem;
  padding: 0 8px 8px;
  border-bottom: 2px #0bd solid;
  font-weight: normal;
}

.sub-menu {
  margin-bottom: 60px;
  list-style: none;
}

.sub-menu li {
  border-bottom: 1px #ddd solid;
}

.sub-menu a {
  color: #432;
  padding: 10px;
  display: block;
}


.sub-menu a:hover {
  color: #0bd;
}


.left {
  float: left;
  margin-top: 30px;
}



.under {
  text-decoration: underline;
}

.sub-sub-title {
  margin-left: 20px;
}

.ibuki {
  float: left;
  width: 30%;
  margin-right: 30px;
  z-index:0;
}


.phone {
  display: none;
}

footer {
  background: #432;
  text-align: center;
  padding: 21px 0;
}

footer p {
  color: #fff;
  font-size: 0.8rem;
}

.icons img {
  width :80px;
  border-radius: 6px;
  margin-left: 30px;
  margin-right: 30px;
}

.iconn :hover {
  opacity: 0.5;
}


/** ギャラリーの全体。レスポンシブ対応でwidth:100%;max-width:～px;に写真の最大表示サイズを書く。 **/
#my_gal11{
  position:relative;
  top:0px;
  left:0px;
  width:100%;
  max-width:100%px;
  margin:auto;
}

/** 写真部分。アスペクト比維持のため、padding-top:～%;に写真部分の（高さ／幅）を％で書く。 **/
#my_gal11 .base{
  position:relative;
  top:0px;
  left:0px;
  padding-top:75%;
}

/** 写真部分の個々の写真。transition-duration:1s;はアニメーション速度。 **/
#my_gal11 .base img{
  position:absolute;
  top:0px;
  left:0px;
  z-index:1;
  width:100%;
  opacity:0;
  transition-property:opacity;
  transition-duration:1s;
}

/** サムネイル一覧。 **/
#my_gal11 .gallery{
  position:relative;
  top:-30px;
  left:0px;
  width:100%;
  margin-top:5px;
  text-align:center;
}

/** サムネイル。 **/
#my_gal11 .gallery img{
  width:8%;
  cursor:pointer;
}
#my_gal11 .gallery img:hover{
  opacity:0.5;
}



/* 初期状態で非表示にする */
.fade-in {
  opacity: 0;
  transform: translateX(100%);
}

/* フェードインのアニメーションを定義する */
@keyframes fade-in {
  from {
    opacity: 0;
    transform: translateX(100%);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* フェードインのアニメーションを適用する */
.fade-in {
  animation: fade-in 1s ease-out forwards;
}
