/* =========================================================
   KOKETSU A.D.
   LIFE STYLE DESIGN BOOK

   静かに思想を体験するデジタルブランドブック
========================================================= */


/* =========================================================
   ROOT
========================================================= */

:root {
  --bg: #eeeae5;
  --paper: #f8f6f2;
  --paper-warm: #eee8df;

  --text: #514c48;
  --text-soft: #756f69;

  --dark: #252421;
  --dark-soft: #36332f;

  --white: #ffffff;
  --line: rgba(81, 76, 72, 0.18);

  --shadow:
    0 30px 80px rgba(45, 40, 35, 0.15),
    0 5px 18px rgba(45, 40, 35, 0.07);

  --book-ratio: 1 / 1.414;
}


/* =========================================================
   RESET
========================================================= */

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  min-width: 320px;

  background:
    radial-gradient(
      circle at 50% 18%,
      rgba(255,255,255,0.7),
      rgba(255,255,255,0) 42%
    ),
    var(--bg);

  color: var(--text);

  font-family:
    "Noto Sans JP",
    sans-serif;

  font-weight: 300;

  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}


/* =========================================================
   CATALOG STAGE
========================================================= */

.catalog {
  min-height: 100vh;
  min-height: 100svh;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  gap: 15px;

  padding:
    22px
    24px
    20px;
}


/* =========================================================
   PAGE COUNTER
========================================================= */

.page-counter {
  min-height: 18px;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;

  color: rgba(81, 76, 72, 0.64);

  font-size: 11px;
  line-height: 1;
  letter-spacing: 0.2em;
}

.page-counter__slash {
  opacity: 0.55;
}


/* =========================================================
   BOOK
========================================================= */

.book {
  position: relative;

  width:
    min(
      46vw,
      calc(82svh / 1.414),
      650px
    );

  min-width: 500px;

  aspect-ratio: var(--book-ratio);

  perspective: 1800px;
}


/* =========================================================
   PAGE BASE
========================================================= */

.page {
  position: absolute;
  inset: 0;

  overflow: hidden;

  display: flex;
  flex-direction: column;

  background: var(--paper);
  color: var(--text);

  border:
    1px solid
    rgba(81, 76, 72, 0.07);

  box-shadow: var(--shadow);

  opacity: 0;
  visibility: hidden;

  transform:
    translateX(30px)
    rotateY(7deg)
    scale(0.992);

  transform-origin: center left;

  transition:
    opacity 0.55s ease,
    transform 0.55s cubic-bezier(.22,.61,.36,1),
    visibility 0s linear 0.55s;

  z-index: 0;
}

.page.active {
  opacity: 1;
  visibility: visible;

  transform:
    translateX(0)
    rotateY(0)
    scale(1);

  transition-delay: 0s;

  z-index: 5;
}


/* =========================================================
   PAGE TRANSITIONS
========================================================= */

.page.enter-next.active {
  opacity: 0;

  transform:
    translateX(52px)
    rotateY(9deg)
    scale(0.99);
}

.page.enter-prev.active {
  opacity: 0;

  transform:
    translateX(-52px)
    rotateY(-9deg)
    scale(0.99);

  transform-origin: center right;
}

.page.exit-next {
  opacity: 0;

  transform:
    translateX(-58px)
    rotateY(-14deg)
    scale(0.985);
}

.page.exit-prev {
  opacity: 0;

  transform:
    translateX(58px)
    rotateY(14deg)
    scale(0.985);

  transform-origin: center right;
}


/* =========================================================
   COMMON TYPOGRAPHY
========================================================= */

.page-label {
  margin: 0 0 30px;

  font-family:
    "Noto Sans JP",
    sans-serif;

  font-size: 10px;
  font-weight: 400;
  line-height: 1.4;

  letter-spacing: 0.28em;
  text-transform: uppercase;

  color: rgba(81, 76, 72, 0.7);
}

.page-label--light {
  color: rgba(255,255,255,0.74);
}


/* =========================================================
   COVER
========================================================= */

.page--cover {
  padding: 0;
  color: var(--white);
  background: #191816;
}

.page-cover-image {
  position: absolute;
  inset: 0;

  width: 100%;
  height: 100%;

  object-fit: cover;
}

.page-cover-shade {
  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      90deg,
      rgba(15,14,13,0.68) 0%,
      rgba(15,14,13,0.46) 46%,
      rgba(15,14,13,0.13) 100%
    ),
    linear-gradient(
      0deg,
      rgba(10,10,9,0.18),
      rgba(10,10,9,0)
    );
}

