body.preset-nexus {
  --cb-color-bg: #f6f4ef;
  --cb-color-text: #20201d;
  --cb-color-accent: #bb875b;
  --cb-color-surface: #fbfaf6;
  --cb-color-border: #dfd9cf;
  --cb-footer-background-color: #171715;
  --cb-font-body: Inter, "Helvetica Neue", Arial, sans-serif;
  background: #f6f4ef;
  color: #20201d;
  letter-spacing: 0;
}

body.preset-nexus .l-container {
  width: min(100% - 48px, 1200px);
}

body.preset-nexus .c-fixed-brand-rail {
  position: fixed;
  top: 50%;
  left: 22px;
  z-index: 24;
  color: rgba(32, 32, 29, 0.36);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.2em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
  transform: translate(-50%, -50%) rotate(-90deg);
  transform-origin: center;
  pointer-events: none;
}

body.preset-nexus .c-section-dots {
  position: fixed;
  top: 50%;
  right: 34px;
  z-index: 24;
  display: grid;
  gap: 18px;
  transform: translateY(-50%);
}

body.preset-nexus .c-section-dots__item {
  position: relative;
  display: block;
  width: 12px;
  height: 12px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  outline: 0;
}

body.preset-nexus .c-section-dots__item::before {
  content: "";
  position: absolute;
  inset: -8px;
  border: 1px solid rgba(32, 32, 29, 0);
  border-radius: inherit;
  opacity: 0;
  transition:
    border-color 0.3s ease,
    opacity 0.3s ease;
}

body.preset-nexus .c-section-dots__item::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(32, 32, 29, 0.32);
  border-radius: inherit;
  background: transparent;
  transition:
    background-color 0.3s ease,
    border-color 0.3s ease,
    transform 0.3s ease;
}

body.preset-nexus .c-section-dots__item:hover,
body.preset-nexus .c-section-dots__item:focus-visible {
  transform: none;
}

body.preset-nexus .c-section-dots__item:hover::after,
body.preset-nexus .c-section-dots__item:focus-visible::after {
  background: #20201d;
  border-color: #20201d;
  transform: scale(1.18);
}

body.preset-nexus .c-section-dots__item.is-active::after {
  background: #20201d;
  border-color: #20201d;
  animation: craftbase-dot-pulse 1.8s ease-in-out infinite;
}

body.preset-nexus .c-section-dots__item.is-active::before {
  border-color: rgba(32, 32, 29, 0.42);
  opacity: 1;
}

body.preset-nexus .c-section-dots__item span {
  position: absolute;
  top: 50%;
  right: 28px;
  width: auto;
  height: auto;
  overflow: visible;
  clip: auto;
  clip-path: none;
  color: rgba(32, 32, 29, 0);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.18em;
  line-height: 1;
  opacity: 0;
  text-transform: uppercase;
  transform: translate(8px, -50%);
  transition:
    color 0.3s ease,
    opacity 0.3s ease,
    transform 0.3s ease;
  white-space: nowrap;
  pointer-events: none;
}

body.preset-nexus .c-section-dots__item.is-active span,
body.preset-nexus .c-section-dots__item:hover span,
body.preset-nexus .c-section-dots__item:focus-visible span {
  color: rgba(32, 32, 29, 0.62);
  opacity: 1;
  transform: translate(0, -50%);
}

body.preset-nexus.is-nexus-contact-active .c-fixed-brand-rail {
  color: rgba(246, 244, 239, 0.68);
}

body.preset-nexus.is-nexus-contact-active .c-section-dots__item::after {
  border-color: rgba(246, 244, 239, 0.42);
}

body.preset-nexus.is-nexus-contact-active .c-section-dots__item:hover::after,
body.preset-nexus.is-nexus-contact-active .c-section-dots__item:focus-visible::after,
body.preset-nexus.is-nexus-contact-active .c-section-dots__item.is-active::after {
  background: #f6f4ef;
  border-color: #f6f4ef;
}

body.preset-nexus.is-nexus-contact-active .c-section-dots__item.is-active::before {
  border-color: rgba(246, 244, 239, 0.46);
}

