* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

a {
  text-decoration: none;
}

li {
  list-style: none;
}

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
  max-width: 1920px;
  margin: auto;
  overflow: auto;
}

body {
  font-family: "ten-mincho", serif;
  font-feature-settings: "ss02";
  overflow-x: hidden;
  width: 100%;
  margin: auto;
  min-width: 320px;
  scroll-behavior: smooth;
}

.globWidth {
  width: 75%;
  max-width: 1300px;
}

.logo {
  width: 278px;
  transform: translateY(-50%);
  position: absolute;
  top: 50%;
  left: 45px;
}

header {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  background-color: white;
  width: 100%;
  max-width: 1980px;
  z-index: 10;
}

.navContainer {
  margin: auto;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  flex-direction: row;
  height: 10vh;
  min-height: 90px;
}

.menuContainer {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
  transform: translate(0, 0);
}

.nav {
  color: #4d4b4b;
  font-size: 1.8rem;
  position: relative;
  z-index: 10;
  margin-left: calc(5px + 2vw);
  cursor: pointer;
}
.nav:hover {
  color: #a6a4a4;
}
.nav a {
  color: #4d4b4b;
}
.nav a:hover {
  color: #a6a4a4;
}

.active {
  border-bottom: 3px solid #FFAD0E;
}

.menu {
  position: absolute;
  top: 100%;
  left: calc(30px + 1vw);
  transform: translate(-42%, 0%);
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-direction: column;
  background-color: white;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
  box-shadow: 7px 7px 8px rgba(176, 176, 176, 0.468);
}
.menu li {
  padding: 15px calc(30px + 1vw);
  margin: 0;
  width: 250px;
}
.menu li:hover {
  background-color: rgb(210, 210, 210);
}
.menu li a {
  color: #4d4b4b;
}

.menuOn {
  opacity: 1;
  transform: translate(-42%, 14%);
  pointer-events: visible;
}

.burger {
  width: 30px;
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-40%);
  z-index: 6;
  display: none;
  cursor: pointer;
}
.burger span {
  display: block;
  width: 100%;
  height: 4px;
  margin-bottom: 7px;
  background-color: #4d4b4b;
  transition: all 0.3s;
}

#grayBg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 6;
  background-color: rgba(77, 77, 77, 0.664);
  opacity: 0;
  pointer-events: none;
  transition: all 0.5s ease;
}

.mobile {
  display: none;
}

.fakeBg {
  background-color: #f7eec2;
  opacity: 0.7;
  transform: translateY(-1px);
  margin-top: 100px;
}

.footer {
  margin: auto;
  padding-top: 67px;
  padding-bottom: 100px;
}
.footer div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-direction: row;
  margin-bottom: 140px;
}
.footer div img {
  width: 377px;
}
.footer div ul {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-direction: row;
  position: relative;
}
.footer div ul li {
  font-size: 1.6rem;
  margin-left: calc(13px + 1vw);
  white-space: nowrap;
  cursor: pointer;
}
.footer div ul li a {
  color: #4d4b4b;
}
.footer div ul li:hover {
  opacity: 0.6;
}
.footer div span {
  position: absolute;
  top: 95%;
  left: 12.3%;
}
.footer p {
  font-size: 1.7rem;
  text-align: center;
  letter-spacing: 0.25rem;
}

.smaller {
  display: inline-block;
  margin-top: 7px;
  font-size: 1.3rem;
}

.lineHook {
  text-align: center;
  position: relative;
  z-index: 1;
  border-radius: 5px;
  font-size: 14px;
  letter-spacing: 0.203em;
  color: #464646;
  border: 1px solid rgba(77, 75, 75, 0.6);
  transition: all 0.2s ease;
  font-family: "Sawarabi Gothic", sans-serif;
}
.lineHook:hover {
  color: white;
  border: 1px solid #378c3f;
  background-color: #378c3f;
}

.linkBtn {
  width: 100%;
  font-size: 1.8rem;
  line-height: 35px;
  margin-top: 25px;
}

