@charset "UTF-8";

/* --------------共通---------------- */
*, ::before, ::after{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-image: url(../img/background.jpg);
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: 50% 15%;
    background-size: cover;
    counter-reset: number 0;
}

:root {
	--mainColor: #303030;
}

/* ------------------ローディング------------------------ */
.loading {
	width: 100vw;
	height: 100vh;
	background: rgb(198, 255, 255);
	position: fixed;
	top: 0;
	left: 0;
	z-index: 20000;
}

.loading img {
	width: 50%;
	height: auto;
    text-align: center;
    position: absolute;
    top: 50vh;
    left: 50VW;
    transform:translate(-50%,-50%);
}

/* --------------ヘッダー--------------- */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 3;
    background-color: rgba(255, 255, 255, 0.9);
    height: 10%;
    width: 100vw;
}

header h1 img {
    width: 350px;
    margin: 3vh 3vw 2vh;
}

header nav ul {
    width: auto;
    display: flex;
    justify-content: space-evenly;
    text-transform: uppercase;
    margin: 2vh 3vw;
}

header nav ul li {
    list-style: none;
    font-family: 'Mochiy Pop One',sans-serif;
    font-size: 26px;
    margin: 0 20px;
}

header nav ul li a {
    text-decoration: none;
    color: var(--mainColor);
}

.drawer label{
    position: fixed;
    right: 3%;
    top: 2.5%;
    z-index: 999;
    padding: 20px;
    display: none;
}

#HBG {
	display: none;
}

#HBG label {
    display: flex;
    justify-content: center;
    align-items: center;
}

#HBG+label span,
#HBG+label span::before,
#HBG+label span::after {
	content: "";
	display: block;
	height: 3px;
	background: var(--mainColor);
	border-radius: 9999px;
	transition: .5s;
}

#HBG+label span {
width: 40px;
position: relative;
}
#HBG+label span::before,
#HBG+label span::after {
width: 40px;
position: absolute;
}
#HBG+label span::before {
	bottom: 10px;
}
#HBG+label span::after {
	top: 10px;
}

#HBG:checked+label span {
	background: transparent;
}
#HBG:checked+label span::before {
	bottom: 0;
	transform: rotate(-315deg);
}
#HBG:checked+label span::after {
	top: 0;
	transform: rotate(315deg);
}


/* ---------------------キャッチコピー------------------------ */
.CC .CCP {
    width: 1100px;
    max-width: 100%;
    display: flex;
    flex-direction: column-reverse;
    gap: 2em;
    margin: 22% auto 25%;
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 10px;
}

.CC h2 {
    font-family:'Mochiy Pop One',sans-serif;
    font-size: 30px;
    color: var(--mainColor);
    text-align: center;
}

.text-content{
    text-align: center;
   }

.type-text{
    color: var(--mainColor);
    font-size: 52px;
    font-family:"Poller One", serif;
}

.ityped-cursor {
    font-size: 52px;
    opacity: 1;
    -webkit-animation: blink 0.3s infinite;
    -moz-animation: blink 0.3s infinite;
    animation: blink 0.3s infinite;
    animation-direction: alternate;
}

@keyframes blink {
    100% {
        opacity: 0;
    }
}

@-webkit-keyframes blink {
    100% {
        opacity: 0;
    }
}

@-moz-keyframes blink {
    100% {
        opacity: 0;
    }
}


/* ----------------事業内容------------------- */

.business div {
    width: 100vw;
    height: 100vh;
    position: relative;
}

h3 {
    font-size: 26px;
    font-family: 'Mochiy Pop One';
    margin-left: 20vw;
    color: var(--mainColor);
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 10px;
    width: 190px;
    padding: 10px;
}

.business img {
    /* width: 1100px;
    max-width: 80%; */
    width: 50%;
    height: auto;
    position: absolute;
    left: 50%;
    top: 10vh;
    transform: translateX(-50%);
    border-radius: 20px;
}

