h1, h2, h3, h4, h5, p {
  margin: 0;
  padding: 0;
}

h1, h2, h3, h4, h5,
em, strong {
  font-size: inherit;
  font-style: normal;
  font-weight: 400;
}

a {
  color: inherit;
}

ul {
  margin: 0;
  padding: 0;
}

.no-select {
  -webkit-touch-callout: none !important;
  -webkit-user-select: none !important;
  -khtml-user-select: none !important;
  -moz-user-select: none !important;
  -ms-user-select: none !important;
  user-select: none !important;
  -webkit-tap-highlight-color: transparent !important;
}

.clear {
  display: block;
  float: none;
  clear: both;
}

html {
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
}

body {
  width: 100%;
  min-height: 100%;
  padding: 0;
  margin: 0;
  -webkit-font-smoothing: antialiased;
}

::-webkit-scrollbar {
  display: none;
}

* {
  scrollbar-width: none;
}

@font-face {
  font-family: "Baskervville";
  src: url("../assets/fonts/Baskervville-Regular.woff2") format("woff2"), url("../assets/fonts/Baskervville-Regular.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Haas Recast Regular";
  src: url("../assets/fonts/HaasRecastOpenTrial-Rg.woff2") format("woff2"), url("../assets/fonts/HaasRecastOpenTrial-Rg.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Haas Recast SemiBold";
  src: url("../assets/fonts/HaasRecastOpenTrial-SBd.woff2") format("woff2"), url("../assets/fonts/HaasRecastOpenTrial-SBd.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Haas Recast Bold";
  src: url("../assets/fonts/HaasRecastOpenTrial-Bd.woff2") format("woff2"), url("../assets/fonts/HaasRecastOpenTrial-Bd.woff") format("woff");
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}
:root {
  --GRID_COLS: 6;
  --GRID_MARGIN: calc(60 * 0.0625rem);
  --GRID_GUTTER: calc(30 * 0.0625rem);
  --FS13: calc(13 * 0.0625rem);
  --FS16: calc(16 * 0.0625rem);
  --FS26: calc(26 * 0.0625rem);
  --3: calc(3 * 0.0625rem);
  --6: calc(6 * 0.0625rem);
  --9: calc(9 * 0.0625rem);
  --12: calc(12 * 0.0625rem);
  --15: calc(15 * 0.0625rem);
  --26: calc(26 * 0.0625rem);
  --30: calc(30 * 0.0625rem);
  --40: calc(40 * 0.0625rem);
}

@media (min-width: 720px) and (max-width: 1440px) {
  :root {
    --FS13: 13px;
    --FS16: 16px;
    --FS26: 26px;
  }
}
html {
  font-size: 16px;
  line-height: normal;
  visibility: hidden;
}

body {
  position: relative;
  background-color: #F5F5F5;
  overflow: hidden;
}
body.no-anim * {
  transition: none !important;
}

#main-grid {
  display: grid;
  visibility: hidden;
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  padding: 0 var(--GRID_MARGIN);
  box-sizing: border-box;
  grid-template-columns: repeat(var(--GRID_COLS), 1fr);
  column-gap: var(--GRID_GUTTER);
  z-index: 10000;
  pointer-events: none;
}
#main-grid .col {
  height: 100%;
  grid-column-end: span 1;
  background-color: rgba(0, 255, 255, 0.1);
}

#main {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100svh;
  padding: var(--40) var(--GRID_MARGIN);
  box-sizing: border-box;
}

.line {
  height: var(--3);
  background-color: black;
}

a {
  text-decoration: none;
}

*.mobile {
  display: none;
}

#head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
#head .left, #head .right {
  display: flex;
  align-items: center;
}
#head .left > .line.large, #head .right > .line.large {
  width: 0;
}
#head .left > .line.small, #head .right > .line.small {
  width: 0;
}
#head .right {
  transform: translateX(calc(var(--GRID_MARGIN) + var(--12) + var(--GRID_GUTTER) + 100%));
}
#head h1 {
  font-family: "Haas Recast SemiBold";
  font-size: var(--FS26);
  display: flex;
  align-items: center;
  min-width: calc(var(--COLUMN_WIDTH) + var(--GRID_GUTTER));
  padding-left: var(--30);
  box-sizing: border-box;
  transform: scale(3.3);
  transform-origin: top left;
}
#head h1 .logo-split {
  display: flex;
  align-items: center;
}
#head h1 .logo-split span {
  display: block;
}
#head h1 .logo-split span:not(:first-child) {
  overflow: hidden;
}
#head h1 .line.large {
  width: var(--26);
}
#head h1 .line.small {
  width: var(--9);
}
#head h2 {
  font-family: "Baskervville";
  font-size: var(--FS13);
  line-height: 1;
  letter-spacing: 0.02em;
  margin-right: var(--GRID_MARGIN);
}
#head .instagram {
  margin-left: var(--GRID_GUTTER);
}
#head .instagram svg {
  display: block;
  width: var(--12);
  height: auto;
}

