/*================================共通cssですがサイトによって調整してください================================

*****注意事項*****
※レスポンシブ対応してありますが、各ページによって適宜修正・変更は行ってください
※不具合があった場合、伊藤までお知らせください
※修正・追加・入力するとスタイルが崩れる場合があるので、クラス名を追加するなどの対応をして修正を行ってください
*****************

【共通設定】
【ページ記事】page_block.php
【スクロール画像】slide_block.php→スライドpc・sp切り替え
【お問合わせ】contact3_block.php　※お問合わせのボタンの設定は各自で設定してください。『 /*ボタン設定 』で検索してください
【個人情報保護方針】pp_block.php
【サイトポリシー】site_policy_block.php
【サイトマップ】site_map_block.php
【会社概要】profile_block.php　※テーブル
【採用情報】recruit_block.php　※テーブル
【フッター】footer_block.php
【フッターメニュー】foot_menu_block.php
【コピーライト】copyright_block.php
==========================================================================================================*/

/*共通設定
---------------------------------------------------------------------------*/
.flex{display: flex;}
.grid{display: grid;}

/*pc・sp切り替え
----------------------*/
.smart-only {
    display: block;
}
.pc-only {
    display: none;
}
@media screen and (min-width:768px){
    .pc-only {
        display: block!important;
    }
    .smart-only {
        display: none!important;
    }
}

/*改行設定
----------------------*/
/* スマホ用<br> */
@media screen and (max-width:767px) {
	.br-sp { display: block; }
	.br-tb { display: none; }
	.br-pc { display: none; }
}
/* tablet 縦用<br> */
@media only screen and (min-width:768px) and (max-width:1023px) {
	.br-sp { display: none; }
	.br-tb { display: block; }
	.br-pc { display: none; }
}
/* pc用<br> */
@media screen and (min-width:1024px) {
	.br-sp { display: none; }
	.br-tb { display: none; }
	.br-pc { display: block; }
}

/*ページ記事 page_block.php
---------------------------------------------------------------------------*/
.page_block .ttl.flex{
    justify-content: center;
}
.img_box,
.img_box2{
	width: 100%;
}
.img_all_box{
    display: block;
    width: 100%;
    margin: 0 auto;
    text-align: center;
}
.text_contencts {
    width: 100%;
	margin-top: 1rem;
}
.page_text,
.page_text2 {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
	align-items: flex-start;
	column-gap: 30px;
}
.page_all_text{
	display:block;
	width:100%;
	text-align: left;
}
@media screen and (min-width:1024px){
    .page_all_text{
        text-align: center;
    }
}
@media screen and (min-width:1280px){
	.text_contencts {
		width: calc((100% - 30px* 2) / 2);
		margin-top: 0;
	}
	.page_text {
		flex-direction: row;
	}
	.page_text2 {
		flex-direction: row-reverse;
	}
	.img_box,
	.img_box2 {
		width: calc((100% - 30px * 2) /2);
	}

}

/*スライドpc・sp切り替え slide_block.php
---------------------------------------------------------------------------*/
.smart-slide_only {
    display: block;
}
.pc-slide_only {
    display: none;
}
@media screen and (min-width:1024px){
    .pc-slide_only {
        display: block!important;
    }
    .smart-slide_only {
        display: none!important;
    }
}

/*お問合わせ contact3_block.php
---------------------------------------------------------------------------*/
a .tel {
    pointer-events: none;
    cursor: default;
    text-decoration: none;
}
.contact_form .inquiry_form {
    width: 90%;
    margin: 0 auto;
}
.contact_telArea {
    margin-top: 1em;
}
.contact_form .contact_tel_fax {
    margin-bottom: 1em;
}
.contact_form .contact_tel_fax p.txt {
	margin-bottom: 1em;
}
.contact_form .contact_tel_fax .tel {
	font-size: 130%;
    font-weight: bold;
}
.contact_form .contact_item {
    width: 100%;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    border-bottom-width: 1px;
    border-bottom-style: dashed;
    border-bottom-color: #CCCCCC;
	padding: 20px 0;
}
.contact_form .contact_article {
    font-weight: bold;
    text-align: left;
    padding: 5px;
}
.contact_form span.memo {
    font-weight: normal;
    width: 100%;
}
.contact_form .contact_input_area {
    width: 100%;
    text-align: left;
}
.contact_form .contact_input_area .wrap {
    width: 33%;
}
.contact_form .contact_input_area span{
    font-size: 90%;
}
.contact_form .contact_article_comments {
	text-align: left;
	font-size: 0.8em;
	padding: 1em 5em;
	clear: both;
}
.contact_form .text_area {
    padding: 2em 0 1em;
}
.contact_form select {
    margin-right: 1rem;
    line-height: 30px;
    outline: none;
    background: #fff;
    padding: 0.5rem;
    border: solid 1px #ccc;
	border-radius: 3px;
}
::placeholder {
	color: #acacac;
}
label {
	white-space: nowrap;
	width: 50%;
}

