/* 全デバイス共通 */
@charset "utf-8";

.slicknav_menu {
	display:none;
}

html,body {
	width: 100%;
	height:100%;
}

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

ul,
ol {
  list-style: none;
}

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

body {
    font-family: 'Kaisotai', serif;
    font-weight: 400;
    background-color: #f5f8fd;
}

h1 {
	width: 100%;
	text-align: center;
}

h2	{
	font-family: 'Kaisotai', sans-serif;
	width:100%;
	text-align:center;
	font-size: 55px;
	color: #00bf99;
	line-height: 47px;
}

h2::after {
  content: '';
  display: block;
  width: 80px;
  height: 3px;
  background-color: #00bf99;
  margin-top: 20px;
  margin-left: auto;
  margin-right: auto;
}


/* header */

header {
	height: 50px;
	width: 100%;
	position: fixed;
	z-index: 10000;
	margin-top: 0;
	padding-top: 20px;
	padding-bottom: 45px;
	background-color:#222;
	opacity: 0.8;
}

header h1 {
	line-height: 21px;
	position: absolute;
	top: 10px;
	left: 30px;
	text-align: left;
}

header nav {
	position: absolute;
	top: 20px;
	right: 30px;
	z-index: 1000;
}

header nav ul {
	display: table;
}

header nav ul li {
	display: table-cell;
	font-size: 19px;
	padding-right: 20px;
}

header nav ul li a {
	color: white;
}

header nav ul li a:hover {
	text-decoration: underline;
}

header nav ul li a:hover {
	color:  #00bf99;
	text-decoration: underline;
}

.header-inner {
  max-width: 1200px;
  /* height: 110px; */
  margin-left: auto;
  margin-right: auto;
  padding-left: 40px;
  padding-right: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-logo {
  display: block;
}
.header-logo img {
  width: 24.56vw;
}

.site-menu ul {
  display: flex;
}

.site-menu ul li {
	font-size: 19px;
	padding-right: 20px;
}

.site-menu ul li a {
	font-family: 'Kaisotai', sans-serif;
	color: #fff;
}

.site-menu ul li a:hover {
	text-decoration: underline;
}

/* 各topic */

.topic h2	{
	margin:40px auto;
}

.topic	{
	position: relative;
	z-index:-3;
	padding-top:70px;
	width:100%;
	height:100%;
	background: #f5f8fd;
	/* box-shadow: 0px 4px 9px 0px rgba(0,0,0,0.50); */
}

.topic article	{
	position: relative;
	width:100%;
	height:100%;
	overflow: hidden;
}

.topic article .content:before	{
	background-color: rgba(0,191,153,0.9);
	content: "";
	z-index: -1;
	width: 60%;
	height: 100%;
	margin: 0;
	padding: 0;
	position: absolute;
	top:0;
	right:0;
}

.topic article .content:after	{
	background-position: right center;
	content: "";
	z-index: -2;
	/* -webkit-filter: blur(10px);
	-ms-filter: blur(10px);
	filter: blur(10px); */
	width: 100%;
	height: 100%;
	margin: -10px 0;
	position: absolute;
	top:0;
	right:0;
}

.buttons	{
	padding-top:20px;
	display: table;
	margin:auto;
	margin-left: 45%;
	border-collapse: separate;
	border-spacing: 10px 0;
}

a.button	{
	display: table-cell;
	font-family: 'Raleway', sans-serif;
	background: #004C97;
	font-size: 22px;
	color: #FFFFFF;
	line-height: 33px;
	width:200px;
	height:200px;
	text-align: center;
	vertical-align: middle;
	-webkit-border-radius: 100px;
	-moz-border-radius: 100px;
	border-radius: 100px;
}

a.button:hover	{
	background: #FFFFFF;
	border: 2px solid #004C97;
	color: #004C97;
	position: relative;
	top:-5px;
}

.topic p	{
	text-align: center;
	padding:40px 0 0 0;
	margin-left:40%;
}

/* contact */

#contact	{
	position: relative;
	top:0;
	left:0;
	width:100%;
	height:50%;
	/* Rectangle 7: */
	/* background: #FFFBF4; */
	background: url('../img/contact-bg.jpg') no-repeat 50% 50%;
	box-shadow: 0px 4px 9px 0px rgba(0,0,0,0.50);
	text-align: center;
	z-index:-2;
	background-size: cover;
}

#company h2, #contact h2	{
	padding-top:80px;
  font-family: 'Kaisotai', serif;
	font-weight: 700;
	font-size: 55px;
	color: #00bf99;
	line-height: 59px;
}