#center {
  font-family: "Haas Recast SemiBold";
  font-size: var(--FS16);
  line-height: 1;
  padding-left: calc(var(--COLUMN_WIDTH) / 2);
  margin-bottom: var(--GRID_MARGIN);
  overflow: hidden;
}
#center .mask {
  transform: translateY(100%);
}

#foot {
  position: relative;
  display: flex;
  flex-direction: column;
  padding-left: calc(var(--COLUMN_WIDTH) + var(--GRID_GUTTER));
}
#foot h3 {
  font-family: "Baskervville";
  font-size: var(--FS13);
  line-height: 1;
  letter-spacing: 0.02em;
  margin-bottom: var(--15);
  opacity: 0;
}
#foot .phone {
  font-family: "Haas Recast Regular";
  font-size: var(--FS13);
  line-height: 1;
  letter-spacing: 0.02em;
  margin-bottom: var(--6);
  opacity: 0;
}
#foot .e-mail {
  font-family: "Haas Recast SemiBold";
  font-size: var(--FS13);
  line-height: 1;
  letter-spacing: 0.02em;
  margin-top: var(--15);
  margin-bottom: var(--15);
  opacity: 0;
  position: relative;
  left: calc(var(--COLUMN_WIDTH) / 4);
}
#foot .line {
  position: absolute;
  left: calc(var(--GRID_MARGIN) * -1 - (var(--COLUMN_WIDTH) / 2 + var(--GRID_GUTTER)));
  bottom: 0;
  width: calc(var(--COLUMN_WIDTH) / 2 + var(--GRID_GUTTER));
}

picture {
  position: fixed;
  top: 0;
  left: 100%;
  width: calc(var(--COLUMN_WIDTH) * 2.5 + var(--GRID_GUTTER) * 2);
  height: 100%;
  z-index: -1;
}
picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body.transin #head h1 {
  transform: scale(1);
  transition: transform 1050ms cubic-bezier(0.4, 0, 0.2, 1);
}
body.transin #head .right {
  transform: translateX(calc(var(--GRID_MARGIN) + var(--12) + var(--GRID_GUTTER)));
  transition: transform 1050ms cubic-bezier(0.4, 0, 0.2, 1);
}

body.transin1 #head .left > .line.large, body.transin1 #head .right > .line.large {
  width: calc(var(--COLUMN_WIDTH) * 2);
  transition: width 700ms cubic-bezier(0.4, 0, 0.2, 1);
}
body.transin1 #head .left > .line.small, body.transin1 #head .right > .line.small {
  width: calc(var(--COLUMN_WIDTH) / 2);
  transition: width 700ms cubic-bezier(0.4, 0, 0.2, 1);
}
body.transin1 #head .right {
  transform: translateX(0);
  transition: transform 700ms cubic-bezier(0.4, 0, 0.2, 1);
}
body.transin1 h1 .logo-split span:not(:first-child) {
  width: 0 !important;
  opacity: 0;
  transition: width 700ms cubic-bezier(0.4, 0, 0.2, 1), opacity 700ms cubic-bezier(0.4, 0, 0.2, 1);
}

body.transin2 #center .mask {
  transform: translateX(0);
  transition: transform 700ms cubic-bezier(0.4, 0, 0.2, 1);
}
body.transin2 #foot h3,
body.transin2 #foot .phone,
body.transin2 #foot .e-mail {
  opacity: 1;
  left: 0;
  transition: opacity 700ms cubic-bezier(0.4, 0, 0.2, 1), left 700ms cubic-bezier(0.4, 0, 0.2, 1);
}
body.transin2 #foot .line {
  left: calc(var(--COLUMN_WIDTH) / 2);
  transition: left 700ms cubic-bezier(0.4, 0, 0.2, 1);
}
body.transin2 picture {
  left: calc(var(--GRID_MARGIN) + var(--COLUMN_WIDTH) * 3 + var(--GRID_GUTTER) * 3);
  transition: left 700ms cubic-bezier(0.4, 0, 0.2, 1);
}