*,
*:before,
*:after {
  box-sizing: border-box;
}

html {
  --background: #132D38;
  --primary: #0C3243;
  --primary-container: #3C5B69;
  --secondary-container: #83969F;
  --sans: Noto Sans JP;
  --serif: Noto Serif JP;
  --gray: #808384;
  --light-gray: #DDD;
  --text: #153A4B;
  --gutter: 30px;

  font-family: var(--sans);
  letter-spacing: 0.15em;
  font-size: 12px;
  color: #153A4B;
  line-height: 2;
  touch-action: manipulation;
  background: var(--background);
  scroll-padding-top: 50px;
  scroll-behavior: smooth;

  --container: 1200px;
}

body {
  margin: 0;
}

a {
  text-decoration: inherit;
  color: inherit;
}

button {
  background: transparent;
  font-size: inherit;
  border: none;
}

h1,
h2,
h3 {
  margin: 0;
  font-size: inherit;
  font-weight: inherit;
}

p,
dl,
dd {
  margin: 0;
}

.visually-hidden {
  overflow: hidden;
  width: 1px;
  height: 1px;
  position: absolute;
  inset: 0;
}

body.frozen,
body.menu {
  overflow: hidden;
}

.far .left {
  position: fixed;
  background: var(--background);
  z-index: 1;
  inset: 0 calc((100vw - 460px) / 2 + 460px) 0 0;
}

.far .logo {
  position: absolute;
  top: 245px;
  left: 40px;
}

.far .logo .catch {
  font-family: var(--serif);
  font-size: 14px;
  line-height: 1.5;
  color: white;
}

.far .logo .type {
  margin-top: 12px;
}

.far .menu {
  position: fixed;
  bottom: 60px;
  left: calc((100vw - 460px) / 2 + 500px);
  color: white;
}

nav-menu {
  display: block;
}

nav-menu .nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

nav-menu .nav a::before {
  content: "-";
  margin-right: 0.5em;
}

nav-menu .actions {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 44px;
}

nav-menu .actions .button {
  background: var(--primary-container);
  font-size: 14px;
  font-family: var(--serif);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 340px;
  height: 49px;
}

.far .actions {
  display: none;
}

@media screen and (min-width: 1300px) {
  .far .actions {
    display: flex;
  }
}

.far {
  display: none;
}

@media screen and (min-width: 900px) {
  .far {
    display: block;
  }
}

.site-menu {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  z-index: 1;
  transform: translateX(-100vw);
  background: var(--background);
  color: white;
  transition: transform 0.33s;
}

.site-menu .bar {
  height: 50px;
  background: var(--primary-container);
  position: absolute;
  inset: 0;
  z-index: 1;
}

.site-menu .main {
  max-width: var(--container);
  margin: auto;
  height: 100%;
  padding: 110px 0 60px 0;
  overflow: auto;
}

.site-menu nav-menu {
  max-width: 340px;
  margin: auto;
}

.site-menu .actions .button {
  width: 100%;
}

body.menu .site-menu {
  transform: none;
}

.site-header .bar {
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: fixed;
  inset: 0 0 auto 0;
  margin: auto;
  z-index: 1;
  background: var(--primary-container);
}

.site-header .hamburger {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 65px;
  height: 50px;
  z-index: 2;
  position: fixed;
  left: 0;
  top: 0;
}

.site-header .hamburger line {
  stroke: var(--light-gray);
  transform-origin: center;
  transition: transform 0.33s, opacity 0.33s;
}

.site-header .hamburger line:nth-of-type(2) {
  transform: translateY(-7.5px);
}

.site-header .hamburger line:nth-of-type(3) {
  transform: translateY(7.5px);
}

body.menu .site-header .hamburger line:nth-of-type(1) {
  opacity: 0;
}

body.menu .site-header .hamburger line:nth-of-type(2) {
  transform: rotate(45deg);
}

body.menu .site-header .hamburger line:nth-of-type(3) {
  transform: rotate(-45deg);
}

.site-header .logo {
  color: var(--light-gray);
  display: inline-flex;
  align-items: center;
}

.site-header .pillow {
  margin-right: 1em;
  font-family: var(--serif);
  line-height: 1;
}

.site-header .action {
  background: var(--primary);
  color: white;
  font-family: var(--serif);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100px;
  font-size: 16px;
  position: absolute;
  inset: 0 0 0 auto;
}

@media screen and (max-width: 660px) {
  .site-header .logo {
    display: none;
  }
}

.site-footer {
  display: block;
  background: var(--secondary-container);
  color: var(--primary);
  padding: 50px 30px;
}

.site-footer .title-eyeblow {
  font-size: 16px;
  font-family: var(--serif);
  margin-bottom: 10px;
  line-height: 1;
}

.site-footer .title-line {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.site-footer .title-pillow {
  font-weight: bold;
  font-size: 20px;
  font-family: var(--serif);
  color: var(--primary);
  line-height: 1;
}

.site-footer .address {
  margin-top: 32px;
}

.site-footer .contact {
  margin-top: 32px;
}

.site-footer .contact .note {
  font-size: 10px;
}

.site-footer .links {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.site-footer .links .link {
  text-decoration: underline;
}

.site-footer .copyright {
  font-size: 10px;
  margin-top: 24px;
  display: block;
}

main {
  position: relative;
  background: var(--light-gray);
}

main.-safe {
  padding-top: 50px;
}

.container {
  padding: 0 30px;
  max-width: 460px;
  margin: 0 auto;
  width: 100%;
}

@media screen and (min-width: 980px) {
  html {
    --gutter: 60px;
  }

  .container {
    max-width: calc(var(--container) + var(--gutter) * 2);
    padding: 0 var(--gutter);
  }

  .container.-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
  }
}