* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    color: #fafafa;
    list-style: none;
    text-decoration: none;
  }
@media screen and (min-width:770px) {
    body {
        margin: 0px;
        padding: 0px;
        font-family: 'Sawarabi Mincho';
        background-color: #181818;
        color: white;
    }
    a {
        text-decoration: none;
        color: white;
    }
    .container {
        width: 100%;
        max-width: 95%;
        padding: 0 30px;
        margin: 0 auto;
    }
    .japanese {
        font-size: 13px;
    }
    .english {
        font-size: 23px;
        line-height: 30px;
    }
    header {
        max-width: 100vw;
        width: 100%;
        padding: 37px 0px 0px 0px;
        position: fixed;
        top: 0;
        z-index: 100;
    }
    header .container {
        margin: 0 auto;
        display: flex;
    }
    .logo1 {
        width: 51px;
        height: 51px;
        transition: all 0.5s;
        border-radius: 30px;
    }
    .logo1:hover {
        background-color: rgb(112, 112, 112);
    }
    nav {
        margin: 0 0 0 auto;
    }
    .nav-link {
        transition: all 0.5s;
        border-radius: 4px;
    }
    .nav-link:hover {
        background-color: rgb(92, 92, 92);
    }
    ul {
        display: flex;
        list-style: none;
        padding: 0;
        margin: 0;
    }
    .sm {
        display: none;
    }
    li {
        font-size: 14px;
        margin: 0px 0px 0px 47px;;
    }
    .insta {
        width: 40px;
    } 
    .bigimage img {
        margin-left: calc(50% - 50vw);
        margin-right: calc(50% - 50vw);
        width: 100vw;
        aspect-ratio: 5 / 3;
        object-fit: cover;
    }
    .name {
        margin: 5% 0;
    }
    .texts {
        display: flex;
        justify-content: space-between;
        margin: 5% 0;
    }
    .text {
        width: 45%;
        aspect-ratio: 4 / 3;
    }
    .map {
        display: flex;
        justify-content: space-around;
        margin: 5% 0;
    }
    .info {
        width: 40%;
    }
    th {
        padding-bottom: 60px;
        font-size: 20px;
    }
    td {
        padding-bottom: 36px;
        font-size: 16px;
    }
    .googlemap {
        width: 45%;
    }
    iframe {
        width: 100%;
        height: 100%;
        aspect-ratio: 3 / 2;
    }
    .Logo2 {
        margin: 93px auto 113px auto;
        width: 165px;
    }
    .logo2 {
        width: 165px;
        height: 56px;
    }
    .footerhr {
        margin-right: calc(50% - 50vw);
    }
    .works {
        display: flex;
        justify-content: space-between;
        width: 80%;
        margin: 7% auto;
    }
    .work {
        order: white 0.5px solid;
        width: 30%;
    }
    .works p {
        text-align: center;
        border: white 1px solid;
        font-size: 20px;
        padding: 4% 0;
        transition: all 0.5s;
    }
    .work p:hover {
        border-radius: 20px;
        background-color: rgb(209, 209, 209);
        color: #181818;
    }
    .policyies ul {
        list-style: none;
        display: flex;
        justify-content: space-evenly;
        width: 70%;
        margin: 0px auto 6% auto;
        padding: 0px;
    }
    .policyies li {
        font-size: 12px;
        margin: 0;
    }
    footer hr {
        width: 100%;
        border-top: 0.5px solid white;
        border-right: 0;
        border-left: 0;
        border-bottom: 0;
    }
}
@media (max-width: 768px) {
    body {
        margin: 0px;
        padding: 0px;
        font-family: 'Sawarabi Mincho';
        background-color: #181818;
        color: white;
    }
    .container {
        width: 100%;
        max-width: 95%;
        padding: 0 30px;
        margin: 0 auto;
    }
    .japanese {
        font-size: 13px;
    }
    .english {
        font-size: 23px;
        line-height: 30px;
    }
    .pc {
        display: none;
    }
    header {
        display: flex;
        justify-content: center;
    }
    header .container {
        display: flex;
        padding: 5% 4%;
        position: fixed;
        z-index: 100;
    }
    #hamburger {
        display: block;
        background-color: transparent;
        position: relative;
        cursor: pointer;
        margin: 0 0 0 auto;
        height: 60px;
        width: 60px;
        z-index: 100;
    }
    .sm.active {
        display: block;
        height: 100vh;
        z-index: 90;
    }
    .sm {
        top: 0px;
        left: 0px;
        position: absolute;
        display: none;
        z-index: 10;
        width: 100%;
        background-color: rgb(7 7 7 / 94%);
    }
    .sm ul {
        flex-direction: column;
    }
    .sm li {
        margin: 11vh 0;
        text-align: center;
        font-size: large;
    }
    .icon span {
        position: absolute;
        left: 15px;
        width: 30px;
        height: 4px;
        background-color: white;
        border-radius: 8px;
        transition: ease 0.75s;
    }
    .icon span:nth-of-type(1) {
        top: 16px;
    }
    .icon span:nth-of-type(2) {
        top: 28px;
    }
    .icon span:nth-of-type(3) {
        bottom: 16px;
    }
    .close span:nth-of-type(1) {
        transform: rotate(45deg);
        top: 28px;
    }
    .close span:nth-of-type(2) {
        opacity: 0;
    }
    .close span:nth-of-type(3) {
        transform: rotate(-45deg);
        top: 28px;
    }
    .logo1 {
        width: 51px;
        height: 51px;
        z-index: 100;
    }
    .insta {
        width: 40px;
    }
    .bigimage img {
        margin-left: calc(50% - 50vw);
        margin-right: calc(50% - 50vw);
        width: 100vw;
        aspect-ratio: 5 / 3;
        object-fit: cover;
    }
    .texts {
        margin: 5% 0 30% 0;
    }
    .text {
        margin: 9% 0;
    }
    .name {
        margin: 5% 0;
    }
    h1 {
        font-size: xx-large;
    }
    .map {
        margin: 5% 0;
        display: flex;
        flex-direction: column-reverse;
    }
    .googlemap {
        margin: 0 0 10% 0;
    }
    .info {
        width: 50%;
    }
    table {
        width: 80%;
        display: none;
    }
    td {
        padding-bottom: 36px;
        font-size: 16px;
    }
    iframe {
        width: 100%;
        height: 100%;
        aspect-ratio: 1 / 1;
    }
    .Logo2 {
        margin: 93px auto 113px auto;
        width: 165px;
    }
    .logo2 {
        width: 165px;
        height: 56px;
    }
    .footerhr {
        margin-right: calc(50% - 50vw);
    }
    .works {
        justify-content: space-around;
        width: 90%;
        margin: 0 auto;
    }
    .works p {
        font-size: large;
        border: white 1px solid;
        padding: 15px 63px;
        margin-bottom: 48px;
        text-align: center;
        transition: all 0.5s;
    }
    .works p:hover {
        border-radius: 20px;
        background-color: rgb(206, 206, 206);
        color: #181818;
    }
    .policyies ul {
        list-style: none;
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
        width: 86%;
        margin: 0px auto 110px auto;
        padding: 0px;
    }
    .policyies li {
        font-size: 12px;
        margin: 2% 5%;
    }
    footer hr {
        width: 100%;
        border-top: 0.5px solid white;
        border-right: 0;
        border-left: 0;
        border-bottom: 0;
    }
}