@charset "utf-8";

/* -----------------------------------------------------------
    staff 大
-------------------------------------------------------------- */
.staff-title {
	font-size: 2.2rem;
	font-weight: bold;
	margin-bottom: 50px;
	line-height: 1.5;
	letter-spacing: .05em;
}

.staff-box {
	/* border-bottom: 1px solid #ddd; */
	margin-bottom: 50px;
	/* padding-bottom: 30px; */
}

.staff-main .staff-box:last-of-type {
	margin-bottom: 0;
}

.staff-box-inner,
.staff-flex-wrap .staff-flex{
	/*display: flex;
	gap: 30px;*/
}

.staff-flex-wrap.staff-box-inner{
	display: block;
	margin: 0 40px 0 0;
}

.staff-box-inner p{
	line-height: 2;
	letter-spacing: .05em;
}

.staff-box-inner p:not(:first-of-type){
	margin-top: 20px;
}

.staff-flex-wrap .staff-txt {
	margin: 20px 0 0;
}

.staff-img {
	flex-shrink: 0;
	float: left;
	width: 340px;
	height: 420px;
	margin: 0 25px 15px 0;
	position: relative;
}

.staff-img img {
	width: 100%;
	/* width: 340px; */
  	height: 90%;
	object-fit: cover;
	object-position: center top;
	box-shadow: 3px 3px 7px rgba(0,0,0,0.1);
}

.staff-name {
	margin: 10px 0 15px;
	
}

.staff-name img {
	height: 20px;
}

.staff-info-box {
	background: #f0f0ef;
	column-gap: 25px;
	display: flex;
	flex-wrap: wrap;
	/* margin: 0 40px 20px 0; */
	row-gap: 15px;
	padding: 15px;
}

.staff-info {
	display: flex;
	gap: 10px;
	align-items: center;
}

.staff-info dt {
	background-color: #Fff;
	color: #aba59c;
	flex-shrink: 0;
	padding: 3px 5px 5px 5px;
	line-height: 1;
	font-size: 1.3rem;
	font-weight: 500;
}

.staff-info dd {
	flex-shrink: 1;
}

@media screen and (max-width: 768px) {
	
	.staff-area {
		margin: 20px 0 0;
	}
	
	.staff-box-inner, .staff-flex-wrap .staff-flex {
		display: block;
	}

	.staff-box {
		margin: 0 0 30px;
		padding-bottom: 20px;
	}

	.staff-info {
		gap: 5px;
	}

	.staff-info-box {
		flex-wrap: wrap;
		gap: 15px;
		padding-top: 15px;
		margin: 0 0 15px;
	}

	.staff-txt p {
		line-height: 2.2;
		margin-bottom: 15px;
		font-size: 1.5rem;
	}
	
	.staff-flex-wrap .staff-txt {
		margin: 0;
	}

	.staff-img {
		flex-shrink: 0;
		float: none;
		text-align: center;
		margin: 0 auto;
		width: auto;
		height: auto;
	}

	.staff-img img {
		width: 70%;
		height: 100%;
		object-fit: unset;
	}
	
	.staff-name {
		text-align: center;
		height: 25px;
		margin: 18px 0 15px;
	}
	
	.staff-name img {
		max-height: 100%;
		max-width: 100%;
	}

}

/* -----------------------------------------------------------
    staff 小
-------------------------------------------------------------- */
.staff-sub {
	margin-top: 50px;
}

.staff-sub-list {
	display: flex;
	flex-wrap: wrap;
	gap: 60px;
}

.staff-sub-img{
	height: 420px;
	width: 340px;
}

.staff-sub-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.staff-sub-txtbox {
	padding: 15px 5px;
}

.staff-sub-txt {
	letter-spacing: .05em;
	line-height: 1.8;
}

.staff-sub-name {
	margin-bottom: 15px;
	text-align: center;
}

