@charset "utf-8";
/* CSS Document */

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

a:hover{
    opacity: 0.8;
}

@media screen and (min-width:1920px){

.power-text{
	font-size: 20px;
}
	
}

@media (min-width: 751px) {
a[href*="tel:"] {
pointer-events: none;
cursor: default;
text-decoration: none;
}
}

#top-main{
    background: url("../images/top/top-main.jpg") no-repeat;
    -webkit-background-size: cover;
    background-size: cover;
    background-position: 50% 50%;
	height: calc(((100vw - 360px) / 3.1325) + 220px);
	max-height: 718px;
	position: relative;
}

.top-message{
	position: absolute;
    top: 5%;
    left: 50%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
	width: calc(((100vw - 360px) / 2.9828) + 200px);
	max-width: 723px;
}

.tsukimi-t{
	position: absolute;
	bottom: 0;
	right: 5%;
	width: calc(((100vw - 360px) / 6.166) + 100px);
	max-width: 353px;
}

section {
	margin: 2rem auto;
	padding: 2rem;
	}

.top-inner {
    width: 1000px;
   max-width: 100%;
    margin: 0 auto;
	padding: 0 2rem;
}

.power-text{
	text-align: center;
	line-height: 1.8;
	margin: 2rem auto;
	font-weight: 600;
	font-size: calc(((100vw - 360px) / 390) + 16px);
}


.ttl-bold{
	text-align: center;
	font-weight: bold;
	margin: 2rem auto;
}

.top-wrap {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin: 2rem auto;
}

.top-item3 {
  padding: 30px;
  width: 32%;
  text-align: center;
  }

.top-item2 {
  padding: 10px 0;
  width: 48%;
  text-align: center;
  }

.under {
    line-height: 1.8;
    padding-bottom: 1px;
    display: inline;
    background: linear-gradient(transparent 70%, #f8e645 0%);
}

.ttl-under {
    line-height: 2.0;
    padding: 5px 30px;
    display: inline;
    background: linear-gradient(transparent 90%, #f8e645 0%);
}

.top-text{
	line-height: 1.8;
}

.button-1 a{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 280px;
    margin: 0 auto;
    padding: 0.9em 1em;
    border: 1px solid #ffe45f;
    border-radius: 5px;
    background-color: #ffe45f;
    color: #000;
    font-size: 1em;
    font-weight: bold;
}

.button-1 a::after {
    transform: rotate(45deg);
    width: 5px;
    height: 5px;
    margin-left: 10px;
    border-top: 2px solid #000;
    border-right: 2px solid #000;
    content: '';
}

.box-015 {
    position: relative;
    max-width: 480px;
    height: 480px;
    margin: 1em auto;
    padding: 10px;
    border-radius: 3px;
    box-shadow: 0 2px 3px rgb(0 0 0 / 20%);
    background-color: #e0efff;
    color: #333333;
}

.box-015::before,
.box-015::after {
    position: absolute;
    content: '';
}

.box-015::before {
    top: -15px;
    right: 10px;
    height: 50px;
    width: 15px;
    border: 3px solid #999;
    border-radius: 10px;
    box-shadow: 1px 1px 2px rgb(0 0 0 / 30%);
    transform: rotate(10deg);
}

.box-015::after {
    top: 0;
    width: 10px;
    right: 20px;
    border: solid 5px #e0efff;
}

.box-003 {
    max-width: 460px;
    margin: 0 auto;
    padding: 1em 1em;
    box-shadow: 0 4px 4px rgb(0 0 0 / 5%), 0 2px 3px -2px rgb(0 0 0 / 1%);
    background-image: linear-gradient(transparent calc(100% - 1px), #e6edf3 50%, #e6edf3), linear-gradient(90deg, transparent calc(100% - 1px), #e6edf3 50%, #e6edf3);
    background-size: 15px 15px;
    background-repeat: repeat;
    background-color: #ffffff;
    color: #333333;
    text-align: left;
    font-size: 20px;
    font-weight: 600;
}

.otayori_bt1 {
    position: absolute;
    bottom: 20%;
    width: 90%;
    margin: 0 auto;
    left: 50%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
}

.otayori_bt2 {
    position: absolute;
    bottom: 7%;
	width: 90%;
    margin: 0 auto;
    left: 50%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
}

.ttl-under-b {
    line-height: 2.0;
    padding: 5px 30px;
    display: inline;
    background: linear-gradient(transparent 90%, #0577c3 0%);
}

/*アニメーション*/

/* その場で */
.fadeIn{
animation-name:fadeInAnime;
animation-duration:1s;
animation-fill-mode:forwards;
opacity:0;
}

@keyframes fadeInAnime{
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}



.anim-box.slidein.is-animated {
  animation: slideIn 1s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}
 
@keyframes slideIn {
  0% {
    transform: translateX(180px);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
  }
  40%,100% {
    opacity: 1;
  }
}



@media not all and (min-width: 768px) {
  .top-item3 {
    width: 100%;
  }

  .top-item3:not(:last-child) {
    margin-bottom: 30px;
  }
	
.top-item2 {
    width: 100%;
  }

  .top-item2:not(:last-child) {
    margin-bottom: 30px;
  }	
}

/*========= ドロップダウンのためのCSS ===============*/

/*==ナビゲーション全体の設定*/
#top-nav{
	background:#fff;
	color:#333;
	text-align: center;
}

/*ナビゲーションを横並びに*/
#top-nav ul{
    /*2階層目の基点にするためrelativeを指定*/
	position: relative;
	list-style: none;
	display: flex;
	justify-content: center;
}

/*2階層目以降は横並びにしない*/
#top-nav ul ul{
	display: block;
}

/*ナビゲーションのリンク設定*/
#top-nav ul li a{
    /*矢印の基点にするためrelativeを指定*/
	position: relative;
	display: block;
	text-decoration: none;
	color: #333;
	padding:20px 45px;
	transition:all .3s;
}

