body{color:#444 !important;}

.mt3{margin-top:3% !important;}
.button-23{margin-top:3% !important;}
.top_hr{  clear: both;
  margin: 20px 0;
  padding: 0;
  height: 0;
  border: 0;
    border-top-width: 0px;
    border-top-style: none;
    border-top-color: currentcolor;
  border-top: 1px solid rgba(0,0,0,.1);}
.line_bana a{color: #fff!important;}

/* トップページだけ中央寄せレイアウトを解除 */
body#top .l-main,
body#top .l-main-wide1000 {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
}

/* トップページのボーダー・白背景を完全除去 */
body#top .page.u-border {
  border: none !important;
  background: transparent !important;
  padding: 0 !important;
}




/* トップページの固定ページ部分だけフル幅にする */
.top-fullwidth {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
padding-top: 3%;
  padding-bottom: 3%;

}

/* トップページ：ヘッダー直下の余白を完全に消す */
.top-fullwidth .l-main {
  padding-top: 0 !important;
}

/* ページ上部に入る余計なmargin対策 */
.top-fullwidth .page {
  margin-top: 0 !important;
}

/* フル幅セクション */
.top-fullwidth .top-full-section {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-top: 0 !important;
}

/* トップページ：全上余白を完全除去 */
body#top .l-wrapper,
body#top .l-main,
body#top .page {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

.clearfix:after {
  content: "";
  display: block;
  clear: both;
} 
.clearfix:before {
  content: "";
  display: block;
  clear: both;
} 
.clearfix {
  display: block;
}

body {
  overflow-x: hidden;
}

.heading-primary {

    margin-bottom: 20px;
    margin-top: 20px;

  }


.color_beige{
		background-color:#edece8;
}

.top_box{
width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding-top: 3%;
  padding-bottom: 3%;
	}
.top_title {
  position: relative;
  text-align: center;
  font-size: 25px;
  padding-bottom: 1.5rem;
  font-weight: 700;
  margin-bottom: 5%;
	color: #12184c;
	margin-top: 3% !important;
}
.top_title:before {
  position: absolute;
  bottom: -10px;
  left: calc(50% - 30px);
  width: 60px;
  height: 5px;
  content: '';
  border-radius: 3px;
  background: #12184c;
}
.top_text_box{
}
.top_text {
  font-size: 16px;
  color: #454545;
  margin-bottom: 2em;
  line-height: 1.8;
  text-align: center;
  letter-spacing: 0.03em;
}

.button-23 a {
  font-family: 'Noto Serif JP', serif;
  font-size: 14px;
  letter-spacing: 0.1em;
  color: #333;
  font-weight: 400;
  border: 1px solid #333;
  display: block;
  position: relative;
  box-sizing: border-box;
  max-width: 300px;
  text-align: center; 
  padding: 16px 64px;
  margin: 24px;
  margin-inline: auto;
  text-decoration: none;
  cursor: pointer;
  z-index:999;
  transition: all 0.3s;
}

.button-23 a::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -30px;
  width: 60px;
  height: 1px;
  background: #333;
  transition: all 0.3s ease;
}

.button-23 a:hover::after {
  animation: OutIn-Line 700ms;
  transition: all 0.3s;
}

@keyframes OutIn-Line {
    0% {
        -webkit-transform: scale3d(1,1,1);
        transform: scale3d(1,1,1);
        -webkit-transform-origin: 100% 0;
        transform-origin: 100% 0
    }

    50% {
        -webkit-transform: scale3d(0,1,1);
        transform: scale3d(0,1,1);
        -webkit-transform-origin: 100% 0;
        transform-origin: 100% 0
    }

    50.1% {
        -webkit-transform: scale3d(0,1,1);
        transform: scale3d(0,1,1);
        -webkit-transform-origin: 0 0;
        transform-origin: 0 0
    }

    100% {
        -webkit-transform: scale3d(1,1,1);
        transform: scale3d(1,1,1);
        -webkit-transform-origin: 0 0;
        transform-origin: 0 0
    }
}
/* 横並びの親 */
.contents {
  display: flex;
  flex-wrap: wrap;
  gap: 2%;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;          /* ← 中央寄せ */
  justify-content: center; /* ← space-betweenは使わない */
  padding: 0;
}

