@charset "utf-8";

/* 

basic element (wrap etc..) 

*/

.bodywrap{ position: relative; width: 100%; border-left: 20px solid var(--color-bu1); border-right: 20px solid var(--color-bu1); z-index: 1000; margin-bottom: 0;}
@media screen and (max-width: 799px) {
  .bodywrap{ border-left: 10px solid var(--color-bu1); border-right: 10px solid var(--color-bu1);}
}

.main_top{ padding: 1px 0;}


.secbox1{ max-width: 1200px; width: 90%; margin-left: auto; margin-right: auto;}
.secbox2{ max-width: 1000px; width: 90%; margin-left: auto; margin-right: auto;}
.secbox3{ max-width: 800px; width: 90%; margin-left: auto; margin-right: auto;}
.secbox4{ max-width: 1400px; width: 90%; margin-left: auto; margin-right: auto;}

.f_ltr{ display: flex; justify-content: space-between; flex-wrap: wrap;}
.f_rtl{ display: flex; justify-content: space-between; flex-direction: row-reverse; flex-wrap: wrap;}


/* 

header nav 

*/

.topheader{ position: relative; width: 100%;}

.header{ position: absolute; width: 100%; height: 100px; padding: 0 3%; display: flex; justify-content: space-between; align-items: center; z-index: 8; transition: 1s;}
.headlogo{ display: flex; justify-content: flex-start; align-items: center; max-width: 320px;}
.headlogo a{ display: block; width: 100%;}
.headlogo a img{ width: 100%;}
@media screen and (max-width: 799px) {
  .header{ height: 60px; padding: 0 5%;}
  .headlogo a{ display: block; max-width: 240px;}
}
@media screen and (max-width: 380px) {
  .headlogo{ display: block; margin-right: 10px; width: calc(100% - 60px);}
}
.header_nav_extra{ margin-right: 100px; text-align: right;}
.header_nav_extra a{ color: #000; font-family: "Roboto Condensed", sans-serif; font-optical-sizing: auto; font-weight: 600; font-style: normal; font-size: 1.8rem; line-height: 1.0; padding: 20px 0; filter: drop-shadow(0 0 10px #fff);}
.header_nav_extra a:nth-child(2){ margin-left: 20px;}
.hnav_pc{ display: inline;}
.hnav_sp{ display: none;}
.hnav_sp img{ color: #000; width: 24px;}

@media screen and (max-width: 799px) {
  .header_nav_extra{ margin-right: 50px;}
/*  .hnav_pc{ display: none;}
  .hnav_sp{ display: inline;}
  .header_nav_extra a:nth-child(2){ margin-left: 10px;}*/
}
@media screen and (max-width: 520px) {
  .header_nav_extra{ display: none;}
}




#navTgl:checked ~ .contents {
	transform: translateX(100%);
}

/* :::::: toggle button :::::: */
#navTgl { display: none;}
.nav1label { cursor: pointer; position: fixed; top: 0; right: 0;}
.open { position: fixed; top: 16px; right: 3%; z-index: 999; width: 70px; height: 70px; overflow: hidden; transition: background .6s, transform .6s cubic-bezier(0.215, 0.61, 0.355, 1); padding-top: 9px;}
.open::before,
.open::after { content: "";}
.open span,
.open::before,
.open::after { content: ""; position: absolute; top: calc(50% - 1px); left: 0%; width: 90%; height: 3px; background-color: #000; transition: all .6s cubic-bezier(0.215, 0.61, 0.355, 1); filter: drop-shadow(0 0 8px #fff);}
.open::before { transform: translateY(-10px); width: 100%;}
.open::after { transform: translateY(10px); width: 100%;}
.close { z-index: 2; width: 70px; height: 70px; pointer-events: none; transition: background .6s;}
#navTgl:checked + .open { color: #fff; transform: translateX(0px);}
#navTgl:checked + .open span { background-color: #3e3a37; transform: scaleX(0); filter: none;}
#navTgl:checked + .open::before { background-color: #fff;	transform: rotate(225deg); filter: none;}
#navTgl:checked + .open::after { background-color: #fff; transform: rotate(-225deg); filter: none;}
#navTgl:checked ~ .close { pointer-events: auto;}
@media screen and (max-width: 799px) {
  .open { top: 5px; right: 15px; width: 50px; height: 50px; padding-top: 5px;}
  .open span,.open::before,.open::after { height: 2px;}
  .open::before { transform: translateY(-7px);}
  .open::after {transform: translateY(7px);}
}
@media screen and (max-width: 430px) {
  .open { top: 10px; right: 15px; width: 40px; height: 40px; padding-top: 10px;}
}

/* :::::: drawer menu for sp :::::: */

.menu { z-index: 100; position: fixed; overflow: auto; top: 0; right: 0; display: none;	width: 100%; max-width: 500px; height: 100%; padding-bottom: 30px; padding-top: 100px; background: #3e3a37; transition: opacity .5s; border-bottom: 1px solid rgba(255,255,255,0.3);}
.menu li { line-height: 1.4; border-top: 1px solid rgba(255,255,255,0.3);}
.menu ul li:last-child{ border-bottom: 1px solid rgba(255,255,255,0.1);}
.menu li.navsubttl { background-color: rgba(255,255,255,0.10); text-align: center; padding: 5px 2.0rem; color: rgba(255,255,255,0.74);}
.menu li a { display: block; padding: 1.4rem 2.0rem; font-size: 1.5rem; line-height: 1.5; color: #fff; text-decoration: none; text-align: left; transition: background .6s cubic-bezier(0.215, 0.61, 0.355, 1); position: relative;}
.menu li a::after{ position: absolute; right: 10px; top: 50%; transform: translateY(-50%); font-family: "Material Icons"; content: "\f1df"; color: #fff;}
.menu li a:hover { background: #646464;}
#navTgl:checked ~ .menu { display: block;}

/* ドロップダウンメニュー ================================= */
.menu ul li input{ display: none; }
.menu ul li label { display: block; cursor: pointer; position: relative!important; background-color: rgba(255,255,255,0.10); padding: 1.4rem 2.0rem; color: #fff; font-size: 1.5rem; line-height: 1.5;}
.menu ul li label i{ color: #fff; transition: transform .5s cubic-bezier(0.215, 0.61, 0.355, 1);}
.menu ul li ul { position: relative; border-left: 20px solid rgba(255,255,255,0.1); overflow: hidden; max-height: 0; transition: 0.5s;}
/* 子メニュー */
.menu ul li ul li{ border-top: 1px solid rgba(255,255,255,0.1);}
.menu ul li ul li a i{ color: rgba(255,255,255,1);}

/* 子メニューがクリックされた時 */
.menu ul li input[type="checkbox"]:checked ~ label ~ ul{ max-height: 10000px;}
.menu ul li input[type="checkbox"]:checked ~ label i{ transform: rotate(180deg); color: #fff;}
.menu ul li i.fa-angle-right{ padding-right: 3px; color: rgba(255,255,255,1);}


/*

main kazari

*/

img.ojp_t{ object-position: center top;}
img.ojp_t25{ object-position: 50% 25%;}
img.ojp_c{ object-position: center center;}
img.ojp_t65{ object-position: 50% 65%;}
img.ojp_b{ object-position: center bottom;}




/*

title

*/

.title1{ font-family: "Roboto Condensed", sans-serif; font-weight: 600; font-size: 5rem; color: #bbb;}
.title2{ width: 90%; font-size: 3.6rem; font-family: "Noto Serif JP", serif; font-weight: 700; text-align: center;}
.title3{ position: relative; border: 1px solid #fff; padding: 20px; width: 80%; max-width: 800px; font-size: 3.6rem; font-family: "Noto Serif JP", serif; font-weight: 700; text-align: center;}
@media screen and (max-width: 799px) {
  .title1{ font-family: "Roboto Condensed", sans-serif; font-weight: 600; font-size: 2.4rem; color: #bbb;}
  .title2{ width: 90%; font-size: 2.2rem; font-family: "Noto Serif JP", serif; font-weight: 700; text-align: center;}
  .title3{ position: relative; border: 1px solid #fff; padding: 20px; width: 80%; max-width: 800px; font-size: 2.2rem; font-family: "Noto Serif JP", serif; font-weight: 700; text-align: center;}
}






/*

button

*/
.btn1pc{ display: block;}
.btn1sp{display: none;}
@media screen and (max-width: 1100px) {
  .btn1pc{ display: none;}
  .btn1sp{display: block;}
}

.a-btn{ display: block; width: 300px; background-color: #000; color: #fff; padding: 4px 10px 6px 10px; border-radius: 30px; text-align: center; position: relative; overflow: hidden;}
.a-btn span{ position: relative;}
.a-btn::after{ position: absolute; top: 50%; right: 10px; transform: translateY(-50%); transition: all 1s;
  font-family: "Material Icons"; content: "\f1df"; color: #fff;}
.a-btn::before{ position: absolute; top: 0; left: 0; content: ""; width: 100%; height: 100%; background-color: var(--color-gr1); transform: translateX(-100%); transition: all 0.6s;}
.a-btn:hover::before{ transform: translateX(0);}
@media screen and (max-width: 480px) {
  .a-btn{ max-width: 260px; width: 100%; font-size: 1.4rem;}
}


.a-btn2{ display: block; width: 300px; padding: 4px 10px 6px 10px; border: 2px solid #000; border-radius: 30px; text-align: center; position: relative; overflow: hidden; transition: all 0.6s;}
.a-btn2 span{ position: relative;}
.a-btn2::after{ position: absolute; top: 50%; right: 10px; transform: translateY(-50%); transition: all 1s;
  content: "→"; color: #000;}
.a-btn2::before{ position: absolute; top: 0; left: 0; content: ""; width: 100%; height: 100%; background-color: #000; transform: translateX(-100%); transition: all 0.6s;}
.a-btn2:hover{ color: #fff;}
.a-btn2:hover::after{ color: #fff;}
.a-btn2:hover::before{ transform: translateX(0);}
@media screen and (max-width: 480px) {
  .a-btn2{ max-width: 260px; width: 100%; font-size: 1.3rem;}
}


.a-btn3{ display: inline-block; padding: 2px 2em 2px 8px; overflow: hidden; margin-top: var(--m-ss); text-decoration: none; transition: all 0.6s; position: relative}
.a-btn3 span{ position: relative;}
.a-btn3::after{ position: absolute; top: 50%; right: 0.4em; transform: translateY(-50%); transition: all 1s;
  content: "→"; color: #000;}
.a-btn3::before{ position: absolute; top: 0; left: 0; content: ""; width: 100%; height: 100%; background-color: #000; transform: translateX(-101%); transition: all 0.6s;}
.a-btn3:hover{ color: #fff;}
.a-btn3:hover::after{ color: #fff;}
.a-btn3:hover::before{ transform: translateX(0);}
@media screen and (max-width: 480px) {
  .a-btn3{ font-size: 1.3rem;}
}


/*

tophomeimg  topcontsimg

*/

/* tophomeimg */

.tophomeimg{
  width: 100%; height: 100vh; position: relative; overflow: hidden; background: url("../images/tophomeimg.jpg") center left no-repeat; background-size: cover;}
.tophomeimg_text{
  position: absolute; top: 50%; left: 8vw; transform: translateY(-40%); width: 50%; max-width: 520px; z-index: 2; filter: drop-shadow(0 0 5px rgba(0,0,0,0.20));}
.tophomebanner{ display: flex; justify-content: flex-end; position: absolute; bottom: 20px; right: 20px; background-color: #f00; color: #fff; padding: 10px;}
.tophomebanner h2{ font-size: 50px; line-height: 50px; font-weight: 200; padding-right: 10px;}
.tophomebanner p{ font-size: 18px; line-height: 28px; font-weight: 500;}
@media screen and (max-width: 799px) {
  .tophomeimg{ height: 60vh;}
  /*.tophomeimg{ width: 100%; height: 45vh; position: relative;}*/
  .tophomeimg_text{ top: 40%; left: 8vw;}
  .tophomebanner h2{ font-size: 40px; line-height: 40px;}
  .tophomebanner p{ font-size: 14px; line-height: 20px;}
}
@media screen and (max-width: 640px) {
  .tophomebanner{ display: block; bottom: 20px; right: 20px; background-color: #f00; color: #fff;}
  .tophomebanner h2{ font-size: 32px; line-height: 32px; padding: 0 0 10px 0;}
}
@media screen and (max-width: 480px) {
  .tophomeimg_text{ /*top: auto; bottom: 10%; */left: 8vw;/* transform: translateY(0);*/ width: 60%;}
}
@media screen and (max-width: 360px) {
  .tophomeimg_text{ width: 80%;}
  .tophomebanner h2{ font-size: 24px; line-height: 24px; padding: 0 0 5px 0;}
  .tophomebanner p{ font-size: 12px; line-height: 16px;}
}

/* topcontsimg */

.topcontsimg{ width: 100%; height: 400px; position: relative;}
.topcontsimg_box{ background-color: var(--color-bu2); clip-path: polygon(0 0, 100% 0, 100% 30%, 0 100%);}
.topcontsimg > img{ display: block; width: 100%; height: 100%; object-fit: cover; clip-path: polygon(0 0, 100% 0, 100% 30%, 0 100%); filter: grayscale(1);}
.topcontsimg_text{ position: absolute; top: 35%; left: 50%; transform: translate(-50%,-50%); width: 60%; max-width: 540px;}
.topcontsimg_text > img{ width: 100%;}
@media screen and (max-width: 1200px) {
  
}
@media screen and (max-width: 799px) {
  .topcontsimg{ height: 280px;}
  .topcontsimg_text{ top: 35%; width: 60%;}
}
@media screen and (max-width: 420px) {
  .topcontsimg{ height: 220px;}
  .topcontsimg_text{ top: 35%; width: 50%;}
}

/* contsttl */

.contsttl{ position: relative; margin: -150px auto 0 auto; background-color: rgba(238,238,238,0.8); border: 1px solid #fff; padding: 20px; width: 80%; max-width: 800px; color: #000; font-size: 3.6rem; font-family: "Noto Serif JP", serif; font-weight: 700; text-align: center; z-index: 3;}
@media screen and (max-width: 799px) {
  .contsttl{ margin: -100px auto 30px auto; padding: 10px; width: 70%; font-size: 2.8rem;}
}
@media screen and (max-width: 420px) {
  .contsttl{ margin: -80px auto 30px auto; padding: 5px; width: 70%; font-size: 2.2rem;}
}

/*

home

*/

/* message1 */

.message1{ width: 100%; max-width: 2400px; position: relative; padding: var(--m-l) 0 0 0;}
.message1::before{ position: absolute; content: ""; top: 0; left: 0; width: 100%; height: 100%; 
  clip-path: polygon(100% 0, 100% 100%, 65% 100%); background-color: #bbb;}
.message1_text{ max-width: 1000px; width: 80%; padding: 0 50px 100px 50px; margin: 0 auto; position: relative;}
.message1_text h2{ margin: 0 auto var(--m-s) auto; font-size: var(--fontsize-l2);
  font-family: "Noto Serif JP", serif; font-weight: 600; text-align: center;}
.message1_text p{ margin-top: 1em;}
.message1_text_strong{ font-size: var(--fontsize-l); font-family: "Noto Serif JP", serif; font-weight: 600;}
.message1_img{ position: absolute; right: 0; bottom: 0; width: 50%; max-width: 355px;}
.message1_img img{ width: 100%;}
@media screen and (max-width:799px) {
  .message1_text{ padding: 0 0 150px 0;}
}
@media screen and (max-width: 520px) {
  .message1_text{ width: 85%;}
  .message1_text{ padding: 0 0 150px 0;}
  .message1_img{ max-width: 240px; width: 100%;}
}


/* service1 */

.service1{ max-width: 1920px; width: 96%;}
.service1 ul{ display: flex; justify-content: space-between; flex-wrap: wrap;}
.service1 li{ width: 30%; aspect-ratio: 4 / 3;/*aspect-ratio: 472 / 310;*/ margin-left: calc(-21% / 3); margin-top: var(--m-s);}
.service1 li:nth-child(4n-3){ margin-left: 0;}
.service1 li a{ width: 100%; height: 100%; display: flex; justify-content: center; align-items: center; clip-path: polygon(37% 0, 100% 0, 63% 100%, 0 100%); overflow: hidden; filter: grayscale(1); position: relative; transition: all 0.6s;}
.service1 li a span{ z-index: 2; text-align: center; color: #fff; filter: drop-shadow(0 0 1px rgba(0,0,0,0.5));}
.service1 li a::before{ position: absolute; content: ""; width: 100%; height: 100%; background-color: rgba(0,0,0,0.5); transition: all 0.6s;}
.service1 li.service_public a{ background: url("../images/service_public1.jpg") center center; background-size: cover;}
.service1 li.service_shop a{ background: url("../images/service_shop.jpg") center center; background-size: cover;}
.service1 li.service_temp a{ background: url("../images/service_temple.jpg") center center; background-size: cover;}
.service1 li.service_clinic a{ background: url("../images/service_clinic.jpg") center center; background-size: cover;}
.service1 li.service_apart a{ background: url("../images/service_apart.jpg") center center; background-size: cover;}
.service1 li.service_house a{ background: url("../images/service_house.jpg") center center; background-size: cover;}
.service1 li.service_reform a{ background: url("../images/service_reform.jpg") center center; background-size: cover;}
.service1 li:last-child a::before{ background-color: transparent;}
.service1 li:last-child a span{ width: 30%; filter: none;}
.service1 li a:hover{ filter: grayscale(0);}
.service1 li a:hover:before{ background-color: rgba(0,0,0,0.0);}
.service1 li:last-child a:hover::before{ background-color: transparent;}
@media screen and (max-width: 799px) {
  .service1 li{ width: 40%; margin-left: calc(-21% / 2);}
  .service1 li:nth-child(4n-3){ margin-left: calc(-21% / 2);}
  .service1 li:nth-child(3n-2){ margin-left: 0;}
}
@media screen and (max-width: 560px) {
  .service1 li{ width: 55%; aspect-ratio: 472 / 420; margin-left: -21%;}
  .service1 li:nth-child(4n-3){ margin-left: -21%;}
  .service1 li:nth-child(3n-2){ margin-left: -21%;}
  .service1 li:nth-child(2n-1){ margin-left: 0;}
  .service1 li a{ clip-path: polygon(30% 0, 100% 0, 70% 100%, 0 100%);}
  .service1 li a span{ font-size: 1.4rem;}
  .service1 li:last-child a span{ width: 40%;}
}

/* service2 */

.service2{ max-width: 1000px; width: 90%;}
.service2 li{ margin-top: var(--m-s); display: flex; justify-content: space-between; align-items: flex-start;}
.service2 li div.sv2img{ aspect-ratio: 4 / 4; width: 30%; clip-path: polygon(30% 0, 100% 0, 70% 100%, 0 100%); overflow: hidden; filter: grayscale(1); position: relative; transition: all 1s;}
.service2 li div.sv2img a h2{ display: none;}
.service2 li div.sv2img a{ display: block; width: 100%; height: 100%;}
.service2 li div.sv2text{ width: 65%;}
.service2 li div.sv2text h2{ display: block; font-size: 2.4rem; line-height: 1.4; font-weight: 600; margin-bottom: 10px;}
/*.service2 li.service_public div.sv2img{ background: url("../images/service_public1.jpg") center center; background-size: cover;}
.service2 li.service_shop div.sv2img{ background: url("../images/service_shop.jpg") center center; background-size: cover;}
.service2 li.service_temp div.sv2img{ background: url("../images/service_temple.jpg") center center; background-size: cover;}
.service2 li.service_clinic div.sv2img{ background: url("../images/service_clinic.jpg") center center; background-size: cover;}
.service2 li.service_apart div.sv2img{ background: url("../images/service_apart.jpg") center center; background-size: cover;}
.service2 li.service_house div.sv2img{ background: url("../images/service_house.jpg") center center; background-size: cover;}
.service2 li.service_reform div.sv2img{ background: url("../images/service_reform.jpg") center center; background-size: cover;}*/
.service2 li div.sv2img:hover{ filter: grayscale(0);}
@media screen and (max-width: 799px) {
  .service2 li{ margin-top: var(--m-m);}
  .service2 li div.sv2img{ aspect-ratio: 4 / 5; width: 30%; clip-path: polygon(30% 0, 100% 0, 70% 100%, 0 100%); overflow: hidden; filter: grayscale(1); position: relative; transition: all 1s;}
  /*.service2 li div.sv2img a h2{ display: none;}*/
  .service2 li div.sv2text h2{ display: block; font-size: 1.8rem;}
}
@media screen and (max-width: 480px) {
  .service2 li div.sv2img{ aspect-ratio: 2 / 3.5; width: 30%; clip-path: polygon(25% 0, 100% 0, 75% 100%, 0 100%);}
}
@media screen and (max-width: 380px) {
  .service2 li div.sv2img{ aspect-ratio: 2 / 4.5; clip-path: polygon(15% 0, 100% 0, 85% 100%, 0 100%);}
  .service2 li div.sv2text{ width: 68%;}
}

/* service construction */

.conts_constimg1{ height: 300px;}
.conts_constimg1 img{ width: 100%; height: 100%; object-fit: cover; object-position: center;}
.conts_constbox1{ /*width: 90%; */max-width: 1200px; display: grid; gap: 2px; grid-template-columns: 1fr 1fr;}
.conts_constbox1_text1{ place-content: center; text-align: center; padding: 3% 5%; background-color: #fff;}
.conts_constbox1_text1 h3{ font-size: var(--fontsize-l); font-weight: 600; line-height: 1.4; margin-bottom: 10px;}
.conts_constbox1_text1 p{ font-size: var(--fontsize-s2);}
@media screen and (max-width: 799px) {
  .conts_constimg1{ height: 200px;}
  .conts_constbox1_text1{ padding: 2% 2%;}
  .conts_constbox1_text1 h3{ font-size: var(--fontsize-s); margin-bottom: 5px;}
}



/* company1 */

.company1{ background-color: #bbb;}
.company1 ul{ max-width: 1020px; width: 90%; margin: 0 auto; display: flex; justify-content: space-between; padding: 1px 0;}
.company1 ul li{ width: 18%; aspect-ratio: 180 / 500;}
.company1 ul li:nth-child(1){ margin: 180px 0 0 0;}
.company1 ul li:nth-child(2){ margin: 120px 0 60px 0;}
.company1 ul li:nth-child(3){ margin: 60px 0 120px 0;}
.company1 ul li:nth-child(4){ margin: 0 0 180px 0;}
.company1 ul li a{ display: block; width: 100%; height: 100%; background-color: aqua; position: relative; filter: grayscale(1);  transition: all 0.6s;}
.company1 ul li a span{ position: absolute; bottom: 0; left: 0; width: 100%; height: 5em; background-color: rgba(0,0,0,0.50); display: flex; align-items: center; justify-content: center; text-align: center; color: #fff;}
.company1 ul li:nth-child(1) a{ background: url("../images/comp_president.jpg") center center; background-size: cover;}
.company1 ul li:nth-child(2) a{ background: url("../images/comp_feeling.jpg") center center; background-size: cover;}
.company1 ul li:nth-child(3) a{ background: url("../images/comp_mainbuild1.jpg") center center; background-size: cover;}
.company1 ul li:nth-child(4) a{ background: url("../images/comp_recruit.jpg") center center; background-size: cover;}
.company1 ul li a:hover{ filter: grayscale(0);}
@media screen and (max-width: 799px) {
  .company1 ul li{ width: 23%; aspect-ratio: 180 / 500;}
}
@media screen and (max-width: 480px) {
  .company1 ul{ flex-wrap: wrap; justify-content: space-around;}
  .company1 ul li{ width: 43%; aspect-ratio: 180 / 500;}
  .company1 ul li:nth-child(1){ margin: 60px 0 0 0;}
  .company1 ul li:nth-child(2){ margin: 20px 0 40px 0;}
  .company1 ul li:nth-child(3){ margin: 40px 0 20px 0;}
  .company1 ul li:nth-child(4){ margin: 0px 0 60px 0;}
}

/* company conts */

.conts_compimg1{ max-width: 1600px; width: 100%; height: 300px; margin-left: auto; margin-right: auto;}
.conts_compimg1 img{ width: 100%; height: 100%; object-fit: cover; object-position: center 40%;}

.gmap iframe{ width: 100%; height: 400px; border: 1px solid var(--color-gy1); padding: 2px;}
.accessbox1 li{ border-left: 2px solid var(--color-gy1); padding: 10px; margin: 20px 0;}
.accessbox1 li p{ margin-left: 2em;}
.accessbox1 li .material-icons{ vertical-align: middle;}

.corp_history li{ display: flex; justify-content: flex-start;}
.corp_history_date{ width: 80px; padding: 0px 20px 10px 0; text-align: right; line-height: 1.7; font-size: 30px; font-family: "Roboto Condensed", sans-serif; font-weight: 400;}
.corp_history_text{ width: calc(100% - 80px); padding: 10px 0 10px 0; line-height: 1.5;}
.corp_history_text p{ position: relative; padding-left: 70px; margin-top: 10px;}
.corp_history_text p::before{ position: absolute; content: ""; top: 14px; left: 25px; width: 25px; height: 2px; background-color: var(--color-gy1);}
.corp_history_text p::after{ position: absolute; content: ""; top: 0px; left: 25px; width: 2px; height: 14px; background-color: var(--color-gy1);}
.corp_history_text p:first-child{ margin-top: 0;}
.corp_history_text p:first-child::before{ position: absolute; content: ""; top: 14px; left: 0; width: 50px; height: 2px; background-color: var(--color-gy1);}
.corp_history_text p:first-child::after{ display: none;}
@media screen and (max-width: 799px) {
  .corp_history_date{ width: 60px; padding: 0px 20px 10px 0; font-size: 22px;}
  .corp_history_text{ width: calc(100% - 60px); padding: 6px 0 10px 0;}
  .corp_history_text p{ position: relative; padding-left: 40px; margin-top: 10px;}
  .corp_history_text p::before{ position: absolute; content: ""; top: 11px; left: 15px; width: 15px; height: 2px; background-color: var(--color-gy1);}
  .corp_history_text p::after{ position: absolute; content: ""; top: 0px; left: 15px; width: 2px; height: 14px; background-color: var(--color-gy1);}
  .corp_history_text p:first-child{ margin-top: 0;}
  .corp_history_text p:first-child::before{ position: absolute; content: ""; top: 11px; left: 0; width: 30px; height: 2px; background-color: var(--color-gy1);}
  .corp_history_text p:first-child::after{ display: none;}
}

.sdgs1{ background-color: #fff; padding: 2% 5%; margin-top: var(--m-s);}
.sdgs1 h3{ font-size: var(--fontsize-l); margin-bottom: 20px; font-weight: 600;}
.sdgs1 ul{ display: flex; flex-wrap: wrap; margin-bottom: 20px;}
.sdgs1 ul li{ width: 100px; margin-right: 10px;}
@media screen and (max-width: 480px) {
  .sdgs1 h3{ margin-bottom: 10px;}
  .sdgs1 ul{ display: flex; flex-wrap: wrap; margin-bottom: 10px;}
  .sdgs1 ul li{ width: 80px; margin-right: 5px;}
}

.privacy1 h3{ margin-bottom: 10px; margin-top: 1.5em;}
.privacy1 h4{ }
.privacy1 ol li{ margin-left: 2em; list-style: decimal;}
.privacy1 ul li{ margin-left: 2em; list-style: disc;}
.privacy1 p{ }





/* news , works title */

.homebox1{ display: flex; justify-content: space-between;}
.homebox1 h2{ width: 22%; display: flex; justify-content: center; align-items: flex-start; line-height: 1.0;}
.homebox1 h2 img{ width: 77px;}
.homebox1 h2 span{ display: none;}
@media screen and (max-width: 479px) {
  .homebox1{ display: block;}
  .homebox1 h2{ width: 100%; height: 40px; display: block; padding-left: 20px;}
  .homebox1 h2 img{ display: none;}
  .homebox1 h2 span{ display: inline; font-family: "Roboto Condensed", sans-serif; font-weight: 700; font-size: 2.4rem; color: var(--color-gy1);}
}

/* news */

.news1_box1{ width: 78%; padding: 3% 0% 5% 5%; border-top: 1px solid #bbb; border-left: 1px solid #bbb; border-bottom: 1px solid #bbb;}
.news1_box1 li{ border-bottom: 1px dotted #bbb;}
.news1_box1 li a{ display: block; padding: 1.5em 1em; position: relative; transition: all 1s;}
.news1_box1 li a .news1_box1_date{ font-size: 1.3rem;}
.news1_box1 li a h3{ font-weight: 600;}
.news1_box1 li a p{ font-size: var(--fontsize-s);}
.news1_box1 li a::after{ position: absolute; top: 50%; right: 1em; transform: translateY(-50%);
  content: "→"; color: #000;}
.news1_box1 li a:hover{ background-color: #fff;}
@media screen and (max-width: 479px) {
  .news1_box1{ width: 90%; margin-left: 10%; padding: 5% 0% 5% 5%;}
}

.news2_box1{ }
.news2_box1 li{ border-bottom: 1px dotted #bbb;}
.news2_box1 li:first-child{ border-top: 1px dotted #bbb;}
.news2_box1 li a{ display: block; padding: 1.5em 4em 1.5em 1em; position: relative; transition: all 1s;}
.news2_box1_date{ font-size: 1.3rem; font-family: "Roboto Condensed", "Noto Sans JP", sans-serif;}
.news2_box1 li a h3{ font-weight: 600; margin-bottom: 0.5em;}
.news2_box1 li a p{ font-size: var(--fontsize-s);}
.news2_box1 li a::after{ position: absolute; top: 50%; right: 1em; transform: translateY(-50%);
  content: "→"; color: #000;}
.news2_box1 li a:hover{ background-color: #fff;}
.news2_box1_img{ width: 100%; aspect-ratio: 10 / 6; background-color: rgba(255,255,255,0.60); padding: 2px;}
.news2_box1_img img{ width: 100%; height: 100%; object-fit: contain; }
@media screen and (max-width: 479px) {
  .news2_box1 li a{ padding: 1.5em 3.5em 1.5em 0.5em;}
}






/* works_home */

.works1_box1{ width: 78%; padding: 5% 0 5% 5%; border-top: 1px solid #bbb; border-left: 1px solid #bbb; border-bottom: 1px solid #bbb;}
.works1_box1 ul{ display: flex; justify-content: space-between;}
.works1_box1 li{ width: 50%;}
.works1_box1 li:last-child{ display: none;}
.works1_box1 li a{ display: block; width: 100%; height: 100%; position: relative; transition: all 1s;}
.works1_box1 li a div{ border: 1px solid #eee; width: 100%; aspect-ratio: 1 / 1; position: relative; overflow: hidden;}
.works1_box1 li a div img{ width: 100%; height: 100%; object-fit: cover; object-position: center;}
.works1_box1 li a p{ font-size: var(--fontsize-s); padding: 10px;}
.works1_box1 li a div::before{ position: absolute; content: ""; width: 0%; height: 100%; top: 50%; left: 50%; transform: translate(-50%,-50%); background-color: rgba(0,0,0,0.50); transition: all 0.6s;}
.works1_box1 li a:hover div::before{ width: 100%; height: 100%; border-radius: 0;}
.works1_box1 li a div::after{ position: absolute; content: "→"; font-size: 5vw; color: rgba(255,255,255,0.00); top: 50%; left: 50%; transform: translate(-50%,-50%); transition: all 1.0s;}
.works1_box1 li a:hover div::after{ color: rgba(255,255,255,1.00);} 
@media screen and (max-width: 799px) {
  .works1_box1 ul{ flex-wrap: wrap;}
  .works1_box1 li{ width: 50%;}
  .works1_box1 li:last-child{ display: block;}
  .works1_box1 li a div::after{ font-size: 10vw;}
}
@media screen and (max-width: 479px) {
  .works1_box1{ width: 90%; margin-left: 10%; padding: 5% 0% 5% 5%;}
}


/* works_conts */

.workscat1{ width: 90%; text-align: center; font-size: var(--fontsize-s2); line-height: 1.2; }
.workscat1 span{ display: inline-block; padding: 1px 3px; background-color: #fff; margin: 2px 3px;}
.conts_worksimg1{ max-width: 1600px; width: 100%; height: 640px; margin-left: auto; margin-right: auto;}
.conts_worksimg1 img{ width: 100%; height: 100%; object-fit: cover; object-position: center;}

.conts_worksbox1{ max-width: 1200px; display: grid; gap: 2px; grid-template-columns: 1fr 1fr;}
.conts_worksbox1 div{ padding-bottom: 2em;}
.conts_worksbox1 img{ display: block; aspect-ratio: 128 / 96; width: 100%; object-fit: cover; object-position: center;}
.conts_worksbox1 p{ font-size: var(--fontsize-s2); padding: 2%;}
.conts_worksbox1 p span{ display: inline-block; font-size: var(--fontsize-s2); line-height: 1.2; padding: 1px 3px; background-color: #fff; margin-right: 5px;}
@media screen and (max-width: 799px) {
  .conts_worksimg1{ height: auto; aspect-ratio: 640 / 480;}
}


/* recruit1 */

.recruit1 li{ margin-top: var(--m-s); padding: 3% 5%; background-color: #fff; display: flex; justify-content: space-between; align-items: center; }
.recruit1 li .a-btn2 { width: 200px;}
.recruit1_text { width: calc(100% - 240px);}
.recruit1_text h3{ font-size: var(--fontsize-l); line-height: 1.4; font-weight: 600; margin-bottom: 20px;}
@media screen and (max-width: 799px) {
  .recruit1 li{ padding: 20px 20px; display: block; }
  .recruit1 li .a-btn2 { max-width: 200px; width: 100%; margin: 20px auto 0 auto;}
  .recruit1_text { width: 100%;}
}

.recruit_table1 th,
.recruit_table1 td{ padding: 20px; border: 1px solid var(--color-gy2);}
.recruit_table1 th{ font-weight: 600;}

.personbox1{ border: 1px solid #fff; padding: 10px;}






/* entry form */

.entrybox1{ 
  display: flex; flex-direction: column; align-items: center;}
.entrybox1 ul{
  min-width: 50%;}
.entrybox1 ul li{ margin-bottom: 0px; text-align: center;}
.entrybox1 ul li:nth-last-child(2n-1){ font-weight: 600; background-color: rgba(255,255,255,0.50); padding: 10px 20px;}
a.entrybox1_tel{display: inline-block; padding: 0 1em 1px 1em; border: 1px solid var(--color-bu2); border-radius: 30px; margin-top: 10px; margin-bottom: 5px; color: var(--color-bu2);}
.entrybox1 p{ margin-top: 1em;}
.entrybox1 p:first-of-type{ margin-top: var(--m-s);}


.hissu1{ color: rgba(255,0,0,1.00);}
.formTable1 input::placeholder,.formTable1 textarea::placeholder{ color: #ccc;}
.formTable1 th,.formTable1 td{ padding: 1em; text-align: left; vertical-align: top; border: 10px solid var(--color-back-bu);}
.formTable1 th{ width: 20%; color: #000; font-weight: 600; line-height: 1.4;}
.formTable1small{ font-size: 80%; font-weight: 400;}
.formTable1 input[type='text'],.formTable1 textarea{ width: 100%; border: 1px solid var(--color-gy1); padding: 10px 15px; }
.formTable1 label{ display: inline-block; min-width: 49%;}
.formTable1 input[type='text']:focus,.formTable1 textarea:focus{ border: 1px solid var(--color-gy1); padding: 10px 15px;}
.formTable1 input[type='checkbox']{ border: 1px solid var(--color-gy1); width: 15px; height: 15px;}
.formTable1 input.input_ss{ width: 100px;}
.formTable1 label.input_ss{ min-width: inherit;}
.formTable1 input[type='radio']{ margin-top: -2px;}

.formbtn1{ margin-top: var(--m-s);}
.formbtn1 input{border: none;}
.formbtn1 input{ display: block; width: 260px; background-color: var(--color-gy1); color: #fff; padding: 10px 10px 12px 10px; border-radius: 30px; font-weight: 600; text-align: center; position: relative; overflow: hidden; transition: all 0.6s; margin-left: auto; margin-right: auto;}
.formbtn1 input:hover{ background-color: var(--color-gy2);}

@media screen and (max-width: 480px) {
  .backblue1{ border-radius: 20px;}
  .formTable1 th,.formTable1 td{ display: block; padding: 0.5em 0 1.5em 0; border: none; background-color: transparent;}
  .formTable1 th{ width: 100%; background-color: rgba(255,255,255,0.70); padding: 0.5em; text-align: center;}
  .formTable1small{ font-size: 80%; font-weight: 400;}
  .formTable1 input[type='text'],.formTable1 textarea{ padding: 5px 10px; }
  .formTable1 label{ line-height: 2.0;}
}


.contactbox1_tel{ display: block; color: var(--color-gy1); font-size: 4.0rem; line-height: 1.0; letter-spacing: 0.1em; font-family: "Roboto Condensed", sans-serif; font-weight: 600; text-align: center; border-radius: 30px; border: 1px solid var(--color-gy1); position: relative; overflow: hidden; padding: 10px 2em; max-width: 500px;}
.contactbox1_tel span{ position: relative;}
.contactbox1_tel::after{ position: absolute; top: 50%; right: 10px; transform: translateY(-50%); transition: all 1s;
  content: "→"; color: #000;}
.contactbox1_tel::before{ position: absolute; top: 0; left: 0; content: ""; width: 100%; height: 100%; background-color: #000; transform: translateX(-100%); transition: all 0.6s;}
.contactbox1_tel:hover{ color: #fff;}
.contactbox1_tel:hover::after{ color: #fff;}
.contactbox1_tel:hover::before{ transform: translateX(0);}
@media screen and (max-width: 640px) {
  .contactbox1_tel{ max-width: 320px; font-size: 2.4rem;}
}







/* footer */

.footer{ padding: var(--m-m) 0 var(--m-s) 0; border-top: 1px solid #000;}
.footer_logo{ display: block; width: 70%; max-width: 240px; margin: 0 auto var(--m-s) auto; }
.footer_logo img{ width: 100%; filter: grayscale(1);}
.footer_contact{ display: flex; justify-content: center; flex-wrap: wrap;}
.footer_contact .a-btn2{ margin: 20px;}
.footer_nav{ display: flex; justify-content: space-between; width: 90%; max-width: 1200px;}
.footer_nav_box{ width: 45%;}
.footer_nav_box h2{ font-weight: 600; text-align: center; font-size: 1.4rem; border-bottom: 1px solid #000; padding-bottom: 10px; margin-bottom: 10px;}
.footer_nav_box ul{ column-count: 2; column-gap: 5%;}
.footer_nav_box li{ }
.footer_nav_box li a{ position: relative; display: block; font-size: 1.2rem; font-weight: 400; color: #000; padding: 5px 0 5px 2em;}
.footer_nav_box li a::after{
  position: absolute; left: 0; top: 50%; transform: translateY(-50%); content: "→"; /*font-family: "Material Icons"; content: "\f1df";*/ color: #000; }
.copyright{ display: block; text-align: center; font-size: 1.2rem;}
@media screen and (max-width: 1000px) {
  .footer_nav_box ul{ column-count: 1; column-gap: 0;}
}
@media screen and (max-width: 520px) {
  .footer_contact{ max-width: 400px; padding: 0 0; border-radius: 20px;}
  .footer_nav{ display: none;}
  .footer_contact .a-btn2{ margin: 10px 0;}
}








/* ----------------------------------------------------------------------------------
   MT Pagebute pagelist
---------------------------------------------------------------------------------- */

.pagenate{ position:relative; overflow:hidden; margin-top: 60px;}
.pagenate ul{ position:relative; display: flex;	flex-wrap: nowrap; justify-content: center;}
.pagenate li{ list-style:none; width: 32px; height: 32px; font-size: 13px; line-height: 14px; text-align: center; margin: 3px; }
.pagenate li a{ display:block; width: 100%; height: 100%; padding-top: 9px; text-decoration:none; color: var(--color-gy1);}
.pagenate li a:hover{ background-color: rgba(255,255,255,1.0); }
.pagenate li span{ display:block; width: 100%; height: 100%; padding-top:9px; color: var(--color-gy1); background-color: rgba(255,255,255,1.0);}
@media screen and (max-width: 640px) {
  .pagenate{ margin-top: 30px; }
}
.pagenextwrap{ display: flex; flex-wrap: nowrap; justify-content: center; margin: 50px 0;}
.pagenextwrap li a{ display: block; background-color: #aaa; color: #fff; padding: 10px 20px; border-radius: 5px; }
.pagenextwrap li{ margin: 10px;}




