


/*メインイメージ*/
#topimage{
    margin: 0;
    padding: 0 0 0 0;
    width: 100%;
    position: relative;
    z-index: 10;
    overflow: hidden;
    line-height: 1;
}

.main_ttl{
    position: absolute;
    top: 10%;
    left: 8%;
    max-width: 593px;
    width: 40vw;

}

.main_ttl img{
	width: 100%;
}

.main_txt{
    position: absolute;
    top: 49%;
    left: 8%;
    max-width: 355px;
    width: 29vw;
}

@media only screen and (max-width: 720px) {
	.main_ttl{
		width: 82vw;
		top: 9.2%;
		left: 5%;
	}
	
	.main_txt{
		width: 49vw;
		max-width: 346px;
		top: 29.5%;
		left: 5%;
	}
	
}

/*代表挨拶*/

section.greeting{
	width: 100%;
	margin: 0;
	padding: 6vw 0 5.3vw;
	background-color: #F2F2F2;
	background-image: url(../img/top/bg_seibudenko.svg);
	background-size: 100%;
	background-position: center bottom;
	background-repeat: no-repeat;
	position: relative;
}

section.greeting:before{
	content: "";
  position: absolute;
  top: 0;
  left: 0;
  /* 三角のサイズはここで調整 */
  width: 180px;
  height: 180px;
  background: #00D200;               /* 三角の色 */
  clip-path: polygon(0 0, 100% 0, 0 100%);
  pointer-events: none;
}

section.greeting:after{
	content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 180px;
  height: 180px;
  background: rgba(178, 178, 178, 0.43); /* 三角の色 */
  clip-path: polygon(0% 100%, 100% 100%, 100% 0%);
}

.box_topgreeing1{
	width: 76%;
	max-width: 602px;
	margin: 0 auto;
}

.img_topgreeting1{
	width: 100%;
	margin: 0 0 1.5vw;
	padding: 0;
}

.txt_topgreeting{
	margin: 0 0 3vw;
	font-size: 15px;
	font-weight: 400;
	text-align: center;
}
a.btn_message{
	width: 80%;
	max-width: 206px;
	margin: 0 auto;
	padding: 0.5% 0;
	text-align: center;
	border: solid 1px #808080;
	background-color: #fff;
	transform: skewX(42deg);
	transition: background-color 0.6s ease;
	display: block;
	position: relative;
}

a.btn_message::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 0;              /* 初期は0 */
    height: 100%;
    background-color: #00D200; /* ホバー色 */
    z-index: -1;            /* 背景に */
    transition: width 0.6s ease;
}

a.btn_message::after{
		content: "";
  display: inline-block;
  width: 0;
  height: 0;
  border-left: 35px solid transparent;  
  border-right: 35px solid transparent; 
  border-bottom: 38px solid #777;
  transform: skewX(-42deg);    
  position: absolute;
      right: -9.3%;
    top: -3%;
     transition: background-color 0.6s ease;
       z-index: -1;
}

a.btn_message:hover::before {
    width: 100%;            /* ホバーで全体に広がる */
}

.btn_greeting {
	width: 100%;
}

.btn_greeting a{
	transform: skewX(-42deg);
    display: inline-block;
}

.btn_greeting span{
	padding: 0 1.2vw 0 0;
	font-weight: 700;
	color: #808080;
	transform: skewX(-42deg);
    display: inline-block;
}

a.btn_message:hover .btn_greeting span{
	color: #fff;
}

.btn_greeting::after {
  content: "→";
  position: absolute;
  right: 6%;
  top: 23%;
  transform: skewX(-42deg);
  font-size: 14px;
  color: #FFFFFF;
}







@media only screen and (max-width: 720px) {
	.img_topgreeting1{
		width: 75%;
		max-width: 513px;
		margin: 0 auto 7.5vw;
	}
	
	section.greeting{
		background-image: url(../img/top/sp/bg_seibudenko.svg);
		background-size: 90%;
		padding: 15vw 0 26.3vw;
	}
	
	section.greeting:before{
		width: 33vw;
		height: 33vw;
	}
	
	section.greeting:after{
		width: 33vw;
		height: 33vw;
	}
	
	.box_topgreeing1{
		width: 90%;
	    max-width: 654px;
	    margin: 0 auto;
	    font-feature-settings: "palt";
	}
	
	.txt_topgreeting{
		font-size: min(4.17vw , 30px);
		line-height: 1.7;
		margin: 0 0 7vw;
	}
	
	.btn_greeting span{
		padding: 0 3.2vw 0 0;
	}
	
	a.btn_message{
			width: 82%;
	height: 7vw;

		font-size: min(4.17vw , 30px);
		max-width: 484px;
	    padding: 3.2vw 0;
	    background-image: url(../img/top/btn_bg1.svg);
	    background-repeat: no-repeat;
	    background-size: 100%;
	    border: none;
    	transform: skewX(0deg);
    	background-color: #ffffff00;
	}
	
	a.btn_message::after{
		display: none;
		width: 36%;
        max-width: 147px;
        height: 100%;
        background-image: url(../img/top/icon_btn.svg);
        background-size: 100% 100%;
        background-repeat: no-repeat;
        border: none;
        right: -10%;
        top: 0%;
	}
	
	.btn_greeting{
		        line-height: 1.5;
		transform: skewX(42deg);
	}
	
	.btn_greeting::after{
		font-size: min(4.03vw , 29px);
		top: 42%;
	}
	
	a.btn_message:hover::before{
		display: none;
	}
	
	a.btn_message:hover .btn_greeting span{
		color: #808080;
	}
	
	.btn_greeting::after{
		display: none;
	}
	
}