.cover-content {
  position: relative;
  z-index: 2;

  width: 78%;

  padding:
    11%
    9%
    0;
}

.cover-title {
  margin: 0;

  font-family:
    "Noto Serif JP",
    serif;

  font-size: clamp(32px, 3vw, 46px);
  font-weight: 400;

  line-height: 1.63;
  letter-spacing: 0.065em;
}

.cover-copy {
  margin: 38px 0 0;

  font-size: 14px;
  line-height: 2.05;
  letter-spacing: 0.04em;

  color: rgba(255,255,255,0.86);
}

.cover-logo-link {
  position: absolute;

  left: 50%;
  bottom: 6.5%;

  z-index: 3;

  transform: translateX(-50%);

  transition:
    opacity 0.3s ease;
}

.cover-logo-link:hover {
  opacity: 0.72;
}

.cover-logo {
  width: clamp(155px, 14vw, 205px);
}

.cover-logo--light {
  filter: brightness(0) invert(1);
  opacity: 0.9;
}


/* =========================================================
   MESSAGE PAGES
========================================================= */

.page--message {
  justify-content: center;

  padding:
    11%
    10%;
}

.page--warm {
  background: var(--paper-warm);
}

.page--dark {
  background:
    linear-gradient(
      145deg,
      #272522,
      #1d1c1a
    );

  color: var(--white);
}

.message-center {
  width: 100%;
  max-width: 530px;

  margin: auto;

  text-align: center;
}

.message-left {
  width: 86%;
  max-width: 520px;

  margin: auto 0;
}

.message-title {
  margin: 0;

  font-family:
    "Noto Serif JP",
    serif;

  font-size: clamp(26px, 2.4vw, 36px);
  font-weight: 400;

  line-height: 1.8;
  letter-spacing: 0.035em;
}

.message-title--large {
  font-size: clamp(28px, 2.6vw, 40px);
}

.message-title--hero {
  font-size: clamp(32px, 3vw, 46px);
  line-height: 1.7;
}

.message-title--light {
  color: var(--white);
}

.message-sub {
  margin: 44px 0 0;

  font-size: 13px;
  line-height: 2.05;
  letter-spacing: 0.035em;

  color: var(--text-soft);
}

.page--dark .message-sub {
  color: rgba(255,255,255,0.66);
}

.message-body {
  margin: 34px 0 0;

  font-size: 14px;
  line-height: 2.2;
  letter-spacing: 0.025em;
}

.message-body + .message-body {
  margin-top: 22px;
}

.message-body--strong {
  color: #393633;
}

.message-body--center {
  text-align: center;
}


/* =========================================================
   EMOTION PAGES
========================================================= */

.page--emotion {
  padding:
    9%
    9%;

  background: var(--paper);
}

.emotion-copy {
  position: relative;
  z-index: 3;

  font-family:
    "Noto Serif JP",
    serif;

  font-size: clamp(24px, 2vw, 32px);
  line-height: 1.9;
  letter-spacing: 0.05em;
}

.emotion-copy p {
  margin: 0;
}

.emotion-copy--top-right {
  align-self: flex-end;

  margin:
    4%
    5%
    0
    0;

  text-align: left;
}

.emotion-small-copy {
  position: absolute;
  z-index: 3;

  margin: 0;

  font-family:
    "Noto Serif JP",
    serif;

  font-size: 14px;
  line-height: 2.05;
  letter-spacing: 0.04em;
}

.emotion-small-copy--light {
  color: rgba(255,255,255,0.79);
}

.emotion-small-copy--top {
  top: 12%;
  left: 10%;
}

.emotion-small-copy--top-left {
  top: 12%;
  left: 10%;
}


/* =========================================================
   DARK EMOTION FIX

   .page--emotion の背景指定が
   .page--dark を上書きしないための明示指定
========================================================= */

.page--emotion.page--dark {
  background:
    linear-gradient(
      145deg,
      #272522,
      #1d1c1a
    );

  color: #ffffff;
}

.page--emotion.page--dark .page-label {
  color: rgba(255,255,255,0.72);
}

.page--emotion.page--dark .emotion-small-copy,
.page--emotion.page--dark .next-copy {
  color: #ffffff;
}


/* =========================================================
   EMOTION IMAGE
========================================================= */

