/* ===== UTILITY ===== */
/* モバイルのみ改行 */
.br-mobile { display: none; }
@media (max-width: 768px) {
  .br-mobile { display: block; }
}

/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Noto Sans JP', sans-serif;
  color: #1e293b;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url('images/hero-bg-noise.png');
  background-size: 320px 320px;
  background-repeat: repeat;
  background-size: 30%;
  background-blend-mode:hard-light;
  opacity: 0.06;
  pointer-events: none;
  z-index: 100;
}

img {
  display: block;
  max-width: 100%;
}

p {
  margin: 0;
}

a {
  text-decoration: none;
}

/* ===== SCROLL ANIMATION ===== */
.anim-up,
.anim-left,
.anim-right {
  opacity: 0;
  transition: opacity 0.62s cubic-bezier(0.25, 1, 0.4, 1),
              transform 0.62s cubic-bezier(0.25, 1, 0.4, 1);
}

.anim-up {
  transform: translateY(24px);
}

.anim-left {
  transform: translateX(-32px);
}

.anim-right {
  transform: translateX(32px);
}

.anim-up.in-view,
.anim-left.in-view,
.anim-right.in-view {
  opacity: 1;
  transform: none;
}

.anim-delay-1 {
  transition-delay: 0.12s;
}

.anim-delay-2 {
  transition-delay: 0.22s;
}

.anim-delay-3 {
  transition-delay: 0.32s;
}

.anim-delay-4 {
  transition-delay: 0.42s;
}

/* ===== BROB ROTATION ===== */
@keyframes brobSpin {
  to {
    transform: rotate(360deg);
  }
}

.brob-rotate {
  animation: brobSpin 40s linear infinite;
  transform-origin: center center;
}

/* ===== LOGO MARQUEE ===== */
@keyframes marquee {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}


/* ===== PERSON ILLUSTRATION ===== */
.person-illust {
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: 0.6s;
}

.person-illust.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
       HERO
    ============================================================ */
.hero {
  position: relative;
  width: 100%;
  min-height: 768px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 0;
  overflow: hidden;
}

.hero-bg-img {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.hero-bg-img>img {
  position: absolute;
  width: 100%;
  height: 187.5%;
  top: -28.06%;
  left: -0.03%;
  max-width: none;
}

.hero-bg-noise {
  position: absolute;
  inset: 0;
  opacity: 0.08;
  background-size: 1440px 768px;
  background-position: top left;
  pointer-events: none;
  z-index: 1;
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  z-index: 2;
  max-width: none;
}

.hero-brob {
  position: absolute;
  left: auto;
  right: -80px;
  top: -170px;
  width: 1019px;
  height: 1073px;
  pointer-events: none;
  z-index: 3;
}

.hero-brob img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
}

.hero-inner {
  position: relative;
  z-index: 4;
  width: 100%;
  max-width: 1168px;
  padding: 0 24px;
}

.hero-layout {
  display: flex;
  gap: 60px;
  align-items: center;
}

.hero-copy {
  flex-shrink: 0;
  width: 489px;
  display: flex;
  flex-direction: column;
  gap: 39px;
}

.hero-logo {
  height: 64px;
  width: auto;
  align-self: flex-start;
  margin-bottom: 12px;
}

.hero-heading-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.hero-h1 {
  font-weight: 700;
  line-height: 1.372;
  letter-spacing: -1px;
  white-space: nowrap;
  font-style: normal;
}

.hero-h1 .line1 {
  display: block;
  font-size: 0;
}

.hero-h1 .text-main {
  font-size: 48px;
  color: #062c15;
  position: relative;
  display: inline-block;
  padding: 2px 10px;
  z-index: 0;
}

.hero-h1 .text-main::before {
  content: '';
  position: absolute;
  inset: 0;
  background: #ffffff;
  transform: scaleX(0);
  transform-origin: left center;
  z-index: -1;
}

@keyframes zabuton-in {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}

.anim-up.in-view .text-main::before {
  animation: zabuton-in 0.55s cubic-bezier(0.16, 1, 0.3, 1) 0.65s both;
}

.hero-h1 .text-de {
  font-size: 40px;
  color: #fff;
  padding-left: 2px;
}

.hero-h1 .text-sub {
  display: block;
  font-size: 44px;
  color: #fff;
  letter-spacing: 0.6px;
  text-shadow: 1px 1px 4px rgba(12, 62, 20, 0.08);
}

.hero-subtitle {
  font-weight: 600;
  font-size: 17px;
  color: #0c5429;
  line-height: 31px;
  white-space: nowrap;
  letter-spacing: 0.6px;
}

.hero-cta-group {
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
}