@media only screen and (max-width: 550px) {
	a.btn_message{
		padding: 2.8vw 0;
	}
	
	.btn_greeting::before {
        border-left: clamp(30px, 11vw, 71px) solid transparent;
        border-right: clamp(30px, 11vw, 71px) solid transparent;
        border-bottom: clamp(35px, 12vw, 79px) solid #777;
        right: -10%;
    }
}

@media only screen and (max-width: 480px) {
	    .btn_greeting::before {
        border-left: clamp(30px, 11vw, 71px) solid transparent;
        border-right: clamp(30px, 11vw, 71px) solid transparent;
        border-bottom: clamp(35px, 12.2vw, 79px) solid #777;
        right: -10%;
    }
}

@media only screen and (max-width: 465px) {
	    a.btn_message::after{
	    	width: 39%;
        max-width: 159px;
        height: 100%;
        background-image: url(../img/top/icon_btn.svg);
        background-size: 100% 100%;
        background-repeat: no-repeat;
        border: none;
        right: -11%;
        top: 1%;
    }
}

@media only screen and (max-width: 450px) {
    
    .btn_greeting::after{
    	top: 36%;
    }
    
}

@media only screen and (max-width: 400px) {
	        .btn_greeting::before {
        border-left: clamp(30px, 12vw, 71px) solid transparent;
        border-right: clamp(30px, 12vw, 71px) solid transparent;
        border-bottom: clamp(35px, 14vw, 79px) solid #777;
        right: -11%;
    }
}

@media only screen and (max-width: 390px) {
	        .btn_greeting::before {
        border-left: clamp(30px, 13vw, 71px) solid transparent;
        border-right: clamp(30px, 13vw, 71px) solid transparent;
        border-bottom: clamp(35px, 14vw, 79px) solid #777;
        right: -12%;
    }
    
    .btn_greeting::after{
    	right: 9%;
    }
    
    a.btn_message::after{
		width: 43%;
		right: -12%;
	}
}

@media only screen and (max-width: 385px) {
	a.btn_message::after{
		width: 40%;
		right: -11%;
	}
}

@media only screen and (max-width: 370px) {
	    a.btn_message::after{
        width: 44%;
        right: -12%;
    }
}
@media only screen and (max-width: 335px) {
	.btn_greeting::before{
		 border-bottom: clamp(35px, 14.8vw, 79px) solid #777;
	}
}
/*西武電工について*/

section.about{
	width: 100%;
	margin: 0;
	padding: 3.8vw 0 3vw;
	background-image: url(../img/top/bg_about.png);
	background-size: 100%;
	background-position: center top 100%;
	background-repeat: no-repeat;
	position: relative;
	z-index: -10;
	overflow: hidden;
}


.box_topabout1{
	width: 100%;
	max-width: 1205px;
	margin: 0 auto;
}

h1.ttl_about.montserrat{
	margin: 0 0 0.5vw;
	color: #00D200;
	font-size: min(7vw , 80px);
	font-weight: 700;
	text-align: center;
	line-height: 1;
}

h1.ttl_about.montserrat span.green{
	color: #03572F;
}

.sub_ttl{
	max-width: 292px;
	margin: 0 auto 3em;
	padding: 0.1em 0;
	text-align: center;
	background-color: #03572F;
	transform: skewX(-42deg);
}

.sub_ttl span{
	color: #FFFFFF;
	font-size: 28px;
	font-weight: 700;
	transform: skewX(42deg);
	display: inline-block;
}

.wrap_about1{
	width: 100%;
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
}

.box_about1{
	width: calc((100% - 60px) / 3);
	max-width: 348px;
	margin: 0 0 2.4em 0;
	padding: 2.3em 0 0.8em;
	position: relative;
	z-index: 1;
	text-align: left;

}

.box_about1:nth-of-type(2),
.box_about1:nth-of-type(3){
	padding: 1.5em 0 0.8em;
}

.box_about1:nth-of-type(4){
	width: calc((100% - 60px) / 2);
	padding: 1.3em 0 1.2em;
}

.box_about1:nth-of-type(5){
	width: calc((100% - 60px) / 2);
	padding: 1.8em 0 0.8em;
}

.inner_about1{
	max-width: 348px;
	margin: 0 auto;
	color: #fff;
}

.inner_about1::before{
	content: "";
	width: 85%;
	height: 100%;
	background-color: #03572F;
	transform: skewX(42deg);
	position: absolute;
	top: 0;
	right: 11%;
	z-index: -1;
}

.inner_about1::after{
	content: "";
	width: 85%;
	height: 100%;
	background-color: #00D200;
	transform: skewX(42deg);
	position: absolute;
	top: 2%;
	right: 13%;
	z-index: -2;
}

.inner_wrap_about1{
	margin: 0 0 0.5vw 1vw;
	display: flex;
	align-items: center;;
	justify-content: left;
}

.box_about1:nth-of-type(2) .inner_wrap_about1,
.box_about1:nth-of-type(3) .inner_wrap_about1{
	margin: 0 0 1.3em;
	padding: 0 0 0 4em;
}

.box_about1:nth-of-type(5) .inner_wrap_about1{
	margin: 0 0 1.3em;
	padding: 0 0 0 4em;
}


.left_about1{
	width: 18%;
	max-width: 49px;
	margin: 0 1em 0 0;
}

.box_about1:nth-of-type(2) .left_about1{
	width: 20%;
	max-width: 54px;
}

.box_about1:nth-of-type(3) .left_about1{
	width: 20%;
	max-width: 56px;
}

