@charset "UTF-8";

/* --------------------
SP
-------------------- */

@media screen and (max-width: 834px) {

    .hidden-m {
        display: none;
    }

    .visible-m {
        display: inline-block;
    }

    .wrapper {
        max-width: unset;
    }

    .bg-image {
        background: unset;
    }

    /* テキスト */
    .text-large {
        font-size: 1.8rem;
    }
    
    .text-xlarge {
        font-size: 2.4rem;
    }
    
    .text-xxlarge {
        font-size: 3rem;
    }

    /* --------------------
   ヘッダー
    -------------------- */

    .header-container {
        max-width: unset;
        flex-direction: column;
    }

    .left-images, .right-images {
        width: unset;
        height: unset;
        max-height: 300px;
        top: 0;
        left: 0;
        overflow: hidden;
        margin-bottom: 2rem;
    }

    .right-images {
        margin-bottom: 4rem;
    }

    .left-image, .right-image {
        object-fit: cover;
        clip-path: none;
        object-position: center;
        min-width: unset;
        min-height: unset;
    }

    .left-images::after, .right-images::after {
        display: none;
    }

    header .logo {
        width: 80%;
        padding-bottom: unset;
    }

    .center-content {
        min-height: unset;
        max-width: unset;
        padding-top: unset;
    }

    .center-content h1 {
        order: 2;
    }

    .center-content h3 {
        order: 1;
    }

    .center-content h2 {
        order: 3;
    }

    /* --------------------
    サンプル動画
    -------------------- */
    #youtube_wrap {
        flex-direction: column;
    }

    /* --------------------
    ピクトエールとは
    -------------------- */
    .about-container {
        width: 100%;
    }
    
    .about-item {
        width: 100%;
    }

    #about h3 {
        white-space: unset;
    }
    
    /* --------------------
    制作プラン
    -------------------- */
    .plan {
        flex-direction: column;
        padding-left: unset;
        padding-bottom: 5rem;
        min-height: unset;
    }

    .plan::before, .plan::after {
        display: none;
    }

    .plan-header {
        width: 100%;
        padding-left: unset;
        order: 2;
        justify-content: center;

    }

    .plan-content {
        width: 100%;
        order: 1;
    }

    .plan-image1 {
        z-index: 1;
        max-height: unset;
        width: 100%;
        margin-top: unset;
    }
    
    .plan-image3 {
        max-height: unset;
        object-fit: cover;
        width: 100%;
        aspect-ratio: 16 / 9;
        object-position: 0 -8rem;
    }

    .plan-comment {
        width: 100%;
    }

    /* --------------------
    制作フロー
    -------------------- */
    .flow-lists {
        flex-wrap: wrap;
        max-width: 60%;
        margin: 0 auto;
    }

    .flow-list {
        height: 100%;
        left: unset;
        padding: 5% 5% 15% 5%;
    }

    .flow-list::before {
        transform: skewX(-15deg);
    }

    .flow-list dt {
        height: unset;
        margin-right: unset;
        padding-bottom: 3rem;
    }

    .flow-list dd {
        height: unset;
    }

    /* --------------------
    フッター
    -------------------- */
    .footer-logo {
        margin-right: unset;
        width: 80%;
    }

    .footer-text {
        width: 50%;
    }

}

@media screen and (max-width: 600px) {

    .visible-s {
        display: block;
    }

    /* 見出し */
    h2 {
        font-size: 2rem;
    }

    h3 {
        font-size: 1.8rem;
    }

    h4 {
        font-size: 1.8rem;
    }

    /* テキスト */
    .text-large {
        font-size: 1.8rem;
    }
    
    .text-xlarge {
        font-size: 2rem;
    }
    
    .text-xxlarge {
        font-size: 2.2rem;
    }

    /* 見出しの平行四辺形 */
    .title-shape {
        padding-bottom: 5rem;
        padding-left: 3rem;
    }
    
    .title-shape::before {
        margin-top: -0.5rem;
        margin-left: -2.6rem;
        width: 2rem;
        height: 3.4rem;
    }
    

    /* --------------------
    ヘッダー
    -------------------- */

    header h2 {
        white-space: unset;
    }
    
    header h3 {
        white-space: unset;
    }


    /* --------------------
    ハンバーガーメニュー
    -------------------- */
    .drawer__nav__inner {
        width: 100%;
    }

    /* --------------------
    制作プラン
    -------------------- */
    .plan-image3 {
        object-position: 0 -6rem;
    }

    /* --------------------
    制作フロー
    -------------------- */
    .flow-lists {
        max-width: 80%;
    }

    .flow-list::before {
        transform: skewX(-15deg);
    }

    .flow-list dt {
        height: unset;
        margin-right: unset;
        padding-bottom: 3rem;
    }

    .flow-list dd {
        height: unset;
    }

    /* --------------------
    フッター
    -------------------- */
    .footer-text {
        width: 80%;
    }
}