@charset "UTF-8";

/* 訳ありサイト 支店のエリアページ（page-templates/page-wakeari-branch.php）
   service.css・top.css を読んだうえで、このページだけの部分を足す。
   支店紹介（.w-office）は実家じまいの支店ページ（.branch-office）と同じ並びを訳ありの緑で組んでいる。
***************************************************************/

/* ページタイトル帯: h1 が長いので文字を少し小さくし、SPは2行にする */
.w-pageTitle--branch h1 {
  font-size: 24px;
  line-height: 35px;
}

/* top.css の .w-flow__zero（TOP の買取の流れ用）の余白がサービス内容の「持ち出し0円」の図に効いてしまうので戻す */
.w-serviceCard__zeroyen .w-flow__zero {
  padding: 0;
}

/* 03 支店紹介
***************************************************************/
.w-office .w-serviceSec__ttl {
  margin-bottom: 40px;
}
.w-office__item {
  display: flex;
  align-items: flex-start;
  gap: 30px;
  text-align: left;
}
.w-office__item + .w-office__item {
  margin-top: 50px;
  padding-top: 50px;
  border-top: 1px solid #d5d5d5;
}
.w-office__photo {
  flex: 1 1 40%;
  min-width: 0;
  margin: 0;
}
.w-office__photo img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
}
.w-office__photo figcaption {
  margin-top: 8px;
  font-size: 13px;
  font-weight: 500;
  text-align: center;
  color: var(--w-text);
}
.w-office__info {
  flex: 1 1 34%;
  min-width: 0;
  color: var(--w-text);
}
.w-office__name {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.6;
  color: var(--w-black);
}
.w-office__address,
.w-office__contacts li {
  font-size: 15px;
  font-weight: 500;
  line-height: 1.8;
}
.w-office__address,
.w-office__contacts {
  margin-top: 10px;
}
.w-office__contacts li {
  list-style: none;
}
.w-office__map {
  flex: 1 1 26%;
  min-width: 0;
  text-align: center;
}
.w-office__map iframe {
  display: block;
  width: 100%;
  height: 240px;
  border: 0;
  border-radius: 10px;
}
.w-office__mapLink {
  display: inline-block;
  margin-top: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--w-green);
  text-decoration: underline;
}
.w-office__area {
  margin-top: 50px;
  padding-top: 50px;
  border-top: 1px solid #cfe9d6;
}
.w-office__areaTtl {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.05em;
  color: var(--w-green);
}
.w-office__areaBox {
  margin-top: 20px;
  padding: 30px 32px;
  border: 2px solid var(--w-green);
  border-radius: 20px;
  background: #fff;
}
.w-office__areaBox p {
  font-size: 15px;
  font-weight: 500;
  line-height: 1.8;
  text-align: left;
  color: var(--w-text);
}
.w-office .w-more {
  margin-top: 50px;
}


@media all and (max-width: 680px) {
  /* サービス内容ページは SP でタイトル帯を消している（service.css）が、エリアページは h1 に支店名が入るので出す */
  .w-pageTitle--branch {
    display: flex;
    padding: 14px 16px;
  }
  .w-pageTitle--branch h1 {
    font-size: 17px;
    line-height: 1.6;
    letter-spacing: 0.03em;
  }
  .w-office .w-serviceSec__ttl {
    margin-bottom: 30px;
  }
  .w-office__item {
    flex-direction: column;
    gap: 20px;
  }
  .w-office__item + .w-office__item {
    margin-top: 40px;
    padding-top: 40px;
  }
  .w-office__photo,
  .w-office__info,
  .w-office__map {
    flex: none;
    width: 100%;
  }
  .w-office__name {
    font-size: 17px;
  }
  .w-office__address,
  .w-office__contacts li {
    font-size: 14px;
  }
  .w-office__map iframe {
    height: 220px;
  }
  .w-office__area {
    margin-top: 40px;
    padding-top: 40px;
  }
  .w-office__areaTtl {
    font-size: 18px;
  }
  .w-office__areaBox {
    margin-top: 16px;
    padding: 20px;
  }
  .w-office__areaBox p {
    font-size: 14px;
  }
  .w-office .w-more {
    margin-top: 40px;
  }
}

/* 01 の「04.○○エリアに密着した売却のご提案」（エリア別原稿＋風景写真）。カードはサービス内容の .w-serviceCard をそのまま使う */
.w-serviceCard--local .w-serviceCard__text h3 {
  word-break: auto-phrase; /* 小見出しを文節で折り返す（対応ブラウザのみ） */
}
/* 風景写真が無い支店はテキストを幅いっぱいに（.w-serviceCard__text の max-width: 484px を外す） */
.w-serviceCard--noimg .w-serviceCard__text {
  flex-grow: 1;
  max-width: none;
}

/* SP の KV: リードが支店名のぶん長くなり実績バッジと近いので、バッジ以下を下げてバッジを中央にそろえる */
@media all and (max-width: 680px) {
  .w-kv {
    height: 545px;
  }
  .w-kv::before {
    height: 426px;
  }
  .w-kv__badges {
    left: 0;
    right: 0;
    top: 356px;
    margin: 0 auto;
  }
  .w-kv__note {
    top: 489px;
  }
}

/* 02「正しい買取の5つのメリット」をコンパクトに（エリアページの SP のみ。PC・サービス内容・TOPは従来どおり）
   「番号・見出し」の右にアイコンを置く横並びにし、アイコンと番号を小さくする */
@media all and (max-width: 680px) {
  .w-serviceSec--green .w-merit__row:first-of-type {
    margin-top: 40px;
  }
  .w-merit__row,
  .w-merit__row + .w-merit__row {
    gap: 16px;
  }
  .w-merit__row + .w-merit__row {
    margin-top: 16px;
  }
  .w-merit__item {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 12px;
  }
  .w-merit__item__icon {
    order: 2;
    width: 72px;
    height: 72px;
  }
  .w-merit__item__icon img {
    height: 40px;
  }
  .w-merit__item__icon--full img {
    width: 72px;
    height: 72px;
  }
  .w-merit__item__body {
    flex: 1;
    min-width: 0;
    align-items: center;
    gap: 10px;
  }
  .w-merit__item__body .num {
    height: 36px;
  }
  .w-merit__item__body .ttl {
    font-size: 17px;
  }
}

/* 支店紹介の末尾の電話・メールのボタン（02 の緑のセクションと同じ間隔） */
.w-office .w-cvBtn {
  margin: 60px 0 0;
}
@media all and (max-width: 680px) {
  .w-office .w-cvBtn {
    margin-top: 40px;
  }
}