.hero-btn-primary {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px 10px 22px;
  border-radius: 100px;
  background: linear-gradient(136.58deg, #ffa216 0%, #ff8a05 100%);
  border: 2px solid #1e293b;
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1), -3px -3px 0px rgb(235, 108, 11) inset,2px 2px 0px rgb(255, 227, 206) inset;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.hero-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0px 4px 10px rgba(129, 64, 7, 0.3), 0px 4px 10px rgba(0, 0, 0, 0.2),2px 2px 0px rgba(255,255,255,0.5) inset,-2px -2px 0px rgba(211, 105, 6, 0.5) inset;
  filter: brightness(1.15);
}

.hero-btn-primary:active {
  transform: translateY(0);
}

.hero-btn-primary > span:first-child {
  font-weight: 700;
  font-size: 15px;
  color: #1e293b;
  white-space: nowrap;
}

.hero-btn-secondary {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px 10px 22px;
  border-radius: 100px;
  border: 2px solid #1e293b;
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1), 2px 2px 0px rgba(255,255,255,1) inset,-3px -3px 0px rgb(223, 223, 223) inset;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.hero-btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0px 8px 24px rgba(0, 0, 0, 0.3),2px 2px 0px rgba(255,255,255,0.5) inset;
  background: rgba(255, 255, 255, 0.95);
}

.hero-btn-secondary:active {
  transform: translateY(0);
}

.hero-btn-secondary > span:first-child {
  font-weight: 700;
  font-size: 15px;
  color: #1e293b;
  white-space: nowrap;
}

.hero-btn-circle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 13px;
}

.hero-btn-primary .hero-btn-circle {
  background: #ffc400;
  color: #fff;
}

.hero-btn-primary .hero-btn-circle img {
  width: 14px;
  height: 14px;
  filter: brightness(0);
}

.hero-btn-secondary .hero-btn-circle {
  background: #1e293b;
}

.hero-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hero-feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-feature-item::before {
  content: '✓';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid #1e293b;
  flex-shrink: 0;
  background: #1e293b;
  font-size: 12px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1;
}

.hero-feature-item span {
  font-weight: 600;
  font-size: 19px;
  color: #1e293b;
  line-height: 24px;
  white-space: nowrap;
}

.hero-app-image {
  position: relative;
  flex-shrink: 0;
  width: 1013px;
  height: 593px;
}

.hero-app-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 20px 40px rgba(10, 50, 30, 0.22)) drop-shadow(0 6px 16px rgba(10, 50, 30, 0.12));
  object-fit: cover;
  max-width: none;
}

/* ============================================================
       LOGOS
    ============================================================ */
.logos-section {
  background: #ffffff;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
  padding: 45px 0;
  display: flex;
  flex-direction: column;
  gap: 56px;
  align-items: center;
  overflow: hidden;
}

.logos-heading {
  text-align: center;
  padding: 0 24px;
}

.logos-heading .logos-text-row1 {
  font-size: 28px;
  font-weight: 400;
  color: #1e293b;
  line-height: 54px;
  display: block;
}

.logos-heading .logos-text-row2 {
  font-size: 34px;
  font-weight: 400;
  color: #1e293b;
  line-height: 54px;
  display: block;
}

.logos-heading .highlight {
  font-weight: 700;
}

.logos-heading .num {
  font-size: 45px;
  font-weight: 700;
  color: #3ea85b;
}

.logos-marquee-wrap {
  width: 100%;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
  mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}


.logo-slider-track {
  display: flex;
  width: max-content;
  gap: 20px;
  align-items: center;
  animation: marquee 40s linear infinite;
}

.logo-slider-track:hover {
  animation-play-state: paused;
}

.logo-slide {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  flex-shrink: 0;
  height: 60px;
}

.logo-slide img {
  height: 66px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  display: block;
}

/* ============================================================
       ONAYAMI
    ============================================================ */
.onayami-section {
  background: #efefef;
  padding: 96px 160px;
}

.onayami-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
}

.section-label {
  font-weight: 700;
  font-size: 28px;
  color: #1e293b;
  text-align: center;
  letter-spacing: 1px;
  line-height: 20px;
}

.onayami-title {
  font-weight: 700;
  font-size: 40px;
  color: #1e293b;
  text-align: center;
  line-height: 46px;
  margin-bottom: 24px;
}

.onayami-cards {
  display: flex;
  flex-direction: column;
  width: 680px;
}

.onayami-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 29px 33px;
  border-radius: 10px;
  border: 2px solid #1e293b;
  margin-bottom: 20px;
  box-shadow: -3px -3px 0px rgba(255,255,255,0.4) inset;
}

.onayami-card.card-1 {
  background: #ffffff;
}

.onayami-card.card-2 {
  background: #d5d5d5;
}

.onayami-card.card-3 {
  background: #acacac;
  gap: 10px;
}

.onayami-card-left {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.onayami-card-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.onayami-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  background: #1e293b;
  border-radius: 100px;
  width: fit-content;
}

