@import url("reset.css");
@import url('https://fonts.googleapis.com/css2?family=Goblin+One&family=Noto+Sans+JP:wght@500;700&family=M+PLUS+Rounded+1c:wght@400;500;700&display=swap');
body {
	font-family:"メイリオ",  "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", Meiryo, Osaka, sans-serif;
	background-color: #fff;
	margin: 0;
	text-align: center;
	color:#1F1F1F;
	letter-spacing: 1.5;
	position: relative;
	line-height: 2;
	text-size-adjust: 100%;
 　　-webkit-text-size-adjust: 100%;/*Chrome,Safari*/
 　　-ms-text-size-adjust: 100%;/*EgdeMobile*/
 　　-moz-text-size-adjust: 100%;/*firefox*/
	font-size:16px;
}

#spmenu{
	display: none;
}
#slide-menu{
	display: none;
}

.carryname{
	font-family: 'Goblin One', cursive!important;
	margin:0 3px;
	color:#1891CD!important;
	
}

.font-blue{
	color:#1891CD!important;
}

.font-b{
	font-size:18px;
}

.font-s{
	font-size:14px!important;
}

h3{
	color:#1891CD;
}

/*--------------------------------


	ヘッダー


--------------------------------*/

header{
	width:100%;
	min-width: 1200px;
	/*padding:0 0 0 10px;*/
	/*display: flex;
	justify-content: space-between;
	align-items: center;*/
	background-color:rgba(255,255,255,0.8);
	backdrop-filter: blur(5px);
	margin-bottom:10px;
	display: flex;
	top:0;
	left:0;
	justify-content: space-between;
	position: fixed;
	z-index: 9999;
}

header.no_scroll{
	position:static;
}
h1{
	display: inline-block;
	font-size:9pt;
	color:#189CCD;
	margin-bottom:2px;
	position: absolute;
	top:15px;
	left:65px;
	line-height: 1;
	text-align: left;
}

#logo{
	width:250px;
	line-height: 0;
	padding-top:5px;
	margin-left:10px;
}

#logo img{
	width:100%;
	height: auto;
}

#contact{
	width:150px;
	background-color: #EA75B3;
	display: block;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding:0 5px;
	color:#fff;
	font-weight: bold;
	transform: rotate(0.03deg);
	letter-spacing: 0.05em;
	position: relative;
	text-decoration: none;
}

#contact .ico{
	margin-bottom:8px;
	font-size: 20px;
}

#contact::before {
content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: -1;
  background: #189CCD;
  transform-origin: left bottom;
  transform: scale(1, 0);
  transition: transform .3s;
}
#contact:hover::before {
  transform-origin: left top;
  transform: scale(1, 1);
}

/*---------------------------------
	スマートフォン
---------------------------------*/

@media screen and (min-width: 0) and (max-width: 760px){
	
	body {
		font-size:1.1em
	}

	body.no_scroll{
		 position: fixed;
		top: 0;
		left: 0;
		width: 100%;
		height: 100vh;
	}
	h1{
		display: none;
		top:8px;
		left: 50px;
		font-size:8pt;
	}
	header{
		min-width: 100%;
		z-index: 0;
		padding-top:5px;
		position: relative;
		margin-bottom:15px;
		background-color:transparent;
	}
	
	#logo{
		width:auto;
		flex:1;
		text-align: left;
	}
	
	#logo img{
		width:150px;
	}
	
	#contact{
		width:40px;
		height: 40px;
		margin-right:5px;
		border-radius: 6px;
		border-radius: 100%/100%;
	}
	
	#contact::before {
		content: none;
	}
	
	#contact.sc{
		width:50px;
		height: 50px;
		position: fixed;
		bottom:10px;
		right:0;
		background-color: rgba(234,117,179,0.88);
		z-index: 9999;
	}
	
	#contact .ico{
		margin-bottom:0;
		font-size: 20px;
	}

}

/*-----------------------

	メニュー
	
-----------------------*/

#menu{
	flex:1;
	display: flex;
	align-items: center;
	margin: 0 10px 0 15px;
}

