@charset "utf-8";

/*共通*******************************************************************/

/*ページ共通********/

/**page-header*********************************/

.page-header {
	width: 100%;
	aspect-ratio: 16 / 9;
	max-height: 500px;
	position: relative;
}
.page-ttl {
	position: absolute;
	left: 0;
	bottom: -40px;
	background: #fff;
	padding: 10px 40px 0 0;
}
.page-ttl .jp_ttl {
	line-height: 1.5;
	margin-bottom: 5px;
}
.page-ttl .jp_ttl, .page-ttl .en_ttl {
	line-height: 1.5;
}

/**breadcrumbs**/
.breadcrumbs {
	font-size: 12px;
	color: #666;
	padding-top: 10px;
	padding-bottom: 10px;
	position: relative;
	z-index: 2;
	display: flex;
	justify-content: flex-end;
}

@media(max-width:767px){
	.breadcrumbs {
		justify-content: flex-start;
		margin-top: 40px;
	}
	.page-header h1 {
		font-size: 32px;
	}
	.page-ttl {
		bottom: -40px;
		padding: 7px 30px 0 0;
	}
	.page-ttl .jp_ttl {
		margin-bottom: 0;
	}
}

/************************************************************
免責事項・個人情報保護方針
************************************************************/
.privacy-policy .page-header {
	background: url(../images/privacy.jpg) center;
	background-size: cover;
}
.disclaimer .page-header {
	background: url(../images/discream.jpg) center;
	background-size: cover;
}


/************************************************************
問い合わせフォーム
************************************************************/


#mail_form dl {
	display: flex;
	flex-wrap: wrap;
	margin-bottom: 30px;
}
#mail_form dl:last-child {
	margin-bottom: 0;
}
#mail_form dl dt {
	width: 250px;
	font-weight: 500;
	padding-left: 15px;
}
#mail_form dl dd {
	width: calc(100% - 250px);
}

.require {
	position: relative;
}
.require:after {
	content: "*";
	display: inline-block;
	color: red;
	position: absolute;
	top: 2px;
	left: 0;
}
span.require {
	padding-left: 15px;
}

#mail_form input[type="text"], #mail_form input[type="email"], #mail_form input[type="tel"],#mail_form textarea, #classification{
    width: 100%;
    padding: 15px 10px;
    border: 1px solid #cccccc;
    color: #222;
    font-size: 16px;
}
#mail_form input[type="number"]{
    width: 100px;
    padding: 15px 10px;
    border: 1px solid #cccccc;
    color: #222;
    font-size: 16px;
}
.p-postal-code {
	width:150px !important;
}

#age {
	width:150px !important;
}

/* Chrome, Safari */
input::-webkit-input-placeholder{
    color: #999;
}
/* Firefox */
input::-moz-placeholder{
    color: #999;
}
/* Firefox 18以前 */
input:-moz-placeholder{
    color: #999;
}
/* IE */
input:-ms-input-placeholder{
    color: #999;
}
#mail_form .wpcf7-list-item {
	display: block;
}

/*チェックボックスStyle*/
.check input[type="checkbox"]{
  display: none;
}
.check .wpcf7-list-item-label {
  display: inline-block;
  position: relative;
  padding-left: 33px;
  cursor: pointer;
}
		
.check .wpcf7-list-item-label:before{
  width: 20px;
  height: 20px;
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  background: #fff;
  border: 1px solid #c3c3c3;
  border-radius: 2px;
}

.wpcf7-list-item input[type="checkbox"]:checked + .wpcf7-list-item-label:after {
    content: "";
    position: absolute;
    display: block;
    box-sizing: border-box;
    width: 18px;
    height: 9px;
    margin-top: -9px;
    top: 50%;
    left: 3px;
    transform: rotate(-45deg);
    border-bottom: 3px solid;
    border-left: 3px solid;
    border-color:  #ED1D24;
}

span.wpcf7-list-item{
  margin-left: 0!important;
  margin-right: 20px!important;
}


/*RadioボタンStyle*/
.radio .wpcf7-list-item input[type="radio"]{
  display: none;
}
.radio .wpcf7-list-item-label {
  position: relative;
  padding-left: 33px;
}
		
.radio .wpcf7-list-item-label:before{
  width: 20px;
  height: 20px;
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  background: #fff;
  border: 2px solid #ccc;
  border-radius: 50%;
}

