@charset "utf-8";


/*header--------------------*/
#header_t {
  top: 0;
  height: 650px;
  position: relative;
}

#header_t:before{
  content: '';
  position:fixed;
  top:0;
  left:0;
  z-index:-1;
  width:100%;
  height: 100vh;
  background:url("../img2/home_bg.png") no-repeat center;
  background-size: cover;
}

.header-msg {
  clear: both;
  color: #000;
  padding: 40px 0 0 55px;
  line-height: 1.5;
  font-size: 45px;
  letter-spacing: 3px;
  /*font-family: 'Aboreto', cursive;*/
  font-family: "KinfolkReg";
}

.header-msg .blue {
  color: #4169e1;
  }


/*---------main---------*/

#menu {
    margin: 150px 220px 0 auto;
}

#menu .title {
	margin-right: 220px;
	padding: 100px 220px 0 0;
	border-bottom: 1px solid #000;
}

#menu .title h2 {
	width: 100%;
	margin: 0;
	margin-right: -20px;
	padding-left: 20px;
	border: none;
}

.container{
  width: 100%;
  position: relative;
  z-index:1;
  background:#eee;
}

.work {
	padding: 0 220px 50px 10%;
	text-align: left;
}

.work_1, .work_2, .work_3  {
	width: 100%;
	border-bottom: 1px solid #000;
}

.work_img {
	box-sizing: border-box;
	width: 28%;
	height: 270px;
	float: left;
	display: flex;
    align-items: center;
}

.work_img img {
	width: 70%;
	display: block;
	margin: auto;
}

.work_text {
	box-sizing: border-box;
	width: 32%;
	height: 210px;
	float: left;
	text-align: left;
	margin: 30px auto;
	padding: 5px 20px 5px 30px;
	border-left: 1px solid #000;
	display: flex;
    align-items: center;
    font-size: 19px;
	letter-spacing: 1.5px;
	/*font-family: 'Aboreto', cursive;*/
	font-family: "KinfolkReg";
}

.work_text h3 {
	word-break: break-all;
}

.work_text2 {
	box-sizing: border-box;
	width: 40%;
	height: 210px;
	float: right;
	text-align: left;
	margin: 30px auto;
	padding: 5px 60px 5px 50px;
	border-left: 1px solid #000;
	display: flex;
    align-items: center;
}

.work_text2 p {
	margin-top: 30px;
	line-height: 20px;
	font-size: 11px;
	letter-spacing: 2px;
	font-family: 'Noto Sans JP', sans-serif;
}

/*moreボタン----------*/

.more, .more2 {
  width: 100px;
  float: right;
  display: block;
  margin: 30px 5px 10px 0;
  padding: 5px 5px 5px 10px;
  background: #222;
  border-radius: 2em;
  text-align: center;
  text-decoration: none;
  font-size: 10px;
  /*font-family: 'Aboreto', cursive;*/
  font-family: "KinfolkReg";
  line-height: 15px;
  letter-spacing: 3px;
  transition: all 1s;
}

.more:hover, .more2:hover {
  color: #fff;
  background-color: #4169e1;
}

/*moreの三角アイコン*/
.more_b::after,
.more::after {
  content: "";
  display: inline-block;
  width: 0;
  height: 0;
  margin-left: 5px;
  border: transparent 5px solid;
  border-left-color: #fff;
  vertical-align: middle;
}

/*-----footer-----*/

#footer {
    margin: 0 220px 0 auto;
}


/*
=======================================
  940px以下
=======================================
*/
@media only screen and (max-width: 940px) and (min-width: 450px) {

.container{
  width: 100%;
  position: relative;
  z-index:1;
  background:#eee;
  padding:100px 0 20px 30px;
}

#header,
#header:before{
  height: 90vh;    
    }

#menu {
    margin: 150px 0 0 0;
}

#menu .title {
	padding: 100px 200px 0 0;
}

#menu .title h2 {
	width: 100%;
	margin: 0;
}

.title, .work {
	width: 90%;
}

