@charset "UTF-8";
/* ==========================================================================
   voices-detail.css — 売却された方の声 詳細
   design/08_売却された方の声_詳細_02.psb から実装。
   PC固定1320px / 寸法はデザイン(2x)の1/2 px直書き / SPは @media(max-width:768px) のみ
   ========================================================================== */

.p-voice {
  padding: 69px 0 0;
}

/* ==========================================================================
   ページタイトル（一覧と同じ意匠。速度優先のため共通化せず書き切る）
   ========================================================================== */
.p-voice__head {
  width: var(--w-inner);
  margin-inline: auto;
}


.p-voice__pagettl {
  /* color / padding-bottom / border-bottom は common.css の .p-lower__ttl に共通化済み */
  font-size: 40px;
  font-weight: 700;
  line-height: 1.375;
  letter-spacing: .05em;
  margin-top: 13px;
}

/* ==========================================================================
   メイン画像（背後にグレーの全幅帯）
   ========================================================================== */
.p-voice__hero {
  position: relative;
  margin-top: 74px;
}
.p-voice__hero::before {
  content: "";
  position: absolute;
  /* 100vw はスクロールバー幅を含み横スクロールを生むので使わない（親が全幅） */
  left: 0;
  right: 0;
  top: 65px;
  bottom: 64px;
  background: var(--c-bg);
}
/* 投稿画像はスマホ撮影の 4:3 を前提にするため、PSB の 702x482 ではなく 700x525 とする */
.p-voice__hero-img {
  position: relative;
  display: block;
  width: 700px;
  height: 525px;
  object-fit: cover;
  margin-inline: auto;
}

/* ==========================================================================
   本文カラム（PSB 実測 801px）
   ========================================================================== */
.p-voice__inner {
  width: 801px;
  margin-inline: auto;
  position: relative;
}

/* 日付（メイン画像の左端＝702px幅に揃う） */
.p-voice__date {
  width: 702px;
  margin: 11px auto 0;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.765;
  letter-spacing: .05em;
  color: #787878;
}

/* 記事タイトル */
.p-voice__ttl {
  margin-top: 29px;
  font-size: 35px;
  font-weight: 700;
  line-height: 1.571;
  letter-spacing: 0;
  color: var(--c-black);
}

/* お客様の声の一言（ACF voice_message）。タイトルの下に赤字で出す */
.p-voice__message {
  margin-top: 14px;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.591;
  letter-spacing: .05em;
}

/* 案件タグ */
.p-voice__tag {
  position: absolute;
  top: -520px;
  left: 72px;
}
.p-voice__tag a {
  display: inline-flex;
  align-items: center;
  height: 31px;
  padding: 0 16px;
  background: var(--c-blue);
  color: var(--c-white);
  font-size: 17px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: .075em;
  border-radius: 4px;
  transition: background-color .2s;
}
.p-voice__tag a:hover {
  background: var(--c-deepblue);
  opacity: 1;
}

/* ==========================================================================
   本文（Q1〜Q3。エディタ本文＝ the_detail_content()）
   ========================================================================== */
.p-voice__body {
  margin-top: 47px;
  padding-top: 41px;
  border-top: 1px solid var(--c-line);
}
.p-voice__body .detail_content>* {
  margin-top: 15px;
}
.p-voice__body .detail_content>*:first-child {
  margin-top: 0;
}

.p-voice__body .detail_content h2,
.p-voice__body .detail_content h3 {
  margin-top: 41px;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.591;
  letter-spacing: .05em;
  color: var(--c-black);
}
.p-voice__body .detail_content h2:first-child,
.p-voice__body .detail_content h3:first-child {
  margin-top: 0;
}

.p-voice__body .detail_content p,
.p-voice__body .detail_content li {
  font-size: 17px;
  font-weight: 500;
  line-height: 1.765;
  letter-spacing: .05em;
  color: var(--c-black);
}
.p-voice__body .detail_content ul,
.p-voice__body .detail_content ol {
  padding-left: 1.4em;
}
.p-voice__body .detail_content ul>li {
  list-style: disc;
}
.p-voice__body .detail_content ol>li {
  list-style: decimal;
}
.p-voice__body .detail_content img {
  height: auto;
}
.p-voice__body .detail_content a {
  color: var(--c-blue);
  text-decoration: underline;
}

/* ==========================================================================
   物件情報（ACF リピーター voice_property。行が無ければ PHP 側で出力しない）
   表組みの寸法は会社概要の .p-co-table に合わせている
   ========================================================================== */
.p-voice__prop {
  margin-top: 60px;
}
.p-voice__prop-ttl {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.591;
  letter-spacing: .05em;
  color: var(--c-black);
}
.p-voice__prop-table {
  width: 100%;
  margin-top: 20px;
  border-collapse: collapse;
  background: var(--c-white);
  table-layout: fixed;
  border-right: 1px solid var(--c-line);
}
.p-voice__prop-table th,
.p-voice__prop-table td {
  box-sizing: border-box;
  height: 74px;
  padding: 12px 0;
  border-top: 1px solid var(--c-line);
  border-bottom: 1px solid var(--c-line);
  font-size: 17px;
  line-height: 1.6;
  letter-spacing: .05em;
  text-align: left;
  vertical-align: middle;
  color: var(--c-black);
}
.p-voice__prop-table th {
  width: 206px;
  padding-left: 21.5px;
  background: var(--c-gray);
  font-weight: 700;
}
.p-voice__prop-table td {
  padding-left: 30px;
  padding-right: 24px;
  font-weight: 500;
}

/* ==========================================================================
   担当者から
   ========================================================================== */