.radio .wpcf7-list-item-label:after{
	content: '';
	display: block;
    width: 16px;
    height: 16px;
    border-radius: 50%;
   border: 4px solid #00a1d6;
    position: absolute;
    left: 2px;
    top: 2px;
	-webkit-transition: all 0.3s;
	transition: all 0.3s;
	opacity: 0;
}
.wpcf7-list-item input[type="radio"]:checked + .wpcf7-list-item-label:after {
    opacity: 1;
}

span.wpcf7-list-item{
  margin-left: 0 !important;
  margin-right: 20px !important;
}
span.wpcf7-list-item.last {
	margin-right: 0 !important;
}

#mail_form input[type="submit"] {
	display: block;
	width: 260px;
    height: 54px;
    border-radius: 27px;
	background: #fff;
	border: none;
	color:#005AB7;
	border: 3px solid #005AB7;
	font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.1em;
	margin: 40px auto 0;
	transition: all .2s;
}
.wpcf7-spinner {
	display: none;
}

#mail_form #amount{
    width: calc(100% - 50px);
}


/* セレクトフィールドのデザイン（ブルー矢印） */
#mail_form select.wpcf7-form-control, #birth-year {
    width: 100%;
    padding: 15px 10px;
    border: 1px solid #cccccc;
    color: #222;
    font-size: 16px;
    background: #fff;
    appearance: none; /* デフォルトの矢印を非表示 */
    background-image: 
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath fill='%23019FE6' d='M0 0l5 6 5-6z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 10px;
    padding-right: 30px; /* 矢印分のスペース確保 */
    cursor: pointer; /* カーソルをポインターに設定 */
}

/*個人情報保護方針のスタイル*/
#mail_form dl.privacy-policy-wrapper dd {
	width: 100%;
}
#mail_form .rule {
	padding: 20px;
	border: 1px solid #cccccc;
	background: #fff;
	height: 200px;
	overflow: scroll;
}
.check-disabled {
	opacity:0.3;
}

/*保有資格テキストエリア 初期非表示*/
#skill-detail {
  width: 100%;
  height: 80px;
  display: none;
}


@media(min-width:768px){
#mail_form input[type="submit"]:hover {
	transform: scale(1.05);
	}
}




@media (max-width:767px) {
	#mail_form dl dt, #mail_form dl dd {
		width: 100%;}
	#mail_form dl dt {
		margin-bottom: 10px;}
	#mail_form dl dt.required {
		padding-left: 45px;}
	p#form_submit input[type="submit"] {
        width: 200px;
    	height: 50px;
    	border-radius: 25px;}
}

/**reCaptureロゴ　消す*******/
.grecaptcha-badge {
	visibility: hidden;
}


.table li {
	display: flex;
}
.table_item {
	padding: 15px 10px;
	color: #812503;
	font-weight: 500;
	border-bottom: 1px solid #812503;
	width: 20%;
}
.table_content {
	padding: 15px 10px 15px 30px;
	border-bottom: 1px solid #ddd;
	width: 80%;
}
.table li:first-child .table_item {
	border-top:1px solid #812503;
}
.table li:first-child .table_content {
	border-top:1px solid #ddd;
}

.gmap{
    position : relative;
    height : 0;
    padding-bottom : 40%;
    overflow : hidden;
}
 
.gmap iframe,
.gmap object,
.gmap embed{
    position : absolute;
    top : 0;
    left : 0;
    width : 100%;
    height : 100%;
}

@media (max-width:767px) {
	.table_item {
		padding: 10px 0;
		width: 80px;
		font-size: 13px;}
	.table_content {
		padding: 10px 0 10px 10px;
		width: calc(100% - 80px);
		font-size: 13px;}
	.gmap{
		padding-bottom : 60%; }
	}



/************************************************************
会社案内
************************************************************/

.company .page-header {
	background: url(../images/company-header.webp) center;
	background-size: cover;
}

#company_01 .flex-between {
	row-gap: 30px;
}

.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
table.jisseki {
  width: 100%;
  border-collapse: collapse;
  margin: 2em 0;
  font-size: 14px;
  line-height: 1.5;
  background-color: #fff;
  border: 1px solid #ccc;
}
table.jisseki thead {
  background-color: #f2f2f2;
}
table.jisseki th,
table.jisseki td {
  padding: 10px 12px;
  border: 1px solid #ccc;
  text-align: left;
  vertical-align: top;
}
table.jisseki tr:nth-child(even) {
  background-color: #fafafa;
}
table.jisseki tr:hover {
  background-color: #eef6ff;
}
/* 改行禁止にしたい列（完成年月、工種、発注者） */
table.jisseki th:nth-child(1),
table.jisseki td:nth-child(1), /* 完成年月 */
table.jisseki th:nth-child(2),
table.jisseki td:nth-child(2), /* 工種 */
table.jisseki th:nth-child(4),
table.jisseki td:nth-child(4)  /* 発注者 */
{
  white-space: nowrap;
  word-break: keep-all;
}

