@charset "utf-8";
@import url(cmn.css);
@import url(base.css);

/* ==========================================================================
  MAIN
========================================================================== */

.mainslider {
  clear: both;
  position: relative;
  overflow: hidden;
  background-color: var(--color04);
  padding: 30px 0;
  margin-bottom: 80px;
}
.mainslider__inner {
  display: flex;
  max-width: 1600px;
  margin: 0 auto;
  /* ここを追加：中身の要素を高さに合わせず、それぞれの元サイズを優先する */
  align-items: flex-start; 
}
.mainslider__img {
  width: 4.3%;
  height: auto; /* 高さは比率を守る */
}
.swiper {
  position: relative;
  flex: 1;
  min-width: 0; /* スライダーがはみ出すのを防ぐおまじない */
}
.mainslider__tit {
  position: absolute;
  bottom: 0;
  left: 0;
  color: var(--color01);
  font-family: var(--font01);
  font-size: clamp(2rem,3.75vw,3rem);
  font-weight: 600;
  background-color: var(--color04);
  border-radius: 0 10px 0 0;
  padding: 30px 40px 20px 6.5%;
  z-index: 1000;
}
.swiper-slide {
  padding-left: 5.5%;
}
.swiper-slide img {
	border-radius: 10px;
}
.image-container {
  display: flex;
  gap: 30px;
  width: 100%;
  align-items: stretch; 
  aspect-ratio: 1551 / 943; 
}
.left-photo {
  flex: 2;
  width: 0;
  height: 100%;
  object-fit: cover;
}
.right-column {
  display: flex;
  flex-direction: column;
  gap: 30px;
  flex: 1;
  width: 0;
}
.right-column img {
  width: 100%;
  flex: 1;
  object-fit: cover;
  min-height: 0;
}
@media (max-width: 1024px) {
}


/*COOPERATION*/

.flow {
  width: 80%;
  text-align: center;
  margin: 0 auto;
}
.flow__item {
  font-family: var(--font01);
  font-weight: 600;
  text-align: center;
  background-color: var(--color05);
  padding: 15px 0;
  margin-bottom: 5px;
}
.flow i {
  color: var(--color01);
  margin-bottom: 5px;
}


/* ==========================================================================
  CONTENTS
========================================================================== */

/*TOP*/

.news .wrapper {
  display: flex;
}
.news__tit {
  width: 300px;
}
.news__tit a {
  display: inline-block;
  color: var(--color01);
  font-size: clamp(1.8rem,2.375vw,2rem);
  background: url("../images/cmn-images/icon-arrow.png") 100% 50% no-repeat;
  padding: 30px 80px 30px 0;
}
.news__box {
  flex: 1;
}
.news-box__cat {
  width: 200px;
}
.news-box__txt {
  flex: 1;
}

.about {
  margin-bottom: 0!important;
}
.about .wrapper {
  position: relative;
  display: flex;
  overflow: visible; /* はみ出しを許可 */
}
.about__txt {
  width: 60%;
}
.about__tit {
  color: var(--color01);
  font-size: clamp(3rem,6.25vw,5rem);
}
.about__tit span {
  display: block;
  color: var(--color03);
  font-size: clamp(1.8rem,2.375vw,2.2rem);
  background: url("../images/cmn-images/tit-bg.png") 0 50% no-repeat;
  background-size: 23px;
  padding-left: 35px;
  margin-bottom: 20px;
}
.about__img {
  width: 40%;
  position: relative;
  right: -10%; /* はみ出し量（調整ポイント） */
}
.about__img img {
  display: block;
  width: 95%;
  height: auto;
  float: right;
}

.link-list {
  margin-top: -140px;
}
.link-list .wrapper {
  display: flex;
  align-items: center;
}
.link-list__img img {
  display: block;
  width: 55%;
  margin-left: 13%;
}
.page-link {
  width: 420px;
}
.page-link a {
  display: block;
  color: var(--color01);
  font-size: clamp(1.8rem,2.375vw,2rem);
  font-family: var(--font01);
  font-weight: 700;
  background: url("../images/cmn-images/icon-arrow.png") 100% 50% no-repeat;
  border-bottom: solid 2px;
  padding: 40px 0;
}