.box_about1:nth-of-type(5) .left_about1{
	width: 22%;
	max-width: 59px;
}

.left_about1 img{
	width: 100%;
}

.right_about1{
	width: 60%;
	max-width: 100%;
	line-height: 1;
}

.right_about1 span.big{
	font-size: 68px;
}

.box_about1:nth-of-type(5) .right_about1{
	width: 100%;
	max-width: 60%;
}

.right_about1 .countUp{
	margin: 0;
    padding: 0;
}

.countUp span{
	width: auto;
    text-align: center;
    vertical-align: text-bottom;
    display: inline-block;
    position: relative;
}

.countUp span img{
	width: auto;
    height: 48px;
    vertical-align: text-bottom;
    display: block;
}

#q1_a1_7 .countUp3 img,
#q1_a1_7 .countUp4 img {
    height: 28px; /* 後半2桁 小さめ */
}


img.top_about_year {
    width: 20%;
    max-width: 26px;
    vertical-align: bottom;
    margin: 0 0 0 0.2vw;
}

img.top_about_percent{
	width: 50%;
    max-width: 100%;
    vertical-align: bottom;
}

img.top_about_percent2{
	width: 30%;
    max-width: 26px;
    vertical-align: bottom;
}

img.top_about_dot{
	width: 10%;
	max-width: 6px;
	vertical-align: bottom;
}

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

	.countUp span img{
		height: 42px;
	}
	
	img.top_about_year{
		max-width: 20px;
	}
	
	#q1_a1_7 .countUp3 img, #q1_a1_7 .countUp4 img{
		height: 22px;
	}
	
	img.top_about_percent{
		max-width: 65px;
	}
	
}

@media only screen and (max-width: 1000px) {
	img.top_about_percent{
		max-width: 58px;
	}
}

.inner_ttl_about1{
	margin: 0 0 1.4em;
	font-size: 25px;
	font-weight: 700;
	padding: 0 0 0 3.3em;
}


.box_about1:nth-of-type(2) .inner_ttl_about1{
	margin: 0 0 1em;
	padding: 0 3em 0 0;
}

.box_about1:nth-of-type(3) .inner_ttl_about1{
	margin: 0 0 1.5em;
	padding: 0 3em 0 0;
}

.box_about1:nth-of-type(4) .inner_ttl_about1{
	margin: 0 0 0.5vw;
	padding: 0 0 0 0;
}

.box_about1:nth-of-type(5) .inner_ttl_about1{
	margin: 0 0 2.1vw;
	padding: 0 0 0 0;
}

.inner_ttl_about1 span.under{
	display: inline-block;
	position: relative;
}

.inner_ttl_about1 span.under:before{
	content: "";
	width: 100%;
	height: 1px;
	background-color: #fff;
	position: absolute;
	left: 0;
	top: 115%;
}

.inner_ttl_about2{
	margin: 0 0 0.9vw;
	font-size: 25px;
	font-weight: 700;
	padding: 0 0 0 2.5em;
}

.inner_ttl_about2 span.under{
	display: inline-block;
	position: relative;
}

.inner_ttl_about2 span.under:before{
	content: "";
	width: 100%;
	height: 1px;
	background-color: #fff;
	position: absolute;
	left: 0;
	top: 115%;
}

.inner_txt_about1{
	padding: 0 0 0 7.1em;
	font-size: 15px;
	line-height: 1.5;
	font-feature-settings: "palt";
	letter-spacing: 0.05em;
	

}

.inner_txt_about2{
	padding: 0 0 0 8.1em;
	font-size: 15px;
	line-height: 1.5;
	font-feature-settings: "palt";
	letter-spacing: 0.05em;

}

.inner_txt_about3{
	padding: 0 0 0 11em;
	font-size: 15px;
	line-height: 1.5;
	font-feature-settings: "palt";
	letter-spacing: 0.05em;

}

ul.list_about1{
	margin: 0;
	padding: 0;
}

ul.list_about1 li{
	margin: 0;
	padding: 0 0 0 5em;
	font-size: 14px;
	line-height: 1;
}

ul.list_about1 li span{
	position: relative;
}

ul.list_about1 li:nth-of-type(2){
	padding: 0 0 0 6.5em;
}

ul.list_about1 li:nth-of-type(3){
	margin: 0 0 0.5vw;
	padding: 0 0 0 7.5em;
}



ul.list_about1 li span:before{
	content: "";
	position: absolute;
	left: -10%;
	top: 74%;
	transform: translateY(-50%);
	width: 13px;
	height: 13px;
	border-radius: 50%;
	background: #5ACCB4;
}

ul.list_about1 li span.montserrat{
	font-size: min(4.5vw , 30px);
	font-weight: 700;
}

ul.list_about1 li span.montserrat:before{
	display: none;
}

ul.list_about1 li:nth-of-type(2) span::before{
	background-color: #7189EC;
}

ul.list_about1 li:nth-of-type(3) span::before{
	background-color: #ACA28F;
}

@media only screen and (max-width: 1000px) {
	.box_about1:nth-of-type(2) .inner_wrap_about1, .box_about1:nth-of-type(3) .inner_wrap_about1{
		padding: 0 0 0 2em;
	}
	
	.right_about1{
		width: 45%;
	}
	
	.inner_ttl_about1{
		margin: 0 0 4.2vw;
		padding: 0 0 0 2em;
	}
}

