@import url('https://fonts.googleapis.com/css2?family=Krona+One&family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&family=Noto+Sans+JP:wght@100..900&family=Noto+Serif+JP:wght@400;500&display=swap');

:root {
  --rwt-black: #111111;
  --rwt-white: #ffffff;
  --rwt-text: #1b1b1b;
  --rwt-text-soft: rgba(17, 17, 17, 0.72);
  --rwt-border: rgba(255, 255, 255, 0.18);
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  color: var(--rwt-text);
  background: #fff;
  font-family: "Noto Sans JP", sans-serif;
}

.rwt-top {
  position: relative;
  z-index: 1;
  overflow: clip;
}

/* 背景固定レイヤー */
.rwt-bg-fixed {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  isolation: isolate;
}

.rwt-bg-media {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  z-index: 0;
  transition: opacity 0.6s ease;
  will-change: opacity, transform;
  backface-visibility: hidden;
  transform: translateZ(0);
}

.rwt-bg-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rwt-bg-media.is-active {
  opacity: 1;
  z-index: 1;
}

.rwt-bg-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: #000;
  opacity: 0.28;
  pointer-events: none;
  will-change: opacity;
}

.rwt-bg-film {
  position: absolute;
  inset: 0;
  z-index: 3;
  background:
    linear-gradient(180deg, rgba(8, 10, 18, 0.07) 0%, rgba(8, 10, 18, 0.015) 38%, rgba(8, 10, 18, 0.1) 100%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.008), rgba(255, 255, 255, 0));
}

/* 共通 */
.rwt-section-label {
  margin: 0 0 16px;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.8;
  color: rgba(255, 255, 255, 0.8);
  font-family: "Noto Serif JP", serif;
}

.rwt-section-label--dark {
  color: rgba(17, 17, 17, 0.62);
}

.rwt-section-title {
  margin: 0;
  font-size: clamp(24px, 5vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.04em;
  font-family: "Libre Baskerville", serif;
  font-weight: 400;
}

.rwt-section-title--light {
  color: #fff;
}

.rwt-section-title--dark {
  color: #111;
}

p {
   font-family: "Noto Serif JP", serif;
  font-size: 15px;
  line-height: 1.8;
}

h3 {
  font-family: "Noto Serif JP", serif;
  line-height: 1.5;
}

h4 {
   font-family: "Noto Serif JP", serif;
  line-height: 1.5;
}

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

.rwt-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 240px;
  min-height: 56px;
  padding: 0 28px;
  border: 1px solid #fff;
  background: transparent;
  color: #fff;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.06em;
  transition: background-color 0.35s ease, color 0.35s ease, border-color 0.35s ease;
  box-sizing: border-box;
}

.rwt-cta-btn:hover {
  background: #fff;
  color: #111;
}

.rwt-cta-btn--dark {
  border-color: #111;
  color: #111;
}

.rwt-cta-btn--dark:hover {
  background: #111;
  color: #fff;
}

.rwt-design-btn{margin-bottom: 250px;}

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

/* HERO */
.rwt-hero {
  position: relative;
  min-height: 100vh;
  z-index: 2;
}

.rwt-hero__inner {
  width: min(1100px, calc(100% - 64px));
  min-height: 100vh;
  margin: 0 auto;
  display: flex;
  align-items: center;
}

.rwt-hero__main {
  width: 100%;
  max-width: 900px;
  color: #fff;
}

.rwt-hero__brand {
  margin: 0 0 16px;
  font-family: "Krona One", sans-serif;
  font-size: clamp(60px, 8vw, 84px);
  line-height: 1;
  letter-spacing: 0.02em;
  color: #fff;
}

.rwt-hero__switch-area {
  position: relative;
  min-height: 128px;
  margin-bottom: 22px;
}

.rwt-hero-switch {
  position: relative;
  min-height: 128px;
}

.rwt-hero-switch__item {
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  opacity: 0;
}

