﻿/* Home composition: リニューアル案.png + indoor bg + device mock */

body.renewal-home {
  background: #f7f1e6;
}

body.renewal-home .rn-wrap {
  max-width: 1520px;
  padding: 0 clamp(20px, 4.2vw, 72px);
}

body.renewal-home .rn-header {
  padding: 14px clamp(12px, 2.6vw, 36px) 0;
}

body.renewal-home .rn-header__inner {
  max-width: 1520px;
  min-height: 80px;
  padding: 12px 12px 12px 24px;
}

body.renewal-home .rn-logo img {
  height: 42px;
}

body.renewal-home .rn-nav {
  gap: 4px;
}

body.renewal-home .rn-nav a {
  padding: 11px 16px;
  font-size: 15px;
}

body.renewal-home .rn-h2 {
  font-family: "Noto Sans JP", var(--font-sans);
  font-weight: 700;
  letter-spacing: 0.02em;
  font-size: clamp(26px, 2.4vw, 40px);
  margin: 0;
}

body.renewal-home .rn-section {
  padding: clamp(56px, 7vw, 96px) 0;
}

body.renewal-home .rn-section--tight {
  padding: clamp(40px, 5vw, 72px) 0;
}

body.renewal-home .rn-btn {
  min-height: 52px;
  padding: 0 26px;
  font-size: 15px;
}

body.renewal-home .rn-btn--ghost {
  background: #fff;
  border-color: rgba(42, 36, 32, 0.16);
}

.rn-head-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 12px 28px;
  margin-bottom: clamp(24px, 3vw, 40px);
}

.rn-head-row .rn-eyebrow {
  margin-bottom: 8px;
  color: var(--accent);
  font-weight: 700;
  font-size: 12px;
}

.rn-head-row__lead {
  margin: 0 0 6px;
  color: var(--ink-soft);
  font-size: clamp(14px, 1.05vw, 16px);
}

/* ===== Hero ===== */
body.renewal-home .rn-hero,
.rn-hero {
  position: relative;
  min-height: clamp(580px, 78svh, 880px);
  padding: 12px 0 0;
  overflow: hidden;
  display: block;
  align-items: unset;
}

.rn-hero__ghost,
.rn-marquee,
.rn-hero__frame,
.rn-hero__bg {
  display: none !important;
}

.rn-hero__scene {
  position: absolute;
  inset: 0 0 0 28%;
  pointer-events: none;
}

.rn-hero__scene img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
}

.rn-hero__scene::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    #f7f1e6 0%,
    rgba(247, 241, 230, 0.72) 14%,
    rgba(247, 241, 230, 0.12) 38%,
    transparent 55%
  );
}

.rn-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(16px, 3vw, 40px);
  align-items: center;
  min-height: clamp(560px, 76svh, 860px);
}

.rn-hero__copy {
  max-width: none;
  width: 100%;
  min-width: 0;
  padding: 8px 0 32px;
  animation: none;
  container-type: inline-size;
  container-name: hero-copy;
}

.rn-hero__locale {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  color: var(--accent-dark);
  font-size: clamp(13px, 1.05vw, 16px);
  font-weight: 800;
  letter-spacing: 0.08em;
}

.rn-hero__locale img {
  width: 1.15em;
  height: 1.15em;
  flex: 0 0 auto;
  display: block;
}

.rn-hero__locale span {
  background: linear-gradient(transparent 68%, rgba(235, 80, 36, 0.18) 68%);
}

.rn-hero__catch {
  margin: 0 0 16px;
  font-size: clamp(14px, 1.15vw, 18px);
  font-weight: 700;
  letter-spacing: 0.04em;
}

.rn-hero__catch::after {
  content: "";
  display: block;
  width: 72px;
  height: 3px;
  margin-top: 12px;
  background: var(--accent);
  border-radius: 2px;
}

.rn-hero__title {
  margin: 0 0 20px;
  font-family: "Noto Sans JP", var(--font-sans);
  font-weight: 800;
  /* 長い2行目「システム開発、AI活用まで。」が列幅に収まるよう、文字サイズを列幅に連動 */
  font-size: clamp(1.5rem, 6.6cqi, 3.25rem);
  line-height: 1.35;
  letter-spacing: 0.01em;
  max-width: none;
}

.rn-hero__title span {
  display: block;
}

.rn-hero__mie {
  font-style: normal;
  color: var(--accent-dark);
  background: linear-gradient(transparent 62%, rgba(235, 80, 36, 0.2) 62%);
}

.rn-hero__sub {
  margin: 0;
  max-width: 38em;
  color: var(--ink-soft);
  font-size: clamp(13px, 1.05vw, 16px);
  line-height: 1.85;
}

.rn-hero__kv {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  min-height: 0;
  align-self: stretch;
}

.rn-hero__kv img {
  width: min(100%, 920px);
  max-width: none;
  height: auto;
  mix-blend-mode: normal;
  transform: none;
  filter: drop-shadow(0 22px 36px rgba(42, 36, 32, 0.16));
}