.emotion-image {
  position: absolute;

  margin: 0;

  overflow: hidden;

  background: #d8d2cb;
}

.emotion-image img {
  width: 100%;
  height: 100%;

  object-fit: cover;

  transition:
    transform 8s ease;
}

.page.active .emotion-image img {
  transform: scale(1.025);
}

.emotion-image--bottom-left {
  left: 0;
  bottom: 0;
}

.emotion-image--bottom-right {
  right: 0;
  bottom: 0;
}

.emotion-image--medium {
  width: 56%;
  height: 43%;
}

.emotion-image--small {
  width: 43%;
  height: 35%;
}

.emotion-image--wide {
  width: 68%;
  height: 42%;
}

.emotion-image--center-small {
  width: 52%;
  height: 42%;

  left: 50%;
  top: 48%;

  transform:
    translate(-50%, -50%);
}


/* =========================================================
   DIAGRAM
========================================================= */

.page--diagram {
  justify-content: flex-start;

  padding:
    8.5%
    9%
    8%;

  background: #f7f5f1;
}

.diagram-header {
  text-align: center;
}

.diagram-title {
  margin: 0;

  font-family:
    "Noto Serif JP",
    serif;

  font-size: clamp(24px, 2.2vw, 34px);
  font-weight: 400;

  line-height: 1.75;
  letter-spacing: 0.04em;
}

.diagram-wrap {
  flex: 1;

  min-height: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  padding:
    3%
    0
    1%;
}

.lifestyle-diagram {
  width: 78%;
  max-height: 100%;

  object-fit: contain;
}

.diagram-copy {
  margin:
    0
    0
    16px;

  text-align: center;

  font-size: 12.5px;
  line-height: 1.9;
  letter-spacing: 0.025em;
}


/* =========================================================
   CTA / TEXT LINK
========================================================= */

.text-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;

  align-self: flex-start;

  min-width: 220px;

  margin-top: 18px;
  padding: 13px 16px;

  border:
    1px solid
    rgba(81, 76, 72, 0.34);

  background: transparent;
  color: var(--text);

  text-decoration: none;

  font-size: 11px;
  line-height: 1.5;
  letter-spacing: 0.05em;

  transition:
    background 0.3s ease,
    color 0.3s ease,
    border-color 0.3s ease,
    transform 0.3s ease;
}

.text-link:hover {
  background: var(--text);
  color: #ffffff;
  border-color: var(--text);

  transform: translateY(-1px);
}


/* diagram CTA */

.page--diagram .text-link {
  align-self: center;
}


/* lineup CTA */

.page--lineup .text-link {
  align-self: flex-start;
}


/* =========================================================
   SUB LINK
========================================================= */

.sub-link {
  display: inline-block;

  margin-top: 15px;

  color: var(--text-soft);

  font-size: 10.5px;
  line-height: 1.6;
  letter-spacing: 0.04em;

  text-decoration: none;

  transition:
    color 0.25s ease,
    opacity 0.25s ease;
}

.sub-link:hover {
  color: var(--text);
  opacity: 0.68;
}


/* =========================================================
   TRIPLE CROSS
========================================================= */

.page--triple {
  justify-content: center;

  padding:
    10%
    9%;

  background:
    linear-gradient(
      rgba(247,245,241,0.93),
      rgba(247,245,241,0.93)
    );
}

.triple-inner {
  width: 100%;

  margin: auto;

  text-align: center;
}

.triple-logo {
  width: 39%;
  max-width: 210px;

  margin:
    2%
    auto
    7%;
}

.triple-copy {
  margin:
    0
    0
    8%;

  font-family:
    "Noto Serif JP",
    serif;

  font-size: clamp(23px, 2vw, 31px);
  line-height: 1.8;
  letter-spacing: 0.055em;
}

.triple-values {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;

  margin-bottom: 7%;

  font-family:
    "Noto Serif JP",
    serif;

  font-size: 16px;
  line-height: 1.7;
}

.triple-values .cross {
  opacity: 0.42;

  font-size: 13px;
}

.triple-note {
  margin: 0;

  font-size: 12px;
  line-height: 2;
  letter-spacing: 0.02em;

  color: var(--text-soft);
}


/* =========================================================
   LINEUP
========================================================= */

.page--lineup {
  justify-content: center;

  padding:
    9%
    10%;
}

.lineup-inner {
  width: 100%;
}