.rwt-hero-switch__heading {
  margin: 0 0 8px;
  font-family: "Libre Baskerville", serif;
  font-weight: 400;
  font-size: clamp(40px, 4.5vw, 60px);
  line-height: 1.06;
  letter-spacing: -0.03em;
  color: #ffffff;
}

.rwt-hero-switch__sub {
  margin: 0;
  font-family: "Noto Serif JP", serif;
  font-size: clamp(22px, 2vw, 30px);
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.88);
}

.rwt-hero__subcopy {
  margin: 0 0 20px;
  font-family: "Noto Serif JP", serif;
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.92);
}

.rwt-hero__description {
  max-width: 760px;
}

.rwt-hero__description p {
  margin: 0 0 14px;
  font-family: "Noto Serif JP", serif;
  font-size: 16px;
  line-height: 1.95;
  color: rgba(255, 255, 255, 0.9);
}

/* INTRO 共通 */
.rwt-intro {
  position: relative;
  z-index: 3;
  color: #111;
}

.rwt-intro h2{
  font-family: "Noto Serif JP", serif;
  color: #ffffff;
  font-weight: 400;
}

.rwt-intro__inner {
  width: min(1000px, calc(100% - 64px));
  margin: 0 auto;
  padding: 120px 0;
}

.rwt-intro__stack {
  position: relative;
  min-height: 280px;
  margin-top: 20px;
}

.rwt-intro__message {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(24px);
  filter: blur(10px);
}

.rwt-intro-card {
  display: grid;
  grid-template-columns: minmax(320px, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
  min-height: 420px;
  padding: 28px;
  border-radius: 32px;
  background: linear-gradient(135deg, rgba(245, 241, 235, 0.92), rgba(255, 255, 255, 0.98));
  box-shadow: 0 30px 80px rgba(17, 17, 17, 0.08);
  overflow: hidden;
}

.rwt-intro-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 24px;
  overflow: hidden;
  background: #d9d1c5;
}

.rwt-intro-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(17, 17, 17, 0.18));
  pointer-events: none;
}

.rwt-intro-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.02);
}

.rwt-intro-card__media picture {
  display: block;
  width: 100%;
  height: 100%;
}

.rwt-intro-card__media picture img {
  width: 100%;
  height: 100%;
}

.rwt-intro-card__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.rwt-intro-card__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 10px 0 20px;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(17, 17, 17, 0.55);
}

.rwt-intro-card__eyebrow::before {
  content: "";
  width: 42px;
  height: 1px;
  background: rgba(17, 17, 17, 0.3);
}

.rwt-intro__message h2 {
  margin: 0 0 18px;
  font-family: "Noto Serif JP", serif;
  font-size: clamp(28px, 4vw, 56px);
  line-height: 1.18;
  letter-spacing: -0.04em;
  font-weight: 300;
}

.rwt-intro__message p {
  margin: 0;
  max-width: 620px;
  font-size: 16px;
  line-height: 2;
  color: #333;
}

/* DESIGN */
/* DESIGN + SNS */
.rwt-design{
  position: relative;
  z-index: 2;
  color: #ffffff;
}

.rwt-sns{
  position: relative;
  z-index: 2;
  color: #ffffff;
}

.rwt-design__inner,
.rwt-sns__inner {
  width: min(1200px, calc(100% - 64px));
  margin: 0 auto;
  padding: 120px 0;
}

.rwt-design__header,
.rwt-sns__header {
  margin-bottom: 48px;
}

.rwt-design__header h3 {
  font-size: clamp(32px, 4vw, 40px);
  font-weight: 300;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.96);
}

.rwt-sns__header h3 {
  font-size: clamp(32px, 4vw, 40px);
  font-weight: 300;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.96);
}

.rwt-design__cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.rwt-sns__cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.rwt-design-card {
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.rwt-sns-card {
  overflow: hidden;
  min-height: 500px;
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center; 
}

.rwt-design-card__media,
.rwt-sns-card__media {
  aspect-ratio: 8 / 9;
  overflow: hidden;
  padding: 15px;
}

.rwt-design-card__media img,
.rwt-sns-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1);
  transition: transform 0.6s ease;
}