@media (min-width: 1100px) {
  .rn-hero__grid {
    grid-template-columns: minmax(28rem, 0.92fr) minmax(0, 1.08fr);
  }

  .rn-hero__title span {
    white-space: nowrap;
  }

  .rn-hero__kv {
    margin-right: -3vw;
    padding-bottom: 2vh;
  }

  .rn-hero__kv img {
    width: 108%;
  }
}

@media (min-width: 1400px) {
  .rn-hero__grid {
    grid-template-columns: minmax(36rem, 0.95fr) minmax(0, 1.05fr);
  }

  .rn-hero__title {
    font-size: clamp(2.1rem, 6.8cqi, 3.4rem);
  }
}

@media (min-width: 1600px) {
  body.renewal-home .rn-wrap,
  body.renewal-home .rn-header__inner {
    max-width: 1640px;
  }

  body.renewal-home .rn-header__inner {
    min-height: 84px;
  }

  body.renewal-home .rn-logo img {
    height: 46px;
  }

  .rn-hero__kv img {
    width: 110%;
  }
}

@media (max-width: 1099px) {
  .rn-hero {
    min-height: auto;
  }

  .rn-hero__scene {
    inset: 46% 0 0 0;
  }

  .rn-hero__scene::after {
    background: linear-gradient(180deg, #f7f1e6 0%, rgba(247, 241, 230, 0.2) 28%, transparent 55%);
  }

  .rn-hero__grid {
    min-height: auto;
    padding-top: 12px;
  }

  .rn-hero__copy {
    max-width: none;
    padding-bottom: 8px;
  }

  .rn-hero__title {
    font-size: clamp(1.55rem, 5.2vw, 2.6rem);
  }

  .rn-hero__kv {
    justify-content: center;
  }

  .rn-hero__kv img {
    width: min(100%, 640px);
  }
}

@media (max-width: 639px) {
  .rn-hero__title {
    font-size: clamp(1.45rem, 6.6vw, 1.85rem);
  }

  .rn-hero__title span {
    white-space: normal;
  }

  body.renewal-home .rn-header__inner {
    min-height: 64px;
  }

  body.renewal-home .rn-logo img {
    height: 32px;
  }
}

/* ===== Service cards ===== */
.rn-svc {
  display: grid;
  gap: clamp(14px, 1.4vw, 22px);
}

.rn-svc__card {
  position: relative;
  display: block;
  min-height: 230px;
  padding: 28px 24px 52px;
  background: #fff;
  border: 1px solid #f0d9c4;
  border-radius: 24px;
  box-shadow: 0 10px 28px rgba(139, 94, 75, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.rn-svc__card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(139, 94, 75, 0.1);
}

.rn-svc__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: rgba(235, 80, 36, 0.1);
  color: var(--accent);
}

.rn-svc__icon svg {
  width: 24px;
  height: 24px;
}

.rn-svc__card h2,
.rn-svc__card h3 {
  margin: 0 0 12px;
  font-family: "Noto Sans JP", var(--font-sans);
  font-size: clamp(16px, 1.15vw, 19px);
  font-weight: 700;
}

.rn-svc__card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: clamp(13px, 0.95vw, 15px);
  line-height: 1.8;
}

.rn-svc__go {
  position: absolute;
  right: 20px;
  bottom: 18px;
  color: var(--accent);
  font-size: 24px;
  line-height: 1;
}

@media (min-width: 900px) {
  .rn-svc {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ===== Service overview blocks ===== */
.rn-h3 {
  margin: 0;
  font-family: "Noto Sans JP", var(--font-sans);
  font-weight: 700;
  font-size: clamp(20px, 1.8vw, 28px);
  letter-spacing: 0.02em;
}

.rn-svc-detail__intro .rn-eyebrow {
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 8px;
}

.rn-svc-detail__intro .rn-lead {
  margin-top: 14px;
  max-width: 42rem;
}

.rn-svc-detail__list {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
  max-width: 40rem;
}

.rn-svc-detail__list li {
  position: relative;
  padding-left: 1.15em;
  color: var(--ink-soft);
  font-size: clamp(14px, 1vw, 16px);
  line-height: 1.7;
}

.rn-svc-detail__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 0.45em;
  height: 0.45em;
  border-radius: 50%;
  background: var(--accent);
}

.rn-svc-detail .rn-actions {
  margin-top: 28px;
}

.rn-svc-detail--split {
  display: grid;
  gap: 28px;
  align-items: center;
}

@media (min-width: 900px) {
  .rn-svc-detail--split {
    grid-template-columns: 1.2fr 0.8fr;
    gap: 48px;
  }
}

/* ===== Support / maintenance ===== */
.rn-support {
  display: grid;
  gap: clamp(22px, 3vw, 36px);
  max-width: 920px;
  margin-inline: auto;
}

.rn-support__head {
  text-align: left;
}

.rn-support__catch {
  min-height: 2.6em;
  margin: 10px 0 0;
  color: var(--ink);
  font-family: "Noto Sans JP", var(--font-sans);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.35;
}

.rn-typewriter.is-typing::after {
  content: "";
  display: inline-block;
  width: 2px;
  height: 0.9em;
  margin-left: 0.08em;
  background: var(--accent);
  vertical-align: -0.05em;
  animation: rn-typewriter-caret 0.72s steps(1, end) infinite;
}

@keyframes rn-typewriter-caret {
  0%,
  48% {
    opacity: 1;
  }
  49%,
  100% {
    opacity: 0;
  }
}

.rn-support__lead {
  margin: 16px 0 0;
  max-width: 40em;
  color: var(--ink-soft);
  font-size: clamp(14px, 1.1vw, 16px);
  line-height: 1.85;
}

.rn-support__needs {
  display: grid;
  gap: 12px;
}

.rn-support__need {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  align-items: start;
  padding: 20px 22px;
  border-radius: 16px;
  background: #f7f1e6;
}

.rn-support__need-icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 12px;
  background: #fff;
  color: var(--accent);
  box-shadow: 0 1px 0 rgba(42, 36, 32, 0.04);
}