#top-nav ul li li a{
	padding:20px;
}

#top-nav ul li a:hover{
	color:#000;	
}

/*==矢印の設定*/

/*2階層目を持つliの矢印の設定*/

#top-nav ul li.has-child > a::before{
	content:'';
	position: absolute;
	left:15px;
	top:25px;
	width:6px;
	height:6px;
	border-top: 2px solid #999;
    border-right:2px solid #999;
    transform: rotate(135deg);
}

/*==2階層目以降の画像設定*/

#top-nav ul li.has-child img{
	max-width: 100%;
	height: auto;
	transition: all .5s;
	vertical-align: bottom;
}

/*hoverしたら画像拡大*/
#top-nav ul li.has-child img:hover{
	transform: scale(1.2);
}

#top-nav ul li.has-child dt{
	overflow: hidden;
	height: 20vh;
	margin:0 0 20px 0;
}

/*==矢印の設定*/





/*== 2層目の設定 */

#top-nav li.has-child ul {
    position: absolute;
    left: 22%;
    top: 58px;
    z-index: 4;
    justify-content: space-between;
    flex-wrap: wrap;
    background: #ffe45f;
    width: 55%;
    display: none;
    visibility: hidden;
    opacity: 0;
    transition: all .3s;
}

/*hoverしたら表示*/
#top-nav li.has-child:hover > ul{
display:flex;
  visibility: visible;
  opacity: 1;
}

/*各ナビゲーション横幅*/
#top-nav li.has-child ul li{
	width:20%;
}

/*ナビゲーションaタグの形状*/
#top-nav li.has-child ul li a{
	color: #333;
}

#top-nav li.has-child ul li a:hover,
#top-nav li.has-child ul li a:active{
	background:#ffffee;
}

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

#top-nav ul li a {
    padding: 20px 20px;
   }	
	
#top-nav ul li.has-child dt{
	height: 12vh;
}	

#top-nav ul li li a {
    padding: 20px 0px;
    font-size: 12px;
}
	
#top-nav ul li.has-child > a::before {
    left: 5px;
    }	

#top-nav li.has-child ul {
    left: 10%;
    width: 80%;
   }
	
	
	
}

