
/* 共通 */



/* TOP */
.container-top {
    margin-bottom: 0;
    background-image: linear-gradient(0deg, rgba(115, 249, 255, 1), rgba(65, 164, 253, 1));
    background-color: #a8ff7f;
}
.container-top-bottom {
  width: 0;
  height: 0;
  border-left: 50% solid transparent;
  border-right: 50% solid transparent;
  border-top: 10vh solid rgba(115, 249, 255, 1); /* 三角形の色 */
  display: block;
  position: relative;
  margin-bottom: 50px;
  max-width: 100vw;
}

.container-top-bottom::before {
  content: "";
  position: absolute;
  top: -10vh;
  left: -50%;
  width: 100%;
  height: 10vh;
  background-color: var(--backgroundcolor); /* 三角形以外の色 */
  z-index: -1;
}

@media (max-width: 420px) {
  .container-top-bottom {
    border-top: 8vh solid rgba(115, 249, 255, 1); /* 小さめの三角形 */
  }
}




.container-top .inner {
    width: 1000px;
    margin-left: auto;
    margin-right: auto;
    padding-top: 50px;
    padding-bottom: 30px;
    justify-content: center;
}
.container-top .inner .text{
	padding: 20px 20px;
	text-align: center;
	font-family: "M PLUS 2", serif;
	font-optical-sizing: auto;
	font-weight: 500;
	font-style: normal;
	color: #ffffff;
	text-shadow: 0px 0px 5px #005fff;
}
.container-top .inner .topimage{
	background-color: white;
	padding: 10px 10px 7px 10px;
	margin: 0 20px;
}

.container-top .inner img{
	width: 100%;
	height: auto;
}
@media (max-width: 420px) {
    .container-top .inner {
        width: 100%;
        padding-top: 100px;
    }
}



/* h2 */
h2.head {
  margin-left: auto;
  margin-right: auto;
  margin-top: 0px;
  margin-bottom: 20px;
  font-size: 4.0rem;
  font-family: "M PLUS 2", serif;
  font-optical-sizing: auto;
  font-weight: 900;
  font-style: normal;
  color: #ff9200;
  text-shadow: #fff 2px 0, #fff -2px 0, #fff 0 -2px, #fff 0 2px, 
               #fff 2px 2px, #fff -2px 2px, #fff 2px -2px, #fff -2px -2px, 
               #fff 1px 2px, #fff -1px 2px, #fff 1px -2px, #fff -1px -2px, 
               #fff 2px 1px, #fff -2px 1px, #fff 2px -1px, #fff -2px -1px;
  position: relative; /* `:before` を正しく配置するため */
}

h2.head:before {
  position: absolute;
  bottom: -10px;
  left: calc(50% - 30px);
  width: 60px;
  height: 5px;
  content: '';
  border-radius: 3px;
  background: #d0ff00;
}






/* member */
.blank{
	height: 100px;
	padding-top: 20px;
	display: flex;
	justify-content: center;
}
.blank .faws{
	font-size: 50px;
	color: #d2d8d7;
}

.member {
  width: 1000px;
  max-width: 100%;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 0px;
}
@media (max-width: 420px) {
	.blank{
		padding-top: 0;
		margin-top: 0px;
		margin-bottom: 20px;
		height: 40px;
	}
	.blank .faws{
		font-size: 40px;
	}
}


/* 左側（画像） */
.member .left {
  width: 30%;
  padding: 10px;
  position: relative;
  box-sizing: border-box;
  height: 150px;
  border-radius: 30px 0 0 0;
}
.member .left img {
  width: 200px;
  height: auto;
  position: absolute;
  bottom: 0;
  right: 0;
}
@media (max-width: 420px) {
	.member .left{
	  width: 170px;
	  border-radius: 0 20px 0 0;
  
	  background-image: url('images/member_folder2.png');
	  background-position: right top; /* 右上に配置 */
	  background-repeat: no-repeat;
	  background-size: contain;
  }
  .member .left img {
  	width: 170px;
  	height: auto;
  	position: absolute;
  	bottom: 0;
  	right: 5px;
}
}

  


/* 右側（名前、役職） */
.member .right {
  flex: 1;
  padding: 0px 0px 0px 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;  /* 垂直中央揃え */
  align-items: left;      /* 水平中央揃え */
  position: relative; /* 右側のコンテンツが他の部分と重ならないように */
  
  background-image: url('images/member_folder.png');
  background-position: right top; /* 右上に配置 */
  background-repeat: no-repeat;
  background-size: 350px auto;
}
@media (max-width: 480px) {
  .member .right {
    background-image: none;
		padding-left: 30px;
		border-radius: 20px 0 0 0;
  }
}


