@charset "utf-8";

/* =========================================================
  variables
========================================================= */
:root {
  --color-navy: #10153D;
  --color-navy-deep: #04102f;
  --color-blue: #12336f;
  --color-gold: #d9ad46;
  --color-gold-light: #f0d68f;
  --color-white: #ffffff;
  --color-bg: #f5f7f8;
  --color-bg-gray: #eceff1;
  --color-text: #111827;
  --color-muted: #5e6673;
  --font-ja: "Noto Sans JP", sans-serif;
  --font-en: "Roboto Condensed", sans-serif;
  --font-roboto: "Roboto Condensed", sans-serif;
  --font-roboto-condensed: "Roboto Condensed", sans-serif;
  --header-height: 76px;
}

/* =========================================================
  reset / base
========================================================= */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  min-width: 320px;
  margin: 0;
  background-color: var(--color-bg);
  background-image: url("../images/common/common-bg002.png");
  background-repeat: repeat;
  background-position: left top;
  background-size: 400px 400px;
  background-attachment: fixed;
  color: var(--color-text);
  font-family: var(--font-ja);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.9;
  letter-spacing: 0.04em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.is-drawer-open {
  overflow: hidden;
}

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

img {
  display: block;
}

button,
input,
textarea,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
h4,
p,
dl,
dd {
  margin: 0;
}

.site-wrap {
  position: relative;
  isolation: isolate;
  width: 100%;
  overflow: clip;
}

.top-pattern-bg {
  position: relative;
  isolation: isolate;
}

.top-pattern-bg::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  bottom: 0;
  left: 50%;
  width: min(100%, 1440px);
  background-image: url("../images/common/common-bg001.svg");
  background-repeat: repeat-y;
  background-position: center top;
  background-size: 100% auto;
  transform: translateX(-50%);
  pointer-events: none;
}

.site-main {
  display: block;
}

.section-inner {
  position: relative;
  width: min(calc(100% - 80px), 1180px);
  margin: 0 auto;
}

.pc-only {
  display: block !important;
}

.sp-only {
  display: none !important;
}

/* =========================================================
  buttons / links
========================================================= */
.c-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  min-width: 230px;
  min-height: 58px;
  padding: 16px 20px 16px 24px;
  border: 1px solid transparent;
  background: #fff;
  color: var(--color-navy);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.08em;
  transition: transform 0.3s ease;
}

.c-button__arrow,
.drawer-contact__arrow {
  position: relative;
  display: block;
  flex: 0 0 auto;
  width: 28px;
  height: 10px;
}

.c-button__arrow::before,
.drawer-contact__arrow::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: translateY(-50%);
}

.c-button__arrow::after,
.drawer-contact__arrow::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 7px;
  height: 7px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: translateY(-50%) rotate(45deg);
}

@media (hover: hover) and (pointer: fine) {
  .c-button:hover {
    transform: translateY(-3px);
  }
}

/* =========================================================
  text reveal animation
========================================================= */
.text-reveal {
  --reveal-delay: 0s;
  --reveal-duration: 0.85s;
  --reveal-bg: var(--color-navy);

  position: relative;
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
}

.text-reveal--white {
  --reveal-bg: #fff;
}

.text-reveal::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: transparent;
  transform: scaleX(0);
  transform-origin: left center;
}

.text-reveal__text {
  display: inline-block;
  opacity: 0;
  clip-path: inset(0 100% 0 0);
}

.text-reveal.is-animated::before {
  animation: textRevealMask var(--reveal-duration) cubic-bezier(0.77, 0, 0.175, 1) var(--reveal-delay) both;
}

.text-reveal.is-animated .text-reveal__text {
  animation: textRevealText calc(var(--reveal-duration) * 0.52) cubic-bezier(0.77, 0, 0.175, 1) calc(var(--reveal-delay) + var(--reveal-duration) * 0.48) both;
}

@keyframes textRevealMask {
  0% {
    transform: scaleX(0);
    transform-origin: left center;
  }
  48% {
    transform: scaleX(1);
    transform-origin: left center;
  }
  52% {
    transform: scaleX(1);
    transform-origin: right center;
  }
  100% {
    transform: scaleX(0);
    transform-origin: right center;
  }
}

@keyframes textRevealText {
  from {
    opacity: 1;
    clip-path: inset(0 100% 0 0);
  }
  to {
    opacity: 1;
    clip-path: inset(0 0 0 0);
  }
}

