@charset "UTF-8";





/* ----------------------about-top---------------------- */

.about-top {
  padding-bottom: 80px;
  background: #73a082;
}
.about-top__ttl-container {
  padding-top: 140px;
  background: #faf8f3;
}
.about-top__ttl {
  max-width: 1920px;
  margin: 0 auto;
  text-align: left;
}
.about-top__ttl-ja {
  color: #373737;
  vertical-align: middle;
}
.about-top__box {
  max-width: 1310px;
  width: 97%;
  margin: -60px auto 0;
  padding: 80px;
  display: flex;
  justify-content: space-around;
  align-items: flex-start;
  gap: 60px;
  background: #fff;
  z-index: 2;
}
.about-top__catch {
  font-size: 2.8rem;
}
.about-top__txt {
  font-size: 2rem;
  text-align: left;
}
.about-top__catch {
  display: flex;              /* 行を横並びに */
  align-items: flex-start;   
  justify-content: space-between;
  gap: 0.7rem;                /* 行と行のあいだの余白。お好みで調整 */
  font-size: 2.8rem;            /* デザインに合わせて */
  line-height: 1.8;           /* 縦方向の文字間隔 */
  font-weight: 600;
}
.about-top__catch-line {
  writing-mode: vertical-rl;  /* 縦書き */
  text-orientation: mixed;    /* 日本語と記号を自然に */
}

@media (max-width: 1100px) {
  .about-top__ttl {
    padding-bottom: 70px;
  }
  .about-top__box {
    margin: -60px auto 0;
  }
}

@media (max-width: 768px) {
  .about-top__ttl-container {
    padding-top: 80px;
  }
  .about-top__box {
    width: 94%;
    flex-direction: column;
    align-items: center;
    padding: 40px;
    gap: 20px;
  }
  .about-top__catch {
   font-size: 2.4rem;
  }
  .about-top__txt {
    font-size: 1.6rem;
    text-align: left;
  }
}
@media (max-width: 570px) {
  .about-top__box {
    padding: 25px;
  }
} 

/* ----------------------about-outline---------------------- */
.about-outline__inner {
  max-width: 1000px;
  margin: 0 auto;
}
.about-outline__ttl {
  text-align: left;
  margin-bottom: 20px;
}
.about-outline__row {
  padding: 20px 0;
  display: flex;
  width: 100%;
  border-bottom: 1px solid #373737;
  text-align: left;
  gap: 20px;
}
.about-outline__row:first-child {
  border-top: 1px solid #373737;
}
.about-outline__label {
  width: 12%;
}
.about-outline__data {
  width: 88%;
}

@media (max-width: 768px) {
  .about-outline__label {
    width: 18%;
  }
  .about-outline__data {
    width: 82%;
  }
}

@media (max-width: 450px) {
  .about-outline__label {
    width: 25%;
  }
  .about-outline__data {
    width: 75%;
  }
}

/* ----------------------about-address---------------------- */

.about-address__inner {
  max-width: 1000px;
  margin: 0 auto;
}
.about-address__ttl {
  text-align: left;
  margin-bottom: 10px;
}
.about-address__content {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  width: 100%;
  gap: 3%;
}

.about-address__list {
  width: 49%;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.about-address__map {
  width: 48%;
  display: flex;
}

.about-address__map iframe {
  width: 100%;
  height: 100%;
  border: 6px solid #73a082;
}

/* ▼ 各オフィスカード共通 */
.about-address__item {
  background: #d5e2d9;
  border-radius: 15px;
  padding: 10px 20px;
  display: block;
  text-decoration: none;
  color: #333;
  position: relative;
  transition: background 0.2s ease, color 0.2s ease;
  cursor: pointer;
}

/* タイトルの基本色 */
.about-address__office-ttl {
  color: #73a082;
}

/* 大阪用フォントサイズ */
.about-address__office-ttl--osaka {
  font-size: 3.2rem;
}
.about-address__office-txt--osaka {
  font-size: 1.8rem;
}

/* 東京・神戸用サイズ（BEM名を--others に統一） */
.about-address__office-ttl--others {
  font-size: 2rem;
}
.about-address__office-txt--others {
  font-size: 1.6rem;
}

/* ▼ 選択状態（クリックされたカード） */
.about-address__item--active {
  background: #73a082;
  color: #fff;
}

/* 選択中は見出し・本文も白文字に */
.about-address__item--active .about-address__office-ttl,
.about-address__item--active .about-address__office-txt {
  color: #fff;
}

/* 選択中のカードから地図へ伸びるライン */
.about-address__item--active::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 100%;
  transform: translateY(-50%);
  height: 15px;
  /* 線の長さはデザインを見ながら調整してね */
  width: 30px;
  background: #73a082;
}

/* SPでは縦並びになる想定なので、線は非表示にしておくと無難 */
@media (max-width: 768px) {
  .about-address__content {
    flex-direction: column;
    align-items: center;
    gap: 40px;
  }

  .about-address__list,
  .about-address__map {
    width: 100%;
  }
  .about-address__map iframe {
    width: 100%;
    height: 100%;
    min-height: 400px;
  }

  .about-address__item--active::after {
    display: none;
  }

  .about-address__office-ttl--osaka {
    font-size: 2.4rem;
  }
  .about-address__office-txt--osaka {
    font-size: 1.4rem;
  }
  .about-address__office-ttl--others {
    font-size: 1.6rem;
  }
  .about-address__office-txt--others {
    font-size: 1.4rem;
  }
}
