/*
Theme Name: labor_consultant-child
Theme URI: 
Template: labor_consultant
Description: 
Author: 
Tags: 
Version: 0.6.0
*/



/* ------フォント定義------------ */
@import url('https://fonts.googleapis.com/css?family=Kosugi');

body {
	font-family: "Kosugi Maru", sans-serif;
	font-weight: 400;
	font-style: normal;
}
/* ------フォント定義 END------------ */


/* ------フォントサイズ定義------------ */
/*基準を1rem=10pxに設定*/
html {
	font-size: 62.5%;
}
/*最小値:1.1rem → 可変（0.9rem + 0.625vw（画面幅320px:2px, 800px:5px, 1200px:7.5px））→ 最大値:1.6rem*/
.font_size_S {
	font-size: clamp(1.1rem, calc(0.9rem + 0.625vw), 1.6rem);
}
/*最小値:1.2rem → 可変（1rem + 0.625vw（画面幅320px:2px, 800px:5px, 1200px:7.5px））→ 最大値:1.7rem*/
.font_size_M {
	font-size: clamp(1.2rem, calc(1rem + 0.625vw), 1.7rem);
}
/*最小値:1.6rem → 可変（2rem + 0.625vw（画面幅320px:2px, 800px:5px, 1200px:7.5px））→ 最大値:2.5rem*/
.font_size_MM {
	font-size: clamp(2rem, calc(1.8rem + 0.625vw), 2.5rem);
}
/*最小値:1.6rem → 可変（2.2rem + 0.625vw（画面幅320px:2px, 800px:5px, 1200px:7.5px））→ 最大値:2.9rem*/
.font_size_L {
	font-size: clamp(2.4rem, calc(2.2rem + 0.625vw), 2.9rem);
}
/* ------フォントサイズ定義 END------------ */


/*------文字大きさ、装飾------------*/
* h1 {
	font-size: clamp(2rem, 2vw + 1rem, 2.7rem);
	color:#C39A6B;
	font-weight:600;
}
h2 {
	font-size: clamp(2rem, 2vw + 1rem, 3rem);
	border-style: none;
	color:#1A365D;
	font-weight:600;
	padding-bottom:0;
	margin-bottom:1rem;
	margin-top:0;
	padding-top:0;
}

.page-id-24 article{
	margin-top:5rem;
}

* h2 span {
	display:inline-block;
	font-size:150%;
}
@media screen and (max-width: 570px) {
* h2 span {
	font-size:130%;
}
}
* h3,
* h4 {
	border-style: none;
	padding-left: 0;
}
* h3 {
	font-size: clamp(1.8rem, 2vw + 1rem, 1.9rem);
	border-bottom-color: #CCCCCC;
	line-height:1.4;
	border-bottom-style: none;
	margin-bottom:1.5em;
	font-weight:bold;
}
* h3:after {
	border-bottom-style: none;
}
* h4{
	line-height:1.3;
	font-weight:bold;
	background-color:rgba(255,255,255,0.0);
}
p,
table th,
td,
li{
	font-size: clamp(1.5rem, 0.991rem + 0.55vw, 1.6rem);
	line-height: 1.5;
}

dt,
dd{
	font-size: clamp(1.5rem, 0.991rem + 0.55vw, 1.6rem);
}
@media screen and (max-width: 570px) {
* p,
* table th,
* td,
* li {
	line-height: 1.4;
}
}
/*------文字大きさ、装飾 END------------*/


/*---------テキストを両端揃え調整------------*/
* p {
	text-align: justify;
	word-break: break-all;
	text-justify: inter-character;
}
/*---------テキストを両端揃え調整 END------------*/


.t_indent{
	text-indent: -1em;
	margin-left: 1em;
}

h1.page-header-title{
	color:#ffffff;
}

a.under_l{
	text-decoration: none;
	border-bottom: dotted 1px #1A365D;
}
a.under_l:hover{
	border-bottom: dotted 1px #1A365D;
}

/*----各ページ、ヘッダータイトル非表示--------*/
.page-id-24 #site-header-container,
.page-id-34 #site-header-container,
.page-id-3 #site-header-container{
	padding-bottom:0.5rem;
	padding-top:0.5rem;
}
#site-header-container:not(.page-id-24 #site-header-container,.page-id-34 #site-header-container,.page-id-3 #site-header-container){
	padding-bottom:0.5rem !important;
	margin-top:0.5rem !important;
	padding-top:0 !important;
}

@media screen and (max-width: 570px) {
.site-header-container{
	padding-top:0.3rem;
}
}

.site-body {
        padding: 0 !important;
}
.site-body > :last-child{
  margin-bottom: 0 !important;
}
.site-body > :last-child > :last-child{
  margin-bottom: 0 !important;
}

.page-id-24 .site-body-bottom {
	display:none !important;
}
.page-id-24 .site-body{
	margin-bottom:0;
	padding-bottom:0;
}
.site-body-bottom {
	margin-bottom:5rem;
}
@media only screen and (max-width:570px) {
_.site-body-bottom {
	margin-bottom:2em;
}
}
.site-body,
.page-id-3 .site-body,
.page-id-34 .site-body,
.page-id-147 .site-body,
.page-id-149 .site-body,
.page-id-151 .site-body,
.page-id-153 .site-body,
.page-id-155 .site-body{
	margin-top:0 !important;
	padding-top:0 !important;
}
.page-id-147 .page-header,
.page-id-149 .page-header,
.page-id-151 .page-header,
.page-id-153 .page-header,
.page-id-155 .page-header{
	display:none;
}
.page-id-147 .container,
.page-id-149 .container,
.page-id-151 .container,
.page-id-153 .container,
.page-id-155 .container{
	margin-top:1rem;
}
.page-id-147 .page-header-inner,
.page-id-149 .page-header-inner,
.page-id-151 .page-header-inner.
.page-id-153 .page-header-inner.
.page-id-155 .page-header-inner{
	display:none;
}

.top_img_agency {
	margin: 0 calc(50% - 50vw);
	padding: 0;
	width: 100vw;
	position:relative;
}
.top_img_agency img {
	filter: brightness(75%);
	vertical-align:top;
}
.top_img_agency:before {
	position: absolute;
	top: 70%;
	left:20%;
	-webkit-transform : translate(-50%,-50%);
	transform : translate(-50%,-50%);
	content: '助成金申請代行';
	color: #FFFFFF;
	border: 4px solid #FFFFFF;
	font-size: 4em;
	font-weight:bold;
	padding:0.3em 0.5em;
	z-index:9999;
}
@media only screen and (max-width:570px) {
.top_img_agency:before {
	border: 1px solid #FFFFFF;
	font-size: 1.8em;
	padding:0.2em 0.3em;
	top: 50%;
	left:50%;
	width:8em;
	margin:auto;
	text-align:center;
}
}

.top_img_payroll_calculation {
	margin: 0 calc(50% - 50vw);
	padding: 0;
	width: 100vw;
	position:relative;
}
.top_img_payroll_calculation img {
	filter: brightness(75%);
	vertical-align:top;
}
.top_img_payroll_calculation:before {
	position: absolute;
	top: 70%;
	left:20%;
	-webkit-transform : translate(-50%,-50%);
	transform : translate(-50%,-50%);
	content: '給与計算';
	color: #FFFFFF;
	border: 4px solid #FFFFFF;
	font-size: 4em;
	font-weight:bold;
	padding:0.3em 0.5em;
	z-index:9999;
}
@media only screen and (max-width:570px) {
.top_img_payroll_calculation:before {
	border: 1px solid #FFFFFF;
	font-size: 1.8em;
	padding:0.2em 0.3em;
	top: 50%;
	left:50%;
}
}