/* =========================================================
  blur in animation
========================================================= */
.blur-in {
  --blur-in-delay: 0s;
  --blur-in-duration: 0.85s;
  --blur-in-size: 12px;

  opacity: 0;
  filter: blur(var(--blur-in-size));
  transform: translateY(18px);
  transition:
    opacity var(--blur-in-duration) ease var(--blur-in-delay),
    filter var(--blur-in-duration) ease var(--blur-in-delay),
    transform var(--blur-in-duration) cubic-bezier(0.22, 1, 0.36, 1) var(--blur-in-delay);
  will-change: opacity, filter, transform;
}

.blur-in.is-animated {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0);
}

.blur-in-group {
  --blur-in-delay: 0s;
  --blur-in-duration: 0.75s;
  --blur-in-size: 10px;
}

.blur-in-group > * {
  opacity: 0;
  filter: blur(var(--blur-in-size));
  transform: translateY(18px);
  transition:
    opacity var(--blur-in-duration) ease,
    filter var(--blur-in-duration) ease,
    transform var(--blur-in-duration) cubic-bezier(0.22, 1, 0.36, 1);
}

.blur-in-group.is-animated > * {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0);
}

.blur-in-group.is-animated > *:nth-child(1) { transition-delay: calc(var(--blur-in-delay) + 0.00s); }
.blur-in-group.is-animated > *:nth-child(2) { transition-delay: calc(var(--blur-in-delay) + 0.08s); }
.blur-in-group.is-animated > *:nth-child(3) { transition-delay: calc(var(--blur-in-delay) + 0.16s); }
.blur-in-group.is-animated > *:nth-child(4) { transition-delay: calc(var(--blur-in-delay) + 0.24s); }
.blur-in-group.is-animated > *:nth-child(5) { transition-delay: calc(var(--blur-in-delay) + 0.32s); }
.blur-in-group.is-animated > *:nth-child(6) { transition-delay: calc(var(--blur-in-delay) + 0.40s); }
.blur-in-group.is-animated > *:nth-child(7) { transition-delay: calc(var(--blur-in-delay) + 0.48s); }
.blur-in-group.is-animated > *:nth-child(8) { transition-delay: calc(var(--blur-in-delay) + 0.56s); }

/* =========================================================
  basic page
========================================================= */
.basic-page {
  min-height: 70vh;
  padding: 230px 0 120px;
}

.basic-page--center {
  text-align: center;
}

.basic-page__eyebrow {
  color: var(--color-gold);
  font-family: var(--font-en);
  font-size: 62px;
  font-weight: 600;
  line-height: 1;
}

.basic-page__title {
  margin-bottom: 44px;
  color: var(--color-navy);
  font-size: clamp(30px, 5vw, 54px);
  line-height: 1.4;
}

.basic-page__lead {
  margin: -18px 0 36px;
  color: var(--color-muted);
}

.basic-page__content > * + * {
  margin-top: 1.5em;
}

/* =========================================================
  reusable top-page components
========================================================= */
.c-about-title {
  color: var(--color-navy);
  font-weight: 700;
  line-height: 1.4;
}

.c-about-text {
  color: #131313;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0;
}

.c-four-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 7px;
}

.c-number-visual {
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr);
  align-items: end;
}

.c-number-visual__media {
  overflow: hidden;
}

.c-number-visual__media img {
  display: block;
  width: 100%;
  object-fit: cover;
}

.c-horizontal-scroll {
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.c-horizontal-scroll::-webkit-scrollbar,
.c-horizontal-scroll--tablet::-webkit-scrollbar {
  display: none;
}

.c-horizontal-scroll__item {
  scroll-snap-align: start;
}

.c-location-card {
  min-width: 0;
}

.c-location-card__visual {
  position: relative;
  overflow: hidden;
  background: var(--color-navy-deep);
}

.c-location-card__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.c-location-card__placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}

.c-location-card__placeholder span {
  position: relative;
  z-index: 1;
  color: #fff;
  font-family: var(--font-en);
}

.c-location-card__title {
  font-weight: 700;
  letter-spacing: 0;
}

