/*-------------------------------------
　　コンテンツフェードイン
-------------------------------------*/

.fadein {
  opacity: 0;
  transform: translate(0, 60px);
  transition: all 1500ms;
}
.fadein.scrollin {
  opacity: 1;
  transform: translate(0, 0);
}

/*-------------------------------------
　　メインイメージ
-------------------------------------*/

#fview {
	position: relative;
	background-image: url("../images/catch_img.jpg");
    background-size: cover;
    background-attachment: fixed;
    background-position: center center;
	display: flex;
	flex-wrap: nowrap;
	justify-content: space-around;
	align-items: baseline;
	padding: 600px 15px 0px 15px;
}
#fview:after {
    position: absolute;
    content: ' ';
    display: block;
	bottom: 0;
    border-style: solid;
    border-width: 220px 0 0 100vw;
    border-color: rgba(213,71,66,0.0) transparent transparent rgba(213,71,66,1.0);
    transform: scale(-1, 1);
}
#fview div {
	position: relative;
	z-index: 1;
	margin-bottom: -50px;
}

@media screen and ( max-width:980px ) {
#fview {
	padding: 420px 15px 0px 15px;
    background-attachment: local;
    background-position: center left;
}
#fview:after {
    border-width: 100px 0 0 100vw;
}
}

/*-------------------------------------
　　キャッチ
-------------------------------------*/

#catch {
	background: rgba(34,148,204,1.0); /*213,71,66*/
	text-align: center;
	color: #FFF;
	padding: 0px 0px 80px 0px;
}
#catch * {
	color: #FFF;
}
#catch h1 {
	font-size: 30px;
	line-height: 100%;
	font-weight: bold;
	margin: 0px 0px 40px 0px;
	padding: 0px;
}

@media screen and ( max-width:980px ) {
#catch p {
	text-align: left;
}
#catch h1 {
	font-size: 26px;
}
}

/*-------------------------------------
　　メッセージ
-------------------------------------*/

#message {
	position: relative;
	background-image: url("../images/message_bg.jpg");
    background-size: cover;
    background-attachment: fixed;
    background-position: center center;
	padding-bottom: 160px;
}
#message:before {
    position: absolute;
    content: ' ';
    display: block;
	top: 0;
    border-style: solid;
    border-width: 300px 0 0 100vw;
    border-color: rgba(34,148,204,1.0) transparent transparent rgba(34,148,204,0.0);
    transform: scale(-1, 1);
}
#message h1[title] {
	text-align: right;
}
#message h1[title]:before {
	text-align: right;
}
#message h1[title]:after {
	border-color: rgba(213,71,66,1.0);
	right: 0;
}
#message h2 {
	font-size: 24px;
	line-height: 160%;
	margin-bottom: 20px;
	color: rgba(213,71,66,1.0);
}
#message h3 {
	font-size: 18px;
	line-height: 160%;
	margin-bottom: 20px;
    text-indent: -30px;
    margin-left: 30px;
}
#message h3:before {
    display: inline-block;
    content: ' ';
    width: 20px;
    margin-right: 10px;
    border-bottom: 1px solid #000;
    top: -5px;
    position: relative;
}
.wp-block-column.message_img img {
    max-width: 90%;
}
.wp-block-column.message_img figcaption {
    background: rgba(213,71,66,1.0);
	margin: -15px 0px 0px 10%;
    padding: 40px 25px 15px 25px;
    text-align: right;
    color: #FFF;
    font-size: 18px;
}
.wp-block-column.message_img strong {
    font-size: 28px;
}

@media screen and ( max-width:980px ) {
#message h1[title] {
	text-align: initial;
}
#message h1[title]:before {
	text-align: initial;
}
#message h1[title]:after {
	right: initial;
}
#message:before {
    border-width: 100px 0 0 100vw;
}
#message h2 {
	font-size: 22px;
}
.wp-block-column.message_img strong {
    font-size: 22px;
}
}

/*-------------------------------------
　　アイデアの源
-------------------------------------*/

