/*
Theme Name: Astra Child
Theme URI: https://wpastra.com/
Template: astra
Author: Your Name
Version: 1.0.0
*/
/* =================================================
   Base Typography
================================================= */

body {
  font-family:
    "Noto Sans JP",
    "Hiragino Kaku Gothic ProN",
    "Hiragino Sans",
    "Yu Gothic",
    "Meiryo",
    sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.8;
  letter-spacing: 0.03em;
  color: #333;
  -webkit-font-smoothing: antialiased;
}

/* Paragraph */
p {
  font-size: 1rem;
  line-height: 1.9;
  margin-bottom: 1.6rem;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
  font-family:
    "Noto Sans JP",
    "Hiragino Kaku Gothic ProN",
    "Hiragino Sans",
    "Yu Gothic",
    "Meiryo",
    sans-serif;
  font-weight: 600;
  line-height: 1.4;
  margin-top: 0.8em;
  margin-bottom: 0.6em;
  letter-spacing: 0.02em;
}

/* List Reset（必要なら .lp-page などに限定推奨） */
ul {
  margin: 0;
  padding: 0;
}

li {
  list-style: none;
  margin: 12px 0;
  font-size: 1rem;
  line-height: 1.8;
}

/* Link */
a {
  text-decoration: none;
}

/* Optional Font Class */
.ff-kaisei {
  font-family: "Kaisei Decol", serif;
}
.grecaptcha-badge {
	opacity: 0.3 !important;
	transform: scale(0.85);
	transform-origin: bottom right;
	transition: opacity 0.3s ease;
}
/*--------------------------------------------------------------
*フォント・テキスト
--------------------------------------------------------------*/
.strong {
  font-weight: 700;
  font-size: 110%;
}

.f-s-50 {
  font-size: 50%;
}

.f-s-60 {
  font-size: 60%;
}
.f-s-70 {
  font-size: 70%;
}
.f-s-80 {
  font-size: 80%;
}
.f-s-90 {
  font-size: 90%;
}
.f-s-110 {
  font-size: 110%;
}
.f-s-120 {
  font-size: 120%;
}
.f-s-130 {
  font-size: 130%;
}
.f-s-140 {
  font-size: 140%;
}
.f-s-150 {
  font-size: 150%;
}
.f-s-160 {
  font-size: 160%;
}
.f-s-180 {
  font-size: 180%;
}
.f-s-190 {
  font-size: 190%;
}
.f-s-200 {
  font-size: 200%;
}
.f-s-220 {
  font-size: 220%;
}
.f-s-240 {
  font-size: 240%;
}
.font-260 {
  font-size: 260%;
}
.f-s-280 {
  font-size: 280%;
}
.f-s-300 {
  font-size: 300%;
}
.f-s-300-im {
    font-size: 300% !important;
}
.f-s-320-im {
    font-size: 320% !important;
}
.f-s-340-im {
    font-size: 340% !important;
}
.f-s-360-im {
    font-size: 360% !important;
}
.f-s-380-im {
    font-size: 380% !important;
}

.f-s-400 {
  font-size: 400%;
}

.txt-right {
  text-align: right;
}

.txt-left {
  text-align: left;
}

.txt-center {
  text-align: center;
}

.fleft {
  float: left;
}

.fright {
  float: right;
}

.txt-bold {
  font-weight: 600;
}

.txt-lg {
  font-size: 180%;
}


.fleft {
  float: left;
}

.fright {
  float: right;
}

.txt-right {
  text-align: right;
}

.txt-left {
  text-align: left;
}

.txt-center {
  text-align: center;
}

.txt_right {
  text-align: right;
}

.txt_left {
  text-align: left;
}

.txt_center {
  text-align: center;
}

.padding-top {
  padding-top: 2%;
}

.padding-left {
  padding-left: 2%;
}

.padding-right {
  padding-right: 2%;
}

.padding-bottom {
  padding-bottom: 2%;
}

.padding-left-sm {
  padding-left: 1%;
}

.padding-left-md {
  padding-left: 3%;
}

.padding-left-lg {
  padding-left: 5%;
}

.padding-right-sm {
  padding-right: 1%;
}

.padding-right-md {
  padding-right: 3%;
}

.padding-right-lg {
  padding-right: 5%;
}

.padding-top-sm {
  padding-top: 1%;
}

.padding-top-md {
  padding-top: 3%;
}

.padding-top-lg {
  padding-top: 5%;
}

.padding-bottom-sm {
  padding-bottom: 1%;
}

.padding-bottom-md {
  padding-bottom: 3%;
}

.padding-bottom-lg {
  padding-bottom: 5%;
}

.margin-left-sm {
  margin-left: 1%;
}

.margin-left-md {
  margin-left: 3%;
}

.margin-left-lg {
  margin-left: 5%;
}

.margin-right-sm {
  margin-right: 1%;
}

.margin-right-md {
  margin-right: 3%;
}

.margin-right-lg {
  margin-right: 5%;
}

.margin-top-sm {
  margin-top: 1%;
}

