/* ============================================================
   トップページ改修用スタイル（2026-09）
   差し替え原稿 T-01〜T-10 で新設・変更したセクションのスタイル。
   index.php から common.css / loading.css の後に読み込む。
   ※ このファイルは手書きの CSS（Sass からのコンパイル物ではありません）
   配色・余白は既存 common.scss に合わせています。
     グラデーション: linear-gradient(90deg, #53C953, #1A8283)
     見出し色: #102F24 / アクセント: #248C7B / 本文: #333
     ブレイクポイント: 768px
   ============================================================ */

/* ----------------------------------------------
   T-02 ファーストビュー サブコピー
---------------------------------------------- */
article#titleTop section#intro.full div.wrap p.subcopy {
  position: relative;
  z-index: 2;
  padding-top: 24px;
  font-size: 1.8rem;
  font-weight: 500;
  letter-spacing: 3px;
  line-height: 2;
}
@media screen and (max-width: 768px) {
  article#titleTop section#intro.full div.wrap p.subcopy {
    padding-top: 12px;
    padding-left: 10px;
    padding-right: 10px;
    font-size: 1.3rem;
    letter-spacing: 1px;
  }
}

/* ----------------------------------------------
   新設セクション共通の見出し（BLOG / Business と同じ体裁）
---------------------------------------------- */
article#results header,
article#reasons header,
article#voice header {
  max-width: 1280px;
  padding-left: 40px;
  padding-right: 40px;
  display: flex;
  margin: auto;
}
article#results header h2,
article#reasons header h2,
article#voice header h2 {
  color: #102F24;
  font-size: 3.6rem;
  letter-spacing: 2px;
  padding-right: 20px;
}
article#results header i,
article#reasons header i,
article#voice header i {
  font-size: 16px;
  letter-spacing: 2px;
  opacity: 0.6;
  color: #000;
  font-weight: 300;
}
article#results section,
article#reasons section,
article#voice section {
  padding-top: 0;
}
@media screen and (max-width: 768px) {
  article#results header,
  article#reasons header,
  article#voice header {
    padding-left: 20px;
    padding-right: 20px;
  }
  article#results header i,
  article#reasons header i,
  article#voice header i {
    padding: 17px 0 0;
    font-size: 12px;
  }
}

/* ----------------------------------------------
   T-03 実績の数字
---------------------------------------------- */
article#results ul.numbers {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
article#results ul.numbers li {
  flex: 1 1 calc(25% - 15px);
  min-width: 200px;
  text-align: center;
  padding: 32px 16px 28px;
  border-radius: 10px;
  background: #fff;
  box-shadow: rgba(28, 180, 139, 0.2) 0px 2px 10px;
}
article#results ul.numbers li strong {
  display: block;
  font-family: yu-mincho-pr6n, serif;
  font-size: 4.8rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 2px;
  color: #1A8283;
}
article#results ul.numbers li strong small {
  font-size: 2rem;
  margin: 0 2px;
}
article#results ul.numbers li span {
  display: block;
  margin-top: 10px;
  font-size: 1.4rem;
  letter-spacing: 2px;
  color: #333;
}
article#results div.results-note {
  margin-top: 40px;
  text-align: center;
  font-size: 1.5rem;
  line-height: 2;
  letter-spacing: 1px;
}
article#results div.results-note p + p {
  margin-top: 0.6em;
}
article#results div.results-note p.stat {
  font-size: 1.3rem;
  opacity: 0.8;
}
@media screen and (max-width: 768px) {
  article#results ul.numbers {
    gap: 12px;
  }
  article#results ul.numbers li {
    flex-basis: calc(50% - 6px);
    min-width: 0;
    padding: 22px 8px 18px;
  }
  article#results ul.numbers li strong {
    font-size: 3.4rem;
  }
  article#results ul.numbers li strong small {
    font-size: 1.5rem;
  }
  article#results ul.numbers li span {
    font-size: 1.2rem;
    letter-spacing: 1px;
  }
  article#results div.results-note {
    margin-top: 28px;
    text-align: left;
    font-size: 1.4rem;
    line-height: 1.9;
  }
}

