@import url("animate.css");

html {
    font-size: 62.5%;
    height: auto;
    position: relative;    
}

html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, abbr, address, cite, code, del, dfn, em, img, ins, kbd, q, samp, small, strong, sub, sup, var, b, i, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, figcaption, figure, footer, header, hgroup, menu, nav, section, summary, time, mark, audio, video {
  margin: 0;
  padding: 0;
  -webkit-margin-before: 0;
  -webkit-margin-after: 0;
  -webkit-margin-start: 0;
  -webkit-margin-end: 0;
  border: 0;
  outline: 0;
  vertical-align: baseline;
  background: transparent;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  word-wrap: break-word;
  overflow-wrap: break-word;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}

body {
    font-feature-settings: 'palt';
    width: 100%;
    position: relative;  
    height: auto;
    overflow-y: auto;
    overflow-x: hidden;
}

*, :before, :after {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

.clearfix::after {
  content:'';
  display:block;
  clear:both;
}

article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
  display: block;
  width: 100%;
  height: auto;
}

a {
  margin: 0;
  padding: 0;
  text-decoration: none;
  cursor: pointer;
  color: #afc4c7;    
}

a:focus {
  outline: 0;
}

a:hover, a:active {
  outline: 0;
  color: #afc4c7;
	text-decoration: underline;
}

a img {
  border: 0;
}

img{
    outline:none;
    border-style:none;
	width: 100%;
    backface-visibility: hidden;
	vertical-align: bottom;
	font-size: 0;
	line-height: 0;
}

hr {
  border: 0;
  border-top: 1px dotted #afc4c7;
  margin: rem 0;
  padding: 0;
  width: 100%;
}

h1, h2, h3, h4, h5, h6, p, span, a {
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  vertical-align: initial;    
}

h1, h2, h3, h4, h5, h6{
  font-weight: 700;
}

.justify{
    text-align: justify;
}

small{
  font-size: 80%;    
}

ul{

}

li{
}

.flex{
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}


/* ==================================================== */


body{
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 1.2em;
    font-weight: 400;
    color: #858585;
    letter-spacing: .04rem;
    line-height: 1.8;   
}

body:before{

}

h1{
    font-family: 'Kaisei Opti', serif;
	font-size: 4rem;
    margin-bottom: 0;
	line-height: 1;
}

h2{
    font-family: 'Kaisei Opti', serif;
	font-size: 2.8rem;
	line-height: 1;
    margin-bottom: 5rem;
	padding-bottom: 0.8rem;
	color: #afc4c7;
	border-bottom: solid 1px #afc4c7;
}

h3{
    font-family: 'Kaisei Opti', serif;
	font-size: 2.4rem;
	line-height: 1;
    margin-bottom: 1.2rem;    
}

h4{
	font-family: 'Kaisei Opti', serif;
    font-size: 2rem;
    margin-bottom: 3rem;    
}

h5{
    font-size: 1.6rem;
    margin-bottom: rem;
}

p{
  font-size: 1.5rem;    
}

i {
	font-size: 2rem;
	margin-top: 2rem;
}

main{
	position: relative;
	width: 100%;
}

.section-inner, .global-nav-item-list{
    width: 92%;
	max-width: 940px;
    margin: 0 auto;
	position: relative;
}


.wrapper {
    display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	margin: 0 auto;
}

section{
    padding-top: 6rem;
}

.section-inner {
    margin: 0 auto;
	position: relative;
}

.img-border{
	border: 1px solid #e3e3e3;
}

.btn {
    font-size: 1.5rem;    
    position: relative;
    display: inline-block;
    padding: 0.7rem 2.2rem!important;
    border: solid 1px #afc4c7;
	background-position: 0 0;
	background-size: 200% auto;
	transition: .3s;
    color: #afc4c7;
    text-decoration: none;
	background-color: #fff;
}

.btn:hover {
	background-color: #afc4c7;
	color: #fff;
	text-decoration: none;
}

