/* レスポンシブ */

@media (max-width: 960px) {
  .p-sub_pc_on {
    display: none !important;
  }

  table .p-sub_pc_on {
    display: none !important;
  }

  .p-sub_sp_on {
    display: block !important;
    z-index: 1 !important;
  }

  table .p-sub_sp_on {
    display: table-cell !important;
  }

  h1, h2, h3, section, [id] {
    scroll-margin-top: 60px;
  }

  .l-inner {
    width: 90%;
    margin: 80px auto;
  }

  .c-table tr{
    display: block;
  }

  .c-table tr th, td {
    display: block;
  }

  .c-pagination-inner{
    max-width: 140px;
  }

  .p-sub_head {
    font-size: 23px !important;
    margin-bottom: 25px !important;
  }

  /* サブページ---company */
  .p-compan_greeting{
    margin-bottom: 4rem;
  }

  .p-company_greeting-name{
    font-size: 23px;
  }

  .p-company_greeting-name-title{
    font-size: 18px;
  }

  .p-company-header {
    padding: 40px 24px 56px !important;
  }

  .p-company-header__en {
    font-size: 28px !important;
  }

  .p-company-hero {
    height: 640px !important;
  }

  .p-company-hero__card {
    width: calc(100% - 40px) !important;
    padding: 28px 20px !important;
  }

  .p-company-hero__card-title {
    font-size: 20px !important;
  }

  .p-company-hero__card-body {
    font-size: 13px !important;
    line-height: 2 !important;
  }

  .p-company-hero__card-name {
    font-size: 15px !important;
  }

  .p-company-section {
    padding: 56px 0 !important;
  }

  .p-company-section__en {
    font-size: 24px !important;
  }

  .p-company-section__body {
    padding: 0 20px !important;
  }

  .p-company-table__th,
  .p-company-table__td {
    padding: 16px 14px !important;
    font-size: 14px !important;
  }

  .p-company-table__th {
    width: 36% !important;
  }

  .p-company-map iframe {
    height: 300px !important;
  }

  /* サブページ---faq */
  .p-faq_accordion {
    margin-bottom: 14px;
    border-radius: 6px;
  }
 
  .p-faq_accordion summary {
    display: flex;
    align-items: flex-start;
    position: relative;
    padding: 16px 50px 16px 65px;
    font-size: 15px;
    line-height: 1.6;
    cursor: pointer;
  }
 
  .p-faq_accordion-q-head {
    position: absolute;
    left: 5%;
    top: 0;
    bottom: 0;
    margin: auto 0;
    width: 34px;
    height: 34px;
    line-height: 34px;
    font-size: 18px;
    background: var(--primary-color);
    color: #fff;
    border-radius: 50%;
    text-align: center;
  }
 
  .p-faq_accordion summary::before {
    right: 22px;
    width: 2px;
    height: 14px;
    background: var(--primary-color);
  }
 
  .p-faq_accordion summary::after {
    right: 16px;
    width: 14px;
    height: 2px;
    background: var(--primary-color);
  }
 
  .p-faq_accordion[open] .p-faq_accordion-a {
    display: flex;
    align-items: flex-start;
    flex-direction: row;
    padding: 36px 36px 36px 46px;
  }
 
  .p-faq_accordion-a-head {
    width: 34px;
    height: 34px;
    line-height: 34px;
    font-size: 18px;
    margin-right: 10px;
    margin-left: 0;
    flex-shrink: 0;
    margin: auto 0;
  }
 
  .p-faq_accordion-a-text {
    font-size: 15px;
    line-height: 1.7;
    flex: 1;
    margin-right: 0;
    margin-left: 20px;
  }
 
  .p-faq_accordion-divider {
    margin: 16px 50px 16px 65px;
    height: 3px;
    background-size: 8px 3px;
  }
 
  .p-faq-h2-businesspartner {
    margin-top: 60px !important;
    margin-bottom: 20px;
  }
 
  .p-faq_accordion-a-text-img {
    width: 90%;
  }
 
  .p-faq_inner {
    padding: 0 20px;
  }

  /* サブページ---privacy-policy */
  .p-privacy-policy_head_text_wrapper {
      margin-bottom: 40px;
  }

  .p-privacy-policy_text a{
    color: var(--primary-color);
  }

  /* サブページ---contact */
  .p-faq_title_wrapper {
    margin-bottom: 4rem;
  }

  .p-contact_content {
    padding: 2rem 2rem;
    width: 80%;
  }

  .p-contact_content_list{
    width: 100%;
  }

  .p-contact_head_text {
    font-size: 16px;
  }

  .p-contact_text {
    width: 100%;
    grid-template-columns: repeat(2, 1fr);
    grid-column-gap: 1vw;
    justify-content: unset;
  }

  .p-contact_main_text {
    order: 2;
  }

  .p-contact_sub_text {
    width: 26px;
    order: 1;
    margin: 0 0.5rem 0 0;
  }

  .p-contact_content_list_item {
    display: grid;
    gap: 0.5rem;
  }

  .p-contact_text {
    font-size: 16px !important;
  }

  .p-contact_input {
    width: 100%;
  }

  .p-contact_text_sub {
    font-size: 14px !important;
  }

  .wpcf7 .contact_submit {
    font-size: 16px;
    width: 80%;
  }

  .p-contact_submit::before {
    top: 27%;
    right: 12%;
  }

  .wpcf7 input, .wpcf7 textarea, .wpcf7 select{
    width: 100%;
  }

  .p-contact_checkbox input{
    width: 6%;
  }

  .p-contact_content_footer{
    margin-top: 4rem;
  }

  /* サブページ---contact-complete */
  .p-contact-complete_head_text {
      font-size: 22px;
  }

  .p-contact-complete_body_text.c-font-c-F07575 {
      font-size: 14px;
  }

  .c-btn-circle_text {
      font-size: 16px;
  }

  .c-btn-circle a {
      gap: 1rem;
      padding: 1rem 2rem;
  }

  .p-contact-complete_body_text {
      text-align: left;
  }

  /* カテゴリナビ */
  .c-category-box-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .c-category-box {
    text-align: center;
    white-space: normal;
    word-break: keep-all;
  }

  .p-property-single_gallery {
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
  }
  .p-property-single_section_title {
    font-size: 18px;
    padding-bottom: 12px;
    margin-bottom: 12px;
  }

  .p-property-single_section_text {
    font-size: 14px;
  }

  .p-property_list{
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .p-sub_column_main_contents,
  .p-sub_column_side_contents {
    width: 100%;
  }

  .p-sub_column_list a {
    grid-template-columns: 100px 1fr;
    gap: 16px;
    padding: 4vw;
  }

  .p-sub_column_list_body{
    width: 80%;
  }

  .p-sub_column_inner {
    flex-direction: column;
    padding: 40px 0 80px;
    gap: 40px;
  }

  .p-property_btn-wrap .c-btn{
    width: 320px;
  }

  .p-page-header {
    padding: 120px 0 60px;
  }

  :root { --inner-pad: 24px; }

  /* ── ヘッダー SP ── */
  .l-header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    background: var(--ss-navy) !important;
    height: 60px !important;
    justify-content: center !important;
    flex-direction: row !important;
  }

  .p-top-column__inner {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 20px;
    padding: 60px var(--inner-pad, 24px);
  }

  .p-top-column__head {
    grid-column: 1;
    grid-row: auto;
  }

  .p-top-column__title {
    font-size: 32px;
  }

  .p-top-column__more {
    grid-column: 1;
    grid-row: auto;
    order: 3;
    margin-top: 8px;
    text-align: center;
  }

  .p-top-column__more .c-btn {
    width: 100%;
    padding: 16px;
  }

  .c-column-list {
    grid-column: 1;
    grid-row: auto;
    order: 2;
  }

  .c-column-list__link {
    padding: 16px 30px 16px 0;
  }

  .p-top-kv__cta {
    right: 0;
    left: 0;
    bottom: 0;
    width: 100%;
    border-radius: 0;
  }

  .p-top-kv__cta-img--pc {
    display: none !important;
  }

  .p-top-kv__cta-img--sp {
    display: block !important;
    height: auto !important;
  }
  .p-top-about__inner {
    grid-template-columns: 1fr;
    padding: 80px 20px;
    gap: 56px;
  }

  .p-top-about__col {
    flex-direction: column;
    padding-right: var(--inner-pad, 24px);
  }

  .p-top-about__title {
  font-size: 22px;
  }

  .p-top-about__more{
    text-align: center;
  }

  .p-top-about__col--right {
    padding-left: 0;
    padding-right: 0;
  }

  .p-top-about__img--01 {
    width: 140px;
    height: 112px;
    display: none;
  }

  .p-top-about__img--02 {
    height: 260px;
    width: 260px;
    margin-right: calc(-1 * var(--inner-pad, 24px));
    margin-left: auto;
  }

  .p-top-about__img--03 {
    height: 300px;
    width: 260px;
    margin-left: calc(-1 * var(--inner-pad, 24px));
  }

  .p-top-about__img--04 {
    width: 150px;
    height: 150px;
    display: none;
  }

  .p-top-about__col--center {
    order: -1;
    text-align: left;
    padding-right: 0;
  }

    .p-top-strengths__inner {
    padding: 60px var(--inner-pad, 24px);
  }
 
  .p-top-strengths__title {
    font-size: 20px;
    margin-bottom: 36px;
  }
 
  .p-top-strengths__list {
    grid-template-columns: 1fr;
    gap: 32px;
  }
    .p-top-service__inner {
    padding: 60px var(--inner-pad, 24px);
  }
 
  .p-top-service__head {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 32px;
  }
 
  .p-top-service__title {
    font-size: 36px;
  }
 
  .p-top-service__list {
    grid-template-columns: 1fr;
    gap: 20px;
  }
 
  .p-top-service__card {
    aspect-ratio: 4 / 3;
  }

  .p-top-service__card-body {
    padding: 90px 20px 60px;
    left: 0;
    bottom: 0;
  }

  .p-top-property__inner {
    padding: 60px 0 60px var(--inner-pad, 24px);
  }
 
  .p-top-property__head {
    margin-left: 0 !important;
  }
 
  .p-top-property__title,
  .p-top-voice__title {
    font-size: 36px;
  }

    .p-property-table,
  .p-property-table tbody,
  .p-property-table tr {
    display: block;
    width: 100%;
  }

  .p-property_profile-table-th,
  .p-property_profile-table-td {
    display: block;
    width: 100%;
    box-sizing: border-box;
  }

  .p-property_profile-table-th {
    border-bottom: none;
  }

  .p-property_profile-table-td {
    border-top: none;
    padding-top: 8px;
  }

  .p-top-voice__inner {
    padding: 40px var(--inner-pad, 24px) 60px;
  }
 
  .c-voice-list {
    grid-template-columns: 1fr;
  }

  .p-sub_column_inner {
    flex-direction: column;
    padding: 40px 0 80px;
    gap: 40px;
  }
 
  .p-sub_column_main_contents,
  .p-sub_column_side_contents {
    width: 100%;
  }
 
  .p-sub_column_list a {
    grid-template-columns: 100px 1fr;
    gap: 16px;
    padding: 4vw;
  }
 
  .p-sub_column_title {
    font-size: 16px;
    line-height: 1.6;
  }
 
  .p-sub_column_excerpt {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
 
  .p-sub_column_arrow {
    right: 16px;
    bottom: 16px;
  }

  .p-top-faq__inner {
    padding: 40px var(--inner-pad, 24px) 60px;
  }
 
  .p-top-column__title,
  .p-top-faq__title {
    font-size: 26px;
  }

  .p-top-instagram__inner {
    padding: 60px var(--inner-pad, 24px);
  }
 
  .p-top-instagram__title {
    font-size: 26px;
  }
 
  .c-instagram-list {
    gap: 10px;
    margin-bottom: 32px;
  }

  .p-business__section {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 60px var(--inner-pad);
  }

  .p-business__flow__step {
    padding: 140px 24px 24px;
  }

  .p-business__flow__step-badge {
    left: 50%;
    top: 24px;
    transform: translateX(-50%);
  }

  .p-business__flow__step-num {
    left: 50%;
    top: 115px;
    transform: translateX(-50%);
  }

  .p-business__flow__step-title {
    text-align: center;
    margin-top: 16px;
  }

  .p-business__flow__step-body {
    text-align: left;
  }

  .p-business__property {
    padding: 60px 0;
  }

  .l-header__inner { height: 64px; }

  .l-header__nav,
  .l-header__contact {
    display: none;
  }

  .l-header__hamburger {
    display: flex;
  }

  .l-header__logo img {
    height: 32px;
  }

  .l-footer__inner {
    padding: 6rem 2rem 8rem;
  }
 
  .l-footer__info {
    grid-template-columns: 1fr;
  }
 
  .l-footer__info-logo {
    grid-row: 1;
    grid-column: 1;
  }
 
  .l-footer__info-logo-link {
    margin: 0;
  }
 
  .l-footer__info-nav {
    grid-row: 2;
    grid-column: 1;
    margin-top: 3rem;
  }
 
  .l-footer__info-nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 3rem;
  }
 
  .l-footer__info-nav-subgrid {
    grid-template-columns: 1fr;
    row-gap: 2.5rem;
  }
 
  .l-footer__info-nav-item-home {
    grid-column: 1;
  }
 
  .l-footer__info-nav-item[data-col="1"] {
    grid-row: auto;
    grid-column: 1;
  }
 
  .l-footer__info-nav-item[data-col="2"] {
    grid-row: auto;
    grid-column: 1;
  }
 
  .l-footer__address {
    grid-row: 3;
    grid-column: 1;
    margin-top: 3rem;
  }
 
  .l-footer__info-bottom {
    grid-row: 4;
    grid-column: 1;
    margin-top: 4rem;
    flex-direction: row;
  }
 
  .l-footer__top {
    right: 80px;
    bottom: 4rem;
  }

  .p-cta__card {
    grid-template-columns: 1fr;
    padding: 32px 24px;
    margin: 0 20px;
  }

  .p-cta__catch {
    margin-bottom: 32px;
    font-size: 1rem;
  }

  .p-cta__tel-area {
    padding-right: 0;
    margin-bottom: 24px;
  }

  .p-cta__card > div:nth-child(3) {
    display: none;
  }

  .p-cta__btns {
    padding-left: 0;
    align-items: center;
  }

  .p-cta__btn {
    width: 100%;
    max-width: 300px;
  }

  .p-cta__tel-num {
  font-size: 36px;
  }

  .c-property-list {
    gap: 20px;
  }

  .c-property-list__item {
    width: min(280px, 78vw);
  }

  .p-single-column_post_wrapper {
      padding: 3rem 2rem;
  }

  .p-cta__tel-hours-sub {
  margin-left: 0;
  }
}