/* ----------------------------------------------
   T-04 選ばれてきた3つの理由
---------------------------------------------- */
article#reasons ol.reason-list > li {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 48px;
  align-items: center;
  padding: 44px 0;
  border-top: 1px solid rgba(16, 47, 36, 0.15);
}
article#reasons ol.reason-list > li:last-child {
  border-bottom: 1px solid rgba(16, 47, 36, 0.15);
}
article#reasons div.reason-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}
article#reasons div.reason-head span.num {
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(90deg, #53C953, #1A8283);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: yu-mincho-pr6n, serif;
  font-size: 2.4rem;
  line-height: 1;
}
article#reasons div.reason-head h3 {
  font-size: 2.4rem;
  font-weight: 600;
  letter-spacing: 2px;
  line-height: 1.4;
  color: #102F24;
}
article#reasons div.reason-body p {
  font-size: 1.5rem;
  line-height: 1.9;
  letter-spacing: 1px;
}
article#reasons div.reason-body p + p {
  margin-top: 1em;
}
article#reasons div.reason-body p.point {
  font-weight: 600;
  color: #248C7B;
}
article#reasons blockquote.voice-quote {
  margin: 0;
  padding: 24px 24px 20px;
  background: #F4FAF8;
  border-left: 4px solid #1A8283;
  border-radius: 0 10px 10px 0;
}
article#reasons blockquote.voice-quote p {
  font-size: 1.4rem;
  line-height: 1.8;
  letter-spacing: 1px;
}
article#reasons blockquote.voice-quote cite {
  display: block;
  margin-top: 12px;
  font-style: normal;
  font-size: 1.3rem;
  letter-spacing: 1px;
  color: #248C7B;
  text-align: right;
}
@media screen and (max-width: 768px) {
  article#reasons ol.reason-list > li {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 32px 0;
  }
  article#reasons div.reason-head {
    gap: 12px;
    margin-bottom: 14px;
  }
  article#reasons div.reason-head span.num {
    width: 36px;
    height: 36px;
    font-size: 1.8rem;
  }
  article#reasons div.reason-head h3 {
    font-size: 1.8rem;
    letter-spacing: 1px;
  }
  article#reasons div.reason-body p {
    font-size: 1.4rem;
    line-height: 1.8;
  }
  article#reasons blockquote.voice-quote {
    padding: 18px 18px 14px;
  }
  article#reasons blockquote.voice-quote p {
    font-size: 1.3rem;
  }
}

/* ----------------------------------------------
   T-05 お客様の声（カード表示）
---------------------------------------------- */
article#voice p.voice-lead {
  margin-bottom: 40px;
  text-align: center;
  font-size: 1.5rem;
  line-height: 2;
  letter-spacing: 1px;
}
article#voice ul.voice-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
article#voice ul.voice-list li.voice__content {
  width: calc(25% - 15px);
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  box-shadow: rgba(0, 0, 0, 0.2) 2px 2px 10px;
  display: flex;
}
article#voice ul.voice-list li.voice__content a.link {
  display: flex;
  flex-direction: column;
  width: 100%;
  color: #333;
}
article#voice ul.voice-list li.voice__content div.img {
  position: relative;
  padding-top: 60%;
}
article#voice ul.voice-list li.voice__content div.img img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
article#voice ul.voice-list li.voice__content div.text__content {
  flex: 1;
  padding: 20px;
  background: linear-gradient(90deg, rgba(83, 201, 83, 0.15), rgba(26, 130, 131, 0.15));
}
article#voice ul.voice-list li.voice__content h3 {
  font-size: 1.6rem;
  letter-spacing: 1px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}
article#voice ul.voice-list li.voice__content div.voice-detail-info {
  font-size: 1.3rem;
}
article#voice ul.voice-list li.voice__content div.voice-detail-info th {
  font-weight: 600;
  text-align: left;
  white-space: nowrap;
}
article#voice ul.voice-list li.voice__content p.explain {
  margin-top: 10px;
  font-size: 1.3rem;
  letter-spacing: 1px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}
