/* sp: 767px以下 */
@media screen and (max-width: 767px) {

 /* ============================================
   Base
   ============================================ */

 [id] {
  scroll-margin-top: 80px;
 }

 .inner {
  padding: 0 20px;
 }

 /* ============================================
   Header
   ============================================ */

 .header-nav {
  display: none;
 }

 .header-contact {
  display: none;
 }

 .hamburger {
  display: flex;
 }


 .site-header .inner {
  padding: 10px;
 }


 .site-header .logo {
  flex-shrink: 0;
 }

 .site-header .logo img {
  height: 36px;
  width: auto;
 }


 /* ============================================
   Page Header
   ============================================ */

 .page-header {
  text-align: center;
  padding-top: 20%;
 }

 .page-header.topics {
  text-align: left;
 }


 .page-header h1 {
  font-size: var(--fs-lg);
 }


 .page-header .title {
  flex-direction: column;
 }

 .page-header.topics .title {
  align-items: flex-start;
 }


 .page-header .label {
  padding-left: 0;
 }




 /* ============================================
   Section Common
   ============================================ */

 .section-title {
  margin-bottom: 30px;
 }


 .section-title h2 {
  font-size: var(--fs-lg);
 }



 /* ============================================
   TOP: Hero
   ============================================ */

 .hero {
  background-image: url(../img/hero-photo-sp.jpg);
  background-position: 50% 0%;
 }

 .hero .inner {
  align-items: flex-start;
  max-width: 100%;
  height: 800px;
  padding-top: 24%;
 }

 .hero-text {
  width: 100%
 }

 .hero-text h1 {
  font-size: clamp(28px, 9vw, 42px);
  margin-bottom: 20px;
 }

 .hero-text p {
  width: 100%;
  font-size: var(--fs-base);
  margin-bottom: 20px;
 }

 .hero-text .btns {
  width: 100%;
  display: flex;
  gap: 10px;
 }

 .hero-text .btns .btn {
  font-size: var(--fs-xs);
  padding: 10px 20px;
 }




 /* ============================================
   Specialty
   ============================================ */

 .specialty {
  padding: 40px 0;
 }


 .specialty-list {
  flex-direction: column;
  border-top: none;
 }

 .specialty-list .item {
  border-right: none;
  border-top: 2px solid var(--clr-primary);
  padding: 28px 20px;
 }

 .specialty-list h3 {
  font-size: var(--fs-md);
 }

 /* ============================================
   Consultation
   ============================================ */

 .consultation .list-wrap {
  flex-direction: column;
  gap: 40px;
 }

 /* ============================================
   About Preview
   ============================================ */

 .about-preview .wrap {
  flex-direction: column;
  gap: 32px;
 }

 .about-preview .photo {
  width: 100%;
 }

 /* ============================================
   Reasons
   ============================================ */

 .reasons-list {
  flex-direction: column;
  gap: 12px;
  padding: 0 20px;
 }

 .reasons-list .item {
  flex: none;
 }

 /* ============================================
   Fee
   ============================================ */

 .fee-section .section-title h2 {
  font-size: var(--fs-lg);
 }

 .fee-tables {
  flex-direction: column;
  gap: 16px;
 }

 .fee-tables .col {
  padding: 24px 20px;
 }

 /* ============================================
   Fee Detail Sections (SP)
   ============================================ */

 .fee-jump-nav {
  padding: 24px 0;
 }

 .fee-jump-nav-list {
  flex-direction: column;
  gap: 10px;
 }

 .fee-jump-nav-list a {
  font-size: var(--fs-base);
  padding: 12px 20px;
  width: 100%;
  box-sizing: border-box;
 }

 .fee-detail-section {
  padding: 56px 0;
 }

 .fee-detail-intro {
  margin-bottom: 32px;
 }

 .fee-category {
  margin-top: 40px;
  padding-top: 36px;
 }

 .fee-category-title {
  font-size: var(--fs-md);
 }

 .fee-price-amount {
  font-size: var(--fs-md);
 }

 .fee-price-box {
  padding: 16px;
 }

 .fee-jippi-box {
  padding: 20px;
 }

 /* ============================================
   Plan Preview
   ============================================ */

 .plan-preview-cards {
  flex-direction: column;
  gap: 12px;
 }

 .plan-preview-cards .card {
  flex: none;
 }

 .plan-preview-cards .price {
  font-size: var(--fs-lg);
 }

 .plan-detail-boxes {
  padding: 24px 20px;
 }


 .plan-detail-block {
  padding: 32px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
 }



 .plan-detail-block .title-small {
  font-size: var(--fs-md);
 }

 .plan-detail-lead {
  font-size: var(--fs-base);
 }


 .plan-detail-list li {
  font-size: var(--fs-base);
 }

 .plan-detail-list li::before {
  content: '●';
  position: absolute;
  left: 0;
  color: var(--clr-primary);
  font-size: var(--fs-xs);
  top: 0.3em;
 }

 .plan-detail-note p {
  font-size: var(--fs-base);
 }




 /* ============================================
   Flow
   ============================================ */

 .flow-list {
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  margin-top: 32px;
 }

 .flow-list .item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  text-align: left;
  padding: 0 0 32px 0;
  position: relative;
 }

 .flow-list .item::after {
  content: '';
  position: absolute;
  top: 50px;
  left: 25px;
  width: 1px;
  height: calc(100% - 50px);
  background: #D0D8DD;
 }

 .flow-list .item:last-child::after {
  display: none;
 }

 .step-circle {
  flex-shrink: 0;
  margin: 0;
 }

 .flow-list .item-text {
  flex: 1;
  padding-top: 8px;
 }

 .flow-list h3 {
  font-size: var(--fs-base);
  text-align: left;
  margin-bottom: 6px;
 }

 .flow-list p {
  font-size: var(--fs-base);
 }

 /* ============================================
   News
   ============================================ */

 .news-list .item {
  flex-wrap: wrap;
  gap: 8px;
 }

 .news-list .date {
  width: auto;
 }




 /* ============================================
   Service Page
   ============================================ */

 .service-top-list {
  flex-direction: column;
  gap: 16px;
 }

 .service-items {
  grid-template-columns: 1fr;
 }

 /* ============================================
   Plan Page
   ============================================ */

 .plan-preview-cards .card {
  flex: none;
  width: 100%;
 }

 /* ============================================
   Profile Page
   ============================================ */

 .profile-wrap {
  flex-direction: column;
 }

 .profile-intro .photo {
  width: 100%;
  height: 280px;
  order: -1;
 }

 .profile-intro .text {
  justify-content: flex-start;
 }

 .profile-intro .text-inner {
  padding: 40px 20px;
  max-width: 100%;
 }

 .profile-intro h1 {
  font-size: var(--fs-xl);
 }

 .profile-intro .name-line {
  flex-direction: column;
  gap: 4px;
 }

 .profile-greeting {
  padding-top: 0;
 }


 .profile-greeting .inner {
  padding: 0 20px;
 }

 .profile-greeting .wrap {
  flex-direction: column;
  gap: 32px;
 }

 .profile-greeting .photo {
  width: 100%;
 }

 .career-list .item {
  gap: 24px;
 }

 .career-list .year {
  font-size: var(--fs-base);
  width: 56px;
 }

 .membership-grid {
  grid-template-columns: 1fr;
 }

 .membership-grid .item:nth-child(odd) {
  border-right: none;
 }

 /* ============================================
   FAQ Page
   ============================================ */


 .faq-section {
  padding-top: 60px;
 }

 .faq-tabs {
  flex-wrap: wrap;
 }

 .faq-anchor-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: none;
  margin-bottom: 40px;
 }

 .faq-anchor-tabs a {
  text-align: center;
  padding: 14px 8px;
  font-size: var(--fs-base);
  bottom: 0;
  border-bottom: 2px solid var(--clr-border);
 }

 .faq-tabs button {
  font-size: var(--fs-base);
  padding: 10px 16px;
 }

 .faq-group {
  flex-direction: column;
  gap: 20px;
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 0;
 }

 .faq-group-title {
  width: 100%;
  font-size: var(--fs-md);
  padding-top: 0;
  border-bottom: 2px solid var(--clr-primary);
  padding-bottom: 8px;
 }

 .faq-anchor-tabs {
  flex-wrap: wrap;
 }

 .faq-anchor-tabs a {
  font-size: var(--fs-base);
  padding: 10px 16px;
 }


 .faq-item summary {
  font-size: var(--fs-base);
 }


 .faq-answer p {
  font-size: var(--fs-base);
  color: var(--clr-text);
  line-height: 1.9;
 }

 /* ============================================
   Topics Page
   ============================================ */

 .topics-grid {
  grid-template-columns: 1fr;
 }

 .topics-filter-tabs button {
  padding: 10px 16px;
  font-size: var(--fs-base);
 }

 /* ============================================
   Post Page
   ============================================ */

 .post-layout {
  flex-direction: column;
 }

 .post-sidebar {
  width: 100%;
  position: static;
  background: var(--clr-bg-gray);
  border-radius: 6px;
  padding: 20px;
 }

 .post-body h2 .title-text {
  font-size: var(--fs-md);
 }

 .case-overview {
  padding: 20px;
 }

 /* ============================================
   Office Page
   ============================================ */

 .office-table tr {
  grid-template-columns: 1fr;
  padding: 16px 0;
 }

 .office-table tr::after {
  width: 80px;
 }

 .office-table th {
  padding: 0 0 4px;
  font-size: var(--fs-xs);
  color: var(--clr-label);
 }

 .office-table td {
  padding: 0;
 }

 .access-grid {
  grid-template-columns: 1fr;
 }

 /* ============================================
   Contact Page
   ============================================ */

 .contact-phone-box {
  flex-direction: column;
 }

 .contact-phone-box .desc-side {
  border-left: none;
  border-top: 1px solid var(--clr-border);
 }

 .contact-phone-box .tel-side,
 .contact-phone-box .desc-side {
  padding: 24px 20px;
 }

 .contact-phone-box .tel-num {
  font-size: var(--fs-lg);
 }


 /* ============================================
   Office Section (shared)
   ============================================ */

 .office-section {
  height: 250px;
  background-position: 30% 50%;
 }

 .office-section .info {
  top: 10%;
  left: 5%;
 }

 .office-section .label {
  font-size: var(--fs-xs);
 }

 .office-section .label::before {
  width: 32px;
  height: 1px;
 }

 .office-section h2 {
  font-size: var(--fs-md);
  margin-bottom: 5px;
 }

 .office-section p {
  font-size: var(--fs-xs);
 }


 /* ============================================
   CTA
   ============================================ */


 .cta-section {
  padding: 60px 0;
 }



 .cta-section .btns {
  flex-direction: column;
  align-items: center;
  gap: 12px;
 }

 .cta-section .btns .btn {
  min-width: 240px;
 }


 .cta-section h2 {
  font-size: var(--fs-lg);
  margin-bottom: 10px;
 }

 .cta-section .tel {
  font-size: var(--fs-lg);
 }

 .cta-section .desc {
  font-size: var(--fs-base);
  margin-bottom: 20px;
  line-height: 1.5;
 }

 .cta-section .hours {
  font-size: var(--fs-xs);
  margin-bottom: 30px;
 }



 /* ============================================
   Footer
   ============================================ */

 .footer-top {
  flex-direction: column;
  gap: 32px;
 }

 .footer-nav ul {
  flex-wrap: wrap;
  gap: 0;
 }

 .footer-nav ul li {
  width: 50%;
 }

 .footer-nav ul li a {
  padding: 10px 0;
  display: block;
 }

 .footer-logo img {
  height: 50px;
 }




 .footer-logo .address {
  font-size: var(--fs-xs);
  margin-bottom: 10px;
 }


 .footer-tel .hours {
  font-size: var(--fs-xs);
 }

 .office-info-section {
  padding-top: 30px;
 }



 .map-wrap iframe {
  height: 250px;
 }


 .topics-section {
  padding-top: 30px;
 }

 .post-section {
  padding-top: 30px;
 }


 .contact-section {
  padding-top: 30px;
 }

 .thanks-block {
  text-align: left;
  padding: 32px 0;
 }

 .thanks-block p {
  line-height: 1.8;
 }

 .thanks-tel {
  font-size: var(--fs-base);
 }

 .thanks-tel a {
  display: block;
  font-size: var(--fs-lg);
  margin-top: 4px;
 }

 .thanks-hours {
  display: block;
  margin-top: 4px;
 }


 .lawyer-comment {
  flex-direction: column;
  align-items: center;
 }



 p.lawyer-comment-name {
  margin-bottom: 0;
 }

 .lawyer-comment-name span {
  display: inline;
  padding-left: 10px;
 }


 .post-sidebar[style*="visibility: hidden"] {
  display: none;
 }


 .pc {
  display: none;
 }

 .tab {
  display: none;
 }

 .sp {
  display: block;
 }








}