@media only screen and (max-width: 950px) {
	.box_about1{
		width: 100%;
		margin: 0 auto;
        max-width: 613px;
	}
	
	.box_about1:nth-of-type(2){
		z-index: 0;
	}
	
	.box_about1:nth-of-type(3){
		z-index: -1;
	}
	
	.box_about1:nth-of-type(4){
		width: 100%;
		z-index: -2;
	}
	
	.box_about1:nth-of-type(5){
		width: 100%;
		z-index: -3;
	}
	
	.box_about1:nth-of-type(2) .inner_about1::before{
		z-index: -2;
	}
	
	.box_about1:nth-of-type(2) .inner_about1::after{
		z-index: -3;
	}
	
	.sub_ttl{
		
		margin: 0 auto 3.5em;
	}
	
	.box_about1:nth-of-type(2) .inner_ttl_about1,
	.box_about1:nth-of-type(3) .inner_ttl_about1,
	.box_about1:nth-of-type(4) .inner_ttl_about1,
	.box_about1:nth-of-type(5) .inner_ttl_about1{
		padding: 0 0 0 1em;
	}
	
	.box_about1:nth-of-type(4) .inner_ttl_about1{
		margin: 0 0 2vw;
	}
	
	.box_about1:nth-of-type(5) .inner_ttl_about1{
		margin: 0 0 5vw;
	}
	
	.box_about1:nth-of-type(2) .inner_wrap_about1, .box_about1:nth-of-type(3) .inner_wrap_about1{
		padding: 0 0 0 4em;
	}
	
	.inner_ttl_about2{
		margin: 0 0 2vw;
	}
	
	.right_about1{
		width: 60%;
	}
	
	.inner_ttl_about1{
		padding: 0 0 0 73px;
	}
	
	.countUp span img{
		height: 48px;
	}
	
	img.top_about_year{
		max-width: 26px;
	}
	
	#q1_a1_7 .countUp3 img, #q1_a1_7 .countUp4 img{
		height: 28px;
	}
	
	img.top_about_percent{
		max-width: 76px;
	}
	
}

@media only screen and (max-width: 900px) {
	
	
	section.about{
		padding: 11.7vw 0 14.5vw;
		background-image: url(../img/top/sp/bg_about.png);
		background-size: cover;
		background-position: center top;

	}
}

@media only screen and (max-width: 720px) {
	
	
	section.about{
		padding: 10.7vw 0 18.5vw;
		background-image: url(../img/top/sp/bg_about.png);
		background-size: cover;
		background-position: center top -15%;

	}
	

	
	h1.ttl_about.montserrat{
		font-size: min(13.89vw , 100px);
	}
	
	.box_about1{
		width: 100%;
		margin: 0 auto;
		padding: 9vw 0 3vw;
        max-width: 640px;
	}
	
	.box_about1:nth-of-type(2) .inner_ttl_about1, .box_about1:nth-of-type(5) .inner_ttl_about1{
		padding: 0 0 0 14px;
		margin: 0 0 7vw;
	}
	.box_about1:nth-of-type(2){
		z-index: 0;
		padding: 3vw 0 4vw;
	}
	
	.box_about1:nth-of-type(3){
		z-index: -1;
		padding: 3vw 0 4vw;
	}
	
	.box_about1:nth-of-type(4){
		z-index: -2;
		padding: 5.5vw 0 4.5vw;
	}
	
	.box_about1:nth-of-type(5){
		z-index: -3;
		padding: 8vw 0 5.5vw;
	}
	
	.box_about1:nth-of-type(2) .inner_about1::before{
		z-index: -2;
	}
	
	.box_about1:nth-of-type(2) .inner_about1::after{
		z-index: -3;
	}
	
	.inner_about1{
		max-width: 100%;
	}
	
	.inner_about1::before{
		right: 16%;
	}
	
	.inner_about1::after{
		right: 17%;
	}
	
	.left_about1{
		max-width: 88px;
		margin: 0 3vw 0 0;
	}
	
	.box_about1:nth-of-type(2) .left_about1{
		max-width: 94px;
	}
	
	.box_about1:nth-of-type(3) .left_about1{
		max-width: 100px;
	}
	
	.box_about1:nth-of-type(5) .left_about1{
		max-width: 105px;
	}
	
	.right_about1{
		max-width: 261px;
	}
	
	.box_about1:nth-of-type(5) .right_about1{
		max-width: 164px;
	}
	
	.inner_wrap_about1{
		margin: 0 0 2.5vw 4.4vw;
	}
	
	
	.box_about1:nth-of-type(2) .inner_wrap_about1{
		padding: 0 0 0 17vw;
		margin: 0 0 4vw;
	}
	
	 .box_about1:nth-of-type(3) .inner_wrap_about1{
	 	margin: 0 0 5vw;
	}
	
	.box_about1:nth-of-type(5) .inner_wrap_about1{
		padding: 0 0 0 21vw;
	}
	
	.countUp span{
		margin: 0 0.3vw 0 0;
	}
	
	.countUp span img{
		height: 12vw;
	}
	
	img.top_about_year{
		width: 15%;
		max-width: 47px;
	}
	
	
	.box_about1:nth-of-type(3) .inner_ttl_about1 {
		margin: 0 0 9vw;
		padding: 0 0 0 3vw;
	}
	
	
	.inner_ttl_about1{
		font-size: min(6.11vw , 44px);
		line-height: 1.1;
		padding: 0 0 0 22vw;
	}
	
	.inner_ttl_about2{
		font-size: min(6.11vw , 44px);
		line-height: 1.1;
	}
	
	.inner_txt_about1{
		font-size: min(4vw , 26px);
		padding: 0 0 0 8.5em;
	}
	
	
	.box_about1:nth-of-type(2) .inner_txt_about1{
		padding: 0 0 0 8em;
		
	}
	
	.box_about1:nth-of-type(3) .inner_txt_about1{
		padding: 0 0 0 9em;
		
	}
	
	.box_about1:nth-of-type(5) .inner_txt_about1{
		padding: 0 0 0 9em;
		
	}
	
	.inner_txt_about2{
		font-size: min(4vw , 26px);
		padding: 0 0 0 9.5em;
	}
	
	.inner_txt_about3{
		font-size: min(4vw , 26px);
	}
	.box_about1:nth-of-type(2) .inner_txt_about2{
		padding: 0 0 0 10em;
		
	}
	
	.box_about1:nth-of-type(3) .inner_txt_about2{
		padding: 0 0 0 11em;
		
	}
	
	.box_about1:nth-of-type(5) .inner_txt_about2{
		padding: 0 0 0 11em;
		
	}
	
	.sub_ttl{
		display: flex;
        justify-content: center;
        align-items: center;
		width: 50%;
		margin: 0 auto 3.5em;
	}
	
	.sub_ttl span{
		font-size: min(4.44vw , 32px);
	}
	
	.inner_ttl_about2{
		magrin: 0 0 3vw;
	}
	
	ul.list_about1 li{
		font-size: min(3.47vw , 25px);
		margin: 0 0 1vw;
	}
	
	ul.list_about1 li span.montserrat{
		font-size: min(7.36vw , 53px);
	}
	
	ul.list_about1 li span:before{
		width: 3.2vw;
    	height: 3.2vw;
    	left: -8%;
	    top: 72%;
	}
	
	.inner_txt_about3{
		padding: 0 0 0 40vw;
	}
	
	img.top_about_percent{
		max-width: 154px;
	}
	
	#q1_a1_7 .countUp3 img, #q1_a1_7 .countUp4 img{
		height: 50px;
	}
	
}