.top_img_labor_management {
	margin: 0 calc(50% - 50vw);
	padding: 0;
	width: 100vw;
	position:relative;
}
.top_img_labor_management img {
	filter: brightness(75%);
	vertical-align:top;
}
.top_img_labor_management:before {
	position: absolute;
	top: 70%;
	left:20%;
	-webkit-transform : translate(-50%,-50%);
	transform : translate(-50%,-50%);
	content: '労務管理';
	color: #FFFFFF;
	border: 4px solid #FFFFFF;
	font-size: 4em;
	font-weight:bold;
	padding:0.3em 0.5em;
	z-index:9999;
}
@media only screen and (max-width:570px) {
.top_img_labor_management:before {
	border: 1px solid #FFFFFF;
	font-size: 1.8em;
	padding:0.2em 0.3em;
	top: 50%;
	left:50%;
}
}

.top_img_regulations {
	margin: 0 calc(50% - 50vw);
	padding: 0;
	width: 100vw;
	position:relative;
}
.top_img_regulations img {
	filter: brightness(75%);
	vertical-align:top;
}
.top_img_regulations:before {
	position: absolute;
	top: 70%;
	left:20%;
	-webkit-transform : translate(-50%,-50%);
	transform : translate(-50%,-50%);
	content: '規定・協定';
	color: #FFFFFF;
	border: 4px solid #FFFFFF;
	font-size: 4em;
	font-weight:bold;
	padding:0.3em 0.5em;
	z-index:9999;
}
@media only screen and (max-width:570px) {
.top_img_regulations:before {
	border: 1px solid #FFFFFF;
	font-size: 1.8em;
	padding:0.2em 0.3em;
	top: 50%;
	left:50%;
}
}

.top_img_various_procedures {
	margin: 0 calc(50% - 50vw);
	padding: 0;
	width: 100vw;
	position:relative;
}
.top_img_various_procedures img {
	filter: brightness(75%);
	vertical-align:top;
}
.top_img_various_procedures:before {
	position: absolute;
	top: 70%;
	left:20%;
	-webkit-transform : translate(-50%,-50%);
	transform : translate(-50%,-50%);
	content: '各種手続き代行';
	color: #FFFFFF;
	border: 4px solid #FFFFFF;
	font-size: 4em;
	font-weight:bold;
	padding:0.3em 0.5em;
	z-index:9999;
}
@media only screen and (max-width:570px) {
.top_img_various_procedures:before {
	border: 1px solid #FFFFFF;
	font-size: 1.8em;
	padding:0.2em 0.3em;
	top: 50%;
	left:50%;
	width:8em;
	margin:auto;
	text-align:center;
}
}

/* -----新着 Newマーク----- */

div.whatsnew .newmark{
	background-color:#f4811f;
}


/*　－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－

◆wordpress style.cssに使用するスタイルシートの標準部分です。　ここから

－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－*/

/* ------HOME---------- */

ul.item3 {
	display: -webkit-box;
	display: -moz-box ;
	display: box ;
	display: -webkit-flex ;
	display: flex ;
	-ms-flex-wrap: wrap ;
	-moz-flex-wrap: wrap ;
	-webkit-flex-wrap: wrap ;
	flex-wrap: wrap ;
	-webkit-justify-content: space-between ;
	justify-content: space-between ;
	margin: 0 ;
	padding: 0 ;
}
ul.item3 li {
	flex-basis: 32% ;
	-webkit-flex-basis: 32% ;
	-ms-flex-basis: 32% ;
	list-style-type: none ;
	margin: 0;
	background-color:#D1E7FF;
	padding:1em;
	color:#1A365D;
}
ul.item3 li h3 {
	text-align:center;
	margin:auto;

}
ul.item3 li img {
	 display: block;
	margin: auto !important;
	text-align:center !important;
	transition-duration: 0.5s;
	max-width:260px;
	width:100%;
}
@media only screen and (max-width:570px) {
ul.item3 li {
	flex-basis: 100% ;
	-webkit-flex-basis: 100% ;
	-ms-flex-basis: 100% ;
	margin: 0 auto 2% auto;
}
ul.item3 li:last-child {
	margin: 0 auto 0 auto;
}
}

/* ---業務案内---- */

.wide_box_business {
	background-color: rgba(26, 54, 93, 1.0);
	margin: 0 calc(50% - 50vw);
	padding: 1em 1em 0 1em;
	width: 100vw;
}

/* --- コンテナ設定 --- */
ul.top_business {
    display: -webkit-box;
    display: -moz-box;
    display: box;
    display: -webkit-flex;
    display: flex;
    -ms-flex-wrap: wrap;
    -moz-flex-wrap: wrap;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-justify-content: space-between;
    justify-content: space-between;
    margin: 0 auto 0 auto;
    padding: 0;
    max-width: 1110px;
    width: 100%;
}

ul.top_business::after {
    content: "";
    display: block;
    width: 32%;
}

/* --- 各ボックス（li）設定 --- */
ul.top_business li {
    flex-basis: 32%;
    -webkit-flex-basis: 32%;
    -ms-flex-basis: 32%;
    list-style-type: none;
    margin: 0 0 1.6% 0;
    background-color: #ffffff;
    padding: 0;
    color: #1A365D;
    
    /* ▼▼▼ 追加・変更部分：ここから ▼▼▼ */
    /* ボックス内を縦方向のFlexレイアウトにして高さを使い切る設定 */
    display: flex;
    flex-direction: column;
    /* ▲▲▲ 追加・変更部分：ここまで ▲▲▲ */
}

ul.top_business li h3 {
    text-align: center;
    margin: auto;
    padding-top: 10px; /* 見出し上の余白調整（任意） */
}

ul.top_business li p.lr_margin {
    display: block;
    margin-left: 1em !important;
    margin-right: 1em !important;
    margin-bottom: 1em; /* 下に余白を持たせて窮屈にならないように */
}

ul.top_business li img {
    display: block;
    margin: auto !important;
    text-align: center !important;
    transition-duration: 0.5s;
    width: 100%;       /* 画像を幅いっぱいにフィットさせる場合 */
    height: auto;      /* アスペクト比維持 */
}

/* --- ボタンエリア設定 --- */
ul.top_business li p.btn {
    display: flex;
    justify-content: center; /* 中央に寄せる */
    
    /* ▼▼▼ 追加・変更部分：ここから ▼▼▼ */
    /* 上側の余白を自動で埋めることで、ボタンを最下部に押し下げる */
    margin-top: auto; 
    padding-bottom: 20px; /* ボックスの底辺との余白を確保 */
    /* ▲▲▲ 追加・変更部分：ここまで ▲▲▲ */
}

ul.top_business li p.btn a {
    display: flex;
    align-items: center !important;     /* 縦中央 */
    gap: .8em;                /* 文字と矢印の間隔 */
    text-decoration: none;
    font-size: clamp(1.4rem, 0.991rem + 0.55vw, 1.6rem);
    color: #fff;
    background: #1A365D;
    padding: 0.8em 1.6em 1em; /* 右は矢印分も含めて少し余裕 */
    line-height: 1;
    position: relative;
    width: 10em;
}