#schedule .btn {
	font-family: 'Kaisei Opti', serif;
	font-size: 1.8rem;  
    width: 60%;
	text-align: center;
	margin-top: 4rem;
}


/* ------- header ------- */

header {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 60px;
  background-color: transparent;
	z-index: 500;
}


.global-nav {
  position: fixed;
  right: -320px;
  top: 0;
  width: 320px;
  height: 100vh;
  background-color: #fff;
  transition: all .3s;
  z-index: 200;
  overflow-y: auto;
}
.hamburger {
  position: absolute;
  right: 0;
  top: 0;
  width: 60px; /* クリックしやすいようにちゃんと幅を指定する */
  height: 60px; /* クリックしやすいようにちゃんと高さを指定する */
  cursor: pointer;
  z-index: 300;
	background-color: #afc4c7;
}
.global-nav__list {
	position: relative;
  list-style: none;
	width: 100%;
	height: 100vh;
}

.global-nav__item__list{
	width: 100%;
	  position: absolute;
	top: 50%;
    transform: translateY(-50%);
}
.global-nav__item {
  text-align: center;
}
.global-nav__item a {
  display: block;
  text-decoration: none;
	font-family: 'Kaisei Opti', serif;
    font-size: 1.8rem;
	line-height: 1;
    color: #858585;
	padding: 2.4rem 0;
}

.global-nav__item a:hover {
	color: #858585;
	background: rgba(185, 205, 209, 0.1);
}

.hamburger__line {
  position: absolute;
  left: 13px;
  width: 34px;
  height: 1px;
  background-color: #fff;
  transition: all .3s;
}
.hamburger__line--1 {
  top: 17px;
}
.hamburger__line--2 {
  top: 30px;
}
.hamburger__line--3 {
  top: 43px;
}
.black-bg {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  z-index: 100;
  background-color: #555;
  opacity: 0;
  visibility: hidden;
  transition: all .3s;
  cursor: pointer;
}
/* 表示された時用のCSS */
.nav-open .global-nav {
  right: 0;
}
.nav-open .black-bg {
  opacity: .3;
  visibility: visible;
}
.nav-open .hamburger__line--1 {
  transform: rotate(45deg);
  top: 30px;
}
.nav-open .hamburger__line--2 {
  width: 0;
  left: 50%;
}
.nav-open .hamburger__line--3 {
  transform: rotate(-45deg);
  top: 30px;
}



/* ------- top ------- */

#top{
	padding-top: 0;
	position: relative;
}

#top img{
    top:0;
    position: relative;
    overflow: hidden;
    max-height: 100vh;
    object-fit: cover;
    object-position: 50% 5%;
}

.top-title{
	position: absolute;
	z-index: 100;
	width: 100%;
	line-height: 1;
	color: #afc4c7;
	background-color: rgba(255,255,255,0.90);
	top: 80%;
	text-align: center;
	padding: 1rem 0 1.5rem 0;
}

/* ------- profile ------- */

.profile-photo{
    width: 47%;
  }

.profile{
    width: 48%;
  }

.profile{
	text-align: justify;
}

/* ------- shedule ------- */

#schedule .wrapper{
	margin-top: 4rem;
}


.date{
	width: 47%;
	margin-bottom: 1rem;
}

.wp-post-image {
	width: 100%;
	height: auto;
}

.date img{
	width: 100%;
	height: auto;
	margin-bottom: 1rem;
}

.content{
	padding-top: 6rem;
	width: 48%;
	font-size: 1.5rem;   
}

.content img{
	width: 100%;
	height: auto;
	margin-bottom: 1rem;
}

/* ------- contact ------- */

form{
	width: 80%;
	margin: 0 auto;
	color: #858585;
}

.form-left, .form-right{
	width: 48%;
}

.form-control{
	width: 100%;
	height: 4rem;
	margin-bottom: 2rem;
	padding: 1rem;
	border: 1px solid #cccccc;
	border-radius: 0;
}