#idea {
	position: relative;
	background: rgba(34,148,204,1.0);
	padding-bottom: 5px;
	text-align: center;
	color: #FFF;
	padding-bottom: 60px;
}
#idea h2 {
	font-size: 28px;
	line-height: 160%;
	margin-bottom: 20px;
	color: #FF0;
}
#idea h3 {
	font-size: 20px;
	line-height: 160%;
	margin-bottom: 20px;
    text-indent: -30px;
    margin-left: 30px;
	color: #FF0;
}
#idea:before, #idea:after {
    position: absolute;
    content: ' ';
    display: block;
    top: -140px;
    border-style: solid;
    border-width: 140px 0 0 50vw;
    border-color: rgba(34,148,204,0.0) transparent transparent rgba(34,148,204,1.0);
    transform: scale(1, 1);
}
#idea:after {
    border-color: rgba(34,148,204,1.0) transparent transparent rgba(34,148,204,0.0);
    transform: scale(1, -1);
    left: 50%;
}
.wp-block-image.pos80 {
	position: relative;
    top: -160px;
    height: 160px;
}

@media screen and ( max-width:980px ) {
#idea {
	text-align: left;
}
#idea h2 {
  font-size: 24px;
}
#idea h3 {
  font-size: 18px;
}
}

/*-------------------------------------
　　事業紹介
-------------------------------------*/

#business {
	position: relative;
	background: rgba(169,114,165,1.0);
	padding-bottom: 5px;
	padding-top: 60px;
}

#business h1[title] {
	text-align: center;
	color: #FFF;
	margin-bottom: 60px;
}
#business h1[title]:before {
	color: #FFF;
	font-size: 55px;
}
#business h1[title]:after {
	left: calc(50% - 27px);
	border-color: #FFF;
}
#business .wp-block-column {
	color: #FFF;
}
#business .wp-block-column .wp-block-image {
	text-align: center;
}
#business .wp-block-column h2 {
	font-size: 24px;
	margin-bottom: 20px;
	text-align: center;
}
#business .wp-block-button.is-style-outline > .wp-block-button__link {
	font-size: 14px !important;
    border-color: #FFF !important;
    color: #FFF !important;
	margin-top: -20px;
}
#business .wp-block-button.is-style-outline > .wp-block-button__link:hover {
    color: rgba(169,114,165,1.0) !important;
	background: #FFF !important;
}

@media screen and ( max-width:980px ) {
#business:after {
	height: 80%;
}
#business .wp-block-column h2 {
  font-size: 20px;
}
}

/*-------------------------------------
　　製品紹介
-------------------------------------*/

#products {
	position: relative;
	background: #FEEC7E;
	padding-top: 80px;
	padding-bottom: 40px;
}
#products:before {
    position: absolute;
    content: ' ';
    display: block;
	top: 0px;
    border-style: solid;
    border-width: 300px 0 0 100vw;
    border-color: rgba(169,114,165,1.0) transparent transparent rgba(169,114,165,0.0);
    transform: scale(-1, 1);
}

#products h2 {
  font-size: 30px;
  line-height: 160%;
  margin: 0px 0px 20px 0px;
}
#products h3 {
  font-size: 22px;
  line-height: 160%;
  margin: 0px 0px 20px 0px;
}

@media screen and ( max-width:1000px ) {
#products {
	padding-top: 0px;
}
#products .wp-block-columns {
	flex-wrap: wrap !important;
}
#products .wp-block-column {
	flex-basis: auto !important;
	width: 100% !important;
}
#products h2 {
  font-size: 24px;
}
#products h3 {
  font-size: 20px;
}
}
@media screen and ( max-width:980px ) {
#products h2 {
  font-size: 20px;
}
#products h3 {
  font-size: 18px;
}
}


/*-------------------------------------
　　インタビュー
-------------------------------------*/

#interview {
	position: relative;
	background-image: url("../images/message_bg.jpg");
    background-size: cover;
    background-attachment: fixed;
    background-position: center center;
	padding-bottom: 80px;
}