.business p {
    font-family: 'Mochiy Pop One';
    font-size: 26px;
    position: absolute;
    top: 70%;
    left: 50%;
    transform: translate(-50%,0);
    text-align: center;
    color: var(--mainColor);
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 10px;
    padding: 5px;
    width: 900px;
}




/*  ----------------------取扱商品---------------------------- */
.goods {
    width: 100vw;
    height: 80vh;
    position: relative;
}

/* .goods h3 {
    margin-bottom: 10vh;
} */

.slick {
    width: 70vw;
    height: 100vh;
    position: absolute;
    top: 10vh;
    left: 50vw;
    transform: translate(-50%,0);
}

.slick img {
    width: 30vw;
    height: auto;
}

.slick,
.slick-initialized,
.slick-slider {
    height: 60vh;
}

/* --------------------フッター------------------------- */

footer {
    text-align: center;
    height: 20vh;
}

footer div {
    display: flex;
    flex-direction: column;
}

footer img {
    width: 6vw;
    height: auto;
    
}

/* ---------------------レスポンシブ----------------------------- */
@media (max-width: 1400px) {
    .business p {
        top: 60%;
    }
}

@media (max-width: 1250px) {
    .business p {
        top: 50%;
    }

}


@media (max-width: 1150px) {
    /* -------------------------ヘッダー-------------- */
    header {
        height: 100px;
        max-height: 10%;
    }

    header h1 img {
        max-width: 80%;
        max-height: 80px;
        margin: 8% 5% 5%;
    }
    
    header nav ul {
        width: auto;
        margin: -25px 10px 0;
    }
    
    header nav ul li {
        font-size: 20px;
    }
    
    header nav ul li{
       margin-top: 10%;
    }
         header nav ul li img{
       margin: 4rem;
    }
    
    /* ---------------------キャッチコピー------------------------ */
.CC .CCP {
    width: 900px;
    max-width: 100%;
}

.CC h2 {
    font-size: 22px;
}

.type-text{
    font-size: 42px;
}

.ityped-cursor {
    font-size: 42px;
}



/* ----------------事業内容------------------- */

.business div {
    width: 100vw;
    height: 1000px;
    position: relative;
}

h3 {
    font-size: 26px;
    margin-left: 20vw;
    width: 190px;
    padding: 10px;
}

.business img {
    width: 70%;
    height: auto;
    position: absolute;
    left: 50%;
    top: 10vh;
    transform: translateX(-50%);
    border-radius: 20px;
}

.business p {
    font-family: 'Mochiy Pop One';
    font-size: 26px;
    position: absolute;
    top: 60%;
    left: 50%;
    transform: translate(-50%,0);
    text-align: center;
    color: var(--mainColor);
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 10px;
    padding: 5px;
    width: 900px;
}




/*  ----------------------取扱商品---------------------------- */
.goods {
    width: 100vw;
    height: 80vh;
    position: relative;
}

/* .goods h3 {
    margin-bottom: 10vh;
} */

.slick {
    width: 70vw;
    height: 100vh;
    position: absolute;
    top: 10vh;
    left: 50vw;
    transform: translate(-50%,0);
}

.slick img {
    width: 30vw;
    height: auto;
}

.slick,
.slick-initialized,
.slick-slider {
    height: 60vh;
}

    

    
    

}