.rwt-design-card:hover .rwt-design-card__media img,
.rwt-sns-card:hover .rwt-sns-card__media img {
  transform: scale(1.04);
}

.rwt-design-card__body,
.rwt-sns-card__body {
  padding: 26px 10px;
}

.rwt-design-card__body h3,
.rwt-sns-card__body h3 {
  margin: 0 0 12px;
  font-family: "Noto Serif JP", serif;
  font-size: 30px;
  line-height: 1.15;
  color: #ffffff;
  font-weight: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 72px;
  padding: 14px 18px;
  background: #000;
  text-align: center;
  border-radius: 14px;
}

.rwt-design-card__body h4,
.rwt-sns-card__body h4 {
  margin: 0 0 14px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 15px;
}

.rwt-design-card__body p {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.9;
}

.rwt-sns-card__body p {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.9;
}

.rwt-design__footer,
.rwt-sns__footer {
  margin-top: 44px;
}

.rwt-design__footer p,
.rwt-sns__footer p {
  margin: 0 0 24px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 16px;
  line-height: 2;
  font-weight: 500;
}

/* SEO */
.rwt-seo,
.rwt-ai {
  position: relative;
  z-index: 4;
  margin-top: -24px;
}

.rwt-seo__panel,
.rwt-ai__panel {
  position: relative;
  background: #fff;
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.08);
  transform: translateY(120px);
}

.rwt-seo__inner,
.rwt-ai__inner {
  width: min(1200px, calc(100% - 64px));
  margin: 0 auto;
  padding: 120px 0;
}

.rwt-seo__header,
.rwt-ai__header {
  max-width: 780px;
  margin-bottom: 48px;
}

.rwt-seo__header h3,
.rwt-ai__header h3 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 300;
  margin: 20px 0 18px;
}

.rwt-seo__header p,
.rwt-ai__header p {
  margin: 0;
  color: #333;
}

