@charset "utf-8";

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

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

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

.page-header {
	width: 100%;
	aspect-ratio: 19 / 4;
	position: relative;
}
.page-ttl {
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
	background: rgb(255,255,255,0.7);
	padding: 10px 60px;
}
.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:1600px){
	.page-header {
		aspect-ratio: 8 / 3;
	}

}

@media(max-width:767px){
	.page-header h1 {
		font-size: 32px;
	}
	.page-ttl {
		top: auto;
		bottom: 0;
		padding: 10px 15px;
		transform: translateY(0);
	}
	.page-ttl .jp_ttl {
		margin-bottom: 0;
	}
	.page-header {
		aspect-ratio: 16 / 9;
	}
}
@media(max-width:600px){
	.page-ttl {
		padding: 5px 15px;
	}
	.page-ttl .jp_ttl {
		font-size: 6vw;
	}
	.page-ttl .en_ttl {
		font-size: 13px;
	}
}

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


/************************************************************
問い合わせフォーム
************************************************************/
.contact .page-header {
	background: url(../images/contact_header.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;
}

/**ラジオボタン横並び（id:purpose）**/
#purpose {
	display: flex;
	gap: 10px;
}
@media (max-width:767px) {
	#purpose {
	display: block;
}
}


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%; }
	}



/************************************************************
私たちの強み
************************************************************/
.strengths .page-header {
	background-image: url(../images/strength_header);
	background-position: 50% 45%;
	background-size: cover;
}

.photo_area{
	position: relative;
}
.photo_area .photo {
	width: 100%;
	height: auto;
	max-width: initial;
	border-radius: 12px;
	box-shadow: 0 8px 0 #2B588C;
}

.number {
	position: absolute;
	top: 0;
	left: 30px;
	transform: translateY(-50%);
}
.rev .number {
	left: auto;
	right: 30px;
}

.strength04 {
	flex: 1;
	padding-left: 30px;
}

.group-list_01 div {
	width: 70%;
}
.strength_img_04 {
	width: 27%;
	height: auto;
}

.link-txt {
	transition: .3s;
}
.link-txt:active {
	opacity: 0.7;
}
.link-txt span {
	color: #64B4C3 !important;
	text-decoration: underline;
}

.txt-area .roller {
	width: 70px;
	height: auto;
}

.txt-area .nvy-btn {
	width: 300px;
	height: 50px;
}

.strength04_num{
	flex-shrink: 0;
}
.strength04 {
  flex: 1;
}

@media(min-width:768px){
	.link-txt:hover {
		opacity: 0.7;
}
}

@media(max-width:767px){
	#strengths_01 .flex-between {
		row-gap: 30px;
	}
	#strengths_01 .flex-between.mb-120 {
		margin-bottom: 15vw;
	}
	.number {
		left: 15px;
		width: 20vw;
		height: auto;
	}
	.rev .number {
		left: 15px;
		right: auto;
	}
	#strength_trust .paint-ttl {
		text-align: left;
		margin-bottom: 10px;
	}
	.trength04_num {
		width: 20vw;
		height: auto;
	}
	#strength_trust .group-list {
    row-gap: 36px;
  }
	.link-txt {
		margin-left: -7px;
		font-size: 13px;
	}
	.link-txt img {
		width: 18px;
		height: auto;
	}
	#strength_trust .group-list li .txt-24  {
		padding-left: 24px;
	}
	#strength_trust .group-list li:before {
        width: 28px;
				left: -8px;
				top: 3px;
    }
	.group-list_01 div {
    width: 100%;
	}
	.strength_img_04 {
    width: 80%;
    max-width: 250px;
		display: block;
		margin-left: auto;
		margin-right: auto;
	}
	.strength04 {
		padding-left: 2vw;
	}
	#strength_trust .paint-ttl {
  	line-height: 1.4;
	}
	#strengths_02 .roller, #strengths_03 .roller, #strengths_04 .roller {
		margin-right: 10px;
	}

	.strength04 .paint-ttl:before {
    width: 180px;
    left: 0;
    transform: translateX(0);
    bottom: auto;
		top: 50%;
		transform: translateY(-30%);
  }
}
@media screen and (min-width: 501px) {
	#strength_trust .paint-ttl br {
		display: none;
	}
}
@media screen and (max-width: 500px) {
	#strengths_01 .paint-ttl {
    font-size:24px;
	}
	#strength_trust .paint-ttl {
    margin-left: 10px;
		line-height: 1.3;
	}
	#strength_trust .flex {
		flex-wrap: wrap;
	}
	.strength04 {
    display: contents; /* h2 と p が直接 .flex 配下の要素扱いになる */
  }

  /* タイトル（h2）は画像の右隣 or 直下に残す */
  .strength04 h2 {
    flex: 1 0 auto;
  }

  /* ttl-txtだけを最下段・全幅に落とす */
  .ttl-txt {
    flex: 1 0 100%; /* 横幅100%で次の段に配置 */
    order: 99;      /* 最後に並べる */
    margin-top: 16px; /* 上の要素との余白 */
  }
}

/************************************************************
塗装メニュー
************************************************************/
.paintmenu .page-header {
	background-image: url(../images/paintmenu_header);
	background-position: center;
	background-size: cover;
}

/****paintmenu_02****/
.ttl-wrapper {
	flex: 1;
}

.accoedion-ttl {
	padding: 5px 30px;
	cursor:pointer;
}