.margin-top-md {
  margin-top: 3%;
}

.margin-top-lg {
  margin-top: 5%;
}

.margin-bottom-sm {
  margin-bottom: 1%;
}

.margin-bottom-md {
  margin-bottom: 3%;
}

.margin-bottom-lg {
  margin-bottom: 5%;
}
.margin-bottom-none{
  margin-bottom: 0 !important;
}
.margin-top-none{
  margin-top: 0 !important;
}
.padding-none{
 padding:0 !important
}

.top-5 {
  position: relative;
  top: 5px;
}

.top-10 {
  position: relative;
  top: 10px;
}

.top-15 {
  position: relative;
  top: 15px;
}

.top-20 {
  position: relative;
  top: 20px;
}

.top-25 {
  position: relative;
  top: 25px;
}

.top-30 {
  position: relative;
  top: 30px;
}

.top-40 {
  position: relative;
  top: 40px;
}

.top-m5 {
  position: relative;
  top: -5px;
}

.top-m10 {
  position: relative;
  top: -10px;
}

.top-m15 {
  position: relative;
  top: -15px;
}

.top-m20 {
  position: relative;
  top: -20px;
}

.top-m25 {
  position: relative;
  top: -25px;
}

.top-m30 {
  position: relative;
  top: -30px;
}

.top-m40 {
  position: relative;
  top: -40px;
}

.font-bold {
  font-weight: 600;
}
/*レイアウト*/
.f-left{
	float:left;
}

.f-right{
	float:right;
}

.nowrap {
  white-space: nowrap;
}

.w5 {
  width: 5%;
}
.w10 {
  width: 10%;
}
.w20 {
  width: 20%;
}
.w30 {
  width: 30%;
}
.w40 {
  width: 40%;
}
.w50 {
  width: 50%;
}
.w60 {
  width: 60%;
}
.w70 {
  width: 70%;
}
.w80 {
  width: 80%;
}
.w90 {
  width: 90%;
}

.w100 {
  width: 100%;
}
.col-left {
  float: left;
  padding-right: 15px;
}
.col-right {
  float: right;
  padding-left: 15px;
}


/*--------------------------------------------------------------
color
--------------------------------------------------------------*/


.clr-black {
  color: #000;
}

.clr-red {
  color: #d71518;
}

.clr-pink {
  color: #fc859f;
}

.clr-blue {
	color: #188AF5;
}

.clr-orange {
  	color: #F5A618;
}

.clr-green {
  color: #81D18E;
}

.clr-gray {
  color: #898989;
}

.clr-wine {
  color: #a51c30;
}

.clr-white {
  color: #ffffff;
}
.clr-white-in {
	color: #fff !important;
}

.clr-gold {
  color: #c9a227;
}

.clr-navy {
  color: #336DAB;
}
.clr-cyan{
  color: #008abf;
}

.bg-gray {
  background-color: #d1d1d1;
}

.bg-white {
  background-color: #ffffff;
}

.bg-black {
  background-color: #000;
}

.bg-red{
    background-color: #d71518;
}

.bg-green {
  background-color: #81D18E;
}
.bg-orange {
  background-color: #f26702;
}

.bg-wine {
  background-color: #a51c30;
}

.bg-gold {
  background-color: #bf8b28;
}

.bg-pink {
  background-color: #fc859f;
}

.bg-blue {
  background-color: #2f69d5;
}

.bg-ash {
  background-color: #cccccc;
}

.bg-wpink {
  background-color: #ffeeee;
}

.bg-wblue {
  background-color: #ededed;
}

.bg-navy {
  background-color: #0f3d63;
}

.bg-yellow {
	background-color: #fff480;
}
.bg-bluegra {
	background-color: #336DAB;
}


.bg-cyan{
   background-color: #008abf;
}

.border-black {
  border: 1px solid #333;
}

.border-blue {
  border: 1px solid #2f69d5;
}

.border-orange {
  border: 1px solid #F5A618;
}

.border-green {
	border: 1px solid #81D18E;
}

.border-wine {
  border: 1px solid #a51c30;
}

.border_dash {
  border-bottom: 1px dashed #999;
  width: 100%;
  margin-bottom: 3%;
}