.onayami-badge span {
  font-weight: 700;
  font-size: 11px;
  color: #ffffff;
  letter-spacing: 0px;
  line-height: 19px;
}

.onayami-card-title {
  font-weight: 700;
  font-size: 18px;
  color: #1e293b;
  line-height: 31px;
}

.onayami-card.card-3 .onayami-card-title {
  font-size: 20px;
  line-height: 34px;
}

.onayami-card-desc {
  font-size: 14px;
  color: #1e293b;
  line-height: 24px;
}

.onayami-card-img {
  flex-shrink: 0;
}

.onayami-arrow {
  display: flex;
  height: 40px;
  align-items: center;
  justify-content: center;
}

.onayami-arrow img {
  width: 26px;
  height: 26px;
}

/* ============================================================
       OMAKASE
    ============================================================ */
.omakase-section {
  background: #ffffff;
  padding: 100px 160px 80px;
  position: relative;
  overflow: visible;
}

.omakase-diamond {
  position: absolute;
  top: -90px;
  left: 50%;
  transform: translateX(-50%);
  width: 180px;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.omakase-diamond-inner {
  transform: rotate(45deg);
  width: 127px;
  height: 127px;
}

.omakase-diamond-inner img {
  width: 100%;
  height: 100%;
}

.omakase-inner {
  max-width: 1122px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: center;
}

.omakase-heading-row {
  display: flex;
  gap: 32px;
  align-items: center;
  justify-content: center;
}

.omakase-heading-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.omakase-label {
  font-weight: 700;
  font-size: 28px;
  color: #1e293b;
  text-align: center;
  letter-spacing: 1px;
  line-height: 20px;
}

.omakase-title {
  font-weight: 700;
  font-size: 40px;
  color: #1e293b;
  text-align: center;
  line-height: 56px;
  white-space: nowrap;
}

.omakase-title .green {
  color: #3ea85b;
}

.omakase-person {
  width: 200px;
  height: 135px;
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
}

.omakase-person img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.omakase-cards {
  display: flex;
  gap: 16px;
  width: 100%;
}

.omakase-card {
  flex: 1;
  background: #ffffff;
  border: 2px solid #1e293b;
  border-radius: 16px;
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  box-shadow: -4px -4px 0px rgb(230, 230, 230) inset;
}

.omakase-card-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 24px;
  background: #1e293b;
  border-radius: 100px;
}

.omakase-card-badge span {
  font-weight: 700;
  font-size: 17px;
  color: #ffffff;
  letter-spacing: 0px;
  line-height: 19px;
}

.omakase-card-title {
  font-weight: 700;
  font-size: 18px;
  color: #1e293b;
  line-height: 31px;
  text-align: center;
}

.omakase-card-text {
  font-size: 16px;
  color: #1e293b;
  line-height: 29px;
  text-align: left;
  width: 100%;
}

/* ============================================================
       SELECTED POINTS
    ============================================================ */
.points-section {
  background: #f8fafc;
  padding: 96px 160px;
  position: relative;
  overflow: hidden;
}

.points-ellipse {
  position: absolute;
  left: -210px;
  top: 1198px;
  width: 1857px;
  height: 1857px;
  pointer-events: none;
  z-index: 0;
}

.points-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 72px;
}

.points-heading-group {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}

.points-title {
  font-weight: 700;
  font-size: 40px;
  color: #1e293b;
  text-align: center;
  line-height: 56px;
  white-space: nowrap;
}

.points-title .green {
  color: #38b76e;
}

.points-subtitle {
  font-weight: 500;
  font-size: 16px;
  color: #1e293b;
  text-align: center;
  line-height: 29px;
}

.features-container {
  display: flex;
  flex-direction: column;
  gap: 112px;
}

.feature-row {
  display: flex;
  gap: 64px;
  align-items: center;
  justify-content: center;
}

.feature-copy {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
}

.feature-badge-wrap {
  position: relative;
  padding-top: 16px;
}

.feature-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px 4px;
  background: #ffffff;
  border: 1px solid #1e293b;
  border-radius: 100px;
}

.feature-badge span {
  font-weight: 700;
  font-size: 14px;
  color: #1e293b;
  letter-spacing: 0px;
  line-height: 20px;
}

.feature-badge-icon {
  position: absolute;
  left: -8px;
  top: -36px;
  width: 60px;
  height: 60px;
}

.feature-badge-icon.infinity {
  left: 8px;
  top: -36px;
}

.feature-badge-icon.monitor {
  left: 0;
  top: -37px;
}

/* ===== FEATURE ICON ANIMATIONS ===== */
@keyframes icon-click {
  0%   { transform: scale(1)    translateY(0); }
  18%  { transform: scale(0.87) translateY(4px); }
  50%  { transform: scale(1.08) translateY(-3px); }
  78%  { transform: scale(0.98) translateY(0); }
  100% { transform: scale(1)    translateY(0); }
}