.rn-support__need-icon svg {
  width: 22px;
  height: 22px;
}

.rn-support__need h3 {
  margin: 2px 0 6px;
  color: var(--ink);
  font-size: clamp(15px, 1.15vw, 17px);
  font-weight: 800;
  line-height: 1.45;
}

.rn-support__need p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.75;
}

.rn-support__detail {
  padding: clamp(22px, 3vw, 28px);
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(42, 36, 32, 0.08);
}

.rn-support__detail h3 {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: clamp(16px, 1.3vw, 19px);
  font-weight: 800;
  line-height: 1.5;
}

.rn-support__detail p {
  margin: 0 0 12px;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.85;
}

.rn-support__detail p:last-child {
  margin-bottom: 0;
}

.rn-support__plan {
  padding: clamp(24px, 3vw, 36px);
  border: 1px solid rgba(42, 36, 32, 0.1);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(73, 58, 42, 0.05);
}

.rn-support__plan-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 16px;
}

.rn-support__plan-top h3 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(18px, 1.5vw, 22px);
  font-weight: 800;
}

.rn-support__badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  background: #6f9d6a;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.rn-support__price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 18px 0 0;
  color: var(--accent-dark);
  white-space: nowrap;
}

.rn-support__price span {
  font-size: 16px;
  font-weight: 700;
}

.rn-support__price strong {
  font-family: var(--font-sans);
  font-size: clamp(40px, 5vw, 56px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
}

.rn-support__plan ul {
  display: grid;
  gap: 12px;
  margin: 20px 0 0;
  padding: 20px 0 0;
  border-top: 1px solid rgba(42, 36, 32, 0.1);
  list-style: none;
}

.rn-support__plan li {
  position: relative;
  padding-left: 1.7em;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.65;
}

.rn-support__plan li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 800;
}

.rn-support__note {
  margin: 18px 0 0;
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.7;
}

.rn-support__cta {
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: clamp(28px, 4vw, 40px) 24px;
  border-radius: 18px;
  background: #f7f1e6;
  text-align: center;
}

.rn-support__cta-icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  margin-bottom: 4px;
  border-radius: 50%;
  background: #fff;
  color: var(--accent);
}

.rn-support__cta-icon svg {
  width: 22px;
  height: 22px;
}

.rn-support__cta-title {
  margin: 0;
  color: var(--ink);
  font-size: clamp(16px, 1.4vw, 20px);
  font-weight: 800;
  line-height: 1.5;
}

.rn-support__cta-text {
  margin: 0 0 10px;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.7;
}

@media (min-width: 720px) {
  .rn-support__needs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  .rn-typewriter.is-typing::after {
    animation: none;
  }
}

