/*
Theme Name: Lightning Child
Theme URI: 
Template: lightning
Description: 
Author: 
Tags: 
Version: 0.6.0
*/

/* －－－－－－－－－－
 * Topページ
 * －－－－－－－－－－ */
/* お知らせ */
.notice-article-wrapper {
	border: 1px solid #AAA;
	background-color: #F7F7F7;
	padding: 0.25rem 1rem;
	margin-bottom: 0.5rem;
}
/* フラッシュ */
.flash-container {
	border: 1px solid #AAA;
	padding: 0.25rem 1rem;
}
.flash-container ul {
	margin-top: 0;
}
.flash-title {
	display: inline;
	font-size: 1em;
	margin-right: 0.5rem;
	margin-bottom: 0 !important;
}
/* フラッシュ > modal関連 */
.flash-title-modal {
	color: var(--vk-color-text-link-hover);
}
.flash-title-modal:hover {
	text-decoration-line: underline;
}
.flash-dialog {
	box-sizing: border-box;
	width: min(36rem, calc(100% - 2rem));
	max-height: 80dvh;
	overflow: auto; /* スクロールバー */
	margin: auto;
	padding: 1rem;
	border: 0;
	border-radius: .75rem;
	color: #000;
	background: #fff;
}
.flash-dialog::backdrop {
	background: rgb(0 0 0 / 55%); 
}
.flash-dialog-header {
	text-align: right;
	margin-bottom: 0.5rem;
}
/* 閉じるボタン */
.flash-dialog-close {
	/*
	position: absolute;
	right: 0.2rem;
	top: 0.2rem;
	*/
	color: #fff;
	padding: 0.5rem;
	background-color: #33333377;
	border: 1px solid #33333377;
	border-radius: 0.7rem;
	cursor: pointer;
}
.flash-dialog-container button:focus-visible {
  outline: 3px solid #1769aa;
  outline-offset: 3px;
}
.flash-dialog-title {
	font-size: 1.2em;
	margin-bottom: 0.5rem;
	border-bottom: 1px solid #E2E2E2;
}
/* ヘッドライン */
.headline-container {
	width: 100%;
}
.headline-article-wrapper {
	padding: 0.5rem 0;
	border-bottom: 1px solid #E2E2E2;
}
.headline-article-title{
	margin-bottom: 0.5rem;
}
.headline-article-title a {
	color: var(--vk-color-text-link-hover);
}
.headline-article-title a:hover {
	text-decoration-line: underline;
}
@media (min-width: 576px) {
	.headline-article-contents{
		/* float状態の子要素(画像)の高さを認識させる */
		overflow: auto; 
	}
	.headline-article-image{
		float: left;
		margin-right: 0.5rem;
		display: flex; 			 /* 画像の表示制御 */
		justify-content: center; /* 左右中央寄せ */
		align-items: center; 	 /* 上下中央寄せ */
		overflow: hidden; 		 /* 子要素がはみ出した場合に切捨 */
		width: 240px; 			 /* 画像の幅は常に240px */
		max-height: 240px;　		/* 画像の高さは最大240px */
	}
	.headline-article-image > img{
		width: 100%;
	}
}
@media (max-width: 575px) {
	.headline-article-image {
		text-align: center;
		margin-bottom: 0.5rem;
	}
	.headline-article-image > img{
		max-height: 200px;		/* 縦長の画像が設定された場合の予防策 */
	}
}
/* 記事体広告 */
/* 基本的にはヘッドライン用のCSSを流用してデザイン統一を図る */
/* ヘッドラインより下に記述して必要項目のみ値を上書き */
.advertise_icon {
	font-size: 0.9em;
	/* color: #D7D7D7; */
	border: 1px solid #D7D7D7;
	margin-left: 0.5rem;
}
@media (min-width: 576px) {
	.advertise-article-image{
		max-height: 160px;　		/* 画像の高さは最大160px */
	}
}
@media (max-width: 575px) {
	.advertise-article-image > img{
		max-height: 160px;
	}
}
/* バナー広告 */
.banner-container {
	width: 100%
}
.banner-wrapper {
	width: 100%;
	margin-bottom: 0.5rem;
	text-align: center;
}
.banner-wrapper > a:hover {
	opacity:0.7;
}
/* バナー広告（フッター専用） */
.banner-container-footer {
	padding-top: 0.8rem;
	border-top: 1px solid #D7D7D7;
}
/* 業界短信 */
.tansin-container {
	width: 100%;
}
.tansin-item-top-wrapper {
	/*border-top: solid 1px #EAEAEA;*/
	border-bottom: solid 1px #EAEAEA;
	padding: 0.25rem 0;
	/*margin-bottom: -1px;*/
}
.tansin-article-title-top {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	/*margin-bottom: 0.25rem;*/
}
.tansin-article-title-top > h3 {
	font-size: 1.1em;
	/*margin-right: 0.5rem;*/
	margin-bottom: 0 !important;
}
.tansin-article-title-top a {
	color: var(--vk-color-text-link-hover);
}
.tansin-article-title-top a:hover {
	text-decoration-line: underline;
}
.tansin-article-contents-top {
	font-size: 1em;
}
.tansin-article-info-top > time {
	color:#8A8A8A;
	margin-right: 0.5rem;
}
/* －－－－－－－－－－
 * 採用情報ページ > 一覧表示
 * －－－－－－－－－－ */
