/*--- 表示領域が599px以下の場合に適用するスタイル ---*/
@media screen and (max-width: 599px) {

    html {
        font-size: 62.5%;
    }

    /* common */
    .container {
        width: 100%;
        padding: 0 3%;
    }

    .sp_none {
        display: none;
    }

    .pc_none {
        display: block;
    }

    .contact-btn {
        padding: 2em 0 5em 0;
    }

    .sp-word-break {
        display: block;
    }

    /* header */
    .header {
        height: auto;
        padding-top: 32px;
    }

    .logo {
        text-align: center;
        width: 100%;
        display: block;
        padding: 5% 0;
    }

    /* hero text */
    .hero-txt {
        font-size: 2.7rem;
    }

    .slide {
        padding-top: 2em;
        margin: auto;
        /*    height: 56.25vw;*/
    }

    .movie video {
        width: 100%;
    }

    .movie {
        padding: 10em 0;
    }

    /** section **/
    .section-ttl>h1 {
        font-size: 3rem;
    }

    .section-ttl-gold {
        font-size: 3rem !important;
    }

    .section-content {
        font-size: 1.2rem;
        text-align: left;
        padding-top: 3em;
    }

    /*** OEM・ODM ***/
    .container-inner {
        padding-top: 5em;
    }

    /*** FLOW ***/
    .sp-flow-ul {
        display: block !important;
    }

    .flow-icon {
        float: none;
    }

    .flow-icon img {
        display: block;
        margin: 0 auto;
        width: 100%;
        height: auto;
    }

    .flow-content {
        float: none;
        width: 100%;
        padding: 0 5%;
    }

    .flow-ttl {
        font-weight: bold;
        text-align: center;
    }

    .flow-txt {
        text-align: center;
    }

    /*** BRANDS ***/
    .brands-ul li {
        float: none;
        width: 100%;
    }

    .brands-ul li img {
        width: 100%;
    }

    /*** CAMPANY ***/
    .section .company-table {
        float: none;
        width: 100%;
    }

    .company-table th {
        width: 100%;
        display: block;
        text-align: left;
    }

    .company-table td {
        width: 100%;
        display: inline-table;
        line-height: 1.7em;
    }

    /*** RECRUIT ***/
    .recruit-inner {
        width: 100%;
        float: none;
        margin-right: 0;
    }

    .recruit-inner th {
        font-size: 1.5rem;
        /* background: red; */
        width: 100%;
        /* height: 100px; */
        display: inline-block;
        text-align: left;
    }

    .recruit-inner td {
        font-size: 1.5rem;
        width: 100%;
        display: inline-table;
        line-height: 1.7em;
    }

    /*** CONTACT ***/
    .contact-table {
        width: 100%;
        float: none;
    }

    .contact-table tr.dnone {
        display: none !important;
    }



    .contact-table th {
        text-align: center;
    }

    .contact-adjustment {
        width: 100% !important;
        display: block !important;
    }

    .contact-adjustment span {
        padding-right: 0 !important;
    }

    .map {
        width: 90%;
        float: none;
        margin: auto;
    }

    .map iframe {
        width: 100%;
        height: 200px;
    }

    /*** TAB STYLE for RECRUIT ***/
    .tab5 {
        width: 100%;
        /*横幅はここで設定します。100%にすれば可変になります。*/
        min-width: 300px;
        margin: 0 auto;
        padding-bottom: 5em;
    }

    .tab5 .tab-content {
        margin: 0 10px;
    }

    .tab5 label {
        display: inline-block;
        margin: 0;
        padding: 0;
    }

    .tab5 label {
        display: inline-block;
        padding: 4% 15%;
        cursor: pointer;
        color: #777;
        margin-right: 5px;
        border: 2px solid #ccc;
        border-radius: 6px 6px 0 0;
        position: relative;
        top: 5px;
        background: #eee;
    }

    .tab5 label:hover {
        background: #eee;
    }

    .tab5 input:checked+label {
        font-size: 1.2rem;
        color: #222;
        padding: 5% 15%;
        background: none;
        border: 2px solid #ccc;
        border-radius: 6px;
        z-index: -999;
        position: relative;
        top: 5px;
    }

    .tab5 input {
        display: none;
    }

    .tab5 #tab5-b1,
    .tab5 #tab5-b2 {
        display: none;
        padding: 10px;
    }

    .tab5 #tab5-1:checked~#tab5-b1,
    .tab5 #tab5-2:checked~#tab5-b2 {
        display: block;
        border-top: 2px solid #ccc;
        background: #fff;
    }

    /*** TAB STYLE ***/
    .tab1 {
        width: 100%;
        /*横幅はここで設定します。100%にすれば可変になります。*/
        min-width: 300px;
        margin: 0 auto;
        padding-bottom: 5em;
    }

    .tab1 .tab-content {
        margin: 0 10px;
    }

    .tab1 label {
        display: inline-block;
        margin: 0;
        padding: 0;
    }

    .tab1 label {
        display: inline-block;
        padding: 4% 15%;
        cursor: pointer;
        color: #777;
        margin-right: 5px;
        border: 2px solid #ccc;
        border-radius: 6px 6px 0 0;
        position: relative;
        top: 5px;
        background: #eee;
    }

    .tab1 label:hover {
        background: #eee;
    }

    .tab1 input:checked+label {
        font-size: 1.2rem;
        color: #222;
        padding: 5% 15%;
        background: none;
        border: 2px solid #ccc;
        border-radius: 6px;
        z-index: -999;
        position: relative;
        top: 5px;
    }

    .tab1 input {
        display: none;
    }

    .tab1 #tab1-b1,
    .tab1 #tab1-b2 {
        display: none;
        padding: 10px;
    }

    .tab1 #tab1:checked~#tab1-b1,
    .tab1 #tab1-2:checked~#tab1-b2 {
        display: block;
        border-top: 2px solid #ccc;
        border-bottom: 2px solid #ccc;
        background: #fff;
    }

    /* oem */
    .main.oem {
        overflow-x: clip;
    }

    .main.oem .section {
        padding-top: 0;
    }

    .oem-ttl {
        background: url(../image/oem.png) no-repeat center/cover;
        width: 100%;
        height: 100%;
        padding-top: 13rem;
        padding-bottom: 9.5rem;
    }

    .oem-ttl .section-ttl h1 {
        color: #FFF;
        display: block;
        width: auto;
        font-feature-settings: "palt";
    }

    .oem-ttl .section-ttl h1 span.top {
        display: block;
        font-size: 45px;
        font-weight: 500;
        padding: 0;
        padding-bottom: 9px;
        margin-bottom: 9px;
        border-bottom: 1px solid #FFF;
        text-shadow: 3.734px -1.433px 8.4px rgba(0, 0, 0, 0.73);
    }

    .oem-ttl .section-ttl h1 span.bottom {
        display: block;
        font-size: 20px;
        padding: 0;
        padding-top: 9px;
        text-shadow: 3.734px -1.433px 8.4px rgba(0, 0, 0, 0.73);
    }

    .oem .section-content {
        font-size: 14px;
        padding-top: 3rem;
        padding-bottom: 3rem;
    }

    #visualBlock {
        width: -webkit-fill-available;
        height: 100%;
        margin: 0 calc(50% - 50vw);
        position: relative;
        overflow: hidden;
        padding-top: 9.7rem;
        padding-bottom: 9.7rem;
        overflow: clip;
    }

    .flow .visualVerticalImg {
        position: absolute;
        top: 0;
        width: -webkit-fill-available;
        height: 100%;
        object-fit: cover;
        z-index: -1;
    }

    .flow .flow-wrap {
        max-width: 103.8rem;
        width: 90%;
        border-radius: 10px;
        margin: auto;
        background-color: rgba(255, 255, 255, 0.9);
        padding-top: 4rem;
        padding-bottom: 4rem;
        margin-bottom: 3.3rem;
    }

    .flow .flow-wrap .ttl_box {
        margin-bottom: 3.6rem;
    }

    .flow .flow-wrap .ttl_box h2 {
        text-align: center;
        font-size: 2rem;
        margin-bottom: 3.6rem;
    }

    .flow .flow-wrap .ttl_box h2 span {
        display: block;
        margin-top: 4.3rem;
        font-size: 1.8rem;
    }

    .flow .flow-ul {
        display: flex;
        flex-direction: column;
        align-items: center;
        row-gap: 2rem;
        padding-top: 3rem;
    }

    .flow .flow-ul .list-item {
        display: flex;
        flex-direction: column;
        row-gap: 2rem;
        max-width: 89.7rem;
        width: 90%;
        margin: auto;
        align-items: center;
    }

    .flow-content {
        width: 100%;
    }

    .flow-ttl {
        font-size: 1.8rem;
        line-height: 1.4;
        margin-bottom: 2.4rem;
    }

    .flow-txt {
        font-size: 16px;
        line-height: 1.2;
        text-align: left;
    }

    .flow .bottom-box {
        background: #d2ccc6;
        border-radius: 1rem;
        max-width: 103.8rem;
        width: 90%;
        margin: auto;
        padding-top: 3rem;
        padding-bottom: 3rem;
        display: flex;
        justify-content: center;
    }

    .flow .bottom-box p {
        font-size: 16px;
        line-height: 1.4;
        width: 90%;
        margin: auto;
    }

    .faq .faq_wrap {
        max-width: 89.6rem;
        width: 100%;
        margin: auto;
        padding-top: 5rem;
        padding-bottom: 5rem;
    }

    .faq .faq_wrap .ttl {
        font-size: 3rem;
        text-align: center;
        margin-bottom: 5rem;
    }

    .faq .faq_wrap .ttl span {
        font-size: 1.8rem;
        display: block;
        margin-top: 3rem;
    }

    .faq .faq_wrap .faq-item {
        font-size: 1.8rem;
        margin-bottom: 2rem;
        line-height: 2;
    }

    .faq .faq_wrap .faq-item dt,
    .faq .faq_wrap .faq-item dd {
        padding-left: 8px;
        background-color: #d2ccc6;
        border-radius: 1rem;
        font-weight: 500;
        font-size: 14px;
        display: flex;
        align-items: center;
        padding-top: 7px;
        padding-bottom: 7px;
        position: relative;
    }

    .faq .faq_wrap .faq-item dt::after {
        content: "";
        position: absolute;
        top: 2.4rem;
        right: 4%;
        width: 0;
        height: 0;
        border-style: solid;
        border-right: 9px solid transparent;
        border-left: 9px solid transparent;
        border-top: 13px solid #000000;
        border-bottom: 0;
        transition: all 0.3s ease;
    }

    .faq .faq_wrap .faq-item dt.visible::after {
        transform: rotate(-180deg);
        transition: all 0.3s ease;
    }

    .faq .faq_wrap .faq-item dd {
        background-color: #FFF;
        align-items: flex-start;
        opacity: 0;
        max-height: 0;
        padding-top: 0;
        padding-bottom: 0;
        transition: all 0.3s ease;
    }

    .faq .faq_wrap .faq-item dd.visible {
        opacity: 1;
        max-height: 100rem;
        padding-top: 3.9rem;
    }

    .faq .faq_wrap .faq-item dt span,
    .faq .faq_wrap .faq-item dd span {
        display: inline-flex;
        justify-content: center;
        align-items: center;
        max-width: 4.5rem;
        width: 100%;
        height: 4.5rem;
        border-radius: 5rem;
        background-color: #000000;
        color: #FFF;
        margin-right: 1rem;
        font-weight: bold;
        font-size: 20px;
    }

    .faq .faq_wrap .faq-item dd span {
        background-color: #d2ccc6;
        color: #000000;
    }

}