.open-btn {
	width: 26px;
	height: 26px;
	border-radius: 50%;
	background: #fff;
	position: relative;
}
.open-btn span {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 14px;
	height: 3px;
	background: #2B588C;
	transform: translate(-50%, -50%);
	border-radius: 1px;
	transition: .3s;
}
.open-btn span:nth-child(2) {
	transform: translate(-50%, -50%) rotate(90deg);
}

.paintmenu .wht-box {
    border-radius: 12px;
    border: 3px solid #2B588C;
    box-shadow: 0 4px 0 #2B588C;
    padding: 40px 40px;
}

.accoedion-cont {
  padding: 0 30px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.accoedion-cont.open {
  max-height: 2000px; /* 中身が多い場合は大きめにしておく */
  padding: 40px 30px 10px;
}

/* ＋→× */
.open-btn.active span:nth-child(2) {
  transform: translate(-50%, -50%) rotate(0deg);
}


/* アコーディオンで点滅するキャレットを非表示にする **********/
.accordion .accoedion-ttl {
  cursor: pointer;              /* 明示的にクリック可能に */
  user-select: none;            /* テキスト選択禁止 */
  -webkit-user-select: none;
  -ms-user-select: none;
  -webkit-tap-highlight-color: transparent;
  caret-color: transparent !important; /* ← キャレット非表示の決め手 */
  outline: none;                /* フォーカス枠も不要なら */
}
/* 子要素すべてに適用（特に h3 や span に点滅が出る場合） */
.accordion .accoedion-ttl * {
  caret-color: transparent !important; /* 子要素にも徹底 */
  outline: none;
}
/********************************************************/


.table-header {
	padding: 10px 10px;
	border-bottom: 2px solid #1871AB;
}
.table-row {
	padding: 10px 10px;
	border-bottom: 1px dashed #C4C2C2;
}
#paintmenu_02 .column_01 {
	width: 30%;
	padding-right: 20px;
}
#paintmenu_02 .column_02 {
	width: 25%;
	padding-right: 20px;
}
#paintmenu_02 .column_03 {
	width: 45%;
}

.accordion-list-txt {
	flex: 1;
	margin-right: 30px;
}

.accordion-list-cont {
	padding-left: 1em;
}

.accordion-list-img {
	border-radius: 8px;
}

.accordion-list li {
	border-bottom: 2px solid #1871AB;
	padding: 20px 0;
}
.accordion-list li:last-child {
	border-bottom: none;
}

.accordion_02 .wht-box, .accordion_05 .wht-box {
	padding-top: 0;
	padding-bottom: 0;
}

.accordion-flow {
	display: flex;
	flex-direction: column;
	row-gap: 60px;
}
.accordion-flow li {
	position: relative;
}
.accordion-flow li:after {
	content: "";
	display: block;
	width: 52px;
	background: url('../images/sankaku.svg') no-repeat;
	background-size: contain;
	aspect-ratio: 2 / 1;
	position: absolute;
	left: 0;
	right: 0;
	margin: 0 auto;
	bottom: -45px;
}
.accordion-flow li:last-child:after {
	content: none;
}

.accordion_03 .wht-box, .accordion_06 .wht-box {
    padding-top: 20px;
    padding-bottom: 20px;
}

/****paintmenu_03****/
#paintmenu_03 .column_01 {
	width: 28%;
	padding-right: 20px;
}
#paintmenu_03 .column_02 {
	width: 17%;
	padding-right: 20px;
}
#paintmenu_03 .column_03 {
	width: 55%;
}

/****paintmenu_04****/
#paintmenu_04 .column_01 {
	width: 20%;
	padding-right: 20px;
}
#paintmenu_04 .column_02 {
	width: 20%;
	padding-right: 20px;
}
#paintmenu_04 .column_03 {
	width: 20%;
	padding-right: 20px;
}
#paintmenu_04 .column_04 {
	width: 40%;
}

@media(max-width:767px){
	.ttl-roller {
		width: 90px;
		margin-right: 10px;
	}
	.paintmenu h2 {
		font-size: 24px;
		line-height: 1.4;
	}
	.accoedion-ttl {
    padding: 5px 10px;
	}
	.open-btn {
    width: 22px;
    height: 22px;
	}
	.accoedion-cont.open {
		padding: 20px 0 10px;
		max-height: 3500px;
	} 
	.paintmenu .wht-box {
		padding: 20px 10px;
	}
	.table-header,.table-row {
		padding: 10px 0;
		font-size: 13px;
	}
	#paintmenu_02 .column_01 {
		width: 33%;
		padding-right: 15px;
	}
	#paintmenu_02 .column_02 {
		width: 25%;
		padding-right: 15px;
	}
	#paintmenu_02 .column_03 {
		width: 42%;
	}
	#paintmenu_03 .column_01 {
		width: 35%;
		padding-right: 15px;
	}
	#paintmenu_03 .column_02 {
		width: 25%;
		padding-right: 15px;
	}	
	#paintmenu_03 .column_03 {
		width: 40%;
	}
	#paintmenu_04 .column_01 {
		width: 22%;
		padding-right: 10px;
	}
	#paintmenu_04 .column_02 {
		width: 20%;
		padding-right: 10px;
	}
	#paintmenu_04 .column_03 {
		width: 23%;
		padding-right: 10px;
	}
	#paintmenu_04 .column_04 {
		width: 35%;
	}

	.accordion-list-txt {
		width: 100%;
		flex: 0 0 auto;
		margin-bottom: 15px;
	}
	.accordion-list-img {
		width: 100%;
		height: auto;
	}
	

}

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

.aboutus .page-header {
	background: url(../images/aboutus_header.jpg) center;
	background-size: cover;
}

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