.form-control:focus {
border:	1px solid #cccccc;
outline:0;
}

.textarea{
	height: 22rem;
}

input , select , textarea , button{
font-size: 100%;
font-family: inherit;
}

::placeholder {
	font-family: 'Noto Sans JP', sans-serif;
	font-weight: 400;
	font-size: 1.3rem;
}

.right{
	text-align: right;
}

/* ------- footer ------- */

footer{
    padding-top: 3rem;
    padding-bottom: 4rem;
	margin-top: 5rem;
	background-color: #afc4c7;
}

footer a, footer a:hover, footer a:active{
    color: #fff;
}

footer p{
	color: #fff!important;
	text-align: center;
}

.fa-copyright{
	font-size: 1.4rem;
}


.mb-3{
	margin-bottom: 3rem;
}

.mb-5{
	margin-bottom: 5rem;
}


@media screen and (max-width: 991px) { 

.global-nav-item-list, footer .section-inner{
    width: 92%;
}	
	
h1{
    font-size: rem;
}     
    
h2{
    font-size: rem;    
}
    
h3{
    font-size: rem;    
}    
    
h4{
    font-size: rem;     
}    
    
h5{
    font-size: rem;
}    
    
    
}
    
@media screen and (max-width: 767px) {

html{
    font-size: 62.5%;
}   	
    
h1{
    font-size: rem;
}     
    
h2{
    margin-bottom: 3rem;
}
    

/* ------- profile ------- */

.profile-photo{
    width: 40%;
  }

.profile{
    width: 56%;
  }
	
	
/* ------- shedule ------- */

.date{
	width: 100%;
}
.content{
	width: 100%;
	padding-top: 3rem;
	margin-bottom: 3rem;
}	
	
#schedule .wrapper{
	margin-top: 3rem;
}	
	
#schedule .btn {
	margin-top: 3rem;
}	
	
/* ------- contact ------- */

form{
	width: 100%;
}

    
}

@media screen and (max-width: 576px) {

html{
    font-size: 60%;
} 

h1{
    font-family: 'Kaisei Opti', serif;
	font-size: 3rem;
}

.top-title{
	top: 75%;
}	
	
.top-title{
	padding: 0.5rem 0 1rem 0;
}	
    
	
.profile-photo{
    width: 100%;
	margin-bottom: 2rem;
  }

.profile{
    width: 100%;
  }

	
footer{
    
} 

    
}

@media screen and (max-width: 414px) {
html{
    font-size: 58%;
} 
	
section{
    padding-top: 4rem;
}

.form-left, .form-right{
	width: 100%;
}	
	
#schedule .btn {
	margin-top: 1rem;
}		
}

@media screen and (max-width: 320px) {

html{
    font-size: 0.4em;
}
    
}

/* ------- loading ------- */
.loader{
  width: 100%;
  margin: auto;
  position: absolute;
  top: 40%;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 800;
}

.loader img{
	height: 26%;
  width: auto;
}

.loaderBg{
  position: fixed;
  z-index: 800;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 100%;
  text-align: center;
}
.loaderBg::before,.loaderBg::after{
  line-height: 1;
 position: fixed;
 z-index: 99;
 right: 0;
 left: 0;
 display: block;
 width: 100%;
 height: 50%;
 margin-right: auto;
 margin-left: auto;
 content: ' ';
 transition: all .3s cubic-bezier(.785, .135, .15, .86) 0s;
 transition-delay: .3s;
 background-color: #e0663c;
}
.loaderBg::before{
  top: 0;
}
.loaderBg::after{
  bottom: 0;
}
.loaded .loaderBg::before{
   height: 0;
   -webkit-transform: translateY(-1%);
   -ms-transform: translateY(-1%);
   transform: translateY(-1%);
}
.loaded .loaderBg::after{
   height: 0;
   -webkit-transform: translateY(1%);
   -ms-transform: translateY(1%);
   transform: translateY(1%);
}