@keyframes icon-stretch {
  0%   { transform: scale(1); }
  22%  { transform: scaleX(1.28) scaleY(0.80); }
  48%  { transform: scaleX(0.86) scaleY(1.20); }
  72%  { transform: scaleX(1.08) scaleY(0.95); }
  100% { transform: scale(1); }
}

@keyframes icon-size-pulse {
  0%   { transform: scale(1); }
  38%  { transform: scale(1.22); }
  68%  { transform: scale(0.95); }
  100% { transform: scale(1); }
}

/* icon 01: クリック */
.anim-left.in-view .feature-badge-icon:not(.infinity):not(.monitor) {
  animation: icon-click 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) 0.55s both;
}

/* icon 02: 伸び縮み */
.anim-right.in-view .feature-badge-icon.infinity {
  animation: icon-stretch 1.0s ease-in-out 0.55s both;
}

/* icon 03: 大きさ変化 */
.anim-left.in-view .feature-badge-icon.monitor {
  animation: icon-size-pulse 0.75s cubic-bezier(0.34, 1.56, 0.64, 1) 0.55s both;
}

.feature-title {
  font-weight: 700;
  font-size: 30px;
  color: #1e293b;
  line-height: 42px;
}

.feature-desc {
  font-size: 15px;
  color: #1e293b;
  line-height: 28px;
}

.feature-desc.dark {
  color: #231200;
}

.feature-image {
  flex-shrink: 0;
  width: 514px;
}

.feature-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* ============================================================
       AI SECTION
    ============================================================ */
.ai-section {
  background: #ffffff;
  padding: 96px 160px;
}

.ai-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.ai-heading-group {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}

.ai-title {
  font-weight: 700;
  font-size: 40px;
  color: #1e293b;
  text-align: center;
  line-height: 56px;
  white-space: nowrap;
}

.ai-title .green {
  color: #38b76e;
}

.ai-subtitle {
  font-weight: 500;
  font-size: 16px;
  color: #1e293b;
  text-align: center;
  line-height: 29px;
}

.ai-cards {
  display: flex;
  gap: 24px;
  justify-content: center;
}

.ai-card {
  background: #fff;
  border-radius: 10px;
  padding: 33px;
  width: 341px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  overflow: hidden;
  border: 2px solid #1e293b;
  box-shadow: -4px -4px 0px rgb(232, 232, 232) inset;
}

.ai-card-header {
  display: flex;
  flex-direction: column;
}

.ai-card-tag-row {
  display: flex;
  gap: 4px;
  align-items: center;
}

.ai-card-tag-row img {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  filter: brightness(0);
}

.ai-card-tag {
  font-weight: 700;
  font-size: 14px;
  color: #1e293b;
  letter-spacing: 0px;
  line-height: 19px;
}

.ai-card-title {
  font-weight: 700;
  font-size: 24px;
  color: #1e293b;
  line-height: 32px;
}

.ai-card-desc {
  font-size: 15px;
  color: #1e293b;
  line-height: 24px;
}

.ai-card-image {
  width: 100%;
}

.ai-card-image img {
  width: 100%;
  height: auto;
  height: 100%;
  object-fit: cover;
}

/* ============================================================
       PRICING
    ============================================================ */
.pricing-section {
  background: #f8fafc;
  padding: 96px 160px;
  position: relative;
  overflow: hidden;
}

.pricing-ellipse {
  position: absolute;
  left: 1086px;
  top: 239px;
  width: 708px;
  height: 708px;
  pointer-events: none;
  z-index: 0;
}

.pricing-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 64px;
}

.pricing-heading-group {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}

.pricing-title {
  font-weight: 700;
  font-size: 40px;
  color: #1e293b;
  text-align: center;
  line-height: 56px;
  white-space: nowrap;
}

.pricing-title .green {
  color: #38b76e;
}

.pricing-subtitle {
  font-weight: 500;
  font-size: 16px;
  color: #1e293b;
  text-align: center;
  line-height: 29px;
}

.pricing-content {
  display: flex;
  gap: 40px;
  align-items: stretch;
  justify-content: center;
}

.pricing-card {
  background: #fff;
  border: 2px solid #231200;
  border-radius: 10px;
  padding: 28px 32px;
  flex: 1;
   justify-content: space-between;
  overflow: hidden;
  box-shadow: -4px -4px 0px rgb(234, 234, 234) inset;
}

.pricing-card-info {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
}

.pricing-label-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 16px 5px;
  background: #1e293b;
  border-radius: 100px;
  width: fit-content;
}

.pricing-label-badge span {
  font-weight: 700;
  font-size: 15px;
  color: #ffffff;
  line-height: 19px;
}

.pricing-price-row {
  display: flex;
  gap: 8px;
  align-items: flex-end;
}

.pricing-amount {
  font-weight: 700;
  font-size: 46px;
  color: #1e293b;
  line-height: 46px;
}

