@charset "utf-8";
@import url('https://fonts.googleapis.com/css?family=Sawarabi+Mincho');
@import url('https://fonts.googleapis.com/css?family=Raleway:300,400');

/*========= レイアウトのためのCSS ===============*/

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

img {
  max-width:120%;
}

.visual {
  height: 100vh; /* 画面の高さに合わせる */
  width: 100vw;  /* 画面の幅に合わせる */
  position: relative;
  overflow: hidden; /* 動画がはみ出さないようにする */
}

#video {
  width: 100%;
  height: 100%;
  object-fit: cover; /* 画面全体にフィットするように動画を調整 */
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
}
.coverTop {
  margin-top: 0px;
  width: 100%;
  height:100%;
  position: absolute;
  background-color: rgba(0, 0, 0, 0);
  background-size: 2px 2px;
  z-index:0;
}

.header{
  z-index: 9999;
  position: fixed;
  width: 100%;
  /*background-color: rgba(255, 255, 255, 0.6);*/
  /*background-image: url('../images/common/Home1.png');*/
  background-position: left top;
  background-size: 260px;
}

.header-inner {
  height: 200px;
  margin-left: 0;
  margin-right: 0;
  padding-left: 20px;
  padding-right: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center top;
  z-index:10000;
}

.block{
  display: block;
  align-items: right top;
  text-align: right;
}

.block2{
  display: inline-block;
}


.toggle-menu-button {
  display: none;
}
.header-site-menu {
  margin-top: 30px;
}

.header-logo {
  margin-top: 25px;
  display: block;
  width: 60px;
  margin-bottom: 10px;
  position: top;
  transition: all 0.2s ease-in-out;
}


.header-logo:hover{
  display: block;
  width: 70px;
  margin-bottom: 10px;
  position: top;
  transition: all 0.2s ease-in-out;
} 

.site-menu ul {
  display: flex;
  list-style: none;
}

.site-menu ul li {
  margin-left: 25px;
  margin-right: 25px;
  color: #fff;
}

.site-menu2{
  display:inline-block;
  text-align: center;
  align-items: center;
  width: fit-content;
}

.site-menu2 ul {
  width: fit-content;
  display: flex;
  list-style: none;
}

.site-menu2 ul li {
  margin-left: 25px;
  margin-right: 25px;
  color: #fff;
}

.site-menu2 ul li a {
  font-size: 20px;
  transition: all 0.3s ease-in-out;
}

.site-menu2 ul li a:hover {
  letter-spacing: 2px;
  transition: all 0.3s ease-in-out;
}


.site-menu ul li a {
  position: relative;
  display: flex;
  justify-content: space-around;
  align-items: center;
  margin: 0 auto;
  max-width: 200px;
  padding: 10px 25px;
  color: #ffffff;
  transition: 0.3s ease-in-out;
  font-weight: 600;
}
.site-menu ul li a:before,
.site-menu ul li a:after {
content: '';
width: 18px;
height: 18px;
border-color: #ffffff;
box-sizing: border-box;
border-style :solid;
display: block;
position: absolute;
transition: all 0.3s ease-in-out;
}
.site-menu ul li a:before {
top: -6px;
left: -6px;
border-width: 2px 0 0 2px;
z-index: 5;
}
.site-menu ul li a:after {
bottom: -6px;
right: -6px;
border-width: 0 2px 2px 0;
}
.site-menu ul li a:hover:before,
.site-menu ul li a:hover:after {
width: calc(100% + 12px);
height: calc(100% + 12px);
border-color: #ffffff;
}
.site-menu ul li a:hover {
color: rgb(0, 0, 0);
background-color: #ffffff;
border-color: #ffffff;
}



.box{
    color: #fff;
    padding: 40px;
	display:flex;
	justify-content: center;
	align-items: center;
	text-align: center;
}

[data-section-name]{
 background-color: #ffffff00;
}

#box1{
  display:block;
  padding: 0px;
}

.message{
  margin-left: 10%;
  margin-right: 40px;
  width: 55%;
  height: 85%;
  background-image: url('../images/index/main.png');
  background-size:contain;
  background-position: center bottom;
  z-index:8000;
  position: center;
  bottom: 0;
  animation: opacityFadeIn 3.0s ease 0s 1 normal;
}

@keyframes opacityFadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}



