@charset "utf-8";

.profileBlock {
  width: 95%;
  width: -webkit-calc(100% - 80px);
  width: calc(100% - 80px);
  max-width: 1080px;
  margin: 0 auto;
  margin-bottom: 100px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}

.historyBlock {
  width: 95%;
  width: -webkit-calc(100% - 80px);
  width: calc(100% - 80px);
  max-width: 950px;
  margin: 0 auto;
  margin-bottom: 100px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}

.funkitgroupBlock {
  width: 95%;
  width: -webkit-calc(100% - 80px);
  width: calc(100% - 80px);
  max-width: 1080px;
	margin: 0 auto 35px auto;
  text-align: center;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}

.profile_item,
.history_item,
.funkitgroup_item {
  border: double 0px #ffffff;
  border-collapse: collapse;
  width: 100%;
  font-size: 14px;
}

th,
td {
  border: solid 1px #f0f0f0;
  border-collapse: collapse;
}

.leftFunkitgroup,
.rightFunkitgroup {
  text-align: left;
  width: 48.14%;
}

/* -------------------------------------------------------- */
.contents h3 {
  margin-bottom: 78px;
}

.profileBlock,
.historyBlock,
.leftFunkitgroup,
.rightFunkitgroup {
  background-color: #ffffff;
  border-radius: 5px;
  box-shadow: 0 0 5px #ddd;
}

tr:first-child th,
tr:first-child td {
  border-top: none;
}

tr:last-child th,
tr:last-child td {
  border-bottom: none;
}

.profile_item th,
.history_item th {
  border-left: none;
  width: calc(200px - 40px);
  text-align: left;
  vertical-align: top;
  line-height: 2;
}

.profile_item td {
  border-right: none;
  line-height: 2;
}

.history_item td {
  border-right: none;
  line-height: 2;
  text-align: left;
}

.profile_item tr:nth-of-type(3) td,
.profile_item tr:nth-of-type(4) td,
.profile_item tr:nth-of-type(5) td,
.profile_item tr:nth-of-type(6) td {
  border-bottom: none;
}

.profile_item tr:nth-of-type(4) td,
.profile_item tr:nth-of-type(5) td,
.profile_item tr:nth-of-type(6) td,
.profile_item tr:nth-of-type(7) td,
.profile_item tr:nth-of-type(12) td,
.profile_item tr:nth-of-type(13) td {
  border-top: none;
}

.profile_item th,
.profile_item td,
.history_item th,
.history_item td {
  padding: 16px 30px;
}

tr:last-child td {
  border-left: none;
}

.profile_item img.goals {
  width: 200px;
  position: absolute;
  right: 30px;
  top: 10px;
}

td.officer {
  padding-top: 0;
  padding-bottom: 42px;
  overflow: hidden;
}

.officer figure {
  width: 180px;
  margin-right: 20px;
  float: left;
}

.officer figure:last-child {
  margin-right: 0;
}

.officer img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  object-position: 100% 0%;
  margin-bottom: 9px;
  margin-top: 24px;
}

.profile_item tr:first-of-type td{
    position: relative;
}

.profile_item td figcaption {
  text-align: center;
  line-height: 1.5em;
}

.profile_item td figcaption.name {
  font-size: 18px;
}

.profile_item dt {
  border-left: 4px solid #3b68ac;
  padding-left: 4px;
  color: #3b68ac;
  line-height: 1;
  margin-bottom: 10px;
}

.acc {
  padding-bottom: 16px;
}

.businessList li {
  counter-increment: cnt;
}

.businessList li::before {
  content: "(" counter(cnt) ")";
}

.profile_item iframe {
  width: 100%;
  height: 400px;
}

.taRight {
  text-align: right;
}

.leftFunkitgroup img,
.rightFunkitgroup img {
  border-radius: 5px 5px 0 0;
}

.leftFunkitgroup th,
.rightFunkitgroup th,
.leftFunkitgroup td,
.rightFunkitgroup td {
  padding: 16px 30px;
  vertical-align: top;
  line-height: 2;
}

.leftFunkitgroup tr:first-child td,
.rightFunkitgroup tr:first-child td {
  padding: 0;
}

.leftFunkitgroup tr:first-child td img,
.rightFunkitgroup tr:first-child td img {
  padding: 0;
  width: 100%;
}

.clickable {
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease; /* 背景色と変形のトランジション */
}

/* ホバー時のスタイル */
.clickable:hover {
  /*background-color: #e0e0e0; /* 背景色を変更 */
  font-weight: bold; /* フォントを太くする */
  color: #333; /* フォントの色を変更 */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* 軽い影を追加 */
  transform: scale(1.02); /* 少し拡大して立体感を出す */
}

.overflow {
  width: 100%;
  max-height: 600px; /* 表示する高さを設定 */
  overflow-y: auto; /* 垂直方向のスクロールを有効にする */
  border: 1px solid #ddd; /* ボーダーを追加 */
  border-radius: 4px; /* 角を丸くする（オプション） */
}

/* ------------------------------------------ */

.cf::after {
  content: "";
  display: block;
  clear: both;
}