.pricing-unit {
  font-size: 22px;
  color: #1e293b;
  line-height: 18px;
  padding-bottom: 8px;
}

/* Pricing charts */
.pricing-chart {
  display: block;
  width: 100%;
  height: auto;
  margin-top: 20px;
}

/* Chart line draw animation */
.chart-line {
  stroke-dasharray: 300;
  stroke-dashoffset: 300;
}
.chart-area,
.chart-dot,
.chart-arrow,
.chart-label {
  opacity: 0;
}

.pricing-card.in-view .chart-line {
  animation: chart-draw 1.4s cubic-bezier(0.4, 0, 0.2, 1) 0.5s forwards;
}
.pricing-card.in-view .chart-dot {
  animation: chart-fade 0.2s ease 0.5s forwards;
}
.pricing-card.in-view .chart-area {
  animation: chart-fade 0.5s ease 1.7s forwards;
}
.pricing-card.in-view .chart-arrow,
.pricing-card.in-view .chart-label {
  animation: chart-fade 0.3s ease 1.8s forwards;
}

.competitor-graph.in-view .chart-line {
  animation: chart-draw 1.6s cubic-bezier(0.4, 0, 0.2, 1) 0.5s forwards;
}
.competitor-graph.in-view .chart-dot {
  animation: chart-fade 0.2s ease 0.5s forwards;
}
.competitor-graph.in-view .chart-area {
  animation: chart-fade 0.5s ease 1.9s forwards;
}
.competitor-graph.in-view .chart-arrow,
.competitor-graph.in-view .chart-label {
  animation: chart-fade 0.3s ease 2s forwards;
}

@keyframes chart-draw {
  to { stroke-dashoffset: 0; }
}
@keyframes chart-fade {
  to { opacity: 1; }
}

.competitor-graph {
  flex: 1;
  background: #fafafa;
  border: 2px solid #062c15;
  border-radius: 10px;
  padding: 28px 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 8px;
  box-shadow: -4px -4px 0px rgb(222, 222, 222) inset;
}

.graph-card-header {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 4px;
}

.graph-card-label {
  font-weight: 700;
  font-size: 22px;
  text-align: center;
}

.graph-card-note {
  font-size: 14px;
}

.pricing-card .graph-card-label {
  color: #062c15;
}

.pricing-card .graph-card-note {
  color: #062c15;
  text-align: center;
  margin-bottom: 16px;  
}

.competitor-graph .graph-card-label {
  color: #231200;
}

.competitor-graph .graph-card-note {
  color: #231200;
;
  text-align: center;
}

/* ============================================================
       CASE STUDIES
    ============================================================ */
.cases-section {
  background: #ffffff;
  padding: 96px 160px;
}

.cases-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  gap: 64px;
}

.cases-heading-group {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}

.cases-title {
  font-weight: 700;
  font-size: 40px;
  color: #1e293b;
  text-align: center;
  line-height: 56px;
}

.cases-subtitle {
  font-weight: 500;
  font-size: 16px;
  color: #1e293b;
  text-align: center;
  line-height: 29px;
  max-width: 672px;
}

.cases-cards {
  display: flex;
  gap: 24px;
  justify-content: center;
}

.case-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
  background: #ffffff;
  border: 2px solid #1e293b;
  border-radius: 10px;
  padding: 24px;
  width: 341px;
  color: inherit;
  overflow: hidden;
}


.case-card-image {
  width: 100%;
  aspect-ratio: 640/360;
  position: relative;
  overflow: hidden;
  margin: -24px -24px 0 -24px;
  width: calc(100% + 48px);
}

.case-card-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case-card-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.case-card-texts {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.case-card-title {
  font-weight: 700;
  font-size: 18px;
  color: #1e293b;
  line-height: 31px;
}

.case-card-desc {
  font-size: 14px;
  color: #1e293b;
  line-height: 24px;
}

.case-card-footer {
  border-top: 2px solid #1e293b;
  padding-top: 15px;
  margin-top: auto;
}

.case-card-company {
  font-weight: 700;
  font-size: 13px;
  color: #1e293b;
  line-height: 22px;
}

/* ============================================================
       FREE TRIAL
    ============================================================ */
.trial-section {
  background: #f8fafc;
  padding: 96px 160px;
}

.trial-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  gap: 64px;
  align-items: center;
}

.trial-title {
  font-weight: 700;
  font-size: 40px;
  color: #1e293b;
  text-align: center;
  line-height: 56px;
  white-space: nowrap;
}

.trial-title .green {
  color: #38b76e;
}

.trial-steps {
  position: relative;
  width: 680px;
  display: flex;
  flex-direction: column;
}

.trial-steps::before {
  content: '';
  position: absolute;
  left: 31px;
  top: 32px;
  bottom: 41px;
  width: 2px;
  background: #1e293b;
  border-radius: 2px;
}