@media (max-width: 900px) {
    /* -------------------------ヘッダー-------------- */
    header {
        height: 100px;
        max-height: 10%;
    }

    /* header h1 {
        height:90%;
        max-width: 50%;
    } */

    header h1 img {
        max-width: 50%;
        max-height: 60px;
        margin: 8% 5% 5%;
    }
    
    header nav ul {
        width: auto;
        margin: 0;
    }
    
    header nav ul li {
        list-style: none;
        font-family: 'Mochiy Pop One',sans-serif;
        font-size: 18px;
        margin: 0 5px;
    }
    
    header nav ul li a {
        text-decoration: none;
        color: var(--mainColor);
    }    

    .drawer label{
        display: block;
        cursor: pointer;
    }
    
    .menuarea{
        display: block;
        background: rgba(255, 255, 255, 0.9);
        position: absolute;
        top: 0;
        right: -1000px;
        transition: all .5s ;
        width: 100vw;
        height: 100vh;
        text-align: center;
        font-weight: bolder;
        padding-left: 0;
        font-size: 1.2rem;
        padding-top: 30%;
    }
    
    header nav ul li{
       margin-top: 10%;
    }
         header nav ul li img{
       margin: 4rem;
    }
    
    #HBG:checked ~ .menuarea{
        right: 0;
    }

    /* -------------------------------共通-------------------------- */

    body {
        background-repeat: no-repeat;
        background-attachment: fixed;
        background-position: 50% 15%;
        background-size: cover;
    }
    
    /* --------------------------キャッチコピー----------------------- */
    .CC .CCP {
        max-width: 87%;
        gap: 1em;
        margin: 30% auto 25%;
        background-color: rgba(255, 255, 255, 0.7);
        border-radius: 10px;
    }
    
    .CC h2 {
        font-family:'Mochiy Pop One',sans-serif;
        font-size: 13px;
        color: var(--mainColor);
        text-align: center;
        margin: 3px;
    }
    
    .text-content{
        text-align: center;
       }
    
    .type-text{
        color: var(--mainColor);
        font-size: 30px;
        font-family:"Poller One", serif;
    }
    
    .ityped-cursor {
        font-size: 30px;
        opacity: 1;
        -webkit-animation: blink 0.3s infinite;
        -moz-animation: blink 0.3s infinite;
        animation: blink 0.3s infinite;
        animation-direction: alternate;
    }

    /* ----------------事業内容------------------- */

.business div {
    height: 70vh;
}

h3 {
    font-size: 16px;
    margin-left: 10vw;
    width: 125px;
    padding: 10px;
}

.business img {
    width: 1100px;
    max-width: 80%;
    height: auto;
}

.business p {
    font-size: 12px;
    position: absolute;
    top: 60%;
    left: 50%;
    transform: translate(-50%,0);
    padding: 5px;
    width: 500px;
    max-width: 85%;
}




/*  ----------------------取扱商品---------------------------- */
.goods {
    width: 100vw;
    height: 40vh;
}

/* .goods h3 {
    margin-bottom: 10vh;
} */

.slick {
    width: 80%;
    height: 100%;
    position: absolute;
    top: 10vh;
    left: 50vw;
    transform: translate(-50%,0);
}

.slick img {
    width: 80%;
    height: auto;
}


/* --------------------フッター------------------------- */

footer {
    text-align: center;
    height: 20vh;
}

footer div {
    display: flex;
    flex-direction: column;
}

footer img {
    width: 6vw;
    height: auto;
    
}
}

@media (max-width: 800px) {
    .business p {
        top: 65%;
    }

    .goods {
        width: 100vw;
        height: 50vh;
    }

    body {
        background-repeat: no-repeat;
        background-attachment: fixed;
        background-position: 50% 15%;
        background-size: cover;
    }
    
}


@media (max-width: 500px) {
    .bbr {
        display: none;
    }
    footer {
        text-align: center;
        height: 10vh;
    }
    
    footer img {
        width: 80px;
        height: auto;
    }

    .business p {
        top: 50%;
    }

    .slick img {
        width: 200px;
        height: auto;
    }

    .slick-slide {
        width: 200px;
        height: auto;
    }

    h3 {
        font-size: 14px;
        margin-left: 10vw;
        width: 125px;
        padding: 10px;
    }

    body {
        background-repeat: no-repeat;
        background-attachment: fixed;
        background-position: 50% 15%;
        background-size: cover;
    }
    
}


@media (max-width: 400px) {
    .drawer label{
        position: fixed;
        right: 3%;
        top: 2%;
    }

    .business p {
        top: 50%;
    }
}