#menu::before{
	content:"　";
	flex:1;
	height: 1px;
	display: block;
	border-top:1px solid #0092DF;
	border-bottom:1px solid #0092DF;
}

#menu ul{
	display: flex;
	align-items: center;
	justify-content: flex-end;
	position: relative;
}

#menu li{
	display: inline-block;
	font-family: 'Noto Sans JP',sans-serif;
	justify-content: flex-end;
	font-weight: bold;
	font-weight: 700;
	margin-left:10px;
}

#menu li:first-child{
	margin-left:5px;
}

#menu li a{
	width:100%;
	/*padding:8px 0;*/
	color:#189CCD;
	padding:3px 0;
	text-decoration: none;
	display: block;
	position: relative;
	background-image:url("../img/m-ico.png");
	background-size: 12px auto;
	background-position: center left;
	background-repeat: no-repeat;
	padding-left:15px;
	cursor: pointer;
}

/*#menu li a::before{
	content:" ";
	width:12px;
	height: 12px;
	display: block;
	background-image:url("../img/m-ico.png");
	background-size: cover;
	margin-right:5px;
}*/

#menu li a:link::after{
  content: '';
  width: 100%;
  height: 1px;
	border-top: 1px solid #189CCD;
	/*border-bottom: 1px solid #189CCD;*/
  position: absolute;
  left: 0;
  bottom: 0;
  margin: auto;
  transform-origin: right top;
  transform: scale(0, 1);
  transition: transform .2s;
}
#menu li a:hover::after {
  transform-origin: left top;
  transform: scale(1, 1);
}

#menu li.now{
	opacity: 0.5;
	background-color: aqua;
}
#menu li span.menu{
	display: inline-block;
	position:relative;
	padding-left:18px;
}

#menu li.now span.menu{
	display: inline-block;
	position:relative;
	padding-left:27px;
}

#menu li.pr{
	position:static;
}

#menu li.pr a{
	/*color:rgba(24,156,205,0.5);	
	background-image:url("../img/m-ico03.png");*/
}

#menu li.pr a::after{
	content:"　";
	display: block;
	width: 0;
height: 0;
	position: absolute;
	bottom:5px;
	left:calc(50% - 5px);
border-style: solid;
border-width: 0 8px 5px 8px;
border-color: transparent transparent #1891CD transparent;
	z-index: 3;
	
}
#menu ul.submenu{
	background-color: #1891CD;
			display: none;
}

@media screen and (min-width: 761px){
	
	#menu ul.submenu{
		width:100%;
		min-width:100%;
		max-width:1200px;
		/*height: 1.5em;*/
		position: absolute;
		/*bottom:calc((1.5em - 3px) * -1);*/
		bottom:-25px;
		right:0;
		/*border:1px solid #1891CD;*/
		border-radius: 10px;
		padding:0 15px;
		justify-content: center;
		animation-name: rotate;
		animation-duration: 0.3s;

	}
	
}

@keyframes rotate {
  0% {
     /*transform-origin: left top;
  transform: scale(0, 1);*/
	   opacity: 0;
      transform: translateY(-5px);
  }
  100% {
 /* transform-origin: left top;
  transform: scale(1, 1);*/
	   opacity: 1;
      transform: translateY(0);
  }
}

#menu .submenu li{
	margin-right:20px;
}

#menu #price.submenu{
	width:700px;
}

#menu #price.submenu li{
	margin-right:10px;
}

#menu .submenu li a{
	position: relative;
	color:#fff!important;
	background-image:url("../img/m-ico_white.png");
	font-weight: 500;
	font-size:0.9em;
	transform: rotate(0.001deg);
	line-height: 1;
}

#menu .submenu li a:hover::after {
	content:none;
}

#menu-header,
#sp_menu{
		display:none;
	}

/*---------------------------------
	スマートフォン
---------------------------------*/