.trial-step {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  padding-bottom: 32px;
}

.trial-step:last-child {
  padding-bottom: 0;
}

.trial-step-circle {
  position: relative;
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border: 3px solid #1e293b;
  border-radius: 50%;
  z-index: 1;
}

.trial-step-circle::before {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  box-shadow: 0px 0px 0px 5px #f8fafc;
}

.trial-step-circle span {
  font-weight: 700;
  font-size: 20px;
  color: #1e293b;
  line-height: 34px;
  text-align: center;
}

.trial-step-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 10px 0;
}

.trial-step-label {
  font-weight: 700;
  font-size: 11px;
  color: #1e293b;
  letter-spacing: 1px;
  line-height: 19px;
}

.trial-step-title {
  font-weight: 700;
  font-size: 18px;
  color: #1e293b;
  line-height: 31px;
}

.trial-step-desc {
  font-size: 14px;
  color: #64748b;
  line-height: 24px;
}

/* ============================================================
       FOOTER CTA
    ============================================================ */
.footer-cta {
  position: relative;
  padding: 104px 184px;
  overflow: hidden;
  background: #1e293b;
}

.footer-cta-gradient {
  display: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 864px 264px at 360px 50%, rgba(37, 99, 235, 0.12) 0%, rgba(37, 99, 235, 0) 60%),
    radial-gradient(ellipse 720px 220px at 1080px 50%, rgba(109, 40, 217, 0.12) 0%, rgba(109, 40, 217, 0) 60%);
}

.footer-cta-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 7px;
  align-items: center;
}

.footer-cta-sub {
  font-weight: 600;
  font-size: 40px;
  color: rgba(255, 255, 255, 0.8);
  text-align: center;
  line-height: 27px;
}

.footer-cta-title {
  font-weight: 700;
  font-size: 45px;
  color: #ffffff;
  text-align: center;
  line-height: 62px;
  white-space: nowrap;
}

.footer-cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  padding-top: 37px;
}

.footer-btn-primary {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px 14px 28px;
  border-radius: 100px;
  background: linear-gradient(136.58deg, #ffa216 0%, #ff8a05 100%);
  border: 2px solid #1e293b;
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1), -3px -3px 0px rgb(235, 108, 11) inset, 2px 2px 0px rgb(255, 227, 206) inset;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.footer-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0px 4px 10px rgba(129, 64, 7, 0.3), 0px 4px 10px rgba(0, 0, 0, 0.2), 2px 2px 0px rgba(255, 255, 255, 0.5) inset, -2px -2px 0px rgba(211, 105, 6, 0.5) inset;
  filter: brightness(1.15);
}

.footer-btn-primary:active {
  transform: translateY(0);
}

.footer-btn-primary > span:first-child {
  font-weight: 700;
  font-size: 17px;
  color: #1e293b;
  white-space: nowrap;
}

.footer-btn-primary .hero-btn-circle,
.footer-btn-secondary .hero-btn-circle {
  width: 34px;
  height: 34px;
  font-size: 15px;
}

.footer-btn-primary .hero-btn-circle {
  background: #ffc400;
  color: #fff;
}

.footer-btn-primary .hero-btn-circle img {
  width: 16px;
  height: 16px;
  filter: brightness(0);
}

.footer-btn-secondary {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px 14px 28px;
  border-radius: 100px;
  border: 2px solid #1e293b;
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1), 2px 2px 0px rgba(255, 255, 255, 1) inset, -3px -3px 0px rgb(223, 223, 223) inset;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.footer-btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0px 8px 24px rgba(0, 0, 0, 0.3), 2px 2px 0px rgba(255, 255, 255, 0.5) inset;
  background: rgba(255, 255, 255, 0.95);
}

.footer-btn-secondary:active {
  transform: translateY(0);
}

.footer-btn-secondary .hero-btn-circle {
  background: #1e293b;
  color: #ffffff;
}

.footer-btn-secondary > span:first-child {
  font-weight: 700;
  font-size: 17px;
  color: #1e293b;
  white-space: nowrap;
}

/* ============================================================
   FOOTER
============================================================ */
.footer {
  background: #1a1a1a;
  color: white;
  padding: 30px 0 20px;
}

.footer-container {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 24px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
  gap: 60px;
}

.footer-logo img {
  height: 40px;
}

.footer-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.footer-address {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 24px;
  color: #b0b0b0;
  margin: 0;
}

.footer-links {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}

.footer-link {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 400;
  font-size: 12px;
  line-height: 24px;
  color: #b0b0b0;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: #00bb61;
}

.footer-copy {
  text-align: center;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 400;
  font-size: 12px;
  line-height: 20px;
  color: #888;
  padding-top: 40px;
  margin: 0;
}

/* ============================================================
       RESPONSIVE — TABLET (≤1100px)
    ============================================================ */