body.preset-nexus.is-nexus-contact-active .c-section-dots__item.is-active span,
body.preset-nexus.is-nexus-contact-active .c-section-dots__item:hover span,
body.preset-nexus.is-nexus-contact-active .c-section-dots__item:focus-visible span {
  color: rgba(246, 244, 239, 0.74);
}

body.preset-nexus .c-site-header {
  color: #20201d;
  padding: 26px 0;
  background: transparent;
  box-shadow: none;
}

body.preset-nexus .c-site-header--overlay {
  position: absolute;
}

html[data-scrolled="true"] body.preset-nexus .c-site-header--overlay {
  background: rgba(246, 244, 239, 0.96);
  box-shadow: 0 1px 0 rgba(32, 32, 29, 0.08);
}

html[data-scrolled="false"] body.preset-nexus .c-site-header--overlay .c-site-header__title a,
html[data-scrolled="false"] body.preset-nexus .c-site-header--overlay .c-site-nav a {
  color: #20201d;
}

body.preset-nexus .c-site-header__title,
body.preset-nexus .c-site-footer__title {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

body.preset-nexus .c-site-header__description {
  display: none;
}

body.preset-nexus .c-site-nav {
  gap: 40px;
}

body.preset-nexus .c-site-nav a {
  color: rgba(32, 32, 29, 0.55);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

body.preset-nexus .c-home-hero {
  min-height: 100svh;
  align-items: center;
  color: #20201d;
  background:
    linear-gradient(90deg, rgba(32, 32, 29, 0.028) 1px, transparent 1px),
    linear-gradient(0deg, rgba(32, 32, 29, 0.024) 1px, transparent 1px),
    radial-gradient(circle at 78% 38%, rgba(187, 135, 91, 0.08), transparent 18%),
    #f6f4ef;
  background-size: 96px 96px, 96px 96px, auto, auto;
  background-position: center center, center center, center center, center center;
}

body.preset-nexus .c-home-hero__media,
body.preset-nexus .c-home-hero__overlay,
body.preset-nexus .c-home-hero__dots {
  display: none;
}

body.preset-nexus .c-home-hero::before {
  content: "";
  position: absolute;
  top: 190px;
  right: max(44px, calc((100vw - 1200px) / 2));
  width: min(34vw, 390px);
  aspect-ratio: 1;
  border: 1px solid #ddd8d0;
  background:
    linear-gradient(90deg, transparent 0 28%, rgba(32, 32, 29, 0.08) 28% calc(28% + 1px), transparent calc(28% + 1px) 100%),
    linear-gradient(90deg, transparent 0 72%, rgba(32, 32, 29, 0.05) 72% calc(72% + 1px), transparent calc(72% + 1px) 100%),
    linear-gradient(0deg, transparent 0 34%, rgba(32, 32, 29, 0.07) 34% calc(34% + 1px), transparent calc(34% + 1px) 100%),
    linear-gradient(0deg, transparent 0 66%, rgba(32, 32, 29, 0.05) 66% calc(66% + 1px), transparent calc(66% + 1px) 100%),
    linear-gradient(#f6f4ef, #f6f4ef) padding-box,
    repeating-linear-gradient(90deg, transparent 0 34px, rgba(32, 32, 29, 0.03) 34px 35px);
}

body.preset-nexus .c-home-hero::after {
  content: "N";
  position: absolute;
  top: 258px;
  right: max(120px, calc((100vw - 1200px) / 2 + 78px));
  width: min(20vw, 240px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid #e9e5dd;
  color: rgba(32, 32, 29, 0.035);
  font-size: clamp(4rem, 12vw, 11rem);
  font-weight: 900;
  line-height: 1;
}

body.preset-nexus .c-home-hero__inner {
  max-width: 1200px;
  text-align: left;
}

body.preset-nexus .c-home-hero__eyebrow,
body.preset-nexus .c-section-heading__eyebrow,
body.preset-nexus .c-home-cta__eyebrow,
body.preset-nexus .c-home-notice__eyebrow {
  color: #bb875b;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

body.preset-nexus .c-home-hero__eyebrow {
  margin-bottom: 26px;
}

body.preset-nexus .c-home-hero__title {
  max-width: none;
  color: #20201d;
  font-size: clamp(3.1rem, 6.4vw, 6.8rem);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.2;
  white-space: nowrap;
}

body.preset-nexus .c-home-hero__scroll {
  top: auto;
  left: 50%;
  bottom: 54px;
  flex-direction: column;
  color: rgba(32, 32, 29, 0.5);
  transform: translateX(-50%);
}

body.preset-nexus .c-home-hero__scroll-label {
  font-size: 0.5rem;
  letter-spacing: 0.12em;
  writing-mode: vertical-rl;
  text-orientation: mixed;
}

body.preset-nexus .c-home-hero__scroll-line {
  width: 1px;
  height: 44px;
  background: rgba(32, 32, 29, 0.16);
}

body.preset-nexus .c-home-hero__scroll-line::after {
  width: 1px;
  height: 14px;
  background: #20201d;
}

body.preset-nexus .c-home-section {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: auto;
  padding: 140px 0;
  background: #f6f4ef;
}

body.preset-nexus .c-home-section > .l-container {
  width: min(100% - 48px, 1200px);
}

body.preset-nexus .c-home-section--dark {
  color: #20201d;
  background: #ebe8df;
}

body.preset-nexus .c-section-heading {
  position: relative;
  z-index: 1;
  max-width: none;
  margin: 0 0 0;
  text-align: left;
}

body.preset-nexus .c-section-heading__title,
body.preset-nexus .c-home-notice__title,
body.preset-nexus .c-home-cta__title {
  max-width: 560px;
  color: #20201d;
  font-size: clamp(2rem, 3.7vw, 4.2rem);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: 0;
}

body.preset-nexus .c-section-heading__lead {
  max-width: 520px;
  margin: 24px 0 0 auto;
  color: rgba(32, 32, 29, 0.68);
  font-size: 14px;
  line-height: 2;
}

body.preset-nexus #craftbase-features::before,
body.preset-nexus #craftbase-work::before,
body.preset-nexus #craftbase-posts::before,
body.preset-nexus #craftbase-blog::before,
body.preset-nexus .c-home-cta::before,
body.preset-nexus .c-home-section--dark::before {
  position: absolute;
  z-index: 0;
  color: rgba(32, 32, 29, 0.035);
  font-size: clamp(7rem, 18vw, 17rem);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.8;
  pointer-events: none;
}

body.preset-nexus #craftbase-features::before {
  content: "ABOUT";
  top: 92px;
  left: max(24px, calc((100vw - 1200px) / 2));
}

body.preset-nexus .c-home-section--dark::before {
  content: "SERVICE";
  top: 20px;
  left: 0%;
  color: rgba(000, 000, 000, 0.05);
  writing-mode: vertical-rl;
  transform: translateX(10%);
}

body.preset-nexus #craftbase-work::before {
  content: "WORK";
  right: max(0px, calc((100vw - 1200px) / 2));
  bottom: 174px;
  color: rgba(32, 32, 29, 0.045);
  font-size: clamp(10.5rem, 27vw, 25.5rem);
  text-align: right;
}

body.preset-nexus #craftbase-posts {
  align-items: center;
  background-color: #e5e5ec;
}

body.preset-nexus #craftbase-blog::before {
  content: "BLOG";
  top: 92px;
  right: max(24px, calc((100vw - 1200px) / 2));
  left: auto;
  text-align: right;
}

body.preset-nexus #craftbase-blog .c-blog-grid,
body.preset-nexus #craftbase-blog .c-empty-state {
  position: relative;
  z-index: 1;
  margin-top: 48px;
}