.f-c-blue { color: #0095ff;}

.f-c-green { color: #78b400; }


.ic_sq01 {
	color: rgba(255, 99, 132, 0.6);
	padding-right: 5px;
}
.ic_sq02 {
	color: rgba(54, 162, 235, 0.6);
	padding-right: 5px;
}
.ic_sq03 {
	color: rgba(255, 206, 86, 0.6);
	padding-right: 5px;
}
.ic_sq04 {
	color: rgba(200, 227, 7, 0.6);
	padding-right: 5px;
}
.ic_sq05 {
	color: rgba(1, 61, 114, 0.6);
	padding-right: 5px;
}
.ic_sq06 {
	color: rgba(255, 123, 58, 0.6);
	padding-right: 5px;
}
.ic_sq07 {
	color: rgba(208, 208, 208, 0.6);
	padding-right: 5px;
}
.ic_sq08 {
	color: rgba(131, 206, 161, 0.6);
	padding-right: 5px;
}
.ic_sq09 {
	color:rgba(119, 119, 119, 0.6);
	padding-right: 5px;
}
.ic_sq10 {
	color:rgba(255, 199, 251, 0.6);
	padding-right: 5px;
}
.ic_sq11 {
	color: rgba(248, 40, 245, 0.6);
	padding-right: 5px;
}

.radius {
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
}
.bdr-light-brown {
  border: 3px #f2ebe6 solid;
}
.bdr-orange {
  border: 3px #ff6600 solid;
}

/*テーブル*/
table.table {
  width: 100%;
  border-collapse: collapse;
}
table.table th {
	vertical-align: top;
	text-align: left;
	padding: 10px;
	width: 20%;
}
table.table td {
  padding: 10px;
}
table.table--border {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 60px;
}

table.table--border th {
  text-align: center;
  background: #f3ece6;
  border: #ddd 1px solid;
  padding: 15px 10px;
  white-space: nowrap;
}
table.table--border td {
  text-align: left;
  padding: 15px 10px;
  border: #ddd 1px solid;
}
table.table-form {
  width: 98%;
  margin: 0 auto 60px;
  border-collapse: collapse;
}
table.table th {
	vertical-align: top;
	padding: 10px;
	width: 20%;
}
table.table-form td {
  padding: 15px 0 15px 25px;
  width: 75%;
}

table.table-recruit {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 60px;
}
table.table-recruit th {
  width: 15%;
  text-align: left;
  background: #f3ece6;
  border: #ddd 1px solid;
  padding: 15px;
  white-space: nowrap;
}
table.table-recruit td {
  text-align: left;
  padding: 15px;
  border: #ddd 1px solid;
}
table.table-recruit td span {
  display: inline-block;
}
table.table-recruit td span::after {
  content: "、";
}
table.table-recruit td span:last-of-type::after {
  content: none;
}
.shoukaimono thead th {
  width: 50%;
}

/*リスト*/
.list li {
  line-height: 1.6;
  margin-bottom: 10px;
}


.circle li {
  position: relative;
  padding-left: 20px;
}

.circle li::before {
  position: absolute;
  left: 0;
  top: 3px;
  content: "\f10c";
  font-family: FontAwesome;
  font-size: 80%;
  color: #ff6600;
}
.square li {
  padding-left: 20px;
  position: relative;
}
.square li::before {
  position: absolute;
  left: 0;
  top: 10px;
  content: "\f096";
  font-family: FontAwesome;
  color: #ff6600;
}

.txt-lg {
  font-size: 180%;
}

.marker {
  background: linear-gradient(transparent 60%, #fff59d 60%);
  font-weight: 600;
}


/**************************************************************/
.wp-child-theme-astra-child {
	margin-bottom: 0 !important;
	padding: 0 !important;
}
@media (max-width: 767px) {
.wp-child-theme-astra-child {
	margin-bottom: 100px !important;
	}
}

.ast-separate-container #primary {
	margin: 0;
	padding: 0;
}

/* bodyとhtmlの最大幅強制 */
html, body {
  margin: 0;
  padding: 0;
}
/* Sticky対策：overflowは通常値に */
#page,
.ast-container,
.ast-plain-container,
body {
  overflow: visible;
}

/* ==========================
   背景セクション
========================== */
.section-light {
  background: #f9fafb;
  padding: 80px 0;
}

.section-white {
  background: #ffffff;
  padding: 80px 0;
}


/* ==========================
   ヘッダー
========================== */
#site-header {
	position: sticky;
	top: 0;
	left: 0;
	width: 100%;
	background: #fff;
	z-index: 999;
	padding: 20px 0;
	box-shadow: 2px 2px 0 #eee;
}

.lp-logo a img {
	max-width: 240px;
	width: auto;
	height: auto;
}

.lp-logo span {
  padding-left: 5px;
  font-size: 12px;
  color: #d71518;
}

/* ==========================
   ナビ（PC）
========================== */
.lp-nav-list {
  display: flex;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 15px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.lp-nav-list > li {
  position: relative;
  white-space: nowrap;
}

.lp-nav-list > li:not(:last-child)::after {
  content: "|";
  margin-left: 10px;
  color: #ccc;
}

.lp-nav-list li a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  padding: 6px 10px;
  font-size: 14px;
  transition: 0.3s;
}

.lp-nav-list li a:hover {
  color: #d71518;
}

/* 子メニュー（PC） */
.lp-nav-list .sub-menu {
  position: absolute; /* 必ず absolute にする */
  top: 100%;          /* 親リンクの下に表示 */
  left: 0;
  min-width: 220px;
  background: #fff;
  padding: 8px 0;
  display: none;
  flex-direction: column;
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
  z-index: 999;
}

/* ホバー時に表示 */
.lp-nav-list li:hover > .sub-menu {
  display: flex;
}

/* 子メニューリンク */
.lp-nav-list .sub-menu li a {
  padding: 6px 16px;
  font-size: 14px;
}

/* 矢印はクリックを奪わない */
.lp-nav-list > li a::before {
    pointer-events: none;
}

/* ==========================
   SP用
========================== */
@media (max-width: 767px) {
	.lp-logo span {
		padding-left:0;
		display:block;
	}
  .lp-hamburger {
    width: 30px;
    height: 22px;
    position: relative;
    cursor: pointer;
    z-index: 200;
  }

  .lp-hamburger span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 3px;
    background: #333;
    transition: 0.3s;
  }
  .lp-hamburger span:nth-child(1) { top: 0; }
  .lp-hamburger span:nth-child(2) { top: 9px; }
  .lp-hamburger span:nth-child(3) { bottom: 0; }

  .lp-hamburger.active span:nth-child(1) {
    transform: rotate(45deg);
    top: 9px;
  }
  .lp-hamburger.active span:nth-child(2) { opacity: 0; }
  .lp-hamburger.active span:nth-child(3) {
    transform: rotate(-45deg);
    bottom: 10px;
  }

}
@media (max-width: 767px) {
  /* ナビ全体 */
  .lp-nav-list {
    display: none !important;  
    flex-direction: column;
    position: fixed;
    top: 60px;
    right: 0;
    width: 100%;
    max-height: 100vh;
    overflow-y: auto;
    background: #fff;
    padding: 10px 20px;
    box-shadow: 2px 2px 4px #ccc;
    z-index: 9999 !important;
  }
	
  .lp-nav-list > li {
    position: relative; /* 子メニュー表示の基準 */
    white-space: nowrap;
    border-bottom: 1px dashed #ccc;
    padding: 0 10px;
  }
  .lp-nav-list > li:not(:last-child)::after {
    display: none;
  }

  /* open時 */
  .lp-nav-list.open {
    display: flex !important;
  }

  /* 子メニューSP */
  .lp-nav-list .sub-menu {
    display: none;
    position: absolute;   /* 親から浮かせる */
    top: 100%;            /* 親の下に表示 */
    left: 10%;
    width: 100%;          /* 親幅いっぱいに */
    flex-direction: column;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 5px;
    z-index: 10;
  }
  .lp-nav-list .sub-menu.open {
    display: flex !important;
  }
	
  /* ナビリンクの矢印 */
  .lp-nav-list > li a {
    position: relative;
    display: inline-block;
    transition: color 0.3s ease;
  }

  .lp-nav-list > li a::before {
    content: "▶";
    position: absolute;
    left: -15px;
    top: 50%;
    transform: translateY(-50%);
    color: #ccc;
    transition: transform 0.3s ease, color 0.3s ease;
    pointer-events: none; /* タップに干渉させない */
  }

  /* ホバー時の動き */
  .lp-nav-list > li a:hover::before {
    transform: translateY(-50%) translateX(5px);
    color: #ff6600;
  }

  .lp-nav-list > li a:hover {
    color: #ff6600;
  }
}