.p-voice__staff {
  margin-top: 120px;
  border: 5px solid var(--c-black);
  background: var(--c-bg);
  box-sizing: border-box;
}
.p-voice__staff-ttl {
  padding: 11px 20px 13px;
  border-bottom: 5px solid var(--c-black);
  text-align: center;
  font-size: 25px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: .05em;
}
.p-voice__staff-body {
  display: flex;
  gap: 34px;
  padding: 30px 44px 40px;
}
.p-voice__staff-text {
  flex: 1;
  min-width: 0;
}
.p-voice__staff-text p {
  margin-top: 14px;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.765;
  letter-spacing: .05em;
}
.p-voice__staff-text p:first-child {
  margin-top: 0;
}

.p-voice__staff-person {
  width: 222px;
  flex: none;
  text-align: right;
}
/* 担当者写真は縦 3:4（PSB 実測 222x292＝0.7603 を、縦撮り写真の標準比率に寄せた） */
.p-voice__staff-photo {
  display: block;
  width: 222px;
  height: 296px;
  object-fit: cover;
}
.p-voice__staff-corp {
  margin-top: 14px;
  padding-right: 10px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: .05em;
}
.p-voice__staff-name {
  padding-right: 10px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: .05em;
}

/* ==========================================================================
   記事送り（前へ / 一覧へ戻る / 次へ）
   ========================================================================== */
.p-voice__nav {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  margin-top: 122px;
}
.p-voice__nav-back {
  font-size: 18px;
}

.p-voice__nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 47px;
  height: 47px;
  border-radius: 50%;
  background: var(--c-black);
  display: grid;
  place-items: center;
  transition: background-color .2s;
}
.p-voice__nav-btn:not(.is-disabled):hover {
  background: var(--c-blue);
  opacity: 1;
}
.p-voice__nav-btn .c-mask {
  width: 21px;
  height: 7px;
  color: var(--c-white);
}
.p-voice__nav-btn--prev {
  left: 59px;
}
.p-voice__nav-btn--prev .c-mask {
  transform: scaleX(-1);
}
.p-voice__nav-btn--next {
  right: 59px;
}
.p-voice__nav-btn.is-disabled {
  background: #e6e9ec;
  pointer-events: none;
}
.p-voice__nav-btn.is-disabled .c-mask {
  color: #b4bbc2;
}

/* ==========================================================================
   SP（≤768px）
   ========================================================================== */
@media (max-width: 768px) {
  .p-voice {
    padding: 28px 0 0;
  }
  .p-voice__head {
    width: 90%;
  }

  .p-voice__crumb {
    font-size: 12px;
  }
  .p-voice__crumb a+a::before,
  .p-voice__crumb a+span::before {
    margin: 0 8px;
  }
  .p-voice__pagettl {
    font-size: 26px;
    margin-top: 16px;
  }

  .p-voice__hero {
    margin-top: 36px;
  }
  .p-voice__hero::before {
    top: 30px;
    bottom: 30px;
  }
  .p-voice__hero-img {
    width: 90%;
    height: auto;
    aspect-ratio: 4 / 3;
  }

  .p-voice__inner {
    width: 90%;
  }
  .p-voice__date {
    width: 100%;
    margin-top: 10px;
    font-size: 14px;
  }
  .p-voice__ttl {
    margin-top: 16px;
    font-size: 24px;
    line-height: 1.5;
  }
  .p-voice__message {
    margin-top: 10px;
    font-size: 18px;
  }
  .p-voice__tag {
    margin-top: 14px;
  }
  .p-voice__tag a {
    font-size: 12px;
    height: 26px;
    padding: 0 12px;
  }

  .p-voice__body {
    margin-top: 28px;
    padding-top: 28px;
  }
  .p-voice__body .detail_content h2,
  .p-voice__body .detail_content h3 {
    margin-top: 32px;
    font-size: 18px;
  }
  .p-voice__body .detail_content p,
  .p-voice__body .detail_content li {
    font-size: 15px;
    line-height: 1.8;
  }

  .p-voice__prop {
    margin-top: 40px;
  }
  .p-voice__prop-ttl {
    font-size: 18px;
  }
  /* 幅が足りないので項目名と内容を縦に積む */
  .p-voice__prop-table,
  .p-voice__prop-table tbody,
  .p-voice__prop-table tr,
  .p-voice__prop-table th,
  .p-voice__prop-table td {
    display: block;
  }
  .p-voice__prop-table {
    margin-top: 14px;
    border: none;
  }
  .p-voice__prop-table th,
  .p-voice__prop-table td {
    width: auto;
    height: auto;
    font-size: 15px;
  }
  .p-voice__prop-table th {
    padding: 10px 14px;
    border: 0;
  }
  .p-voice__prop-table td {
    padding: 12px 14px;
    border: 0;
  }

  .p-voice__staff {
    margin-top: 60px;
    border-width: 3px;
  }
  .p-voice__staff-ttl {
    font-size: 20px;
    padding: 10px 16px;
    border-bottom-width: 3px;
  }
  .p-voice__staff-body {
    flex-direction: column;
    gap: 24px;
    padding: 24px 20px 28px;
  }
  .p-voice__staff-text p {
    font-size: 15px;
  }
  .p-voice__staff-person {
    width: 100%;
    text-align: center;
  }
  .p-voice__staff-photo {
    width: 180px;
    height: 240px;
    margin-inline: auto;
  }
  .p-voice__staff-corp,
  .p-voice__staff-name {
    padding-right: 0;
  }

  .p-voice__nav {
    margin-top: 60px;
    gap: 12px;
    justify-content: space-between;
  }
  .p-voice__nav-btn {
    position: static;
    transform: none;
    width: 40px;
    height: 40px;
  }
  .p-voice__nav-back {
    font-size: 15px;
    min-width: 0;
    padding: 0 20px;
  }
}