/* =========================================
   SP：メイン（max-width: 950px）
========================================= */
@media screen and (max-width: 950px) {

  .l-top-inner {
    margin-top: 0;
  }

  .l-cta {
    padding: 40px 20px;
  }

  .l-cta__card {
    padding: 32px 24px;
  }

  .l-cta__row {
    flex-direction: column;
    gap: 24px;
  }

  .l-cta__divider {
    width: 80%;
    height: 1px;
  }

  .l-cta__btns {
    width: 100%;
  }

  .l-cta__btn {
    width: 100%;
  }

  /* ヘッダー */
  .l-header_contents_list {
    top: 25%;
    left: 7%;
    transform: none;
  }

  .l-header_contents_phrase_text-red {
    font-size: 48px;
  }

  .l-header_contents_phrase_text {
    font-size: 25px;
    line-height: 1;
    margin-bottom: 1rem;
  }

  .l-header_contents_phrase_text_space {
    margin-bottom: 1rem;
  }

  .l-header_contents_sub_text {
    width: 90%;
  }

  .l-header_contents_img {
    width: clamp(160px, 60vw, 320px);
    max-width: calc(100% - 32px);
    height: auto;
    display: block;
  }

  .l-header {
    top: 12px;
    left: 50%;
    width: 92%;
    transform: translateX(-50%);
  }

  .l-header__inner {
    padding: 0 12px 0 20px;
    height: 56px;
  }

  .l-header__logo {
    display: flex;
    align-items: center;
  }

  .l-header__logo img {
    width: 110px;
    height: auto;
    display: block;
  }

  .l-header__nav {
    display: none;
  }

  .l-header__contact {
    display: none;
  }

  .l-header__hamburger {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    width: 24px;
    height: 24px;
    margin-left: 0;
    margin-right: 24px;
    padding: 0;
    border: 0;
    background: none;
    cursor: pointer;
  }

  .l-header__hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--primary-color);
  }

  /* フッター */
  .l-footer {
    padding-top: 0;
  }

  .l-footer__inner {
    display: flex;
    flex-direction: column;
    padding: 4rem 25px 2rem;
  }

  .l-footer__logo-wrap {
    order: -1;
    padding: 0;
    margin-bottom: 24px;
  }

  .l-footer__nav-grid {
    order: 0;
    display: flex;
    flex-direction: column;
    gap: 32px;
    padding-left: 0;
    padding-bottom: 32px;
  }

  .l-footer__nav-col {
    width: 100%;
    flex: 1 1 20px;
  }

  .l-footer__address-wrap {
    order: 1;
    text-align: left;
    padding: 0;
    margin-top: 0;
  }

  .l-footer__address {
    margin-top: 2rem;
  }

  .l-footer__privacy {
    margin-top: 12px;
  }

  /* 共通CSS */
  .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;
  }

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

  .u-pc-only {
    display: none !important;
  }

  .u-sp-only {
    display: block !important;
  }

  .p-page-kv {
    min-height: 320px;
  }

  .p-page-header__sub {
    font-size: 2rem;
    letter-spacing: 0.08em;
  }