@media only screen and (max-width:570px) {
    ul.top_business li p.btn a {
        width: 70vw;
    }
}

/* 矢印（FontAwesome）を「右端固定」ではなく横並びに */
ul.top_business li p.btn a::after {
    content: "\f18e";
    font-family: FontAwesome; /* ここはあなたの環境のFAに合わせて */
    font-weight: normal;
    color: #fff;
    padding: 0;           /* 余計なpadding解除 */
    position: absolute;
    top: 50%;
    right: 0.2em;
    -ms-transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

ul.top_business li p.btn a:hover {
    background: #666;
}

@media only screen and (max-width:570px) {
    ul.top_business li {
        flex-basis: 100%;
        -webkit-flex-basis: 100%;
        -ms-flex-basis: 100%;
        margin: 0 auto 2% auto;
    }
}




p.btn_notice a{
  display: flex;
  align-items: center !important;     /* 縦中央 */
  gap: .8em;               /* 文字と矢印の間隔 */
  text-decoration: none;
	font-size: clamp(1.4rem, 0.991rem + 0.55vw, 1.6rem);
  color: #fff;
  background: #1A365D;
  padding: 0.8em 1.6em 1em; /* 右は矢印分も含めて少し余裕 */
  line-height: 1;
	position:relative;
	width:10em;
	margin-top:1em;
}
@media only screen and (max-width:570px) {
p.btn_notice a{
	width:70vw;
}
}
/* 矢印（FontAwesome）を「右端固定」ではなく横並びに */
p.btn_notice a::after{
  content: "\f18e";
  font-family: FontAwesome; /* ここはあなたの環境のFAに合わせて */
  font-weight: normal;
  color: #fff;
  padding: 0;         /* 余計なpadding解除 */
  position:absolute;
	top: 50%;
	right: 0.2em;
	-ms-transform: translate(-50%, -50%);
	-webkit-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
}

p.btn_notice a:hover{
  background: #666;
}



/* ---トップお問い合わせ---- */
.page-id-24 .footer_wide {
	margin: 0 calc(50% - 50vw);
	padding: 1em 0 0 0;
	width: 100vw;
}
@media only screen and (max-width:570px) {
.page-id-24 .footer_wide {
	margin: 0 calc(50% - 50vw);
	padding: 0 0 0 0;
	width: 100vw;
}
}
.footer_wide {
	margin: 0 calc(50% - 50vw);
	padding: 0;
	width: 100vw;
}

ul.top_contact {
	display: -webkit-box;
	display: -moz-box ;
	display: box ;
	display: -webkit-flex ;
	display: flex ;
	-ms-flex-wrap: wrap ;
	-moz-flex-wrap: wrap ;
	-webkit-flex-wrap: wrap ;
	flex-wrap: wrap ;
	-webkit-justify-content: space-between ;
	justify-content: space-between ;
	margin: 0 0 0 0 ;
	padding: 0 ;
	align-items: stretch;
}
ul.top_contact li.left,
ul.top_contact li.right{
  flex-basis: 50%;
  list-style: none;
  margin: auto;
  text-align: center !important;
	font-size: clamp(1.4rem, 0.991rem + 0.55vw, 1.9rem);
	font-weight:bold;
  padding: 2em 1em;

  display: flex;
  flex-direction: column !important;
  justify-content: center !important; /* 縦中央 */
  align-items: center !important;    /* 横中央 */
  min-height: 140px;       /* ←縦中央を効かせるため */
}
ul.top_contact li.right a{
	color:#ffffff;
	text-decoration:none;
  padding: 1em;
}
ul.top_contact li.left span,
ul.top_contact li.right span{
	font-size:120% !important;
	margin-bottom:0 !important;
	padding-bottom:0 !important;
	display:block;
}
ul.top_contact li.left span.last,
ul.top_contact li.right span.last{
	font-size:90% !important;
	margin-top:0 !important;
	padding-top:0 !important;
	display:block;
}

ul.top_contact li p{ margin: 0; } /* pのデフォルト余白でズレるの防止 */

ul.top_contact li.left{
	background-color:#D1E7FF;
	color:#1A365D;
}
ul.top_contact li.left i{
	color:#1A365D;
}
ul.top_contact li.right {
	background-color:#F4811F;
	color:#ffffff;
}
@media only screen and (max-width:570px) {
ul.top_contact {
	margin: 2rem 0 0 0 ;
}
ul.top_contact li.left,
ul.top_contact li.right {
	flex-basis: 100% ;
	-webkit-flex-basis: 100% ;
	-ms-flex-basis: 100% ;
	margin: 0 auto 0 auto;
}
ul.top_contact li.left span,
ul.top_contact li.right span{
	font-size:110% !important;
}
}

/* ---会社概要---- */
dl.top_about{
	display:-webkit-box; /*Android4.3*/
	display:-moz-box;    /*Firefox21*/
	display:-ms-flexbox; /*IE10*/
	display:-webkit-flex; /*PC-Safari,iOS8.4*/
	display:flex;
	-ms-flex-wrap:wrap ;
	-moz-flex-wrap:wrap ;
	-webkit-flex-wrap:wrap ;
	flex-wrap:wrap ;
	width: 100%;
}
dl.top_about dt{
	flex-basis: 4em ;
	-webkit-flex-basis: 4em ;
	-ms-flex-basis: 4em ;
	list-style-type: none ;
	text-align:left;
	color:#1A365D;
	font-weight:normal;
}
dl.top_about dd{
	flex-basis:calc(100% - 4em) ;
	-webkit-flex-basis: calc(100% - 4em) ;
	-ms-flex-basis: calc(100% - 4em) ;
	list-style-type: none ;
	color:#1A365D;
}
dl.top_about dt,
dl.top_about dd{
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #000066;
	margin-bottom:1.5rem;
}
@media screen and (max-width: 570px) {
_dl.top_about dd{
	margin: 0;
	flex-basis:calc(100% - 7em) ;
	-webkit-flex-basis: calc(100% - 7em) ;
	-ms-flex-basis: calc(100% - 7em) ;
	list-style-type: none ;
}
}


/*------------助成金申請代行-------------*/

/*----テーブルレイアウト------*/

table.tb_case01{
  border-collapse: collapse;
  width: 100%;
}
table.tb_case01 tr:nth-child(odd){
	background-color: #E3ECF7;
}
table.tb_case01 th,
table.tb_case01 td{
  padding: 10px;
  border: solid 1px #ccc;
  text-align:left;
  box-sizing:border-box;
	font-size: clamp(1.5rem, 0.991rem + 0.55vw, 1.6rem);
}
table.tb_case01 th {
  background: #1A365D;
  color: #fff;
  
}
table.tb_case01 th:nth-child(1) {
	width:7em;
}
table.tb_case01 th:nth-child(2) {
	width:16em;
}
table.tb_case01 th:nth-child(3) {
}

@media screen and (max-width: 640px) {
table.tb_case01 .head{
    display:none;
}
table.tb_case01 {
    width: 100%;
}
table.tb_case01 tr:nth-child(odd){
	background-color: #ffffff;
}
table.tb_case01 td:nth-child(even){
	font-weight:bold;
}
table.tb_case01 th:nth-child(1) {
	width:auto;
}
table.tb_case01 th:nth-child(2) {
	width:auto;
}
table.tb_case01 td {
    display: block;
    width: 100%;
    border-bottom:none;
}
table.tb_case01 td:first-child{
    background: #1A365D;
    color:#fff;
    font-weight:bold;
}
table.tb_case01 tr:last-child{
    border-bottom: solid 1px #ccc;
}
}

table.tb_case02{
  border-collapse: collapse;
  width: 100%;
}
table.tb_case02 h4{
	font-size: clamp(1.5rem, 0.991rem + 0.55vw, 1.6rem);
}
table.tb_case02 tr:nth-child(odd){
	background-color: #E3ECF7;
}
table.tb_case02 th:first-child{
	width:14em;
}
table.tb_case02 td:nth-child(odd){
	text-align:center;
}

table.tb_case02 th,
table.tb_case02 td{
  padding: 10px;
  border: solid 1px #ccc;
  text-align:left;
  box-sizing:border-box;
	font-size: clamp(1.5rem, 0.991rem + 0.55vw, 1.6rem);
}
table.tb_case02 th {
  background: #1A365D;
  color: #fff;
}
table.tb_case02 th{
}
table.tb_case02 td.va_top{
	vertical-align:top;
	padding-top:1em;
}

@media screen and (max-width: 640px) {
table.tb_case02 .head{
    display:none;
}
table.tb_case02 {
    width: 100%;
}
table.tb_case02 tr:nth-child(odd){
	background-color: #ffffff;
}
table.tb_case02 td:nth-child(odd){
	text-align:left;
}

table.tb_case02 td {
    display: block;
    width: 100%;
    border-bottom:none;
}
table.tb_case02 td:first-child{
    background: #1A365D;
    color:#fff;
    font-weight:bold;
}
table.tb_case02 tr:last-child{
    border-bottom: solid 1px #ccc;
}
}



/*----h3 カウンター------*/

body {
  counter-reset: number 0; /* number のカウンタを 0 にセット */
}

h3.count{
	margin-bottom:0.5rem;
	padding-bottom:0;
	color:#1A365D;
}
h3.count:before {
  counter-increment: number 1;      /* number カウンタを増加 */
  content: "STEP" counter(number) ;      /* 表示形式を指定 */
  font-weight:normal;
  margin-right:0.5rem;
  display:inline-block;
  background-color:#1A365D;
  color:#ffffff;
  padding:0.3rem 0.5rem;
  font-size:105%;
}

/*----受給事例------*/

ul.case_study {
	display: -webkit-box;
	display: -moz-box ;
	display: box ;
	display: -webkit-flex ;
	display: flex ;
	-ms-flex-wrap: wrap ;
	-moz-flex-wrap: wrap ;
	-webkit-flex-wrap: wrap ;
	flex-wrap: wrap ;
	-webkit-justify-content: space-between ;
	justify-content: space-between ;
	margin: 0 ;
	padding: 0 ;
}
ul.case_study li {
	flex-basis: 31% ;
	-webkit-flex-basis: 31% ;
	-ms-flex-basis: 31% ;
	list-style-type: none ;
	margin: 0 !important;
	padding:0 !important;
	color:#1A365D;
}
ul.case_study li a {
	margin: 0 !important;
	padding: 0 !important;
	color: #1A365D;
	text-decoration: none;
}
/* a の中の h3 の上余白を確実に消す */
ul.case_study li a h3{
  margin-top: 0 !important;
}
ul.case_study li a{
  display: block;
}
ul.case_study li h3 {
	margin-bottom:0 !important;
	padding-bottom:0 !important;
	font-size: clamp(2rem, 2vw + 1rem, 2.2rem);
}
body ul.case_study > li > h3 > span{
	font-size: clamp(2rem, 2.5vw + 1rem, 3.7rem);
	margin-top:0 !important;;
	padding-top:0 !important;
}
ul.case_study li h4 {
	font-size: clamp(2.2rem, 2vw + 1rem, 2.4rem);
	background-color:#ffffff;
}

ul.case_study li .button-container {
   display: flex;/* 横並び */
}

ul.case_study li .button-container button {
   margin: auto 30px auto auto;/* ボタンを右寄せ */
   border: none;
   background-color:#ffffff;
	font-size: clamp(1.5rem, 2vw + 1rem, 1.7rem);
	color:#1A365D;
}
ul.case_study li img {
	margin: auto auto 0 auto ;
	padding: 0 ;
	transition-duration: 0.5s;
}
@media only screen and (max-width:570px) {
ul.case_study li {
	flex-basis: 100% ;
	-webkit-flex-basis: 100% ;
	-ms-flex-basis: 100% ;
	margin: 0 auto 2% auto;
}
}
/* ふわっと移動（通常状態） */
ul.case_study li .button-container{
  transform: translateX(0);
  transition: transform 0.3s ease;
}

/* aにhoverしたら button-container だけ右へ10px */
ul.case_study li a:hover .button-container{
  transform: translateX(10px);
}
@media (hover: hover) and (pointer: fine){
  ul.case_study li .button-container{
    transform: translateX(0);
    transition: transform 0.3s ease;
  }
  ul.case_study li a:hover .button-container{
    transform: translateX(10px);
  }
}


dl.case_study{
	display:-webkit-box; /*Android4.3*/
	display:-moz-box;    /*Firefox21*/
	display:-ms-flexbox; /*IE10*/
	display:-webkit-flex; /*PC-Safari,iOS8.4*/
	display:flex;
	-ms-flex-wrap:wrap ;
	-moz-flex-wrap:wrap ;
	-webkit-flex-wrap:wrap ;
	flex-wrap:wrap ;
	width: 100%;
}
dl.case_study dt{
	flex-basis: 120px ;
	-webkit-flex-basis: 120px ;
	-ms-flex-basis: 120px ;
	list-style-type: none ;
	text-align:left;
	color:#000000;
}
dl.case_study dt img{
	vertical-align:top;
	margin:0;
	padding:0;
	max-width:120px;
	height:120px;
	object-fit: cover;
}
dl.case_study dd{
	margin: 0;
	padding-left:10px;
	flex-basis:calc(100% - 130px) ;
	-webkit-flex-basis: calc(100% - 130px) ;
	-ms-flex-basis: calc(100% - 130px) ;
	list-style-type: none ;
}


/*----給与計算-----*/
.merit{
	background-color:#D1E7FF;
	padding:1em;
}
.merit h4{
	font-size: clamp(1.5rem, 0.991rem + 0.55vw, 1.6rem);
	margin-bottom:1rem;
	padding-bottom:0;
}
.merit ul,.merit ul li:last-child{
	margin-bottom:0;
	padding-bottom:0;
}









/*　－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－

◆wordpress style.cssに使用するスタイルシートの標準部分です。　ここまで

－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－*/


.site-footer{
	border-style:none !important;
}


.footer_co{
  background: #1A365D;
  color:#ffffff;
  padding:1em;
}
.footer_co p{
  text-align:center;
}
.footer_co span{
	display:inline-block;
	font-size:120%;
}

.footer-nav .container{
	padding-top:0;
	margin-top:0;
}

.container{
	padding-top:0.5em;
}

/* ------区切りマージン---------- */
.page-id-3 article,
.page-id-34 article{
	margin-top:4rem;
}
.page-id-56 article{
	margin-top:3rem;
}

.page-id-34 section:last-child,
.page-id-34 p:nth-last-child(1){
	margin-bottom: 0 !important;
	padding:0;
}
section {
	margin-bottom: 5rem;
	padding:0;
}
article,iframe {
	margin-bottom: 0;
	padding:0;
}
nav {
	margin-bottom: 0;
}
@media only screen and (max-width:570px) {
section {
	margin-bottom: 4rem;
}
}
/* ------区切りマージン END---------- */


/*--------全画面テスト----------*/
.all_display{
	margin: 0 calc(50% - 50vw);
	padding: 0 calc(50vw - 50% + 1.5em);
	width: 100vw;
	background-color:#ff0000;
	height:300px;
}
/*--------全画面テスト end----------*/



/* ------全体の要素に適用------------- */
* {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	-o-box-sizing: border-box;
	-ms-box-sizing: border-box;
	box-sizing: border-box;
}


/* ------全画面---------- */
.wide_box_01 {
	background-color: rgba(195, 154, 107, 1.0);
	margin: 0 calc(50% - 50vw);
	padding: 1em;
	width: 100vw;
}
.wide_box_02 {
	background-color: rgba(255, 255, 255, 1.0);
	margin: 0 calc(50% - 50vw);
	padding: 1em;
	width: 100vw;
}
/* ------全画面 END---------- */









/* ------フェードイン------------ */
/* CSS（2秒フェードイン） */
.fadein{
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 2s ease, transform 2s ease;
  will-change: opacity, transform;
}
.fadein.is-show{
  opacity: 1;
  transform: translateY(0);
}
/* ------フェードイン END------------ */





/* ------リンク------------ */
* a {
	transition: 0.3s ease-in-out;
}


/* ------電話番号　スマホのみリンク------------ */
@media (min-width: 770px) {
a[href*="tel:"] {
	pointer-events: none;
	cursor: default;
	text-decoration: none;
}
}
/* ------電話番号　スマホのみリンク END------------ */



/*画像透明度（マウスオーバー時）
---------------------------------*/
a img {
	border: none;
	verticle-align: top;
	-webkit-transition: 0.3s ease-in-out;
	-moz-transition: 0.3s ease-in-out;
	-o-transition: 0.3s ease-in-out;
	transition: 0.3s ease-in-out;
}

a:hover img {
	opacity: 0.7;
	/* 透過レベル */
	filter: alpha(opacity=80);
}
/*画像透明度（マウスオーバー時）end
---------------------------------*/


/* ------アンカー上部余白------------ */
:target::before {
	content: "";
	display: block;
	height: 90px;
	margin: -90px 0 0;
}
/* ------アンカー上部余白 END------------ */



/* ------PC・スマホ表示、非表示------------ */
.pc_item {
	display: block;
}
.sp_item {
	display: none;
}
@media only screen and (max-width:570px) {
.pc_item {
	display: none;
}

.sp_item {
	display: block;
}
}
/* ------PC・スマホ表示、非表示 END------------ */


/*投稿詳細、最終更新日・投稿者非表示*/
.entry-meta-item-updated,
.entry-meta-item-author {
	display:none;
}



/* ------横スクロール---------- */
.scroll {
	overflow: auto;
	white-space: nowrap;
	max-width: 1300px;
	width: 100%;
	margin: auto;
	-webkit-overflow-scrolling: touch;
}
.scroll table {
	white-space: nowrap;
}
.scroll::-webkit-scrollbar {
	height: 5px;
}
.scroll::-webkit-scrollbar-track {
	background: #F1F1F1;
}
.scroll::-webkit-scrollbar-thumb {
	background: #BCBCBC;
}
@media only screen and (max-width:770px) {
.scroll {
	margin: auto auto 2em auto;
}
}
/* ------横スクロール END---------- */



/* スマホ　回り込み解除 */
@media only screen and (max-width:570px) {
img.alignright,
img.alignleft {
	float: none;
	clear: both;
	display: block;
	text-align: center;
	margin: auto;
}
}
/* スマホ　回り込み解除 end */

/* 回り込みクリア*/
.clear {
	clear: both;
	margin: 0 !important;
	padding: 0 !important;
}
/* 回り込みクリア end*/






/*---------You Tube 埋め込み-----------------*/
.video {
	position: relative;
	width: 100%;
	padding-top: 56.25%;
}
.video iframe {
	position: absolute;
	top: 0;
	right: 0;
	width: 100%;
	height: 100%;
}
/*---------You Tube 埋め込み END-----------------*/


/* -------reCAPTCHA 保護マークを調整------------ */
.grecaptcha-badge {
	position: fixed;
	margin-bottom: 80px;
}
.grecaptcha_box {
	padding: 1em;
	border: 1px solid #CCCCCC;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
}
/* -------reCAPTCHA 保護マークを調整 END------------ */


/*----AddToAny Share Buttonsプラグイン　はみ出し防止------*/
.addtoany_share_save_container {
	text-align: center;
	margin: 30px soto 2em auto;
	overflow: hidden;
	max-width: 99%;
}


/*-----NEWSプラグイン------*/
div.whatsnew {
	border-bottom:dotted 2px #1A365D;
}
div.whatsnew dl dt,div.whatsnew dl dd{
	color:#1A365D !important;
}
div.whatsnew hr {
	display:none;
}
_div.whatsnew dl{
	border-top-style: none;
	border-bottom-width: 2px;
	border-bottom-style: solid;
	border-bottom-color: #C39A6B;
}
_div.whatsnew dl a{
	color:#000000;
}
_div.whatsnew hr:first-child {
	display:none;
}
_div.whatsnew dl a:hover{
	background-color:rgba(255,255,255,0.0);
}
/*-----NEWSプラグイン END------*/


/*------↑　ボタン調整---------*/
@media only screen and (max-width:834px) {
_.page_top_btn{
	bottom:3em;
}
}


/* -------BOXレイアウト------------ */
ul.col2 {
	display: -webkit-box;
	display: -moz-box ;
	display: box ;
	display: -webkit-flex ;
	display: flex ;
	-ms-flex-wrap: wrap ;
	-moz-flex-wrap: wrap ;
	-webkit-flex-wrap: wrap ;
	flex-wrap: wrap ;
	-webkit-justify-content: space-between ;
	justify-content: space-between ;
	margin: 0 ;
	padding: 0 ;
}
ul.col2 li {
	flex-basis: 48% ;
	-webkit-flex-basis: 48% ;
	-ms-flex-basis: 48% ;
	list-style-type: none ;
	margin: 0 auto 0 auto;
}
ul.col2 li img {
	margin: auto auto 0 auto ;
	padding: 0 ;
	transition-duration: 0.5s;
}
@media only screen and (max-width:570px) {
ul.col2 li {
	flex-basis: 100% ;
	-webkit-flex-basis: 100% ;
	-ms-flex-basis: 100% ;
	margin: 0 auto 2% auto;
}
}
/* -------BOXレイアウト END------------ */


/* -------リストレイアウト------------ */
dl.w_5 {
  box-sizing: border-box;
}
dl.w_5 dl {
	background: #eee;
	margin-bottom: 1em !important;
}
dl.w_5 dd {
  padding: 0px 0.5em 5px 0.5em;
  margin: 0px 0px 3px 0px;
}
dl.w_5 dt {
	width: 5em !important;
	float: left;
	font-weight: normal !important;
	color: #000000 !important;
	text-align: center !important;
}
dl.w_5 dd {
  margin-left: 5em !important;
}
dl.w_5 dd:after {
  content: '';
  display: block;
  clear: both;
}

@media only screen and (max-width:570px) {
dl.w_5 dt,
dl.w_5 dd{
	float: none !important;
	clear:both !important;
	width:98% !important;
	padding:0 !important;
	text-align: left !important;
}
dl.w_5 dt {
	font-weight:bold !important;
	color:#1b9d6f !important;
	margin:auto auto auto 0 !important;
}
dl.w_5 dd {
	margin:auto auto 1.3em 0 !important;
}
}

dl.about{
	display:-webkit-box; /*Android4.3*/
	display:-moz-box;    /*Firefox21*/
	display:-ms-flexbox; /*IE10*/
	display:-webkit-flex; /*PC-Safari,iOS8.4*/
	display:flex;
	-ms-flex-wrap:wrap ;
	-moz-flex-wrap:wrap ;
	-webkit-flex-wrap:wrap ;
	flex-wrap:wrap ;
	width: 100%;
}
dl.about dt{
	flex-basis: 6em ;
	-webkit-flex-basis: 6em ;
	-ms-flex-basis: 6em ;
	list-style-type: none ;
	text-align:left;
	color:#000000;
}
dl.about dd{
	margin: 0;
	flex-basis:calc(100% - 6em) ;
	-webkit-flex-basis: calc(100% - 6em) ;
	-ms-flex-basis: calc(100% - 6em) ;
	list-style-type: none ;
}
@media screen and (max-width: 570px) {
dl.about dd{
	margin: 0;
	flex-basis:calc(100% - 7em) ;
	-webkit-flex-basis: calc(100% - 7em) ;
	-ms-flex-basis: calc(100% - 7em) ;
	list-style-type: none ;
}
}
/* -------リストレイアウト　END------------ */



/* -------Facebook------------ */
/* スマホ用 */
@media screen and (max-width: 767px) {
.fb_container {
		width: 100%;
		max-width: 100%;
		margin: auto;
}
}
/* PC用 */
@media screen and (min-width: 768px) {
.fb_container {
	width: 100%;
	margin: auto;
}
}
/* -------Facebook END------------ */





/*========================
　smartphone　bottom menu
　========================*/
.mini_text{
	font-size:1rem;
}

ul.bottom_menu {
	position:fixed;
	display: -webkit-box;
	display: -moz-box ;
	display: box ;
	display: -webkit-flex ;
	display: flex ;
	-ms-flex-wrap: wrap ;
	-moz-flex-wrap: wrap ;
	-webkit-flex-wrap: wrap ;
	flex-wrap: wrap ;
	-webkit-justify-content: space-around ;
	justify-content: space-around ;
	-ms-align-items: center;
	-moz-align-items: center;
	align-items: center;
	bottom: 0;
	left:0;
	width: 100%;
	margin: 0;
	padding: 0;
	background-color: #f5f5f5;
	z-index: 30;
	border-top-width: 1px;
	border-top-style: solid;
	border-top-color: #CCCCCC;
}

ul.bottom_menu li{
    background-color:#f5f5f5;
    list-style-type:none;
    text-align:center;
	padding:0.8em 0;
	margin:0;
}
ul.bottom_menu li:nth-child(1),
ul.bottom_menu li:nth-child(3)  {
    width:33.3%;
}
ul.bottom_menu li:nth-child(2) {
	width: calc(100% - 66.6%);
	border-right-width: 1px;
	border-left-width: 1px;
	border-right-style: solid;
	border-left-style: solid;
	border-right-color: #999999;
	border-left-color: #999999;
}
.bottom_menu li a {
    display: block;
    color:#808080;
    text-decoration:none;
	line-height:1;
}

.fas.fa-home{
    color:#808080;
}
.bottom_menu li a:hover {
    color:#a9a9a9;
}

/* === 展開メニュー === */

ul.menu_second_level {
    visibility: hidden;
    opacity: 0;
    z-index:1;}

ul.menu_second_level li a{
    border-top:1px dashed #a9a9a9;
	font-size:15px;
}

.menu_second_level li a:hover {
    height:100%;
    background: lightgrey;
}
/*------スマホ閲覧時　フッターボタン固定 END---------*/


/*------サイトマップ(WP Sitemap Pageプラグイン)---------*/
ul.sitemap {
	display: -webkit-box;
	display: -moz-box;
	display: box;
	display: -webkit-flex;
	display: flex;
	-ms-flex-wrap: wrap;
	-moz-flex-wrap: wrap;
	-webkit-flex-wrap: wrap;
	flex-wrap: wrap;
	-webkit-justify-content: space-between;
	justify-content: space-between;
	margin: 0;
	padding: 0;
}
ul.sitemap li {
	flex-basis: 48%;
	-webkit-flex-basis: 48%;
	-ms-flex-basis: 48%;
	list-style-type: none;
	margin: 0 auto 0 auto;
	list-style-type: none;
}
@media only screen and (max-width:570px) {
ul.sitemap li {
	flex-basis: 100%;
	-webkit-flex-basis: 100%;
	-ms-flex-basis: 100%;
	margin: 0 auto 2% auto;
}
}

h2.wsp-posts-title,
h2.wsp-pages-title {
	display: none;
}
ul.wsp-pages-list li a,
ul.wsp-posts-list li a {
	color:#000000;
}

ul.wsp-pages-list li:before,
ul.wsp-posts-list li:before {
	font-family: "Font Awesome 5 Free";
	content: '\f15c';
	font-weight: 900;
	margin-right: 0.5em;
	color:#C39A6B;
}

ul.wsp-posts-list {
	padding-top: 0;
	margin-top: 0;
}

ul.children,
ul.wsp-posts-list{
	margin:0 ;
	padding-top:0;
	padding-left:0;
	margin-left:1em;
}
ul.children li:before{
	font-family: "Font Awesome 5 Free";
	content: '\f138';
	font-weight: 900;
	margin-right: 0.5em;
	color:#DDC5AA;
}
ul.children li{
	margin-bottom:0;
	padding-bottom:0;
}

ul.wsp-posts-list li.wsp-post:before{
	font-family: "Font Awesome 5 Free";
	content: '\f138';
	font-weight: 900;
	margin-right: 0.5em;
	color:#DDC5AA;
}
/*------サイトマップ(WP Sitemap Pageプラグイン)　END---------*/



/*------グローバルメニュー--------*/
h1.site-header-logo a span{
	color:#1A365D;
	font-size: clamp(1.9rem, 2vw + 1rem, 1.9rem) !important;
}
ul#menu-main_menu li a{
	font-size: 1.6rem;
}
ul.sub-menu li a{
	font-size: 1.3rem !important;
}

