@charset "UTF-8";
/* ベース */
#visual {
  width: 100%;
  height: 30vh; /* 高さはお好みで調整（例：50%画面） */
  background-image: url("../../img/top/kv.jpg");
  background-size: cover;
  background-position: center;
  position: relative;
}

/* テキスト配置 */
#visual .visual-inner {
  width: 100%;
  height: 100%;
  position: relative;
}

#visual .visual-text {
  position: absolute;
  top: 2.3rem;
  left: 4rem;
  color: #696969;
  font-size: 2rem;
  font-weight: bold;
  /* text-shadow: 1px 1px 4px rgba(0,0,0,0.6); */
  background-color: #fff;
  padding: 0.5em 1em;
  line-height: 1.2;
  border-radius: 10px;
}

#visual .visual-text span {
  font-size: 1.3rem;
  font-weight: normal;
  display: block;
  /* opacity: 0.8; */
  color: #037Fb9;
  padding: 0;
}

/* スマホ対応 */
@media screen and (max-width: 768px) {
  #visual {
    height: 40vh;
  }

  #visual .visual-text {
    font-size: 1.4rem;
    left: 1rem;
  }

  #visual .visual-text span {
    font-size: 0.9rem;
  }
}



.date {
  font-size: 15px;
}

#presidents_greeting{
}





#presidents_greeting .presidents_greeting-area{
}

#presidents_greeting .presidents_greeting-area img{
padding:0 0 0 2em;
}

#presidents_greeting .presidents_greeting-area .president-name {
  text-align: right;
  margin-top: 1em;
    font-size: 1.4em;
}

@media screen and (max-width: 768px) {
#presidents_greeting .presidents_greeting-area{
display:block;
}

#presidents_greeting .presidents_greeting-area img{
padding:1em 0 3em 0;
}


}





#company_profile{
}

#company_profile h3 {
  padding: 1em 0 0.5em 0;
  font-size: 1.1rem;
}


#company_profile .company_profile-area{
}



#company_profile .company_profile-area table {
    border-collapse: separate;
    *border-collapse:collapse; /* for IE6,7 */
    border-spacing:0;
    empty-cells:show;
    border-top: 2px solid #E9E9E9;
    border-right: 1px solid #E9E9E9;
    border-bottom: 1px solid #E9E9E9;
    border-left: 2px solid #E9E9E9;
    width: 100%;
}
#company_profile .company_profile-area table th {
    padding: 1em;
    background: #F9F9F9;
    text-align: left;
    vertical-align: middle;
    border-top: none;
    border-right:  1px solid #E9E9E9;
    border-bottom: 1px solid #E9E9E9;
    border-left: none;
    color: #444444;
	width:30%;
}
#company_profile .company_profile-area table td {
	padding: 1em;
	background: #FFFFFF;
    text-align: left;
	border-top: none;
	border-right: 1px solid #E9E9E9;
	border-bottom: 1px solid #E9E9E9;
	border-left: none;
    color: #555555;
}




/* レスポンシブ時に縦表示に変更 */
@media screen and (max-width: 768px) {
  #company_profile .company_profile-area table,
  #company_profile .company_profile-area table tbody,
  #company_profile .company_profile-area table tr,
  #company_profile .company_profile-area table th,
  #company_profile .company_profile-area table td {
    display: block;
    width: 100%;
  }

  #company_profile .company_profile-area table tr {
  }

  #company_profile .company_profile-area table th {
    font-weight: bold;
    background-color: #f5f5f5;
    border-bottom: none;
  }
  
  #company_profile .company_profile-area table td {
    border-bottom: none;
    padding: 1em ;
  }
}



#company_profile .company_profile-area .googlemap{
	width: 100%;
	box-sizing: border-box;
	margin: 0 auto;
	padding:2em 0 0 0;
}

#company_profile .company_profile-area .googlemap .map__inner {
	position: relative;
	height: 0;
	padding-top: 56.25%;
	overflow: hidden;
}

#company_profile .company_profile-area .googlemap .map__inner iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}


@media (max-width: 960px) {

	#company_profile .company_profile-area .googlemap .map__inner {
		padding-top: 75%;
	}

}

@media (max-width: 640px) {

#company_profile .company_profile-area .googlemap .map__inner {
		padding-top: 100%;
	}

}

#company_profile .history{
  padding: 80px 20px;

}