/* トップページ */
  .p-top_head {
    font-size: 40px !important;
  }

  .include-footer-contact-tel .p-top_text {
    font-size: 20px;
    font-weight: 500;
    line-height: 1.2 !important;
  }

  .p-top_about-inner {
    padding: 0;
    margin-top: 0;
  }

  .p-top_about-list {
    display: block;
  }

  .p-top_about-title::after {
    top: 64px;
  }

  .p-top_about-title {
    margin-bottom: 6rem;
  }

  .p-top_about-list-textwrap {
    width: 100%;
    padding: 2rem 0;
  }

  .p-top_about-list-imgwrap {
    width: calc(75vw - 8%);
    margin-left: auto;
    margin-right: calc(50% - 50vw);
    height: 340px;
    padding: 0;
    position: static;
    left: auto;
    transform: none;
  }

  .p-top_about-list-imgwrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px 0 0 10px;
  }

  .p-top_business-bg {
    padding: 0;
  }

  .p-top_business-list {
    display: block;
  }

  .p-top_business-list-item {
    width: 100%;
  }

  .p-top_business-list-item:first-child {
    margin-bottom: 4rem;
  }

  .p-top_works-wrap {
    display: block;
  }

  .p-top_works-text-textwrap {
    width: 100%;
  }

  .p-top_works-inner {
    padding: 0;
  }

  .p-top_works-list {
    width: 100%;
  }

  .p-top_works-title::after {
    top: 64px;
  }

  .p-top_associate-bg {
    margin-top: 0;
    padding: 0;
  }

  .p-top_associate-inner {
    height: auto;
    margin-bottom: 0;
  }

  :root {
    --associate-left: 0px;
    --associate-row-h: 400px;
  }

  .p-top_associate-img-list {
    left: 8%;
    transform: none;
    width: 100%;
    padding-left: 0;
    grid-template-columns: 40% 30% 1fr;
    gap: 10px;
    height: auto;
  }

  .p-top_associate-img-list-item {
    height: var(--associate-row-h);
  }

  .p-top_associate-messagewrap {
    position: relative;
    width: 100%;
    padding: 24px 0 0;
    margin-top: 8rem;
  }

  .p-top_associate-message-text {
    font-size: 32px;
  }

  .p-top_associate-bg::after {
    width: 100%;
    height: 150px;
  }

  .p-top_associate-title {
    margin-bottom: 6rem;
  }

  .p-top_associate-title::after {
    bottom: -40px;
  }

  .p-top-banner {
    margin-top: 60px;
  }

  .p-top_news_inner {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin: 40px auto 80px !important;
  }

  .p-top_news_head {
    display: contents;
  }

  .p-top-news__en {
    order: 1;
    margin-bottom: 0;
    font-size: 40px;
  }

  .p-top_news_list {
    order: 2;
    width: 95%;
  }

  .p-top_news_btn-wrap {
    order: 3;
    margin: 24px auto;
  }

  .p-top_news_item {
    display: grid;
    grid-template-columns: auto auto 1fr;
    grid-template-areas:
      "date badge ."
      "title title arrow";
    align-items: center;
    row-gap: 8px;
    column-gap: 12px;
  }

  .p-top_news_date {
    grid-area: date;
  }

  .p-top_news_badge {
    grid-area: badge;
    justify-self: start;
  }

  .p-top_news_item_title {
    grid-area: title;
  }

  .p-top_news_item_arrow {
    grid-area: arrow;
    justify-self: end;
  }

    .p-top-band--paper {
    border-radius: 0 0 30px 30px;
  }

  .p-top-band--paper + .c-loop_wrapper {
    padding-top: 120px;
  }

  .js-inview-stagger > .js-inview:nth-child(n) {
    --inview-delay: 0s;
  }

  /* トップページ：KV */
  .p-top-kv__scroll {
    display: none;
  }

  .p-top-kv__inner {
    height: 80vw;
    min-height: 0;
    max-height: 560px;
    padding-left: 16px;
    padding-right: 16px;
  }

  .p-top-kv__copy {
    margin-left: 0;
    margin-top: 56px;
  }

  .p-top-kv__headline,
  .p-top-kv__lead {
    text-shadow: 0 0 6px var(--color-bg), 0 0 12px var(--color-bg);
  }

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

  .p-top-kv__lead {
    margin-top: 12px;
    font-size: 15px;
  }

  .p-top-kv__photo {
    left: 12%;
    border-radius: 0 0 0 16px;
  }

  .p-top-kv__photo::before {
    display: none;
  }

  .p-top-kv__photo img {
    border-radius: 0;
    object-position: 70% 10%;
  }

  .p-top-kv {
    padding-bottom: 64px;
  }

  .p-top-kv__card {
    position: fixed;
    top: auto;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 400;
    width: 100%;
    height: 56px;
    margin: 0;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
    display: flex;
    align-items: stretch;
  }

  .p-top-kv__card-tabs {
    display: flex;
    flex-direction: row;
    flex: 1;
    gap: 2px;
    margin: 0;
  }

  .p-top-kv__card-tab {
    flex: 1;
    border-radius: 0;
  }

  .p-top-kv__card-label,
  .p-top-kv__card-hours {
    display: none;
  }

  .p-top-kv__card-tel {
    flex: 0 0 56px;
    height: 56px;
    margin: 0;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0;
  }

  .p-top-kv__card-tel-icon {
    width: 22px;
    height: 22px;
  }

  .p-top-about {
    padding-top: 0;
  }

  .p-top-about__en {
    font-size: 40px;
  }

  .p-top-about__catch {
    font-size: 18px;
  }

  .p-top-about__text {
    padding: 0;
    text-align: left;
  }

  .p-top-about__gallery-item.c-loop_text {
    height: 25vw;
  }

  .p-top-about__gallery-item.c-loop_text img {
    height: 25vw;
  }

  .p-top-reason__list {
    grid-template-columns: 1fr;
  }

  .p-top-reason {
    padding: 56px 0;
  }

  .p-top-business {
    padding: 124px 0;
  }

  .p-top-business__list {
    grid-template-columns: 1fr;
    padding: 0 24px;
  }

  .p-top-works__list {
    padding-left: 24px;
    gap: 16px;
  }

  .p-top-works__card {
    flex: 0 0 220px;
    width: 220px;
  }

  .p-top-works__list .slick-list {
    margin-left: 1rem !important;
  }

  .p-top-banner {
    flex-direction: column;
  }

  .p-top-banner__item {
    height: 180px;
  }

  .p-top-banner__ja {
    font-size: 24px;
  }

  .p-top-recruit {
    padding: 80px 20px;
  }

  .p-top-recruit .l-inner {
    flex-direction: column-reverse;
    text-align: center;
  }

  .p-top-recruit__photo {
    width: 100%;
  }

  .p-top-recruit__title {
    font-size: 26px;
  }

  .p-about__hero {
    margin-bottom: 80px;
    padding: 0;
  }

  .p-about__hero-copy {
    font-size: 20px;
  }

  .p-about__hero-text {
    font-size: 16px;
    text-align: left;
  }

  .p-about__stats {
    padding: 80px 0;
  }

  .p-about__stats::before {
    background-image: url("../img/common/about_value_bg_sp.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    left: 45%;
    width: 115vw;
  }

  .p-about__stats-title {
    font-size: 20px;
    margin-bottom: 24px;
  }

  .p-about__stats-list {
    grid-template-columns: repeat(1, 1fr);
    gap: 12px;
  }

  .p-about__stats-card {
    padding: 24px 12px 20px;
  }

  .p-about__stats-number strong {
    font-size: 24px;
  }

  .p-about__feature {
    flex-direction: column;
    gap: 24px;
    padding: 80px 0;
  }

  .p-about__feature-title {
    font-size: 20px;
  }

  .p-about__feature-img {
    flex: none;
    width: 100%;
  }

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

  .p-about__mechanism-title {
    font-size: 20px;
    margin-bottom: 40px;
  }

  .p-about__mechanism-list {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .p-about__mechanism-card {
    padding: 24px 20px 20px;
  }

  .p-about__greeting {
    padding: 80px 0;
  }

  .p-about__profile {
    padding: 80px 0 40px;
  }

  .p-about__access {
    padding: 40px 0;
  }

  .p-about__block-title {
    font-size: 20px;
  }

  .p-about__greeting-inner {
    flex-direction: column-reverse;
    gap: 24px;
  }

  .p-about__greeting-name {
    font-size: 20px;
  }

  .p-about__greeting-img {
    flex: none;
    width: 100%;
  }

  .p-about__greeting::before {
    left: 48%;
    width: 110vw;
  }

  .p-about__table th,
  .p-about__table td {
    display: block;
    width: 100%;
    padding: 12px 16px;
  }

  .p-about__table th {
    padding-bottom: 4px;
    border-bottom: none;
  }

  .p-about__table td {
    padding-top: 4px;
  }

  .p-about__map {
    aspect-ratio: 4 / 3;
  }

/* サブページ：corporate */
  .p-corporate__intro {
    padding: 40px 20px 20px;
  }

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

  .p-corporate__intro-text {
    font-size: 16px;
    margin-bottom: 24px;
    text-align: left;
  }

  .p-corporate__intro-list {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .p-corporate__intro-card {
    height: 160px;
  }

  .p-corporate__hero {
    padding: 80px 20px;
  }

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

  .p-corporate__hero-text {
    font-size: 16px;
    margin-bottom: 24px;
    text-align: left;
  }

  .p-corporate__hero-banner-list {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .p-corporate__hero-banner {
    height: 100px;
  }

  .p-corporate__category {
    padding-bottom: 60px;
  }

  .p-corporate__category-title {
    font-size: 20px;
  }

  .p-corporate__category-text {
    font-size: 16px;
  }

  .p-corporate__nav {
    grid-template-columns: repeat(1, 1fr);
  }

  .p-corporate__detail {
    flex-direction: column;
    gap: 20px;
    padding: 40px 0;
  }

  .p-corporate__detail-img {
    flex: none;
    width: 100%;
  }

  .p-corporate__detail-title {
    font-size: 20px;
  }

  .p-corporate__detail-desc {
    font-size: 16px;
  }

  .p-corporate__detail-btn-wrap {
    text-align: center;
  }

/* サブページ：individual */
  .p-individual__menu {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 0;
  }

  .p-individual__menu li {
    width: 100%;
  }

  .p-individual__menu-btn {
    width: 100%;
    box-sizing: border-box;
    white-space: normal;
  }

  .p-individual__detail {
    padding: 0;
    margin-bottom: 80px;
  }

  .p-individual__detail-desc {
    font-size: 16px;
  }

  .p-individual__detail-top {
    flex-direction: column;
    gap: 20px;
  }

  .p-individual__detail-img {
    flex: none;
    width: 100%;
  }

  .p-individual__detail-title {
    font-size: 20px;
  }

  .p-individual__detail-price-title {
    margin-bottom: 24px;
  }

  .p-individual__price-table tr {
    display: block;
  }

  .p-individual__price-table th,
  .p-individual__price-table td {
    display: block;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 16px;
  }

  /* サブページ：news */
  .p-sub_news_inner {
    display: block;
    padding: 0;
  }

  .p-sub_news_main_contents {
    width: 100%;
    margin-bottom: 4rem;
  }

  .p-sub_news_side_contents {
    width: 100%;
  }

  .p-sub_news_list {
    margin-bottom: 4vw;
  }

  .p-sub_news_list a {
    padding: 4vw;
  }

  .p-sub_news_date {
    font-size: 14px;
    margin-bottom: 8px;
  }

  .p-sub_news_title {
    font-size: 18px;
    line-height: 1.6;
  }

  .p-sub_news_side_contents_item_inner {
    padding: 1.5rem;
  }

  .p-sub_news_side_title {
    font-size: 18px;
    margin-bottom: 1.5rem;
  }

  .p-sub_news_side_contents_list a {
    font-size: 14px;
  }

  .p-sub_news_side_date {
    font-size: 12px;
  }

  .p-sub_news_side_post_title {
    font-size: 14px;
    line-height: 1.6;
  }

  .p-sub_news_side_contents_item {
    margin-bottom: 45px;
  }

/* サブページ：faq */
  .p-faq_accordion {
    margin-bottom: 14px;
    border-radius: 6px;
  }

  .p-faq_accordionーtitle {
    font-size: 20px;
    padding-left: 1rem;
    margin: 40px 0;
  }

  .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;
  }

  .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_accordion-a-text-img {
    width: 90%;
  }

  .p-faq_title_wrapper {
    margin-bottom: 4rem;
  }

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

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

/* サブページ：contact */
  .p-contact_content {
    padding: 2rem 2rem;
    width: 90%;
  }

  .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;
    font-size: 16px !important;
  }

  .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_input {
    width: 100%;
  }

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

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

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

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

  .p-contact_checkbox .wpcf7-list-item {
    display: flex !important;
    align-items: center;
    gap: 8px;
  }

  .p-contact_checkbox .wpcf7-list-item-label {
    display: inline !important;
  }

  .p-contact_checkbox label {
    display: flex !important;
    align-items: center;
    gap: 8px;
    justify-content: center;
    margin: 0 auto;
    width: 215px;
  }

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

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

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

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

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

    /* サブページ：works-archive（施工実績アーカイブ 冒頭文・バナー） */
  .p-works-archive-intro {
    margin-bottom: 80px;
  }

  .p-works-archive-intro .p-sub_text {
    text-align: left;
  }

  .p-works-archive-banner-list {
    grid-template-columns: 1fr;
    gap: 4vw;
    margin-bottom: 80px;
  }

  .p-works-archive-banner {
    height: 160px;
  }

  .p-works-single_gallery {
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 8px;
  }

  .p-works-single_gallery-item a {
    display: block;
    width: 100%;
    height: 100%;
  }

  .p-works-single_modal-close {
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    font-size: 24px;
  }

  .p-works-archive-banner__label {
    left: 6.5vw;
  }

  /* 施工実績カード */
  .p-top_works-list {
    grid-template-columns: 1fr;
    margin-bottom: 80px;
  }

    .p-top_works_card_title {
    word-break: break-word;
    white-space: normal;
    font-size: 22px;
  }


  .p-top_works-list-sub {
    display: grid !important;
    grid-template-columns: 1fr !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 20px 0 !important;
    box-sizing: border-box !important;
  }

  /* サブページ：work-single */
  .p-works-single_post_title {
    margin-bottom: 5vw;
    font-size: 24px;
  }

  .p-works-single_inner .c-btn_view-more_wrapper {
    transform: none;
  }

/* サブページ：news-single */
  .p-single-news {
    flex-direction: column;
    gap: 40px;
    padding: 0;
  }

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

  .p-news_main_contents {
    width: 100%;
  }

  .p-news_list_item{
    padding: 1.5rem;
  }

  .p-news_side_contents {
    width: 100%;
  }

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

  .p-single-news_post_wrapper {
    padding: 6vw;
  }

  .p-single-news_date {
    font-size: 14px;
    margin-bottom: 3vw;
  }

  .p-single-news_post_title {
    font-size: 17px;
    padding-bottom: 3vw;
    margin-bottom: 5vw;
    line-height: 1.6;
  }

  .p-single-news_post p {
    font-size: 15px;
    padding: 4vw 0;
  }

  .p-news_btn-wrap {
    margin-top: 3rem;
  }

  .p-news_side_contents_item_inner {
    padding: 1.5rem;
  }

  .p-news_side_title {
    font-size: 17px;
    margin-bottom: 4vw;
  }

  .p-news_side_contents_list a {
    font-size: 14px;
  }

  .p-news_side_date {
    font-size: 12px;
  }

  .p-news_side_post_title {
    font-size: 14px;
    line-height: 1.7;
  }

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

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

  .bg_image.pc {
    display: none;
  }

  .bg_image.mobile {
    display: block;
  }

/* include-footer-contact（フッター前CTA・旧テンプレート系） */
  .include-footer-contact {
    padding: 0;
  }

  .include-footer-contactwrap-inner {
    padding: 80px 0;
  }

  .include-footer-contact-content {
    flex-direction: column;
  }

  .include-footer-contact-inner {
    padding: 40px 32px;
  }

  .include-footer-contact-head {
    font-size: 24px;
    width: 100%;
    text-align: center;
    margin-bottom: 2rem;
  }

  .include-footer-contact-head-en {
    font-size: 75px;
    margin-bottom: -2rem;
  }

  .include-footer-contact-tel {
    padding-right: 0;
    margin-bottom: 2rem;
  }

  .include-footer-contact-tel::after {
    content: none;
  }

  .include-footer-contact-btns {
    padding-left: 0;
  }

  .tel-number {
    font-size: 36px;
  }

  .p-page-header {
    padding: 40px 24px 24px;
  }

  .p-page-header__title {
    font-size: 20px;
  }

    .p-service-corporate_inner {
    padding: 60px 20px;
  }

  .c-breadcrumb {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    padding: 10px 20px;
  }

  .c-breadcrumb a,
  .c-breadcrumb span {
    flex-shrink: 0;
  }

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

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

  #page_content {
    width: auto;
    padding: 0 !important;
    margin: 0 !important;
  }

  .c-table th,
  .c-table td {
    display: block;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 16px;
  }

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

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

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

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

  .p-recruit_environment-text {
    width: 90%;
    margin: 0 auto;
  }

  .c-btn_view-more_wrapper .c-btn_view-more {
    justify-content: right;
  }

  /* カテゴリナビ */
  .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;
  }

}