ul#menu-mobile_menu li a{
	font-size: 1.4rem;
}
.global-nav-list>li a{
	color:#1A365D;
}
.global-nav-list>li#menu-item-37 a{
	background-color:#F4811F;
	color:#ffffff !important;
}

.global-nav-list>li#menu-item-37:before {
    border-style: none !important;
}

ul#menu-footer_menu{
	margin:auto;
	text-align:center;
}
ul#menu-footer_menu li a{
	font-size:80%;
}

.footer-nav {
    padding:0 0 1em 0 !important;
}



/* ------必須ボタン--------- */
.required_btn{
	background: linear-gradient(to bottom, #ff0000 0%,#ff9191 100%);
	padding: 0.3em 0.3em 0.2em 0.3em;
	font-size: 0.7em;
	color: #ffffff;
	text-align: center;
	margin-right: 0.3em;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
	display: inline-block;
	vertical-align: middle;
	line-height: 1;
}

/* ------任意ボタン--------- */
.any_btn{
	background: linear-gradient(to bottom, #ffd65e 0%,#febf04 100%);
	padding: 0.3em 0.3em 0.2em 0.3em;
	font-size: 0.7em;
	color: #000000;
	text-align: center;
	margin-right: 0.3em;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
	display: inline-block;
	vertical-align: middle;
	line-height:1;
}



/*アイコン表示
---------------------------------*/
.href_icon{
	font-size: 1.1em;
	border-bottom-width: 1px;
	border-bottom-style: dotted;
	border-bottom-color: #CC6600;
	margin-bottom: 8px !important;
	padding-bottom: 0px !important;
}
/*--PDFアイコン表示-*/

a.pdf[href$=".pdf"] {
  display: flex;          /* 横並び */
  align-items: center;    /* 縦位置を中央揃え */
  color: #0000ff;
}

a.pdf[href$=".pdf"]::after {
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  margin-left: 6px; /* ファイル名とアイコンの間隔 */
  background: url(../images/pdf_icon_32.png) no-repeat center center / contain;
  flex-shrink: 0; /* アイコンが縮まないようにする */
}
/* PCなど既存の見た目はそのまま。以下はスマホ(例: 〜767px)だけ適用 */
@media (max-width: 767px) {
  /* 背景アイコン方式を無効化し、行内に疑似要素でアイコンを差し込む */
  a.pdf[href$=".pdf"] {
    background: none !important;
    padding-right: 0 !important;
    margin-bottom: 0;
    display: inline;           /* テキストと同じ行内フローにする */
    color: #0000ff;
    line-height: 1.6;
  }

  a.pdf[href$=".pdf"]::after {
    /* 改行時もテキスト直後に続くよう行内に挿入。アイコン前はノーブレーク空白 */
    content: "\00A0";
    display: inline-block;     /* テキストの“後ろ”に並ぶ */
    width: 16px;
    height: 16px;
    background: url(../images/pdf_icon_32.png) no-repeat center center / contain;
    vertical-align: -0.1em;    /* ベースライン微調整（必要に応じて調整） */
  }

  /* リスト頭ぞろえを確実に（念のため） */
  li { list-style-position: outside; }
}
a[href$=".xls"], a[href$=".xlsx"] {
	display: inline-block;
	padding-right:23px !important;
	background: url(http://nippon-saisei.jp/wp-content/uploads/xls_icon_32.png) no-repeat right center;
	margin-bottom: -8px;
	padding-top: 8px;
}

a[href$=".doc"], a[href$=".docx"] {
	display: inline-block;
	padding-right:23px !important;
	background: url(http://nippon-saisei.jp/wp-content/uploads/doc_icon_32.png) no-repeat right center;
	margin-bottom: -8px;
	padding-top: 8px;
}
/*アイコン表示 end
---------------------------------*/


/*---------------contactform7----------------------- */
.bottom_m{
	margin-bottom:4rem;
}
@media screen and (max-width: 570px) {
.bottom_m{
	margin-bottom:2rem;
}
}
.form{
	font-size: clamp(1.3rem, 0.991rem + 0.55vw, 1.4rem);
}

/*必須、任意アイコン*/
.icon_must{
	background-color: #f4811f;
	color:#ffffff;
	padding:0.1em 0.2em;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
}
.icon_any{
	background-color: #1A365D;
	color:#ffffff;
	padding:0.1em 0.2em;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
}
/*必須、任意アイコン END*/

.from_name {
	display: -webkit-box;
	display: -moz-box ;
	display: box ;
	display: -webkit-flex ;
	display: flex ;
	-ms-flex-wrap: wrap ;
	-moz-flex-wrap: wrap ;
	-webkit-flex-wrap: wrap ;
	flex-wrap: wrap ;
}

.item_box {
	flex-basis: 48% ;
	-webkit-flex-basis: 48% ;
	-ms-flex-basis: 48% ;
  box-sizing: border-box;
}

/* 最初の.item-box要素を左寄せに配置 */
.item_box:first-child {
  margin-left: 0;
}

/* スマホの場合 */
@media screen and (max-width: 480px) {
.from_name {
	margin:auto;
	row-gap:1em;
}
.item_box {
	flex-basis: 100% ;
	-webkit-flex-basis: 100% ;
	-ms-flex-basis: 100% ;
}
}


.wpcf7 img {
	display: inline;
}

/*テキスト*/
.wpcf7 input[type="text"]{
	height: 3em; /* テキストエリアの高さ */
    resize: vertical; /* 垂直方向のみのリサイズ */
}

.wpcf7 input[type="text"].w_40 {
	border: 1px solid #999999;
	width: 40%;
	margin-top:0.8em;
}
.wpcf7 input[type="text"].w_60 {
	border: 1px solid #999999;
	width: 60%;
}
@media only screen and (max-width:570px) {
.wpcf7 input[type="text"].w_40 {
	width: 100%;
}
.wpcf7 input[type="text"].w_60 {
	width: 97%;
	margin-right:1em;
}
}

.wpcf7 input[type="number"] {
	width: 50px;
}


/*TEL*/
.wpcf7 input[type="tel"] {
	border: 1px solid #999999;
	margin-top:0.8em;
	width: 30%;
	height: 3em; /* テキストエリアの高さ */
    resize: vertical; /* 垂直方向のみのリサイズ */
}

form select,
.wpcf7 input[name="your-subject"] {
	border: 1px solid #999999;
	width: 50%;
}
.wpcf7 input[type="text"],
.wpcf7 textarea {
	border: 1px solid #999999;
}

form select {
	border: 1px solid #999999;
	width: 40%;
	margin-top: 0.3em;
}

/*メール*/
.wpcf7 input[name="your-email"].w_60,
.wpcf7 input[name="your-email_confirm"].w_60 {
	border: 1px solid #999999;
	width: 60%;
	height: 3em; /* テキストエリアの高さ */
    resize: vertical; /* 垂直方向のみのリサイズ */
	margin:0.3em 0 0 0;
}
@media only screen and (max-width:570px) {
.wpcf7 input[name="your-email"].w_60,
.wpcf7 input[name="your-email_confirm"].w_60 {
	width:97%;
	padding-right:1em;
}
	form select,
	.wpcf7 input[type="tel"],
	.wpcf7 input[name="your-subject"] {
		max-width: 100%;
		width: 100%;
}
}


.wpcf7 textarea[name="your-message2"],
.wpcf7 textarea[name="your-message"] {
	margin-top: 0.8em;
}


@media only screen and (max-width:570px) {
.wpcf7 input[type="tel"] {
	max-width: 100%;
	width: 100%;
}


.wpcf7 textarea[name="your-message2"],
.wpcf7 textarea[name="your-message"] {
	max-width: 100%;
	width: 100%;
	border: 1px solid #999999;
}
}

.wpcf7 input[name="zip"] {
	width: 15%;
}

@media only screen and (max-width:570px) {
.wpcf7 input[type="tel"] {
	width: 60%;
}
.wpcf7 input[name="zip"] {
	width: 40%;
}
}

#content form input[type=text].form_width10 {
	max-width: 10%;
}

#content form input[type=text].form_width15 {
	max-width: 15%;
}

#content form input[type=text].form_width20 {
	max-width: 20%;
}

#content form input[type=text].form_width30 {
	max-width: 30%;
}

