@charset "utf-8";
/*------------------------------------------------------------
	future
------------------------------------------------------------*/
#pagePath ul {
	width: 137.2rem;
}
#main .comScroll {
	top: 33.8rem;
}
#main .mainImg {
	margin: 0 10rem;
	position: relative;
}
#main .mainImg img {
	width: 100%;
}
#main .mainImg h2 {
	width: 19rem;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	position: absolute;
	left: 8.2rem;
	top: 6.1rem;
	color: #fff;
	font-size: 3rem;
	font-weight: 700;
	line-height: 1.24;
	background: url(../img/meeting/bg01.png) no-repeat center center / 100%;
	aspect-ratio: 380/438;
}
#main .mainImg h2 .txt {
	margin-top: 1.1rem;
	display: block;
}
#main .mainImg h2 .lg {
	display: block;
	font-size: 4rem;
}
#main .mainImg h2 .icon {
	width: 8.4rem;
	position: absolute;
	left: -0.2rem;
	top: -3.1rem;
}
#main h2 {
    padding-bottom: 0.4rem;
    width: 10.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    left: -4.2rem;
    top: -5.6rem;
    color: #fff;
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.2;
    aspect-ratio: 104 / 120;
    background: url(../img/message/bg01.png) no-repeat center center / 100%;
    z-index: 3;
}
#main .introBox {
	padding: 0.1rem 0 8.6rem;
	position: relative;
}
#main .introBox::before {
	width: 100%;
	height: 100rem;
	position: absolute;
	left: 0;
	top: -29.3rem;
	background: linear-gradient(#d6f4ff 0%, rgba(232, 245, 250, 0) 100%);
	content: '';
	z-index: -1;
}
#main .introBox .subBox {
	margin: -14.4rem 0 5.4rem;
	padding: 3.9rem 4.8rem 6.4rem;
	position: relative;
	border-radius: 2rem;
	background: #fff;
	z-index: 2;
}
#main .introBox .subBox h3 {
	margin-bottom: 3.3rem;
	color: #2852A0;
	/* font-size: 5.5rem;
	font-weight: 500;
	line-height: 1.636; */
	font-size: 4.2rem;
    font-weight: 500;
    line-height: 1.436;
}
#main .introBox .subBox p {
	font-size: 1.8rem;
	line-height: 2;
}
#main .introBox .imgList {
	display: flex;
	justify-content: center;
	gap: 0 13.1rem;
}
#main .introBox .imgList li {
	width: 37rem;
	text-align: center;
	color: #122C5C;
}
#main .introBox .imgList li .photo {
	margin-bottom: 1.4rem;
	position: relative;
}
#main .introBox .imgList li:nth-child(1) .photo::after {
	width: 8.2rem;
	position: absolute;
	right: -10.6rem;
	top: 50%;
	transform: translateY(-50%);
	aspect-ratio: 1;
	background: url(../img/meeting/icon02.png) no-repeat center center / 100%;
	content: '';
}
#main .introBox .imgList li .photo img {
	width: 100%;
	border-radius: 100%;
	object-fit: cover;
	aspect-ratio: 1;
}
#main .introBox .imgList li .sm {
	font-weight: 500;
	font-size: 2rem;
	margin-bottom: 0.2rem;
}
#main .introBox .imgList li .name {
	font-size: 2.8rem;
	font-weight: bold;
}
#main .introBox .imgList li .time {
	margin-left: 1.3rem;
	padding: 0.5rem 1.7rem 0.3rem;
	display: inline-block;
	vertical-align: 0.28em;
	color: #000;
	font-size: 1.6rem;
	font-weight: 500;
	line-height: 1.1;
	text-align: center;
	border-radius: 2rem;
	border: 0.1rem solid #707070;
}
#main .bgBox {
	padding: 9.1rem 0 10.5rem;
	position: relative;
	/* background: url(../img/future/bg03.webp) repeat-x center top / 200rem auto; */
	background: #E8F5FA;
	background: linear-gradient(180deg,rgba(232, 245, 250, 1) 0%, rgba(232, 245, 250, 1) 15%, rgba(232, 245, 250, 0) 100%);
	z-index: 3;
}
#main .bgBox01 {
	padding-bottom: 0;
	z-index: 2;
}
#main .bgBox02 {
	margin-top: -11.3rem;
	padding-top: 16.2rem;
	padding-bottom: 11rem;
	z-index: 1;
}
#main .bgBox03 {
	padding-top: 11.2rem;
	padding-bottom: 18.4rem;
	z-index: 0;
}
#main .bgBox .content {
	width: 98.4rem;
	z-index: 2;
}
#main .textBox {
	position: relative;
	z-index: 2;
}
#main .textBox .heading00 {
	margin-bottom: 1.3rem;
	color: #2852A0;
	font-weight: 300;
	font-size: 2.8rem;
	line-height: 1.356;
	display: flex;
    align-items: center;
}
#main .textBox .heading00::before {
	content: '';
	width: 100px;
	height: 1px;
	background-color: #2852A0;
}
#main .textBox .heading01 {
	margin-bottom: 3.3rem;
	color: #2078D0;
	font-weight: 500;
	font-size: 3.8rem;
	line-height: 1.356;
	display: flex;
    align-items: center;
}
#main .textBox .heading01 .icon {
    width: 60px;
    margin-right: 20px;
}
#main .textBox p {
	margin-bottom: 3.6rem;
	font-size: 1.8rem;
	line-height: 2;
}
#main .textBox p:last-child {
	margin-bottom: 0;
}
#main .photo01 {
	width: 30rem;
	position: absolute;
	left: -2rem;
	top: -15.2rem;
}
#main .photo01 img {
	width: 100%;
}
#main .photo02 {
	margin-top: 5.2rem;
}
#main .photo02 img {
	width: 100%;
}
#main .photo03 {
	margin-bottom: -30px;
	/* position: absolute;
	right: -5.1rem;
	top: -13.8rem; */
}
#main .photo03 img {
	width: 100%;
}
#main .photo04 img {
	width: 100%;
}
@media all and (max-width: 896px) {
	#main .mainImg {
		/* margin: 0 3.1rem; */
		margin: 0;
	}
	#main .mainImg img {
		object-fit: contain;
		/* aspect-ratio: 313/500; */
	}
	#main .mainImg h2 {
		width: 9.5rem;
		left: 50%;
		top: 0;
		color: #fff;
		font-size: 1.5rem;
		transform: translateX(-50%);
	}
	#main .mainImg h2 .txt {
		margin-top: 0.6rem;
	}
	#main .mainImg h2 .lg {
		font-size: 2rem;
	}
	#main .mainImg h2 .icon {
		width: 4.2rem;
		left: 50%;
		top: -1.6rem;
		transform: translateX(-50%);
	}
	#main .mainImg h2 .icon img {
		width: 100%;
		aspect-ratio: initial;
	}
	#main h2 {
        padding-bottom: 0;
        width: 7.4rem;
        left: -2rem;
        top: -4rem;
        font-size: 1.3rem;
    }
	#main .introBox {
		padding: 6rem 0 6.4rem;
	}
	#main .introBox::before {
		height: 50rem;
		top: -56.2vw;
	}
	#main .introBox .subBox {
		/* margin: 0 0 1.3rem;
		padding: 5.2rem 2rem 2.2rem;
		border-radius: 1.2rem; */
		padding: 2rem 2rem;
        border-radius: 1.2rem;
        margin-top: -9rem;
	}
	#main .textBox .heading00 {
		font-size: 2.0rem;
	}
	main .textBox .heading00::before {
		content: '';
		width: 47px !important;
		height: 1px;
		background-color: #2852A0;
	}
	#main .textBox .heading01 {
		align-items: flex-start;
	}
	#main .textBox .heading01 .icon {
		width: 40px;
		margin-right: 10px;
	}
	#main .introBox .subBox h3 {
		margin-bottom: 3.7rem;
		font-size: 6.0vw;
		line-height: 1.5;
	}
	#main .introBox .subBox p {
		font-size: 1.6rem;
		line-height: 1.875;
	}
	#main .introBox .imgList {
		gap: 0 1.2rem;
	}
	#main .introBox .imgList li {
		width: calc(50% - 0.6rem);
	}
	#main .introBox .imgList li:nth-child(1) .photo {
		margin: 0 2.6rem 1.4rem -6.1rem;
	}
	#main .introBox .imgList li:nth-child(2) .photo {
		margin: 0 -6.1rem 1.4rem 2.6rem;
	}
	#main .introBox .imgList li:nth-child(1) .photo::after {
		width: 4.1rem;
		right: -5.2rem;
	}
	#main .introBox .imgList li .sm {
		margin-bottom: 0;
		font-size: 1.4rem;
		display: block;
	}
	#main .introBox .imgList li .name {
		font-size: 2.4rem;
	}
	#main .introBox .imgList li .time {
		margin: 0.1rem auto 0;
		padding: 0.5rem 1.7rem 0.4rem;
		width: fit-content;
		display: block;
		font-size: 1.4rem;
	}
	#main .bgBox {
		padding: 6.8rem 0 14.6rem;
		background-size: 100rem auto;
	}
	#main .bgBox01 {
		padding: 16rem 0 4rem;
	}
	#main .bgBox02 {
		margin-top: 0;
		padding-top: 6.8rem;
		padding-bottom: 17.4rem;
	}
	#main .bgBox03 {
		padding-top: 15.8rem;
		padding-bottom: 7rem;
	}
	#main .textBox {
		margin: 0 2rem;
	}
	#main .textBox .heading01 {
		margin-bottom: 2rem;
		font-size: 2.5rem;
		line-height: 1.6;
		letter-spacing: 0.05em;
	}
	#main .textBox p {
		margin-bottom: 3rem;
		font-size: 1.6rem;
		line-height: 1.875;
	}
	#main .textBox p:last-child {
		margin-bottom: 0;
	}
	#main .photo01 {
		width: 22.5rem;
		left: 50%;
		transform: translateX(-50%);
		top: -10.4rem;
	}
	#main .photo02 {
		margin: 4rem -2rem 0;
	}
	#main .photo03 {
		width: 100%;
        right: 50%;
        top: -10.5rem;
        
	}
	    #gFooter .fRecruit {
        margin: -3.1rem 3.2rem 3.8rem !important;
    }
}




