/*##### Company #####*/
.bl_horizBtnList_btn{
  width: 232px;
}
@media all and (max-width: 640px){
	.bl_horizBtnList_btn{
		width: 100%;
	}
}
@media all and (max-width: 640px){
  .pageCompany .boxCompanyData .boxCont01F {
    display: flex;
    -webkit-flex-wrap: nowrap;
    flex-wrap: nowrap;
    gap:1em;
  }
}

/*---------- boxCompanyVision ----------*/
.bgVision{
  background: url('../../images/company/bg_vision.jpg') no-repeat center bottom / cover;
  position: relative;
  margin-top: -1rem;
}
@media all and (max-width: 640px){
  .bgVision{
    background: url('../../images/company/bg_vision_sp.jpg') no-repeat center top / 100% auto;
  }
}
.boxCompanyVision {
  align-items: center;
  display: flex;
  gap:3.4rem;
  margin-top: 1em;
  margin-bottom: 1em;
  justify-content: center;
}
.boxCompanyVision .img {
	/*
  border: 3px solid #a2b5d3;
  border-radius: 10rem;
  padding: 7rem 6px;
	*/
  width: 319px;
  text-align: center;
}
@media all and (max-width: 640px){

  .boxCompanyVision .img {
    padding: 0;
	width: 60%;
  }
}

/*
.boxCompanyVision .img img{
  display: block;
  margin: 0 auto;
  max-width: 280px;
}
*/

.boxCompanyVision .body {
  flex: 1;
}

.boxCompanyVision .body .ttl {
  color: #C50018;
  display: flex;
  align-items: center;
  margin-bottom: 1.2rem;
  letter-spacing: .1em;
  font-weight: 700;
  font-size: 2.5rem;
  position: relative;
}

.boxCompanyVision .body .ttl .line {
	/*
  width: calc(100% - 16em);
  margin-left: .5em;
  height: 1px;
	*/
  padding-right: 20px;
  position: relative;
  z-index: 5;
}

.boxCompanyVision .body .ttl::before {
  background:#762a45;
  content:'';
  height: 1px;
  position: absolute;
  top: 50%;
  transform: translatey(-50%);
  right : 0;
  width: calc( 100% - 354px);
  z-index: 0;
}

@media all and (max-width: 640px){
  .boxCompanyVision .body .ttl::before {
    width: 32%;
  }
}


.boxCompanyVision .ttl_sub {
  color:#E7214B;
  margin: 2rem 0;
  letter-spacing: .1em;
  font-weight: 700;
  font-size: 18px;
}
.boxCompanyVision .body .ttl_sub .first {
  margin-right: .2em;
  font-size: 23px;
  color:#E7214B;
}
.boxCompanyVision .body .ttl_sub .last {
  margin-left: .2em;
  font-size: 23px;
  color:#E7214B;
}
.boxCompanyVision .body p {
  color:#202020;
/*  display: flex;
  align-items: center;
	*/
  padding: 0 0 1em 0;
  letter-spacing: .18em;
  line-height: 1.2;
  font-weight: 500;
  font-size: 1.28rem;
}
.boxCompanyVision .body p.no01{
  padding-bottom:.5em;
}

.boxCompanyVision .body p.line{
  border-bottom: 1px solid #c6c3c2;
}
/*
.boxCompanyVision .body p::before {
  flex-shrink: 0;
  content:"";
  display:block;
  width: .5em;
  height:.5em;
  margin-left: .5em;
  margin-right: 1em;
  background: #ceedfd;
}
*/
@media all and (max-width: 640px){
  .boxCompanyVision {
    flex-direction: column;
    align-items: center;
    gap:1rem;
    margin-top: 0;
    margin-bottom: 0;
  }
  .boxCompanyVision .body .ttl {
    margin-top: 0;/*1.1em;*/
    margin-bottom: 1rem;
    font-size: 1.24rem;
  }
  .boxCompanyVision .body .ttl_sub {
    font-size: 1.1rem;
	 margin: 1.25rem 0;
  }
  .boxCompanyVision .body p {
    font-size: .9rem;
  }
	/*
  .boxCompanyVision .body p::before {
  margin-left: 0em;
  }
	*/
}


#posiVision ul{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin: 2rem 0 0;
}

#posiVision ul > li{
  background: #f4f4f4;
  margin: 0 1% 3%;
  padding: 0;
  width: 31%;
}

@media all and (min-width: 641px){
  #posiVision ul> li.w50{
    width: 48%;
  }
}
@media all and (max-width: 640px){
  #posiVision ul > li{
    margin: 0 0 3%;
    width: 100%;
  }
}

#posiVision ul > li::before{
  display: none;
}

#posiVision ul strong{
  align-items: center;
  background: #47b711;
  color: #fff;
  display: flex;
  font-size: 1.3rem;
  margin-bottom: 1rem;
  text-align: center;
  padding: .75rem 1rem;
  justify-content: center;
  width: 100%;
}

@media all and (min-width: 641px){
  #posiVision ul strong.h90{
    min-height: 81px;
  }
}

@media all and (max-width: 640px){
  #posiVision ul strong{
    font-size: 1rem;
    margin-bottom: 1rem;
    padding: .75rem;
  }
}

#posiVision ul p{
  padding: 0 1.5rem 1.5rem;
}

@media all and (max-width: 640px){
  #posiVision ul p{
	margin-bottom: 0;
    padding: 0 1rem 1rem;
  }
}

#posiVision ul p span{
  color: #47b711;
  display: block;
  font-size: 120%;
  text-align: center;
  margin-bottom: 1rem;
}

