@charset "UTF-8";
/* CSS Document */
body{
	font-family: 'M PLUS 1p', sans-serif;}

.wrapper{
	width: 960px;
	margin: 0 auto;
}

nav{
	max-width: 90%;
}

/*ハンバーガーアイコン*/
.btn-burger {
    cursor: pointer;
    display: block;
    width: 56px;
    height: 60px;
    position: absolute;
    top: 5px;
    right: 10px;
}

/*ハンバーガーアイコンを作る三本線*/
.icon, .icon:before, .icon:after {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    height: 2px; /*線の太さ*/
    width: 35px; /*線の長さ*/
    background-color: #444;
    border-radius: 2px;
    display: block;
    content: '';
    cursor: pointer;
    margin: auto;
}

/*三本線の間隔*/
.icon:before {
  top: 12px;
}
.icon:after {
  top: -20px;
}

/*チェックボックス非表示*/
.nav-toggle {
    display: none;
}

/*アイコンをクリックしたら*/
.nav-toggle:checked ~ .btn-burger .icon {
    background: transparent;
}
.nav-toggle:checked ~ .btn-burger .icon:before {
    transform: rotate(-45deg);
    top: 0;
}
.nav-toggle:checked ~ .btn-burger .icon:after {
    transform: rotate(45deg);
    top: 0;
}

.icon,
.icon:before,
.icon:after {
    transition: all .8s;
}


/*中身*/
.nav {
    background-color: #fff;
    
}
.nav-list a {
    display: block;
    text-decoration: none;
	text-align: end;
    color: #000000;
}

.nav-list {
    list-style: none;
    display: none;
    margin: 0;
    padding-left: 20px;
}

.nav-list li {
    margin: 0;
    padding: 10px;
}

.nav-toggle:checked ~ .nav .nav-list {
    display: block;
}

.flexli{
	display: flex;
	list-style: none;
	justify-content: flex-end;
}

.flexli li{
	width: 100px;
}

.flexli a{
	text-decoration: none;
	color: black;
}

.headerflex{
	display: flex;
}

.logoset{
	display: flex;
	justify-content: flex-start;
	align-items: center;
	height: 200px;
	max-width: 90%;
}

.logo{
	margin: 50px;
}

.logo img{
	width: 100%;
	max-width: 150px;
}


.keyfirmlogotext{
	width: 100%;
}

.keyfirmlogotext img{
	max-width: 200px;
}

.kv{
	margin: 0 auto;
	padding-top: 50px;
	text-align: right;
	width: 80%;
	height: 500px;
	background-color: #f7f7f7;
	background-image: url( "images/keyfirm_mv_pc3.jpg");
	background-position: center top;
	background-size: cover;
	background-repeat: no-repeat;
}

.tate{
	writing-mode: vertical-rl;
	width: 20%;
	font-size: 2rem;
}

.kvflex{
	display: flex;
}

.jigyoflex{
	display: flex;
	justify-content: space-between;
}

/**.jigyoflex2{
	display: flex;
}**/

.jigyoflex2tex{
	margin: 0 0 50px 0;
}

.jigyoflex2tex　p{
	margin: 0;
}

.jigyoflex2img img{
	width: 100%;
    height: auto;
    background-size: cover;
    background-position: center;
}

.jigyoflexbox{
	width: 25%;
	border: #555 solid 1px;
	padding: 20px;
}

.jigyoflexboximg,.jigyoflexboxtex{
	margin: 0 auto;
	text-align: center;
}

.jigyoflexboximg:hover{
	opacity: 0.5;
}

.jigyoflexboxtex:hover{
	cursor: pointer;
	transform: scale(1.2);
}

.jigyoflexinner{
	margin: 100px auto;
}

.name{
	text-align: right;
}

table{
  width: 100%;
  border-collapse: collapse;
}

table tr{
  border-bottom: solid 2px white;
}

table tr:last-child{
  border-bottom: none;
}

table th{
  position: relative;
  text-align: left;
  width: 30%;
  background-color: #1040ba;
  color: white;
  padding: 30px 0 30px 30px;
}

table th:after{
  display: block;
  content: "";
  width: 0px;
  height: 0px;
  position: absolute;
  top:calc(50% - 10px);
  right:-10px;
  border-left: 10px solid #1040ba;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
}

table td{
  text-align: left;
  width: 70%;
  background-color: #eee;
  padding: 30px 0 30px 50px;
}

section{
	margin: 150px auto;
}

iframe {
	width: 100%;
}

.toiawase h2{
	text-align: center;
	margin: 50px auto;
}

.toiflex{
	display: flex;
	justify-content: space-between;
}

.toibox{
	max-width: 960px;
	border: #555 solid 1px;
	padding: 20px;
}

.toicon,.toibox h4{
	text-align: center;
	margin: 0 auto;
}

.toibox h4{
	font-size: 1.5rem;
}

.toicon{
	font-size: 1.5rem;
	font-weight: bold;
}

.toicons{
	text-align: center;
	margin: 0 auto;
	font-size: 0.7rem;
}

.toimail,.toitel{
	text-align: center;
	margin: 0 auto;
}

.toimail img,.toitel img{
	max-width: 80px;
	padding: 20px 20px 0;
	opacity: 30%;
}

.toicon a,.jigyoflexbox a{
	text-decoration: none;
	color: black;
}