/* =========================
  一覧（PCは2カラム、SPは1カラム）
========================= */
.memberGrid{
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* =========================
  カード共通
========================= */
.memberCard{
  border: 2px solid #1f3d7a;
  border-radius: 28px;
  padding: 24px 30px;
  display: flex;
  align-items: center;
  gap: 32px;
  min-height: 180px;
  box-sizing: border-box;
  background: #fff;
}

/* 画像（円） */
.memberPhoto{
  width: 134px;
  aspect-ratio: 1 / 1;
  border-radius: 999px;
  overflow: hidden;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
}

.memberPhoto img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}


/* 円の背景色（必要な分だけ） */
.memberPhoto.-green{ background: #bfe6b5; }
.memberPhoto.-orange{ background: #FFD090; }
.memberPhoto.-purple{ background: #CDC5E5; }
.memberPhoto.-blue{ background: #97DAEF; }

/* テキスト */
.memberText{
  display: grid;
grid-template-columns: auto auto;
grid-template-rows: auto auto;
column-gap: 4px;
row-gap: 14px;
align-items: center;
}

.memberRole{
  grid-column: 1 / -1;
    font-size: 1.4rem;
    margin: 0;
  color: #1f3d7a;
  letter-spacing: .08em;
  line-height: 1.7;
  text-align: center;
}

.memberName{
  margin: 0;
  color: #1f3d7a;
  font-size: 2.8rem;
  font-weight: bold;
  letter-spacing: .12em;
  line-height: 1.1;
  white-space: nowrap;
  grid-column: 1;
    margin: 0;
}

.memberYear{
/* margin-left: 1.3rem; */
    padding: 0.5rem 1.7rem 0.5rem;
    display: inline-block;
    vertical-align: 0.28em;
    color: #000;
    font-size: 1.6rem;
    font-weight: 300;
    line-height: 1.1;
    text-align: center;
    border-radius: 2rem;
    border: 0.1rem solid #707070;
    grid-column: 2;
    justify-self: start; 
}

/* =========================
  SP（縦並びに切り替え）
========================= */
@media (max-width: 896px){
  .memberGrid{
    /* grid-template-columns: 1fr;
    gap: 22px; */
  }
  .memberCard{
    padding: 34px 24px 30px;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 22px;
    min-height: auto;
  }

  .memberPhoto{
    /* width: 210px; */
	width: 90%;
	max-width: 200px;
  }

  .memberText{
    justify-items: center;
    gap: 6px;
	grid-template-columns: repeat(1, 1fr);
	grid-template-rows: repeat(3, 1fr);
	justify-content: center;
  }

  .memberRole{
    font-size: 13px;
    line-height: 1.8;
	grid-row: 1;
	min-height: 5rem;
	display: flex;
    align-items: center;
  }

  .memberName{
    font-size: 5.4vw;
    white-space: normal;
	grid-row: 2;
	grid-column: 1;
  }

  .memberYear{
    margin-top: 2px;
	margin: auto;
	grid-row: 3;
	grid-column: 1;
  }
}



/* ===== base ===== */
.talk{
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 16px;
}

.term{
  padding: 48px 0;
  border-top: 1px solid rgba(0,0,0,.08);
}

/* ===== term layout =====
  term__layout：上段 + 下段（縦積み）
*/
.term__layout{
  display: grid;
  gap: 38px; /* 上段と下段の間隔 */
}
/* ===== 上段：2カラム（コメント2つ + 写真） ===== */
.term__top{
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 28px;
  align-items: start;
}
.term__full{

  display: grid;
    grid-template-columns: repeat(1, 1fr);
    grid-template-rows: repeat(1, 1fr);
    gap: 38px;

}


/* 写真の左右切替：term--photo-left のとき */
.term--photo-left .term__top{
  grid-template-columns: 360px minmax(0, 1fr);
}
.term--photo-left .term__chats{ order: 2; }
.term--photo-left .term__photo{ order: 1; }

.term--photo-right .term__chats{ order: 1; }
.term--photo-right .term__photo{ order: 2; }

/* 写真 */
.term__photo{
  position: sticky;
  top: 24px;
  border-radius: 16px;
  overflow: hidden;
}
.term__photo img{
  width: 100%;
  height: auto;
  display: block;
}

/* 上段のコメント（2つだけ入る想定） */
.term__chats{
  display: grid;
  gap: 38px;
}

/* ===== chats ===== */
.term__chats{
  display: grid;
  gap: 38px;
}


/* 1コメント行 */
.chat{
  display: grid;
  align-items: start;
  column-gap: 28px;
}

/* avatar / bubble をエリアで固定（右だけ2×2崩れ対策） */
.chat__avatar{ grid-area: avatar; }
.chat__bubble{ grid-area: bubble; }

/* 左：avatar | bubble */
.chat.is-left{
  grid-template-columns: 80px minmax(0, 1fr);
  grid-template-areas: "avatar bubble";
}

/* 右：bubble | avatar */
.chat.is-right{
  grid-template-columns: minmax(0, 1fr) 80px;
  grid-template-areas: "bubble avatar";
}

/* アイコン部 */
.chat__avatar{
  text-align: center;
}
.chat__avatar img{
  width: 90px;
  height: 90px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  margin: 0 auto 6px;
}
.chat__name{
  font-size: 12px;
  margin: 0;
  opacity: .8;
}


/* ===== 吹き出し本体 ===== */
.chat__bubble{
  position: relative;
  padding: 20px 36px;
  border-radius: 4px;
  border: 1px solid rgba(0,0,0,.12);
  background: #fff;
  line-height: 2.2;
  font-size: 17px;
}

/* しっぽの共通パラメータ（ここだけ触れば調整できる） */
.chat__bubble{
 --tail-w: 22px;     /* しっぽの横幅 */
  --tail-h: 22px;     /* しっぽの高さ */
  --tail-top: 18px;   /* しっぽの縦位置 */
  --tail-gap: 0px;    /* 本体枠線と噛ませる量 */
  --tail-border: rgba(0,0,0,.12);
  --tail-fill: #fff;
}
/* =========================
   左：上辺水平＋内側1辺だけ斜め（台形）
   ========================= */
.chat.is-left .chat__bubble::before{
  content:"";
  position:absolute;
  left: calc(var(--tail-w) * -1 + var(--tail-gap));
  top: var(--tail-top);
  width: var(--tail-w);
  height: var(--tail-h);
  background-repeat: no-repeat;
  background-size: 100% 100%;

background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 14'%3E%3Cpolygon points='0,0 22,0 24,14 22,14' fill='%23ffffff' stroke='rgba(0,0,0,0.12)' stroke-width='1'/%3E%3C/svg%3E");

}

/* =========================
   右：左右反転版
   ========================= */
.chat.is-right .chat__bubble::before{
  content:"";
  position:absolute;
  right: calc(var(--tail-w) * -1 + var(--tail-gap));
  top: var(--tail-top);
  width: var(--tail-w);
  height: var(--tail-h);
  background-repeat: no-repeat;
  background-size: 100% 100%;

  /* 右に飛び出す台形：上辺水平／内側の辺だけ斜め */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 14'%3E%3Cpolygon points='22,0 0,0 -2,14 0,14' fill='%23ffffff' stroke='rgba(0,0,0,0.12)' stroke-width='1'/%3E%3C/svg%3E");
}



/* 左右で寄せる */
.chat.is-left  .chat__bubble{ justify-self: start; }
.chat.is-right .chat__bubble{ justify-self: end; }




/* ===== responsive ===== */
@media (max-width: 896px){
  /* 上段も1カラム化（写真をコメント開始前へ） */
  .term__top{
    grid-template-columns: 1fr !important;
  }


  .term__photo{
    position: static;
    order: 0 !important;
  }
  .term__chats{
    order: 1 !important;
  }
  .chat__bubble {
    line-height: 2.0;
	}
}

@media (max-width: 520px){
  .chat.is-left{
    grid-template-columns: 64px minmax(0, 1fr);
  }
  .chat.is-right{
    grid-template-columns: minmax(0, 1fr) 64px;
  }

  .chat__avatar img{
    width: 48px;
    height: 48px;
  }
  .chat__bubble{
    font-size: 14px;
    padding: 12px 14px;
  }
}