.guideline_list {
	padding-left: 0;
	list-style: none;
	display: flex;
}
/*
.guideline_list li {
	margin: 0;
}
*/
.guideline_list li:hover{
  opacity:0.7;
}
.guideline_list li a {
	color: #000;
	text-decoration: none;
}
.guideline_list li a .thum {
	text-align: center;
}
.tag_wrapper {
	display: flex;
}
.guideline_list li a .tag::before {
	content:"#";
}
.guideline_list li a .tag {
	color: #e40001;
	font-weight: 400;
	font-size: 0.8em;
	margin: .5rem 2px 0 0;
}
.guideline_list a .title {
	margin: 0;
	font-weight: 600;
}
@media screen and (min-width: 992px) {
	.guideline_list li {
		width: 23%;
		margin-right:2.5%;
	}
	.guideline_list a .thum {
		height: 180px;
	}
	.guideline_list a .thum img {
		max-height: 180px;
	}
}
@media screen and (min-width: 768px) {
	.guideline_list li {
		width: 23%;
		margin-right:2.5%;
	}
	.guideline_list a .thum {
		height: 150px;
	}
	.guideline_list a .thum img {
		max-height: 150px;
	}
}
@media screen and (max-width: 767px) {
	.guideline_list {
		justify-content: space-between;
		flex-wrap: wrap;
	}
	.guideline_list li {
		width: 48.5%;
	}
	.guideline_list a .thum {
		height: 120px;
	}
	.guideline_list a .thum img {
		max-height: 120px;
	}	
	.guideline_list a .title {
		line-height: 1.6;
	}
}
/* －－－－－－－－－－
 * 採用情報ページ > 個別表示
 * －－－－－－－－－－ */
.guideline_table th {
	text-align: left;
	width: 25%;
	background-color: #eee;
}
.guideline_table th ,.guideline_table td {
	vertical-align: middle;
	padding: 2.4% 3.4%;
	border: 1px solid #ddd;
	box-sizing: border-box;
}

/* －－－－－－－－－－
 * 業界短信ページ
 * －－－－－－－－－－ */
.tansin-container {
	width: 100%;
}
.tansin-item-wrapper {
	border-top: solid 1px #EAEAEA;
	border-bottom: solid 1px #EAEAEA;
	padding: 0.75rem 0;
	margin-bottom: -1px;
}
.tansin-article-title {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
}
.tansin-article-title > h3 {
	font-size: 1.2em;
	margin-bottom: 0 !important;
}
.tansin-article-title a {
	color: var(--vk-color-text-link-hover);
}
.tansin-article-title a:hover {
	text-decoration-line: underline;
}
.tansin-article-contents {
	margin-bottom: 0.25rem;
}
.tansin-article-info {
	display: flex;
	align-items: center;
}
.tansin-article-info > time {
	color:#8A8A8A;
	margin-right: 0.5rem;
}