.history__inner {
  width: min(1100px, calc(100% - 40px));
  margin: 0 auto;
}



.history__timeline {
  position: relative;
}

.history__timeline::before {
  content: "";
  position: absolute;
  top: 0;
  left: 140px;
  width: 1px;
  height: 100%;
  background: linear-gradient(to bottom, #9fc4e6 0%, #2589d0 100%);
}

.history__item {
  position: relative;
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 30px;
  padding: 0 0 32px;
}

.history__item:last-child {
  padding-bottom: 0;
}

.history__item::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 132px;
  width: 18px;
  height: 18px;
  border: 4px solid #2589d0;
  border-radius: 50%;
  background: #fff;
  box-sizing: border-box;
  z-index: 1;
}

.history__year {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.4;
  color: #2589d0;
  text-align: right;
}

.history__content {
  background: #fff;
  border: 1px solid #d7e6f3;
  padding: 22px 24px;
  box-shadow: 0 8px 24px rgba(37, 137, 208, 0.08);
}

.history__content ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.history__content li {
  position: relative;
  margin: 0;
  padding-left: 1.2em;
  font-size: 16px;
  line-height: 1.9;
  color: #333;
}

.history__content li + li {
  margin-top: 8px;
}

.history__content li::before {
  content: "・";
  position: absolute;
  left: 0;
  top: 0;
  color: #2589d0;
  font-weight: 700;
}

/* hoverは任意 */
.history__content:hover {
  transform: translateY(-2px);
  transition: transform 0.25s ease;
}

/* レスポンシブ */
@media screen and (max-width: 768px) {
  .history {
    padding: 56px 16px;
  }

  .history__inner {
    width: 100%;
  }

  .history__title {
    margin-bottom: 28px;
    text-align: left;
  }

  .history__timeline::before {
    left: 14px;
  }

  .history__item {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 0 0 24px 38px;
  }

  .history__item::before {
    left: 6px;
    top: 8px;
    width: 16px;
    height: 16px;
  }

  .history__year {
    text-align: left;
    font-size: 22px;
  }

  .history__content {
    padding: 18px 18px;
  }

  .history__content li {
    font-size: 15px;
    line-height: 1.8;
  }
}





#company_profile .Number_employees{
padding:3.5em 0 0 0;
}


#company_profile .Number_employees table {
    border-collapse: separate;
    *border-collapse:collapse; /* for IE6,7 */
    border-spacing:0;
    empty-cells:show;
    border-top: 2px solid #E9E9E9;
    border-right: 1px solid #E9E9E9;
    border-bottom: 1px solid #E9E9E9;
    border-left: 2px solid #E9E9E9;
    width: 100%;
}
#company_profile .Number_employees table th {
    padding: 1em;
    background: #F9F9F9;
    text-align: left;
    vertical-align: middle;
    border-top: none;
    border-right:  1px solid #E9E9E9;
    border-bottom: 1px solid #E9E9E9;
    border-left: none;
    color: #444444;
}

#company_profile .Number_employees table th.center {
    text-align: center;
	width:14%;
}

@media screen and (max-width: 768px) {
#company_profile .Number_employees table th.center {
	width:auto;
}
}


#company_profile .Number_employees table td {
	padding: 1em;
	background: #FFFFFF;
    text-align: center;
	border-top: none;
	border-right: 1px solid #E9E9E9;
	border-bottom: 1px solid #E9E9E9;
	border-left: none;
    color: #555555;
}

/* 横スクロール対応 */
#company_profile .Number_employees .responsive-table {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* スクロール対象のテーブルに横幅を強制指定 */
#company_profile .Number_employees .responsive-table table {
  min-width: 600px; /* 必要に応じて調整 */
}



/* 通常は非表示 */
.table-scroll-notice {
  display: none;
  font-size: 0.9em;
  color: #666;
  margin-bottom: 0.5em;
  text-align: right;
  padding-right: 0.5em;
}

/* スマホ表示のみ有効 */
@media screen and (max-width: 768px) {
  .table-scroll-notice {
    display: block;
  }
}



.org-chart {
  padding: 80px 20px;
  background: #f7fbff;
}

.org-chart__inner {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
}

.org-chart__title {
  margin: 0 0 40px;
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 700;
  line-height: 1.4;
  color: #1f3c68;
  text-align: center;
}

