/*
Theme Name: NANO Child
Theme URI: https://tcd-theme.com/tcd065
Template: nano_tcd065
Author: TCD
Author URI: https://tcd-theme.com/
Description: "NANO" is a WordPress theme that allows you to create a large corporate website at a low cost. The multi-level site structure organized and transmits a wide range of business info. Also you can easy to design the top page that conveys your company's message and achievements.
Version: 1.20.1754205118
Updated: 2025-08-03 16:11:58

*/
@import url('../nano_tcd065/style.css');


.p-company-header {
  margin-bottom: 94px;
  position: relative;
}

/* テキストは常に最前面 */
.p-company-header__content {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  color: #fff;
  text-align: center;
  width: 100%;
}


.p-company-header__img {
  position: relative;
  text-align: center;
  z-index: 0;
}

/* 画像の上に色を乗せる */
.p-company-header__img::after {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(0, 122, 189, 0.5); /* 50%の青 */
  pointer-events: none;
  z-index: 1; /* 文字より下に配置される場合は調整不要 */
}



.p-company-header__img img {
  max-width: 100%;
  height: auto;
  display: block;
  position: relative;
  z-index: 0;
}

.p-company-header__title {
  margin-bottom: 12px;
}


/* テーブル全体 */
.pb_simple_table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 auto;
  font-family: 'Yu Gothic', 'Hiragino Kaku Gothic Pro', sans-serif;
  font-size: 16px;
  line-height: 1.2; /* PCの行間1.2倍 */
}

/* th（見出しセル） */
.pb_simple_table th {
  background-color: #f4f4f4;
  text-align: left;
  padding: 10px 15px;
  width: 30%;
  vertical-align: top;
  font-weight: 600;
}

/* td（データセル） */
.pb_simple_table td {
  background-color: #fff;
  padding: 10px 15px;
  vertical-align: top;
  line-height: 1.6;
}

/* trの境界線 */
.pb_simple_table tr {
  border-bottom: 1px solid #ddd;
}

/* 小さい画面で縦表示に */
@media screen and (max-width: 768px) {
  .pb_simple_table, 
  .pb_simple_table tbody, 
  .pb_simple_table tr, 
  .pb_simple_table th, 
  .pb_simple_table td {
    display: block;
    width: 100%;
  }

  /* thを中央揃え・背景を横いっぱいに */
  .pb_simple_table th {
    text-align: center;
    background-color: #f9f9f9;
    padding: 12px 0;
    font-weight: 700;
    margin-top: 10px;
  }

  .pb_simple_table td {
    padding: 8px 10px;
    border-bottom: none;
  }

  .pb_simple_table tr {
    margin-bottom: 10px;
    border-bottom: none;
  }
}


/* ======== 基本スタイル ======== */
.mw-form-container {
  max-width: 1180px;
  margin: 30px auto;
  padding: 20px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-family: Arial, sans-serif;
  background-color: #fff;
}

.form-status-bar {
  display: flex;
  justify-content: space-between;
  margin-bottom: 30px;
  flex-wrap: wrap; /* スマホで折り返し */
}

.form-status-bar .step {
  flex: 1;
  text-align: center;
  position: relative;
  padding: 10px 0;
  font-weight: bold;
  color: #999;
  font-size: 14px;
}

.form-status-bar .step::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 100%;
  height: 4px;
  background-color: #eee;
  z-index: -1;
  transform: translateY(-50%);
}

.form-status-bar .step:last-child::after {
  display: none;
}

.form-status-bar .step.active {
  color: #fff;
  background-color: #0073aa;
  border-radius: 4px;
}

.form-status-bar .step.completed {
  color: #fff;
  background-color: #28a745;
  border-radius: 4px;
}

.mw-form-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
}

.mw-form-table th {
  text-align: left;
  padding: 10px;
  background-color: #f5f5f5;
  width: 200px;
  font-size: 14px;
}