#content form input[type=text].form_width40 {
	max-width: 40%;
}

#content form input[type=text].form_width50 {
	max-width: 50%;
}

#content form input[type=text].form_width60 {
	max-width: 60%;
}

#content form input[type=text].form_width70 {
	max-width: 70%;
}

#content form input[type=text].form_width80 {
	max-width: 80%;
}

@media only screen and (max-width:570px) {
#content form input[type=text].form_width30,
#content form input[type=text].form_width40,
#content form input[type=text].form_width50,
#content form input[type=text].form_width60,
#content form input[type=text].form_width70,
#content form input[type=text].form_width80 {
	max-width: 100%;
	width: 100%;
}
}

@media only screen and (max-width:570px) {
#content form input[type=text].form_width10_20 {
	max-width: 20%;
}
#content form input[type=text].form_width95 {
	width: 95%;
}
}

.wpcf7-spinner{
	max-height: 1px !important;
	height:1px;
}

/*送信ボタン
---------------------------------*/

.sideTower form#searchform input#searchsubmit {
	width: 25%;
}

form#searchform input#s {
	width: 55%;
}

@media only screen and (max-width:570px) {
.sideTower form#searchform input#searchsubmit {
	width: 28%;
}
form#searchform input#s {
	width: 56%;
}
}