article#voice div.btn__wrap a {
  color: #102F24;
  border: solid 1px #102F24;
  border-radius: 8px;
  padding: 20px 80px;
  display: block;
  text-align: center;
  width: fit-content;
  letter-spacing: 2px;
  margin: 40px auto 0;
}
@media screen and (max-width: 768px) {
  article#voice p.voice-lead {
    margin-bottom: 24px;
    text-align: left;
    font-size: 1.4rem;
    line-height: 1.9;
  }
  /* BLOG と同じく横スクロール */
  article#voice ul.voice-list {
    flex-wrap: nowrap;
    gap: 16px;
    overflow-x: auto;
    padding-bottom: 12px;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
  }
  article#voice ul.voice-list li.voice__content {
    flex: 0 0 78%;
    width: 78%;
    scroll-snap-align: start;
  }
  article#voice div.btn__wrap a {
    width: 100%;
    padding: 20px 0;
    margin-top: 24px;
  }
}

/* ----------------------------------------------
   T-06 できること（2列の表）
---------------------------------------------- */
article#service section.full div.wrap {
  max-width: 1280px;
  padding: 0 40px;
  margin: auto;
}
article#service h3.service-lead {
  margin-bottom: 36px;
  text-align: center;
  font-size: 2.4rem;
  font-weight: 600;
  letter-spacing: 2px;
  line-height: 1.5;
  color: #102F24;
}
article#service table.service-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 10px;
}
article#service table.service-table th {
  padding: 0 24px 4px;
  text-align: left;
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: 2px;
  color: #248C7B;
}
article#service table.service-table td {
  padding: 22px 24px;
  vertical-align: middle;
  font-size: 1.5rem;
  line-height: 1.7;
  letter-spacing: 1px;
  background: #F0F0F0;
}
article#service table.service-table td:first-child {
  width: 50%;
  border-radius: 10px 0 0 10px;
  border-right: 10px solid #fff;
}
article#service table.service-table td:last-child {
  border-radius: 0 10px 10px 0;
  background: #E8F5F1;
  color: #102F24;
  font-weight: 600;
}
@media screen and (max-width: 768px) {
  article#service section.full div.wrap {
    padding: 0 20px;
  }
  article#service h3.service-lead {
    margin-bottom: 24px;
    font-size: 1.8rem;
    letter-spacing: 1px;
  }
  article#service table.service-table {
    border-spacing: 0;
  }
  article#service table.service-table thead {
    display: none;
  }
  article#service table.service-table tr,
  article#service table.service-table td {
    display: block;
  }
  article#service table.service-table tr {
    margin-bottom: 14px;
    border-radius: 10px;
    overflow: hidden;
  }
  article#service table.service-table td {
    padding: 16px;
    font-size: 1.4rem;
    line-height: 1.6;
  }
  article#service table.service-table td:first-child {
    width: auto;
    border-right: none;
    border-radius: 0;
  }
  article#service table.service-table td:last-child {
    border-radius: 0;
    padding-top: 12px;
    padding-bottom: 14px;
  }
  article#service table.service-table td:last-child::before {
    content: "対応する業務";
    display: block;
    margin-bottom: 4px;
    font-size: 1.1rem;
    font-weight: 400;
    letter-spacing: 1px;
    color: #248C7B;
  }
  article#service section div.btn__wrap a {
    margin-top: 30px;
  }
}

/* ----------------------------------------------
   T-07 代表メッセージ（旧 事務所紹介）
---------------------------------------------- */
article#about section div.content div.text_wrap div.message-body p + p {
  margin-top: 1.2em;
}
article#about section div.content div.text_wrap div.message-body p.sign {
  margin-top: 2em;
  text-align: right;
  font-size: 1.3rem;
  line-height: 1.8;
}
@media screen and (max-width: 768px) {
  article#about section div.content div.text_wrap div.message-body {
    padding: 20px 20px 40px;
  }
  article#about section div.content div.text_wrap div.message-body p {
    padding: 0;
  }
}