@media screen and (min-width:768px) {
  .design{
   background-position: bottom;
  }
}

.design{
 background-image: url(../images/index/IKESHIBU.png);
 background-size: contain;
  width: 100%;
  height: 100%;
 text-align: center;
 padding-top: 0px;
 padding-left: 10%;
 padding-right: 10%;
 z-index:8000;
 vertical-align: bottom;
}

 .footer-logo {
  display: inline-block;
  width: 100px;
  margin-top: 90px;
  }

.footer-logo2 {
  width: 100%;
   text-align: center;
  align-items: center;
  }



@media screen and (max-height:700px) {
  .design{
   background-size: cover;
   background-position: top;
  }
}

@media screen and (min-width:1700px) {
  .design{
   background-size: cover;
   background-position: top;
  }
}

.box a{
  font-size: 80px;
}

#box2{
  background-image: url('../images/index/zenin2.png');
  background-size: cover;
  background-position: center;
  display: block;
}

.button {
  display: inline-flex;
  height: 70px;
  width: 200px;
  font-size: 18px;
  border: 2px solid #05327f;
  margin: 20px 20px 20px 20px;
  color: #05327f;
  text-transform: uppercase;
  text-decoration: none;
  letter-spacing: 1.5px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.zen3{
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-end;
  height: 50%;
  width: 100%;
}

.zen2{
  display: block;
  max-width: 500px;
  width: 100%;
}
.set{
  position: relative;
  display: inline-block;
}

.setmargin{
  width: 100%;
  height: calc(100% - 150px);
  position: relative;
  display: inline-block;
}

.set2{
  height: 50%;
  position: relative;
  display: inline-block;
  bottom: 0;
}

.button a {
  color: #05327f;
  text-decoration: none;
  letter-spacing: 1px;
}

#container {
  width: 100%;
  margin: 0 auto;
  padding: 50px 0 150px 0;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
}


#button-2 {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

#button-2 a {
  font-size: .9em;
  position: relative;
  transition: all .35s ease-Out;
}

#slide {
  width: 100%;
  height: 100%;
  left: -200px;
  background: #05327f;
  position: absolute;
  transition: all .35s ease-Out;
  bottom: 0;
}

#button-2:hover #slide {
  left: 0;
}

#button-2:hover a {
  color: #ffffff;
}




#box3{
  background-image: url('../images/index/back3.png');
  background-size: cover;
  background-position: center;
  text-align:left;
} 

.copyright{
  margin-top: 30px;
}

#footer{
	background:#333;
	color:#fff;
	padding:40px;
  padding-bottom: 20px;
	text-align:center;
}

#footer a{
	color: #fff;
}
/*========= ページネーションCSS ===============*/

.pagination {
	position:fixed;
	right:20px;
	top: 50%;
  	transform: translateY(-50%);
	font-size:1em;
	z-index: 10;
	list-style: none;
}

.pagination a {
	display:block;
	height:20px;
	margin-bottom:5px;
	color:#fff;
	position:relative;
	padding:4px;
}

.pagination a.active:after {
	box-shadow:inset 0 0 0 5px;
}

/*現在地表示のテキストの設定*/
.pagination a .hover-text {
	position:absolute;
	right:15px;
	top:0;
	opacity:0;
	-webkit-transition: opacity 0.5s ease;
	transition: opacity 0.5s ease;
	padding-right: 15px;
}

.pagination a:hover .hover-text {
	opacity: 1;
}

.pagination a:after {
	-webkit-transition:box-shadow 0.5s ease;
	transition:box-shadow 0.5s ease;
	width:10px;
	height:10px;
	display: block;
	border:1px solid;
	border-radius:50%;
	content:"";
	position: absolute;
	margin:auto;
	top:0;
	right:3px;
	bottom:0;
}

.text1{
  display: inline-block;
  width: 100%;
  padding-top: 130px;
}
.nyukaitext{
  width: 45%;
  max-width: 480px;
}

.space{
  width: 100%;
  /*height: 250px;*/
  text-align: left;
  padding-top: 30px;
  padding-left: 80px;
}

.contain{
  display: inline-block;
  height: 100px;
}