/* ================================
   アンカーリンク offset
================================ */
#sec1,#sec2,#sec3,#sec4,#sec5,#sec6,#sec7 {
  scroll-margin-top: 90px;
}

/****************************************************************************************/
/* ==========================
   背景セクション
========================== */
.section-light {
  background: #f9fafb;
  padding: 80px 0;
}

.section-white {
  background: #ffffff;
  padding: 80px 0;
}
/* ===== LP 共通 ===== */
.lp-page {
  font-family: "Noto Sans JP", sans-serif;
  line-height: 1.7;
  color: #222;
}

.lp-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}


/* フェード基本 */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* 遅延 */
.fade-delay-1 { transition-delay: 0.15s; }
.fade-delay-2 { transition-delay: 0.3s; }
.fade-delay-3 { transition-delay: 0.45s; }


.highlight-text {
  font-weight: 700;
  color: #1f2f46; /* ネイビー */
  position: relative;
}

.highlight-text::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: -4px;
	width: 100%;
	height: 6px;
	background: rgba(255, 0, 0, 0.15);
	z-index: -1;
}


/* ===== ヒーロー ===== */
.lp-hero {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 400px;
	background: #d71518;
	color: #fff;
	padding: 0 20px;
	box-sizing: border-box;
	gap: 40px;
	flex-wrap: nowrap;
	position: relative;
}

/* 背景スライド全体を左半分に */
.lp-hero-bg {
	flex: 0 0 50%;
	max-width: 600px;
	height: 400px;
	position: relative;
	overflow: hidden;
	border-radius: 8px;
	background: #fff;
}

/* 背景スライドのspanが全体カバー */
.lp-hero-bg span {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-size: contain;
	background-position: center center;
	background-repeat: no-repeat;
	opacity: 0;
	z-index: 0;
	transition: opacity 1s ease-in-out;
}

.lp-hero-bg span:first-child {
  opacity: 1;
}

/* 右側のテキスト＋ボタン */
.lp-inner {
	flex: 1 1 50%;
	max-width: 900px;
	text-align: left;
	z-index: 10;
}