.footernav li{
	list-style: none;
	text-align: end;
}

.footerflex{
	display: flex;
	justify-content: space-between;
}

footer p{
	text-align: center;
	padding: 50px 0;
	margin: 0;
}

footer{
	margin: 0 auto;
	background-color: #f1f1f1;
}

.logofooter img{
	max-width: 150px;
}

footer nav{
	padding: 50px 0;
}

body{
  padding: 0;
  margin: 0;
}

.link {
  padding: 10px;
}

/*.container{
  width: 100%;
}

.text{
  font-family: 'arial black italic';
  font-size: 60px;
  color: #1040ba;
  text-align: center;
  padding: 0;
  margin: 0;
  margin-left: 10%;
  transform: translateX(-200%);
  opacity: 0;
  animation: slide-in-anim 2s ease-out forwards;
}

@keyframes slide-in-anim {
  20% {
    opacity: 0;
  }
  60% {
    transform: translateX(-45%);
  }
  75% {
    transform: translateX(-52%);
  }
  100% {
    opacity: 1;
    transform: translateX(-50%);
  }
}*/
/* レイアウト用 */
.container {
  display: flex;
  justify-content: center;
  margin-top: 100px;
  margin-bottom: 100px;
}

.text {
	opacity: 0;
	color: #172A88;
	font-size: 3rem;
	font-family: YuGothic, "Yu Gothic medium", "Hiragino Sans", Meiryo, "sans-serif"
}

.text.active {
  animation: 2s fadeup ease-in-out forwards;
}

@keyframes fadeup {
  0% {
    opacity: 0;
    transform: translateX(-50px);
  }

  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

h3 {
  border-bottom: solid 3px #172A88;
  position: relative;
  margin: 100px 0;
  padding: 50px 0 20px;
}

h3:after {
  position: absolute;
  content: " ";
  display: block;
  border-bottom: solid 3px #f7ed13;
  bottom: -3px;
  width: 10%;
}

p{
	line-height: 1.7;
}

.footernav a,.toibox a{
	text-decoration: none;
	color: black;
}

.kvsp{
	display: none;
}

#page_top {
    position: fixed;
    bottom: 30px;
    right: 20px;
}
#page_top a {
    background-color: #999;
    color: #fff;
    text-align: center;
    text-decoration: none;
    padding: 20px 20px 20px;
}
#page_top a:hover {
    background-color: #666;
    text-decoration: none;
}

#page_top img{
	max-width: 15px;
	height: auto;
}
/* --------------------------------------------------
  幅768px以上のスタイル指定 ここから
-------------------------------------------------- */
@media screen and (min-width: 768px) {
/* ハンバーガーボタン */
.btn-burger {
    display: none;  /*768px以上では使用しない */
}
header {
    padding: 30px 0 0;
}
.logo {
    width: auto;
    margin: 20px;
    padding: 0;
    text-align: center;
}
.nav-toggle:checked ~ .nav .nav-list {
    display: none;
}
.nav {
    height: 75px;
}
.nav-list {
    display: flex;
    justify-content: flex-end;
    height: 75px;
    align-items: center;
}
.nav-list li:not(:last-child) {
    border-right: 1px solid #fff;
}
}
@media screen and (max-width: 768px) {
	.wrapper{
		width: 90%;
	}
	
	.jigyoflexboximg{
		margin: 30px;
	}
}
@media screen and (max-width:480px) {
	
	.wrapper{
		width: 90%;
	}
	
	.kvflex{
		display: none;
	}
	
	.kvsp{
		display: block;
		position: relative;
	}
	
	.kvsp img{
		max-height: 600px;
		width: 100%;
	}
	
	.kvsp p{
		position: absolute;
		top: 30%;
  left: 25%;
  -ms-transform: translate(-50%,-50%);
  -webkit-transform: translate(-50%,-50%);
  transform: translate(-50%,-50%);
  margin:0;
  padding:0;
	}
	
	section{
		margin: 0px auto;
	}
	
	.jigyoflex{
	display: block;
    }
	.jigyoflexbox{
	width: 100%;
	border: #555 solid 1px;
	margin: 10px 0;
	padding: 0;
}
	table {
  display: block;
  width: 100%;
}
	table tbody {
  display: block;
  width: 100%;
}
	table tr {
  display: block;
  width: 100%;
}
	table th {
  display: block;
  width: 95%;
 padding: 20px 0 20px 20px;
}
	table th:after{
  display: none;
}
	table td{
  background-color: #fff;
  padding: 20px 0 20px 20px;
  text-align: left;
}
	
	.toiawase{
		margin: 50px 0;
		}
	
	.jigyoflexboximg{
		margin: 30px;
	}
	
	.tate{
		text-shadow:0 0 3px #f2f2f2,0 0 3px #f2f2f2,0 0 3px #f2f2f2,0 0 3px #f2f2f2,0 0 3px #f2f2f2,0 0 3px #f2f2f2,0 0 3px #f2f2f2,0 0 3px #f2f2f2,0 0 3px #f2f2f2,0 0 3px #f2f2f2,0 0 3px #f2f2f2,0 0 3px #f2f2f2,0 0 3px #f2f2f2,0 0 3px #f2f2f2,0 0 3px #f2f2f2,0 0 3px #f2f2f2;
	}
	}
