@charset "UTF-8";

:root {
  --color-text: #0b8cd6;
  --color-accent: #f48ead;
  --color-main: #ffeff5;
  --color-white: #ffffff;
  --color-highlight: #fffdd9;
  --color-sky: #e6f4fd;
  --color-sky-line: #a6dcff;
  --color-base: #ffede3;
  --color-nature: #f9f6f0;
  --color-green: #c0d8c0;
  --color-border: #e5e7eb;

  --font-ja: YakuHanJP, "Murecho", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic", sans-serif;
  --font-en: YakuHanJP, "Bentham", "Times New Roman", serif;

  --u: min(1px, calc(100vw / 1440));

  --fs-heading: 40px;
  --lh-heading: 1.4;
  --fs-text: 16px;
  --lh-text: 1.5;
  --ls-text: 0.05em;

  --header-top: clamp(16px, calc(54 * var(--u)), 54px);
  --gutter: 64px;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

  --z-header: 100;
  --z-menu: 90;
}

::selection {
  color: #ffffff;
  background-color: #0b8cd6;
}

@media (max-width: 1023px) {
  :root {
    --fs-heading: 32px;
    --gutter: 40px;
  }
}

@media (max-width: 767px) {
  :root {
    --u: calc(100vw / 360);
    --fs-heading: 20px;
    --lh-heading: 1.6;
    --lh-text: 1.8;
    --ls-text: 0;
    --header-top: 36px;
    --gutter: 30px;
  }
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: auto;
  scroll-padding-top: 24px;
}

body,
h1, h2, h3, h4, p, figure, ul, ol, li, dl, dd, blockquote {
  margin: 0;
  padding: 0;
}

ul,
ol {
  list-style: none;
}

img,
video,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

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

button {
  margin: 0;
  padding: 0;
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

small {
  font-size: inherit;
}

body {
  min-width: 320px;
  overflow-x: hidden;
  font-family: var(--font-ja);
  font-weight: 400;
  font-size: var(--fs-text);
  line-height: var(--lh-text);
  letter-spacing: var(--ls-text);
  color: var(--color-text);
  background: var(--color-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "palt" 0;
}

html.is-menu-open,
html.is-menu-open body {
  overflow: hidden;
}

@media (max-width: 1023px) {
  html {
    scroll-behavior: smooth;
    scroll-snap-type: y proximity;
  }

  body {
    scroll-snap-type: y proximity;
  }

  section[data-section] {
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }
}

:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}

.u-visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.u-sp,
.u-sp-only {
  display: none;
}

@media (max-width: 767px) {
  .u-pc {
    display: none;
  }

  .u-sp {
    display: inline;
  }

  .u-sp-only {
    display: block;
  }

  .u-nw {
    display: inline-block;
  }
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 1000;
  padding: 8px 16px;
  color: var(--color-white);
  background: var(--color-text);
  border-radius: 8px;
  transform: translateY(-200%);
  transition: transform 0.2s;
}

.skip-link:focus {
  transform: none;
}

.c-heading {
  font-weight: 700;
  font-size: var(--fs-heading);
  line-height: var(--lh-heading);
  letter-spacing: 0.05em;
}

.c-text {
  font-size: var(--fs-text);
  line-height: var(--lh-text);
  letter-spacing: var(--ls-text);
}

.c-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 20px;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0.05em;
  color: var(--color-white);
  white-space: nowrap;
  background: var(--color-accent);
  border-radius: 24px;
  transition: background-color 0.3s, transform 0.3s var(--ease-out), box-shadow 0.3s;
}

.c-btn--lg {
  width: 188px;
  padding: 12px 24px;
  font-weight: 600;
  letter-spacing: 0;
  box-shadow: 0 10px 12px rgba(0, 0, 0, 0.15);
}

@media (hover: hover) {
  .c-btn:hover,
  a:hover > .c-btn {
    background: #F6F61F;
    transform: translateY(-2px);
    color: var(--color-text);
  }
}

.c-video {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.c-video__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.c-video::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(0, 0, 0, 0.2);
  pointer-events: none;
  transition: opacity 0.5s;
}

.c-video__button {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
}

.c-video__button img {
  width: 80px;
  height: 80px;
  transition: opacity 0.4s, transform 0.4s var(--ease-out);
}

@media (hover: hover) {
  .c-video__button:hover img {
    transform: scale(1.08);
  }
}

.c-video.is-playing::after,
.c-video.is-playing .c-video__button img {
  opacity: 0;
}

.c-video.is-playing .c-video__button:focus-visible img {
  opacity: 1;
}