.staff-sub-name img {
	width: 300px;
}

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

	.staff-sub-list {
		display: block;
	}
	
	.staff-sub-list .staff-sub-item:not(:first-child) {
		margin: 50px auto 0;
	}
	
	.staff-sub-txtbox {
		padding: 0;
	}

	.staff-sub-img {
		height: auto;
		width: 70%;
		margin: 0 auto;
	}
	
	.staff-sub-name {
		height: 25px;
		margin: 13px 0 15px;
	}

	.staff-sub-name img {
		width: auto;
		height: 100%;
	}

}


/* staff_list.css内容 */


.flex {
	display: flex;
  	align-items: center; 
	gap: 72px;  
}
/* 共通レイアウト */
.staff-media {
  display: flex;
  gap: 30px;
  align-items: flex-start;
}

/* 重ねる用 */
.staff-media.is-overlay {
  position: relative;
}

/* 重ねるテキスト */
.staff-media.is-overlay .staff-txt {
  position: absolute;
  bottom: 30px;
  right: 30px;
  background: #fff;
  padding: 8px 20px 8px 20px;
  max-width: 90%;
  z-index: 2;
  box-shadow: 0 3px 9px rgba(0,0,0,.1);
  margin-right: 40px;
  width: 360px;
}
@media screen and (max-width: 768px) {
.flex {
	display: block;
	margin-bottom: 40px;
}
}
.staff-main {
  display: flex;
  flex-wrap: wrap;
}

.staff-main > * {
  width: 50%;
}

.staff-contents {
	width: 895px !important;
}
.staff-info dd {
  font-size: 1.4rem;
}
/* 導線追加 */
.staff-readmore {
  display: block;
  text-align: right;
  margin-top: 8px;
  color: #555;
  text-decoration: none !important;
}

.staff-readmore .label {
  display: inline-block;
  border-bottom: 1px solid currentColor; /* ← 直球 */
  padding-bottom: 2px;
}

.staff-readmore .arrow {
  display: inline-block;
  margin-left: 4px;
  border-bottom: none !important;
  transition: transform .3s ease;
}

.staff-readmore:hover .arrow {
  transform: translateX(4px);
}
@media screen and (max-width: 768px) {

  /* ===== スタッフ全体を縦積み ===== */
  .staff-main,
  .staff-box,
  .staff-box-inner,
  .staff-media.is-overlay {
    display: block;
    position: static;
  }

  /* ===== 画像 ===== */
  .staff-img {
    float: none;
    width: 100%;
    height: auto;
    margin: 0 0 12px;
    text-align: center;
  }

  .staff-img img {
    width: 100%;
    height: auto;
    object-fit: cover;
  }

  /* ===== テキスト全体 ===== */
  .staff-txt {
    position: static;
    width: 100%;
    margin: 0;
    padding: 0;
  }

  /* ===== 名前 ===== */
  .staff-name {
    text-align: center;
    margin: 10px 0 15px;
  }

  .staff-name img {
    max-width: 100%;
    height: auto;
  }

  /* ===== プロフィール ===== */
  .staff-info-box {
    display: block;
    padding: 12px;
    margin: 0 0 15px;
  }

  .staff-info {
    display: block;
  }

  .staff-info dt {
    font-weight: bold;
    margin-bottom: 2px;
  }

  .staff-info dd {
    margin: 0 0 8px;
  }

  /* ===== Read more ===== */
  .staff-readmore {
    display: block;
    text-align: center;
    margin-top: 10px;
  }

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

  /* === staff-main を staff-sub と同じ思想に === */
  .staff-media.is-overlay {
    position: static;
  }

  .staff-img {
    float: none;
    width: 90%;
    height: auto;
    margin: 0 auto -104px;
    text-align: center;
    z-index: -1;
  }

  .staff-img img {
    width: 100%;
    height: auto;
    object-fit: cover;
	box-shadow: none;
  }

  .staff-txt {
    position: static;
    width: 100%;
    margin: 0;
  }

  .staff-info-box {
    display: block;
  }
  .staff-media.is-overlay .staff-txt {
	position: static;
    background: #fff;
    padding: 8px 20px 8px 20px;
    z-index: 2;
    box-shadow: 0 3px 9px rgba(0,0,0,.1);
    width: 100%;
    margin: 0 auto;
  }
.staff-contents {
    width: 100% !important;
}

.staff-main > * {
    width: 100%;
}
}
