@charset "utf-8";

*, ::before, ::after{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

 html {
    font-size: 62.5%;
    scroll-behavior: smooth;
    scroll-padding-top: 66px;
}    

img {
    vertical-align: bottom;
    max-width: 100%;
    height: auto;
}

body {
    background-color: #fff;
    color: #000;
    font-family: Zen Old Mincho, serif;
    font-size: 2.4rem;
    line-height: 1.8;
}   

.container{
    max-width: 640px;
    margin: 0 auto;
    padding-top: 66px;
}

.logo{
    font-size: 32px;
    font-weight: normal;
    padding: 15px 0;
    line-height: 1;
}

.logo a{
    color: #000;
    text-decoration: none;
}

h1 span{
    color: red;
  }

.logo img{
    width: 1.1em;
    margin-right: 10px;
}

header{
    width: 100%;
    max-width: 640px;
    position: fixed;
    top: 0;
    display: flex;
    align-items: center;
    padding: 0 2rem;
    background-color: #BF794E;
    border-bottom: 1px solid #aaa;
    z-index: 1;
}

nav{
    width: calc((100% - 640px) / 2);
    height: calc(100% - 66px);
    position: fixed;
    top: 66px;
    right: 0;        
}

nav ul{
    font-size: 20px;
    display: inline-block;
    list-style-type: none;
    height: 100%;
    overflow: auto;
}

nav a{
    display: block;
    color: #BF794E;
    text-decoration: none;
/*	font-weight: bold;*/
    padding: 15px 20px;
    line-height: 1.3;
	}

nav a:hover{
    background-color: #b35321;
	color: #fff;
}
.mainimage{
    margin-bottom: 7rem;
}

section{
    padding: 8rem 2rem 0;
    position: relative;
    z-index: 0;
    background-image: url("img/bg-section.jpg");
    background-repeat: repeat-y;
    background-size: 100%;
    margin-bottom: 12rem;
}

section h2{
    font-size: 3rem;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    line-height: 1;        
}

section h2::before{
    content:attr(data-english);
    font-size: 6.0rem;
    font-style: italic;
    color:rgba(255, 0, 0, 0.7);
    position:absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
}

section figure{
    margin: 2rem -1rem 0;
}

.menu figure {
   max-width: 560px; 
   min-width: 240px; 
	margin: 2rem auto;
}

.inside figure {
   max-width: 560px; 
   min-width: 240px; 
	margin: 0 auto;	
}

.inside figure img{
	margin: 1em auto;
	border-radius: 20px;  
}

.inside{
    padding-bottom: 1em;
}

.inview{
   opacity: 0;
   transform: translateY(300px);
   transition: 3s;   
}

.inview.fade-in{
    opacity: 1;
    transform: translateY(0);
}

.menu2{
	    text-align: right;
	    padding-bottom: -20px;
}

.info span{
	color: red;
	border-bottom: double;
	border-bottom-color: red;
}

.slick {
/*    max-width:640px;*/
/*    margin: auto;*/

} 

footer{
    background-color: ＃fff;
    color: #000;
    padding: 1rem 2rem 60px;
}

footer span{
    color: red;
  }

footer .logo{
/*    background-color: #fff;*/
    margin: 0 -2rem 2rem;
    padding-left: 2rem;
    font-size: 3rem;
    color: #000;
}

.map{
    margin: 3rem 0;
	text-align: center;
}	

.map ifreme{
    display: block;
    width: 100%;
    height: auto;
}

.copyright{
    font-size: 2rem;
    text-align: center;
    padding: 1rem 0;
}

.pagetop{
    width: 100%;
    position: fixed;
    left: 0;
    bottom: 10px;
}

.pagetop a{
    background-color: #BF794E;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 50px;
    width: calc(100% - 20rem);
    max-width: 400px;
    margin: 0 auto;
    border-radius: 30px;
    opacity: 0.8;
}

.bg{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.3;
}

.bg img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.5;
}

.slick-list, .slick-track {
    height: 100%;
}

.absolute_test {
    position:  absolute;        /* 要素の配置方法を指定 */
    padding:  20px;             /* 余白指定 */
    left:  20%;                /* 左からの位置指定 */
    top: 3%;                  /* 上からの位置指定 */
}
.icon1 {
  width: 70px;  
  height: auto;
}