.mw-form-table td {
  padding: 10px;
  font-size: 14px;
}

.mw-form-button {
  display: flex !important;
  justify-content: center !important;
  margin-top: 20px;
}

.mw-form-button input[type="submit"],
.mw-form-button button {
  display: inline-block;
  padding: 12px 28px;
  background-color: #007abd;
  color: #fff;
  font-size: 1rem;
  font-weight: bold;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 122, 189, 0.3);
  transition: all 0.3s ease;
}

.mw-form-button input[type="submit"]:hover,
.mw-form-button button:hover {
  background-color: #005f8f;
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 20px rgba(0, 122, 189, 0.5);
}

.mw-form-button input[type="submit"]:active,
.mw-form-button button:active {
  transform: translateY(0) scale(0.98);
  box-shadow: 0 3px 8px rgba(0, 122, 189, 0.4);
}

.required {
  color: red;
  margin-left: 4px;
}

/* ======== レスポンシブ対応 ======== */
@media (max-width: 768px) {
  .mw-form-container {
    padding: 15px;
  }

  .mw-form-table th,
  .mw-form-table td {
    display: block;
    width: 100% !important;
    text-align: left;
    padding: 8px;
  }

  .mw-form-table th {
    background-color: transparent;
    font-weight: bold;
    font-size: 15px;
    border-bottom: none;
    margin-top: 10px;
  }

 .form-status-bar {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 8px;
  }

  .form-status-bar .step {
    font-size: 13px;
    padding: 6px;
  }

  .mw-form-button input[type="submit"],
  .mw-form-button button {
    width: 100%; /* スマホでは横幅いっぱい */
    font-size: 1rem;
  }
}




/* font-size - フォントサイズ */
.text70 { font-size: 70%; }

.text80 { font-size: 80%; }

.text90 { font-size: 90% !important; }

.text100 { font-size: 100%; }

.text110 { font-size: 110%; }

.text120 { font-size: 120%; }

.text130 { font-size: 130%; }

.text140 { font-size: 140%; }

.text150 { font-size: 150%; }

.text160 { font-size: 160%; }

.text170 { font-size: 170%; }

.text180 { font-size: 180%; }

.text190 { font-size: 190%; }

.text200 { font-size: 200%; }

.text210 { font-size: 210%; }

.text220 { font-size: 220%; }

.b { font-weight: 700; }



.top_message {
  font-size: 1.1rem;       /* 文字サイズ */
  font-weight: normal;
  color: white;            /* 白文字 */
  text-align: justify;     /* 両端揃え */
  max-width: 800px;
  margin: 0 auto;          /* ページ中央にブロック全体を配置 */
  line-height: 1.8;

  /* アニメーション設定 */
  opacity: 0;
  transform: translateY(20px);
  animation: fadeSlide 2s ease forwards;
  animation-delay: 0.5s;   /* 遅延を調整可能 */
}