/* ===== System home (docs/references/システム開発.md) ===== */
.rn-sys-home {
  margin: clamp(20px, 3vw, 40px) 0;
  padding: clamp(48px, 6vw, 84px) 0;
  background:
    radial-gradient(900px 420px at 100% 0%, rgba(235, 80, 36, 0.08), transparent 55%),
    linear-gradient(180deg, #fffdf8, #f7f1e6);
}

.rn-sys-home__hero {
  display: grid;
  gap: 28px;
  align-items: center;
  margin-bottom: clamp(28px, 4vw, 40px);
}

.rn-sys-home__label {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.rn-sys-home__title {
  margin: 0;
  font-family: "Noto Sans JP", var(--font-sans);
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  font-weight: 800;
}

.rn-sys-home__catch {
  margin: 14px 0 0;
  font-size: clamp(15px, 1.2vw, 18px);
  font-weight: 700;
  line-height: 1.7;
}

.rn-sys-home__lead {
  margin: 12px 0 24px;
  max-width: 38rem;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.9;
}

.rn-sys-home__visual {
  justify-self: center;
  width: min(100%, 520px);
}

.rn-sys-home-mock {
  padding: 14px;
  border-radius: 22px;
  background: #fff;
  border: 1px solid #f0d9c4;
  box-shadow: 0 20px 44px rgba(139, 94, 75, 0.1);
}

.rn-sys-home-mock__bar {
  display: flex;
  gap: 6px;
  margin-bottom: 12px;
}

.rn-sys-home-mock__bar i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #e7d5c4;
}

.rn-sys-home-mock__bar i:first-child { background: #eb5024; }

.rn-sys-home-mock__grid {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 10px;
  min-height: 210px;
  padding: 12px;
  border-radius: 14px;
  background: linear-gradient(160deg, #fff7f2, #f4ebe0);
}

.rn-sys-home-mock__side {
  border-radius: 10px;
  background: rgba(235, 80, 36, 0.14);
}

.rn-sys-home-mock__main {
  display: grid;
  gap: 10px;
}

.rn-sys-home-mock__metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.rn-sys-home-mock__metrics span {
  height: 46px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid #f0d9c4;
}

.rn-sys-home-mock__chart {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 78px;
  padding: 10px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid #f0d9c4;
}

.rn-sys-home-mock__chart b {
  flex: 1;
  border-radius: 6px 6px 2px 2px;
  background: linear-gradient(180deg, #ff9a72, #eb5024);
}

.rn-sys-home-mock__chart b:nth-child(1) { height: 42%; }
.rn-sys-home-mock__chart b:nth-child(2) { height: 68%; }
.rn-sys-home-mock__chart b:nth-child(3) { height: 54%; }
.rn-sys-home-mock__chart b:nth-child(4) { height: 86%; }
.rn-sys-home-mock__chart b:nth-child(5) { height: 72%; }

.rn-sys-home-mock__rows {
  display: grid;
  gap: 8px;
}

.rn-sys-home-mock__rows em {
  display: block;
  height: 10px;
  border-radius: 999px;
  background: rgba(42, 36, 32, 0.08);
}

.rn-sys-home-mock__rows em:nth-child(2) {
  width: 78%;
  background: rgba(235, 80, 36, 0.16);
}

.rn-sys-home-pain {
  margin-bottom: 22px;
}

.rn-sys-home-pain__title {
  margin: 0 0 12px;
  font-size: clamp(16px, 1.3vw, 18px);
  font-weight: 700;
}

.rn-sys-home-pain__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.rn-sys-home-pain__list span {
  padding: 8px 12px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #f0d9c4;
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-soft);
}

.rn-sys-home-types {
  display: grid;
  gap: 12px;
  margin-bottom: 22px;
}

.rn-sys-home-types article {
  padding: 18px 16px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid #f0d9c4;
  box-shadow: 0 8px 22px rgba(139, 94, 75, 0.05);
}

.rn-sys-home-types strong {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
}

.rn-sys-home-types p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 12px;
}

.rn-sys-home-lane {
  margin-bottom: 28px;
}

.rn-sys-home-foot {
  display: grid;
  gap: 16px;
  justify-items: start;
  padding-top: 8px;
}

.rn-sys-home-foot p {
  margin: 0;
  font-size: clamp(15px, 1.3vw, 18px);
  font-weight: 700;
  line-height: 1.7;
}

@media (min-width: 800px) {
  .rn-sys-home-types {
    grid-template-columns: repeat(3, 1fr);
  }

}

@media (min-width: 960px) {
  .rn-sys-home__hero {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 48px;
  }

  .rn-sys-home__visual {
    width: 100%;
    justify-self: end;
  }

  .rn-sys-home-types {
    grid-template-columns: repeat(6, 1fr);
  }

  .rn-sys-home-foot {
    grid-template-columns: 1fr auto;
    align-items: center;
  }
}

/* ===== Web production (ref: webサイト制作.png) ===== */
.rn-web__hero {
  display: grid;
  gap: 28px;
  align-items: center;
  margin-bottom: clamp(36px, 5vw, 56px);
}

.rn-web__label {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.rn-web__title {
  margin: 0;
  font-family: "Noto Sans JP", var(--font-sans);
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.3;
}

.rn-web__catch {
  margin: 14px 0 0;
  font-size: clamp(15px, 1.2vw, 18px);
  font-weight: 700;
  line-height: 1.7;
  color: var(--ink);
}

.rn-web__lead {
  margin: 12px 0 24px;
  max-width: 36rem;
  color: var(--ink-soft);
  font-size: clamp(13px, 1vw, 15px);
  line-height: 1.9;
}

.rn-web__device {
  justify-self: center;
  width: min(100%, 560px);
}

.rn-web__device img {
  width: 100%;
  height: auto;
}

.rn-web-section-head {
  max-width: 700px;
  margin: 0 auto 32px;
  text-align: center;
}

.rn-web-section-head > span {
  color: var(--accent);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.rn-web-section-head h3 {
  margin: 10px 0 0;
  color: var(--ink);
  font-size: clamp(24px, 2.6vw, 38px);
  line-height: 1.45;
}

.rn-web-section-head p {
  margin: 12px auto 0;
  color: var(--ink-soft);
  font-size: clamp(14px, 1vw, 16px);
  line-height: 1.9;
}

.rn-web-features {
  margin-top: clamp(54px, 7vw, 88px);
}

.rn-web-feature-map {
  position: relative;
  display: grid;
  gap: 14px;
}

.rn-web-feature-map__lines {
  display: none;
}

.rn-web-feature-hub {
  display: flex;
  width: min(210px, 68vw);
  aspect-ratio: 1;
  margin: 0 auto 10px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  border: 1px solid rgba(242, 79, 35, 0.3);
  border-radius: 50%;
  background: #292521;
  color: #fff;
  text-align: center;
  box-shadow: 0 22px 46px rgba(42, 36, 32, 0.17);
}

.rn-web-feature-hub span {
  color: #ff8a68;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.rn-web-feature-hub strong {
  margin-top: 10px;
  font-size: clamp(22px, 2vw, 30px);
}

.rn-web-feature-hub p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.65);
  font-size: 12px;
}

.rn-web-feature {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 22px;
  border: 1px solid rgba(42, 36, 32, 0.09);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 12px 30px rgba(80, 57, 42, 0.06);
}

.rn-web-feature__icon {
  display: grid;
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 14px;
  background: #fff0e9;
  color: var(--accent);
}

.rn-web-feature__icon svg {
  width: 25px;
  height: 25px;
}

.rn-web-feature h4 {
  margin: 1px 0 6px;
  color: var(--ink);
  font-size: clamp(16px, 1.2vw, 19px);
}

.rn-web-feature p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.75;
}

.rn-web-cases {
  margin-top: clamp(72px, 9vw, 116px);
}

.rn-web-section-head--cases {
  margin-bottom: 28px;
}

.rn-web-case-tabs {
  display: grid;
  gap: 14px;
}

.rn-web-case-tab {
  position: relative;
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 4px 16px;
  width: 100%;
  padding: 12px;
  overflow: hidden;
  border: 1px solid rgba(42, 36, 32, 0.1);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.7);
  color: var(--ink);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.rn-web-case-tab:hover,
.rn-web-case-tab.is-active {
  border-color: rgba(242, 79, 35, 0.45);
  box-shadow: 0 14px 32px rgba(105, 67, 48, 0.11);
  transform: translateY(-3px);
}

.rn-web-case-tab:focus-visible {
  outline: 3px solid rgba(242, 79, 35, 0.25);
  outline-offset: 3px;
}

.rn-web-case-tab__image {
  grid-row: 1 / 4;
  overflow: hidden;
  border-radius: 13px;
  background: #eee6dd;
}

.rn-web-case-tab__image img {
  width: 100%;
  height: 100%;
  min-height: 100px;
  object-fit: cover;
}

.rn-web-case-tab__image--contain {
  padding: 16px;
  background: #f4f8fb;
}

.rn-web-case-tab__image--contain img {
  object-fit: contain;
}

.rn-web-case-tab__num {
  align-self: end;
  color: var(--accent);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.rn-web-case-tab strong {
  align-self: center;
  font-size: 15px;
  line-height: 1.45;
}

.rn-web-case-tab small {
  color: var(--ink-soft);
  font-size: 11px;
  line-height: 1.5;
}

.rn-web-case-panels {
  margin-top: 20px;
}

.rn-web-case-panel {
  display: grid;
  gap: 0;
  overflow: hidden;
  border: 1px solid rgba(42, 36, 32, 0.09);
  border-radius: clamp(22px, 3vw, 32px);
  background: #fff;
  box-shadow: 0 20px 50px rgba(78, 54, 40, 0.08);
}

.rn-web-case-panel[hidden] {
  display: none;
}

.rn-web-case-panel.is-active {
  animation: rn-web-case-in 0.42s ease-out both;
}

.rn-web-case-panel__image {
  min-height: 240px;
  background: #eee6dd;
}

.rn-web-case-panel__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rn-web-case-panel__image--contain {
  display: grid;
  padding: clamp(36px, 7vw, 90px);
  place-items: center;
  background: #f4f8fb;
}

.rn-web-case-panel__image--contain img {
  object-fit: contain;
}

.rn-web-case-panel__body {
  padding: clamp(26px, 4vw, 52px);
}

.rn-web-case-panel__body > span {
  color: var(--accent);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.rn-web-case-panel h4 {
  margin: 10px 0 0;
  color: var(--ink);
  font-size: clamp(22px, 2.3vw, 34px);
  line-height: 1.5;
}

.rn-web-case-panel__body > p {
  margin: 14px 0 0;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.9;
}

.rn-web-case-panel ul {
  display: grid;
  gap: 10px;
  margin: 24px 0 28px;
  padding: 0;
  list-style: none;
}

.rn-web-case-panel li {
  position: relative;
  padding-left: 1.55em;
  color: var(--ink-soft);
  font-size: 14px;
}

.rn-web-case-panel li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 800;
}

@keyframes rn-web-case-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (min-width: 900px) {
  .rn-web__hero {
    grid-template-columns: 1fr 1.05fr;
    gap: 40px;
  }

  .rn-web__device {
    width: 100%;
    max-width: none;
    justify-self: end;
  }

  .rn-web-feature-map {
    grid-template-columns: minmax(0, 1fr) minmax(210px, 0.72fr) minmax(0, 1fr);
    grid-template-rows: minmax(170px, auto) minmax(120px, auto) minmax(170px, auto);
    gap: 22px 40px;
    align-items: center;
    min-height: 620px;
  }

  .rn-web-feature-map__lines {
    position: absolute;
    z-index: 0;
    display: block;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: visible;
    fill: var(--accent);
    stroke: rgba(242, 79, 35, 0.28);
    stroke-width: 2;
    stroke-dasharray: 7 9;
  }

  .rn-web-feature-hub,
  .rn-web-feature {
    position: relative;
    z-index: 1;
  }

  .rn-web-feature-hub {
    grid-column: 2;
    grid-row: 2;
    width: min(100%, 230px);
    margin: 0 auto;
  }

  .rn-web-feature {
    min-height: 156px;
    align-items: center;
    padding: 26px;
  }

  .rn-web-feature--design {
    grid-column: 1;
    grid-row: 1;
  }

  .rn-web-feature--speed {
    grid-column: 3;
    grid-row: 1;
  }

  .rn-web-feature--connect {
    grid-column: 1;
    grid-row: 3;
  }

  .rn-web-feature--admin {
    grid-column: 3;
    grid-row: 3;
  }

  .rn-web-case-tabs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
  }

  .rn-web-case-tab {
    display: block;
    padding: 14px;
  }

  .rn-web-case-tab__image {
    display: block;
    aspect-ratio: 16 / 9;
    margin-bottom: 16px;
  }

  .rn-web-case-tab__image img {
    min-height: 0;
  }

  .rn-web-case-tab__num,
  .rn-web-case-tab strong,
  .rn-web-case-tab small {
    display: block;
  }

  .rn-web-case-tab strong {
    margin-top: 6px;
    font-size: 17px;
  }

  .rn-web-case-tab small {
    margin-top: 7px;
  }

  .rn-web-case-panel {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    min-height: 500px;
  }

  .rn-web-case-panel ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  .rn-web-case-tab,
  .rn-web-case-panel.is-active {
    animation: none;
    transition: none;
  }
}

/* ===== Graphic flipbook (from previous top) ===== */
.rn-hero {
  overflow-x: clip;
}

#graphic.rn-section,
#graphic.rn-section--tight {
  overflow: visible;
  padding-block: clamp(72px, 8vw, 96px);
}