.absolute_test2 {
    position:  absolute;        /* 要素の配置方法を指定 */
    padding:  20px;             /* 余白指定 */
    left:  15%;                /* 左からの位置指定 */
    top: 2%;                  /* 上からの位置指定 */
}
.icon2 {
  width: 70px;  
  height: auto;
}


.absolute_test3 {
    position:  absolute;        /* 要素の配置方法を指定 */
    padding:  20px;             /* 余白指定 */
    left:  20%;                /* 左からの位置指定 */
    top: 3%;                  /* 上からの位置指定 */
}
.icon3 {
  width: 70px;  
  height: auto;
}


@media (max-width:1000px){

.absolute_test {
    position:  absolute;        /* 要素の配置方法を指定 */
    padding:  20px;             /* 余白指定 */
    left:  15%;                /* 左からの位置指定 */
    top: 2.0%;                   /* 上からの位置指定 */
}
	
.icon1 {
  width: 30%;  
  height: auto;
}	

.absolute_test2 {
    position:  absolute;        /* 要素の配置方法を指定 */
    padding:  20px;             /* 余白指定 */
    left:  17%;                /* 左からの位置指定 */
    top: 1.5%;                  /* 上からの位置指定 */
}
.icon2 {
    width: 30%;   
  height: auto;
}	

.absolute_test3 {
    position:  absolute;        /* 要素の配置方法を指定 */
    padding:  20px;             /* 余白指定 */
    left:  15%;                /* 左からの位置指定 */
    top: 2.0%;                   /* 上からの位置指定 */
}
	
.icon3 {
  width: 30%;  
  height: auto;
}	
	
	

.nav-button{
    width: 40px;
    height: 40px;
    border: 2px solid #fff;
    border-radius: 50%;
    margin-left: auto;
    position: relative;
}

.nav-button span:nth-child(1){
    top: 9px;
}

.nav-button span:nth-child(2){
    top: 17px;
}

.nav-button span:nth-child(3){
    top: 25px;
}

.nav-button span{
    width: 20px;
    height: 2px;
    background-color: #fff;
    position: absolute;
    left: 8px;
    /*  アニメーションさせる　*/
    transition: 1.0s;
}
    
    nav{
        width: 100%;
        z-index: 1;
        opacity: 0;
        visibility: hidden;
        /*  アニメーションさせる　*/
        transition: 1s;
      }   
     
    
    /*  アニメーションさせる　*/
    .open nav{
          opacity: 1;
        visibility: visible;
/*        transition: 3s;*/
    }
    
    .open .nav-button span:nth-child(1){
        top: 17px;
        transform: rotate(45deg);
    }
    
    .open .nav-button span:nth-child(2){
        width: 0;
        left: 50%;
    }
    
        .open .nav-button span:nth-child(3){
        top: 17px;
        transform: rotate(-45deg);
    }
    
    nav ul{
        background: #f6e0e2;
        display: block;
        max-width: 640px;
        margin: 0 auto;
        padding: 5rem 0;
        font-size: 24px;
        text-align: center;
    }
   
}


@media (max-width:640px){
    html{
        font-size: 1.56vw;
    } 
	
.absolute_test {
    position:  absolute;        /* 要素の配置方法を指定 */
    padding:  20px;             /* 余白指定 */
    left:  15%;                /* 左からの位置指定 */
    top: 1.0%;                   /* 上からの位置指定 */
}
.icon1 {
  width: 25%;  
  height: auto;
}	

.absolute_test2 {
    position:  absolute;        /* 要素の配置方法を指定 */
    padding:  20px;             /* 余白指定 */
    left:  12%;                /* 左からの位置指定 */
    top: 0.7%;                  /* 上からの位置指定 */
}
.icon2 {
    width: 22%;   
  height: auto;
}	

.absolute_test3 {
    position:  absolute;        /* 要素の配置方法を指定 */
    padding:  20px;             /* 余白指定 */
    left:  15%;                /* 左からの位置指定 */
    top: 1.0%;                   /* 上からの位置指定 */
}
	
.icon3 {
  width: 25%;  
  height: auto;
}		
	
	
}