/* BLOG: WORK スライドと同じビジュアルのカード */
body.preset-nexus .c-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 15px;
}

body.preset-nexus .c-blog-card {
  display: block;
  color: #20201d;
  text-decoration: none;
}

body.preset-nexus .c-blog-card__visual {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(32, 32, 29, 0.16), rgba(32, 32, 29, 0.02)),
    linear-gradient(120deg, #b7b2a8, #ebe8df);
}

body.preset-nexus .c-blog-card__visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

body.preset-nexus .c-blog-card__visual::before {
  content: "";
  position: absolute;
  inset: 18%;
  border: 1px solid rgba(246, 244, 239, 0.48);
  pointer-events: none;
}

body.preset-nexus .c-blog-card:hover .c-blog-card__visual img {
  transform: scale(1.04);
}

body.preset-nexus .c-blog-card__date {
  display: block;
  margin-top: 14px;
  color: rgba(32, 32, 29, 0.48);
  font-size: 12px;
  letter-spacing: 0.08em;
}

body.preset-nexus .c-blog-card__label {
  display: block;
  margin-top: 6px;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.5;
}

body.preset-nexus #craftbase-posts::before {
  content: "NEWS";
  top: 50%;
  right: max(0px, calc((100vw - 1200px) / 2));
  left: auto;
  text-align: right;
  transform: translateY(-50%);
}