.lineup-title {
  margin:
    0
    0
    9%;

  font-family:
    "Noto Serif JP",
    serif;

  font-size: clamp(25px, 2.2vw, 34px);
  font-weight: 400;

  line-height: 1.8;
  letter-spacing: 0.04em;
}

.lineup-list {
  margin-bottom: 6%;

  border-top:
    1px solid
    var(--line);
}

.lineup-item {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 30px;

  padding:
    22px
    0;

  border-bottom:
    1px solid
    var(--line);
}

.lineup-name {
  font-family:
    "Noto Serif JP",
    serif;

  font-size: 16px;
  letter-spacing: 0.04em;
}

.lineup-copy {
  text-align: right;

  font-size: 11.5px;
  letter-spacing: 0.025em;

  color: var(--text-soft);
}


/* =========================================================
   WORKS
========================================================= */

.page--works {
  padding:
    8%
    8%
    7%;

  background: var(--paper);
}

.page--works-dark {
  background: #e9e5df;
}

.works-image {
  width: 100%;
  height: 43%;

  margin:
    0
    0
    6%;

  overflow: hidden;

  background: #ddd7d0;
}

.works-image img {
  width: 100%;
  height: 100%;

  object-fit: cover;

  transition:
    transform 8s ease;
}

.page.active .works-image img {
  transform: scale(1.02);
}

.works-content {
  display: flex;
  flex-direction: column;

  flex: 1;
}

.works-title {
  margin: 0;

  font-family:
    "Noto Serif JP",
    serif;

  font-size: clamp(21px, 1.9vw, 29px);
  font-weight: 400;

  line-height: 1.75;
  letter-spacing: 0.035em;
}

.works-copy {
  margin:
    22px
    0
    0;

  font-size: 12.5px;
  line-height: 2;
  letter-spacing: 0.02em;
}

.works-link {
  margin-top: auto;

  align-self: flex-start;
}

.works-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;

  margin-top: auto;
}


/* =========================================================
   NEXT STEP
========================================================= */

.next-copy {
  position: absolute;

  top: 13%;
  right: 10%;

  z-index: 3;

  color: var(--white);
}

.next-copy h2 {
  margin: 0;

  font-family:
    "Noto Serif JP",
    serif;

  font-size: clamp(28px, 2.5vw, 38px);
  font-weight: 400;

  line-height: 1.75;
  letter-spacing: 0.05em;

  color: #ffffff;
}


/* =========================================================
   ACTION PAGE
========================================================= */

.page--action {
  padding:
    8%
    8%
    6.5%;

  background: #f6f3ef;
}

.action-header {
  margin-bottom: 6%;
}

.action-title {
  margin: 0;

  font-family:
    "Noto Serif JP",
    serif;

  font-size: clamp(22px, 2vw, 30px);
  font-weight: 400;

  line-height: 1.8;
  letter-spacing: 0.035em;
}

.action-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;

  gap: 13px;

  flex: 1;

  min-height: 0;
}

.action-card {
  position: relative;

  display: flex;
  flex-direction: column;

  padding:
    25px
    22px;

  border:
    1px solid
    rgba(81, 76, 72, 0.2);

  background: rgba(255,255,255,0.7);

  color: var(--text);

  text-decoration: none;

  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    background 0.3s ease;
}

.action-card:hover {
  transform: translateY(-3px);

  box-shadow:
    0 14px 30px
    rgba(42,37,33,0.08);
}

.action-card--dark {
  background: var(--dark);
  border-color: var(--dark);

  color: var(--white);
}

.action-card__label {
  margin-bottom: 24px;

  font-size: 8.5px;
  letter-spacing: 0.22em;

  opacity: 0.62;
}

.action-card__title {
  font-family:
    "Noto Serif JP",
    serif;

  font-size: 17px;
  font-weight: 400;

  line-height: 1.8;
  letter-spacing: 0.03em;
}

.action-card__text {
  margin-top: 20px;

  font-size: 10.5px;
  line-height: 1.9;

  opacity: 0.75;
}

.action-card__arrow {
  margin-top: auto;
  padding-top: 22px;

  font-size: 11px;
  letter-spacing: 0.04em;
}

.action-logo-link {
  display: block;

  width: fit-content;

  margin:
    5%
    auto
    0;

  transition:
    opacity 0.25s ease;
}

.action-logo-link:hover {
  opacity: 0.58;
}

.action-logo {
  width: 145px;
}


/* =========================================================
   NAVIGATION
========================================================= */

.book-nav {
  width:
    min(
      46vw,
      calc(82svh / 1.414),
      650px
    );

  min-width: 500px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 16px;
}