@media (max-width: 1100px) {

  /* Hero */
  .hero-layout {
    flex-direction: column;
    gap: 40px;
  }

  .hero-copy {
    width: 100%;
    max-width: 600px;
  }

  .hero-app-image {
    width: 100%;
    height: auto;
    aspect-ratio: 1013/593;
  }

  .hero-brob {
    left: auto;
    right: -100px;
    width: 500px;
    height: 527px;
  }

  /* Section padding */
  .onayami-section {
    padding: 80px 48px;
  }

  .omakase-section {
    padding: 80px 48px 64px;
  }

  .points-section {
    padding: 80px 48px;
  }

  .ai-section {
    padding: 80px 48px;
  }

  .pricing-section {
    padding: 80px 48px;
  }

  .cases-section {
    padding: 80px 48px;
  }

  .trial-section {
    padding: 80px 48px;
  }

  .footer-cta {
    padding: 80px 48px;
  }

  /* Onayami — fixed width → fluid */
  .onayami-cards {
    width: 100%;
    max-width: 680px;
  }

  /* Points — feature image fluid */
  .feature-row {
    gap: 40px;
  }

  .feature-image {
    width: 44%;
    flex-shrink: 0;
    height: auto;
  }

  /* AI — 2-col wrap */
  .ai-cards {
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
  }

  .ai-card {
    width: calc(50% - 10px);
    max-width: 400px;
  }

  .ai-card-image {
    width: 100%;
    height: auto;
  }

  /* Pricing — stack */
  .pricing-content {
    flex-direction: column;
    align-items: center;
  }

  .pricing-card {
    width: 100%;
    max-width: 583px;
  }

  /* Cases — 2-col wrap */
  .cases-cards {
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
  }

  .case-card {
    width: calc(50% - 10px);
    max-width: 400px;
  }

  /* Trial — fixed width → fluid */
  .trial-steps {
    width: 100%;
    max-width: 680px;
  }
}

/* ============================================================
       RESPONSIVE — MOBILE (≤768px)
    ============================================================ */