.lp-inner h1 {
	font-size: clamp(28px, 5vw, 44px);
	margin-bottom: 20px;
	line-height: 1.3;
	color: #fff;
}

.lp-inner p {
  font-size: 18px;
  margin-bottom: 30px;
}

/* ボタン */
.lp-cta-btn {
	display: inline-block;
	background: #fff;
	color: #d71518;
	padding: 16px 40px;
	border-radius: 50px;
	font-size: 18px;
	font-weight: bold;
	text-decoration: none;
}

.lp-cta-btn:hover {
	background: #fff;
	color: #ff8c00;
}

/* スマホ対応：縦並び */
@media (max-width: 768px) {
  .lp-hero {
    flex-direction: column;
    gap: 20px;
    min-height: auto;
  }
  
  .lp-hero-bg,
  .lp-inner {
    flex: none;
    max-width: 100%;
    height: auto;
  }
  
  .lp-hero-bg span {
    position: relative;
    width: 100%;
    height: 200px; /* スマホで高さ調整 */
    background-size: cover;
  }

  .lp-inner {
    text-align: center;
  }
}

/* ===== 新着情報 ===== */
.lp-news .news-item {
  border-bottom: 1px solid #eee;
  padding: 14px 0;
}

.lp-news .news-item a {
  display: flex;
  gap: 20px;
  text-decoration: none;
  color: #333;
}

.lp-news .news-date {
	font-size: 0.85rem;
	color: #fff;
	min-width: 90px;
	background: #d71518;
}
.lp-news .news-title {
  font-weight: 600;
}

.lp-news .news-item a:hover .news-title {
  color: #0056b3;
}

.lp-news .badge {
  font-size: 0.8rem;
  min-width: 95px;
  text-align: center;
}

.lp-news .list-group-item:hover {
  background-color: #f8f9fa;
}

/* ===== ナビゲーション ===== */
.news-archive .navigation.pagination {
  display: flex;
  justify-content: flex-end;
}

.news-archive .nav-links {
  display: flex;
  gap: 8px;
}

.nav-links {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
  margin: 40px 0;
}

.nav-links .page-numbers {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-width: 40px;
  height: 40px;
  padding: 0 14px;
  border: 1px solid #ddd;
  border-radius: 6px;
  text-decoration: none;
  color: #333;
  font-weight: 500;
  background: #fff;
  transition: 0.3s;
}

/* ホバー */
.nav-links .page-numbers:hover {
  background: #d71518;
  color: #fff;
  border-color: #d71518;
  transform: translateY(-2px);
}

/* 現在ページ */
.nav-links .current {
  background: #d71518;
  color: #fff;
  border-color: #d71518;
  font-weight: 700;
  cursor: default;
}

/* 次へボタン少し強調 */
.nav-links .next {
  padding: 0 18px;
}


/* ===== セクション共通 ===== */
.lp-section {
  padding: 80px 0;
}

.lp-section h2 {
  text-align: center;
  font-size: clamp(24px, 3vw, 36px);
  margin-bottom: 40px;
}


/* ===== 取り組みについて ===== */

.lp-about {
}

.lp-about h2 {
  font-weight: 700;
}

/* 特定技能外国人ボタン */
.lp-about .btn-danger {
  background-color: #d71518 !important;
  border: 1px solid #d71518 !important;
   padding: 10px 24px;
  font-weight: 600;
}
/* カスタムボタン */
.lp-about .btn-danger {
  color: #fff;
  transition: all 0.3s ease;
}
/* ホバー時 */
.lp-about .btn-danger:hover {
	background: #fff !important;
	border: 1px solid #d71518 !important;
	color: #d71518 !important;
}

/* ===== お悩み ===== */
.lp-problem ul {
  max-width: 800px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}
.lp-problem li {
	background: #8b8b8b;
	padding: 10px 20px;
	margin-bottom: 15px;
	border-radius: 8px;
	color: #fff;
}

/* =============================
   強みセクション
============================= */
#strength-folder .folder {
  margin-bottom: 30px;
}
#strength-folder .folder-header {
	background: #d71518;
	color: #fff;
	padding: 12px 25px;
	font-weight: 600;
	cursor: pointer;
	transition: 0.3s;
	position: relative;
	border-radius: 10px 10px 0 0;
	font-size: 18px;
}
/* フォルダー矢印 */
#strength-folder .folder-header::after {
  content: "▼";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%) rotate(0deg);
  transition: transform 0.3s ease;
  font-size: 1rem;
  color: #fff;
  pointer-events: none;
  z-index: 1;
}

#strength-folder .folder.open .folder-header::after {
  transform: translateY(-50%) rotate(180deg);
}

#strength-folder .folder-content {
  background: #fff;
  border-radius: 0 0 12px 12px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.08);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease;
  padding: 0 25px !important;
  margin-top: 0;
  position: relative; /* z-index上げる必要がある場合 */
  z-index: 10;
}

