@media screen and (max-width: 768px) {
    .web {
        display: none;
    }
    .SP {
        display: block;
    }
    .PC {
        display: none;
    }
    .container {
        padding: 0 15px;
    }
    .btnBlack {
        padding: 16px 45px;
        flex-grow: 1;
    }
    .imgWrapper span {
        right: 4px;
        bottom: 2px;
        font-size: 10px;
    }
    .imgWrapper span.copy::before {
        font-size: 17px;
    }
    .headingQuote {
        font-size: 34px;
        line-height: 135%;
        padding-left: 0px;
    }
    .headingCenter {
        font-size: 30px;
        margin-bottom: 20px;
    }
    .smallImageTextColumn {
        gap: 21px;
        padding: 28px 24px;
        grid-auto-flow: row;
        justify-items: center;
        grid-template-columns: unset;
    }
    .smallImageTextColumn .titleImg img {
        display: block;
        margin: 0 auto 30px;
    }
    .smallImageTextColumn .image img {
        width: 180px;
        height: 180px;
        position: unset;    
    }
    .twoCol {
        grid-auto-flow: row;
        grid-template-columns: unset;
    }
    .twoCol img {
        width: 297px;
        height: 198px;
    }
    .twoColButton {
        gap: 20px 0;
        grid-auto-flow: row;
        grid-template-columns: unset;
    }
    .twoColButton a.next {
        grid-column-start: auto;
    }
    .twoColButton a span {
        font-size: 12px;
        line-height: 150%;
    }
    .twoColButton a img {
        max-width: 90px;
    }
    .anchorLink li {
        font-size: 14px;
    }
    .anchorLink li a {
        padding: 25px 12px;
        padding-right: 23px;
    }
    .anchorLink li a::before {
        width: 20px;
        height: 20px;
        margin-right: 10px !important;
    }
    .anchorLink .threeColumn {
        gap: 5px;
    }
    .anchorLink li::after {
        right: 12px;
    }
    .decimalNoDot .decimal:before {
        margin-right: 12px;
    }
    .columnList {
        padding-bottom: 0;
    }
    .columnList section:not(:last-child) {
        margin-bottom: 67px;
    }
    .columnList li .listBody {
        margin-left: 0;
    }
    .columnList:last-child {
        padding-bottom: 20px;
    }
    .twoColumn {
        grid-template-columns: 1fr;
    }
    .twoColumn p + figure {
        margin-top: 35px;
    }
    .twoColumn figure figcaption {
        margin: 19px auto 21px;
    }
    .threeColumn,
    .fourColumn {
        /* gap: 15px; */
        grid-template-columns: repeat(1, 1fr);
    }
    .threeColumn .description p,
    .fourColumn .description p {
        font-size: 12px;
        line-height: 150%;
    }
    .threeColumn .description,
    .fourColumn .description {
        padding: 12px 10px;
    }
    .threeColumn .img,
    .fourColumn .img {
        height: 86px;
        margin: 6px 6px 0;
    }
    .threeColumn .details p {
        font-size: 10px;
    }
    .threeColumn .img.BgGray {
        height: 87px;
        padding: 6px;
    }
    .threeColumn li a.btn {
        margin: 0px 6px 6px;
        padding: 6px;
        font-size: 10px;
    }
    .fourColumn .description p {
        font-size: 12px;
    }

    header {
        padding: 12px;
        display: flex;
        justify-content: space-between;
    }
    .logo {
        padding: 0;
    }
    .logo img {
        width: 170px;
    } 
    .hamburger {
        display: grid;
        align-content: center;
        justify-content: end;
        position: relative;
    }
    .hamburger span {
        transition: transform 0.4s ease-in-out, opacity 0.2s ease-in-out 0.2s, left 0.2s ease-in-out;
        -webkit-transition: transform 0.4s ease-in-out, opacity 0.2s ease-in-out 0.2s, left 0.2s ease-in-out;
        -moz-transition: transform 0.4s ease-in-out, opacity 0.2s ease-in-out 0.2s, left 0.2s ease-in-out;
        -ms-transition: transform 0.4s ease-in-out, opacity 0.2s ease-in-out 0.2s, left 0.2s ease-in-out;
    }
    .hamburger.spin span {
        transition: transform 0.4s ease-in-out 0.2s;
        -webkit-transition: transform 0.4s ease-in-out 0.2s;
        -moz-transition: transform 0.4s ease-in-out 0.2s;
        -ms-transition: transform 0.4s ease-in-out 0.2s;
    }
    .hamburger.spin span:nth-child(1) {
        transform-origin: center;
        transform: rotate(-45deg) translate(-6px, 10px);
        -webkit-transform: rotate(-45deg) translate(-6px, 10px);
        -moz-transform: rotate(-45deg) translate(-6px, 10px);
        -ms-trasform: rotate(-45deg) translate(-6px, 10px);
      }
    .hamburger.spin span:nth-child(2) {
        opacity: 0;
    }
    .hamburger.spin span:nth-child(3) {
        transform-origin: center;
        transform: rotate(45deg) translate(-5px, -10px);
        -webkit-transform: rotate(45deg) translate(-5px, -10px);
        -moz-transform: rotate(45deg) translate(-5px, -10px);
        -ms-trasform: rotate(45deg) translate(-5px, -10px);
    }
    .navigation {
        display: none;
    }
    .navigation.show {
        top: 60px;
        right: 0;
        width: 100%;
        height: 100%;
        display: unset;
        position: absolute;
    }
    .headerNav {
        display: grid;
        grid-auto-flow: row;
        grid-template-columns: unset;
        position: relative;
        z-index: 100;
    }
    /* .keyvisualWrapper {
        padding: 60px 0px 110px;
        background-image: url('/japan/localnposupport/images/KV_sp.png');
    }
    .keyvisualWrapper p {
        font-size: 30px;
        text-align: center;
        letter-spacing: 0.02em;
    }
    .keyvisualWrapper span:not(:first-child) {
        margin-top: 6px;
        font-size: 18px;
    } */
    .breadcrumb {
        padding: 14px 0 12px;
    }
    .breadcrumb ul li {
        font-size: 10px;
        line-height: 15px;
    }
    .breadcrumb ul li:not(:first-child)::before {
        top: 0;
    }
    /* .QandA section figure, 
    .columnList section figure {
        width: 100%;
    }
    .QandA section figcaption,
    .columnList section figcaption {
        margin-top: 19px;
    }
    .reference {
        padding: 21px 19px;
        margin-bottom: 73px;
    }
    .relatedInterview .btnWhite {
        width: 100%;
        box-sizing: border-box;
        text-align: center;;
    } */
    #scrollTop {
        width: 45px;
        height: 45px;
    }
    #scrollTop.end {
        bottom: 82px;
    }
    .iconTop {
        width: 16px;
        height: 16px;
    }

    .headingContent {
        font-size: 16px;
        padding-top: 20px;
        padding-bottom: 20px;
    }

    .threeColumn {
        padding-bottom: 40px;
    }

    .threeColumn .description .title {
        font-size: 20px;
    }

    .threeColumn .description .details p {
        font-size: 16px;
    }

    .btnRed {
        padding: 16px 107px;
    }

    /* .headingRedBorder {
        border: none;
        padding-left: 0;
    }

    .headingRedBorder::before {
        background: none;
    } */

    /* Arrow Container */

    .arrowContainer {
        flex-direction: column;
        align-items: center;
        gap: 10px;
        padding-bottom: 70px;
    }

    .c-arrow-label {
        max-width: 320px;
        height: 120px;
        background-image: url("/japan/localnposupport/images/img_red_arrow_1_SP.png");
        /* background-size: contain; */
    }

    .c-arrow-label:first-child p {
        margin-top: -15px;
    }

    .c-arrow-label:nth-child(2) {
        background-image: url("/japan/localnposupport/images/img_red_arrow_2_SP.png");
        margin-top: -35px;
        height: 133px;
    }

    .c-arrow-label:nth-child(3) {
        background-image: url("/japan/localnposupport/images/img_red_arrow_3_SP.png");
        margin-top: -30px;
    }

    .c-arrow-label:nth-child(4) {
        background-image: url("/japan/localnposupport/images/img_red_arrow_4_SP.png");
        margin-top: -15px;
    }


    /* Arrow Head */

    /* .c-arrow-label__item:before {
        top: 21px;
        right: 137.65px;
        transform: rotate(90deg);
        border-top: solid 161.15px transparent;
        border-bottom: solid 161.15px transparent;
        border-left: solid 45.5px #DA291F;
    }

    .c-arrow-label:nth-child(2) .c-arrow-label__item:before {
        border-left: solid 45.5px #CF271B;
    }
    
    .c-arrow-label:nth-child(3) .c-arrow-label__item:before {
    border-left: solid 45.5px #C42519;
    }
    
    .c-arrow-label:nth-child(4) .c-arrow-label__item:before {
    border-left: solid 45.5px #B92318;
    } */

    /* Arrow Tail */

    /* .c-arrow-label:not(:first-child) .c-arrow-label__item:after {
        top: -182px;
        left: 137.5px;
        transform: rotate(90deg);
    }

    .c-arrow-label:not(:first-child) .c-arrow-label__item:after {
        border-left: solid 45px transparent;
    }

    .c-arrow-label:nth-child(2) .c-arrow-label__item:after {
        border-top: solid 160.15px #CF271B;
        border-bottom: solid 160.15px #CF271A;
    }

    .c-arrow-label:nth-child(3) .c-arrow-label__item:after {
    border-top : solid 160.25px #C42519 ; 
    border-bottom : solid 160.25px #C42519; 
    }
    
    .c-arrow-label:nth-child(4) .c-arrow-label__item:after {
    border-top : solid 160.15px #B92318 ; 
    border-bottom : solid 160.15px #B92318; 
    } */
    
    .redBoldText, .blackBoldText {
        font-size: 20px;
        padding-bottom: 20px;
    }

    /* Table */

    table {
        margin-bottom: 40px;
    }

    tr {
        display: flex;
        flex-direction: column;
    }

    th {
        width: auto;
    }

    /* Download Forms */

    .downloadForms {
        flex-direction: column;
        gap: 60px;
        align-items: center;
    }

    .formHeading {
        font-weight: normal;
    }

    .contactHeading {
        font-weight: normal;
    }
    
    .grantsContainer h3 {
        margin-bottom: 40px;
    }

    .grantsContainer h4 {
        margin-bottom: 40px;
    }

    .grantRow {
        flex-direction: column;
        gap: 24px;
    }

    .grantCard {
        max-width: none;
    }

    .threeGrantRow .grantCard {
        max-width: none;
    }

    .btnContainer {
        display: flex;
        justify-content: center;
    }

    .pastAppContainer .downloadLink {
        width: 100%;
    }

    .pastAppContainer .downloadLink .textContainer {
        flex-direction: row;
    }

    .pastAppContainer .downloadLink {
        padding: 16px 0;
    }

    .pastAppContainer .downloadLink:before {
        top: 20px;
        left: 70px;
    }

    .pastAppContainer .downloadLink:after {
        top: 20px;
    }

    .pastAppDownload.downloadForms {
        gap: 16px;
    }

    .imageContainer {
        flex-direction: column;
        gap: 20px;    
        padding-bottom: 60px;
    }


    footer .copyright {
        font-size: 12px;
        font-weight: bold;
    }

    footer {
        padding: 21px 14px;
    }
}

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

    .btnRed {
        padding: 16px 70px;
    }

    .c-arrow-label {
        max-width: 248px;
        height: 90px;
    }

    .c-arrow-label__item {
        font-size: 18px;
        width: 85%;
    }

    .c-arrow-label__item:before {
        border-top: solid 64px transparent;
        border-bottom: solid 65px transparent;
        border-left: solid 16px #DA291C;
    }

    .c-arrow-label:not(:first-child) .c-arrow-label__item:after {
        border-left: solid 16px transparent;
    }

    .c-arrow-label:nth-child(2) .c-arrow-label__item:after {
        border-top: solid 64px #CF271B;
        border-bottom: solid 65px #CF271B;
    }

    .c-arrow-label:nth-child(3) .c-arrow-label__item:after {
    border-top : solid 64px #C42519 ; 
    border-bottom : solid 65px #C42519; 
    }
    
    .c-arrow-label:nth-child(4) .c-arrow-label__item:after {
    border-top : solid 64px #B92318 ; 
    border-bottom : solid 65px #B92318; 
    }

    .threeColumn .description .title {
        font-size: 16px;
    }

    .downloadLink {
        width: 255px;
    }

    .pastAppContainer .downloadLink {
        max-width: 200px;
        font-size: 14px;
    }

    .pastAppContainer .downloadLink:before {
        left: 8px;
    }

    .pastAppContainer .downloadLink:after {
        right: 7px;
    }
   
    .grantRow {
        flex-wrap: wrap;
        row-gap: 20px;
    }

    .grantCard {
        max-width: 375px;
    }

    .grantCard img {
        width: 100%;
    }

    .imageContainer {
        flex-direction: column;
        gap: 20px;
        padding-bottom: 40px;
    }


}


/* @media screen and (min-width: 320px) and (max-width: 375px) {
    .threeColumn .description .title {
        font-size: 20px;
    }
} */