/* －－－－－－－－－－
 * お問い合わせ(CF7)
 * －－－－－－－－－－ */
/* テーブル外枠 */
.form-CF7-wrap{
  max-width: 800px;
  margin:0 auto;
  padding:30px;
  background: #fff;
}
/* tableデザイン調整 */
.table-CF7-inquiry{
  width: 100%;
  border-collapse: collapse;
  border:solid 1px #d7d7d7;
  margin-bottom:30px;
  background:#fff; 
}
.table-CF7-inquiry th, 
.table-CF7-inquiry td{
	vertical-align: top;
  border:solid 1px #d7d7d7;
  padding:10px;
}
.table-CF7-inquiry th{
  text-align:left;
  padding:10px;
  width:30%;
  background:#f7f7f7;
}
.table-CF7-inquiry td{
  width: 70%;
  padding:10px;
  font-size:13px;	
}
/* ラベル全体の装飾 */
.table-CF7-inquiry label{
  color:#012256;
  font-weight:bold;
  font-size:1.2em;
}
/* 「必須」ラベルの装飾 */
.required{
	font-size:.8em;
	color:#fff;
	background-color:#ffaa56;
	padding:3px 7px;
	margin-right: 0.5rem;
	border-radius:5px;
}
/* 「任意」ラベルの装飾 */
.optional{
	font-size:.8em;
	color:#fff;
	background-color:#5f90cc;
	padding:3px 7px;
	margin-right: 0.5rem;
	border-radius:5px;
}
/* 各コントロールの装飾 */
.form-CF7-wrap input[type="text"],
.form-CF7-wrap input[type="email"],
.form-CF7-wrap input[type="tel"],
.form-CF7-wrap textarea,
.form-CF7-wrap select{
  width: 100%;
  border: #cfcfcf solid 1px;
  background:#fff;
  border-radius:5px;
  padding:10px;
}
/* 個別処理 */
/* テキスト入力欄のIDがroomnumberの場合にデザイン調整 */
.form-CF7-wrap input[type="text"]#roomnumber {
	width: 8rem;
	margin-right: 8px;
}
/* テキスト入力欄がreadonlyの場合にデザイン調整 */
.form-CF7-wrap input[type="text"][readonly] {
	background-color: #CCC;
}
/* 下余白の調整 */
.table-CF7-inquiry p {
    margin-bottom: 0;
}
/* テーブル以外のデザインを調整 */
/* 注意書き */
.notice-textarea{
	margin-top: 10pt;
}
.notice-textarea label{
  color:#012256;
  font-weight:bold;
  font-size:1.2em;
}

/*送信ボタンの配置設定*/
.submit-box{
  text-align: center;
}
/* reCHAPTCHA用デザイン設定 */
.reCAPTCHA-box{
	margin:20px auto;
}
/*各ボタンのデザイン変更*/
#formbtn,#prevbtn{
  display: block;
  padding:1em 0;
  margin:20px auto;
  width:300px;
  color:#fff;
  font-size:18px;
  font-weight:bold;	 
  border-radius:2px;
  border: none;
}
/*各ボタンマウスホバー時*/
#formbtn:hover,#prevbtn:hover{
  opacity:0.7;
}
/*送信ボタンの背景色*/
#formbtn{
  background:#ffaa56;
}
/* モバイル表示対応 */
@media(max-width:768px){
  .form-CF7-wrap{
    max-width: 100%;
    padding:20px;
  }
  .table-CF7-inquiry th,
	.table-CF7-inquiry td {
   display:block!important;
   width:100%!important;
   border-top:none!important;
   -webkit-box-sizing:border-box!important;
   -moz-box-sizing:border-box!important;
   box-sizing:border-box!important;
  }
  .table-CF7-inquiry tr:first-child th{
   border-top:1px solid #d7d7d7!important;
  }
}