.cloud {
  position: absolute;
  z-index: 1;
  max-width: none;
  pointer-events: none;
  animation: cloud-drift var(--cloud-duration, 16s) ease-in-out var(--cloud-delay, 0s) infinite alternate;
  will-change: translate;
}

@keyframes cloud-drift {
  from {
    translate: calc(var(--cloud-range, 28px) * -1) 0;
  }
  to {
    translate: var(--cloud-range, 28px) 0;
  }
}

.global-nav {
  position: fixed;
  top: var(--header-top);
  left: 50%;
  z-index: var(--z-header);
  width: min(1270px, calc(100% - 160 * var(--u)));
  transform: translateX(-50%);
  transition: top 0.5s var(--ease-out);
}

.global-nav.is-scrolled {
  top: 16px;
}

.global-nav .header {
  position: relative;
  height: 72px;
  padding: 0 max(24px, calc(48 * var(--u)));
  border-radius: 64px;
  background: rgba(255, 255, 255, 0.72);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  backdrop-filter: blur(14px) saturate(160%);
  box-shadow: 0 4px 24px rgba(11, 140, 214, 0.08), inset 0 0 0 1px rgba(255, 255, 255, 0.6);
  transition: background-color 0.4s, box-shadow 0.4s;
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .global-nav .header {
    background: rgba(255, 255, 255, 0.95);
  }
}

.global-nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.global-nav .content {
  display: flex;
  align-items: center;
  gap: 32px;
}

.header-logo {
  flex-shrink: 0;
  width: 187px;
  transition: opacity 0.3s;
}

.header-logo img {
  width: 100%;
}

.global-menu__list {
  display: flex;
  align-items: center;
  gap: 32px;
}

.global-menu__list a {
  position: relative;
  display: block;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0;
  white-space: nowrap;
}

.global-menu__list a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  background: var(--color-accent);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease-out);
}

@media (hover: hover) {
  .global-menu__list a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
  }

  .header-logo:hover {
    opacity: 0.75;
  }
}

.company-button {
  flex-shrink: 0;
}

@media (min-width: 1024px) {
  .global-nav .content {
    display: contents;
  }

  .global-menu {
    margin-left: auto;
    margin-right: 32px;
  }
}

.drawer-menu {
  position: relative;
  display: none;
  flex-shrink: 0;
  width: 37px;
  height: 37px;
  background: var(--color-accent);
  border-radius: 24px;
  transition: transform 0.4s var(--ease-out);
}

.drawer-menu__line {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 15px;
  height: 1px;
  background: var(--color-white);
  transition: transform 0.45s var(--ease-out);
}

.drawer-menu__line--top {
  transform: translate(-50%, -3px);
}

.drawer-menu__line--bottom {
  transform: translate(-50%, 2px);
}

.is-menu-open .drawer-menu__line--top {
  transform: translate(-50%, 0) rotate(45deg);
}

.is-menu-open .drawer-menu__line--bottom {
  transform: translate(-50%, 0) rotate(-45deg);
}

@media (hover: hover) {
  .drawer-menu:hover {
    transform: scale(1.06);
  }
}

@media (max-width: 1023px) {
  .global-menu,
  .company-button {
    display: none;
  }

  .drawer-menu {
    display: block;
  }

  .global-nav {
    width: calc(100% - 2 * var(--gutter));
  }

  .is-menu-open .global-nav .header {
    background: transparent;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    box-shadow: none;
  }

  .is-menu-open .header-logo {
    opacity: 0;
    pointer-events: none;
  }
}

@media (max-width: 767px) {
  .global-nav {
    width: calc(100% - 60px);
  }

  .global-nav .header {
    height: 70px;
    padding: 0 32px 0 24px;
  }

  .header-logo {
    width: 160px;
  }
}

.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: var(--z-menu);
  display: none;
  flex-direction: column;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: var(--color-white);
  visibility: hidden;
  clip-path: circle(0 at var(--menu-x, 90%) var(--menu-y, 70px));
  transition:
    clip-path 0.55s var(--ease-in-out),
    visibility 0s linear 0.55s;
}

.is-menu-open .mobile-nav {
  visibility: visible;
  clip-path: circle(var(--menu-r, 150vmax) at var(--menu-x, 90%) var(--menu-y, 70px));
  transition:
    clip-path 0.75s cubic-bezier(0.33, 1, 0.68, 1),
    visibility 0s;
}

.dw-menu-list li,
.link-menu-btn,
.dw-footer img {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.25s, transform 0.25s;
}