@media only screen and (max-width: 400px) {
	.inner_txt_about3{
		padding: 0 0 0 42vw;
	}
	
	ul.list_about1 li span.montserrat{
		font-size: min(5.5vw, 30px);
	    font-weight: 700;
	    line-height: 1;
	}
	
	.countUp span img{
		height: 42px;
	}
	
	img.top_about_year{
		max-width: 20px;
	}
	
	#q1_a1_7 .countUp3 img, #q1_a1_7 .countUp4 img{
		height: 22px;
	}
	
	img.top_about_percent{
		max-width: 65px;
	}
	
	.inner_txt_about1{
		padding: 0 0 0 8.1em;
	}
	
	.inner_txt_about2{
		padding: 0 0 0 9.1em;
	}
}

/*クロストーク*/

section.talk{
	width: 100%;
	margin: 0;
	padding: 3em 0 5.6em;
	background-color: #00D200;
	position: relative;
}


.box_toptalk1{
	width: 100%;
	margin: 0 auto;
}

h1.ttl_talk.montserrat{
	margin: 0 0 1.5vw;
	color: #fff;
	font-size: min(7vw , 80px);
	font-weight: 700;
	text-align: center;
	line-height: 1;
}

h1.ttl_talk.montserrat span.green{
	color: #03572F;
}

.wrap_top_talk1{
	width: 95%;
	max-width: 812px;
	margin: 0 auto 3.5vw;
	display: flex;
	align-items: center;
}

.sub_ttl.talk{
	width: 60%;
	max-width: 238px;
	margin: 0 30px 0 0;
}

.txt_top_talk1{
	font-size: 15px;
	color: #fff;
	text-align: left;
	letter-spacing: -0.03em;
}

.txt_space_talk1{
	padding-left: 2em;
    text-indent: 2em;
}

.cont_box_talk1{
	width: 100%;
	margin: 0 0 2.7vw;
	padding: 0;
	text-align: center;
	background-image: url(../img/top/bg_talk1.svg);
	background-size: 2190px 205px;
	background-position: left 25% bottom;
	background-repeat: no-repeat;
	transition: all 0.8s ease-in-out;
	position: relative;
	opacity: 0;
}

.cont_box_talk1 a::after {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 0;
	height: 100%;
	background-color: #00D200; /* ←好きな色に */
	z-index: -1;
	transition: width 0.6s ease;
}



.cont_box_talk1:nth-of-type(odd) {
  transform: translateX(-5vw);
}

.cont_box_talk1:nth-of-type(even) {
  transform: translateX(5vw);
}




@media (max-width: 720px) {
  .cont_box_talk1:nth-of-type(odd),
  .cont_box_talk1:nth-of-type(even) {
    transform: translateX(0);
  }
  
  .txt_top_talk1{
  	width: 95%;
        margin: 0 auto;
	font-size: min(4.17vw , 30px);
	line-height: 1.7;
	}




}



.cont_box_talk1.scrollin {
  opacity: 1;
  transform: translateX(0);
}

.cont_box_talk1 a{
	width: 100%;
	max-width: 1260px;
	display: inline-block;
}

.cont_box_talk1:last-of-type a{
	width: 100%;
}

.cont_box_talk1:nth-of-type(3){
	background-position: right 25% bottom;
	background-image: url(../img/top/bg_talk2.svg);
}

.cont_box_talk1:last-of-type{
	width: 100%;
	margin: 0 0 0 auto;
	background-position: left 10% bottom;
}



.cont_wrap_talk1{
	width: 100%;
	margin: 0 10px 0 auto;
	padding: 0 0 2.2vw;
	display: flex;
	align-items: center;
	position: relative;
	justify-content: flex-end;

}

.cont_box_talk1:nth-of-type(3) .cont_wrap_talk1{
	margin: 0 auto 0 10px;
	justify-content: flex-start;
}

