@charset "utf-8";
/* CSS Document */
/* ========== ベース ========== */
:root{
  --modal-max-w: 760px;   /* カードの最大幅（画像に近い） */
  --modal-pad: 28px;      /* パネル内余白 */
  --overlay-bg: rgba(0,0,0,.6);
  --radius: 14px;
  --shadow: 0 12px 40px rgba(0,0,0,.25);
}

body.is-locked{ overflow: hidden; }

/* ========== モーダル ==========
   非表示時は pointer-events: none + 透明。 */
.c-modal{
  position: fixed; inset: 0;
  display: grid; place-items: center;
  z-index: 9990;
  opacity: 0; pointer-events: none;
  transition: opacity .2s ease;
}
.c-modal.is-open{
  opacity: 1; pointer-events: auto;
}

/* 背景オーバーレイ（暗転＋少しぼかし） */
.c-modal__overlay{
  position: absolute; inset: 0;
  background: var(--overlay-bg);
  backdrop-filter: blur(2px);
}

/* 白いカード */
.c-modal__panel{
  position: relative;
  width: min(92vw, var(--modal-max-w));
  max-height: min(85vh, 820px);
  background: #fff;
  box-shadow: var(--shadow);
  padding: var(--modal-pad);
  overflow: auto;                 /* 本文が長い時にスクロール */
  transform: translateY(10px) scale(.98);
  transition: transform .22s ease, opacity .22s ease;
  opacity: 0;
}
.c-modal__panel::before{
	content: "";
	position: absolute;
	top: 0;
	left: 0;             /* 右端から配置 */
	width: 40%;           /* 幅を半分に */
	height: 15px;          /* ボーダーの太さ */
	background: #3c7d9b;     /* ボーダー色 */
}

.c-modal.is-open .c-modal__panel{
  transform: translateY(0) scale(1);
  opacity: 1;
}



/* 閉じるボタン（右上の×） */
.c-modal__close{
  position: sticky;     /* 上辺に張り付くのでスクロール時も触りやすい */
  top: 0; margin-left: auto;
  display: grid; place-items: center;
  width: 36px; height: 36px;
  border: none; border-radius: 999px;
  background: #111; color: #fff; font-size: 22px; line-height: 1;
  cursor: pointer;
}
.c-modal__close:hover{ opacity:.9; }

/* ========== コンテンツ（プロフィール） ========== */
.c-profile{ display: grid; grid-template-columns: 220px 1fr; gap: 28px; }
.c-profile__side{ }
.c-profile__avatar{
  width: 220px; height: 220px; object-fit: cover;
  border-radius: 999px; background:#eee; display:block;
}
.c-profile__name{ margin: 4px 0 6px; font-size: 28px; font-weight: 700; }
.c-profile__meta{ color:#666; margin: 0 0 18px; }

.c-section{ margin: 18px 0 0; }
.c-section__title{
  font-size: 15px; font-weight: 700; margin: 16px 0 8px;
  border-left: 4px solid #1a1a1a; padding-left: 10px;
}

/* 画像に近い見た目の余白感をSP向けに調整 */
@media (max-width: 720px){
  :root{ --modal-pad: 22px; }
  .c-profile{ grid-template-columns: 1fr; }
  .c-profile__avatar{ width: 140px; height: 140px; margin: 0 auto 8px; }
  .c-profile__name{ text-align: center; }
  .c-profile__meta{ text-align: center; }
}


.president-area{
	margin-bottom:60px;
}
.president-image{
	text-align: center;
}
.staff-position{
	font-size: 14px;
}

.president-message h4{
	font-size: 28px;
	position: relative;
	display: inline-block;
	padding-right: calc(100% - 150px);
}
.president-message h4:after {
	content: '';
	position: absolute;
	top: 50%;
	display: inline-block;
	width: calc(100% - 180px);
	height: 1px;
	background-color: black;
}
.president-message h4:after {
	right: 0;
}

.staff-area{
	margin-bottom:60px;
}
.staff-area h4{
	font-size: 28px;
	text-align: center;
	position: relative;
	display: inline-block;
	padding: 0 calc(50% - 50px);
	margin-bottom: 30px;
}
.staff-area h4:before, .staff-area h4:after {
	content: '';
	position: absolute;
	top: 50%;
	display: inline-block;
	width: calc(50% - 80px);
	height: 1px;
	background-color: black;
}
.staff-area h4:before {
	left:0;
}
.staff-area h4:after {
	right: 0;
}

.staff-box{
	text-align: center;
	margin-bottom:20px;
	align-items: center;
}

.staff-img{
	margin-bottom:20px;
}

.switch-staff-img {
    position: relative;
}
.switch-staff-img img {
    transition: opacity 0.5s;
}
.switch-staff-img:hover img:first-of-type {
    opacity: 0;
}
.switch-staff-img img:last-of-type {
    position: absolute;
    top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
    opacity: 0;
}
.switch-staff-img:hover img:last-of-type {
    opacity: 1;
}

.staff-name{
	font-size: 22px;
	font-weight: bold;
}
button.open-modal{
	margin: 20px auto;
	background-color: #44617b;
	color: #fff;
	width: 80%;
	padding: 10px 0;
	border-radius: 50px;
	border: 0;
	font-size: 14px;
}

.staff-pop .staff-box{
	text-align: left;
}
.staff-pop .staff-box div{
	width: 100%;
}
.staff-pop .staff-name{
	font-size: 28px;
}
.staff-dep{
	font-size: 14px;
	margin-top:15px;
}
.staff-box-txt{
	padding-top:20px;
	font-size: 14px;
}
.staff-txt-ttl{
	font-weight: bold;
	font-size: 16px;
}
.staff-pop .staff-eng{
	font-size: 13px;
	font-weight: bold;
	margin-bottom: 15px;
}
@media only screen and (min-width: 767px) {
.staff-pop{padding:0 30px;}
.staff-pop .staff-eng{
	font-size: 16px;
	font-weight: bold;
}
.staff-pop .staff-name{
	font-size: 32px;
}
.staff-box-txt{
	font-size: 16px;
}
.staff-txt-ttl{
	font-size: 18px;
}

	
	
}