.works {
  color: #fff;
}
.works .tit-cmn01 span {
  color: #fff;
}
.works a,.works a:visited {
  color: #fff;
}
.works .bt-cmn01 a {
  color: var(--color01);
  background-color: #fff;
}


.recruit {
  background: url("../images/index-images/line.png") 50% 0 no-repeat;
  background-color: var(--color04);
}
.recruit .wrapper {
  display: flex;
  column-gap: 5%;
}
.recruit__img {
  width: 100px;
}
.recruit__inner {
  padding-left: 8%;
}
.recruit__tit01 {
  font-size: 1.8rem;
}
.recruit__tit02 {
  font-size: 5rem;
  line-height: 100%;
  margin-bottom: 40px;
}
.recruit__tit02 span {
  display: inline-block;
  background-color: #fff;
  padding: 10px;
  margin-bottom: 15px;
}
.recruit__tit03 {
  font-size: 2.5rem;
  margin-bottom: 80px;
}
.recruit-box {
  display: flex;
  column-gap: 40px;
}
.recruit-box__inner {
  width: 65%;
}
.recruit-box__img{
  flex: 1;
}

.cooperation a {
  display: block;
  color: #fff;
  font-family: var(--font01);
  font-size: 2.5rem;
  font-weight: 700;
  padding: 90px 0;
  margin-bottom: 60px;
}
.cooperation a span {
  background: url("../images/cmn-images/icon-arrow.png") 100% 50% no-repeat;
  padding: 10px 100px 10px 0;
}

/*COMPANY*/

.outline {
  display: flex;
  padding: 20px;
}
.outline:nth-child(even) {
  background-color: #eee;
}
.outline__tit {
  width: 150px;
}
.outline__txt {
  flex: 1;
}
.bn-list {
  display: flex;
  flex-wrap: wrap; /* 折り返しを有効にする */
  justify-content: flex-start; /* 左寄せ */
  align-items: center;
}
.bn-list__item {
  width: 25%;
}
.bn-list__item img {
  display: block;
  width: 60%;
  margin: 0 auto;
}
.kigan__item img {
  width: 100%;
}

/*MANAGEMENT*/

.team-list__item {
  margin-bottom: 3%;
}

/*CONTACT*/

.contact-form {
  margin: 0 auto 30px auto;
}
.contact-form dl p {
	line-height: 100%;
}
.contact-form dl p:last-child {
	margin-bottom: 0;
}
.contact-form dl {
  display: flex;
  border-bottom: solid 1px rgba(0,0,0,0.1);
  padding-bottom: 23px;
  margin-bottom: 23px;
}
.contact-form dt {
  width: 300px;
	padding-right: 20px;
}
.contact-form dd {
	flex: 1;
}
.hissu {
	display: inline-block;
	color: #fff;
	font-size: 70%;
	text-align: center;
	background-color: #e00202;
	border-radius: 3px;
	padding: 2px 5px;
	margin-left: 7px;
}

.input01 input {
	background-color: #f8f8f8;
	border: solid 1px #bbbbbb;
	border-radius: 5px;
	padding: 20px;
	width: 50%;
}
.input02 input {
	background-color: #f8f8f8;
	border: solid 1px #bbbbbb;
	border-radius: 5px;
	padding: 20px;
	width: 80%;
}
.input03 input {
	background-color: #f8f8f8;
	border: solid 1px #bbbbbb;
	border-radius: 5px;
	padding: 20px;
}
textarea {
	width: 100%;
	background-color: #f8f8f8;
	border: solid 1px #bbbbbb;
	border-radius: 5px;
	box-sizing: border-box;
	padding: 20px;
}
.contact-form select {
	width: 80%;
	background-color: #f8f8f8;
	border: solid 1px #bbbbbb;
	border-radius: 5px;
	box-sizing: border-box;
	padding: 20px;
}