.rwt-seo__content {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.rwt-ai__content {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.rwt-seo__item,
.rwt-ai__item {
  padding: 28px;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(8px);
  overflow: hidden;
}


.rwt-seo__item h4,
.rwt-ai__item h4 {
  margin: 0 0 12px;
  font-family: "Libre Baskerville", serif;
  font-size: 28px;
  color: #111;
}

.rwt-seo__item img,
.rwt-ai__item img {
  display: block;
  margin: 0 auto;
}

.rwt-seo__item img {
  margin-bottom: 24px;
}

.rwt-seo__item p,
.rwt-ai__item p {
  margin: 0;
  color: #333;
}

.rwt-seo_footer,
.rwt-ai_footer {
  margin: 30px 0 24px;
  line-height: 2;
  font-size: 17px;
  font-weight: 400;
}

/* split */
.js-split span {
  display: inline-block;
  will-change: transform, opacity, filter;
}

/* utility animation targets */
.fade-in,
.fade-up,
.fade-left,
.fade-blur,
.fade-scale-tilt,
.zoom-in {
  will-change: transform, opacity, filter;
}

/* responsive */
@media (max-width: 991px) {

  .rwt-hero__inner,
  .rwt-design__inner,
  .rwt-sns__inner,
  .rwt-seo__inner,
  .rwt-ai__inner {
    width: min(100% - 32px, 1200px);
  }

  .rwt-hero__inner {
    min-height: 100vh;
  }

  .rwt-hero__switch-area,
  .rwt-hero-switch {
    min-height: 110px;
  }

  .rwt-design__inner,
  .rwt-sns__inner,
  .rwt-seo__inner,
  .rwt-ai__inner {
    padding: 88px 0;
  }

  .rwt-intro__message p {
    font-size: 15px;
    line-height: 1.9;
    max-width: none;
  }

  .rwt-design__cards,
  .rwt-sns__cards,
  .rwt-seo__content,
  .rwt-ai__content {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .rwt-design-card__body,
  .rwt-seo__item,
  .rwt-ai__item {
    padding: 22px;
  }

  .rwt-design-card__body h3,
  .rwt-sns-card__body h3,
  .rwt-seo__item h4,
  .rwt-ai__item h4 {
    font-size: 24px;
  }

  .rwt-seo__panel,
  .rwt-ai__panel {
    transform: translateY(80px);
  }
}

@media (max-width: 767px) {

  .rwt-hero__description p {
    font-size: 18px;
    line-height: 1.9;
  }

  .rwt-design__header h3,
  .rwt-sns__header h3,
  .rwt-seo__header h3,
  .rwt-ai__header h3 {
    font-size: 40px;
  }

  .rwt-seo_footer,
  .rwt-ai_footer,
  .rwt-design__footer p,
  .rwt-sns__footer p {
    font-size: 15px;
  }
}

/* =========================
   INTRO PIN TEST
   ========================= */

/* 共通 */
.rwt-intro {
  position: relative;
  z-index: 3;
  background: transparent;
  color: #111;
}

.rwt-intro__inner {
  width: min(1000px, calc(100% - 64px));
  margin: 0 auto;
  padding: 120px 0;
  position: relative;
}

.rwt-intro__stage {
  position: relative;
  min-height: 320px;
  margin-top: 20px;
}

.rwt-intro__message {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(24px);
  filter: blur(10px);
}

.rwt-intro__num {
  display: inline-block;
  margin-bottom: 14px;
  font-size: 12px;
  letter-spacing: 0.16em;
  color: rgba(17, 17, 17, 0.45);
  font-family: "Noto Sans JP", sans-serif;
}

.rwt-intro__message h2 {
  margin: 0 0 18px;
  font-family: "Noto Serif JP", serif;
  font-size: clamp(28px, 4vw, 56px);
  line-height: 1.18;
  letter-spacing: -0.04em;
  font-weight: 300;
}

.rwt-intro__message p {
  margin: 0;
  max-width: 620px;
  font-size: 16px;
  line-height: 2;
  color: #333;
}

/* SP pin */

@media (max-width: 991px) {
  .rwt-intro {
    min-height: 100svh;
  }
     .rwt-intro__stack {
    min-height: 100svh;
    margin-top: 0;
  }

  .rwt-intro__inner {
    width: min(100% - 32px, 1200px);
    min-height: 100svh;
    margin: 0 auto;
    padding: 0;
    position: relative;
  }

  .rwt-intro__stage {
    position: relative;
    width: 100%;
    height: 100svh;
    min-height: 100svh;
  }

  .rwt-intro__message {
    position: absolute;
    top: 35%;
    left: 0;
    width: 100%;
    padding: 0 24px;
    box-sizing: border-box;
    text-align: center;
    transform: none;
    border: none;
    background: none;
    box-shadow: none;
  }

  .rwt-intro-card {
    grid-template-columns: 1fr;
    gap: 22px;
    min-height: auto;
    padding: 20px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
  }

  .rwt-intro-card__media {
    width: min(100%, 360px);
    margin: 0 auto;
    aspect-ratio: 8 / 11;
    border-radius: 18px;
  }

  .rwt-intro-card__content {
    align-items: flex-start;
  }

  .rwt-intro__message h2 {
    margin: 0 0 16px;
    font-size: 40px;
    line-height: 1.25;
  }

  .rwt-intro__message p {
    max-width: 520px;
    margin: 15px auto;
    font-size: 18px;
    line-height: 1.9;
    text-align: left;
  }
}

/* スクロールダウン */
.scroll {
  position: absolute;
  left: 50%;
  bottom: 100px;
  transform: translateX(-50%);
  z-index: 10;

  writing-mode: vertical-rl;
  font-size: 12px;
  letter-spacing: 0.2em;
  color: #111;
}

/* 線 */
.scroll::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 100%;
  width: 1px;
  height: 80px;
  background: #ffffff;

  transform: translateX(-50%);
  transform-origin: top;

  animation: scrollLine 2s ease-in-out infinite;
}

/* アニメーション */
@keyframes scrollLine {
  0% {
    transform: translateX(-50%) scaleY(0);
    transform-origin: top;
  }
  50% {
    transform: translateX(-50%) scaleY(1);
    transform-origin: top;
  }
  51% {
    transform: translateX(-50%) scaleY(1);
    transform-origin: bottom;
  }
  100% {
    transform: translateX(-50%) scaleY(0);
    transform-origin: bottom;
  }
}

.target-image {
  will-change: transform, opacity;
  overflow: hidden;
}

.target-image img,
.target-image picture,
.target-image picture img {
  display: block;
  width: 100%;
  height: 100%;
  will-change: transform;
  backface-visibility: hidden;
  transform: translateZ(0);
}

.rwt-seo__item img,
.rwt-ai__item img,
.rwt-intro__visual img {
  will-change: transform;
  backface-visibility: hidden;
}

.rwt-about {
  position: relative;
  padding: 120px 0;
  text-align: center;
  color: #fff;
  background: linear-gradient(
    180deg,
    rgba(4, 37, 226, 0.8) 0%,
    rgba(1, 136, 226, 0.9) 40%,
    rgb(7, 0, 70) 100%
  );
}

.rwt-about__inner {
  width: min(800px, calc(100% - 64px));
  margin: 0 auto;
}

.rwt-about__header h3 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 300;
  margin-bottom: 32px;
}

.rwt-about__content p {
  font-size: 16px;
  line-height: 2;
  margin-bottom: 16px;
  color: rgba(255,255,255,0.9);
}

.rwt-about__points ul {
  list-style: none;
  padding: 0;
  margin: 32px 0;
}

.rwt-about__points li {
  margin-bottom: 10px;
  font-size: 15px;
  color: rgba(255,255,255,0.8);
}

.rwt-about__cta {
  margin-top: 32px;
}

/* intro static layout */
.rwt-intro {
  min-height: auto;
  color: #fff;
}

.rwt-intro__inner {
  width: min(1200px, calc(100% - 64px));
  padding: 88px 0 110px;
}

.rwt-intro__panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.9fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}