body.preset-nexus .c-feature-grid,
body.preset-nexus .c-icon-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid #ded9d1;
}

body.preset-nexus .c-feature-card,
body.preset-nexus .c-icon-card,
body.preset-nexus .c-comparison__item,
body.preset-nexus .c-empty-state,
body.preset-nexus .c-post-card {
  border-radius: 0;
  box-shadow: none;
}

body.preset-nexus .c-feature-card,
body.preset-nexus .c-icon-card {
  min-height: 170px;
  padding: 34px 48px;
  border: 0;
  border-bottom: 1px solid #ded9d1;
  background: transparent;
  text-align: left;
}

body.preset-nexus .c-feature-card:nth-child(odd),
body.preset-nexus .c-icon-card:nth-child(odd) {
  border-right: 1px solid #ded9d1;
}

body.preset-nexus .c-feature-card__title,
body.preset-nexus .c-icon-card strong {
  margin: 0 0 14px;
  color: #20201d;
  font-size: 24px;
  font-weight: 900;
  line-height: 1.2;
}

body.preset-nexus .c-feature-card__title::before,
body.preset-nexus .c-icon-card__icon {
  display: block;
  margin: 0 0 14px;
  color: #bb875b;
  background: transparent;
  border-radius: 0;
  width: auto;
  height: auto;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.2em;
  line-height: 1;
}

body.preset-nexus .c-feature-card:nth-child(1) .c-feature-card__title::before { content: "01 / Web Creation"; }
body.preset-nexus .c-feature-card:nth-child(2) .c-feature-card__title::before { content: "02 / Design"; }
body.preset-nexus .c-feature-card:nth-child(3) .c-feature-card__title::before { content: "03 / SEO"; }
body.preset-nexus .c-feature-card:nth-child(4) .c-feature-card__title::before { content: "04 / Development"; }

body.preset-nexus .c-feature-card__text {
  max-width: 430px;
  color: rgba(32, 32, 29, 0.62);
  font-size: 13px;
  line-height: 1.9;
}

body.preset-nexus .c-icon-card {
  display: flex;
  flex-direction: column;
  color: #20201d;
  text-decoration: none;
}

body.preset-nexus .c-icon-card__icon {
  margin-bottom: 18px;
}

body.preset-nexus .c-icon-card .c-section-more {
  align-self: flex-end;
  align-items: flex-end;
  margin-top: auto;
  padding-top: 26px;
}

body.preset-nexus .c-icon-card .c-section-more__arrow {
  width: 88px;
}

body.preset-nexus .c-icon-card:hover .c-section-more__arrow {
  transform: scaleX(1.16);
}

body.preset-nexus .c-work-slider {
  position: relative;
  z-index: 1;
}

body.preset-nexus .c-work-slider__viewport {
  overflow: hidden;
  min-height: clamp(370px, 33vw, 500px);
  padding: 28px 0px 12px;
}

