@charset "utf-8";
/*===============================================
リセット
===============================================*/

body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, code, form, fieldset, legend, input, textarea, p, blockquote, th, td {
    margin: 0;
    padding: 0;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

img {
    border: none;
    vertical-align: bottom;
}

address, caption, cite, code, dfn, em, strong, th, var {
    font-style: normal;
    font-weight: normal;
}

article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
    display: block;
}

a:hover {
    text-decoration: none;
}

label {
    cursor: pointer;
}

* {
    box-sizing: border-box;
}

/*===============================================
共通
===============================================*/

body {
    background-color: rgb(15, 28, 105);
}

h1 {
    width: 100%;
    min-height: 380px;
    background: url(img/header/TopCover.png) center top/cover no-repeat;
    padding: 30px;
    object-fit: cover;
}
h2 {
    font-size: 30px;
    color: #ffffff;
    text-align: center;
    padding: 10px 0px;
}


hr {
    margin: 25px 5px;
    color: #ffffff;
}

@media screen and (max-width: 900px) {
    h1 {
        width: 100%;
        min-height: 150px;
        background: url(img/header/TopCover.png) no-repeat center center;
        background-size:cover;
    }
}

/*===============================================
メニューバー
===============================================*/

*, *:before, *:after {
	padding: 0;
	margin: 0;
	box-sizing: border-box;
}
ol, ul {
	list-style: none;
}
a {
	text-decoration: none;
	color: inherit;
}
.wrap {
    width: 80%;
    background-color: #222222;
    margin: 0px auto 70px;
	/*height: 65vh;*/
}
.sidemenu {
	position: absolute;
	top: 20px;
	left: 20px;
    display: inline-block;
    z-index: 10;
}
/* menu */
.sidemenu .menubox {
	position: fixed;
	top: 0;
	left: -100vw;
	width: 250px;
	height: 100%;
	cursor: pointer;
	-webkit-transition: 0.53s transform;
	        transition: 0.53s transform;
	-webkit-transition-timing-function: cubic-bezier(.38,.52,.23,.99);
	        transition-timing-function: cubic-bezier(.38,.52,.23,.99);
	background-color: rgba(0,151,167 ,1);
	opacity: 0.8;
}
.sidemenu .menubox ul {
	margin: 0;
	padding: 0;
}
.sidemenu .menubox li {
	list-style: none;
}
.sidemenu .menubox li a {
	display: block;
	padding: 20px;
	text-decoration: none;
	color: #ffffff;
	border-bottom: 1px solid #ffffff;
}

.sidemenu .menubox .copyright {
    color: white;
    font-size: 12px;
}

.sidemenu #side_toggle {
	position: absolute;
	display: none;
	opacity: 0;
}
.sidemenu #side_toggle:checked ~ .menubox {
	-webkit-transform: translateX(100vw);
	        transform: translateX(100vw);
}
/* menu toggle */
.sidemenu #side_toggle ~ label {

    position: fixed;

	display: block;
	padding: 0.5em;
	cursor: pointer;
	-webkit-transition: 0.5s transform;
	        transition: 0.5s transform;
	-webkit-transition-timing-function: cubic-bezier(.61,-0.38,.37,1.27);
	        transition-timing-function: cubic-bezier(.61,-0.38,.37,1.27);
	text-align: center;
	color: white;
}
.sidemenu #side_toggle:checked ~ label {
	-webkit-transform: translateX(250px);
	        transform: translateX(250px);
}
.sidemenu #side_toggle ~ label::before {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: "\f039";
    font-size: 2em;
}
.sidemenu #side_toggle:checked ~ label::before {
    content: "\f00d";
}

/* contents */

.contents {
    color: #333333;
    text-align: center;
    width: 100%;
    margin: 0px auto;
}

/*===============================================
フッター
===============================================*/
/*===============================================
Pick UP
===============================================*/

#pickup {
    width: 100%;
    height: 100%;
}

/*===============================================
アコーディオン画像
===============================================*/

#accordion {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    visibility: hidden;
    width: 100%;
    height: 25vh;
    margin-bottom: 0%;
}

#accordion .slideitem {
    position: relative;
    visibility: visible;
    overflow: hidden;
    width: 20%;
    /*表示する数に応じて変更(100%/contents)*/
    height: 100%;
    cursor: pointer;
    -webkit-transition: all 0.3s linear 0s;
    transition: all 0.3s linear 0s;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}

#accordion .slideitem:nth-child(1) {
    background-image: url('img/products/catman_app_FeatureImg.png');
}

#accordion .slideitem:nth-child(2) {
    background-image: url('img/products/catman_pc_MainImg.png');
}

#accordion .slideitem:nth-child(3) {
    background-image: url('img/products/pongpongball_TopImg.png');
}