.radio {
  line-height: 3rem;
}
.bt-form {
	overflow: hidden;
	text-align: center;
	margin: 0 auto 20px auto;
}
.bt-form li {
	display: inline-block;
	width: 100%;
	padding: 0 5%;
}
.bt-form li button {
	display: inline-block;
	color: #fff;
	width: 35%;
	font-size: 100%;
	background-color: var(--color01);
	border: solid 1px var(--color01);
  border-radius: 5px;
	cursor: pointer;
	padding: 25px 0;
	margin: 0 10px;
	-webkit-transition: 0.4s ease-in-out;  
		 -moz-transition: 0.4s ease-in-out;  
			 -o-transition: 0.4s ease-in-out;  
					transition: 0.4s ease-in-out;  
}
.bt-form li button:hover {
	background-color: #545454;
	border: solid 1px #545454;
}
.bt-form li input {
	display: inline-block;
	color: #fff;
	width: 25%;
	font-size: 100%;
	background-color: var(--color01);
	border: solid 1px var(--color01);
  border-radius: 5px;
	cursor: pointer;
	padding: 25px 0;
	margin: 0 10px;
	-webkit-transition: 0.4s ease-in-out;  
		 -moz-transition: 0.4s ease-in-out;  
			 -o-transition: 0.4s ease-in-out;  
					transition: 0.4s ease-in-out;  
}

/* 各ベンダープレフィックスが取れた標準版 */
:placeholder-shown {
	color: #cecece;
}
/* Google Chrome, Safari, Opera 15+, Android, iOS */
::-webkit-input-placeholder {
	color: #cecece;
}
/* Firefox 18- */
:-moz-placeholder {
	color: #cecece; opacity: 1;
}
/* Firefox 19+ */
::-moz-placeholder {
	color: #cecece; opacity: 1;
}
/* IE 10+ */
:-ms-input-placeholder {
	color: #cecece;
}

/*チェックボックス*/

.checkbox01-input{
  display: none;
}
.mwform-checkbox-field-text{
  padding-left: 25px;
  position:relative;
}
.mwform-checkbox-field-text::before{
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 15px;
  height: 15px;
	background-color: #fff;
  border: 2px solid #d9d9d9;
  border-radius: 4px;
}
.checkbox01-input:checked + .mwform-checkbox-field-text{
  color: #3bbe9e;
}
.checkbox01-input:checked + .mwform-checkbox-field-text::after{
  content: "";
  display: block;
  position: absolute;
  top: -5px;
  left: 5px;
  width: 7px;
  height: 14px;
  transform: rotate(40deg);
  border-bottom: 3px solid #3bbe9e;
  border-right: 3px solid #3bbe9e;
}
.consent {
  line-height: 100%;
}


/* ==========================================================================
  PC 1025px -
========================================================================== */

@media screen and (min-width: 1025px) {
.works {
  background: url("../images/index-images/bg01.jpg") 50% 50% no-repeat;
	background-attachment: fixed;
  background-size: cover;
  background-position: center;
}

.cooperation {
  background: url("../images/index-images/bg02.jpg") 50% 50% no-repeat;
	background-attachment: fixed;
  background-size: cover;
  background-position: center;
}
}

@media screen and (max-width: 1400px) {
  /* 1400以下 */
  
.about__tit {
  color: var(--color01);
  font-size: 3.8vw!important;
}
.link-list {
  margin-top: -50px;
}

}

/* ==========================================================================
  TABLET - 1024px
========================================================================== */

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

.mainslider {
  margin-bottom: 60px;
}
.mainslider__inner {
  display: block;
}
.image-container {
  width: 96%;
  gap: 20px;
  flex-direction: column;
  aspect-ratio: auto;
  margin: 0 auto;
}
.left-photo {
  width: 100%;
  aspect-ratio: 1014 / 943;
  height: auto;
}
.right-column {
  flex-direction: row;
  width: 100%;
  gap: 20px;
  aspect-ratio: 2 / 1; 
  height: auto;
}
.right-column img {
  width: calc(50% - 15px);
  flex: 1;
  height: 100%;
}
.swiper-slide {
  padding-left: 0;
}
.mainslider__tit {
  position: absolute;
  bottom: 0;
  left: 0;
  color: var(--color01);
  font-family: var(--font01);
  font-size: clamp(2rem,3.75vw,3rem);
  font-weight: 600;
  background-color: var(--color04);
  border-radius: 0 10px 0 0;
  padding: 15px 30px 10px 20px;
  z-index: 1000;
}

.news .wrapper {
  display: block;
}
.news__tit {
  width: 100%;
  margin-bottom: 0;
}
.news__tit a {
  display: inline-block;
  color: var(--color01);
  font-size: clamp(1.8rem,2.375vw,2rem);
  background: url("../images/cmn-images/icon-arrow.png") 100% 50% no-repeat;
  padding: 30px 80px 30px 0;
}
.news__box {
  flex: 1;
}
.news-box__cat {
  width: 200px;
}
.news-box__txt {
  flex: 1;
}