body.preset-nexus .c-work-slider__track {
  display: flex;
  gap: 15px;
  align-items: flex-start;
  min-height: clamp(100px, 24vw, 390px);
  transition: transform 0.82s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

body.preset-nexus .c-work-slide {
  flex: 0 0 calc((100% - 0px) / 3);
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #20201d;
  cursor: pointer;
  text-align: left;
  transition:
    flex-basis 0.75s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.55s ease,
    transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

body.preset-nexus .c-work-slide:not(.is-active) {
  opacity: 0.62;
}

body.preset-nexus .c-work-slide.is-active {
  flex-basis: calc(((100% - 0px) / 3) * 1.38);
  opacity: 1;
  transform: none;
}

body.preset-nexus .c-work-slide__visual {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(32, 32, 29, 0.16), rgba(32, 32, 29, 0.02)),
    linear-gradient(120deg, #b7b2a8, #ebe8df);
}

body.preset-nexus .c-work-slide__visual::before,
body.preset-nexus .c-work-slide__visual::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

body.preset-nexus .c-work-slide__visual::before {
  inset: 18%;
  border: 1px solid rgba(246, 244, 239, 0.48);
}

body.preset-nexus .c-work-slide__visual::after {
  right: 18%;
  bottom: 18%;
  width: 36%;
  height: 22%;
  background: rgba(246, 244, 239, 0.28);
}

body.preset-nexus .c-work-slide__visual--ec {
  background:
    radial-gradient(circle at 74% 30%, rgba(187, 135, 91, 0.52), transparent 18%),
    linear-gradient(135deg, rgba(32, 32, 29, 0.18), rgba(32, 32, 29, 0.02)),
    linear-gradient(120deg, #c9c1b3, #eeeae2);
}

body.preset-nexus .c-work-slide__visual--system {
  background:
    repeating-linear-gradient(0deg, transparent 0 34px, rgba(255, 255, 255, 0.24) 34px 35px),
    linear-gradient(135deg, #aaa59c, #e9e4da);
}

body.preset-nexus .c-work-slide__visual--ai {
  background:
    radial-gradient(circle at 28% 32%, rgba(246, 244, 239, 0.58), transparent 16%),
    radial-gradient(circle at 76% 66%, rgba(187, 135, 91, 0.46), transparent 18%),
    linear-gradient(135deg, #9c9991, #e6e0d5);
}

body.preset-nexus .c-work-slide__label {
  display: block;
  margin-top: 12px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

body.preset-nexus .c-work-slider__footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: end;
  min-height: 150px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #ded9d1;
}

body.preset-nexus .c-work-slider__meta {
  max-width: 680px;
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 0.28s ease,
    transform 0.28s ease;
}

body.preset-nexus .c-work-slider__meta.is-changing {
  opacity: 0;
  transform: translateY(8px);
}

body.preset-nexus .c-work-slider__eyebrow {
  margin: 0 0 12px;
  color: #bb875b;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

body.preset-nexus .c-work-slider__title {
  margin: 0;
  color: #20201d;
  font-size: clamp(1.45rem, 2.4vw, 2.5rem);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.18;
}

body.preset-nexus .c-work-slider__text {
  max-width: 620px;
  margin: 16px 0 0;
  color: rgba(32, 32, 29, 0.64);
  font-size: 14px;
  line-height: 1.9;
}

body.preset-nexus .c-work-slider__controls {
  display: flex;
  gap: 12px;
}

body.preset-nexus .c-work-slider__control {
  min-width: 78px;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid rgba(32, 32, 29, 0.18);
  background: transparent;
  color: #20201d;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    background-color 0.3s ease,
    border-color 0.3s ease,
    color 0.3s ease;
}

body.preset-nexus .c-work-slider__control:hover,
body.preset-nexus .c-work-slider__control:focus-visible {
  border-color: #20201d;
  background: #20201d;
  color: #f6f4ef;
}

body.preset-nexus .c-home-notice {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  align-items: center;
  grid-template-columns: 0.8fr 1.45fr;
  background-color: transparent;
}

body.preset-nexus .c-home-notice__intro {
  align-self: center;
  padding: 38px 0;
}

body.preset-nexus .c-home-notice__content {
  align-self: center;
}

body.preset-nexus .c-home-notice__title {
  border: 0;
  padding: 0;
}

body.preset-nexus .c-home-notice__link {
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 28px;
  padding: 26px 0;
}

body.preset-nexus .c-home-notice__thumb {
  display: none;
}

body.preset-nexus .c-home-notice__body {
  grid-column: 1 / -1;
  grid-template-columns: 110px minmax(0, 1fr);
  align-items: center;
  gap: 28px;
}

body.preset-nexus .c-home-notice__item-title {
  font-size: 16px;
  font-weight: 800;
}

body.preset-nexus .c-home-notice__excerpt,
body.preset-nexus .c-home-notice__more-inline {
  display: none;
}

body.preset-nexus .c-home-notice__date {
  grid-row: 1;
  color: rgba(32, 32, 29, 0.48);
  font-size: 12px;
}

body.preset-nexus .c-home-notice__more {
  gap: 14px;
  padding: 10px 10px 10px 26px;
  border: 0;
  background: #20201d;
  color: #f6f4ef;
  padding: 10px 50px;
  border-radius: 50px;
}

body.preset-nexus .c-home-notice__more svg {
  box-sizing: content-box;
  width: 14px;
  height: 14px;
  margin: 0;
  padding: 8px;
  border-radius: 50%;
  background: #f6f4ef;
  color: #20201d;
}

body.preset-nexus .c-section-more-wrap {
  position: relative;
  z-index: 1;
  display: flex;
  margin-top: 40px;
}

body.preset-nexus .c-section-more-wrap--right {
  justify-content: flex-end;
}

body.preset-nexus .c-section-more {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #20201d;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
}

body.preset-nexus .c-section-more__label {
  line-height: 1;
}

/* WORK: 実績タイトルの真横に「もっと見る」 */
body.preset-nexus .c-work-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
}

body.preset-nexus .c-work-head .c-section-heading {
  margin: 0;
}

body.preset-nexus .c-section-more__arrow {
  position: relative;
  width: 140px;
  height: 1px;
  background: currentColor;
  transform-origin: left center;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

body.preset-nexus .c-section-more__arrow::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  width: 7px;
  height: 7px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: translate(1px, -50%) rotate(45deg);
}

body.preset-nexus .c-section-more:hover .c-section-more__arrow {
  transform: scaleX(1.12);
}

body.preset-nexus .c-home-cta {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-start;
  min-height: auto;
  padding: 170px 0 150px;
  color: #f6f4ef;
  background: #171715;
}

body.preset-nexus .c-home-cta::before {
  content: "CONTACT";
  top: 86px;
  left: max(24px, calc((100vw - 1200px) / 2));
  color: rgba(246, 244, 239, 0.055);
}

body.preset-nexus .c-home-cta__inner {
  grid-template-columns: 1fr;
  width: min(100% - 48px, 1200px);
  max-width: 1200px;
  margin-left: max(24px, calc((100vw - 1200px) / 2));
  margin-right: auto;
}

body.preset-nexus .c-home-cta__title,
body.preset-nexus .c-home-cta__text {
  color: #f6f4ef;
}

body.preset-nexus .c-home-cta__text {
  max-width: 560px;
  margin: 22px 0 0;
  color: rgba(246, 244, 239, 0.68);
  font-size: 14px;
}

body.preset-nexus .c-home-cta__actions {
  justify-content: flex-start;
  margin-top: 42px;
}

body.preset-nexus .c-button {
  min-height: 48px;
  padding: 0 28px;
  border-radius: 0;
  font-size: 12px;
  letter-spacing: 0.08em;
}

body.preset-nexus .c-button--primary {
  color: #20201d;
  background: #f6f4ef;
}

body.preset-nexus .c-site-footer {
  padding: 76px 0 52px;
  color: #000000;
  background: #b09d7b;
}

body.preset-nexus .c-site-footer__title,
body.preset-nexus .c-site-footer__heading,
body.preset-nexus .c-site-footer__copyright p,
body.preset-nexus .c-footer-nav a,
body.preset-nexus .c-site-footer__company-label,
body.preset-nexus .c-site-footer__company-item,
body.preset-nexus .c-site-footer__company-item a {
  color: #000000;
}

body.preset-nexus .c-site-footer__copyright {
  border-top-color: #000000;
}

@keyframes craftbase-dot-pulse {
  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.38);
  }
}

html.craftbase-fullpage-scroll {
  scroll-behavior: auto;
}

html.craftbase-fullpage-scroll body {
  overscroll-behavior-y: auto;
}

.js-enabled body.preset-nexus .craftbase-reveal {
  opacity: 0;
  transform: translateY(34px);
  transition:
    opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.js-enabled body.preset-nexus .craftbase-reveal.is-inview {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html.craftbase-fullpage-scroll {
    scroll-behavior: auto;
  }

  .js-enabled body.preset-nexus .craftbase-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@media (max-width: 900px) {
  body.preset-nexus .c-home-hero {
    min-height: 100svh;
    padding-top: 110px;
    align-items: flex-start;
  }

  body.preset-nexus .c-home-hero::before,
  body.preset-nexus .c-home-hero::after {
    opacity: 0.42;
    right: 24px;
  }

  body.preset-nexus .c-feature-grid,
  body.preset-nexus .c-icon-grid,
  body.preset-nexus .c-home-notice {
    grid-template-columns: 1fr;
  }

  body.preset-nexus .c-feature-card:nth-child(odd),
  body.preset-nexus .c-icon-card:nth-child(odd) {
    border-right: 0;
  }

  body.preset-nexus .c-work-slider__footer {
    grid-template-columns: 1fr;
    align-items: start;
  }

  body.preset-nexus .c-work-slider__controls {
    justify-content: flex-start;
  }
}

@media (max-width: 720px) {
  body.preset-nexus .l-container {
    width: min(100% - 32px, 1200px);
  }

  body.preset-nexus .c-fixed-brand-rail,
  body.preset-nexus .c-section-dots {
    display: none;
  }

  body.preset-nexus .c-site-header__inner {
    flex-direction: row;
    align-items: center;
  }

  body.preset-nexus .c-home-section {
    min-height: 100svh;
    padding: 96px 0;
  }

  body.preset-nexus .c-section-heading__title,
  body.preset-nexus .c-home-notice__title,
  body.preset-nexus .c-home-cta__title {
    font-size: clamp(2rem, 10vw, 3.3rem);
  }

  body.preset-nexus .c-home-hero__title {
    font-size: clamp(2.55rem, 12vw, 4.2rem);
    line-height: 1.2;
  }

  body.preset-nexus .c-feature-card,
  body.preset-nexus .c-icon-card {
    padding: 30px 0;
  }

  body.preset-nexus .c-work-slider__viewport {
    min-height: 330px;
    padding-top: 28px;
  }

  body.preset-nexus .c-work-slider__track {
    gap: 64px;
    min-height: 250px;
  }

  body.preset-nexus .c-work-slide {
    flex-basis: 62%;
  }

  body.preset-nexus .c-work-slide.is-active {
    flex-basis: 76%;
  }

  body.preset-nexus .c-work-slider__footer {
    min-height: 0;
    margin-top: 26px;
  }

  body.preset-nexus #craftbase-features::before,
  body.preset-nexus #craftbase-work::before,
  body.preset-nexus #craftbase-posts::before,
  body.preset-nexus .c-home-cta::before {
    font-size: clamp(5rem, 25vw, 8rem);
  }
}

/* Cookie 同意バナー */
.c-cookie-consent {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
  width: 100%;
  margin: 0;
  padding: 10px 20px;
  background: #20201d;
  color: #f6f4ef;
  box-shadow: 0 -6px 20px rgba(0, 0, 0, 0.18);
}
.c-cookie-consent[hidden] { display: none; }
.c-cookie-consent__text {
  flex: 1 1 320px;
  margin: 0;
  font-size: 12px;
  line-height: 1.6;
}
.c-cookie-consent__actions {
  display: flex;
  flex-shrink: 0;
  gap: 12px;
}
.c-cookie-consent__btn {
  min-height: 32px;
  padding: 0 18px;
  border: 1px solid rgba(246, 244, 239, 0.45);
  background: transparent;
  color: #f6f4ef;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: opacity 0.2s ease;
}
.c-cookie-consent__btn--accept {
  border-color: #f6f4ef;
  background: #f6f4ef;
  color: #20201d;
}
.c-cookie-consent__btn:hover { opacity: 0.82; }