.cont_box_talk1:last-of-type .cont_wrap_talk1{
	width: 100%;
}


.cont_txt_talk1{
	width: 26%;
    max-width: 287px;
    margin: 0 0 0 0;
}

.cont_box_talk1:nth-of-type(3) .cont_txt_talk1{
	width: 23%;
	max-width: 260px;
}

.cont_box_talk1:last-of-type .cont_txt_talk1{
	width: 37%;
	max-width: 362px;
	margin: 0 0 0 0;
}


.img_num_talk1{
	width: 25%;
	max-width: 67px;
	margin: 0 auto 0.5vw;
	transform: translateX(1vw);
}



.cont_box_talk1:nth-of-type(3) .img_num_talk1{
	width: 30%;
	max-width: 78px;
	margin: 0 auto 0.5vw;
	transform: translateX(0);
}

.cont_box_talk1:last-of-type .img_num_talk1{
	width: 26%;
	max-width: 79px;
	margin: 0 auto 0.5vw;
	transform: translateX(3vw);
}

.inner_ttl_talk1{
	max-width: 161px;
	margin: 0 auto 1.2vw;
	padding: 0 0;
    background-color: #00D200;
    transform: skewX(-42deg) translateX(1vw);;
    
}

.cont_box_talk1:nth-of-type(3) .inner_ttl_talk1{
	transform: skewX(-42deg);
}

.cont_box_talk1:last-of-type .inner_ttl_talk1{
	transform: skewX(-42deg) translateX(3vw);
}

.inner_ttl_talk1 span{
	display: inline-block;
	transform: skewX(42deg);
	color: #fff;
	font-size: 21px;
}

.inner_txt_talk1{
	font-size: min(1.86vw , 23px);
	font-weight: 700;
	color: #03572F;
}

.cont_img_talk1{
	width: 63%;
	max-width: 781px;
	margin: 0 0 0 5vw;
	position: relative;
	line-height: 1;
	overflow: hidden;
}

.cont_box_talk1:nth-of-type(3) .cont_img_talk1{
	margin: 0 7vw 0 0;
}

.cont_box_talk1:last-of-type .cont_img_talk1{
	width: 61%;
	max-width: 631px;
	margin: 0 0 0 3.8vw;
}

.cont_img_talk1 img {

	transition: transform 0.3s ease;
}



.cont_img_talk1:before{
	content: "";
    display: inline-block;
    width: 0;
    height: 0;
     border-left: clamp(25px, 4vw, 49.5px) solid transparent;
  border-right: clamp(25px, 4vw, 49.5px) solid transparent;
  border-bottom: clamp(25px, 4vw, 49px) solid #777;
    position: absolute;
    right: 12%;
    top: 76%;
}

.cont_box_talk1:last-of-type .cont_img_talk1:before{
	right: 15%;
    top: 77%;
}

.cont_img_talk1:after{
	content: "→";
    position: absolute;
    right: 17%;
    top: 85%;
    font-size: 18px;
    color: #FFFFFF;
}

.cont_box_talk1:last-of-type .cont_img_talk1:after{
	right: 21.4%;
	top: 86%;
}

.cont_img_talk1 {
    position: relative; /* overlayを重ねるために必要 */
    overflow: hidden;   /* はみ出し防止 */
}

.cont_img_talk1 .overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-image: url("../img/top/img_talk1_bg.png");
    background-size: cover;
    background-position: center;
    opacity: 0; /* 初期は透明 */
    transition: opacity 0.3s ease, transform 0.3s ease; /* 両方アニメーション */
    pointer-events: none;

}

.cont_box_talk1:nth-of-type(3) .cont_img_talk1 .overlay {
	background-image: url("../img/top/img_talk2_bg.png");
}

.cont_box_talk1:last-of-type .cont_img_talk1 .overlay {
	background-image: url("../img/top/img_talk3_bg.png");
}

.cont_box_talk1 a:hover .cont_img_talk1 .overlay {
    opacity: 1;
}


@media only screen and (max-width: 1215px) {
	.cont_box_talk1{
		background-size: 138% auto;
	}
}

@media only screen and (max-width: 1000px) {
	.cont_box_talk1{
		background-size: 155% auto;
	}
	.cont_box_talk1:last-of-type{
		background-size: 160% auto;
	}
}

@media only screen and (max-width: 950px) {
	.cont_box_talk1{
		background-size: 160% auto;
	}
	
	.cont_box_talk1:last-of-type{
		background-size: 165% auto;
	}
}

@media only screen and (max-width: 900px) {
	.cont_box_talk1{
		background-size: 150% auto;
		background-position: left 16% bottom;
	}
	
	.cont_box_talk1:last-of-type{
		background-size: 165% auto;
	}
}

@media only screen and (max-width: 850px) {
	.cont_box_talk1{
		background-size: 175% auto;
		background-position: left 16% bottom;
	}
	
	.cont_box_talk1:last-of-type{
		background-size: 185% auto;
	}
}

@media only screen and (max-width: 750px) {
	.cont_box_talk1{
		background-size: 185% auto;
		background-position: left 16% bottom;
	}
	
	.cont_box_talk1:last-of-type{
		background-size: 190% auto;
	}
}