/*==950px以下の形状*/
@media screen and (max-width:950px){
	
	
	#top-nav ul{
		display: block;
	}

	#top-nav li.has-child ul{
  	position: relative;
	left:50%;
	top:80px;
	width:100%;
	visibility:visible;/*JSで制御するため一旦表示*/
	opacity:1;/*JSで制御するため一旦表示*/
	display: none;/*JSのslidetoggleで表示させるため非表示に*/
	transition:none;/*JSで制御するためCSSのアニメーションを切る*/
}
    #top-nav li.has-child:hover > ul {
	    display: none;
    }
    
	#top-nav li.has-child ul li{
		width:100%;
		text-align: left;
	}
	
	#top-nav li.has-child ul li dl{
		display: flex;
		justify-content: space-between;
		align-items: center;
	}
	#top-nav li.has-child ul li dt{
		width:30%;
		height: auto;
		margin: 0;
	}

	#top-nav li.has-child ul li dd{
		width:64%;			
	}
	
	

    
    #top-nav ul li a{
	    padding: 10px 20px;
	    border-bottom:1px solid #ccc;
}
    
    #top-nav ul li li a{
		padding: 0.5rem;
}
	
/*矢印の位置と向き*/
	
#top-nav ul li.has-child > a::before{
	top:17px;
	left:20px;
    transform: rotate(135deg);
}
    
#top-nav ul li.has-child.active > a::before{
    transform: rotate(-45deg);
}
	

/*========= ナビゲーションのためのCSS ===============*/

#top-nav{
    /*position:fixed;にし、z-indexの数値を大きくして前面へ*/
    position:fixed;
    z-index: 999;
    /*ナビのスタート位置と形状*/
	top:0;
    right: -120%;
	width:100%;
    height: 100vh;/*ナビの高さ*/
	background:#ffffee;
    /*動き*/
	transition: all 0.6s;
}

/*アクティブクラスがついたら位置を0に*/
#top-nav.panelactive{
    right: 0;
}

/*ナビゲーションの縦スクロール*/
#top-nav.panelactive #top-nav-list{
    /*ナビの数が増えた場合縦スクロール*/
    position: fixed;
    z-index: 999; 
    width: 100%;
    height: 100vh;/*表示する高さ*/
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}

/*ナビゲーション*/
#top-nav ul {
    /*ナビゲーション天地中央揃え*/
    position: absolute;
    z-index: 999;
    top:50%;
    left:50%;
    transform: translate(-50%,-50%);
	width: 80%;
}

/*リストのレイアウト設定*/

#top-nav li{
	list-style: none;
    text-align: center;
}

#top-nav li a{
	color: #333;
	text-decoration: none;
	padding:10px;
	display: block;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	font-weight: bold;
}

/*========= ボタンのためのCSS ===============*/
.openbtn{
	position:fixed;
    z-index: 9999;/*ボタンを最前面に*/
	top:10px;
	right: 10px;
	cursor: pointer;
    width: 50px;
    height:50px;
}
	
/*×に変化*/	
.openbtn span{
    display: inline-block;
    transition: all .4s;
    position: absolute;
    left: 14px;
    height: 3px;
    border-radius: 2px;
	background-color: #666;
  	width: 45%;
  }

.openbtn span:nth-of-type(1) {
	top:15px;	
}

.openbtn span:nth-of-type(2) {
	top:23px;
}

.openbtn span:nth-of-type(3) {
	top:31px;
}

.openbtn.active span:nth-of-type(1) {
    top: 18px;
    left: 18px;
    transform: translateY(6px) rotate(-45deg);
    width: 30%;
}

.openbtn.active span:nth-of-type(2) {
	opacity: 0;
}

.openbtn.active span:nth-of-type(3){
    top: 30px;
    left: 18px;
    transform: translateY(-6px) rotate(45deg);
    width: 30%;
}	
	
.header-info-top {
    display: none;
}
	
	
}

@media screen and (min-width: 951px){	
  .br-pc { display:block; }
  .br-sp { display:none; }
	
  .pc-only { display:block; }
  .sp-only { display:none; }	
}
@media screen and (max-width: 950px){	
  .br-pc { display:none; }
  .br-sp { display:block; }
	
  .pc-only { display:none; }
  .sp-only { display:block; }
	
}

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

section {
	margin: 0 auto;
	padding: 1rem;
	}
	
.ttl-bold {
    font-size: 20px;
}	
	
.box-003 {
    font-size: 16px;
    }	
	
}
	