/* 全体配置 */
.org-layout {
  display: grid;
  grid-template-columns: 180px 1fr 380px;
  gap: 28px;
  align-items: end;
}

/* 左：業務部 */
.org-dept {
  align-self: center;
  padding: 14px 18px;
  border: 2px solid #5f6b7a;
  border-radius: 10px;
  background: #fff;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  color: #223548;
}

/* 中央 */
.org-center {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 36px;
  padding-top: 10px;
}

/* 業務部→オフィスサービスグループの横線 */
.org-center::before {
  content: "";
  position: absolute;
  left: -28px;
  bottom: 34px;
  width: 28px;
  height: 2px;
  background: #7f8ea3;
}

/* オフィスサービスグループ→上への縦線 */
.org-center::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 66px;
  width: 2px;
  height: 210px;
  background: #7f8ea3;
  transform: translateX(-50%);
}

.org-main-group {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  padding: 14px 18px;
  border: 2px solid #5f6b7a;
  border-radius: 10px;
  background: #fff;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  color: #223548;
}

/* 拠点カード */
.org-site {
  position: relative;
  padding: 26px 22px 22px;
  border: 1px solid #d7e6f3;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(37, 137, 208, 0.08);
}

.org-site__title {
  display: inline-block;
  margin: 0 0 18px;
  padding: 10px 18px;
  border-radius: 999px;
  background: #4f6f97;
  color: #fff;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.4;
}

/* 総合研修所と右側の接続線 */
.org-site--training::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -36px;
  width: 2px;
  height: 36px;
  background: #7f8ea3;
  transform: translateX(-50%);
}

/* 右側エリア */
.org-right {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

/* オフィスサービスグループ→本店ビルの横線 */
.org-right::before {
  content: "";
  position: absolute;
  left: -28px;
  top: 180px;
  width: 28px;
  height: 2px;
  background: #7f8ea3;
}

/* 本店ビル→高松電気ビルの縦線 */
.org-right::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 100%;
  width: 2px;
  height: 28px;
  background: #7f8ea3;
  transform: translateX(-50%);
}

.org-site--small {
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
}

.org-group {
  padding: 18px;
  border: 1px solid #e0ebf5;
  border-radius: 16px;
  background: #fbfdff;
}

.org-group + .org-group {
  margin-top: 18px;
}

.org-group__title {
  margin: 0 0 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid #dce9f6;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
  color: #223548;
}

.org-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.org-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.org-list li + li {
  margin-top: 10px;
}

.org-num {
  min-width: 52px;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.4;
  text-align: right;
  color: #223548;
}

.org-note {
  margin: 12px 0 0;
  font-size: 13px;
  line-height: 1.7;
  color: #5f6b7a;
}

.org-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 72px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  color: #222;
}

.org-badge--physical {
  background: #d9e1ea;
}

.org-badge--intellectual {
  background: #f3b070;
}

.org-badge--mental {
  background: #b9d98d;
}

.org-badge--support {
  background: #f2c200;
}

/* タブレット以下 */
@media screen and (max-width: 1024px) {
  .org-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .org-dept,
  .org-main-group {
    max-width: 520px;
    margin: 0 auto;
  }

  .org-center {
    gap: 20px;
  }

  .org-center::before,
  .org-center::after,
  .org-right::before,
  .org-right::after,
  .org-site--training::after {
    display: none;
  }

  .org-right {
    gap: 20px;
  }

  .org-site--small {
    max-width: none;
  }
}

/* スマホ */
@media screen and (max-width: 768px) {
  .org-chart {
    padding: 56px 16px;
  }

  .org-chart__inner {
    width: 100%;
  }

  .org-chart__title {
    margin-bottom: 28px;
    text-align: left;
  }

  .org-dept,
  .org-main-group {
    font-size: 20px;
    padding: 12px 16px;
  }

  .org-site {
    padding: 18px 16px 16px;
    border-radius: 16px;
  }

  .org-site__title {
    font-size: 19px;
    padding: 8px 14px;
  }

  .org-group {
    padding: 14px;
    border-radius: 14px;
  }

  .org-group__title {
    font-size: 16px;
  }

  .org-num {
    font-size: 21px;
  }

  .org-badge {
    min-width: 66px;
    font-size: 13px;
    padding: 6px 12px;
  }

  .org-note {
    font-size: 12px;
  }
}