@media screen and (min-width: 0) and (max-width: 760px){
	#sp_menu{
	width:40px;
		height: 40px;
		color:#fff;
	background-color:#189CCD;
		border-radius: 100%/100%;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	font-size:20px;
		margin-right:5px;
	}
	#menu{
		width:100%;
		height: 100%;
		flex: none;
		margin: 0;
		position: fixed;
		top:0;
		left:0;
		background-color: rgba(154,154,154,0.64);
		align-items:stretch;
		display: none;
		z-index: 99999;
	}
	
	#menu::before{
		content: none;
	}
	
	#menu-close{
		flex:1;
		font-size:40px;
		color:#fff;
		font-weight: bold;
		text-align: right;
		padding-right:3px;
		line-height: 1;
	}
	#menu .inner{
		width:80%;
		background-color: #189CCD; 
		overflow-y: auto;
	}
	
	#menu-header{
		display: block;
		padding-top:20px;
		line-height: 0;
	}
	
	#menu-header img.logo{
		width:200px;
		height: auto;
	}
	
	
	#menu-bana a{
		line-height: 0;
		display: block;
	}
	
	#menu-bana a img{
		width:200px;
		margin-bottom:10px;
	}
	
	#menu ul{
		display: block;
		border-top: 1px solid #13779D;
		border-bottom: 1px solid #67C8ED;
		margin-top:10px;
	}
	
	#menu li{
		width:100%;
		border-top: 1px solid #67C8ED;
		border-bottom: 1px solid #13779D;
		margin-left:0;
	}
	
	#menu li:first-child{
		margin-left:0;
	}

	
	#menu li a{
		position: static;
		color:#fff;
		padding:15px 8px 15px 30px;
		background-image:url("../img/m-ico_white.png");
		background-position: center left 10px;
		text-align: left;
	}
	
	#menu li a:link::after{
		content: none;
		transform: none;
	}
	
	#menu-bana{
		margin-top:20px;
		text-align: center;
	}
	
	#menu .submenu{
		width:100%;
		/*display: flex;
		flex-direction: column;*/
		position: static;
		 position: initial;
		height: auto;
		border-radius: 0;
		border-radius: none;
		animation: none;
		transform: none;
		transition: unset;
	}
	
	#menu .submenu li{
		border-top: none;
		border-bottom: none;
		margin-right:0;
	}
	
	#menu .submenu li a{
		border-top: none;
		border-bottom: none;
		padding:10px 0 10px 30px;
	}
	#menu li.pr a{
		border-bottom:none;
	}
	#menu li.pr a::after{
		content:none;
	}
}


/*-----------------------

	下層ページ
	
-----------------------*/
#contentpage main{
	width:100%;
	min-width:1200px;
	max-width: 1500px;
	margin:0 auto;
}

#contentpage main .item{
	width:100%;
	/*min-height: calc(100vh - 76px);*/
	margin:0 auto 200px;
	padding:76px 30px 0 30px;
	transform: rotate(0.03deg);
	opacity: 0;         /* 初期値は透明にしておく */
  transition: .5s;    /* 動くスピードを0.5秒に指定 */
  position: relative; /* 相対位置の設定 */
  top: 50px;          /* 事前に下に50pxずらしておく */
}

#contentpage main .item.active {
  opacity: 1;         /* 透明度を元に戻す */
  top: 0;             /* ずらしていた位置を戻すことで上に上がっているようにみえる */
}

#contentpage #title{
	width:100%;
	min-width:1200px;
	height: 100vh;
	margin:0 auto;
	padding:0 30px 0 30px;
	/*margin:50px auto 100px auto;*/
	font-size:20px;
	text-align: center;
	font-weight: bold;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}

#contentpage #parent-title{
	color:#2292BF;
	display: flex;
	align-items: center;
	font-family: 'M PLUS Rounded 1c', sans-serif;
	font-weight: 700;
	font-size:21px;
	margin-bottom:10px;
}

#contentpage #parent-title span{
	display: inline-flex;
	align-items: center;
}
#contentpage #parent-title span::before,
#contentpage #parent-title span::after{
	font-family: "Font Awesome 5 Free";
	content:"\f1b0";
	font-weight: bold;
	font-size:14px;
}