#strength-folder .folder.open .folder-content {
  max-height: 2000px;
  padding: 25px !important;
  margin-top: 0;
}

/* フローステップ */
.flow-steps {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 20px;
}

.flow-box {
  background: #f8f9fa;
  border-radius: 12px;
  padding: 20px;
  flex: 1 1 calc(25% - 15px);
  min-width: 180px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.flow-box img {
  height: auto;
  margin-bottom: 10px;
  max-width: 400px;
  width: 100%;
}

.flow-box h4 {
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 6px;
}

.flow-box p {
  font-size: 0.9rem;
  line-height: 1.4;
  margin-bottom: 0;
}

/* スマホ対応 */
@media (max-width: 768px) {
  .flow-box {
    flex: 1 1 100%;
  }
  #strength-folder .folder-content {
    padding: 15px;
  }
}

/**********************************************************************/
/* =========================
   お問い合わせ Contact Form 7（LP用）
========================= */
.lp-form .wpcf7 {
  max-width: 600px;
  margin: 0 auto;
}

.lp-form .form-label {
  font-weight: 600;
  margin: 22px 0 6px;
  display: block;
}

.lp-form .required {
  color: #d40000;
  font-size: 12px;
  margin-left: 4px;
}

.lp-form input[type="text"],
.lp-form input[type="email"],
.lp-form input[type="tel"],
.lp-form select,
.lp-form textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 16px;
  background: #fff;
  box-sizing: border-box;
}

.lp-form input:focus,
.lp-form select:focus,
.lp-form textarea:focus {
  outline: none;
  border-color: #0f3d63;
  box-shadow: 0 0 0 2px rgba(15, 61, 99, 0.15);
}

.lp-form textarea {
  min-height: 120px;
  resize: vertical;
}

.lp-form .wpcf7-list-item {
  display: block;
  margin-bottom: 8px;
}

.lp-form .wpcf7-list-item label {
  font-weight: normal;
  cursor: pointer;
}

.lp-form .form-accept {
  margin-top: 24px;
  font-size: 14px;
}

.lp-form .form-accept label {
  cursor: pointer;
}

.lp-form input[type="submit"] {
	width: 100%;
	margin-top: 30px;
	background: #d71518;
	color: #fff;
	border: none;
	padding: 16px;
	font-size: 18px;
	font-weight: bold;
	border-radius: 50px;
	cursor: pointer;
	transition: all 0.2s ease;
}

.lp-form input[type="submit"]:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.lp-form .wpcf7-not-valid-tip {
  color: #d40000;
  font-size: 13px;
  margin-top: 4px;
}

.lp-form .wpcf7-response-output {
  margin-top: 30px;
  padding: 16px;
  border-radius: 8px;
  font-size: 14px;
}

.lp-form .wpcf7-mail-sent-ok {
  background: #e6f4ea;
  border: 1px solid #7fc89b;
}

.lp-form .wpcf7-validation-errors {
  background: #fdecea;
  border: 1px solid #f5a3a3;
}


/* ===== footer ===== */
.site-footer {
  clear: both;
  width: 100%;
  box-sizing: border-box;
  margin-top: 40px;
  padding: 20px;
  background-color: #f3f3f3;
  text-align: center;
}


/*****************************************************************************/
/* ============================= */
/* 特定技能外国人ページ */
/* ============================= */
/*****************************************************************************/

/* ----------------------------- */
/* セクション見出し */
/* ----------------------------- */
.section-title {
	border-left: 8px solid #d71518;
	padding: 5px 0 5px 15px;
	color: #d71518;
	border-bottom: 2px solid #d71518;
}
/* ----------------------------- */
/* 目次ブロック */
/* ----------------------------- */
.toc-block {
  background: #f9fafb;
  padding: 30px;
  border-radius: 8px;
  margin-bottom: 50px;
  border: 1px solid #e5e7eb;
}

.toc-header {
  margin-bottom: 20px;
}

.toc-label {
  font-size: 12px;
  letter-spacing: 2px;
  color: #999;
  display: block;
  margin-bottom: 5px;
}

.toc-header h3 {
  font-size: 20px;
  margin: 0;
}

.toc-list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	grid-template-columns: repeat(3, 1fr); /* ← 常に3列 */
	gap: 16px;
}

.toc-list li a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: #fff;
  border-radius: 6px;
  text-decoration: none;
  color: #333;
  border: 1px solid #eee;
  transition: 0.3s ease;
}