/* 工事名（3列目）は改行OK：特別な指定不要 or 以下を明示してもOK */
table.jisseki th:nth-child(3),
table.jisseki td:nth-child(3) {
  white-space: normal;
  word-break: break-word;
}


.ttl-ub {
	text-align: center;
	position: relative;
	padding-bottom: 20px;
}
.ttl-ub:before {
	content: "";
	display: block;
	width: 50px;
	height: 4px;
	background-color: #019FE6;
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	margin: 0 auto;
}

.machine-list {
	column-gap: 2%;
	row-gap: 30px;

}
.machine-list li {
	width: 32%;
}
.machine-list li img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	object-position: center;
}

@media (max-width:991px){
	table.jisseki {
   	 min-width: 650px;
     font-size: 13px;
    }
}


@media (max-width:767px){
	.machine-list li {
		width: 48%;
	}
}
@media (max-width:380px){
	#company_01 h2 {
		font-size: 20px;
	}
}



/************************************************************
平川とは？
************************************************************/

.aboutus .page-header {
	background: url(../images/wada-beach.webp) center;
	background-size: cover;
}

.dot-border {
	border-bottom: 3px dotted #019FE6;
}
#aboutus_01 .flex-between {
	row-gap: 30px;
}
.feat-img {
	position: relative;
}
.feat-img img {
	width: 100%;
	max-width: initial !important;
}
.feat-num {
	display: flex;
	justify-content: center;
	align-items: center;
	position: absolute;
	width: 100px;
	height: 100px;
	border-radius: 50%;
	background: #019FE6;
	top: -30px;
	left: -30px;
	right: auto;
}
.rev .feat-num {
	top: -30px;
	right: -30px;
	left: auto;
}

.oneday li {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	align-items: center;
	background: #fff;
	padding: 30px 40px;
	margin-bottom: 60px;
	border-radius: 10px;
	box-shadow: 0 2px 10px rgba(0,0,0,0.1);
	position: relative;
}
.oneday li:after {
	content: "";
	display: block;
	width: 30px;
	height: 30px;
	border-right: 3px solid #005AB7;
	border-bottom: 3px solid #005AB7;
	transform: rotate(45deg);
	position: absolute;
	left: 0;
	right: 0;
	bottom: -35px;
	margin: 0 auto;
}
.oneday li:last-child {
	margin-bottom: 0;
}
.oneday li:last-child:after {
	content: none;
}
.oneday .work-img {
	width: 300px;
	flex-shrink: 0;
}
.oneday .time {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	width: 130px;
	padding: 0 20px;
}
.oneday .work {
	width: calc(100% - 430px);
	max-width: 450px;
	padding: 0 20px;
}
.oneday .work-img img {
	width:100%;
	height: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	object-position: center;
}
.oneday .time img {
	width: 80px;
	height: auto;
}

#aboutus_03 .flex-between {
	row-gap: 30px;
}

@media (max-width:991px){
	#aboutus_01 .per-50 {
		width: 100%;
	}
	.feat-num {
		top: -30px;
		left: -15px;
	}
	.rev .feat-num {
		top: -30px;
		right: -15px;
	}
}
@media (max-width:767px){
	.feat-num {
		width: 70px;
		height: 70px;
		top: -20px;
		left: -10px;
	}
	.rev .feat-num {
		top: -20px;
		right: auto;
		left: -10px;
	}
	.oneday li {
		padding: 20px 20px;
	}
	.oneday .work-img {
		width: 100%;
		max-width: 400px;
		margin-left: auto;
		margin-right: auto;
		order: 1;
		margin-bottom: 20px;
	}
	.oneday .time {
		width: 100%;
		max-width: 400px;
		margin-left: auto;
		margin-right: auto;
		order: 2;
		margin-bottom: 10px;
	}
	.oneday .work {
		width: 100%;
		max-width: 400px;
		margin-left: auto;
		margin-right: auto;
		padding: 0;
		order: 3;
	}
	.oneday .work h4 {
		text-align: center;
	}
	.oneday .time img {
		width: 60px;
	}
	
}


/************************************************************
コスモス
************************************************************/

.cosmos .page-header {
	background: url(../images/cosmos-header.webp) center;
	background-size: cover;
}

#cosmos_02 .instagram {
	color: #019FE6 !important;
	text-decoration: underline !important;
}
#cosmos_02 .flex-between {
	row-gap: 20px;
}




