.box_sp {
    display: none;
}

.box_pc {
    display: block;
}

.catcher_pc {
    display: block;
}

.catcher_sp {
    display: none;
}

@media only screen and (min-device-width: 1025px) and (max-device-width: 1366px) and (-webkit-min-device-pixel-ratio: 1) {
    #idx_journal .inner {
        width: 80%;
    }

    .footer {
        width: 135vw;
    }

    .footer .footer_connect .inner,
    .footer .footer_address .inner {
        width: 60%;
    }
}

/* responsive */
@media screen and (max-width: 1500px) {
    .main_title {
        font-size: 6.67vw;
    }

    .idx_title {
        font-size: 2.13vw;
    }

    .overlay .gnavi:first-child {
        margin-right: 9.73vw;
    }

    .overlay .h_sns {
        margin-bottom: 4.47vw;
    }

    /*----- idx_about -----*/
    #idx_about .idx_subtitle {
        margin-bottom: 1.93vw;
    }

    #idx_about .idx_about_image02 {
        margin-right: 5.33vw;
    }

    /*----- idx_works -----*/
    #idx_works .idx_works_list .works_item .works_title {
        font-size: 18px;
    }

    /*----- idx_other -----*/
    #idx_other .main_title {
        margin-bottom: 1.4vw;
    }

    #idx_other .idx_txt {
        margin-bottom: 3.93vw;
    }

    #idx_other #idx_profile .idx_subtitle {
        margin-bottom: 1.93vw;
    }

    #idx_other .idx_other_info .idx_other_gallery .item {
        margin: 0 0 2.13vw;
    }

    /*----- box_contact -----*/
    .box_contact figure {
        margin-right: 5.67vw;
    }

    .box_contact .box_contact_txt {
        margin-bottom: 4.93vw;
    }

    /*----- footer -----*/
    .footer .footer_connect .special_title {
        font-size: 6.67vw;
        margin-bottom: 4vw;
    }

    .footer .footer_connect .f_link li {
        margin-bottom: 3.53vw;
    }

    .footer .footer_connect .f_link li a {
        font-size: 15px;
    }

    .footer .footer_connect .f_ig {
        margin-top: 2.53vw;
    }

    .footer .footer_connect .f_slogan {
        margin-top: 5.53vw;
    }

    .footer .footer_address {
        padding: 3.67vw 0 0;
    }

    .footer .footer_address .inner {
        padding-top: 4.27vw;
    }

    .footer .footer_address dl {
        margin-right: 2vw;
    }

    .footer .footer_address dl dt {
        font-size: 20px;
        margin-right: 2vw;
    }

    .footer .footer_address dl dd {
        font-size: 13px;
    }

    .footer address {
        font-size: 12px;
    }
}

@media screen and (max-height: 950px) {
    .main_title {
        font-size: 10.526vh;
    }

    .idx_title {
        font-size: 3.368vh;
    }

    .overlay .h_sns {
        margin-bottom: 7.053vh;
    }

    .overlay .h_add {
        padding: 7.895vh 0 0;
    }

    .overlay .h_add dt {
        margin-bottom: 6.737vh;
    }

    /*----- idx_about -----*/
    #idx_about .idx_component {
        margin-left: 7.158vh;
        margin-top: 21.158vh;
    }

    #idx_about .idx_txt {
        margin-bottom: 6.316vh;
    }

    #idx_about .idx_about_image03 {
        margin-bottom: 22.105vh;
    }

    /*----- idx_works -----*/
    #idx_works .main_title {
        margin-bottom: 1.579vh;
    }

    #idx_works .headline {
        margin-bottom: 8.421vh;
    }

    /*----- idx_journal -----*/
    #idx_journal .main_title {
        margin-bottom: 4.632vh;
    }

    #idx_journal .idx_journal_list li a {
        padding: 4.947vh 28px 5.263vh;
    }

    #idx_journal .idx_journal_list {
        margin-bottom: 8.211vh;
    }

    /*----- footer -----*/
    .footer .footer_connect .special_title {
        font-size: 10.526vh;
        margin-bottom: 9.474vh;
    }

    .footer .footer_connect .f_link li {
        margin-bottom: 5.579vh;
    }

    .footer .footer_address {
        padding: 5.789vh 0 0;
    }

    .footer .footer_address .inner {
        padding-top: 6.737vh;
    }
}