#interview:before {
    position: absolute;
    content: ' ';
    display: block;
	top: 0;
    border-style: solid;
    border-width: 0 0 300px 100vw;
    border-color: rgba(254,236,126,0.0) transparent transparent rgba(254,236,126,1.0);
    transform: scale(-1, 1);
}

#interview h1 {
  font-size: 34px;
  line-height: 160%;
  color: rgba(213,71,66,1.0);
  margin: 0px 0px 30px 0px;
}

#interview h2 {
  font-size: 26px;
  line-height: 160%;
  border-left: 8px solid rgba(213,71,66,1.0);
  padding: 2px 0px 0px 15px;
  margin: 0px 0px 20px 0px;
	color: rgba(213,71,66,1.0);
}

#interview .interviewList {
	display: flex;
	justify-content: space-between;
}
#interview .interviewList a {
    width: 290px;
    display: block;
    text-decoration: none;
	margin: 10px;
    background: #FFF;
	position: relative;
}
#interview .interviewList a:hover {
    opacity: 0.8;
} 
#interview .interviewList dl, 
#interview .interviewList dt,
#interview .interviewList dd {
	margin: 0px;
	padding: 0px;
	width: 100% !important;
}
#interview .interviewList dl {
	display: flex;
	flex-wrap: wrap;
}
#interview .interviewList dl * {
    color: #000;
}
#interview .interviewList dt {
	padding: 0px 20px;
}
#interview .interviewList dd {
	padding: 0px 20px;
}
#interview .interviewList dt.name {
	font-size: 18px;
	font-weight: bold;
	order: 2;
	padding-top: 10px;
}
#interview .interviewList dd.year {
	font-size: 14px;
	line-height: 160%;
	color: rgba(213,71,66,1.0);
	order: 3;
}
#interview .interviewList dd.text {
	font-size: 14px;
	line-height: 160%;
	order: 4;
	padding: 10px 20px 20px 20px;
}
#interview .interviewList dd.pic {
	padding: 0px 0px 10px 0px;
    height: 200px;
    overflow: hidden;
}
#interview .interviewList dd.pic img {
	width: 100%;
}
@media screen and ( max-width:1400px ) {
#interview .interviewList {
	flex-wrap: wrap;
}
#interview .interviewList a {
    width: 30%;
}
}
@media screen and ( max-width:1000px ) {

#interview h1 {
  font-size: 24px;
  line-height: 160%;
  color: rgba(213,71,66,1.0);
  margin: 0px 0px 30px 0px;
}

#interview h2 {
  font-size: 20px;
}
#interview .interviewList a {
    width: 45%;
}
}
@media screen and ( max-width:500px ) {

#interview .interviewList a {
    width: 100%;
}
}


/*-------------------------------------
　　ギャラリー
-------------------------------------*/

#photos {
	position: relative;
	background: rgba(213,71,66,1.0);
	padding-top: 80px;
	padding-bottom: 80px;
}
#photos:before, #photos:after {
    position: absolute;
    content: ' ';
    display: block;
    bottom: 0px;
    border-style: solid;
    border-width: 100px 0 0 50vw;
    border-color: rgba(255,255,255,1.0) transparent transparent rgba(255,255,255,0.0);
    transform: scale(-1, -1);
}
#photos:after {
    transform: scale(1, -1);
    left: 50%;
}
#photos h1[title] {
	text-align: center;
	color: #FFF;
}
#photos h1[title]:before {
	color: #FFF;
	font-size: 55px;
}
#photos h1[title]:after {
	left: calc(50% - 27px);
	border-color: #FFF;
}
#photos .wp-block-button.is-style-outline > .wp-block-button__link {
    border-color: #FFF !important;
    color: #FFF !important;
}
#photos .wp-block-button.is-style-outline > .wp-block-button__link:hover {
    color: rgba(213,71,66,1.0) !important;
	background: #FFF !important;
}
#photos * {
	color: #FFF;
}
#photos h1[title]+p {
	font-size: 17px;
}

