@charset "utf-8";

/* =====================
  layout base
===================== */
.index_design_content1,
.index_free_space{
  width:990px;
  max-width:100%;
  box-sizing:border-box;
}

#global_menu{background:#fff}

.num6,
.num8{width:100%}

.num6{background:#f5f5f5}
.num8{background:#fff;padding-bottom:0!important}

/* =====================
  heading / text
===================== */
.styled_h2_daino{font-size:18px}
.styled_h3_daino{font-size:40px;border-bottom:1px solid #fff;margin-bottom:.5em}

.styled_h2_daino1{
  position:relative;
  padding-top:.75em;
  color:#333;
  margin:150px 0 50px!important;
  text-align:center;
  font-size:16px!important;
}
.styled_h2_daino1::before{
  position:absolute;
  left:50%;
  bottom:.75em;
  transform:translateX(-50%);
  content:attr(data-word);
  color:#07182c;
  font-size:50px;
  font-weight:800;
  line-height:1;
  pointer-events:none;
  z-index:1;
}

.styled_h3_daino1{
  background:#07182c;
  color:#fff;
  text-align:center;
  padding:.5em 0!important;
}

.post_row p{font-size:16px}

/* =====================
  block styles
===================== */
.post_col_daino{background:#f5f5f5;padding-top:25px}
.post_col_daino1{background:#fafafa;padding-top:25px}

.styled_ul_daino{border-top:1px dashed #000;padding:25px 0 0}
.styled_ul_daino ul{height:168px}

.styled_p_daino{font-size:16px;text-align:center}
.styled_span_daino{background:#888;color:#fff;padding:.25em .5em;margin-right:10px}

.styled_works{
  color:#07182c;
  margin:0 50px;
  padding-top:1px;
}

/* =====================
  works table（★安定版）
===================== */
.post_content table.works-table{
  width:100%;
  max-width:100%;
  border-collapse:collapse;
  table-layout:auto; /* 固定しない */
  box-sizing:border-box;
}

.post_content table.works-table td{
  padding:12px 14px;
  border:1px solid #ddd;
  vertical-align:top;
  background:#fff;
  word-break:break-word;
  overflow-wrap:anywhere;
  box-sizing:border-box;
}

/* zebra */
.post_content table.works-table tbody tr:nth-child(even) td{
  background:#f4f4f4!important;
}

/* 1列目を強調 */
.post_content table.works-table td:first-child{
  font-weight:700;
}

/* 列幅比率（重要） */
.post_content table.works-table td:nth-child(1){width:55%}
.post_content table.works-table td:nth-child(2){width:20%}
.post_content table.works-table td:nth-child(3){width:25%}

/* =====================
  mobile fix（壊さない）
===================== */
@media(max-width:768px){

  /* 固定幅解除 */
  .index_design_content1,
  .index_free_space{
    width:100%;
    max-width:100%;
  }

  .styled_works{margin:0}

  /* tableはtableのまま、余白と文字だけ調整 */
  .post_content table.works-table td{
    padding:8px;
    font-size:14px;
  }

  html,body{
    overflow-x:hidden;
  }
}
.styled_h2_daino3 {
	color: #555;
	border-bottom: solid 2px #e50012;
	padding: 10px 0!important; text-align:center; font-size:35px!important;
}
.styled_h2_daino3:first-letter {
	color: #e50012;
}
.styled_h2_daino3 {
	border-bottom: solid 3px #e50012;
	padding: 10px 0;
}
#page_header .headline_area:before {
    -webkit-transform: skewX(0deg)!important;
    transform: skewX(0deg)!important;
}

.styled_h2_daino2 {
	position: relative; font-size:23px!important;
	padding: 0.75em 1.5em!important; font-weight:700!important;
	background:linear-gradient(to top,#b8000f 0%,#e50012 100%);


	color: #fff;
}
.grecaptcha-badge { visibility: hidden; }
.reCAPTCHA { font-size: 14px; margin-top: 25px; line-height: 1.5; }
.required { background: #C15759; color: #fff; font-size: 79%; padding: 3px 5px; margin-left: 1em; }
.any { background: #888; color: #fff; font-size: 79%; padding: 3px 5px; margin-left: 1em; }

/* ====================================
   Contact Form 7 Design for TCD FORCE
   ==================================== */

/* フォーム全体の枠 */
.contact-form-wrapper {
    max-width: 800px;
    margin: 0 auto;
    font-size: 15px;
    color: #333; /* 文字色（背景が黒の場合は #fff に変更してください） */
}

/* 各項目の行（PC時は横並び） */
.contact-item {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    border-bottom: 1px solid #ddd; /* 下線 */
    padding: 20px 0;
    margin: 0;
}

.contact-item:first-child {
    border-top: 1px solid #ddd; /* 最初の行の上線 */
}

/* ラベル（左側：項目名） */
.contact-item dt {
    width: 30%; /* PCでの幅 */
    font-weight: bold;
    padding-right: 20px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
}

/* 入力エリア（右側） */
.contact-item dd {
    width: 70%; /* PCでの幅 */
    margin: 0;
    box-sizing: border-box;
}

/* 必須マークのデザイン */
.contact-item .required {
    background: #E60012; /* ロゴの赤色 */
    color: #fff;
    font-size: 11px;
    padding: 2px 8px;
    margin-left: 10px;
    border-radius: 2px;
    vertical-align: middle;
}

/* 入力フォーム自体のデザイン */
.contact-item input[type="text"],
.contact-item input[type="email"],
.contact-item input[type="tel"],
.contact-item select,
.contact-item textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    background: #f9f9f9;
    border-radius: 4px;
    box-sizing: border-box;
    font-size: 16px; /* スマホでのズーム防止 */
    transition: 0.3s;
}

/* 入力時のフォーカス色 */
.contact-item input:focus,
.contact-item select:focus,
.contact-item textarea:focus {
    outline: none;
    border-color: #E60012; /* 入力中は赤枠に */
    background: #fff;
    box-shadow: 0 0 5px rgba(230, 0, 18, 0.2);
}

/* 送信ボタンエリア */
.contact-submit {
    text-align: center;
    margin-top: 40px;
}

/* 送信ボタンのデザイン */
.contact-submit input[type="submit"] {
    background: #E60012; /* ロゴの赤色 */
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    padding: 15px 60px;
    border: none;
    cursor: pointer;
    border-radius: 50px; /* 丸みをつける */
    transition: 0.3s;
    box-shadow: 0 3px 6px rgba(0,0,0,0.2);
    width: auto; /* TCDテーマのCSS上書き */
    min-width: 250px;
}

/* 送信ボタンホバー時 */
.contact-submit input[type="submit"]:hover {
    background: #333; /* 黒色に変化 */
    opacity: 1;
}

/* ====================================
   スマホ・タブレット対応（レスポンシブ）
   ==================================== */
@media screen and (max-width: 768px) {
    .contact-item {
        display: block; /* 縦並びにする */
        padding: 15px 0;
    }

    .contact-item dt {
        width: 100%;
        margin-bottom: 8px;
    }

    .contact-item dd {
        width: 100%;
    }
    
    .contact-submit input[type="submit"] {
        width: 100%; /* スマホではボタン幅いっぱい */
    }
}

/* ====================================
   Contact Form 7 デフォルトスタイルのリセット
   ==================================== */
.wpcf7 {
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;       /* 枠線を消す */
    background: transparent !important; /* 背景色を透明にする */
    font-size: inherit !important; /* フォントサイズを親要素に合わせる */
    box-shadow: none !important;   /* 影があれば消す */
}

.contact-submit input[type="submit"] {
    padding: 0 !important; /* パディングを一旦ゼロにする */
    height: 60px;          /* 高さを固定 */
    line-height: 60px;     /* 文字を垂直方向の中央に */
    width: 300px;          /* 幅を指定（お好みで変更可） */
    box-sizing: border-box;
}

@media screen and (max-width: 768px) {
    .styled_h2_daino3 {
        font-size: 25px !important;
    }
}
/* ====================================
   採用情報ページ (Recruit) - ライトモード
   ==================================== */

/* コンテナ全体 */
.recruit-container {
    max-width: 900px;
    margin: 0 auto;
    color: #333; /* 文字を黒に */
}

/* メッセージエリア */
.recruit-message {
    text-align: center;
    margin-bottom: 60px;
    line-height: 1.8;
}


/* 募集要項テーブル (dl/dt/dd) */
.recruit-table {
    border-top: 1px solid #ddd; /* 枠線は薄いグレー */
}

.recruit-table dl {
    display: flex;
    flex-wrap: wrap;
    border-bottom: 1px solid #ddd;
    margin: 0;
    padding: 20px 0;
}

.recruit-table dt {
    width: 30%;
    font-weight: bold;
    padding-left: 20px;
    box-sizing: border-box;
    display: flex;
    align-items: center; /* 垂直中央 */
    color: #333;
}

.recruit-table dd {
    width: 70%;
    margin: 0;
    padding-right: 20px;
    box-sizing: border-box;
    line-height: 1.8;
    color: #444; /* 本文は少しソフトな黒 */
}

/* 応募ボタンエリア */
.recruit-cta {
    text-align: center;
    margin-top: 60px;
    padding: 40px;
    background: #f9f9f9; /* 背景をごく薄いグレーに */
    border: 1px solid #eee;
}

.recruit-btn {
    display: inline-block;
    background: #E60012;
    color: #fff !important;  /* ★ここを変更：文字色を強制的に白にする */
    text-decoration: none !important; /* 下線を強制的に消す */
    font-size: 18px;
    font-weight: bold;
    padding: 15px 50px;
    border-radius: 50px;
    
    transition: 0.3s;
    box-shadow: 0 3px 6px rgba(0,0,0,0.1);
    line-height: 1.2; /* 行の高さを整える */
}

.recruit-btn:hover {
    background: #333;
    color: #fff !important; /* ホバー時も文字は白 */
    box-shadow: none;
}

/* スマホ対応 */
@media screen and (max-width: 768px) {
    .recruit-table dl {
        display: block;
        padding: 15px 0;
    }
    .recruit-table dt {
        width: 100%;
        margin-bottom: 8px;
        padding-left: 0;
        color: #E60012; /* スマホ時は項目名を赤にして目立たせる */
    }
    .recruit-table dd {
        width: 100%;
        padding-right: 0;
    }

}
@media screen and (max-width: 768px) {
    .recruit-message {
        text-align: left !important; /* スマホでは左寄せ */
        padding: 0 15px;             /* 画面端にくっつかないよう余白を追加 */
    }
	.recruit-message br{ display:none;}
}

@media screen and (max-width: 768px) {
    .styled_h2_daino2 {
	font-size:18px!important;}
}
#global_menu > ul {
    padding-left: 285px; /* 左に余白を入れて、全体を右に押す */
    /* margin: 0 auto; はそのまま効かせます */
}
.recruit-banner-img {
    margin: 40px 0;       /* 上下に隙間を空ける */
    border-radius: 8px;   /* 角を少し丸くする */
    overflow: hidden;     /* 丸角からはみ出さないように */
    box-shadow: 0 5px 15px rgba(0,0,0,0.2); /* 影をつけて浮き上がらせる */
    transition: 0.3s;     /* アニメーション用 */
}

/* マウスを乗せた時に少しふわりと動く */
.recruit-banner-img:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}