@media (max-width: 768px) {

  /* Hero */
  .hero {
    padding: 48px 0;
    min-height: auto;
  }

  .hero-inner {
    padding: 0 16px;
  }

  /* コピー列を dissolve して子要素を直接 flex children に */
  .hero-copy {
    display: contents;
  }

  .hero-layout {
    gap: 24px;
  }

  .hero-heading-group { order: 1; }
  .hero-features      { order: 2; }
  .hero-app-image     { order: 3; margin-top: 8px; margin-bottom: 8px; }
  .hero-cta-group     { order: 4; width: 100%; }

  .hero-h1 .text-main {
    font-size: 28px;
  }

  .hero-h1 .text-de {
    font-size: 23px;
  }

  .hero-h1 .text-sub {
    font-size: 23px;
  }

  .hero-h1 {
    white-space: normal;
    text-align: center;
  }

  .hero-subtitle {
    font-size: 13px;
    white-space: normal;
    line-height: 22px;
  }

  .hero-btn-primary span,
  .hero-btn-secondary span {
    font-size: 15px;
  }

  .hero-feature-item span {
    font-size: 13px;
    white-space: normal;
  }

  .hero-brob {
    width: 360px;
    height: 379px;
    left: 50%;
    right: auto;
    top: auto;
    bottom: -40px;
    transform: translateX(-50%);
  }

  .hero-cta-group {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-btn-primary,
  .hero-btn-secondary {
    width: 100%;
    justify-content: center;
  }

  /* Section padding */
  .onayami-section,
  .omakase-section,
  .points-section,
  .ai-section,
  .pricing-section,
  .cases-section,
  .trial-section {
    padding: 48px 16px;
  }

  /* Inner container の横 padding をリセット（section が担う） */
  .onayami-inner,
  .points-inner,
  .ai-inner,
  .pricing-inner,
  .cases-inner,
  .trial-inner {
    padding-left: 0;
    padding-right: 0;
    gap: 24px;
  }

  .logos-heading {
    padding: 0 16px;
  }

  /* Logos */
  .logos-heading .logos-text-row1 {
    font-size: 15px;
    line-height: 1.6;
  }

  .logos-heading .logos-text-row2 {
    font-size: 18px;
    line-height: 1.6;
  }

  .logos-heading .num {
    font-size: 22px;
  }

  /* Onayami */
  .onayami-inner {
    gap: 8px;
  }

  .onayami-cards {
    margin-top: 16px;
  }

  .section-label {
    font-size: 15px;
  }

  .onayami-title {
    font-size: 22px;
    line-height: 1.5;
    white-space: normal;
  }

  .onayami-cards {
    width: 100%;
    max-width: none;
  }

  .onayami-card-title {
    white-space: normal;
  }

  .onayami-card-desc {
    white-space: normal;
    order: 3;
  }

  /* モバイル並び順: タイトル → イラスト → サブテキスト */
  .onayami-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .onayami-card-left {
    display: contents;
  }

  .onayami-card-content {
    order: 1;
  }

  .onayami-card-img {
    order: 2;
    align-self: center;
  }

  .onayami-card-img img {
    max-height: 90px;
    width: auto;
  }

  /* Omakase */
  .omakase-diamond {
    width: 96px;
    height: 96px;
    top: -48px;
  }

  .omakase-diamond-inner {
    width: 68px;
    height: 68px;
  }

  .omakase-heading-row {
    flex-direction: column;
    gap: 16px;
    align-items: center;
  }

  .omakase-label {
    font-size: 15px;
  }

  .omakase-title {
    white-space: normal;
    font-size: 22px;
    line-height: 1.5;
  }

  /* 人物イラスト — アスペクト比修正 (viewBox 200×135 → 140×94.5) */
  .omakase-person {
    width: 140px;
    height: 95px;
    overflow: hidden;
    flex-shrink: 0;
  }

  .omakase-cards {
    flex-direction: column;
  }

  .omakase-card-text {
    font-size: 14px;
  }

  .omakase-card {
    width: 100%;
  }

  /* Subtitles（全セクション共通） */
  .points-subtitle,
  .ai-subtitle,
  .pricing-subtitle,
  .cases-subtitle {
    font-size: 13px;
    line-height: 1.6;
    text-align: left;
  }

  /* Line-height（全セクション共通） */
  .onayami-card-title,
  .omakase-card-title,
  .omakase-card-text,
  .ai-card-title,
  .ai-card-desc,
  .case-card-title,
  .case-card-desc,
  .trial-step-title,
  .trial-step-desc {
    line-height: 1.55;
  }

  .feature-title { line-height: 1.35; }
  .feature-desc  { font-size: 14px; line-height: 1.6; }

  .onayami-card-title,
  .onayami-card-desc { line-height: 1.55; }

  /* Points */
  .points-title {
    font-size: 22px;
    white-space: normal;
    line-height: 1.35;
  }

  .feature-title {
    font-size: 20px;
  }

  .features-container {
    gap: 60px;
  }

  .feature-row {
    flex-direction: column;
    gap: 32px;
  }

  .feature-row.img-left {
    flex-direction: column-reverse;
  }

  .feature-image {
    width: 100%;
    height: auto;
    aspect-ratio: 514/301;
  }

  /* AI */
  .ai-title {
    font-size: 22px;
    white-space: normal;
    line-height: 1.35;
  }

  .ai-card-desc {
    font-size: 14px;
  }

  .ai-cards {
    flex-direction: column;
    align-items: stretch;
    flex-wrap: nowrap;
    gap: 16px;
  }

  .ai-card {
    width: 100%;
    max-width: none;
  }

  .ai-card-image {
    width: 100%;
    height: auto;
  }

  /* Pricing */
  .pricing-title {
    font-size: 22px;
    white-space: normal;
    line-height: 1.35;
  }

  .pricing-content {
    flex-direction: column;
    align-items: center;
  }

  .pricing-card {
    width: 100%;
    max-width: 100%;
  }

  .competitor-graph {
    width: 100%;
    padding: 20px 20px;
  }

  /* Cases */
  .cases-title {
    font-size: 22px;
    white-space: normal;
    line-height: 1.35;
  }

  .cases-cards {
    flex-direction: column;
    align-items: stretch;
    flex-wrap: nowrap;
    gap: 16px;
  }

  .case-card {
    width: 100%;
    max-width: none;
  }

  .cases-subtitle {
    width: 100%;
  }

  /* Trial */
  .trial-title {
    font-size: 21px;
    white-space: normal;
    line-height: 1.35;
  }

  .trial-steps {
    width: 100%;
    max-width: none;
  }

  /* Footer */
  .footer-cta {
    padding: 48px 16px;
  }

  .footer-cta-sub {
    font-size: 18px;
    line-height: 1.5;
  }

  .footer-cta-title {
    font-size: 21px;
    white-space: normal;
    line-height: 1.5;
  }

  .footer-btn-primary,
  .footer-btn-secondary {
    width: 100%;
    justify-content: center;
  }

  .footer-cta-buttons {
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 320px;
  }

  .logo-slide {
    padding: 0 8px;
    height: 44px;
  }

  .logo-slide img {
    height: 44px;
    max-width: 140px;
  }

  /* Footer */
  .footer {
    padding: 40px 0 20px;
  }

  .footer-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 30px;
  }

  .footer-info {
    align-items: center;
    gap: 20px;
    width: 100%;
  }

  .footer-address {
    font-size: 13px;
    line-height: 22px;
  }

  .footer-links {
    justify-content: center;
    gap: 24px;
  }

  .footer-link {
    font-size: 13px;
  }

  .footer-copy {
    padding-top: 20px;
    font-size: 11px;
  }
}