.btn-primary:disabled {
	border-style: none;
}

/*送信ボタン*/
input[type="submit"] {
	background-color: #1A365D !important;
	padding: 0.3em;
	margin: auto;
	text-align: center;
	max-width: 12em;
	width: 100%;
	color: #FFFFFF;
	font-weight: bold;
	font-size: 1.2em;
	display: block;
}
input[type="submit"]:hover {
	background-color: #CCCCCC !important;
}
/*送信ボタン end
---------------------------------*/


/*コンタクトフォーム　改行禁止
---------------------------------*/
#content form span.wpcf7-form-control-wrap {
	display: inline;
}
/*コンタクトフォーム　改行禁止 end
---------------------------------*/

legend {
	display: block;
	width: auto;
	padding: 0 0em 0 0;
	margin-left:-1.1em;
}

fieldset {
	margin-bottom: 20px;
	padding: 1em 1em 2em 1em;
	border: 1px solid #F4811F;
	overflow: hidden;
}
@media only screen and (max-width:570px) {
legend {
	margin-left:-1.55em;
	font-size: clamp(1.3rem, 0.991rem + 0.55vw, 1.4rem);
}
legend.sp_m {
	margin-left:-0.05em;
}
fieldset {
	padding: 0.5em 0.5em 1.5em 1.5em;
}
fieldset.sp_m {
	padding: 0.5em 0 1.8em 0;
	line-height:1.8;
	font-size: clamp(1.3rem, 0.991rem + 0.55vw, 1.4rem);
}
fieldset.sp_m label {
	line-height:2.4;
}
}


