@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;
}

/* --------------ヘッダー--------------- */
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);
}


/* ----------------------メイン-------------------------- */

.infor {
    margin: 20vh auto;
    width: 35vw;
    height: 95vh;
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 10px;
}

h2 {
    font-size: 1.2vw;
    font-family: 'Mochiy Pop One';
    /* margin-left: 20vw; */
    color: var(--mainColor);
    /* background-color: rgba(255, 255, 255, 0.7);
    border-radius: 1vh; */
    margin: 1vw;
    padding: 0.5vw;
}

.infor .infor1 {
    display: flex;
    gap: 1vw;
    align-items: center;
    justify-content: center;
    /* padding-top: 3vh; */
}

.infor li {
    list-style: none;
    font-family: 'Mochiy Pop One';
    font-size: 1vw;
    line-height: 2.5em;
}

.title {
    text-align: right;
}

.title li::after {
    content: " : ";
}

iframe {
    display: block;
    align-items: center;
    margin: auto;
    padding-top: 3vh;
    width: 26vw;
    height: 30vh;
}

h3 {
    font-family: 'Mochiy Pop One';
    font-size: 1.2vw;
    line-height: 3em;
    width: 26vw;
    font-weight: normal;
}

.GroupCompany {
    margin:5vh 4.5vw;
    display: block;
}

.GroupCompany .bigdiv {
    padding: 0;
    text-align: left;
    display: inline-block;
    border-top: solid 3px gray;
    border-bottom: solid 3px gray;
}

.GroupCompany div ul {
    width: 20vw;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
}

.GroupCompany div ul li {
    line-height: 1.5em;
    font-size: 1.1vw;
}

.smalldiv {
    display: flex;
    gap: 20px;
}

.companyImg {
    width: 3.5vw;
    height: auto;
}

.companyImg img {
    width: 100%;
    height: auto;
}


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

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

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

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

/* ---------------------レスポンシブ---------------------------- */


@media (max-width: 1100px) {
     /* -------------------------ヘッダー-------------- */
    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: 100%;
        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;
    }

    /* --------------------------メイン--------------------------------- */

    .infor {
        margin: 15vh auto 5vh;
        width: 60%;
        height: 850px;
    }
    
    h2 {
        font-size: 20px;
        margin: 5px;
        padding: 5px;
    }
    
    .infor .infor1 {
        gap: 5px;
    }
    
    .infor li {
        font-size: 16px;
        line-height: 2.5em;
    }
    
    iframe {
        margin: auto;
        width: 400px;
        height: 300px;
    }
    
    h3 {
        font-family: 'Mochiy Pop One';
        font-size: 20px;
        line-height: 3em;
        width: 400px;
        font-weight: normal;
    }

    .GroupCompany .bigdiv {
        border-bottom: solid 1px gray;
        border-top: solid 1px gray;
        margin: auto;
    }

    .smalldiv {
        display: flex;
        gap: 20px;
    }

    .GroupCompany div ul li {
        font-size: 16px;
    }

    .companyImg {
        width: 70px;
        height: auto;
    }
    
    .GroupCompany div ul {
        width: 330px;
    }

    .GroupCompany {
        margin:5vh 6vw;
    }
    
    /* --------------------フッター------------------------- */

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

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

footer img {
    width: 100px;
    height: auto;
    
}
}

@media (max-width: 500px) {
   /* --------------------------メイン--------------------------------- */

   .infor {
    margin: 20vh auto 3vh;
    width: 80%;
    height: 550px;
    border-radius: 10px;
}

h2 {
    font-size: 14px;
    font-family: 'Mochiy Pop One';    
    margin: 5px;
    padding: 2px;
}

.infor .infor1 {
    gap: 5px;
}

.infor li {
    font-size: 12px;
    line-height: 2.5em;
}


iframe {
    padding-top: 3vh;
    width: 250px;
    height: 150px;
}

h3 {
    font-family: 'Mochiy Pop One';
    font-size: 14px;
    line-height: 3em;
    width: 250px;
    font-weight: normal;
}

.GroupCompany {
    margin:5vh 4.5vw;
    display: block;
}

.GroupCompany div ul {
    width: 180px;
}

.GroupCompany div ul li {
    line-height: 1.5em;
    font-size: 11px;
}

.GroupCompany .bigdiv {
    border-bottom: solid 1px gray;
    border-top: solid 1px gray;
}

.smalldiv {
    display: flex;
    gap: 10px;
}

.companyImg {
    width: 40px;
    height: auto;
}


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

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

footer img {
    width: 80px;
    height: auto;
}
}

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

    .infor {
        margin: 13vh auto 3vh;
        width: 75%;
        height: 510px;
        border-radius: 10px;
    }

    .infor li {
        font-size: 10px;
        line-height: 2.5em;
    }

    .smalldiv {
        display: flex;
        gap: 20px;
    }
}
