/* Add css */

.navbar-toggler {
    padding: 0!important;
    border-color: rgba(0,0,0,0)!important;
}
.navbar-toggler:focus {
    box-shadow:none !important;
}
html { scroll-padding-top: 5em; }

body {
    min-height: 75rem;
    padding-top: .5rem;
}

header {
    background-image: linear-gradient(0deg, #f0f0f0, #f0f0f0 16%, #ffffff 16%)
}

.nav-item { margin: 0 .33em; }

h1 {color: #1c2951!important;}
h1 > small, h3 > small { font-size: 1.3rem; }
footer { background-color: #00504d; }
footer img {
    height: auto;
    width: 100%;
}

.w1920 { max-width: 1920px; margin: auto; }
.w1440 { max-width: 1440px; margin: auto; }
.w1280 { max-width: 1280px; margin: auto; }
.w1120 { max-width: 1120px; margin: auto; }
.w960 { max-width: 960px; margin: auto; }
.w800 { max-width: 800px; margin: auto; }
.w640 { max-width: 640px; margin: auto; }
.w560 { max-width: 560px; margin: auto; }
    
}
/* Index img menu Only */
#indexImgMenu > ul {
    margin: auto!important;
}
#indexImgMenu ul li > img, #indexImgMenu ul li a > img {
    border-radius: 150px;
    box-shadow: 0 0 1rem rgb(0 0 0 / 25%)
}
#indexImgMenu ul li a:hover > img {
    box-shadow: none;
    opacity: .75;
}

#outline a {
    text-decoration: none;
    color: black;
}
.youtube > iframe {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
}

.tp_PROPAK, .sp_PROPAK { flex: 1 0 23% }
.tp_WelPort, .sp_WelPort { flex: 1 0 23% }
.tp_CTS, .sp_CTS { flex: 1.25 0 28% }
.tp_FORTIENCE, .sp_FORTIENCE { flex: 1.08 0 24% }

.tp_PROPAK img, .tp_WelPort img, .tp_CTS img, .tp_FORTIENCE img,
.sp_PROPAK img, .sp_WelPort img, .sp_CTS img, .sp_FORTIENCE img {
    width: 100%;
    height: auto;
}

.col-cp {
    flex: 0 0 auto;
    width: 20%;
    margin: 1.25em 0;
    padding: .25em;
}

.upload_area {
    margin: 1em auto;
}
.dd_area {
    padding: 5em 0;
    background-color: #efefef;
    border: 1px #000000 dashed;
    text-align: center
}
.upload_submit {
    margin: 1em auto;
    text-align: center
}

.FeeSt {
    font: 700 1.1em sans-serif;
}

.R1Japan { margin-left: 1em }
.Funatiko { margin-left: 2em }
.RALLYSTREAM img { height: 1.5em; width: auto }
.R1Japan img, .Funatiko img { height: 4em; width: auto }

/* accordion */
.accordion-header button:not(.collapsed) {
  background-color: #00504d !important; /* 青色に上書き */
  color: white !important; /* 文字色も変更 */
}
.accordion h4 { font-weight: 700 }

/* Maybe you don't want it ? */
.pc {display: block;}
.mp {display: none;}
    .pcHD {display: block;}
    .mpHD {display: none;}

@media screen and (min-width:768px) and (max-width:1024px){
    .col-cp{
        width: 20%;
        padding: 0 .5em;;
    }
}

/* Logotype */
.logotype_3x img {
    width: 100%;
    height: 280px;
    object-fit: cover;
}

@media screen and (min-width:442px) and (max-width:1280px){
    .logotype_3x img {
        max-width: 1280px;
        height: auto;
        object-fit: cover;
        aspect-ratio: 4 / 1;
    }
}
@media screen and (max-width:441px){
    .pcHD {display: none;}
    .mpHD {display: block;}
    .logotype_3x img {
        width: auto;
        height: auto;
        object-fit: cover;
    }
}
/* Logotype */

@media screen and (max-width:767px){
    header { padding: 0 1em}
    header {
        background-image: linear-gradient(0deg, #f0f0f0, #f0f0f0 13%, #ffffff 13%)
    }
    .offcanvas { max-width: 65vw}
    .nav-item { margin: 0; }
    h1 > small, h3 > small { font-size: 1rem; }
    h5 { font-size: .66em; }
    .accordion h4 { font-size: 1.15em }
    .pc {display: none;}
    .mp {display: block;}
    .sp_musashi { width: 85%; margin: auto; }
    .sp_PROPAK, .sp_WelPort, .sp_CTS, .sp_FORTIENCE {
        flex-basis: 100%;
        margin: .5em auto;
        text-align: center
    }
    .sp_PROPAK img, .sp_WelPort img, .sp_CTS img, .sp_FORTIENCE img {
        width: 60%;
        height: auto;
    }
    .col-cp { width: 33%; margin: .5em 0; }
    #indexImgMenu ul li > img, #indexImgMenu ul li a > img {
        
    }
    
    .RALLYSTREAM img { height: 1em; width: auto }
    .R1Japan img, .Funatiko img { height: 2.67em; width: auto }
}