#contentpage #parent-title::before,
#contentpage #parent-title::after{
	content: ' ';
	width:30px;
	height: 1px;
	background-color: #2292BF;
	display: block;
	
}

#contentpage #parent-title span::before{
	margin-right:20px;
}

#contentpage #parent-title span::after{
	margin-left:20px;
}


#contentpage h2{
	color:#2292BF;
	font-size:30px;
	font-family: 'M PLUS Rounded 1c', sans-serif;
	font-weight: 700;
	line-height:1.2;
	margin-bottom:20px;
}

#contentpage h2 strong{
	font-size:80px;
	margin-bottom:10px;
	display: inline-block;
	
}

#contentpage #title-photo{
	margin:30px 0;
}

#contentpage #title img{
	width:auto;
	height: auto;
	max-height:180px;
	max-width: 200px;
}

/*----------英語-----------*/

#contentpage #title .english{
	opacity: 0;
}
#contentpage #title .english span {
   opacity: 0;
   transition: .6s ease-in-out;   /* 時間 | イージング関数 */
   -webkit-transition: .6s ease-in-out;
}

/*---------------------------------
	スマートフォン
---------------------------------*/

@media screen and (min-width: 0) and (max-width: 760px){
	#contentpage main{
		width:90%;
		min-width:90%;
	}
	#contentpage #title.item{
		width:95%;
		min-width:95%;
		margin:0 auto;
		font-size:18px;
		min-height:100vh;
		margin-top:-60px;
		padding:0;
	}
	
	#contentpage h2{
		font-size:25px
	}
	
	#contentpage h2 strong{
		font-size: 50px;
	}
	
	#contentpage main .item{
		height: 100%;
		min-height: calc(100vh - 47px);
		/*margin:0 auto 200px auto;*/
		margin:0 auto 50px auto;
		padding:0;
		transform: none;
		left:0;
	}
}

/*-----------------------


	フッダーコンタクト

	
-----------------------*/

#f-contact{
	width:100%;
	min-width:1200px;
	margin:100px auto 0 auto;
	border-top:3px double #0092DF;
	text-align: center;
	color:#0092DF;
	font-weight: bold;
	font-size:14px;
	padding:20px 0;
	display: flex;
	justify-content: center;
	align-items: flex-end;
}

#f-name{
	width:281px;
	position: relative;
	line-height: 1.4;
}

#f-name img{
	width:100%;
	height: auto;
}
#f-name .coment{
	display: inline-block;
	position: absolute;
	left:65px;
	top:8px;
	line-height: 1;
}

#f-contact-right{
	width:440px;
	margin-left:30px;
}

#f-contact-bana{
	width:100%;
	display: flex;
	justify-content: space-between;
	line-height: 0;
}

#f-contact-bana a{
	width:calc(50% - 5px);
	display: block;
	line-height: 0;
}

#f-contact-bana a img{
	width:100%;
	height: auto;
}

#f-contact-right .coment{
	margin-top:10px;
	line-height: 1;
}


/*---------------------------------
	スマートフォン
---------------------------------*/

@media screen and (min-width: 0) and (max-width: 760px){
	#f-contact{
		min-width:100%;
		display: block;
	}
	
	#f-name{
		width:200px;
		margin:0 auto 15px auto;
	}
	
	#f-name .coment{
		display: none;
	}
	
	#f-contact-right{
		width:98%;
		margin:0 auto;
	}
	
	#f-contact-bana a{
		width:calc(50% - 1px);
	}
	
	#f-contact-right .coment{
		line-height: 1.4;
	}
}




/*-----------------------


	フッダー

	
-----------------------*/

footer{
	width:100%;
	min-width:1200px;
	background-color:#2393C0;
	font-weight: bold;
	font-size:12px;
	color:#fff;
}

#contentpage footer{
	display: flex;
	align-items: center;
	color:#fff;
}

#footer-menu li a::before{
	font-family: "Font Awesome 5 Free";
	content:"\f1b0";
	font-weight: bold;
}
nav{
	flex:1;
	display: flex;
	justify-content: flex-start;
}