/* アニメーション定義 */
@keyframes fadeSlide {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  50% {
    opacity: 0.5;
    transform: translateY(10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* スマートフォン対応 */
@media screen and (max-width: 768px) {
  .top_message {
    font-size: 110%;
  }
}


/* 共通設定 */
.benefits {
  display: flex;
  gap: 40px;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 0px;
  background: none; /* 背景なし */
	margin-left:0 !important;
}

.benefits-column {
  flex: 1;
  min-width: 220px;
}

.benefits-column ul {
  list-style: none; /* デフォルトマーカーを非表示 */
  padding: 0;
  margin: 0 0 16px 0;
  width: 100%;
}

.benefits-column li {
  margin-bottom: 12px;
  line-height: 1.8;
  font-size: 18px;
  padding: 6px 10px;  /* 文字周りの余白 */
  list-style: none;   /* ●を強制的に非表示 */
  opacity: 0;
  transform: translateY(30px);  /* より下から開始 */
  animation: fadeInUp 0.8s ease forwards;
}

/* デスクトップ交互背景色 */
.benefits-column li:nth-child(odd) {
  background-color: #e6f0fa;
  border-radius: 6px;
}

.benefits-column li:nth-child(even) {
  background-color: #f2f7fc;
  border-radius: 6px;
}

/* アニメーション順番設定 */
.benefits-column li:nth-child(1) { animation-delay: 0s; }
.benefits-column li:nth-child(2) { animation-delay: 0.1s; }
.benefits-column li:nth-child(3) { animation-delay: 0.2s; }
.benefits-column li:nth-child(4) { animation-delay: 0.3s; }
.benefits-column li:nth-child(5) { animation-delay: 0.4s; }
/* 必要に応じて li の数に合わせて延長 */

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  50% {
    opacity: 0.5;
    transform: translateY(15px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.benefits-column li small {
  display: block;
  font-size: 13px;
  color: #555;
  margin-top: 2px;
}

/* スマホ表示用 */
@media (max-width: 767px) {
  .benefits {
    flex-direction: column;
	margin-left:0 !important;
    gap: 0;
    padding: 0;
    background: none; /* 背景なし */
  }

  .benefits-column {
    flex: 1 1 100%;
    min-width: 0;
		margin-left:0 !important;
  }

  .benefits-column ul {
    margin: 0;
    padding: 0;       /* ul の左右余白は 0 */
    width: 100%;
  }

  .benefits-column li {
    background: none; /* 背景色なし */
    margin-bottom: 0; /* li間のマージンなし */
    padding: 6px 0 6px 10px; /* 左に10pxだけ余白確保 */
    list-style: none; /* ●非表示 */
  }
}




/* インタビューサムネイル */
.interview {
  display: block;               /* aタグをブロック要素化 */
  position: relative;
  width: 100%;                  /* 必要に応じて調整 */
  max-width: 680px;             /* 仮の最大幅 */
  aspect-ratio: 3 / 2;          /* 比率固定 */
  overflow: hidden;
  border-radius: 8px;
  cursor: pointer;
  background: #000;
  text-decoration: none;        /* 下線を消す */
  color: inherit;
  line-height: 0;               /* ← 画像下の余白を確実に消す */
}

.interview__img {
  position: absolute;           /* ← 画像を上下左右ぴったりに */
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transition: opacity 420ms cubic-bezier(.2,.8,.2,1), 
              transform 420ms cubic-bezier(.2,.8,.2,1);
}

.interview__img--base {
  z-index: 1;
}

.interview__img--overlay {
  z-index: 2;
  opacity: 0;
  transform: scale(1.03);
  pointer-events: none;
}

/* --- カラーオーバーレイ層 --- */
.interview::after {
  content: "";
  position: absolute;
  inset: 0;
  background: #007abd;
  opacity: 0;
  z-index: 2;
  transition: opacity 420ms ease;
  pointer-events: none;
}

/* --- 中央ラベル --- */
.interview__label {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 22px 32px;
  border: 2px solid white;
  border-radius: 6px;
  color: white;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  opacity: 0;
  z-index: 3;
  transition: opacity 420ms ease;
  pointer-events: none;
}

/* --- ホバー時の演出 --- */
.interview:hover .interview__img--overlay {
  opacity: 1;
  transform: scale(1);
}

.interview:hover::after {
  opacity: 0.4;
}

.interview:hover .interview__label {
  opacity: 1;
}


/* --- インタビュー名前 --- */
.interview_name {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  margin-top: 5px;
}

.interview_name div {
  display: inline-block;
  padding: 10px 15px;
  font-weight: bold;
  color: #fff;
  border-radius: 4px;
  background: #007abd;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeSlide 1.5s ease forwards;

  /* ホバーアニメーション用にスムーズな変化を追加 */
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

/* 順番表示 */
.interview_name .post {
  font-size: 16px;
  animation-delay: 0.3s;
}

.interview_name .employee_Name {
  font-size: 42px;
  animation-delay: 0.6s;
}

.interview_name .joining_date {
  font-size: 20px;
  animation-delay: 0.9s;
}

/* アニメーション定義 */
@keyframes fadeSlide {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  50% {
    opacity: 0.5;
    transform: translateY(10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ====== ホバー時のアニメーション ====== */
.interview_name div:hover {
  transform: translateY(-5px); /* 少し浮き上がる */
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
  background: #0096d1; /* 少し明るい青に変化 */
}


/* --- 求職票 --- */
.job-table {
  width: 100%;
  max-width: 100%;
  border-collapse: collapse;
  font-family: "Noto Sans JP", sans-serif;
  table-layout: auto;
  word-break: break-word;
}

.job-table th, .job-table td {
  border: 1px solid #ddd;
  padding: 10px;
  vertical-align: top;
  font-size: 15px !important;
}

.job-table th {
  background-color: #007abd !important;
  color: #fff;
  width: 200px;
  text-align: left;
  font-weight: 700 !important;
}

.job-table td {
  background-color: #f9f9f9;
}

.job-table a {
  color: #007abd;
  text-decoration: none;
}

.job-table a:hover {
  text-decoration: underline;
}

/* スマホでは縦並びにする */
@media (max-width: 600px) {
  .job-table, .job-table tr, .job-table th, .job-table td {
    display: block;
    width: 100%;
  }

  .job-table th {
    margin-top: 10px;
  }

  .job-table td {
    margin-bottom: 10px;
  }

  .job-table th, .job-table td {
    white-space: normal; /* 長い文字列も折り返す */
  }
}


/* 見出しデザイン */
.recruit_title {
  position: relative;
  padding: 10px 15px;
  color: #007abd;
  font-size: 1.9em !important;
  font-weight: bold;
  text-align: center;         /* センター揃え */
  opacity: 0;
  transform: translateY(20px);
  animation: fadeSlide 2s ease forwards;
  animation-delay: 0.8s;      /* 遅延（必要に応じて調整） */
}

/* アンダーライン風アクセント */
.recruit_title::after {
  content: "";
  display: block;
  width: 100px;
  height: 3px;
  background-color: #007abd;
  margin: 8px auto 0;  /* センター揃え */
  border-radius: 2px;
}

/* アニメーション定義 */
@keyframes fadeSlide {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  50% {
    opacity: 0.5;
    transform: translateY(10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* アンケート回答 */
.interview_answer {
  font-size: 18px  !important;
  line-height: 1.8;
  color: #333;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeSlideIn 1.5s ease forwards;
  animation-delay: 0.3s; /* 遅延は調整可能 */
}

/* アニメーション定義 */
@keyframes fadeSlideIn {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  50% {
    opacity: 0.5;
    transform: translateY(10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* CSS */
.button-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
}

.bt_back_rectuit {
  display: inline-block;
  padding: 30px 50px;
  background-color: #007abd;
  color: #fff !important;
  text-decoration: none;
  font-size: 16px;
  font-weight: bold;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.bt_back_rectuit:hover {
  background-color: #005f8a;
  transform: translateY(-3px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}


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



.cform th {
	font-size: 14px;
	width: 35%; /*変なところで改行される場合はここの数字を変更します。*/
	border-bottom: solid 1px #d6d6d6;
	padding: 12px 0 12px 20px;
	font-weight: normal;
	text-align: left;
}

.cform td {
	font-size: 14px;
	line-height: 180%;
	border-bottom: solid 1px #d6d6d6;
	padding: 5px 15px;
}

.cform {
	width: 100%;
	margin: auto;
}

/* --------------------
共通フォームボタン
-------------------- */
.cform [type=submit] {
	display: inline-block;
	font-size: 20px;
	padding: 10px 30px;
	text-decoration: none;
	background: linear-gradient(90deg, #ff8f00, #ffb300);
	color: #FFF;
	border-bottom: solid 4px #B17C00;
	border-radius: 3px;
	cursor: pointer;
	transition: all 0.4s ease;
	background-size: 200% auto;
}

/* ホバー時アニメーション */
.cform [type=submit]:hover {
	background-position: right center; /* グラデーションが流れる */
	transform: translateY(-3px);
	box-shadow: 0 6px 12px rgba(0,0,0,0.3);
}

/* --------------------
特定フォーム (#mw_wp_form_mw-wp-form-84)
-------------------- */
#mw_wp_form_mw-wp-form-84 > form > p:nth-child(4) > input[type=submit] {
	background: linear-gradient(90deg, #0d5b86, #158dc4);
	width: 20%;
	max-width: 550px;
	min-width: 220px;
	margin: 30px auto;
	display: block;
	border: 1px #0d5b86 solid;
	text-align: center;
	padding: 20px;
	color: #fff;
	border-radius: 4px;
	transition: all 0.4s ease;
	background-size: 200% auto;
	cursor: pointer;
}

/* ホバー時アニメーション */
#mw_wp_form_mw-wp-form-84 > form > p:nth-child(4) > input[type=submit]:hover {
	background-position: right center; /* グラデーションが流れる */
	transform: translateY(-4px);
	box-shadow: 0 6px 15px rgba(13,91,134,0.4);
}





.cform input[type=text],{
width: 100%;
}

/*
.cform input[type=tel]{
	width: 100% !important;
}
*/
.cform input[type=text],
.cform option,
.cform textarea,
.cform input[type=tel],
.cform input[type=email],
.cform input[type=search],
.cform input[type=url] {
	width: 100%;
}



.required-srt {
	font-size: 8pt;
	padding: 2px;
	background: #ce0000;
	color: #fff;
	border-radius: 3px;
	margin-left: 10px;
	vertical-align: middle;
}

@media only screen and (max-width:767px) {
	.cform th,
	.cform td {
		width: 100%;
		display: block;
		border-top: none;
	}
}
/*
@media only screen and (max-width:767px) {
	.cform th:nth-child(1) {
		border-top: solid 1px #d6d6d6 !important;
	}
}
*/
.submit-btn input {
	background: linear-gradient(90deg, #007abd, #23a6d5);
	width: 20%;
	max-width: 550px;
	min-width: 220px;
	margin: 30px auto;
	display: block;
	border: 1px #007abd solid;
	text-align: center;
	padding: 20px;
	color: #fff;
	border-radius: 4px;
	cursor: pointer;
	transition: all 0.4s ease;
	background-size: 200% auto; /* グラデーションを動かすために必要 */
}

/* ホバー時のアニメーション */
.submit-btn input:hover {
	background-position: right center; /* グラデーションが流れる */
	transform: translateY(-4px);
	box-shadow: 0 6px 15px rgba(0, 122, 189, 0.4);
}


.top_message_sign {
  text-align: left;       /* 左寄せ */
  margin-top: 30px;       /* 上のコンテンツとの余白 */
  font-family: "Yu Gothic", "Hiragino Kaku Gothic Pro", sans-serif;
  line-height: 1.5;
  color: #333;
}

/* 会社名 */
.top_message_sign .company-name_sign {
  font-size: 1.1rem;        /* 普通サイズ */
  font-weight: bold;
  color: #007abd;
  margin: 0;
}

/* 役職 */
.top_message_sign .position_sign {
  font-size: 0.9rem;      /* 会社名より少し小さい */
  margin: 2px 0;
  color: #000;
  font-weight: bold;
}

/* 名前 */
.top_message_sign .ceo-name_sign {
  font-size: 2rem;      /* 名前を大きく表示 */
  font-weight: bold;
  margin-top: 5px;
  color: #000;
}