.is-menu-open .dw-menu-list li,
.is-menu-open .link-menu-btn,
.is-menu-open .dw-footer img {
  opacity: 1;
  transform: none;
  transition:
    opacity 0.5s var(--ease-out) calc(0.22s + var(--i, 0) * 0.07s),
    transform 0.6s var(--ease-out) calc(0.22s + var(--i, 0) * 0.07s);
}

.dw-menu-list li:nth-child(1) { --i: 0; }
.dw-menu-list li:nth-child(2) { --i: 1; }
.dw-menu-list li:nth-child(3) { --i: 2; }
.link-menu-btn:nth-child(1) { --i: 3; }
.link-menu-btn:nth-child(2) { --i: 3.5; }
.link-menu-btn:nth-child(3) { --i: 4.5; }
.dw-footer img { --i: 5.5; }

@media (max-width: 1023px) {
  .mobile-nav {
    display: flex;
  }
}

.dw-menu-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 510px;
  padding: 112px 30px;
  overflow: hidden;
  background: var(--color-text);
}

.dw-menu-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 300px;
}

.dw-menu-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.dw-menu-list a {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  font-weight: 700;
  font-size: 18px;
  line-height: 2.4;
  letter-spacing: 0.05em;
  color: var(--color-white);
  border-bottom: 1px dashed var(--color-highlight);
}

.dw-menu-list a::before {
  content: "";
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  background: url("../images/menu-polygon.svg") no-repeat 50% 50% / 6px 5px var(--color-main);
  border-radius: 50%;
  rotate: 90deg;
  transition: translate 0.4s var(--ease-out);
}

@media (hover: hover) {
  .dw-menu-list a:hover::before {
    translate: 4px 0;
  }
}

.link-menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 24px 16px;
  margin-top: 32px;
}

.link-menu-btn {
  display: grid;
  place-items: center;
  flex: 1 1 calc(50% - 8px);
  height: 42px;
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 0.05em;
  color: var(--color-text);
  background: var(--color-highlight);
  border-radius: 8px;
  transition: background-color 0.3s;
}

.link-menu-btn--wide {
  flex-basis: 100%;
}

@media (hover: hover) {
  .link-menu-btn:hover {
    background: var(--color-white);
  }
}

.cloud--menu-a {
  top: 34px;
  left: 43px;
  width: 64px;
}

.cloud--menu-b {
  right: 42px;
  bottom: 40px;
  width: 64px;
  --cloud-duration: 12s;
  --cloud-range: 14px;
}

.dw-footer {
  display: grid;
  flex: 1 0 auto;
  place-items: center;
  padding: 80px 30px;
  background: linear-gradient(180deg, var(--color-white), var(--color-main));
}

.dw-footer img {
  width: 187px;
}

.main,
.footer-section {
  transition: transform 0.7s var(--ease-out), filter 0.7s;
}

.is-menu-open .main,
.is-menu-open .footer-section {
  transform: scale(0.94) translateY(24px);
  filter: saturate(0.6);
}

.footer-section {
  position: relative;
  padding: 80px var(--gutter);
  background: linear-gradient(180deg, var(--color-white) 0%, var(--color-main) 100%);
}

.footer-section .container {
  display: flex;
  flex-direction: column;
  gap: 80px;
  max-width: 1280px;
  margin: 0 auto;
}

.footer-section .content {
  display: flex;
  align-items: center;
  gap: 32px;
}

.footer-logo {
  width: 578px;
  max-width: 35%;
  flex-shrink: 0;
}

.footer-logo img {
  width: 187px;
}

.footer-section .links {
  display: flex;
  justify-content: center;
  gap: 32px;
  font-size: 14px;
  line-height: 1.6;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.footer-section .links a {
  text-decoration: none;
  text-underline-offset: 3px;
  transition: color 0.4s ease;
}

@media (hover: hover) {
  .footer-section .links a:hover {
    color: var(--color-accent);
    text-decoration: none;
  }
}

.credits {
  padding-top: 32px;
  border-top: 1px solid var(--color-border);
  text-align: center;
}

.copyright {
  font-size: 14px;
  line-height: 1.6;
  letter-spacing: 0.05em;
}

@media (max-width: 767px) {
  .footer-section {
    padding: 80px 30px;
  }

  .footer-section .container {
    gap: 80px;
  }

  .footer-section .content {
    flex-direction: column;
    gap: 32px;
  }

  .footer-logo {
    display: flex;
    justify-content: center;
    width: 100%;
    max-width: none;
  }

  .footer-section .links {
    gap: 16px;
  }

  .copyright {
    font-size: 12px;
    letter-spacing: 0.02em;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}