@media screen and (max-width: 1250px) {
    .overlay .layer_left .overlay_slogan {
        width: 12.8vw;
        max-width: 160px;
    }

    /*----- idx_about -----*/
    #idx_about .idx_component {
        margin-top: 10vw;
    }

    /*----- idx_works -----*/
    #idx_works .main_title {
        margin-bottom: 0;
    }

    #idx_works .headline {
        margin-bottom: 2vw;
    }

    #idx_works .idx_works_list .works_item .works_title {
        font-size: 18px;
    }

    /*----- idx_journal -----*/
    #idx_journal .idx_journal_list {
        margin-bottom: 3.5vw;
    }

    #idx_journal .idx_journal_list li a {
        padding: 2vw 28px;
    }

    #idx_journal .idx_journal_list .idx_journal_meta {
        margin-bottom: 15px;
    }

    /*----- footer -----*/
    .footer .footer_connect .special_title {
        margin-bottom: 3vw;
    }

    .footer .footer_connect .f_link li {
        margin-bottom: 3vw;
    }

    .footer .footer_connect .f_ig {
        margin-top: 2vw;
    }

    .footer .footer_address .inner {
        padding-top: 3vw;
    }
}

@media screen and (min-width: 1025px) {

    .a_hover:hover,
    #idx_journal .idx_journal_list li a:hover {
        opacity: .6;
    }

    .btn_primary a:hover i::before {
        animation: catcher-line .6s cubic-bezier(.165, .84, .44, 1);
    }

    .btn_primary a:hover .txt span {
        display: inline-block;
        animation: catcher-text .6s cubic-bezier(.165, .84, .44, 1);
        animation-delay: .2s;
    }

    .overlay .gnavi li a:hover::after,
    .footer .footer_connect .f_link li a:hover::after {
        transform: scaleX(1);
        transform-origin: bottom left;
    }

    #header #top {
        -ms-writing-mode: tb-rl;
        -webkit-writing-mode: vertical-rl;
        -moz-writing-mode: vertical-rl;
        -ms-writing-mode: vertical-rl;
        writing-mode: vertical-rl;
    }
}