nav a{
	display: inline-block;
	padding:3px 15px 3px 30px;
	background-color: #08AFF1;
	font-size:12px;
	color:#fff;
	position: relative;
	text-decoration: none;
}

nav a:last-child{
	background-color: rgba(45,181,225,0.6);
}

/*nav a span{
	position: relative;
	z-index: 3;
}*/

nav a::before{
  content:'';
  display: block;
  position: absolute;
  top: 0;
 left: 0;
  width: 0;
height: 0;
border: calc(1em + 2px) solid;
border-color: transparent transparent transparent #08AFF1;
	z-index: 2;
}


nav a::after{
   content:'';
  display: block;
  position: absolute;
  top: 0;
  right: -31px;
  width: 0;
height: 0;
border: calc(1em + 2px) solid;
border-color: transparent transparent transparent #0092DF;
	z-index: 1;
}

nav a:last-child::after{
	right: -28px;
	border-color: transparent transparent transparent  rgba(45,181,225,0.6);
	z-index: 3;
}

#copyright{
	flex:2;
	display:inline-flex;
	justify-content: flex-end;
	text-align: right;
	line-height: 1;
}

#copyright a{
	display: inline-block;
	color:#fff;
	font-size:12px;
	margin-right:20px;
	text-decoration: none;
}

#copyright a::before{
	font-family: "Font Awesome 5 Free";
	content:"\f1b0";
	font-weight: bold;
	margin-right:5px;
}

small{
	display: inline-block;
	text-align: right;
}

/*---------------------------------
	スマートフォン
---------------------------------*/

@media screen and (min-width: 0) and (max-width: 760px){
	footer{
		width:100%;
		min-width:100%;
		flex-direction: column;
	}
	
	#contentpage footer{
		flex-direction: column;
	}
	
	nav{
		width:100%;
		flex:none;
		background-color: rgba(45,181,225,0.6);
	}
	
	#copyright{
		padding:15px 0;
		display: block;
		text-align: center;
	}
	
	#copyright a{
		margin-bottom:10px;
	}
	
	small{
		width:100%;
		flex:none;
		text-align:center;
	}
}

/*-----------------------


	クッキー

	
-----------------------*/

#cookie-consent{
	width:100%;
	min-width:1200px;
	position: fixed;
	left:0;
	bottom:0;
	background-color:#23A1D5;
	z-index: 100;
	color:#fff;
	/*font-weight: bold;*/
	line-height: 1.6;
	padding:20px 0;
	transform: rotate(0.03deg);
	  box-shadow: 0px -6px 8px -4px rgba(0, 0, 0, 0.45);
}

#cookie-consent .inner{
	width: 1200px;
	margin:0 auto;
	display: flex;
	justify-content: center;
	align-items: center;
	font-size:14px;
}

#cookie-consent .cookie-text{
	text-align: left;
}

#cookie-consent .cookie-text a{
	color:#fff;
	text-decoration:underline dotted;
}

#cookie-consent .cookie-agree{
	width:100px;
	padding:10px 0;
	background: #ddd;
background: -webkit-linear-gradient(#fff 0%, #ccc 100%);
background: -o-linear-gradient(#fff 0%, #ccc 100%);
background: linear-gradient(#fff 0%, #ccc 100%);
	border-radius: 6px;
	border:1px solid #ddd;
	margin-left:20px;
	color:#1F92BF;
	font-weight: bold;
	cursor: pointer;
	line-height: 1;
	
}

/*---------------------------------
	スマートフォン
---------------------------------*/

@media screen and (min-width: 0) and (max-width: 760px){
	
	#cookie-consent{
		width:100%;
		min-width:100%;
		padding:5px 0;
	}

	#cookie-consent .inner{
		width: 95%;
		margin:0 auto;
		display: block;
		text-align: center;
	
	}

	#cookie-consent .cookie-text{
		text-align: center;
	}
	#cookie-consent .cookie-agree{
		width:100px;
		padding:10px 0;
		margin:5px auto 0 auto;
	
	}
}

