/* スマホ */
@media screen and (max-width: 600px) {

    /*************************** 01. 枠組共通 ***********************/
    .sp {
        display: initial;
    }

    .pc {
        display: none;
    }

    /*************************** 02. header（ヘッダー） ***********************/
    /* Q HACK ヘッダー - スマホ */
    .qhack-header__top-inner {
        padding: 10px 12px;
    }
    .qhack-header__logo img {
        height: 40px;
    }
    .qhack-header__desc {
        display: none;
    }
    .qhack-header__cta {
        display: none;
    }
    .qhack-header__nav {
        display: none;
    }
    .qhack-header__hamburger {
        display: flex;
    }
    #body_wrap {
        padding-top: 60px;
    }
    body.admin-bar #body_wrap {
        padding-top: 106px; /* 60px + 46px (mobile admin-bar) */
    }
    body.admin-bar .qhack-header {
        top: 46px;
    }
    /* Q HACK 会社紹介セクション - スマホ */
    .qhack-intro {
        padding: 40px 16px 60px;
    }
    .qhack-intro__title-box {
        width: 100%;
        padding: 6px 16px;
        border-radius: 16px;
        margin-bottom: 30px;
    }
    .qhack-intro__title-sub {
        font-size: 16px;
        letter-spacing: 0.64px;
    }
    .qhack-intro__title-main {
        font-size: 22px;
        letter-spacing: 0.88px;
    }
    .qhack-intro__content {
        width: 100%;
        margin-bottom: 30px;
    }
    .qhack-intro__content p {
        font-size: 15px;
        line-height: 28px;
        letter-spacing: 0.6px;
        margin-bottom: 20px;
    }
    .qhack-intro__content p br {
        display: none;
    }
    .qhack-intro__highlight {
        font-size: 17px;
        line-height: 28px;
    }
    .qhack-intro__btn {
        width: auto;
        max-width: calc(100% - 32px);
        padding: 12px 24px;
        margin-bottom: 40px;
        white-space: normal;
    }
    .qhack-intro__btn-text {
        font-size: 15px;
        letter-spacing: 0.6px;
    }
    .qhack-intro__ranking-title {
        font-size: 24px;
        letter-spacing: 0.96px;
        margin-bottom: 24px;
    }
    .qhack-intro__ranking-images {
        gap: 12px;
    }
    .qhack-intro__ranking-images img {
        max-width: calc(50% - 6px);
        width: 100%;
    }
    .qhack-intro__ranking-note {
        font-size: 12px;
        padding: 0 16px;
    }
    .qhack-intro__number {
        font-size: 18px;
    }
    
    /*************************** 03. 共通パーツ ***********************/
    .side-btn-container{
        display: none;
    }
    .concept .catchcopy br {
        display: inherit;
    }

    .concept .concept-bg {
        font-size: 4.8rem;
    }

    ul.before-after li:first-child::after {
        font-size: 10rem;
    }

    ul.before-after li:first-child::before {
        font-size: 2.8rem;
        margin-bottom: 0.6rem;
    }

    ul.before-after li:last-child::before {
        font-size: 2.8rem;
        margin-bottom: 0.6rem;
    }

    .conversion a {
        padding: 2.8rem 0;
        font-size: 2.8rem;
    }

    .miniConversion {
        width: 100%;
    }

    .miniConversion a {
        padding: 2.0rem;
        font-size: 2.0rem;
    }

    div.largeT table thead {
        display: none;
    }

    div.largeT table tbody tr {
        background: #fff;
    }

    div.largeT table tbody th {
        background: #f0f2f4;
        display: block;
        border: none;
    }

    div.largeT table tbody td {
        display: flex;
        border-left: none;
        border-right: none;
    }

    div.largeT table tbody td::before {
        content: attr(data-label);
        font-weight: bold;
        flex-shrink: 0;
        margin-right: 1.6rem;
    }

    div.largeT table tbody td:last-child {
        padding-bottom: 4rem;
    }

    dl.table {
        flex-direction: column;
        border-top: 1px solid #ddd;
    }

    dl.table dt {
        width: 100%;
        padding: 1.4rem 0.8rem 0.2rem;
        background: none;
        font-weight: bold;
        border-bottom: none;
    }

    dl.table dd {
        width: 100%;
        padding: 0.2rem 0.8rem 1.4rem;
    }

    .flex-container-four>* {
        width: 48%;
        margin: 0 1% 3%;
    }

    .related-article-container {
        flex-direction: column;
    }

    .related-article-box {
        width: 100%;
        margin-bottom: 3rem;
    }

    .related-article-box div.img img {
        width: 18rem;
        height: 12rem;
    }

    .related-article-box div.txt {
        width: calc(100% - 19rem);
    }
    div.leftImg .img,
    div.rightImg .img {
        float: inherit;
        margin: 0 auto 1rem;
        width: 60%;
    }

    .flow-section-container {
        background: none;
    }

    .flow-section-container section {
        width: 100%;
    }

    .flow-section-container section:not(:last-child) {
        background: url(/images/icons/flow-bottom-start-gray.svg) no-repeat center bottom;
        padding-bottom: 5rem;
        background-size: 15rem;
    }

    .flow-section-container section:nth-child(odd) {
        margin-left: 0;
    }
    ul.sixColumns.area-support-box li{
        width: 31.3333%;
    }

    /*************************** 04. breadcrumb（パンくず） ***********************/
    /*************************** 05. aside（サイドバー） ***********************/
    /*************************** 06. footer（フッター） ***********************/
    /* Q HACK フッター - スマホ */
    .qhack-footer__inner {
        padding: 30px 20px;
        min-height: auto;
    }
    .qhack-footer__main {
        flex-direction: column;
        gap: 24px;
    }
    .qhack-footer__logo img {
        width: 140px;
        height: auto;
    }
    .qhack-footer__menu {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    .qhack-footer__menu li a {
        font-size: 13px;
    }
    .qhack-footer__bottom {
        margin-top: 20px;
        gap: 6px;
    }
    .qhack-footer__privacy,
    .qhack-footer__copyright {
        font-size: 12px;
    }
    
    /* 既存SWELL用 */
    .footer-conversion {
        display: flex;
        list-style: none;
        width: 100%;
        position: fixed;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        -webkit-transform: translateX(-50%);
        -ms-transform: translateX(-50%);
        z-index: 10;
    }

    .footer-conversion li {
        width: 100%;
        margin: 0;
        text-align: left;
        position: relative;
    }

    .footer-conversion li a {
        display: block;
        font-size: 16px;
        font-weight: bold;
        padding: 10px;
        padding-left: 48px;
        color: #fff;
    }

    .footer-conversion li a .arrow-icon {
        position: absolute;
        top: 50%;
        right: 10px;
        transform: translateY(-50%);
        -webkit-transform: translateY(-50%);
        -ms-transform: translateY(-50%);
        width: 10px;
    }

    .footer-conversion li:first-child {
        background: #222222;
    }

    .footer-conversion li:nth-child(2) {
        background: #00885A;
    }

    .footer-conversion li:nth-child(3) {
        background: #50c900;
    }

    .c-widget__title.-spmenu {
        display: none;
    }

    .custom-footer {
        padding: 10px 0 0;
    }

    .footer-divider {
        margin-top: 40px;
        margin-bottom: 30px;
    }

    .footer-top {
        justify-content: center;
    }

    .footer-box {
        padding: 0;
    }

    .footer-box h3 {
        font-size: 22px;
    }

    .footer-links {
        gap: 1%;
        align-items: center;
        justify-content: left;
    }

    .footer-links li {
        padding: 0;
        width: 48%;
    }

    .footer-links li::after {
        display: none;
    }

    .footer-box p {
        text-align: left;
        margin-bottom: 0;
        font-size: 12px;
    }

    .footer-box p.footer-label {
        text-align: center;
    }
    .footer-logo{
        width:80%;
    }
    
    /* Q HACK 選ばれる理由セクション - スマホ */
    .qhack-reasons__inner {
        max-width: 100%;
        padding: 80px 0 60px;
    }
    .qhack-reasons__header {
        padding: 0 16px;
        margin-bottom: 24px;
    }
    .qhack-reasons__title {
        font-size: 24px;
        letter-spacing: 0.96px;
    }
    .qhack-reasons__subtitle {
        font-size: 16px;
        letter-spacing: 0.64px;
    }
    .qhack-reasons__description {
        padding: 0 16px;
        margin-bottom: 40px;
    }
    .qhack-reasons__description p {
        font-size: 15px;
        line-height: 26px;
        letter-spacing: 0.6px;
    }
    .qhack-reasons__description p br {
        display: none;
    }
    .qhack-reasons__highlight {
        font-size: 17px;
        line-height: 28px;
        letter-spacing: 0.68px;
    }
    .qhack-reasons__item {
        margin-bottom: 40px;
        padding-top: 60px;
        width: 100%;
        margin-left: 0;
    }
    .qhack-reasons__item--left .qhack-reasons__card,
    .qhack-reasons__item--right .qhack-reasons__card {
        width: calc(100% - 16px);
        max-width: none;
        padding: 30px 20px;
        border-radius: 0 12px 12px 0;
    }
    .qhack-reasons__item--right .qhack-reasons__card {
        border-radius: 12px 0 0 12px;
    }
    .qhack-reasons__card-body {
        max-width: 100%;
        gap: 16px;
    }
    .qhack-reasons__item--left .qhack-reasons__card-body,
    .qhack-reasons__item--right .qhack-reasons__card-body {
        margin-left: 0;
        margin-right: 0;
    }
    .qhack-reasons__card-header {
        gap: 12px;
        flex-wrap: wrap;
    }
    .qhack-reasons__number {
        font-size: 36px;
        letter-spacing: 1.44px;
    }
    .qhack-reasons__number::before {
        font-size: 36px;
        letter-spacing: 1.44px;
    }
    .qhack-reasons__card-title {
        font-size: 16px;
        letter-spacing: 0.64px;
        line-height: 1.4;
    }
    .qhack-reasons__card-text {
        font-size: 14px;
        line-height: 24px;
        letter-spacing: 0.56px;
    }
    .qhack-reasons__card-text br {
        display: none;
    }
    .qhack-reasons__item-image {
        width: 100px;
    }
    .qhack-reasons__item--left .qhack-reasons__item-image {
        left: auto;
        right: 20px; /* カード右端から20px内側 */
        top: 5px;
    }
    .qhack-reasons__item--right .qhack-reasons__item-image {
        right: auto;
        left: 20px; /* カード左端から20px内側 */
        top: 5px;
    }
    .qhack-reasons__list {
        margin-bottom: 12px;
    }
    .qhack-reasons__list li {
        font-size: 14px;
        line-height: 24px;
        letter-spacing: 0.56px;
        padding-left: 14px;
    }
}