.member .right .position{
	margin-bottom: 15px;
}
.member .right .position .posi-chief {
  background-color: rgba(255, 238, 0, 1);
  padding: 5px 10px;
  font-size: 1.7rem;
  color: #434343;
  font-family: "M PLUS 2", serif;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;
}
.member .right .position .group {
  background-color: rgba(0, 0, 0, 0.3);
  padding: 5px 10px;
  font-size: 1.7rem;
  color: #ffffff;
  font-family: "M PLUS 2", serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
}

.member .right .name .name{
	background-color: white;
	padding: 2px 5px;
	font-size: 3.5rem;
	color: #434343;
	font-family: "M PLUS 2", serif;
	font-optical-sizing: auto;
	font-weight: 500;
	font-style: normal;
}
@media (max-width: 480px) {
	.member .right .name .name{
		font-size: 2.7rem;
	}
	.member .right .position .posi-chief,
	.member .right .position .group {
		font-size: 1.3rem;
	}
}





/* ボトム */
.member .bottom {
  width: 100%;
  padding: 40px 60px 40px 60px;
  box-sizing: border-box;
  margin-top: -40px;
  border-radius: 0 0 20px 20px;
}
.member .bottom .blank{
	height: 30px;
}	
.member .bottom .text{
	background-color: white;
	color: #434343;
	padding: 30px 60px;
	border-radius: 10px;
}
.member .bottom .text{
	
}
@media (max-width: 480px) {
	.member .bottom .blank{
		height: 20px;
	}
	.member .bottom {
		padding: 0px 15px 15px 15px;
		margin-top: 0px;
		border-radius: 0px 0px 20px 20px;
	}
	.member .bottom .text{
		padding: 20px 0px 20px 0px;
	}
}

.skewed {
  padding: 1rem 3rem;
  -webkit-transform: skew(-15deg);
  transform: skew(-15deg);
  color: #fff;
  font-size: 2rem;
  text-shadow: 0px 0px 3px #00caa5;
}
.skewed .text-straight {
  display: block;
  -webkit-transform: skew(15deg);
  transform: skew(15deg);
}
@media (max-width: 480px) {
	.skewed {
		margin: 0 20px;
		padding: 10px 20px;
		font-size: 1.7rem;
	}
}
.bg-gra1{
  background-image: -webkit-gradient(linear, right top, left top, from(#2af598), to(#009efd));
  background-image: -webkit-linear-gradient(right, #2af598 0%, #009efd 100%);
  background-image: linear-gradient(to left, #2af598 0%, #009efd 100%);
}
.bg-gra2{
  background-image: -webkit-gradient(linear, right top, left top, from(#ecf35b), to(#00d8e3));
  background-image: -webkit-linear-gradient(right, #ecf35b 0%, #00d8e3 100%);
  background-image: linear-gradient(to left, #ecf35b 0%, #00d8e3 100%);
}

.member .bottom .text .question .q-text{
	background-color: #ffab00;
	color: white;
	padding: 10px 10px;
}
.member .bottom .text .answer{
	padding: 20px 30px 0px 30px;
	font-size: 1.6rem;
}
@media (max-width: 480px) {
	.member .bottom .text .answer{
		font-size: 1.4rem;
		padding: 10px 30px 0px 30px;
	}
}


/* 個別の色 */
.color-yamauchi{
	background-color: #ff819c;
}
.color-mukouda{
	background-color: #f55d35;
}
.color-03{
	background-color: #71c1ea;
}
.color-04{
	background-color: #fe5b79;
}
.color-05{
	background-color: #9e81ff;
}
.color-06{
	background-color: #ffa736;
}
.color-07{
	background-color: #348a5f;
}
.color-08{
	background-color: #aac73a;
}
.color-09{
	background-color: #52e5c0;
}
.color-10{
	background-color: #bfff00;
}
.color-11{
	background-color: #ff803e;
}
.color-12{
	background-color: #de7be4;
}
.color-13{
	background-color: #7f84ff;
}
.color-14{
	background-color: #eee75d;
}



/* レスポンシブ対応 */
@media (max-width: 1000px) {
  .member {
    width: 100%;
    padding: 0 10px 10px 10px;
    flex-direction: row-reverse; /* 左右を入れ替え */
    align-items: stretch;  /* 子要素の高さを同じにする */
  }
  
  .member .right {
    width: auto; /* 両方の幅を50%にして横並び */
  }


  .member .bottom {
    width: 100%;
  }
}







