* {
    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;
    }
    .pc li {
        font-size: 14px;
        margin: 0px 0px 0px 47px;;
    }
    .insta {
        width: 40px;
    }
    header hr {
        width: 79%;
        margin: 0px 0px 0px 47px;
        border-top: 0.5px solid white;
        border-right: 0;
        border-left: 0;
        border-bottom: 0;
        position: absolute;
        top: 38px;
    }
    .saletop {
        display: flex;
        margin: 15% 0;
    }
    .saletopimg {
        width: 35%;
        margin: 0 5%;
    }
    .saletop img {
        width: 100%;
    }
    .saletoptext {
        width: 40%;
        margin: auto 5%;
    }
    h1 {
        font-size: 32px;
    }
    .saletoptext p {
        margin-bottom: 10%;
    }
    .english {
        font-size: 16px;
    }
    .japanese {
        font-size: 13px;
    }
    .ourspecialitybeans {
        margin-bottom: 5%;
        padding-bottom: 5%;
        background: linear-gradient(to top, rgba(59, 59, 59, 1), 60%, rgba(25, 25, 25, 1));
    }
    .ourspecialitybeans p {
        text-align: center;
        margin-bottom: 4%;
    }
    .beans {
        display: flex;
        justify-content: space-around;
        position: relative;
        z-index: 20;
        margin: 5% auto;
        width: 90%;
    }
    .bean {
        width: 20%;
        position: relative;
    }
    .bean-icon {
        aspect-ratio: 5 / 6;
    }
    .bean a {
        transition: all 0.5s;
    }
    .beans a:hover {
        background-color: #949494;
        opacity: 0.5;
    }
    .bean-img {
        width: 100%;
        aspect-ratio: 5 / 6;
        object-fit: cover;
    }
    .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;
    }
    .saletopimg {
        padding: 40% 0 10% 0;
    }
    .saletop img {
        width: 100%;
        aspect-ratio: 4 / 4;
        object-fit: cover;
    }
    .saletoptext {
        margin: 9% 5%;
    }
    h1 {
        font-size: 32px;
    }
    .saletoptext p {
        margin-bottom: 10%;
    }
    .english {
        font-size: 16px;
    }
    .japanese {
        font-size: 13px;
    }
    .ourspecialitybeans {
        margin-bottom: 5%;
        padding-bottom: 5%;
        background: linear-gradient(to top, rgba(59, 59, 59, 1), 60%, rgba(25, 25, 25, 1));
    }
    .ourspecialitybeans p {
        text-align: center;
        margin-bottom: 10%;
    }
    .beans {
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
        position: relative;
        z-index: 20;
    }
    .bean {
        width: 45%;
        min-width: 45%;
        position: relative;
    }
    .bean a {
        transition: all 0.5s;
    }
    .beans a:hover {
        background-color: #939393;
        opacity: 0.5;
    }
    .bean-img {
        width: 100%;
        aspect-ratio: 5 / 3;
        object-fit: cover;
    }
    .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;
    }
}