@charset "UTF-8";

.lower-mainvisual .page-title {
	margin-bottom: 40px;
}

.lower-mainvisual .txt {
	text-align: center;
}

.lower-mainvisual.pattern-02 {
	color: #595757;
}

.companystaff-container {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-pack: start;
	-ms-flex-pack: start;
	justify-content: flex-start;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
}

.companystaff-companyname {
	letter-spacing: 4px;
	font-size: 14px;
	padding: 10px 20px;
	border: 1px solid #231815;
	margin-bottom: 25px;
	text-align: center;
}

.companystaff-companyname:first-child {
	margin-top: 0;
}

.companystaff-position {
	font-size: 12px;
	margin-bottom: 10px;
	font-weight: bold;
}

.companystaff-subname {
	font-size: 12px;
}

.companystaff-name {
	font-size: 18px;
	font-weight: bold;
}

.companystaff-name span {
	font-size: 12px;
	color: #595757;
	font-family: "Raleway", "Noto Sans JP", "メイリオ", "ヒラギノ角ゴシック ProN W3", "Hiragino Kaku Gothic ProN", "游ゴシック","Meiryo", "sans-serif";
	font-weight: normal;
}

.companystaff-box {
	width: 300px;
	margin-top: 30px;
	position: relative;
}

.companystaff-box a {
	position: absolute;
	display: block;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	z-index: 10;
}

.companystaff-box dl {
	position: relative;
}

.companystaff-box .photo {
	position: relative;
	margin-bottom: 10px;
}

.companystaff-box .photo:before {
	content: "";
	position: absolute;
	display: block;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 0;
	-webkit-transition: 0.3s;
	transition: 0.3s;
	background-color: rgba(0, 0, 0, 0.5);
	opacity: 0;
}

.modal {
	position: relative;
	max-width: 920px;
	background: #fff;
	margin: auto;
}

.modal-inner:after {
	content: "";
	display: table;
	clear: both;
}

.modal-photo {
	background-repeat: no-repeat;
	background-position: center center;
	position: relative;
}

.modal-profile dl {
	width: 100%;
}

.modal-profile dt {
	font-size: 120%;
	vertical-align: top;
	padding: 15px 0;
	border-bottom: 1px solid #808080;
}

.modal-profile dd {
	padding: 15px 0px 0;
}

.modal-profile dd span {
	display: block;
	font-size: 14px;
	padding-top: 5px;
}

.modal-right dl {
	display: flex;
	justify-content: left;
	margin-bottom: 15px;
	gap: 2%;
}

.modal-right dt {
	width: 13%;
}

.modal-right dd {
	width: 85%;
}

.modal-title {
	line-height: 1.8;
	margin-top: 25px;
	margin-bottom: 15px;
	font-weight: bold;
}

.modal-title:first-child {
	margin-top: 0;
}

.modal-text {
	font-size: 14px;
	line-height: 2;
}

/*タブ切り替え全体のスタイル*/
.tabs {
	margin-top: 50px;
	padding-bottom: 40px;
	margin: 0 auto;
}

  /*タブのスタイル*/
  .tab_item_wrap {
	display: flex;
	justify-content: center;
  }
  .tab_item {
	width: 200px;
	height: 50px;
	background-color: rgba(128, 128, 117, 0.7);
	line-height: 50px;
	font-size: 16px;
	text-align: center;
	color: #595757;
	display: block;
	float: left;
	text-align: center;
	transition: all 0.2s ease;
	margin: 0 20px;
	transform: translateX(130%);
	cursor: pointer;
  }
  .tab_item:hover {
	opacity: 0.75;
  }
  @media print, screen and (max-width: 769px) {
	.tab_item {
		width: 47%;
		margin: 0 1.5%;
		transform: inherit;
	}
  }
  
  /*ラジオボタンを全て消す*/
  input[name="tab_item"] {
	display: none;
  }
  
  /*タブ切り替えの中身のスタイル*/
  .tab_content {
	display: none;
	padding: 40px 0 0;
	clear: both;
	overflow: hidden;
  }
  
  
  /*選択されているタブのコンテンツのみを表示*/
  #tokyo:checked ~ #tokyo_content,
  #okinawa:checked ~ #okinawa_content {
	display: block;
  }
  
  /*選択されているタブのスタイルを変える*/
  .tabs input:checked + .tab_item {
	background-color: rgba(46, 55, 77, 0.7);
	color: #fff;
  }

@media print, screen and (min-width: 769px) {

.lower-mainvisual {
	margin-bottom: 50px;
	/* padding: 120px 0 0 0; */
}

.lower-mainvisual .txt {
	letter-spacing: 3px;
}

.companystaff-inner {
	padding-bottom: 100px;
}

.companystaff-companyname {
	margin-top: 60px;
	display: inline-block;
}

.companystaff-name {
	letter-spacing: 3px;
}

.companystaff-name span {
	letter-spacing: 1px;
	padding-left: 13px;
}

.companystaff-box:hover .photo:before {
	height: 100%;
	opacity: 1;
}

.companystaff-box {
	margin-left: 50px;
}

.companystaff-box:first-child,
.companystaff-box:nth-child(2),
.companystaff-box:nth-child(3) {
	margin-top: 0;
}

.companystaff-box:first-child,
.companystaff-box:nth-child(3n+1) {
	margin-left: 0;
}

.modal-inner {
	padding: 45px 50px;
}

.modal-left {
	width: 296px;
	float: left;
}

.modal-right {
	width: 480px;
	float: right;
}

.modal-photo {
	height: 365px;
}

.modal-title {
	font-size: 18px;
	letter-spacing: 2px;
}

.modal-text {
	letter-spacing: 1px;
}

}

@media screen and (max-width: 768px) {

.lower-mainvisual .txt {
	line-height: 1.8;
}

.inner {
	padding-left: 3%;
	padding-right: 3%;
}

.companystaff-inner {
	padding-bottom: 50px;
}

.companystaff-companyname {
	margin-top: 50px;
	margin-bottom: 20px;
}

.companystaff-name span {
	display: block;
}

.companystaff-box {
	width: 48.5%;
	margin-left: 3%;
}

.companystaff-box:first-child,
.companystaff-box:nth-child(2) {
	margin-top: 0;
}

.companystaff-box:first-child,
.companystaff-box:nth-child(2n+1) {
	margin-left: 0;
}

.modal-inner {
	padding: 20px;
	height: 80vh;
	overflow-y: scroll;
}

.modal-profile {
	margin-bottom: 20px;
}

.modal-profile .modal-title {
	margin-bottom: 10px;
}

.modal-profile dd {
	font-size: 14px;
}

.modal-profile dd span {
	font-size: 12px;
}

.modal-right dl {
	display: block;
}

.modal-right dt,
.modal-right dd {
	width: 100%;
}

.modal-text {
	font-size: 12px;
}

}