/* ----------------------------------------------
   T-08 このような会社の力になりたい
---------------------------------------------- */
article#mission {
  background: #F4FAF8;
}
article#mission section {
  padding: 80px 40px;
}
article#mission section div.wrap {
  max-width: 880px;
  margin: auto;
  text-align: center;
}
article#mission h2 {
  margin-bottom: 32px;
  font-size: 2.8rem;
  font-weight: 600;
  letter-spacing: 3px;
  line-height: 1.5;
  color: #102F24;
}
article#mission p {
  font-size: 1.6rem;
  line-height: 2.1;
  letter-spacing: 1px;
}
article#mission p + p {
  margin-top: 1.4em;
}
@media screen and (max-width: 768px) {
  article#mission section {
    padding: 60px 20px;
  }
  article#mission section div.wrap {
    text-align: left;
  }
  article#mission h2 {
    margin-bottom: 20px;
    font-size: 2rem;
    letter-spacing: 1px;
  }
  article#mission p {
    font-size: 1.4rem;
    line-height: 1.9;
  }
}

/* ----------------------------------------------
   T-09 ご相談への出口
---------------------------------------------- */
article#consult section.full {
  padding: 80px 40px;
  background: linear-gradient(90deg, #53C953, #1A8283);
  color: #fff;
}
article#consult section.full div.wrap {
  max-width: 880px;
  margin: auto;
  text-align: center;
}
article#consult h2 {
  margin-bottom: 24px;
  font-size: 3rem;
  font-weight: 600;
  letter-spacing: 3px;
  line-height: 1.5;
  color: #fff;
}
article#consult p.lead {
  margin-bottom: 14px;
  font-size: 1.8rem;
  line-height: 1.8;
  letter-spacing: 1px;
}
article#consult p.free {
  font-size: 1.6rem;
  line-height: 2;
  letter-spacing: 1px;
}
article#consult div.target {
  margin: 36px auto 0;
  padding: 20px 24px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.16);
}
article#consult div.target h3 {
  margin-bottom: 8px;
  font-size: 1.6rem;
  letter-spacing: 2px;
  color: #fff;
}
article#consult div.target p {
  font-size: 1.5rem;
  line-height: 1.8;
  letter-spacing: 1px;
}
article#consult ul.notes {
  max-width: 760px;
  margin: 24px auto 0;
  text-align: left;
}
article#consult ul.notes li {
  padding-left: 1.3em;
  text-indent: -1.3em;
  font-size: 1.3rem;
  line-height: 1.8;
  letter-spacing: 0.5px;
}
article#consult ul.notes li + li {
  margin-top: 6px;
}
article#consult div.btns {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}
article#consult div.btns a.btn {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 300px;
  padding: 20px 40px;
  border-radius: 8px;
  font-size: 1.7rem;
  font-weight: 600;
  letter-spacing: 2px;
  line-height: 1.3;
}
article#consult div.btns a.btn.primary {
  background: #fff;
  color: #1A8283;
}
article#consult div.btns a.btn.tel {
  background: transparent;
  color: #fff;
  border: 2px solid #fff;
}
article#consult div.btns a.btn.tel small {
  margin-top: 4px;
  font-size: 1.3rem;
  font-weight: 400;
  letter-spacing: 1px;
}
@media screen and (max-width: 768px) {
  article#consult section.full {
    padding: 60px 20px;
  }
  article#consult h2 {
    font-size: 2.2rem;
    letter-spacing: 1px;
  }
  article#consult p.lead {
    font-size: 1.5rem;
  }
  article#consult p.free {
    font-size: 1.4rem;
    line-height: 1.9;
  }
  article#consult div.target {
    margin-top: 24px;
    padding: 16px;
    text-align: left;
  }
  article#consult div.target p {
    font-size: 1.4rem;
  }
  article#consult ul.notes li {
    font-size: 1.2rem;
  }
  article#consult div.btns {
    flex-direction: column;
    gap: 12px;
    margin-top: 28px;
  }
  article#consult div.btns a.btn {
    width: 100%;
    min-width: 0;
    padding: 18px 20px;
    font-size: 1.6rem;
  }
}

/* ----------------------------------------------
   並び替えに伴う余白調整
   T-06（#service, section.full）の直後に T-07（#about）が来るため、
   Business セクションの下に余白を追加（旧配置では #seminar の header 余白が担っていた）
---------------------------------------------- */
article#service section.full {
  padding-bottom: 80px;
}
@media screen and (max-width: 768px) {
  article#service section.full {
    padding-bottom: 60px;
  }
}
