@media screen and (min-width: 550px) {
/*タブ切り替え全体のスタイル*/
    .tabs {
        margin-top: 50px;
        /* padding-bottom: 40px; */
        /* background-color: #fff; */
        /* box-shadow: 0 0 10px rgba(0, 0, 0, 0.2); */
        /* width: 700px; */
        margin: 0 auto;
    }

    /*タブのスタイル*/
    .tab_item {
        width: calc(100%/2);
        height: 50px;
        border-bottom: 3px solid #fdf3ff;
        /* background-color: #d9d9d9; */
        line-height: 50px;
        font-size: 16px;
        text-align: center;
        color: #a9a7a7;
        display: block;
        float: left;
        text-align: center;
        font-weight: bold;
        transition: all 0.2s ease;
    }

    .tab_item:hover {
        opacity: 0.75;
    }

    /*ラジオボタンを全て消す*/
    input[name="tab_item"] {
        display: none;
    }

    /*タブ切り替えの中身のスタイル*/
    .tab_content {
        display: none;
        /* padding: 40px 40px 0; */
        clear: both;
        overflow: hidden;
    }


    /*選択されているタブのコンテンツのみを表示*/
    /* #all:checked~#all_content,
    #programming:checked~#programming_content {
        display: block;
    } */

    /*選択されているタブのスタイルを変える*/
    .tabs input:checked+.tab_item {
        /* background-color: #65C5DC; */
        color: #2f2f2f;
        border-bottom: 3px solid #f2a09b;
    }
}


@media screen and (min-width: 1180px) {
/*タブ切り替え全体のスタイル*/
    .tabs {
        margin-top: 50px;
        /* padding-bottom: 40px; */
        /* background-color: #fff; */
        /* box-shadow: 0 0 10px rgba(0, 0, 0, 0.2); */
        /* width: 700px; */
        margin: 0 auto;
    }

    /*タブのスタイル*/
    .tab_item {
        width: calc(100%/2);
        height: 50px;
        border-bottom: 3px solid #fdf3ff;
        /* background-color: #d9d9d9; */
        line-height: 50px;
        font-size: 16px;
        text-align: center;
        color: #a9a7a7;
        display: block;
        float: left;
        text-align: center;
        font-weight: bold;
        transition: all 0.2s ease;
    }

    .tab_item:hover {
        opacity: 0.75;
    }

    /*ラジオボタンを全て消す*/
    input[name="tab_item"] {
        display: none;
    }

    /*タブ切り替えの中身のスタイル*/
    .tab_content {
        display: none;
        /* padding: 40px 40px 0; */
        clear: both;
        overflow: hidden;
    }


    /*選択されているタブのコンテンツのみを表示*/
    /* #all:checked~#all_content,
    #programming:checked~#programming_content {
        display: block;
    } */

    /*選択されているタブのスタイルを変える*/
    .tabs input:checked+.tab_item {
        /* background-color: #65C5DC; */
        color: #2f2f2f;
        border-bottom: 3px solid #f2a09b;
    }
}

@media screen and (min-width: 330px) {
    /*タブ切り替え全体のスタイル*/
    .tabs {
        width: 100vw;
        margin-top: 50px;
        /* padding-bottom: 40px; */
        /* background-color: #fff; */
        /* box-shadow: 0 0 10px rgba(0, 0, 0, 0.2); */
        /* width: 700px; */
        margin: 0 auto;
    }

    /*タブのスタイル*/
    .tab_item {
        width: max-content;
        height: 50px;
        border-bottom: 3px solid #fdf3ff;
        /* background-color: #d9d9d9; */
        line-height: 50px;
        font-size: 17px;
        text-align: center;
        color: #a9a7a7;
        display: block;
        float: left;
        text-align: center;
        font-weight: bold;
        transition: all 0.2s ease;
    }

    .tab_item:hover {
        opacity: 0.75;
    }

    /*ラジオボタンを全て消す*/
    input[name="tab_item"] {
        display: none;
    }

    /*タブ切り替えの中身のスタイル*/
    .tab_content {
        display: none;
        /* padding: 40px 40px 0; */
        clear: both;
        overflow: hidden;
    }


    /*選択されているタブのコンテンツのみを表示*/
    /* #all:checked~#all_content,
    #programming:checked~#programming_content {
        display: block;
    } */

    /*選択されているタブのスタイルを変える*/
    .tabs input:checked+.tab_item {
        /* background-color: #65C5DC; */
        width: max-content;
        color: #2f2f2f;
        border-bottom: 3px solid #f2a09b;
    }

    .tab_header {
        display: flex;
        justify-content: center;
        gap: 60px;
    }
}