.linkBtnNew {
  display: block;
  width: 100%;
  font-size: 1.8rem;
  line-height: 35px;
  margin-top: 35px;
  border: none;
  color: white;
  border-radius: 0%;
}
.linkBtnNew:hover {
  opacity: 0.7;
  border: none;
}

h3 {
  font-size: 3rem;
  letter-spacing: 0.6rem;
  color: black;
  white-space: nowrap;
  max-width: 100%;
}

#s3 {
  padding-top: 25px;
  padding-bottom: 60px;
  width: 73%;
  margin: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
#s3 .container {
  margin: 12px auto 0 auto;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
  flex-wrap: wrap;
}
#s3 .container .wrapper {
  text-align: center;
  font-size: 2rem;
  width: 25%;
  transition: opacity 0.3s;
}
#s3 .container .wrapper:nth-child(2n+1) {
  padding: 20px;
}
#s3 .container .wrapper:nth-child(2n) {
  padding: 0 20px 0px 20px;
}
#s3 .container .wrapper a {
  display: inline-block;
  width: 100%;
  height: 100%;
}
#s3 .container .wrapper:hover {
  opacity: 0.7;
}
#s3 .container img {
  width: 100%;
}

.border {
  border-top: 1px solid black;
  width: calc(100% - 40px * 2);
}

.borderLast {
  margin-top: 40px;
}

#companies {
  width: 90%;
  margin-top: 35px;
}

#s3Container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
#s3Container h3 {
  margin-top: 25px;
}

.lastLinkBtn {
  max-width: 400px;
  padding: 5px 0;
  margin-top: 41px;
  font-size: 1.8rem;
}