.rwt-intro__copy {
  max-width: 680px;
}

.rwt-intro__copy--headline {
  grid-column: 1 / -1;
  max-width: 1040px;
}

.rwt-intro__copy--headline h2 {
  margin: 0;
  font-family: "Noto Serif JP", serif;
  font-size: clamp(34px, 4.2vw, 64px);
  line-height: 1.45;
  font-weight: 400;
  color: #fff;
  text-shadow: 0 18px 40px rgba(0, 0, 0, 0.34);
}

.rwt-intro__copy--body {
  grid-column: 1;
  grid-row: 2;
  align-self: start;
  max-width: 620px;
}

.rwt-intro__copy p {
  margin: 0;
  font-size: clamp(22px, 2vw, 30px);
  line-height: 1.9;
  color: rgba(255, 255, 255, 1);
  text-shadow: 0 14px 34px rgba(0, 0, 0, 0.42);
}

.rwt-intro__copy p + p {
  margin-top: 24px;
}

.rwt-intro__visual {
  grid-column: 2;
  grid-row: 2;
  position: relative;
  min-height: 420px;
  border-radius: 28px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.18);
}

.rwt-intro__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(17, 17, 17, 0.1));
  pointer-events: none;
}

.rwt-intro__visual img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  transform: scale(1.06);
}

@media (max-width: 991px) {
  .rwt-intro__inner {
    width: min(100% - 32px, 1200px);
    padding: 72px 0 88px;
  }

  .rwt-intro__panel {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .rwt-intro__copy {
    max-width: none;
  }

  .rwt-intro__copy--headline,
  .rwt-intro__copy--body,
  .rwt-intro__visual {
    grid-column: auto;
    grid-row: auto;
  }

  .rwt-intro__copy--headline h2 {
    font-size: 32px;
    line-height: 1.6;
  }

  .rwt-intro__visual {
    min-height: 320px;
    border-radius: 24px;
  }

  .rwt-intro__visual img {
    min-height: 320px;
    transform: scale(1.02);
  }

  .rwt-intro__copy p {
    font-size: 19px;
    line-height: 1.85;
  }
}