#posiVision ul p span.non{
  margin-bottom: 0;
}
#posiVision ul > li ol{
  margin: 0;
  padding: 0 1.5rem 1.5rem;
  width: 100%;
}

@media all and (max-width: 640px){
  #posiVision ul > li ol{
    padding: 0 1rem 1rem;
  }
}

.boxCompany0201 .bl_lv3Heading02{
  margin-top: 5rem;
}
@media all and (max-width: 640px){
  .boxCompany0201 .bl_lv3Heading02{
    margin-top: 2.5rem;
  }
}


#forfamily{
  margin-bottom: 0;
}
#forfamily .boxCompany03LR{
  align-items: flex-start;
  display: flex;
  justify-content: space-between;
}

@media all and (max-width: 640px){
  #forfamily .boxCompany03LR{
    flex-wrap: wrap;
  }
}

#forfamily .boxCompany03LR.m30{
  margin-top: 5em;
  margin-bottom: 3rem;
}

@media all and (max-width: 640px){
  #forfamily .boxCompany03LR.m30{
    margin-top: 0;
    margin-bottom: 1.5rem;
  }
}

#forfamily .boxCompany03LR .text{
  width: 46%;
}
#forfamily .boxCompany03LR .img{
  width: 51%;
}

@media all and (max-width: 640px){
  #forfamily .boxCompany03LR .text{
	order: 2;
    width: 100%;
  }
  #forfamily .boxCompany03LR .text .boxBaseCom p{
	margin-bottom: 2%;
  }
  #forfamily .boxCompany03LR .text .bl_lv3Heading02 {
    margin-top: 1em;
	margin-bottom: 1em;
  }
  #forfamily .boxCompany03LR .img{
	margin-bottom: 1rem;
	order: 1;
    width: 100%;
  }
}

#forfamily .boxCompany03LR .text p + ol{
  margin-top: 1rem;
}

#forfamily .boxBaseCom{
  margin-bottom:0;
}
.boxBaseCom ol li{
  font-size: 1.2rem;
}
@media all and (max-width: 640px){
.boxBaseCom ol li{
  font-size: .95rem;
  padding-left:16%;
}
}

.boxCompanyHistoryWrap{
  margin:0 auto;
  padding: 0;
}
/*
@media (max-width: 640px) {
  .boxCompanyHistoryWrap{
    margin: 4rem auto;
    padding: 4em 0 2em;
  }
}
*/
#posiCompanyProfile{
  background: #fafafa;
  padding: 6rem 0; 
  margin: 7rem auto 0;
}
@media (max-width: 640px) {
  #posiCompanyProfile{
    margin: 0 0;
    padding: 3rem 0 4rem; /*12.5vw 0 ; /*15vw 0;*/ 
  }
}
#posiCompanyProfile .boxCompany04 {
  margin-bottom: 0;
  padding-top: 0;
  margin-top: 0;
}

#posiCompanyProfile .bl_dlList:last-child{
  margin-bottom: 0;
}
.boxCompanyMAP{
  margin: 0 auto;
  padding: 5rem 0 6rem 0;
}

@media (max-width: 640px) {
  .boxCompanyMAP{
    padding: 2.5rem 0 4.5rem;
  }
}


#posiAccess .flex-box{
  align-items: stretch;
  margin-bottom: 4rem;
}

.boxCompanyMAP .box_half{
  position: relative;
}
@media (max-width: 640px) {
  #posiAccess .flex-box{
   margin-bottom: 3rem;
  }

  .boxCompanyMAP .box_half{
	margin: 0 auto;
    width: 95%;
  }
  .boxCompanyMAP .box_half:first-child{
    margin-bottom: 1rem;
  }
}

.icon_magnifyingglass{
  background-color: var(--color-white);
  border-radius: 100%;
  content: '';
  display: block;
  height: 50px;
  padding-top: 11px;
  position: absolute;
  right: .5rem;
  line-height: 50px;
  width: 50px;
  z-index: 1;
  bottom: 2rem;
}
@media (max-width: 640px) {
  .icon_magnifyingglass{
    top: .5rem;
	bottom: inherit;
  }
}

.icon_magnifyingglass img{
  display: block;
  margin: 0 auto;
  max-width:28px;
}

.boxCompanyMAP iframe{
  border: 0;
  height: 400px;
  max-width: 100%;
  width: 100%;
}

/* 拡大する前の画像（サムネイル） */
.zoomable-img {
  cursor: pointer;
  transition: opacity 0.3s ease;
}
.zoomable-img:hover {
  opacity: 0.6;
}

/* モーダル（拡大画面）の基本設定 */
.modal {
  display: none; /* 初期状態は非表示 */
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8); /* 半透明の背景 */
  justify-content: center;
  align-items: center;
}

.modal_inner{
  position: relative;
  margin: auto;
  max-width: 90%;
}
/* 拡大画像 */
.modal-content {
  display: block;
  margin: auto;
  max-width: 90%;
  max-height: 90%;
  animation: zoomIn 0.3s ease;
	/*
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);*/
}

/* 拡大アニメーション */
@keyframes zoomIn {
  from { transform: scale(0.8); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

/* 閉じるボタン */
.close-btn {
  position: absolute;
  top: -5%;
  right: 5%;
  font-weight: bold;
  cursor: pointer;
  display: block;
  width: 25px;
  height: 25px;
  z-index: 10;
}

@media (max-width: 640px) {
  .close-btn {
    top: -10%;
  }
}