.link-list {
  margin-top: 0;
}

.works {
  background: url("../images/index-images/bg01.jpg") 50% 50% no-repeat;
  background-size: 5000px;
}

.recruit {
  background: url("../images/index-images/line.png") 50% 0 no-repeat;
  background-color: var(--color04);
  background-size: 1000px;
}
.recruit-box {
  display: block;
  column-gap: 40px;
}
.recruit-box__inner {
  width: 100%;
  margin-bottom: 30px;
}
.recruit-box__img{
  width: 70%;
  margin: 0 auto;
}
.cooperation {
  background: url("../images/index-images/bg02.jpg") 50% 50% no-repeat;
	background-attachment: fixed;
  background-size: cover;
  background-position: center;
}

.cooperation a {
  display: block;
  color: #fff;
  font-family: var(--font01);
  font-size: 2.5rem;
  font-weight: 700;
  padding: 90px 0;
  margin-bottom: 60px;
}
.cooperation a span {
  background: url("../images/cmn-images/icon-arrow.png") 100% 50% no-repeat;
  padding: 10px 100px 10px 0;
}

/*COMPANY*/

.bn-list__item img {
  width: 80%;
}

/*CONTACT*/

.contact-form dl {
  display: block;
  border-bottom: solid 1px rgba(0,0,0,0.1);
}
.contact-form dt {
  display: block;
  width: 100%;
	padding-right: 0;
	margin-bottom: 10px;
}
.contact-form dt dd {
  display: block;
}

}

/* ==========================================================================
  SP - 640px
========================================================================== */

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

.mainslider {
  padding: 20px 0;
  margin-bottom: 40px;
}

.image-container {
  gap: 15px;
}
.right-column {
  gap: 15px;
}
.mainslider__tit {
  padding: 15px 20px 10px 20px;
}

.news__tit a {
  background-size: 40px;
  padding: 10px 60px 10px 0;
}

.about .wrapper {
  display: block;
  overflow: hidden; /* SPでははみ出し防止 */
}
.about__txt,
.about__img {
  width: 100%;
  right: 0; /* はみ出し解除 */
}
.about__img {
  margin: 30px 0!important;
}
.about__img img {
  display: block;
  float: none;
  margin: 0 auto;
}

.link-list .wrapper {
  display: block;
}
.page-link {
  margin-bottom: 30px;
}
.link-list__img img {
  display: block;
  width: 55%;
  margin: 0 auto;
}
.page-link {
  width: 100%;
}
.page-link a {
  display: block;
  color: var(--color01);
  font-size: clamp(1.8rem,2.375vw,2rem);
  font-family: var(--font01);
  font-weight: 700;
  background: url("../images/cmn-images/icon-arrow.png") 100% 50% no-repeat;
  border-bottom: solid 2px;
  padding: 40px 0;
}

.recruit .wrapper {
  display: block;
  column-gap: 0;
}
.recruit__inner {
	padding-left: 3%;
}
.recruit__tit01 span {
	display: block;
	color: var(--color01);
	font-size: 5rem;

}
.recruit__tit02 {
  font-size: 2.8rem;
  margin-bottom: 30px;
}
.recruit__tit03 {
  font-size: 2rem;
  margin-bottom: 60px;
}
.recruit-box {
  display: block;
  column-gap: 0;
}
.recruit-box__inner {
  width: 100%;
}

.cooperation a {
  font-size: 2rem;
  padding: 40px 0;
  margin-bottom: 40px;
}
.cooperation a span {
  padding: 10px 60px 10px 0;
}


/*COMPANY*/

.outline {
  display: block;
  padding: 15px;
}
.outline__tit {
  width: 100%;
  font-weight: bold;
  margin-bottom: 5px;
}
.bn-list {
  margin-bottom: -3rem;
}
.bn-list__item {
  width: 50%!important;
  margin-bottom: 3rem;
}
.bn-list__item img {
  width: 70%;
}
.kigan__item img {
  width: 100%;
}

/*COOPERATION*/

.flow {
  width: 90%;
}
.flow__item {
  padding: 12px 0;
  margin-bottom: 3px;
}
.flow i {
  margin-bottom: 3px;

}
}
