/* 確認案。hidden の復元は HTML の該当属性を外す。 */
[hidden] { display: none !important; }
.office-provider { font-size: .85rem; letter-spacing: .04em; }
.scope-summary { margin: 22px 0; border-left: 3px solid #85c6a6; padding-left: 17px; }
.scope-summary b { font-size: .8rem; color: #1b6a50; }
.scope-summary p span { display: inline-block; }
.scope-summary p { margin: 3px 0 12px; font-size: .85rem; line-height: 1.8; }
.scope-summary a,.scope-footnote a { color: #17664f; text-decoration: underline; text-underline-offset: 4px; }
.office-credentials { margin-top: 22px; border-top: 1px solid #d7e8de; padding-top: 16px; }
.office-credentials > span { font-size: .7rem; color: #587567; }
.hero .office-credentials .advisor-line { margin-top: 7px; font-size: .72rem; }
.hero .work-map { align-self: start; }
.scope-heading { font-size: 1.1rem; margin-bottom: 20px; }
.office-services { grid-template-columns: repeat(4,minmax(0,1fr)); }
.partner-services { margin-top: 30px; display: grid; grid-template-columns: 1fr 1.3fr; gap: 36px; padding: 30px; background: #eaf6ee; border-radius: 20px; }
.partner-services h3 { font-size: 1.4rem; margin: 10px 0; }
.partner-services h4 { margin: 0 0 8px; }
.partner-services p { font-size: .9rem; line-height: 1.9; margin: 0 0 18px; }
.scope-footnote { font-size: .8rem; color: #526c60; margin-top: 18px; }
.consult-strip { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 28px; background: #e5f4ea; border-radius: 20px; margin-top: 25px; margin-bottom: 35px; }
.consult-strip strong { font-size: 1.25rem; }.consult-strip p { margin: 8px 0 0; }
.contact-final p { font-size: .78rem; line-height: 1.8; margin-top: 14px; }
.button { white-space: normal; text-align: center; }
body { padding-bottom: 90px; }
.mobile-sticky { bottom: max(12px,env(safe-area-inset-bottom)); }
@media(max-width:700px) { .office-services { grid-template-columns: repeat(2,minmax(0,1fr)); } .partner-services { grid-template-columns:1fr; gap:12px; padding:22px; } .consult-strip { flex-direction:column; align-items:stretch; } .office-provider { font-size:.72rem; } .consult-strip .button { font-size:.87rem; } }
@media(max-width:380px) { .office-services { grid-template-columns:1fr; } }
.hero { padding-top: 38px; }
.hero-grid { align-items: start; }
.hero .advisor-line { display: flex; width: fit-content; margin-bottom: 0; }
.hero .brand-lockup { display: flex; width: fit-content; }
.hero .work-item strong { text-align: center; }
.hero .task-heading { margin-top: 20px; color: #286c55; font-size: .84rem; font-weight: 800; }
.hero .task-line { margin-top: 9px; margin-bottom: 7px; }
.hero .task-terms { margin: 0 0 18px; font-size: .72rem; line-height: 1.65; color: #5e786c; }
.hero-break-mobile { display: none; }
.keep-together { white-space: nowrap !important; }
.hero .brand-lockup { padding: 13px 25px 14px; }
.hero .plan-wordmark { align-items: center; gap: 6px; text-align: center; }
.hero .plan-label { font-size: .7rem; letter-spacing: .04em; }
.hero .task-line span:nth-child(8) { font-size: clamp(.51rem, .72vw, .68rem); letter-spacing: -.04em; white-space: nowrap; }
@media (max-width: 600px) {
  .hero { padding-top: 24px; }
  .hero-break-mobile { display: block; }
  .hero .brand-lockup { padding: 11px 18px 12px; }
  .hero .plan-label { font-size: .62rem; }
}
@media (min-width: 601px) and (max-width: 900px) {
  .hero .advisor-line { display: table; }
  .hero .brand-lockup { display: flex; width: fit-content; }
}
/* Keep card contents vertical at every breakpoint; legacy mobile grids conflict
   with the outer service grid and squeeze copy into a narrow second column. */
#service .office-services article {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  min-width: 0;
  grid-column: auto;
  gap: 0;
}
#service .office-services .service-art {
  width: 100%;
  max-width: 200px;
  aspect-ratio: 1.2;
  flex: none;
  align-self: center;
  margin: 0 0 16px;
  grid-row: auto;
}
#service .office-services h3,
#service .office-services p {
  width: 100%;
  min-width: 0;
  grid-column: auto;
  writing-mode: horizontal-tb;
  word-break: normal;
  overflow-wrap: anywhere;
}
#service .office-services h3 { margin: 0 0 12px; text-align: center; }
#service .office-services p { margin: 0; line-height: 1.85; }
@media (min-width: 701px) and (max-width: 1000px) {
  #service .office-services { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 700px) {
  #service .office-services { grid-template-columns: minmax(0,1fr); gap: 18px; }
  #service .office-services article { padding: 24px; }
  #service .office-services h3 { font-size: 1.1rem; }
  #service .office-services p { font-size: .95rem; }
}
