.mv-background {
  background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), /* ✅ 半透明の黒で暗くする */ url("../img/company-office-img.jpg");
  background-position: center;
  background-size: COVER;
  background-repeat: no-repeat;
  align-items: center; /* ✅ 横中央 */
  display: flex; /* ✅ Flexboxを有効に */
  flex-direction: column; /* ✅ h2とpを縦並びに */
  justify-content: center; /* ✅ 縦中央 */
  text-align: center; /* ✅ テキスト中央揃え */
}

@media screen and (max-width: 680px) {

}.branch-title {
  display: flex;
  flex-shrink: 0;
  align-items: flex-end;
}

.branch-title h2 {
  font-size: 3.6rem;
}
 
.red {
  color: #E70012;
  font-style: normal;
  font-weight: 700;
  line-height: 3rem;
  font-size: 1.6rem;
  padding-left: 15px;
}

.branch-title {
  max-width: 1140px;
  margin: 0 auto 60px;
}


.section-branch{
  padding: 80px 25px 150px;
}
@media screen and (max-width: 980px) {
  .section-branch{
  padding: 60px 25px 150px;
}
}




.office-item {
  display: flex;
justify-content: space-between;
  gap: 60px;
  border-top: 1px solid #b70000;
  padding: 40px 0;
  max-width: 1140px;
  margin: 0 auto;
}

.office-map{
  flex: 1;
  min-width: 300px;  /* ← 最低限の幅を保証 */
  width: 100%;
}

.office-map iframe {
  width: 100%;
  border: 0;
}



.office-info h3 {
  font-size: 3.2rem;
  font-weight: bold;
  margin-bottom: 50px;
}

.office-itext {
 
  margin-bottom: 50px;
}

.office-info{
  width: 330px;
}
.map-btn {
  display: inline-block;
  padding: 8px 16px;
  border: 1px solid #b70000;
  color: #b70000;
  font-weight: bold;
  text-decoration: none;
  margin-top: 10px;
  transition: all 0.3s ease;
  font-size: 14px;
}

.map-btn span {
  margin-left: 8px;
}

.map-btn:hover {
  background-color: #b70000;
  color: #fff;
}

/* SP対応 */
@media screen and (max-width: 680px){
  

.branch-title {
   
    margin: 0 auto 40px;
}


}
@media screen and (max-width: 780px) {
  .office-item {
    flex-direction: column;
    gap: 40px;
  }
  .office-info h3 {
font-size: 3rem;
  margin-bottom: 30px;
}

  .office-map,
  .office-info {
    width: 100%;
 
  }
  .map-btn {
    margin-top: 0px;
  }
  
  .office-itext {
 
  margin-bottom: 30px;
}


  .office-map iframe {
    height: 350px;
  }
}