#contact p	{
	padding-top:30px;
	width:100%;
	font-weight: 400;
	font-size: 18px;
	color: #fff;
	line-height: 33px;
}

#contact a	{
	font-family: 'Kaisotai',sans-serif;
	font-size: 25px;
	color: #fff;
	line-height: 47px;
	border: 2px solid #fff;
	border-radius: 40px;
	display: inline-block;
	margin:30px auto;
	padding:10px;
	width:280px;
}

#contact a:hover {
	background-color: #00bf99;
	color: white;
	border: 2px solid #00bf99;
}

.link-button {
	font-family: 'Kaisotai', sans-serif;
	font-size: 25px;
	color: #fff;
	line-height: 47px;
	border: 2px solid #fff;
	border-radius: 40px;
	display: inline-block;
	margin: 30px auto 80px;
	padding: 10px;
	width: 280px;
	cursor: pointer;
  transition: background 300ms;
}

br.pc {
	display: block;
}

br.sp {
	display: none;
}

/* footer */

footer {
	background-color: #fff;
}

footer p	{
	margin:0 auto;
	padding:40px;
	font-family: 'Kaisotai';
	font-weight: 100;
	font-size: 18px;
	color: #000;
	line-height: 47px;
	text-align: center;
}

/* 解像度低めのPC */

@media screen and (max-width:1024px) and (min-width:768px)	{

	a.button	{
		display: table-cell;
		font-family: 'Raleway', sans-serif;
		background: #004C97;
		font-size: 22px;
		color: #FFFFFF;
		line-height: 33px;
		width:120px;
		height:120px;
		text-align: center;
		vertical-align: middle;
		-webkit-border-radius: 60px;
		-moz-border-radius: 60px;
		border-radius: 60px;
	}

	#contact h1	{
		font-size: 30px;
	}

	#contact p	{
		font-size: 16px;
	}

	#contact a	{
		font-size: 30px;
	}

	footer p	{
		font-size: 36px;
	}
}

/* タブレット */

@media screen and (max-width:768px) and (min-width:481px)	{

	.slicknav_menu {
		display: block;
		position: fixed;
		top: 0;
		right: 0;
		background: none;
		z-index: 1000;
	}

	#menu {
		display: none;
	}

	a.button	{
		display: table-cell;
		font-family: 'Raleway', sans-serif;
		background: #004C97;
		font-size: 22px;
		color: #FFFFFF;
		line-height: 33px;
		width:100px;
		height:100px;
		text-align: center;
		vertical-align: middle;
		-webkit-border-radius: 50px;
		-moz-border-radius: 50px;
		border-radius: 50px;
	}

	#contact h1	{
		font-size: 24px;
	}

	#contact p	{
		font-size: 12px;
	}

	#contact	{
		height:80%;
	}

	#contact a	{
		font-size: 30px;
	}

	footer p	{
		font-size: 22px;
	}
}

/* スマートフォン */

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

	html, body {
    width: 100%;
}

	.slicknav_menu {
		display: block;
		position: fixed;
		width: 100%;
		top: 25px;
		background: none;
		z-index: 1000000;
	}

	.slicknav_btn {
		top: -15px;
		/* right: 50px; */
	}

	.header-logo img {
		width: 283px;
		position: fixed;
		top: 24px;
		left: 20px;
	}

	#menu {
		display: none;
	}

	.topic article .content:before	{
		width:100%;
	}

	.topic p	{
		text-align: center;
		padding:40px 0 0 0;
		margin-left:0;
	}

	.buttons	{
		margin-left:auto;
		position:relative;
		z-index:1000;
	}

	a.button	{
		display: table-cell;
		font-family: 'Raleway', sans-serif;
		background: #004C97;
		font-size: 10px;
		color: #FFFFFF;
		line-height: 33px;
		width:60px;
		height:60px;
		text-align: center;
		vertical-align: middle;
		-webkit-border-radius: 30px;
		-moz-border-radius: 30px;
		border-radius: 30px;
	}

	#contact {
		height: 47%;
	}

	#contact h2 {
		padding-top: 30px;
	}
	
	#contact h1	{
		font-size: 24px;
	}

	#contact p	{
		font-size: 18px;
	}

	#contact a	{
		font-size: 24px;
	}
	
	br.pc {
		display: none;
	}
	
	br.sp {
		display: block;
	}

	footer p	{
		font-size: 16px;
	}
}