@media only screen and (max-width: 720px) {
	section.talk{
		padding: 13vw 0 11vw;
	}
	
	.wrap_top_talk1{
		max-width: 655px;
		display: block;
		margin: 0 auto 18vw;
	}
	
	h1.ttl_talk.montserrat{
		font-size: min(13.89vw , 100px);
	}
	
	
	.sub_ttl.talk{
		width: 40%;
		margin: 0 auto 5vw;
		line-height: 1.3;
		max-width: 278px;
	}
	
	.cont_box_talk1{
		margin: 0 0 15vw;
		background-size: 250%;
		background-position: left 42% bottom;
		background-image: url(../img/top/sp/bg_talk1.svg);
		border-bottom: solid 10px #03572F;
	}
	
	.cont_box_talk1:nth-of-type(3){
		background-image: url(../img/top/sp/bg_talk1.svg);
		background-position: left 38% bottom;
	}
	
	.cont_box_talk1:last-of-type{
		width: 100%;
	    margin: 0;
	    background-image: url(../img/top/sp/bg_talk1.svg);
		background-position: left 38% bottom;
		background-size: 250%;
	}
	
	.txt_space_talk1{
		padding-left: 0;
    	text-indent: 0;
	}
	
	.cont_wrap_talk1{
		width: 100%;
		margin: 0 auto;
		padding: 12vw 0 7vw;
		display: block;
	}
	
	.cont_box_talk1:nth-of-type(3) .cont_wrap_talk1{
		margin: 0 auto;
	}
	
	.cont_box_talk1:last-of-type .cont_wrap_talk1{
		width: 100%;
	}
	
	.cont_txt_talk1{
		width: 70%;
		max-width: 100%;
		margin: 0 auto 4.5vw;
	}
	
	.cont_box_talk1:nth-of-type(3) .cont_txt_talk1{
		width: 66%;
        max-width: 100%;
        margin: 0 auto 4.5vw;
	}
	
	.cont_box_talk1:last-of-type .cont_txt_talk1{
		width: 85%;
        max-width: 100%;
        margin: 0 auto 4.5vw;
	}
	
	.img_num_talk1{
		width: 19%;
		max-width: 134px;
		position: absolute;
	    top: -11%;
	    left: 50%;
	    transform: translateX(-50%);
	    z-index: 1;
	}
	
	.cont_box_talk1:nth-of-type(3) .img_num_talk1{
		width: 19%;
        max-width: 134px;
		top: -9%;
		transform: translateX(-50%);
	}
	
	.cont_box_talk1:last-of-type .img_num_talk1{
		width: 19%;
        max-width: 134px;
		top: -8%;
		transform: translateX(-50%);
	}
	
	.img_num_talk1 img{
		width: 100%;
	}
	
	.inner_ttl_talk1{
		width: 60%;
		max-width: 342px;
		margin: 0 auto 4vw;
		transform: skewX(-42deg) ;
	}
	
	.inner_ttl_talk1 span{
		line-height: 1.35;
		font-size: min(5.97vw , 43px);
	}
	
	.cont_box_talk1:last-of-type .inner_ttl_talk1{
		transform: skewX(-42deg) ;
	}
	
	.inner_txt_talk1{
		font-size: min(5.5vw, 40px);
        line-height: 1.4;
	}
	
	.cont_img_talk1{
		width: 100%;
		max-width: 914px;
		margin: 0 auto;
	}
	
	
	.cont_box_talk1:last-of-type .cont_img_talk1{
		width: 100%;
		max-width: 702px;
		margin: 0 0 0 auto;
	}
	
	.cont_img_talk1:before{
		border-left: clamp(29px, 8vw, 58px) solid transparent;
	  border-right: clamp(29px, 8vw, 58px) solid transparent;
	  border-bottom: clamp(28px, 7.5vw, 57px) solid #777;
	  right: 2%;
	  top: 78%;
	}
	
	.cont_box_talk1:last-of-type .cont_img_talk1:before{
		right: 10%;
    	top: 78%;
	}
	
	
	.cont_img_talk1:after{
		font-size: min(4vw , 29px);
		right: 8%;
    	top: 86%;
	}
	
	.cont_box_talk1:last-of-type .cont_img_talk1:after{
		right: 16.4%;
	}
	
	.cont_box_talk1 a:hover .cont_img_talk1 .overlay {
		opacity: 0;
		width: 0;
	}
	
}

@media only screen and (max-width: 400px) {
	.cont_box_talk1{
		background-position: left 43% bottom;
	}
	
	.cont_box_talk1:nth-of-type(3){
		background-position: left 43% bottom;
	}
	
	.cont_box_talk1:nth-of-type(4){
		background-position: left 48% bottom;
	}
		
	.cont_img_talk1:before{
		border-left: clamp(25px, 8vw, 58px) solid transparent;
	  border-right: clamp(25px, 8vw, 58px) solid transparent;
	  border-bottom: clamp(25px, 7.5vw, 57px) solid #777;
	  right: 2%;
	  top: 78%;
	}
}




/*働き方*/

section.work{
	width: 100%;
	margin: 0;
	padding: 8em 0 4.3em;
	background-color: #F2F2F2;
}

.box_topwork{
	width: 90%;
	max-width: 1047px;
	margin: 0 auto;
	position: relative;
}

.inner_box_work1{
	position: absolute;
    top: -9%;
    left: 0;
}

h1.ttl_work.montserrat{
	margin: 0 0 0.1em;
	font-size: min(7vw , 80px);
	line-height: 1;
	font-weight: 700;
	color: #00D200;
}

h1.ttl_work.montserrat span.green{
	color: #03572F;
}

.sub_ttl.work{
	max-width: 249px;
	margin: 0 auto 3em 2em;
}

.wrap_topwork1 {
	width: 100%;
	display: flex;
	gap: 2rem;
	justify-content: space-between;
}

.box_topwork1{
	width: calc(100% / 3);
    max-width: 325px;
    height: 100%;
    margin: 0;
    padding: 0 0 1.8em;
    background-color: #fff;
}