/*記入枠の色*/
.contact_form .contact_input_area input ,
.contact_form .contact_input_area textarea {
	font-size: 1em;
	color: #666;
	background-color:#fff;
	border: solid 1px #ccc;
	border-radius: 3px;
    box-sizing: border-box;
	font-family: auto;
}
.contact_form .contact_input_area input.input_space_03 {
    width: 50%;
    height: 2em;
    padding: 3px 10px;
}
/*必須表示*/
.contact_form .need {
	padding: 0.5em;
    font-size: 0.7em;
    color: #FFFFFF;
    background-color: #ce052c;
    margin: 0 1em 0 0;
}
.contact_form .contact_input_area .input_space_01,
.contact_form .contact_input_area .input_space_03 {
    width: 100%;
    height: 2em;
    padding: 3px 10px;
}
.contact_form .contact_input_area .input_space_02 {
	width:100%;
    padding: 3px 10px;
}

/*住所自動入力箇所*/
.contact_input_area.adress {
	flex-direction: column;
}
.contact_input_area.adress span.wrap {
	padding-left: 1em;
	width: 100%
}

.contact_input_area.adress .flex {
    flex-wrap: wrap;
}
.contact_input_area.adress span.wd {
    width: 100%;
}

@media screen and (min-width:768px){
    .contact_form .contact_item {
        justify-content: space-around;
    }
    .contact_form .inquiry_form {
        width: 100%;
    }
    .contact_form .contact_article {
        width: 40%;
    }
    .contact_form .contact_input_area {
		width: 55%;
        display: flex;
        flex-wrap: wrap;
	}
	.contact_form .contact_input_area .input_space_03 {
		width: 70%;
	}
}
@media screen and (min-width:1024px){
    .contact_input_area.adress .flex {
        flex-wrap: nowrap;
    }
    .contact_input_area.adress span.wd {
        width: 20%;
    }
}

/*ボタン設定=======各自で設定してください*/
/*入力確認ページのボタン*/
.contact_form .btnArea_submit2 {
    clear: both;
    padding-top: 2em;
    flex-wrap: nowrap;
    width: 100%;
    align-items: center;
    justify-content: center;
    gap: 20px;
}


/*内容確認*/
dl.contact_confirm {
	display: flex;
	flex-flow: column;
	width: 100%;
    text-align: left;
    padding: 2em 0 0;
}
.contact_confirm dt {
	flex-basis: 35%;
    padding: 10px 20px 0;
	border-bottom: none;
    font-weight: bold;
}
.contact_confirm dd {
	flex-basis: 50%;
    padding: 10px 20px;
	border-bottom: 1px solid #ccc;
}

/*common-contact非表示*/
.other.contact .common-contact.inner {
    display: none;
}

@media screen and (min-width:768px){
    dl.contact_confirm{
		flex-flow: row wrap;
	}
    .contact_confirm dt {
        border-bottom: 1px solid #ccc;
        padding: 20px;
    }
    .contact_confirm dd {
        padding: 20px;
    }
}

/*個人情報保護方針 pp_block.php
---------------------------------------------------------------------------*/
dl.pp_list{
	display: flex;
	flex-flow: column;
	width: 100%;
}
.pp_list dt{
	font-weight: bold;
	font-size: 1.1em;
}
.pp_list dt,
.pp_list dd {
	flex-basis: 100%;
}
.pp_list dd {
	padding: 0 0 20px;
	border-bottom: 1px solid #ccc;
}
.pp_list dt {
	 padding: 20px 0 0;
}
.pp h3{
	padding: 0 0 2% 0;
}

/*サイトポリシー site_policy_block.php
---------------------------------------------------------------------------*/
dl.site_porlicy_list {
	display: flex;
	flex-flow: column;
	width: 100%;
}
.site_porlicy_list dt{
	font-weight: bold;
	font-size: 1.1em;
}
.site_porlicy_list dt,
.site_porlicy_list dd {
	flex-basis: 100%;
}
.site_porlicy_list dd {
	padding: 0 0 20px;
	border-bottom: 1px solid #ccc;
}
.site_porlicy_list dt {
	 padding: 20px 0 0;
}

/*サイトマップ site_map_block.php
---------------------------------------------------------------------------*/
dl.sitemap_list {
	display: flex;
	flex-flow: column;
	width: 100%;
}
.sitemap_list dt {
    padding: 10px 20px 0;
	border-bottom: none;
    font-weight: bold;
}
.sitemap_list dt .sm_list {
    position: relative;
    padding-left: 15px;
    text-decoration: none;
}
.sitemap_list dt .sm_list:before {
    content: "";
    position: absolute;
    top: 0.25em;
    left: 0;
    width: 0;
    height: 0;
    border-width: 6px;
    border-style: solid;
    border-color: transparent transparent transparent var(--primary-color);
}
.sitemap_list dt .sm_clist {
    position: relative;
    padding-left: 15px;
}
.sitemap_list dt .sm_clist:before {
    content: "";
    position: absolute;
    top: 0.45em;
    left: 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
    width: 5px;
    height: 5px;
    border-top: 2px solid var(--sub-color);
    border-right: 2px solid var(--sub-color);
}
.sitemap_list dd {
    padding: 10px 20px;
	border-bottom: 1px solid #ccc;
}