.work {
	padding: 0 0 50px 0;
	text-align: left;
}

.work_img {
	box-sizing: border-box;
	width: 28%;
	height: 270px;
	float: left;
	display: flex;
    align-items: center;
}

.work_img img {
	width: 70%;
	display: block;
	margin: auto;
}

.work_text {
	box-sizing: border-box;
	width: 32%;
	height: 210px;
	float: left;
	text-align: left;
	margin: 30px auto;
	padding: 5px 20px 5px 30px;
	border-left: 1px solid #000;
	display: flex;
    align-items: center;
    font-size: 17px;
	letter-spacing: 3px;
	/*font-family: 'Aboreto', cursive;*/
	font-family: "KinfolkReg";
}

.work_text2 {
	box-sizing: border-box;
	width: 40%;
	height: 210px;
	float: right;
	text-align: left;
	margin: 30px auto;
	padding: 5px 60px 5px 50px;
	border-left: 1px solid #000;
	display: flex;
    align-items: center;
}

.work_text2 p {
	margin-top: 10px;
	line-height: 25px;
	font-size: 11px;
	letter-spacing: 2px;
	font-family: 'Noto Sans JP', sans-serif;
}

#header_t:before{
  background:url("../img2/home_bg_sp.png") no-repeat center;
}


}

/*
=======================================
  450px以下
=======================================
*/

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

#header_t {
  top: 0;
  width: 100%;
  height: 100vh;
  position: relative;
}

#header_t:before{
  content: '';
  position:fixed;
  top:0;
  left:0;
  z-index:-1;
  width:100%;
  height: 100vh;
  background:url("../img2/home_bg_sp.png") no-repeat center;
  background-size:cover;
}

.header-msg {
  padding: 25px 0 0 25px;
  line-height: 1.6;
  font-size: 25px;
  letter-spacing: 3px;
  position: fixed;
  top: 5px;
  left: 5px;
}

.circle {
	width: 100px;
	height: 100px;
	border-radius: 50%;
	background: #e14a2b;
	z-index: -1;
	margin-top: 50px;
	margin-left: 70px;
}

.container{
  box-sizing: border-box;
  width: 100%;
  padding: 0;
}

#menu .title {
	margin-right: 20px;
	padding: 20px 220px 0 0;
	border-bottom: 1px solid #000;
}

#menu .title h2 {
	width: 90%;
	margin: 30px 0 0 0;
	padding-left: 10px;
}

.work {
	width: 90%;
	box-sizing: border-box;
	margin: 0 auto;
	padding: 0;
}

.work_1, .work_2, .work_3  {
	margin: 0 auto;
	width: 90%;
}

.work_img {
	box-sizing: border-box;
	width: 40%;
	height: auto;
	margin-left: -10px;
}

.work_img img {
	width: 100%;
}

.work_text {
	box-sizing: border-box;
	width: 100%;
	height: auto;
	float: right;
	text-align: left;
	margin: 0 auto -10px auto;
	padding: 0 0 0 20%;
	border: none;
	font-size: 17px;
}

.work_text2 {
	clear: both;
	box-sizing: border-box;
	width: 100%;
	height: auto;
	text-align: left;
	margin: 10px auto 10px auto;
	padding: 0 0 0 20%;
	border: none;
}

.work_text2 p {
	margin-top: 10px;
}

.work_1, .work_2, .work_3 {
	padding-top: 30px;
	padding-bottom: 40px;
}

/*moreボタン----------*/

.more{
	margin-top: 30px;
}

.more2{
  width: 100px;
  float: right;
  display: block;
  margin: 30px 5px 10px 0;
  padding: 5px 5px 5px 10px;
  background: #222;
  border-radius: 2em;
  text-align: center;
  text-decoration: none;
  font-size: 10px;
  /*font-family: 'Aboreto', cursive;*/
  font-family: "KinfolkReg";
  line-height: 15px;
  letter-spacing: 3px;
  transition: all 1s;
}

#footer {
	width: 100%;
	margin-top: -50px;
	padding-top: 50px;
}


}