label {
	overflow: hidden;
	zoom: 1;
	float: left;
	margin: 0 1em 0 0;
}
@media only screen and (max-width:570px) {
label {
	margin: 0 0 0 0;
}
}



/*注意アイコン*/
div.wpcf7-validation-errors,
span.wpcf7-not-valid-tip:before {
	font-family: FontAwesome;
	content: '\f071';
	color: #FFCC00;
	margin-right: 0.3em;
}
div.wpcf7-validation-errors {
	color: #ffffff;
}
div.wpcf7-validation-errors:before {
	font-family: FontAwesome;
	content: '\f044';
	color: #ffffff;
	margin-right: 0.3em;
}
.fas {
	color: #F2C100;
	font-size: 120%;
}


/*-----承認確認-----*/
.wpcf7-list-item {
	margin: 0 0 0 1em;
	float: left;
}


.t_block {
	overflow: hidden;
}

.wpcf7 input[type="checkbox"] {
	margin: 0 0.3em 0 0;
	padding: 0;
}

.kiyaku_box {
	height: 15em;
	overflow-x: hidden;
	padding: 1em;
	border: 1px solid #FFB7B7;
	margin-bottom: 30px;
}

.warning {
	border-bottom-width: 2px;
	border-bottom-style: dotted;
	border-bottom-color: #FF0000;
	padding-bottom: 0.1em;
}
/*---------------contactform7 END----------------------- */