.rn-graphic {
  display: grid;
  gap: 28px;
  align-items: center;
  overflow: visible;
}

.rn-graphic__copy .rn-eyebrow {
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 8px;
}

.rn-graphic__copy .rn-lead {
  margin-top: 14px;
}

.rn-graphic__stage {
  width: 100%;
  max-width: 560px;
  aspect-ratio: 1.3;
  margin-inline: auto;
  background: transparent;
  border: 0;
  box-shadow: none;
  border-radius: 0;
  overflow: visible;
  padding: 12px 0;
}

.graphic_container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  gap: 0;
  perspective: 1500px;
  -webkit-perspective: 1500px;
  transform-style: preserve-3d;
  -webkit-transform-style: preserve-3d;
}

.graphic_container .left_page,
.graphic_container .right_page,
.graphic_container .middle_page {
  width: calc(100% / 3 + 4px);
  height: 100%;
  position: relative;
  flex: 0 0 auto;
  transition: transform 2s ease-in-out;
  transform-style: preserve-3d;
  -webkit-transform-style: preserve-3d;
  transform-origin: left;
  will-change: transform;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.graphic_container .left_page .graphic_img,
.graphic_container .right_page .graphic_img,
.graphic_container .middle_page .graphic_img {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  max-width: none;
  object-fit: cover;
  object-position: top center;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.graphic_container .left_page .graphic_img:nth-child(1),
.graphic_container .right_page .graphic_img:nth-child(1),
.graphic_container .middle_page .graphic_img:nth-child(1) {
  transform: rotateY(-180deg) translateZ(1px);
}

.graphic_container .left_page {
  transform-origin: right center;
  z-index: 3;
  margin-right: -6px; /* 左〜中央の隙間を閉じる */
}

.graphic_container .left_page .graphic_img {
  object-position: right top;
}

.graphic_container .middle_page {
  z-index: 1;
  margin-left: -2px;
  margin-right: -2px;
}

.graphic_container .middle_page .graphic_img {
  object-position: left top; /* 左ページ側に寄せて継ぎ目を埋める */
}

.graphic_container .right_page {
  transform-origin: left center;
  z-index: 2;
  margin-left: -4px;
}

.graphic_container .right_page .graphic_img {
  object-position: left top;
}

.graphic_container .fold_left {
  transform: rotateY(180deg);
  -webkit-transform: rotateY(180deg);
}

.graphic_container .fold_right {
  transform: rotateY(-180deg);
  -webkit-transform: rotateY(-180deg);
}

@media (min-width: 900px) {
  .rn-graphic {
    grid-template-columns: 0.78fr 1.22fr;
    gap: 48px;
  }

  .rn-graphic__stage {
    max-width: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .graphic_container .left_page,
  .graphic_container .right_page,
  .graphic_container .middle_page {
    transition: none;
  }
}

/* ===== Blog ===== */
.rn-blog-grid {
  display: grid;
  gap: 16px;
}

.rn-blog-card {
  display: grid;
  gap: 14px;
  overflow: hidden;
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(42, 36, 32, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.rn-blog-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(73, 58, 42, 0.08);
}

.rn-blog-card__media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #efe7db;
}

.rn-blog-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rn-blog-card__body {
  display: grid;
  gap: 10px;
  padding: 0 18px 18px;
}

.rn-blog-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: var(--ink-soft);
  font-size: 12px;
}

.rn-blog-card__meta span {
  color: var(--accent-dark);
  font-weight: 700;
}

.rn-blog-card h3 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(15px, 1.2vw, 17px);
  font-weight: 800;
  line-height: 1.55;
}

.rn-blog-actions {
  margin-top: 28px;
}

@media (min-width: 760px) {
  .rn-blog-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* ===== About ===== */
.rn-about-grid {
  display: grid;
  gap: 12px;
}

.rn-about-grid article {
  padding: 20px 22px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(42, 36, 32, 0.08);
}

.rn-about-grid h3 {
  margin: 0 0 8px;
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.rn-about-grid p {
  margin: 0;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.75;
}

.rn-about-actions {
  margin-top: 28px;
}

@media (min-width: 760px) {
  .rn-about-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ===== Works ===== */
.rn-works-layout {
  display: grid;
  gap: 32px;
}

.rn-works-layout__copy .rn-eyebrow {
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 8px;
}

.rn-works-layout__copy .rn-lead {
  margin: 16px 0 24px;
  max-width: 22em;
  font-size: clamp(14px, 1.05vw, 16px);
}

.rn-works-layout__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(12px, 1.2vw, 20px);
}

.rn-works-layout__grid--solo {
  grid-template-columns: 1fr;
  max-width: 420px;
}

.rn-thumb__media--contain {
  display: grid;
  place-items: center;
  padding: clamp(20px, 3vw, 36px);
  background: #fff;
}

.rn-thumb__media--contain img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 72%;
  object-fit: contain;
}

.rn-thumb {
  display: block;
}

.rn-thumb__media {
  overflow: hidden;
  border-radius: 16px;
  aspect-ratio: 16 / 11;
  background: #e9dfd0;
}

.rn-thumb__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rn-thumb__media--ui,
.rn-thumb__media--ai {
  display: grid;
  grid-template-columns: 72px 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 10px;
  padding: 14px;
  background: linear-gradient(160deg, #e8f1fb, #d5e4f4);
}

.rn-thumb__media--ui span,
.rn-thumb__media--ai span {
  display: block;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 4px 12px rgba(30, 50, 80, 0.08);
}

.rn-thumb__media--ui span:first-child,
.rn-thumb__media--ai span:first-child {
  grid-row: 1 / 3;
}

.rn-thumb__media--ai {
  background: linear-gradient(160deg, #e7eefc, #d9e0f6);
}

.rn-thumb__media--solo {
  display: grid;
  place-items: center;
  background: #fff;
  border: 1px solid var(--line);
}

.rn-thumb__media--solo strong {
  letter-spacing: 0.16em;
  font-size: clamp(16px, 1.2vw, 20px);
}

.rn-thumb__label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
  font-size: clamp(13px, 0.95vw, 15px);
  font-weight: 700;
}

.rn-thumb__label span {
  color: var(--accent);
  font-weight: 400;
  font-size: 18px;
}

@media (min-width: 1100px) {
  .rn-works-layout {
    grid-template-columns: 0.68fr 1.32fr;
    align-items: center;
    gap: 48px;
  }

  .rn-works-layout__grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .rn-works-layout__grid--solo {
    grid-template-columns: 1fr;
    max-width: 480px;
    justify-self: start;
  }
}

.rn-works {
  display: grid;
  gap: 28px;
}

.rn-work {
  display: grid;
  gap: 14px;
}

.rn-work__media {
  border-radius: 16px;
  overflow: hidden;
  background: #e6dccb;
  aspect-ratio: 16 / 10;
}

.rn-work__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rn-work__cat {
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--brown);
}

.rn-work__title {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
}

.rn-work__text {
  margin: 0;
  color: var(--ink-soft);
  font-size: 13px;
}

@media (min-width: 800px) {
  .rn-works {
    grid-template-columns: repeat(3, 1fr);
  }
}

.rn-solo-feature {
  display: grid;
  gap: 28px;
  margin-top: 8px;
}

.rn-solo-feature__image {
  overflow: hidden;
  border-radius: 18px;
  aspect-ratio: 1200 / 630;
  background: #fff;
  border: 1px solid var(--line);
}

.rn-solo-feature__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rn-solo-feature__brand {
  display: block;
  margin-bottom: 8px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.rn-solo-feature__body h3 {
  margin: 0 0 10px;
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 700;
  line-height: 1.35;
}

.rn-solo-feature__kicker {
  margin: 0 0 16px;
  color: var(--ink-soft);
  font-size: clamp(14px, 1.05vw, 16px);
}

.rn-solo-feature__body > p {
  margin: 0 0 20px;
  color: var(--ink-soft);
  line-height: 1.8;
}

.rn-solo-feature__cols {
  display: grid;
  gap: 20px;
  margin-bottom: 24px;
}

.rn-solo-feature__cols h4,
.rn-solo-detail h3 {
  margin: 0 0 10px;
  font-size: 15px;
  font-weight: 700;
}

.rn-solo-feature__cols ul,
.rn-solo-detail ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.rn-solo-feature__cols li,
.rn-solo-detail li {
  position: relative;
  padding-left: 1.1em;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.65;
}

.rn-solo-feature__cols li::before,
.rn-solo-detail li::before {
  content: "·";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

.rn-solo-detail {
  display: grid;
  gap: 28px;
  margin-top: 40px;
}

@media (min-width: 800px) {
  .rn-solo-feature {
    grid-template-columns: 0.85fr 1.15fr;
    align-items: start;
    gap: 40px;
  }

  .rn-solo-feature__cols,
  .rn-solo-detail {
    grid-template-columns: 1fr 1fr;
  }
}

.rn-product {
  display: grid;
  gap: 28px;
  align-items: center;
}

.rn-product__title {
  margin: 0 0 12px;
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 700;
}

.rn-product__text {
  margin: 0 0 16px;
  color: var(--ink-soft);
  line-height: 1.8;
}

.rn-product__panel {
  min-height: 220px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.rn-product__panel--logo {
  overflow: hidden;
  padding: 0;
  aspect-ratio: 1200 / 630;
  min-height: 0;
}

.rn-product__panel--logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (min-width: 860px) {
  .rn-product {
    grid-template-columns: 1.05fr 0.95fr;
  }
}

.rn-contact {
  background: transparent;
  padding: 56px 0 110px;
}

.rn-form {
  margin: 0;
  max-width: 760px;
  padding: 8px 0 0;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
}

#category_form.is-auto-selected {
  border-color: var(--accent);
  animation: rn-contact-select-highlight 1.4s ease-out;
}

@keyframes rn-contact-select-highlight {
  0% {
    box-shadow: 0 0 0 0 rgba(242, 79, 35, 0.32);
  }
  55% {
    box-shadow: 0 0 0 7px rgba(242, 79, 35, 0.08);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(242, 79, 35, 0);
  }
}

@media (min-width: 900px) {
  .rn-form {
    margin: 0;
    padding: 8px 0 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  #category_form.is-auto-selected {
    animation: none;
  }
}

.rn-bento {
  display: grid;
  gap: 16px;
}

.rn-bento__item {
  display: flex;
  flex-direction: column;
  min-height: 180px;
  padding: 26px;
  border-radius: 22px;
  background: #fff;
  border: 1px solid #f0d9c4;
}

.rn-bento__num {
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--brown);
}

.rn-bento__item h2,
.rn-bento__item h3 {
  margin: 14px 0 8px;
  font-size: 20px;
}

.rn-bento__item p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
}

.rn-bento__go {
  margin-top: auto;
  padding-top: 16px;
  color: var(--accent);
  font-size: 13px;
}

.rn-bento__sys {
  background: #171c23;
  color: #fff;
  border-color: transparent;
}

.rn-bento__sys p,
.rn-bento__sys .rn-bento__num {
  color: #a8b0bd;
}

.rn-bento__sys .rn-bento__go {
  color: #ff7a4d;
}

@media (min-width: 860px) {
  .rn-bento {
    grid-template-columns: 1.1fr 0.9fr;
  }

  .rn-bento__sys {
    grid-column: 2;
    grid-row: 1 / 3;
  }

  .rn-bento__ops {
    grid-column: 1 / -1;
  }
}

body.renewal-home .rn-footer::before {
  content: none;
}