/* 各ボックス */
.contents_box {
  width: 32%;
  margin-top: 0 !important;
}


.contents_text_title {
  font-size: 18px;
  font-weight: bold;
	text-align: center;
}
.contents_text{
font-size: 16px;
  line-height: 1.8;
  letter-spacing: 0.03em;
}
.contents_img{width:100%;}
.contents_img img{width:100%;}

/* トップページ アクセスマップ全幅 */
.access-map {
  width: 100vw;
  margin-left: calc(50% - 50vw);
	padding-bottom: 3%;
}

.access-map iframe {
  display: block;
}
/* 流れ */
.flow {
  border: 1px solid #ddd;
	background-color: #fff;
}
.flow_title {
  height: auto;
  border-bottom: 1px solid #ddd;
  line-height: 60px;
  background: #f5f8fa;
  padding-left: 2%;
  font-size: 18px;
}
.arrow-box {
  text-align: center;
}
.arrow-bottom {
  display: inline-block;
  width: 18px;
  height: 18px;
  margin: 0 10px;
    margin-top: 0px;
  border-bottom: 4px solid #000;
  border-right: 4px solid #000;
  transform: rotate(45deg);
}
.red{color: #12184c;}
.flow_text {
  padding-left: 2%;
  padding-top: 2%;
  margin-top: 0 !important;
  padding-bottom: 2%;
  padding-right: 2%;
}
.formbox {
  width: 100%;
  padding-left: 2%;
  padding-right: 2%;
  padding-bottom: 2%;
  margin-top: 0 !important;
}
.tel_bt {
  width: 100%;
  float: left;
  font-size: 40px;
  margin-right: 0;
  line-height: 130%;
  letter-spacing: 0.05em;
  text-align: center;
  margin-bottom: 5%;
  margin-top: 3% !important;
}
.form_bt {
  width: 100%;
  float: left;
  text-align: center;
  background-color: #12184c;
  padding-top: 2%;
  padding-bottom: 2%;
  font-size: 16px;
  color: #fff;
  margin-top: 0 !important;
  font-weight: bold;
}
.form_bt a {
	color: #fff!important;
}
.tel_form_box{
	width: 47%;
	float: left;
	margin-right: 3%;
}
.line_bt {
  width: 50%;
  float: left;
	margin-top: 0 !important;
}
.line_title {
  font-weight: bold;
  margin-bottom: 2%;
}
.line_text {
  margin-top: 0 !important;
}
.line_bana {
  text-align: center;
  background-color: #00b900;
  color: #fff;
  padding-top: 2%;
  padding-bottom: 2%;
  font-weight: bold;
}
.rogo_box {
  text-align: center;
	margin-top: 5% !important;
}
.rogo_box img {
width: 25%;
}
.office_text{}
/* テーブル全体の箱 */
.miotsukushi-final-table {
    max-width: 1000px;
    margin: 40px auto !important;
    border: 1px solid #ddd !important;
    background: #fff !important;
    padding: 0 !important;
}

/* 行の設定 */
.mi-row {
    display: flex !important;
    border-bottom: 1px solid #ddd !important;
    margin: 0 !important;
    padding: 0 !important;
}

.mi-row:last-child {
    border-bottom: none !important;
}

/* ★左側ラベル：ここが今回の修正の肝です */
.mi-label {
    width: 180px !important;
    background-color: #f4f7f9 !important;
    color: #1a4a7c !important;
    font-weight: bold !important;
    font-size: 16px !important;
    /* 余白をリセット */
    margin: 0 !important; 
    padding: 25px 20px !important;
    /* 上下の位置を強制固定 */
    display: flex !important;
    align-items: center !important; 
    flex-shrink: 0 !important;
    border-right: 1px solid #ddd !important;
    box-sizing: border-box !important;
}

/* ★右側コンテンツ */
.mi-content {
    flex: 1 !important;
    padding: 25px 30px !important;
    margin: 0 !important;
    background: #fff !important;
    font-size: 16px !important;
    color: #333 !important;
    box-sizing: border-box !important;
}

/* 内容物のマージンをゼロにする（これが隙間の原因） */
.mi-content div, .mi-content p, .mi-content ul {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    font-size: 16px !important;
}

/* 電話番号 */
.mi-tel { 
    color: #d32f2f !important; 
    font-weight: bold !important; 
    font-size: 20px !important; 
}

/* 略歴のリスト */
.mi-origin { font-weight: bold !important; margin-bottom: 12px !important; }
.mi-h-item { 
    display: flex !important; 
    padding: 8px 0 !important; 
    border-bottom: 1px dashed #eee !important;
    margin: 0 !important;
}
.mi-h-item:last-child { border-bottom: none !important; }
.mi-h-item .y { width: 100px !important; color: #777 !important; flex-shrink: 0 !important; }
.mi-history{padding-top: 2%;}

/* 資格タグ */
.mi-tags span {
    display: inline-block !important;
    background: #f0f3f5 !important;
    padding: 4px 12px !important;
    margin: 0 6px 6px 0 !important;
    border: 1px solid #e0e0e0 !important;
    font-size: 14px !important;
}

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

.wpcf7-validates-as-required {
    border: 2px solid #ddd;
    width: 100%;
    padding: 2%;
    font-size: 17px;
    letter-spacing: 0.1em;
}
.wpcf7-textarea {
    border: 2px solid #ddd;
    width: 100%;
    padding: 2%;
    font-size: 17px;
    letter-spacing: 0.1em;
}
.wpcf7-validates-as-tel{
	border: 2px solid #ddd;
width: 100%;
padding: 2%;
font-size: 17px;
letter-spacing: 0.1em;
}

.form_title {
    font-size: 18px;
    color: #575757;
    letter-spacing: 0.03em;
    font-weight: bold;
}
.form_sab_title {
    font-size: 80%;
}
.wpcf7 .wpcf7-submit:disabled {
    cursor: auto;
    width: 100%;
    padding-top: 2%;
    padding-bottom: 2%;
    margin-top: 2%;
    background-color: #81b8ff;
    border: navajowhite;
    color: #fff;
    font-size: 18px;
}
.wpcf7-submit {
  cursor: auto;
  width: 100%;
  padding-top: 2%;
  padding-bottom: 2%;
  margin-top: 2%;
  background-color: #81b8ff;
  border: navajowhite;
  color: #fff;
  font-size: 18px;
}
/* 業務内容 */
.con_box{
	width: 100%;
}
.con_box01 {
  width: 48%;
  float: left;
  margin-right: 2%;
	margin-top: 0 !important;
}
.con_box01_title {
  font-size: 18px;
  font-weight: bold;
}
.con_box01_img{
	width:100%;
}
.con_box01_text{
	font-size: 16px;
  line-height: 1.8;
  letter-spacing: 0.03em;
}
/* 親：グリッドにする */
.con_box01_text02_box{
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* PCは3列 */
  gap: 24px;                             /* 間隔 */
  margin: 0;
  padding: 0;
}
/* 子：タグ */
.con_box01_text02_box_icon{
  margin: 0;
  padding: 18px 14px;
  background: #f6e2c6;
  color: #d98b00;
  font-weight: 700;
  font-size: 22px;
  line-height: 1.2;
  border-radius: 2px;
  text-align: center;
  white-space: nowrap;
}

/* タブレット：2列 */
@media (max-width: 900px){
  .con_box01_text02_box{
    grid-template-columns: repeat(2, 1fr);
  }
}

/* スマホ：1列 */
@media (max-width: 520px){
  .con_box01_text02_box{
    grid-template-columns: 1fr;
  }
}

/* 親：必ずグリッド化（THORに負けないように強めに） */
.con_box01_text02_box.clearfix{
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 24px !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* 子：pのデフォ余白を消して、必ず同じ見た目に */
.con_box01_text02_box.clearfix > p.con_box01_text02_box_icon{
  margin: 0 !important;
  padding: 18px 14px !important;
  background: #f6e2c6 !important;
  color: #d98b00 !important;
  font-weight: 700 !important;
  font-size: 22px !important;
  line-height: 1.2 !important;
  border-radius: 2px !important;
  text-align: center !important;
  white-space: nowrap !important;
  width: 100% !important;   /* ← これ重要：列幅いっぱいにする */
  box-sizing: border-box !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 72px;         /* 高さを揃えてガタつき防止（任意） */
}

/* タブレット：2列 */
@media (max-width: 900px){
  .con_box01_text02_box.clearfix{
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

/* スマホ：1列 */
@media (max-width: 520px){
  .con_box01_text02_box.clearfix{
    grid-template-columns: 1fr !important;
  }
}

.con_box01_text02_box > .con_box01_text02_box_icon{
  min-height: 96px;        /* ここは好みで */
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 親：グリッド（すでにあるが念のため強化） */
.con_box01_text02_box{
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 24px !important;
}

/* 子：高さを完全に揃える */
.con_box01_text02_box > .con_box01_text02_box_icon{
  margin: 0 !important;
  padding: 10px 10px !important;
  background: #f6e2c6 !important;
  color: #d98b00 !important;
  font-weight: 700 !important;
  font-size: 16px !important;
  line-height: 1.2 !important;
  text-align: center !important;

  /* 👇 高さ揃えの核心 */
  height: 100%;
  min-height: 50px;              /* ← 好みで調整（重要） */
  display: flex !important;
  align-items: center !important; /* 縦中央 */
  justify-content: center !important;
  box-sizing: border-box !important;
}


/* 2カラム（float）の基本 */
.con_box01 {
  float: left;
  width: 47% ;
  margin-right: 6% !important;
  margin-top: 0 !important;
  box-sizing: border-box;
  margin-bottom: 5%;
}

/* 2つ目（右側）だけ右マージンを消す */
.con_box01:nth-of-type(2n){
  margin-right: 0 !important;
}

/* クリアフィックス（親が潰れる対策） */
.con_box.clearfix::after{
  content:"";
  display:block;
  clear:both;
}

/* 画像の高さを固定して揃える（ここが高さ揃えの最重要） */
.con_box01_img img{
  width: 100% !important;
  height: 320px !important;     /* 好みで調整（例：300〜360） */
  object-fit: cover;
  display: block;
}

/* 説明文が増えても見た目を揃える：最低高さを確保 */
.con_box01_text{
  min-height: 6.5em;            /* だいたい3〜4行分。必要なら増やす */
}

/* タグ（対応業務例）の枠：高さ揃え＆整列 */
.con_box01_text02_box{
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 16px !important;
  margin: 0 !important;
  padding: 0 !important;
}

.con_box01_text02_box > .con_box01_text02_box_icon{
  margin: 0 !important;
  padding: 15px 10px !important;
  background: #f6e2c6 !important;
  color: #d98b00 !important;
  font-weight: 600 !important;
  text-align: center !important;
  min-height: 45px;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-sizing: border-box !important;

  /* タグの高さを揃える */
  min-height: 45px;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-sizing: border-box !important;
}

.top_access_text {
  width: 80%;
  text-align: center;
  letter-spacing: .05em;
  margin-top: 2%;
  line-height: 150%;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 0;
}





/* タブレット */
@media (max-width: 900px){
  .con_box01_text02_box{
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

/* スマホ */
@media (max-width: 520px){
  .con_box01_text02_box{
    grid-template-columns: 1fr !important;
  }
	.con_box01 {
  float: left;
  width: 100%;
  margin-right: 6% !important;
  margin-top: 0 !important;
  box-sizing: border-box;
  margin-bottom: 5%;
}
}

@media screen and (max-width: 767px) {
  .contents {
    justify-content: flex-start;
  }
   .con_box01_text02_box {
    display: flex !important;
    flex-wrap: wrap;
    justify-content: flex-start !important; /* ← これが決定打 */
    gap: 10px;
  }

  .con_box01_text02_box_icon {
    display: inline-flex !important;
    width: calc(50% - 5px) !important;
    margin: 0 !important;
  }
}



.con_box01_text02{
display: flex;
  align-items: center;   /* ← 縦ズレ解消の核心 */
  gap: 0.5em;
  margin: 0 0 1em;
  font-weight: 700;
  line-height: 1.4;
}

/* 三角マーク */
.con_box01_text02::before{
  content: "▶";
  font-size: 0.9em;
  line-height: 1;
  opacity: 0.9;
}









/* スマホ対応 */
@media screen and (max-width: 640px) {
    .mi-row { flex-direction: column !important; }
    .mi-label { 
        width: 100% !important; 
        border-right: none !important; 
        border-bottom: 1px solid #ddd !important; 
        padding: 12px 20px !important; 
    }
    .mi-content { padding: 20px !important; }
}

	/* タブレット */
@media screen and (min-width: 768px) and (max-width: 1024px) {
  /* タブレット用スタイル */
}

/* スマホ（SP） */
@media screen and (max-width: 767px) {
  /* スマホ用スタイル */
	.contents_img {
  width: 100%;
  margin-top: 1rem !important;
}
	.top_title {
  position: relative;
  text-align: center;
  font-size: 17px;
  padding-bottom: 1.5rem;
  font-weight: 700;
  margin-bottom: 5%;
  color: #12184c;
}
	.pickupHead__text {
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.85;
  padding: 20px 0;
}
	.top_text {
  font-size: 14px;
  color: #454545;
  margin-bottom: 2em;
  line-height: 1.8;
  text-align: center;
  letter-spacing: 0.05em;
  text-align: center;
  margin-left: 2%;
  margin-right: 2%;
}
	.top_title::before {
  position: absolute;
  bottom: -5px;
  left: calc(50% - 20px);
  width: 40px;
  height: 4px;
  content: '';
  border-radius: 3px;
  background: #12184c;
}
	 .contents_box {
    width: 48%;
    margin-bottom: 16px; /* 行間（お好み） */
  }
	.contents {
  padding-left: 2%;
		padding-right:2%;
}
	.contents_text_title {
  font-size: 16px;
  font-weight: bold;
  text-align: center;
  margin-top: 1rem !important;
}
	.contents_text {
  font-size: 14px;
  margin-top: 1rem !important;
}
	.tel_bt {
  width: 100%;
  float: left;
  font-size: 30px;
  margin-right: 0;
  line-height: 130%;
  letter-spacing: 0.05em;
  text-align: center;
}
  .form_bt {
    width: 100%;
    float: left;
    text-align: center;
    background-color: #12184c;
    padding-top: 2%;
    padding-bottom: 2%;
    font-size: 16px;
    color: #fff;
    margin-top: 0 !important;
  }
	.tel_form_box {
  width: 100%;
  float: left;
  margin-right: 4%;
}
	.line_bt {
  width: 100%;
  float: left;
  margin-top: 5% !important;
}
}

/* ===== 対応業務例：スマホ2列 最終FIX ===== */
@media screen and (max-width: 767px) {

  /* 親：完全にリセット */
  .con_box01_text02_box {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: flex-start !important;

    /* grid完全無効化 */
    grid-template-columns: none !important;
    gap: 10px !important;
  }

  /* 子：2列幅 */
  .con_box01_text02_box_icon {
    display: flex !important;
    width: calc(50% - 5px) !important;
    margin: 0 !important;
    min-height: 45px;
    box-sizing: border-box;
  }
	
	.rogo_box img {
  width: 50%;
  margin-bottom: 5%;
}
	
	@media screen and (max-width: 767px) {
  .access-map iframe {
    height: 300px; /* 好みで 250〜320px */
  }
}


}
/* スマホ：ロゴのズレ修正 */
@media screen and (max-width: 768px) {
  .t-headerCenter .siteTitle {
    max-width: 100%;
    margin: 0 auto !important;
    padding: 0 !important;
  }

  .t-headerCenter .siteTitle__link {
    display: flex;
    justify-content: center;
  }

  .t-headerCenter .siteTitle__logo {
    margin: 0 auto;
    max-width: 90%;
    height: auto;
  }
}

.linecolor{
	color:#00b900;
}
.seo-h1{
  font-size:14px;
  line-height:2;
  margin: 20px auto;
  text-align: left;
}

/* ===== 料金テーブル専用 ===== */
.fee-table-wrap {
  max-width: 900px;
  margin: 0 auto;
}

.fee-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
  background: #fff;
}

.fee-table th,
.fee-table td {
  padding: 18px 20px;
  border: 1px solid #ddd;
  vertical-align: middle;
}

/* セクション見出し */
.fee-table__section th {
  background: #f6f5f2;
  text-align: center;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.05em;
}

/* 左：項目名 */
.fee-table__label {
  width: 70%;
}

/* 右：価格 */
.fee-table__price {
  width: 30%;
  text-align: right;
  font-weight: 600;
  white-space: nowrap;
}

/* =========================
   料金テーブル：安全レスポンシブ
   ========================= */

.fee-table {
  width: 100%;
  border-collapse: collapse;
  border: none;
}

.fee-table th,
.fee-table td {
  border: 1px solid #ddd;
  padding: 16px;
}

/* セクション見出し */
.fee-table__section th {
  background: #888;
  color: #fff;
  font-weight: 700;
  text-align: center;
  font-size: 18px;
  padding: 18px 10px;
	background-color: #f4f7f9 !important;
  color: #1a4a7c !important;
}

/* PC */
.fee-table__label {
  width: 70%;
}

.fee-table__price {
  width: 30%;
  text-align: right;
  font-weight: 600;
  white-space: nowrap;
}

/* ===== スマホだけ調整 ===== */
@media screen and (max-width: 768px) {

  /* セクション見出しの下の罫線整理 */
  .fee-table__section th {
    border-left: none;
    border-right: none;
  }

  /* 項目行 */
  .fee-table__label {
    display: block;
    width: 100%;
    border-bottom: none;
    font-weight: 600;
  }

  .fee-table__price {
    display: block;
    width: 100%;
    text-align: left;
    border-top: none;
    padding-top: 0;
  }
}
.fee-table tr td {
  background: #ffffff;
}

/* セクションタイトル背景色を #f4f7f9 にする */
.fee-table__section th {
  background-color: #f4f7f9 !important;
}
/* セクションタイトル直下の行のグレー背景を解除 */
.fee-table tr.fee-table__section + tr td {
  background-color: #ffffff !important;
}
/* タイトル（セクション）直下の行だけ、強制的に白に戻す */
.post_content .fee-table tbody tr.fee-table__section + tr,
.post_content .fee-table tbody tr.fee-table__section + tr > th,
.post_content .fee-table tbody tr.fee-table__section + tr > td,
.fee-table tbody tr.fee-table__section + tr,
.fee-table tbody tr.fee-table__section + tr > th,
.fee-table tbody tr.fee-table__section + tr > td {
  background-color: #ffffff !important;
}

/* ===== THE THORの縞模様を料金表だけ無効化 ===== */
.content table.fee-table tr:nth-child(2n+1) td,
.content table.fee-table tr:nth-child(2n) td {
  background-color: #ffffff !important;
}