/*---------- MARGIN ----------*/
.mt0 {margin-top: 0px;}
.mt5 {margin-top: 5px;}
.mt8 {margin-top: 8px;}
.mt10 {margin-top: 10px;}
.mt15 {margin-top: 15px;}
.mt20 {margin-top: 20px;}
.mt25 {margin-top: 25px;}
.mt30 {margin-top: 30px;}
.mt40 {margin-top: 40px;}
.mt50 {margin-top: 50px;}
.mb00 {margin-bottom: 0px;}
.mb01 {margin-bottom: 1px;}
.mb02 {margin-bottom: 2px;}
.mb03 {margin-bottom: 3px;}
.mb04 {margin-bottom: 4px;}
.mb05 {margin-bottom: 5px;}
.mb10 {margin-bottom: 10px;}
.mb15 {margin-bottom: 15px;}
.mb20 {margin-bottom: 20px;}
.mb25 {margin-bottom: 25px;}
.mb30 {margin-bottom: 30px;}
.mb40 {margin-bottom: 40px;}
.mb45 {margin-bottom: 45px;}
.mb50 {margin-bottom: 50px;}
.mb100 {margin-bottom: 100px;}
.mr10 {margin-right: 10px;}
.mr20 {margin-right: 20px;}
.mr30 {margin-right: 30px;}
.mr40 {margin-right: 40px;}
.mr50 {margin-right: 50px;}
.ml10 {margin-left: 10px;}
.ml20 {margin-left: 20px;}
.ml30 {margin-left: 30px;}
.ml40 {margin-left: 40px;}
.ml50 {margin-left: 50px;}
.ml-1 {margin-left: -1px;}
.ml-2 {margin-left: -2px;}
.ml-3 {margin-left: -3px;}
.ml-4 {margin-left: -4px;}
.ml-5 {margin-left: -5px;}
.mr-1 {margin-right: -1px;}
.mr-2 {margin-right: -2px;}
.mr-3 {margin-right: -3px;}
.mr-4 {margin-right: -4px;}
.mr-5 {margin-right: -5px;}

/*---------- PADDING ----------*/
.pt10 {padding-top: 10px;}
.pt20 {padding-top: 20px;}
.pt30 {padding-top: 30px;}
.pt35 {padding-top: 35px;}
.pt40 {padding-top: 40px;}
.pt50 {padding-top: 50px;}
.pb00 {padding-bottom: 0;}
.pb10 {padding-bottom: 10px;}
.pb20 {padding-bottom: 20px;}
.pb30 {padding-bottom: 30px;}
.pb40 {padding-bottom: 40px;}
.pb50 {padding-bottom: 50px;}
.pr10 {padding-right: 10px;}
.pr20 {padding-right: 20px;}
.pr30 {padding-right: 30px;}
.pr40 {padding-right: 40px;}
.pr50 {padding-right: 50px;}
.pl10 {padding-left: 10px;}
.pl20 {padding-left: 20px;}
.pl30 {padding-left: 30px;}
.pl40 {padding-left: 40px;}
.pl50 {padding-left: 50px;}