/* =========================================
   その他ブレークポイント（max-width: 1200px）
========================================= */
@media screen and (max-width: 1200px) {
  .lp_page {
    max-width: 100%;
  }
}

/* =========================================
   ワイド画面（min-width: 2100px〜）
   ヘッダーと右下の問い合わせカードを画面幅に合わせて拡大
========================================= */
@media screen and (min-width: 951px) and (max-width: 1199px) {
  :root {
    --wide-zoom: 0.78;
  }
}

@media screen and (min-width: 1200px) and (max-width: 1439px) {
  :root {
    --wide-zoom: 0.9;
  }
}

@media screen and (min-width: 951px) {
  .l-header,
  .p-top-kv__card {
    zoom: var(--wide-zoom, 1);
  }
}

@media screen and (min-width: 2100px) {
  :root {
    --wide-zoom: 1.1;
  }
}

@media screen and (min-width: 2300px) {
  :root {
    --wide-zoom: 1.2;
  }
}

@media screen and (min-width: 2500px) {
  :root {
    --wide-zoom: 1.3;
  }
}

@media screen and (min-width: 2700px) {
  :root {
    --wide-zoom: 1.4;
  }
}

@media screen and (min-width: 2900px) {
  :root {
    --wide-zoom: 1.5;
  }
}

@media screen and (min-width: 3100px) {
  :root {
    --wide-zoom: 1.6;
  }
}

@media screen and (min-width: 3300px) {
  :root {
    --wide-zoom: 1.7;
  }
}

@media screen and (min-width: 3500px) {
  :root {
    --wide-zoom: 1.8;
  }
}

@media screen and (min-width: 3700px) {
  :root {
    --wide-zoom: 1.9;
  }
}