.book-nav__button {
  width: 44px;
  height: 44px;

  flex: 0 0 auto;

  display: grid;
  place-items: center;

  border:
    1px solid
    rgba(81,76,72,0.2);

  border-radius: 50%;

  background:
    rgba(255,255,255,0.62);

  color: var(--text);

  font-size: 16px;

  cursor: pointer;

  backdrop-filter: blur(10px);

  transition:
    background 0.25s ease,
    transform 0.25s ease,
    opacity 0.25s ease;
}

.book-nav__button:hover {
  background: #ffffff;

  transform: translateY(-1px);
}

.book-nav__button:disabled {
  opacity: 0.24;

  cursor: default;

  transform: none;
}

.book-nav__hint {
  margin: 0;

  text-align: center;

  font-size: 10px;
  line-height: 1.5;
  letter-spacing: 0.1em;

  color: rgba(81,76,72,0.52);
}

.sp-only {
  display: none;
}


/* =========================================================
   LARGE DESKTOP
========================================================= */

@media (min-width: 1500px) {

  .book,
  .book-nav {
    width:
      min(
        43vw,
        calc(84svh / 1.414),
        690px
      );

    min-width: 540px;
  }

}


/* =========================================================
   SMALL DESKTOP / LAPTOP
========================================================= */

@media
(max-width: 1100px)
and
(min-width: 701px) {

  .catalog {
    padding-top: 18px;
    padding-bottom: 16px;
  }

  .book,
  .book-nav {
    width:
      min(
        54vw,
        calc(80svh / 1.414),
        590px
      );

    min-width: 440px;
  }

  .cover-title {
    font-size: 30px;
  }

  .message-title--large {
    font-size: 30px;
  }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 700px) {

  body {
    background: #ece8e3;
  }

  .catalog {
    min-height: 100svh;

    justify-content: flex-start;

    gap: 10px;

    padding:
      calc(env(safe-area-inset-top) + 22px)
      10px
      calc(env(safe-area-inset-bottom) + 14px);
  }

  .page-counter {
    min-height: 14px;

    font-size: 9px;

    letter-spacing: 0.18em;
  }

  .book {
    width:
      min(
        92vw,
        calc(78svh / 1.414),
        430px
      );

    min-width: 0;

    aspect-ratio: var(--book-ratio);
  }

  .book-nav {
    width:
      min(
        92vw,
        calc(78svh / 1.414),
        430px
      );

    min-width: 0;
  }


  /* COMMON */

  .page-label {
    margin-bottom: 20px;

    font-size: 7.5px;

    letter-spacing: 0.26em;
  }


  /* COVER */

  .cover-content {
    width: 86%;

    padding:
      13%
      8%
      0;
  }

  .cover-title {
    font-size: 25px;

    line-height: 1.62;
    letter-spacing: 0.045em;
  }

  .cover-copy {
    margin-top: 26px;

    font-size: 10.5px;
    line-height: 1.9;
  }

  .cover-logo {
    width: 140px;
  }

  .cover-logo-link {
    bottom: 5.5%;
  }


  /* MESSAGE */

  .page--message {
    padding:
      11%
      9%;
  }

  .message-left {
    width: 94%;
  }

  .message-title {
    font-size: 20px;

    line-height: 1.72;
  }

  .message-title--large {
    font-size: 21px;
  }

  .message-title--hero {
    font-size: 25px;
    line-height: 1.62;
  }

  .message-sub {
    margin-top: 30px;

    font-size: 10px;
    line-height: 1.9;
  }

  .message-body {
    margin-top: 25px;

    font-size: 10.3px;
    line-height: 1.95;
  }

  .message-body + .message-body {
    margin-top: 15px;
  }


  /* EMOTION */

  .page--emotion {
    padding:
      9%
      8%;
  }

  .emotion-copy {
    font-size: 20px;

    line-height: 1.75;
  }

  .emotion-copy--top-right {
    margin:
      5%
      2%
      0
      0;
  }

  .emotion-small-copy {
    font-size: 10.2px;
    line-height: 1.85;
  }

  .emotion-image--medium {
    width: 64%;
    height: 39%;
  }

  .emotion-image--small {
    width: 48%;
    height: 31%;
  }

  .emotion-image--wide {
    width: 76%;
    height: 37%;
  }

  .emotion-image--center-small {
    width: 60%;
    height: 37%;
  }


  /* DIAGRAM */

  .page--diagram {
    padding:
      8%
      7%
      7%;
  }

  .diagram-title {
    font-size: 19px;
    line-height: 1.65;
  }

  .diagram-wrap {
    padding:
      3%
      0
      0;
  }

  .lifestyle-diagram {
    width: 88%;
  }

  .diagram-copy {
    margin-bottom: 10px;

    font-size: 9.4px;
    line-height: 1.7;
  }


  /* CTA */

  .text-link {
    min-width: 190px;

    margin-top: 12px;

    padding:
      11px
      13px;

    font-size: 9px;

    gap: 20px;
  }

  .sub-link {
    margin-top: 10px;

    font-size: 8.5px;
  }


  /* TRIPLE */

  .page--triple {
    padding:
      9%
      8%;
  }

  .triple-logo {
    width: 43%;

    margin-bottom: 7%;
  }

  .triple-copy {
    margin-bottom: 8%;

    font-size: 19px;
    line-height: 1.7;
  }

  .triple-values {
    gap: 9px;

    margin-bottom: 8%;

    font-size: 11.5px;
  }

  .triple-values .cross {
    font-size: 9px;
  }

  .triple-note {
    font-size: 9.2px;
    line-height: 1.75;
  }


  /* LINEUP */

  .page--lineup {
    padding:
      9%
      9%;
  }

  .lineup-title {
    margin-bottom: 8%;

    font-size: 20px;
    line-height: 1.7;
  }

  .lineup-item {
    gap: 12px;

    padding:
      15px
      0;
  }

  .lineup-name {
    font-size: 11.5px;
  }

  .lineup-copy {
    font-size: 8.8px;
  }


  /* WORKS */

  .page--works {
    padding:
      7%
      7%
      6%;
  }

  .works-image {
    height: 42%;

    margin-bottom: 6%;
  }

  .works-title {
    font-size: 17px;
    line-height: 1.65;
  }

  .works-copy {
    margin-top: 15px;

    font-size: 9.7px;
    line-height: 1.78;
  }


  /* NEXT */

  .next-copy {
    top: 11%;
    right: 8%;
  }

  .next-copy h2 {
    font-size: 22px;
    line-height: 1.7;
  }


  /* ACTION */

  .page--action {
    padding:
      8%
      7%
      5.5%;
  }

  .action-header {
    margin-bottom: 5%;
  }

  .action-title {
    font-size: 17px;
    line-height: 1.65;
  }

  .action-grid {
    grid-template-columns: 1fr;

    gap: 9px;
  }

  .action-card {
    padding:
      16px
      16px;
  }

  .action-card__label {
    margin-bottom: 10px;

    font-size: 6.8px;
  }

  .action-card__title {
    font-size: 12.5px;
    line-height: 1.65;
  }

  .action-card__text {
    margin-top: 8px;

    font-size: 8.3px;
    line-height: 1.65;
  }

  .action-card__arrow {
    padding-top: 9px;

    font-size: 8.8px;
  }

  .action-logo-link {
    margin-top: 4%;
  }

  .action-logo {
    width: 105px;
  }


  /* NAV */

  .book-nav__button {
    width: 39px;
    height: 39px;

    font-size: 15px;
  }

  .book-nav__hint {
    font-size: 9px;
  }

  .pc-only {
    display: none;
  }

  .sp-only {
    display: inline;
  }

}


/* =========================================================
   VERY SMALL MOBILE
========================================================= */

@media (max-width: 380px) {

  .catalog {
    padding-left: 7px;
    padding-right: 7px;
  }

  .book,
  .book-nav {
    width:
      min(
        94vw,
        calc(76svh / 1.414)
      );
  }

  .cover-title {
    font-size: 22px;
  }

  .message-title {
    font-size: 18px;
  }

  .message-title--hero {
    font-size: 22px;
  }

  .diagram-title {
    font-size: 17.5px;
  }

  .lineup-title {
    font-size: 18px;
  }

}


/* =========================================================
   SHORT HEIGHT DESKTOP
========================================================= */

@media
(min-width: 701px)
and
(max-height: 760px) {

  .catalog {
    justify-content: flex-start;

    padding-top: 12px;
  }

  .book,
  .book-nav {
    width:
      min(
        42vw,
        calc(75svh / 1.414),
        560px
      );

    min-width: 420px;
  }

}


/* =========================================================
   ACCESSIBILITY
========================================================= */

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;

    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

}