/* =====================
  全体幅（ここが最重要）
===================== */
.staff-list{
  width:100%;
}

.staff-inner{
  max-width:980px;
  margin:40px auto;
  padding:0 10px;
}

/* =====================
  グリッド（3分割固定）
===================== */
.staff-grid{
  display:flex;
  flex-wrap:wrap;
  gap:20px;
}

/* =====================
  カード（33%固定）
===================== */
.staff-card{
  width:calc(33.333% - 14px);
  background:#fff;
  border:1px solid #ddd;
  border-radius:12px;
  padding:25px 15px;
  text-align:center;
  box-sizing:border-box;
  transition:.3s;
}

.staff-card:hover{
  transform:translateY(-5px);
  box-shadow:0 10px 20px rgba(0,0,0,0.08);
}

.staff-card a{
  display:block;
  color:inherit;
  text-decoration:none;
}

/* =====================
  画像（しっかり大きく）
===================== */
.staff-photo{
  width:240px;
  height:240px;
  margin:0 auto 15px;
}

.staff-photo img{
  width:100%;
  height:100%;
  object-fit:cover;
  border-radius:50%;
}

/* =====================
  テキスト（全部大きく）
===================== */
.staff-name{
  font-size:22px;
  font-weight:bold;
  margin-bottom:6px;
  line-height:1.4;
}

.staff-katagaki{
  display:block;
  font-size:14px;
  color:#666;
  margin-bottom:3px;
}

.staff-roma{
  font-size:20px;
  color:#888;
  margin-bottom:10px;
}

.staff-syumi{
  font-size:16px;
  line-height:1.5;
  font-weight : 600;
}

/* ボタン */
.staff-btn{
  margin-top:12px;
}

.staff-btn span{
  display:inline-block;
  padding:10px 18px;
  font-size:13px;
  border:1px solid #333;
  background:#333;
	color : #fff;
  border-radius:30px;
  transition:.3s;
}

/* ホバー */
.staff-card:hover .staff-btn span{
  background:#333;
  color:#fff;
}

/* =====================
  スマホ（1列）
===================== */
@media(max-width:768px){
  .staff-card{
    width:100%;
  }

  .staff-photo{
    width:130px;
    height:130px;
  }

  .staff-name{
    font-size:17px;
  }
}

/*********************************
 * 詳細ページのレイアウト
 * ******************************/
/* スタッフ詳細ページだけ中央＆幅制限 */
.staff-detail{
  max-width:1080px;
  margin:0 auto;
}
/* 全体 */
.staff-inner{
  max-width:980px;
  margin:0 auto;
  padding:20px;
  margin-top : 30px;
}

/* タイトル帯 */
.staff-title{
  background:#6bb64a;
  color:#fff;
  padding:14px;
  font-size:24px;
  font-weight:bold;
  margin-bottom:30px;
  text-align : center;
}

/* =====================
 上部（2カラム）
===================== */
.staff-top{
  display:flex;
  gap:30px;
  margin-bottom:40px;
}

.staff-top .staff-left{
  width:40%;
}

.staff-top .staff-right{
  width:60%;
}

/* =====================
 プロフィール
===================== */
.staff-middle{
  display:flex;
  gap:30px;
  margin-bottom:40px;
}

.staff-middle .staff-left{
  width:60%;
}

.staff-middle .staff-right{
  width:40%;
}

/* 行 */
.staff-row{
  display:flex;
  gap:15px;
  border-bottom:1px dotted #6bb64a;
  padding:12px 0;
}

/* ラベル */
.staff-label{
  width:140px;
  min-width:140px;
  font-weight:bold;
  color:#6bb64a;
}

/* 値 */
.staff-value{
  flex:1;
  line-height:1.7;
}

/* =====================
 メッセージ
===================== */
.staff-message-area{
  display:flex;
  gap:30px;
  margin-top:40px;
}

.staff-message-area .staff-left{
  width:40%;
}

.staff-message-area .staff-right{
  width:60%;
}

.staff-message-title{
  background:#6bb64a;
  color:#fff;
  padding:10px;
  margin-bottom:15px;
  font-weight:bold;
  font-size : 20px;
}


/* =====================
 共通
===================== */
.staff-left img,
.staff-right img{
  width:100%;
  height:auto;
  display:block;
}

.staff-tel{
  font-size : 30px;
  font-weight : 600;
  text-align : center;
  color : #146dd1;
  margin-bottom : 15px!important;
}
.staff-tel a{
	text-decoration : none;
}

.staff-btns{
  display:flex;
  gap:10px;
  margin:15px 0;
}

.btn-line,
.btn-mail{
  flex:1; /* ←これが最重要 */
  display:flex; /* ←中央揃えのため */
  align-items:center;
  justify-content:center;

  padding:14px;
  color:#fff;
  text-decoration:none;
  font-size:18px;
  font-weight:600;
}
.btn-line:hover,
.btn-mail:hover{
  color:#fff;
}

/* 色 */
.btn-line{ background:#00c300; border-radius : 10px; }
.btn-mail{ background:#2e7d32; border-radius : 10px; }

.staff-text{
  margin-top : 30px;
  font-size : 16px;
  line-height : 26px;
}

/********************************
 * スマホ設定
 * ******************************/

@media(max-width:768px){
.staff-inner{
  padding:20px;
  margin-top : 0px;
}
  .staff-row{
    flex-direction:column;
    gap:4px;
  }

  .staff-label{
    width:100%;
  }
	
  .staff-btns{
    flex-direction:column !important;
  }

  .staff-btns a{
    width:100%;
  }

  /* 縦並び */
  .staff-top,
  .staff-middle,
  .staff-message-area{
    flex-direction:column;
  }

  /* ★これを追加（最重要） */
  .staff-left,
  .staff-right{
    width:100% !important;
  }

  /* 写真 → 内容 */
  .staff-top .staff-left,
  .staff-middle .staff-right,
  .staff-message-area .staff-left{
    order:1;
  }

  .staff-top .staff-right,
  .staff-middle .staff-left,
  .staff-message-area .staff-right{
    order:2;
  }

}