.toc-list li a:hover {
	background: #d71518;
	color: #fff;
	transform: translateY(-2px);
	box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

.toc-list .num {
  font-weight: bold;
  min-width: 28px;
}

/* ----------------------------- */
/* カード共通 */
/* ----------------------------- */
.card-base {
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  border: 1px solid var(--card-border);
}

/* ----------------------------- */
/* 業種ボックス */
/* ----------------------------- */
.industry-box {
	background: #fff2cb;
	padding: 20px 15px;
	border-radius: 14px;
	border: 1px solid #f2ce67;
}
.industry-box i {
	color: #ae9511;
}
.industry-box h6 {
	color: #ae9511;
}
/* ----------------------------- */
/* 役割ブロック */
/* ----------------------------- */
.simple-role-box {
	padding: 35px 25px;
	text-align: center;
	box-shadow: 0 4px 14px rgba(0,0,0,0.05);
	background: #fff;
	border-radius: 5px;
}

.simple-role-box i {
  font-size: 28px;
  margin-bottom: 15px;
  color: var(--accent-gold);
}

.highlight-box {
	background: #fffed6;
	border: 2px solid #ffe7a1;
}

.highlight-box i {
	color: #d71518;
}

/* ----------------------------- */
/* 情報ボックス共通 */
/* ----------------------------- */
.info-section,
.info-box,
.support-box,
.application-box,
.jitco-box,
.document-box  {
	padding: 20px;
	margin-bottom: 25px;
}

/* ----------------------------- */
/* リスト系 */
/* ----------------------------- */
.check-list,
.application-list {
  padding-left: 20px;
  margin: 0;
}

.application-list a {
  text-decoration: none;
  color: var(--main-blue);
  font-weight: 500;
}

.application-list a:hover {
  text-decoration: underline;
}

.support-list {
  list-style: none;
  padding-left: 0;
}

.support-list li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 10px;
}

.support-list li i {
	color: #d71518;
	padding: 10px 5px;
}
.support-list .num {
  font-weight: 600;
  color: var(--main-blue);
}

/* ----------------------------- */
/* タブ */
/* ----------------------------- */
.nav-tabs .nav-link {
  color: var(--main-blue);
  font-weight: 500;
}

.nav-tabs .nav-link:hover {
	color: #ffef05;
	background: #d71518;
}
.nav-tabs .nav-link.active {
	background-color: #d71518;
	color: #fff;
}

.tab-content {
  background: var(--light-bg);
}


/* ===============================
   共通カード
================================ */
.card-base,
.support-box,
.info-box,
.application-box,
.jitco-box,
.document-box {
  background: #ffffff;
  padding: 30px;
  border-radius: 12px;
  border: 1px solid #e3e6eb;
  margin-bottom: 30px;
  transition: .3s ease;
}

/* ----------------------------- */
/* 分野カード */
/* ----------------------------- */
.tokutei-section {
  padding: 80px 0;
  background: #f4f7fb;
}

.tokutei-card {
  border-radius: 14px;
  padding: 20px;
  border: 1px solid #e0e0e0;
  border-top: 6px solid;
  height: 100%;
  transition: .3s;
}