@media (max-width: 1000px) {
  #blank {
    height: 340px;
  }
  #hakubaSign {
    width: 100px;
  }
  .linkBtnNew {
    font-size: 1.2rem;
  }
}
@media (max-width: 600px) {
  .s2 .container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-direction: column;
  }
  #blank {
    height: 220px;
  }
  #hakubaSign {
    width: 80px;
  }
  .linkBtnNew {
    font-size: 1.2rem;
  }
  .fakeBg {
    margin-top: 140px;
  }
}
@media (min-width: 1441px) {
  .logo {
    transform: translate(11vw, -50%);
  }
  .border {
    border-top: 1px solid black;
    width: 100%;
  }
  h4 {
    height: 55px;
  }
}
@media (max-width: 1470px) {
  .orderP:nth-last-child(1) {
    transform: translateX(0%);
  }
  .orderP:nth-last-child(2) {
    transform: translateX(0%);
  }
  .globWidth {
    width: calc(77% - 40px);
  }
  .drawing1 {
    width: 140px;
  }
  .drawing2 {
    width: 140px;
  }
  .drawing3 {
    width: 125px;
  }
  .s2 {
    width: calc(73% + 40px * 2);
  }
  #s3 {
    width: calc(73% + 40px * 2);
  }
  .productContainer {
    width: calc(74% + 30px * 2);
    margin: auto;
  }
}
@media (max-width: 1330px) {
  .footer div ul li {
    font-size: 1.5rem;
  }
  .footer div img {
    width: 270px;
  }
}
@media (max-width: 1250px) {
  .logo {
    width: 250px;
  }
  .h2 h2 {
    width: 500px;
  }
  .exSpace2 {
    margin-top: 35px;
  }
  .drawing1 {
    width: 110px;
  }
  .drawing2 {
    width: 110px;
  }
  .drawing3 {
    width: 90px;
  }
  .drawingP {
    width: 130px;
  }
}
@media (max-width: 1180px) {
  .globWidth {
    width: 85%;
  }
  #hakubaSignX {
    width: 120px;
  }
  h4 {
    letter-spacing: 0.25rem;
  }
  nav {
    position: relative;
    z-index: 10;
  }
  .menuContainer {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-direction: column;
    position: fixed;
    top: 0;
    right: 0;
    transform: translateX(100%);
    width: 30vw;
    min-width: 300px;
    height: 100vh;
    background-color: white;
    transition: all 0.4s;
  }
  .description {
    font-size: 2.1rem;
    line-height: 43px;
    margin-top: calc(6vw + 40px);
    margin-bottom: 50px;
  }
  .unique {
    font-size: 2.1rem;
    line-height: 53px;
  }
  .s2 {
    width: calc(85% + 40px * 2);
  }
  #s3 {
    width: calc(85% + 40px * 2);
  }
  .card p {
    font-size: 1.9rem;
    line-height: 35px;
  }
  .mobile {
    display: block;
  }
  .web {
    display: none;
  }
  .nav {
    margin-bottom: 30px;
  }
  .burger {
    display: inline-block;
  }
  .sentence {
    width: 120%;
    margin-left: 20px;
    font-size: 1.8rem;
    line-height: 33px;
  }
  h5 {
    font-size: 3.8rem;
  }
  .productImageX img {
    width: 100%;
  }
  .productImageX p {
    font-size: 1.6rem;
  }
  .cardWrapper {
    height: 70px;
  }
  .productContainer {
    width: calc(85% + 30px * 2);
    margin: auto;
  }
  .footer div {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: column;
  }
  .footer div img {
    margin-bottom: 30px;
    width: 277px;
  }
}
@media (max-width: 1000px) {
  #bgMove {
    display: none;
  }
  #bgFixed {
    display: block;
  }
}
@media (max-width: 920px) {
  h4 {
    font-size: 1.8rem;
    margin-bottom: 0;
    width: 100%;
    height: 45px;
  }
  .appleText {
    min-width: 200px;
  }
  .aoKosho {
    min-width: 180px;
  }
  .card {
    padding: 0 25px;
  }
  .type {
    font-size: 1.9rem;
    height: 48px;
    line-height: 48px;
  }
  .type:hover {
    line-height: 42px;
  }
  .aboutContainer {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    flex-direction: column;
  }
  .aboutSection {
    padding-top: 220px;
  }
  .webText2 {
    display: none;
  }
  .ipadText {
    display: inline;
  }
  .title {
    margin-bottom: 3px;
    width: 100%;
  }
  .info {
    font-size: 1.7rem;
    color: #4d4b4b;
    width: 100%;
    line-height: 33px;
  }
  .sentence {
    margin-left: 0px;
  }
  #ankers img {
    width: 80%;
  }
  .hakubaLogo {
    width: calc(60px + 2vw);
  }
}
@media (max-width: 810px) {
  .unique {
    margin: auto;
    width: 70%;
  }
}
@media (max-width: 760px) {
  #hakubaSignX {
    width: 100px;
    top: 14%;
  }
  .cardP {
    width: calc((100% - 16px) / 2);
    /* &:nth-last-child(2) {
      transform: translateX(0%);
    }
    &:nth-last-child(1) {
      transform: translateX(0%);
    } */
  }
  .orderP:nth-last-child(1) {
    transform: translateX(0%);
  }
  .orderP:nth-last-child(2) {
    transform: translateX(0%);
  }
  .h2 {
    margin-bottom: 30px;
  }
  .h2 h2 {
    width: 300px;
  }
  .exSpace {
    margin-top: 35px;
  }
  .s2 {
    margin-bottom: 100px;
  }
  .drawing1 {
    width: 90px;
  }
  .drawing2 {
    width: 90px;
  }
  .drawing3 {
    width: 70px;
  }
  .drawingP {
    width: 90px;
  }
  .webText {
    display: none;
  }
  .mobileText {
    display: inline;
  }
  .bigCardContainer {
    width: 70%;
  }
  .sentenceContainer {
    margin-top: 30px;
    margin-bottom: 30px;
    width: 90%;
    flex-shrink: 0;
  }
  .sentence {
    width: 100%;
    margin-left: 0px;
    font-size: 1.8rem;
    line-height: 33px;
  }
  h5 {
    font-size: 3.6rem;
  }
  .productImageX img {
    width: 100%;
  }
  .productImageX p {
    margin: 10px 0;
  }
  #blank {
    transform: translateY(-15.5vh);
  }
  #blank video {
    width: 100%;
    height: 40vh;
    object-fit: cover;
  }
}
@media (max-width: 650px) {
  .logo {
    width: 230px;
  }
  .s2 {
    width: calc(80% + 40px * 2);
  }
  #s3 {
    width: calc(80% + 40px * 2);
  }
  h3 {
    font-size: 1.9rem;
    letter-spacing: 0.45rem;
  }
  h5 {
    font-size: 3rem;
  }
  .description {
    font-size: 1.8rem;
    line-height: 38px;
    margin-top: calc(6vw + 47px);
    margin-bottom: 35px;
  }
  .unique {
    width: 70%;
    margin: auto;
    font-size: 1.8rem;
    line-height: 46px;
  }
  .linkBtn {
    font-size: 1.6rem;
  }
  .bigCardContainer {
    width: 70%;
  }
  .sentenceContainer {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-direction: column;
  }
  .purchase {
    font-size: 1.6rem;
    padding: 0 64px;
  }
  .card {
    width: 90%;
    margin: 40px auto;
  }
  .card p {
    font-size: 1.6rem;
    line-height: 30px;
  }
  .linkBtn {
    margin-top: 13px;
  }
  .drawing1 {
    width: 70px;
  }
  .drawing2 {
    width: 70px;
  }
  .drawing3 {
    width: 60px;
  }
  #s3 {
    padding-bottom: 50px;
  }
  .footer {
    padding-bottom: 50px;
  }
  .footer div {
    margin-bottom: 20px;
  }
  .footer div ul {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
  }
  .footer div ul li {
    font-size: 1.4rem;
    margin-bottom: 17px;
  }
  .footer span {
    display: none;
  }
  .appleText {
    font-size: 1.6rem;
    letter-spacing: 0.1rem;
  }
  #s3 .container .wrapper {
    width: 50%;
    height: 50px;
    margin: 20px 0;
  }
  #s3 .container .wrapper a {
    position: relative;
  }
  #s3 .container img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
  }
  #s3 .container .wrapper:nth-child(2n+1) {
    padding: 0px;
  }
}
@media (max-width: 550px) {
  .footer div img {
    width: 190px;
    margin-bottom: 30px;
  }
  .footer div ul {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    display: none;
  }
  .footer p {
    font-size: 1.3rem;
  }
}
@media (max-width: 500px) {
  .h2 {
    margin-bottom: 20px;
  }
  .h2 h2 {
    width: 210px;
    transform: translateX(5%);
  }
  .s2 {
    width: 95%;
  }
  #s3 {
    width: 95%;
  }
  .exSpace {
    margin-top: 20px;
  }
  h3 {
    font-size: 1.8rem;
    letter-spacing: 0.3rem;
  }
  h4 {
    white-space: normal;
    font-size: 1.55rem;
    height: 40px;
  }
  .description {
    font-size: 1.7rem;
    letter-spacing: 0.25rem;
  }
  .unique {
    font-size: 1.7rem;
    line-height: 40px;
    letter-spacing: 0.25rem;
    width: 80%;
    margin: auto;
  }
  .productContainer {
    width: 100%;
    margin: auto;
  }
  .cmnt2 {
    display: none;
  }
  .purchase {
    padding: 0 32px;
  }
  .lastLinkBtn {
    padding: 3px 0;
    margin-top: 20px;
    font-size: 1.2rem;
  }
  #ankers {
    margin: 0;
    width: 100%;
  }
  .ankerMobile {
    display: block;
  }
  .ankerWeb {
    display: none;
  }
  .drawingP {
    width: 70px;
  }
}
@media (max-width: 450px) {
  .logo {
    left: 10px;
  }
  #s3 {
    padding-bottom: 30px;
  }
  .footer p {
    transform: translateX(2%);
  }
  #s3 .container .wrapper {
    margin: 8px 0;
  }
}
@media (max-width: 414px) {
  .hero {
    height: 62vh;
  }
  #hakubaSignX {
    width: 50px;
    top: 17%;
  }
  .description {
    font-size: 1.7rem;
    letter-spacing: 0.1rem;
  }
  .type {
    font-size: 1.6rem;
    height: 42px;
    line-height: 42px;
  }
  .type:hover {
    line-height: 36px;
  }
}