@media screen and (max-width: 1024px) {
    body {
        font-size: 14px;
    }

    .catcher_pc {
        display: none;
    }

    .catcher_sp {
        display: block;
    }

    .viewport {
        height: inherit;
        overflow: inherit;
    }

    .scroll-wrapper {
        display: block;
    }

    .panel {
        height: auto;
    }

    .panel_wrap {
        height: auto;
        max-height: inherit !important;
    }

    .panel_wrap,
    .panel_container {
        width: 100%;
        min-width: inherit;
    }

    .inner {
        width: 94%;
    }

    .main_title {
        font-size: 50px;
    }

    .idx_title {
        font-size: 26px;
    }

    .idx_subtitle {
        font-size: 15px;
        margin-bottom: 22px;
    }

    .btn_primary a {
        white-space: normal;
    }

    .btn_primary i {
        max-width: 100px;
    }

    .btn_primary .txt span {
        font-size: 14px;
    }

    /*----- header -----*/
    #header {
        width: 100%;
        height: 60px;
        flex-direction: row;
        padding: 0 3%;
    }

    #header #top {
        font-size: 18px;
    }

    .hamburger {
        top: 2px;
        left: auto;
        right: 3%;
        transform: translateY(0);
    }

    .hamburger span {
        width: 56px;
        height: 1px;
    }

    .hamburger span:nth-child(1) {
        top: 22px;
        left: 0;
    }

    .hamburger span:nth-child(4) {
        top: 32px;
        right: 0;
        left: auto;
    }

    .hamburger span:nth-child(2) {
        transform: rotate(-45deg) translate(-20px, 20px);
    }

    .hamburger span:nth-child(3) {
        transform: rotate(45deg) translate(20px, 20px);
    }

    .overlay .layer_right .inner {
        max-height: 525px;
    }

    .overlay .gnavi li a {
        font-size: 16px;
    }

    .overlay .h_sns {
        margin-bottom: 3vh;
    }

    .overlay .h_add {
        padding: 3vh 0 0;
    }

    .overlay .h_add dt {
        font-size: 20px;
        margin-bottom: 4vh;
    }

    /*----- idx_mainvisual -----*/
    #idx_mainvisual {
        height: 100vh;
        height: calc(var(--vh, 1vh) * 100);
    }

    #idx_mainvisual .btn-scroll {
        height: 180px;
        flex-direction: row-reverse;
        align-items: flex-start;
        bottom: 0;
        right: 0;
    }

    #idx_mainvisual .btn-scroll .txt {
        -ms-writing-mode: tb-rl;
        -webkit-writing-mode: vertical-rl;
        -moz-writing-mode: vertical-rl;
        -ms-writing-mode: vertical-rl;
        writing-mode: vertical-rl;
        margin-left: 5px
    }

    #idx_mainvisual .btn-scroll .line {
        width: 1px;
        height: 100%;
    }

    #idx_mainvisual .btn-scroll .line::before {
        animation-name: catcher-scrollbar-sp;
    }

    #idx_about .panel_wrap,
    #idx_works .panel_wrap,
    #idx_works .panel_wrap {
        height: auto;
    }

    /*----- idx_about -----*/
    #idx_about {
        padding: 55px 0 55px;
    }

    #idx_about .inner {
        flex-wrap: wrap;
        justify-content: space-around;
    }

    #idx_about .idx_block {
        width: 100%;
        max-width: 500px;
        display: block;
        margin: 0 0 35px;
    }

    #idx_about .idx_component {
        margin: 0 0;
    }

    #idx_about .idx_about_image01 {
        width: 44.12vw;
        height: 58.82vw;
        margin: 0 auto 25px;
    }

    #idx_about .idx_txt {
        margin-bottom: 25px;
    }

    #idx_about .idx_title {
        margin: 0 0 35px;
    }

    #idx_about .idx_about_gallery {
        margin: 0 auto;
    }

    #idx_about .idx_about_image02 {
        width: 35.23vw;
        height: 26.59vw;
        margin-right: 3.91vw;
    }

    #idx_about .idx_about_image03 {
        width: 45.45vw;
        height: 45.45vw;
        margin-bottom: 20.51vw;
    }

    /*----- idx_works -----*/
    #idx_works {
        background: var(--main-color);
        padding: 50px 0;
    }

    #idx_works .inner {
        flex-direction: column;
    }

    #idx_works .main_title {
        margin-bottom: 15px;
    }

    #idx_works .headline {
        display: block;
        margin-bottom: 55px;
    }

    #idx_works .headline .idx_subtitle {
        margin: 0 0 25px;
    }

    #idx_works .idx_works_list .works_item {
        width: 100%;
        margin-right: 20px;
    }

    #idx_works .idx_works_list .works_item .works_title {
        font-size: 16px;
    }

    #idx_works .idx_title {
        margin: 0 auto 25px;
    }

    #idx_works .btn_primary {
        text-align: center;
        margin-top: 45px;
    }

    /*----- idx_cover -----*/
    #idx_cover {
        width: 100%;
        min-width: inherit;
        height: 58.59vw;
        max-height: 600px;
    }

    /*----- idx_other -----*/
    #idx_other {
        padding: 50px 0 50px;
        position: relative;
    }

    #idx_other .panel_container {
        height: auto;
    }

    #idx_other .idx_other_container {
        height: auto;
        display: block;
    }

    #idx_other .idx_other_block {
        width: 94%;
        max-width: 100%;
        flex-direction: row;
        margin: 0 auto !important;
    }

    #idx_other .main_title {
        margin-bottom: 15px;
    }

    #idx_other .idx_txt {
        margin-bottom: 25px;
    }

    #idx_other #idx_flow {
        padding-left: 3%;
    }

    #idx_other #idx_flow .idx_other_component {
        margin: 0 25px 0 0;
        flex: 1;
    }

    #idx_other #idx_flow figure {
        width: 33.33vw;
        max-width: 240px;
        height: 33.33vw;
        max-height: 240px;
        margin-top: 120px;
    }

    #idx_other #idx_qa {
        flex-direction: column;
    }

    #idx_other #idx_qa figure {
        width: 52.08vw;
        max-width: 400px;
        height: 39.06vw;
        max-height: 300px;
        margin: -25px 0 25px;
    }

    #idx_other #idx_qa .idx_other_component {
        margin-left: auto;
    }

    #idx_other #idx_profile {
        flex-direction: column-reverse;
        align-items: flex-start;
        padding: 0 0;
    }

    #idx_other #idx_profile .idx_title {
        padding-left: 6%;
    }

    #idx_other #idx_profile .idx_other_component {
        width: 55.56vw;
        padding-top: 50px;
        margin-right: 0;
    }

    #idx_other .idx_other_info {
        width: 240px;
        height: 88.24vw;
        max-height: 750px;
        position: absolute;
        bottom: 50px;
        right: 3%;
        overflow: hidden;
    }

    #idx_other .idx_other_info .idx_other_gallery {
        width: 240px;
    }

    #idx_other .idx_other_info .idx_other_gallery .item {
        width: 100%;
        height: 180px;
        margin: 0 0 20px;
    }

    /*----- idx_journal -----*/
    #idx_journal {
        padding: 35px 0 55px;
    }

    #idx_journal .main_title {
        text-align: center;
        margin-bottom: 35px;
    }

    #idx_journal .idx_journal_list {
        margin-bottom: 45px;
    }

    #idx_journal .idx_journal_list li a {
        padding: 20px 10px;
    }

    #idx_journal .idx_journal_list .idx_journal_title {
        font-size: 16px;
    }

    #idx_journal .btn_primary {
        text-align: center;
    }

    /*----- box_contact -----*/
    .box_contact {
        padding: 55px 0;
    }

    .box_contact figure {
        width: 43.95vw;
        max-width: 450px;
        height: 58.59vw;
        max-height: 600px;
        margin-right: 35px;
    }

    .box_contact .box_contact_component {
        width: 100%;
        flex: 1;
    }

    .box_contact .box_contact_txt {
        margin-bottom: 35px;
    }

    /*----- footer -----*/
    .footer {
        padding: 35px 0 30px;
    }

    .footer .footer_connect .inner {
        flex-wrap: wrap;
    }

    .footer .footer_connect .special_title {
        width: 100%;
        font-size: 50px;
        text-align: center;
        margin-bottom: 45px;
    }

    .footer .footer_connect .f_link li {
        margin-bottom: 25px;
    }

    .footer .footer_connect .f_ig {
        margin-top: 35px;
    }

    .footer .footer_connect .f_slogan {
        margin-top: 40px;
    }

    .footer .footer_address {
        padding: 35px 0 0;
    }

    .footer .footer_address .inner {
        flex-direction: column;
        padding-top: 35px;
    }

    .footer .footer_address dl {
        margin: 0 0 75px;
    }
}

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

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

    #wrapper,
    #header,
    #main,
    #footer,
    .pages .pages_inner {
        width: 100% !important;
        min-width: inherit !important;
    }

    .box_sp {
        display: block;
    }

    .box_pc {
        display: none;
    }

    .idx_title {
        font-size: 22px;
    }

    .overlay .layer_left {
        display: none;
    }

    .overlay .layer_right {
        width: 100%;
    }

    .overlay .layer_right .h_link {
        flex-direction: column;
        margin-bottom: 5vh;
    }

    .overlay .gnavi:first-child {
        margin: 0 0 5vh;
    }

    .overlay .gnavi li {
        text-align: center;
        margin-bottom: 5vh;
    }

    .overlay .h_address {
        padding-bottom: 50px;
    }

    .overlay .h_sns {
        margin-bottom: 0;
    }

    .overlay .h_sns a {
        font-size: 0;
    }

    .overlay .h_sns i {
        width: 25px;
        height: 25px;
        margin-bottom: 0;
    }

    .overlay .h_add {
        display: none;
    }

    /*----- idx_mainvisual -----*/
    #idx_mainvisual h2 {
        width: 100%;
        max-width: 125px;
        margin: 0 auto;
    }

    /*----- idx_works -----*/
    #idx_works .idx_works_list {
        flex-direction: column;
        align-items: center;
    }

    #idx_works .idx_works_list .works_item {
        width: 82vw;
        max-width: 410px;
        margin: 0 0 35px;
    }

    #idx_works .idx_works_list .works_item:last-child {
        margin-bottom: 0;
    }

    /*----- idx_other -----*/
    #idx_other {
        flex-direction: column;
    }

    #idx_other .idx_other_component {
        width: 100%;
        max-width: 100%;
    }

    #idx_other #idx_flow {
        flex-direction: column;
        padding-left: 0;
    }

    #idx_other #idx_flow figure {
        width: 33.33vw;
        max-width: 240px;
        height: 33.33vw;
        max-height: 240px;
        margin-top: 35px;
        margin-left: auto;
    }

    #idx_other #idx_qa figure {
        margin: -45px 0 25px;
    }

    #idx_other #idx_profile .idx_other_component {
        width: 100%;
    }

    #idx_other #idx_profile .idx_title {
        padding-left: 0;
        margin: 45px auto 0;
    }

    #idx_other .idx_other_info {
        display: none;
    }

    /*----- idx_journal -----*/
    #idx_journal .idx_journal_list .idx_journal_title {
        -webkit-line-clamp: 2;
    }

    /*----- footer -----*/
    .footer .footer_connect .inner {
        flex-direction: column;
        align-items: center;
    }

    .footer .footer_connect .f_link {
        display: none;
    }

    .footer .footer_connect .f_ig {
        text-align: center;
        margin-top: 0;
    }

    .footer .footer_connect .f_slogan {
        display: none;
    }

    .footer .footer_address dl {
        width: 100%;
        flex-direction: column;
        text-align: center;
    }

    .footer .footer_address dl dt {
        margin: 0 0 25px;
    }

    #loading figure {
        width: 100%;
        max-width: 125px;
        margin: 0 auto;
    }
}

@media screen and (max-height: 500px) {
    .overlay .layer_right {
        align-items: flex-start;
        padding: 60px 0 0;
        overflow: auto;
    }
}

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

    /*----- box_contact -----*/
    .box_contact {
        padding: 35px 0 55px;
    }

    .box_contact .inner {
        flex-direction: column-reverse;
    }

    .box_contact figure {
        margin: 35px auto 0;
    }
}

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

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

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