.tokutei-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.card-yellow {background: #fff8c3;border-top-color: #f8ee5b;}
.card-blue { background:#eaf4ff; border-top-color:#4da3ff; }
.card-green { background:#eafaf1; border-top-color:#59c77f; }
.card-orange { background:#fff4e6; border-top-color:#ff9f43; }
.card-purple { background:#f3ecff; border-top-color:#a78bfa; }
.card-mint { background:#e8fbf5; border-top-color:#38d9a9; }
.card-red { background:#ffecec; border-top-color:#ff6b6b; }

.card-title {
  font-weight:700;
  margin-bottom:10px;
}

.ministry {
  font-size:13px;
  color:#555;
  margin-bottom:10px;
}

.tokutei-card a {
  display:block;
  font-size:14px;
  margin-bottom:5px;
  text-decoration:none;
}

.tokutei-card a:hover {
  text-decoration:underline;
}
/* ----------------------------- */
/* 日本語試験専用背景 */
/* ----------------------------- */
.nihongo-card {
  background: #ffffff;
  border: 1px solid #d9dee7;
  border-top: 6px solid #5c6f91; /* 分野より落ち着いた色 */
}


/*****************************************************************************

/* =========================================
   事業内容
========================================= */

.business-hero {
	color: #fff;
	padding: 100px 0;
	position: relative;
	overflow: hidden;
}
.business-hero::after {
	content: "";
	position: absolute;
	width: 300px;
	height: 300px;
	background: rgba(255,255,255,0.08);
	border-radius: 50%;
	top: -80px;
	right: -80px;
}

.business-hero h1 {
	font-size: 2.8rem;
	font-weight: 700;
	letter-spacing: 0.05em;
	color: #fff;
}

.section-gray {
  background: #f8f9fc;
  padding: 80px 0;
}

.card-service {
	background: #fff2cb;
	padding: 40px 30px;
	border-radius: 16px;
	transition: all 0.3s ease;
	height: 100%;
	position: relative;
	border: 1px solid #f2ce67;
}

/*.card-service:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}
*/
.service-icon {
	width: 70px;
	height: 70px;
	margin: 0 auto 20px;
	background: #ae9511;
	color: #fff;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 30px;
}

.card-service h3 {
  color: #ae9511;
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 15px;
}

.card-service p {
  font-size: 0.95rem;
  line-height: 1.8;
  color: #555;
}

/* 登録支援リスト装飾 */
.business-list li {
  padding: 12px 0 12px 30px;
  border-bottom: 1px solid #eee;
  position: relative;
}

.business-list li::before {
  content: "\f00c";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  color: #d71518;
}
/*****************************************************************************

/* =========================================
   よくある質問
========================================= */

.faq-list .faq-item {
    border-bottom: 1px solid #ddd;
}

.faq-list .faq-item .faq-question {
    width: 100%;
    text-align: left;
    background-color: #89acce;
    color: #fff;
    border: none;
    padding: 20px 40px 20px 15px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    display: block;
}

.faq-list .faq-item .faq-question:hover,
.faq-list .faq-item .faq-question:focus {
    background-color: #6f9fc4;
    color: #fff;
    outline: none;
}

/* 開いているとき */
.faq-list .faq-item.active .faq-question {
    background-color: #d71518;
}

/* + / - */
.faq-list .faq-item .faq-question::after {
    content: "+";
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.4rem;
    transition: transform 0.3s ease;
}

.faq-list .faq-item.active .faq-question::after {
    content: "-";
}

/* アンサー */
.faq-list .faq-item .faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    background: #f5f7fa;
    padding: 0 15px;
}

.faq-list .faq-item.active .faq-answer {
    padding: 15px;
}

.faq-list .faq-item .faq-answer p {
    margin: 0;
    line-height: 1.8;
}


/*****************************************************************************/
/* ===== single-news 共通スタイル ===== */

.single-news .news-item {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    padding: 30px;
    margin-bottom: 30px;
    flex-direction: row;
}

/* ===== 左サムネイル ===== */
.single-news .news-thumb img {
    width: 100%;
    height: auto;
    border-radius: 6px;
    object-fit: cover;
}

/* ===== 右情報部分 ===== */
.single-news .news-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* ===== 日付 ===== */
.news-detail-container .news-date {
	width: 25%;
	text-align: center;
	border-radius: 4px;
	padding: 2px 0;
}

/* ===== タイトル ===== */
.single-news .news-title {
    font-weight: 600;
    font-size: 1.5rem;
    margin: 0;
}

/* ===== コンテンツ ===== */
.single-news .news-content p {
    line-height: 1.8;
    color: #333;
    margin-bottom: 1rem;
}

/* ===== 一覧ボタン ===== */
.single-news a.btn-outline-danger {
    display: inline-block !important;
    width: auto !important;
    padding: 6px 20px !important;
    font-size: 0.95rem !important;
    color: #d71518 !important;
    border-color: #d71518 !important;
}

.single-news a.btn-outline-danger:hover {
    background-color: #d71518 !important;
    color: #fff !important;
    text-decoration: none;
}

/* ===== レスポンシブ ===== */
@media (max-width: 768px) {
    .single-news .news-item {
        flex-direction: column;
    }

    .single-news .news-thumb {
        max-width: 100%;
    }
}

/*****************************************************************************/

/* ----------------------------- */
/* 問い合わせフォーム */
/* ----------------------------- */
.wpcf7-form-control.wpcf7-checkbox {
	text-align: left;
}
/*****************************************************************************/

/* footer (#colophon) は親幅いっぱいに */
#colophon {
  clear: both; 
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box;
  overflow-x: hidden;
}
#colophon {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  margin: 0 auto;
  padding: 20px 15px;
  background-color: #f5f5f5;
  clear: both;
  display: block;
  position: relative;
  overflow: hidden;
  text-align: center;
  overflow-x: hidden;
}
#colophon .site-info {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 10px;
  box-sizing: border-box;
  word-wrap: break-word;
  white-space: normal;
}
#colophon {
	background: #999 !important;
	color: #fff;
}
	
/* =========================
   スマホ固定フッター
========================= */
.sp-fixed-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(135deg, #b30000, #e60023);
  display: flex;
  flex-direction: column;
  z-index: 9999;
  box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.2);
}

/* 上段4カラム */
.sp-nav-row {
  display: flex;
  width: 100%;
  flex-wrap: nowrap; /* ★折り返し禁止 */
}

/* 各ボタン（必ず4等分） */
.sp-nav-item {
  width: 25%;              /* ★強制4分割 */
  text-align: center;
  text-decoration: none;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 0;
  box-sizing: border-box;
  transition: 0.3s ease;
}

/* アイコン */
.sp-nav-item i {
  font-size: 20px;
  margin-bottom: 4px;
  background: #ababab;
  padding: 8px;
  border-radius: 50%;
  transition: 0.3s ease;
}

/* ホバー */
.sp-nav-item:hover {
  color: #ffea3c;
}

.sp-nav-item:hover i {
  background: #fff;
  color: #e60023;
}

/* コピーライト */
.sp-footer-copy {
  text-align: center;
  font-size: 10px;
  color: #fff;
  padding: 6px 0;
  border-top: 1px solid rgba(255,255,255,0.3);
}

/* スマホのみ表示 */
@media (min-width: 768px) {
  .sp-fixed-nav {
    display: none;
  }
}

/* コンテンツが隠れないように */
body {
  padding-bottom: 110px;
}