#accordion .slideitem:nth-child(4) {
    background-image: url('img/products/karasuPR_202007.PNG');
}


#accordion .slideitem:nth-child(5) {
	background-image: url('img/products/DogSpaceDiary_Top.png');
}


#accordion .slideitem:after {
    position: absolute;
    z-index: 2;
    top: 0;
    left: 0;
    display: block;
    width: 100%;
    height: 100%;
    content: '';
    opacity: 0;
}

#accordion:hover .slideitem:hover {
    width: 60%;
}

#accordion .slideitem .slidecont {
    position: absolute;
    z-index: 4;
    bottom: 60px;
    left: 30px;
    visibility: hidden;
    max-width: 400px;
    padding: 20px;
    color: #ffffff;
    border-radius: 5px;
    background-color: rgba(230, 74, 25, 0.8);
}

#accordion .slideitem .slidecont h2 {
    font-size: 1.4em;
}

#accordion:hover .slideitem:hover .slidecont {
    bottom: 30px;
    visibility: visible;
    -webkit-transition: all 0.2s linear 0.5s;
    transition: all 0.2s linear 0.5s;
    opacity: 1;
}

@media screen and (max-width: 768px) {
    #accordion {
        height: 40vh;
    }
    #accordion .slideitem .slidecont h2 {
        font-size: 0.9em;
        text-align: center;
    }
    #accordion .slideitem .slidecont p {
        font-size: 0.7em;
    }
    #accordion .slideitem .slidecont {
        right: 10px;
        left: 10px;
        text-align: center;
    }
    #accordion img {
        width: 40%;
        height: 40%;
    }
}

/*===============================================
Prodcuts
===============================================*/

#productitem {
    width: 100%;
    height: 100%;
}

#productitem .grid {
    background-color: #313131;
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    margin: 0% 5% 5% 5%;
}

#productitem .item {
    border-radius: 10px;
    background: #edf;
    padding: 15px;
    text-align: center;
}

#productitem img {
    max-width: 100%;
    height: auto;
}

#productitem .grid .item p {
    font-size: 12px;
    text-align: left;
    margin: 10px 0px;
}

.ShowLink{
    color:rgb(97, 179, 233);
    font-weight: bold;
    text-decoration: underline;
}

@media screen and (max-width: 425px) {
    #productitem {
        height: 100%;
    }
    #productitem .grid {
        background-color: #313131;
        display: grid;
        gap: 10px;
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        margin: 0% 5% 5% 5%;
    }
    #productitem .grid .item p {
        color: #111111;
        font-size: 20px;
    }
}

/*===============================================
About
===============================================*/

#about {
    width: 100%;
    height: 100%;
}

#about .box {
    background-color: #313131;
    display: flex;
    flex-direction: row;
    margin: 0% 5% 5% 5%;
}

#about .pict {
    width: 100%;
    text-align: center;
    min-height: 0%;
    position: center;
}

#about .pict img {
    max-width: 300px;
    height: auto;
    border-radius: 20px;
}

#about .text {
    width: 100%;
    text-align: left;
    color: #a1a1a1;
}

#about h3 {
    font-size: 21px;
    margin: 0;
}

@media screen and (max-width: 1000px) {
    #about .pict {
        width: 100%;
    }
    #about .pict img {
        width: 30%;
        height: auto;
    }
    #about .box:nth-child(even) .pict {
        margin: auto;
    }
    #about .box {
        flex-direction: column;
        justify-content: space-between;
    }
    #about .box:nth-child(even) {
        flex-direction: column;
    }
    #about .text {
        font-size: 20px;
        text-align: center;
    }
    #about .box:nth-child(even) .text {
        text-align: center;
    }
}

/*===============================================
Scroll
===============================================*/

#page_top {
    width: 50px;
    height: 50px;
    position: fixed;
    right: 5px;
    bottom: 10%;
    background: #3f98ef;
    opacity: 0.6;
    border-radius: 50%;
}

#page_top a {
    position: relative;
    display: block;
    width: 50px;
    height: 50px;
    text-decoration: none;
}

#page_top a::before {
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    content: '\f102';
    font-size: 25px;
    color: #fff;
    position: absolute;
    width: 25px;
    height: 25px;
    top: -5px;
    bottom: 0;
    right: 0;
    left: 0;
    margin: auto;
    text-align: center;
}

@media screen and (max-width: 425px) {
    #page_top {
        width: 60px;
        height: 60px;
        position: fixed;
        right: 5px;
        bottom: 20%;
        background: #3f98ef;
        opacity: 0.6;
        border-radius: 50%;
    }
    #page_top a {
        width: 60px;
        height: 60px;
    }
}