.box_topwork1:first-of-type{
	margin: 9.5em 0 0;
}

.box_topwork1:nth-of-type(2){
	margin: 4.2em 0 0;
}

.card-body{
	width: 85%;
    max-width: 275px;
    margin: 0.4em auto 0;
    text-align: left;
}

p.label.montserrat{
	margin: 0 0 0.3em;
	color: #00D200;
	font-weight: 700;
	font-size: 13px;
}

p.label.montserrat {
	font-size: 17px;
}

p.label.montserrat .big{
	font-size: 25px;
}

.card-body h3{
	margin: 0 0 0.8vw;
	text-align: center;
	color: #03572F;
	font-size: min(2vw , 23px);
	font-weight: 700;
	line-height: 1.4;
}

.card-body p{
	font-size: 15px;
	line-height: 1.65;
}

@media only screen and (max-width: 720px) {
	section.work{
		padding: 13.4vw 0 6.8vw;
	}
	
	.box_topwork{
		width: 90%;
		max-width: 650px;
		margin: 0 auto;
	}
	
	h1.ttl_work.montserrat{
		font-size: min(13.89vw , 100px);
		margin: 0 0 1.5vw;
	}
	
	
	.inner_box_work1{
		position: relative;
		margin: 0 auto 11vw;
	}
	
	.sub_ttl.work{
		margin: 0 auto;
		line-height: 1.3;
		max-width: 278px;
	}
	
	p.label.montserrat{
		font-size: min(4.72vw , 34px);
	}
	
	p.label.montserrat .big{
		font-size: min(6.94vw , 50px);
	}
	
	.wrap_topwork1{
		display: block;
	}
	
	.box_topwork1{
		width: 100%;
		max-width: 100%;
		margin: 0 auto 4vw;
		padding: 0 0 9vw;
	}
	
	.box_topwork1:first-of-type{
		margin: 0 auto 7vw;
	}
	
	.box_topwork1:nth-of-type(2){
		margin: 0 auto 7vw;
	}
	
	.box_topwork1 img{
		width: 100%;
	}
	
	.card-body{
		max-width: 540px;
		margin: 2vw auto 0;
	}
	
	.card-body h3{
		font-size: min(6.39vw , 46px);
		margin: 0 0 2vw;
	}
	
	.card-body p{
		font-size: min(4.17vw , 30px);
	}
	
}


/*安心して働ける理由*/

section.environment{
	width: 100%;
	margin: 0;
	padding: 3em 0 4.3em;
}

h1.ttl_environment.montserrat{
	margin: 0 0 0.2em;
	color: #00D200;
	font-size: min(7vw , 80px);
	font-weight: 700;
	text-align: center;
	line-height: 1;
}

h1.ttl_environment.montserrat span.green{
	color: #03572F;
}

.box_topenvironment{
	width: 83%;
	max-width: 1047px;
	margin: 0 auto;
}

.wrap_topenvironment1{
	width: 100%;
	margin: 0;
	padding: 0;
	display: flex;
	justify-content: center;
}

.inner_box_environment1{
	width: calc((100% - 60px) / 3);
    max-width: 325px;
    margin: 0 30px 0 0;
    padding: 0;
}

.inner_box_environment1:last-of-type{
	margin: 0;
}

.inner_txt_environment1{
	width: 90%;
	max-width: 270px;
	margin: 0.3vw auto 0;
}

.inner_box_environment1 h3{
	margin: 0 0 1vw;
	color: #03572F;
	font-size: min(2vw , 23px);
	font-weight: 700;
	line-height: 1.4;
	text-align: center;
}

.inner_box_environment1 p{
	font-size: 15px;
	text-align: left;
	font-feature-settings: "palt";
	letter-spacing: 0.02em;
	line-height: 1.68;
}

@media only screen and (max-width: 850px) {
		.wrap_topenvironment1{
		display: block;
	}
	
	.inner_box_environment1{
		width: 100%;
		max-width: 100%;
		margin: 0 auto 4vw;
		padding: 0 0 4vw;
		border-bottom: solid 1px #A9A39E;
	}
	
	.inner_box_environment1:last-of-type{
		border-bottom: none;
	}
	
	.inner_box_environment1 img{
		width: 100%;
	}
	
	.inner_txt_environment1{
		width: 100%;
		max-width: 650px;
		margin: 2.3vw auto 0;
	}
	
	.inner_box_environment1 h3{
		margin: 0 0 1.5vw;
		font-size: min(6.7vw , 40px);
	}
}

@media only screen and (max-width: 720px) {
	.sub_ttl.environment{
		margin: 0 auto 10.5vw;
		line-height: 1.3;
		width: 55%;
		max-width: 330px;
	}
	
	.sub_ttl.environment span{
		font-size: min(3.88vw , 28px);
	}
	
	section.environment{
		padding: 11vw 0 5vw;
	}
	
	.box_topenvironment{
		width: 90%;
		max-width: 650px;
		margin: 0 auto;
	}
	
	h1.ttl_environment.montserrat{
		margin: 0 0 1.5vw;
		font-size: min(13.89vw , 100px);
		letter-spacing: -0.05em;
	}
	
	.sub_ttl.about{
		width: 45%;
		max-width: 336px;
		margin: 0 auto 10.5vw;
		line-height: 1.3;
	}
	
	.inner_box_environment1 {
		margin: 0 auto 6vw;
        padding: 0 0 6vw;
	}
	
	.inner_box_environment1 h3{
		font-size: min(6.39vw , 46px);
	}
	
	.inner_box_environment1 p{
		font-size: min(4.17vw , 30px);
	}
	
	

	
	
}