div[class*=container] {
  text-align: center;
  width: 300px;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.container-2 {  
  width: 100px;
  background-color: rgba(147, 89, 50, 0);
}


.btn {
  font-family: 'Sawarabi Mincho', sans-serif;
  font-size: 20px;
  position: relative;
  color: rgb(0, 0, 0);
  width: 256px;
  height: 64px;
  line-height: 64px;
  transition: all 0.3s;
}

.btn::before, .btn::after {
  content: '';
  position: absolute;
  transition: all 0.3s;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.btn-two a{
  z-index: 9000;
  font-size: 22px;
}

.btn-two::before, .btn-two::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  bottom: 0;
  left: 0;
  z-index: 1;
  transition: all 0.3s;
  border: 1px solid rgba(0, 0, 0, 0.5);
}

.btn-two:hover::after {
  animation-name: rotatecw;
  animation-duration: 2s;
}
.btn-two:hover::before {
  animation-name: rotateccw; 
  animation-duration: 3s;
}
.btn-two:hover::after, .btn-two:hover::before {
  left: 96px;
  width: 64px;
  
  animation-iteration-count: infinite;
  animation-timing-function: linear;
}

@keyframes rotatecw {
    from {transform: rotate(0deg);}
    to {transform: rotate(360deg);}
}

@keyframes rotateccw {
    from {transform: rotate(0deg);}
    to {transform: rotate(-360deg);}
}


/*768px以下は現在地表示のテキストを非表示*/
@media screen and (max-width:768px) { 

   .header-logo {
       width: 50px;
   }

.header-logo:hover{
  width: 60px;
}

   .pagination a .hover-text{
	display: none;
    }	

  .site-menu ul {
    display: block;
    list-style: none;
  }

  .site-menu ul li{
    margin-top: 30px;
    margin-bottom: 30px;
  }

  .site-menu2 ul li a{
    font-size: 16px;
  }

  
  .header-site-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    color: #ffffff;
    background:linear-gradient(transparent 0%, #000000 40%);
  
    padding-top: 30px;
    padding-bottom: 50px;
    display: none;
    transition: all 0.3s ease-in-out;
  }

  
  .header-site-menu.is-show {
    display: block;
    transition: all 0.3s ease-in-out;
  }

  .toggle-menu-button {
    display: inline-block;
    width: 44px;
    height: 34px;
    background-image: url(../images/common/icon-menu.png);
    background-size: 50%;
    background-position: center;
    background-repeat: no-repeat;
    background-color: transparent;
    border: none;
    border-radius: 0;
    outline: none;
    margin-top: 30px;
  }

.block{
    max-width: 150px;
  }

  
.message{
  margin-top: 0;
  margin-left: 40px;
  margin-right: 40px;
  max-width: 800px;
  width: 80%;
  height: 60%;
  background-image: url('../images/index/main.png');
  background-size: contain;
  background-position: center bottom;
  z-index:8000;
  position: center;
}

  .design{
    margin-top:40px;
    background-image: url(../images/index/ikeshibu2.png);
    background-size: contain;
　
  }

  #box2{
    background-image: url('../images/index/zenin.png');
    background-size: cover;
    background-position: center;
  }

  #box3{
    background-image: url('../images/index/back4.png');
    background-size: cover;
    background-position: center top;
  } 
  .text1{
    display: inline-block;
    width: 100%;
    height: 100%;
    padding-top: 110%;
　vertical-align: bottom;
  }

  .space{
    padding-top: 10px;
    width: 100%;
    height: 100px;
    text-align: center;
    padding-left: 0px;
  }

  .zen3{
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    height: 50%;
    width: 100%;
    padding: 0px 20px;
    padding-top: 20px;
  }
  
  .zen2{
    display: block;
    width: 100%;
  }

 
  .nyukaitext{
  width: 100%;
  max-width: 480px;
}

.setmargin{
  height: calc(100% - 150px);
}

.footer{
    bottom: 0;
    color: #ffffff;
    background-color: #000000;
    padding-top: 30px;
    padding-bottom: 150px;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 1000;
  }
  .footer-logo {
    display: inline-block;
    width: 90px;
    padding-right: 20px;
    margin-top: 70px;
    transition: all 0.2s ease-in-out;
  }
  .footer-logo:hover {
    display: inline-block;
    width: 95px;
    padding-right: 20px;
    transition: all 0.2s ease-in-out;
  }
.copyright {
    font-size: 14px;
    font-weight: bold;
    margin-top: 50px;
  }
  
}