@media screen and (min-width:768px){
    dl.sitemap_list{
		flex-flow: row wrap;
	}
    .sitemap_list dt {
		width: 35%;
        border-bottom: 1px solid #ccc;
        padding: 20px;
    }
    .sitemap_list dd {
		width: 65%;
        padding: 20px;
    }
}

/*テーブル
---------------------------------------------------------------------------*/
/*共通設定
------------------------------*/
table.common{
    margin: 0 auto;
    width: 100%;
}
table.common th,table.common td {
	display: block;
    padding: 10px;
}
@media screen and (min-width:768px){
	table.common th,table.common td{
		display: table-cell;
		padding: 15px;
	}
    table.common td {
		text-align: left;
	}
}

/*会社概要 profile_block.php
------------------------------*/
table.table_profile tr:nth-of-type(odd){
	background: #ecf7ff;
    border-spacing: 0px;
}
table.table_profile th,
table.table_profile td {
	width: auto;
    text-align: center;
}
@media screen and (min-width:768px){
	table.table_profile th{
		width: 30%;
	}
    table.table_profile td{
        text-align: left;
    }
}

/*採用情報 recruit_block.php
会社役員 officer_block.php
------------------------------*/
table.table_officer{
    width: 100%;
    border-spacing: 0px;
}
table.table_recruit,
table.table_officer{
    border: solid 1px #ddd;
}
table.table_recruit tr,
table.table_officer tr {
	border-bottom: 1px solid #ccc;
}
table.table_recruit th,
table.table_officer th {
    background: #ecf7ff
}
table.table_officer td{
    text-align: center;
}
@media screen and (min-width:768px){
    table.table_recruit th,
    table.table_officer th {
		text-align: center;
	}
    table.table_officer{
        width: 60%;
    }
    table.table_officer td{
        text-align: left;
    }
}


/*フッター footer_block.php
---------------------------------------------------------------------------*/
footer .footerAddress {
	background: var(--sub-color);
	padding: 3% 0 1%;
    width: 100%;
    border-top: 3px solid var(--primary-color);
	position: relative;
}
footer ul li.addressArea_add{
    width: 80%;
}
footer ul li.addressArea_add p.flex {
    flex-direction: column;
}
footer ul li.navArea{
	position: relative;
    z-index: 5;
}
footer figure {
    margin: 0;
    width: 75%;
}
footer img.footerLogo {
	width: 100%;
}
footer p {
    font-size: clamp(15px, 2.9vw, 18px);
    color: #0a3872;
}
footer .btn.btnWT {
    border: 1.5px solid #0a3872;
    border-radius: 0;
    height: 50px;
    width: auto;
}
footer img.p-mark {
    width: 65px;
    height: 65px;
    object-fit: cover;
}
footer i.fas.fa-map-marker-alt {
    margin-left: 0.5em;
}
footer ul.addressArea.flex {
    justify-content: space-around;
}
@media screen and (min-width:768px){
    footer ul li.addressArea_add p.flex {
        flex-direction: row;
    }
    footer figure {
        width: calc(25vw + 10px);
    }
    footer img.p-mark {
        width: 90px;
        height: 90px;
        object-fit: cover;
    }
}
@media screen and (min-width:1280px){
    footer ul li.addressArea_add,
    footer ul li.navArea{
        width: 50%;
    }
    footer figure {
        width: 50%;
    }
}

/*フッターメニュー foot_menu_block.php
---------------------------------------------------------------------------*/
footer li.navArea.flex {
    justify-content: space-between;
    align-items: flex-end;
}
footer nav.footernav {
	display: none;
}
footer i.fas.fa-angle-right {
    margin-right: 0.5em;
}
footer ul.cm li{
    text-indent: -1em;
    padding-inline-start: 40px;
}
@media screen and (min-width:1280px){
	footer nav.footernav {
        flex-direction: column;
        flex-wrap: wrap;
        background: #ffffffa6;
        padding: 3%;
        border-radius: 30px;
        display: flex;
        font-size: 80%;
        height: 170px;
        width: 80%;
	}
	footer nav.footernav .inner.flex {
		justify-content: center;
		padding: 1% 0;
		border-top: solid 1px #fff;
	}
}

/*コピーライト copyright_block.php
---------------------------------------------------------------------------*/
footer .footerCopyright {
    padding: 1% 0;
    background: #9e9e9e;
    font-size: 70%;
    color: #fff;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    line-height: normal;
}
footer a.copyright {
    color: #fff;
}
footer .footerCopyright img {
    display: none;
}