.c-action-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-width: 130px;
  min-height: 40px;
  padding: 7px 5px 9px 16px;
  overflow: hidden;
  border-radius: 5px;
  background-color: #131313;
  background-image: linear-gradient(to right, #bea571 0%, #bea571 100%);
  background-repeat: no-repeat;
  background-position: left center;
  background-size: 0 100%;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
  transition: background-size 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.c-action-link__arrow {
  display: block;
  width: 8px;
  height: 8px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

@media (hover: hover) and (pointer: fine) {
  .c-action-link:hover {
    background-size: 100% 100%;
  }

  .c-action-link:hover .c-action-link__arrow {
    transform: translateX(4px) rotate(45deg);
  }
}

@media screen and (max-width: 767px) {
  .c-four-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 5px;
  }
}

/* =========================================================
  tablet
========================================================= */
@media screen and (max-width: 1024px) {
  :root {
    --header-height: 64px;
  }

  body {
    background-size: 300px 300px;
  }

  .section-inner {
    width: min(calc(100% - 56px), 900px);
  }

}

/* =========================================================
  sp
========================================================= */
@media screen and (max-width: 767px) {
  :root {
    --header-height: 52px;
  }

  body {
    background-size: 220px 220px;
    font-size: 14px;
    line-height: 1.8;
  }

  .section-inner {
    width: calc(100% - 40px);
  }

  .pc-only {
    display: none !important;
  }

  .sp-only {
    display: block !important;
  }

  .c-button {
    width: 100%;
    min-width: 0;
    min-height: 54px;
  }

  .basic-page {
    min-height: auto;
    padding: 130px 0 80px;
  }
}

/* =========================================================
  reduced motion
========================================================= */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .text-reveal__text,
  .blur-in,
  .blur-in-group > * {
    opacity: 1;
    filter: none;
    transform: none;
  }

  .text-reveal__text {
    clip-path: none;
  }

  .text-reveal::before {
    display: none;
  }
}

/* =========================================================
  reusable sticky section index
========================================================= */
.c-sticky-section {
  position: relative;
}

.c-sticky-section__aside {
  position: absolute;
  z-index: 8;
  top: 115px;
  bottom: 48px;
  left: max(28px, calc((100% - 1180px) / 2 + 28px));
  width: 32px;
  pointer-events: none;
}

.c-sticky-section-index {
  position: sticky;
  top: calc(var(--header-height) + 30px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  width: 34px;
  color: var(--color-navy);
  font-family: var(--font-en);
  font-weight: 600;
  line-height: 1;
}

.c-sticky-section-index__number {
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  background: var(--color-navy);
  color: #fff;
  font-size: 20px;
  letter-spacing: 0;
  transform: rotate(90deg);
}

.c-sticky-section-index__label {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: 0.1em;
  writing-mode: vertical-rl;
  text-orientation: mixed;
}

@media screen and (max-width: 1024px) {
  .c-sticky-section__aside {
    left: 22px;
  }
}

@media screen and (max-width: 767px) {
  .c-sticky-section__aside {
    position: absolute;
    z-index: 8;
    top: 28px;
    right: auto;
    bottom: 28px;
    left: 8px;
    width: 22px;
    margin: 0;
    pointer-events: none;
  }

  .c-sticky-section-index {
    position: sticky;
    top: calc(var(--header-height) + 14px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    width: 22px;
  }

  .c-sticky-section-index__number {
    width: 20px;
    height: 20px;
    font-size: 13px;
    transform: rotate(90deg);
  }

  .c-sticky-section-index__label {
    font-size: 12px;
    line-height: 1;
    letter-spacing: 0.08em;
    writing-mode: vertical-rl;
    text-orientation: mixed;
  }
}

/* =========================================================
  reusable section number
========================================================= */
.c-section-number {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  color: var(--color-navy);
  font-family: var(--font-en);
  font-weight: 600;
  line-height: 1;
}

.c-section-number::after {
  content: "";
  display: block;
  width: 1px;
  height: 56px;
  margin: 7px auto 0;
  background: currentColor;
}

.c-section-number__number {
  font-size: clamp(66px, 7.3vw, 100px);
  letter-spacing: 0;
}

.c-section-number__label {
  margin: clamp(-10px, -0.7vw, -6px) auto 0;
  font-size: clamp(14px, 1.25vw, 18px);
  letter-spacing: 0.04em;
}

@media screen and (max-width: 767px) {
  .c-section-number::after {
    height: 34px;
  }

  .c-section-number__number {
    font-size: 60px;
  }

  .c-section-number__label {
    margin-top: -5px;
    font-size: 10px;
  }
}


/* =========================================================
  error404
========================================================= */
.error404 .site-header {
  background: #021023;
}