@media screen and ( max-width:980px ) {
#photos {
	padding-top: 40px;
	padding-bottom: 40px;
}
#photos h1[title]:before {
	color: #FFF;
	font-size: 40px;
}
}

#bwg_thumbnails_0 {
    display: flex;
    flex-wrap: nowrap;
    width: 100% !important;
}
#gal_front_form_0 {
    overflow-x: scroll;
}
.bwg-container-0.bwg-standard-thumbnails {
}

.bwg-title2 {
    font-size: 14px !important;
    text-align: left !important;
    font-weight: normal !important;
	padding: 0px 5px 20px 5px !important;
	color: #FFF !important;
}

/*-------------------------------------
　　会社紹介
-------------------------------------*/

#company {
	position: relative;
	padding-bottom: 40px;
	padding-top: 80px;
}
#company h1 {
	text-align: center;
}
#company .company_map {
	overflow: hidden;
}

@media screen and ( max-width:1100px ) {
#company {
	padding-top: 40px;
}
#company .wp-block-columns {
	flex-wrap: wrap !important;
}
#company .wp-block-column {
	flex-basis: auto !important;
	width: 100% !important;
}
}

/*-------------------------------------
　　採用情報
-------------------------------------*/

#recruit {
	position: relative;
	background: rgba(213,71,66,1.0);
	padding-bottom: 100px;
	padding-top: 40px;
}
#recruit:after {
    position: absolute;
    content: ' ';
    display: block;
	bottom: 0px;
    border-style: solid;
    border-width: 220px 0 0 100vw;
    border-color: rgba(34,148,204,0.0) transparent transparent rgba(34,148,204,1.0);
    transform: scale(-1, 1);
}
#recruit h1[title], #recruit h1[title]:before {
    color: #FFF;
	text-align: center;
}
#recruit h1[title]:after {
    border-color: #FFF;
	left: calc(50% - 28px);
}

#recruitf {
	position: relative;
	background: #FEEC7E;
	padding-bottom: 40px;
}
#recruitf:before {
    position: absolute;
    content: ' ';
    display: block;
	top: 0px;
    border-style: solid;
    border-width: 0 0 300px 100vw;
    border-color: rgba(255,255,255,0.0) transparent transparent rgba(255,255,255,1.0);
    transform: scale(-1, 1);
}

.recruitContainer {
	overflow-x: auto;
	padding-bottom: 20px;
}
.recruitList {
	display: flex;
	justify-content: space-between;
	width: 1320px;
}
.recruitList a {
    width: 310px;
    display: block;
    text-decoration: none;
	margin: 10px;
    padding: 20px;
    background: #FFF;
}
.recruitList a:hover {
    opacity: 0.8;
} 
.recruitList dl, 
.recruitList dt,
.recruitList dd {
	margin: 0px;
	padding: 0px;
	width: 100% !important;
}
.recruitList dl {
	display: flex;
	flex-wrap: wrap;
}
.recruitList dl * {
    color: #000;
}
.recruitList dd {
	border-bottom: 1px solid #AAA;
	padding: 5px 0px;
}
.recruitList dd.text {
	order: 3;
	font-weight: bold;
	line-height: 160%;
	padding: 15px 0px;
	font-size: 16px;
}
.recruitList dd.salary {
	order: 4;
	font-size: 15px;
}
.recruitList dd.time {
	order: 5;
	font-size: 15px;
}
.recruitList dd i {
	color: #E60012 !important;
	width: 25px;
	text-align: center;
	display: inline-block;
}
.recruitList dt.category {
	order: 2;
}
.recruitList dt.category span {
    display: inline-block;
    font-size: 14px;
    line-height: 100%;
    color: #FFF;
    background: #2A882A;
    border-radius: 15px;
    padding: 8px 20px 5px 20px;
}
.recruitList dt.category span.fulltime {    background: #D54742; }
.recruitList dt.category span.entrusted {    background: #00A796; }

@media screen and ( max-width:980px ) {
#recruitf:before {
    border-width: 0 0 100px 100vw;
}
}
