@charset "UTF-8";
/* =========================================
   agency.css
   LIMLABO agency LP
========================================= */

/* ================================
   01. Root
================================ */
:root {
  --agency-color-text: #222222;
  --agency-color-text-light: #555555;
  --agency-color-bg: #ffffff;
  --agency-color-bg-alt: #fff7f1;
  --agency-color-border: #f1ddd0;
  --agency-color-main: #0f172a;
  --agency-color-accent: #ff6b00;
  --agency-color-accent-dark: #e45700;
  --agency-color-white: #ffffff;
  --agency-shadow: 0 14px 40px rgba(0, 0, 0, 0.08);
  --agency-shadow-sm: 0 8px 20px rgba(0, 0, 0, 0.06);
  --agency-radius: 16px;
  --agency-radius-sm: 10px;
  --agency-container: 1120px;
  --agency-transition: 0.35s ease;
  --agency-header-height: 84px;
}

/* ================================
   02. Reset / Base
================================ */
html {
  font-size: 62.5%;
  scroll-behavior: smooth;
}

body.agency-page {
  margin: 0;
  padding: 0;
  color: var(--agency-color-text);
  background: var(--agency-color-bg);
  font-family:
    "Hiragino Sans",
    "Hiragino Kaku Gothic ProN",
    "Yu Gothic",
    "YuGothic",
    "Noto Sans JP",
    sans-serif;
  font-size: 1.6rem;
  line-height: 1.8;
  letter-spacing: 0.03em;
  -webkit-text-size-adjust: 100%;
}

body.agency-page * {
  box-sizing: border-box;
}

body.agency-page img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}

body.agency-page a {
  color: inherit;
  text-decoration: none;
  transition:
    opacity var(--agency-transition),
    color var(--agency-transition),
    background-color var(--agency-transition),
    border-color var(--agency-transition),
    transform var(--agency-transition),
    box-shadow var(--agency-transition);
}

body.agency-page a:hover {
  opacity: 0.9;
}

body.agency-page ul,
body.agency-page ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

body.agency-page p,
body.agency-page h1,
body.agency-page h2,
body.agency-page h3,
body.agency-page h4 {
  margin: 0;
}

body.agency-page table {
  width: 100%;
  border-collapse: collapse;
}

body.agency-page input,
body.agency-page textarea,
body.agency-page select,
body.agency-page button {
  font: inherit;
}

/* ================================
   03. Layout
================================ */
.agency-main {
  overflow: hidden;
}

.agency-container {
  width: min(var(--agency-container), calc(100% - 40px));
  margin-inline: auto;
}

.agency-section {
  position: relative;
  padding: 110px 0;
}

.agency-section--alt {
  background: var(--agency-color-bg-alt);
}

.agency-section__head {
  margin-bottom: 48px;
  text-align: center;
}

.agency-section__en {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--agency-color-accent);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.agency-section__title {
  font-size: clamp(2.8rem, 4vw, 4.4rem);
  line-height: 1.35;
  font-weight: 700;
}

.agency-section__lead {
  max-width: 760px;
  margin: 18px auto 0 !important;
  font-size: 1.6rem;
  line-height: 1.9;
}

/* ================================
   04. Buttons
================================ */
.agency-btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.agency-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 220px;
  min-height: 56px;
  padding: 14px 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  cursor: pointer;
}

.agency-btn--primary {
  color: var(--agency-color-white);
  background: var(--agency-color-accent);
  box-shadow: var(--agency-shadow-sm);
}

.agency-btn--primary:hover {
  background: var(--agency-color-accent-dark);
  transform: translateY(-2px);
}

.agency-btn--secondary {
  color: var(--agency-color-white);
  background: transparent;
  border-color: rgba(255, 255, 255, 0.45);
}

.agency-btn--secondary:hover {
  background: rgba(255, 255, 255, 0.12);
}

.agency-btn--outline {
  color: var(--agency-color-main);
  background: transparent;
  border-color: var(--agency-color-main);
}

.agency-btn--outline:hover {
  color: var(--agency-color-white);
  background: var(--agency-color-main);
}

/* ================================
   05. Header
================================ */
.agency-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  width: 100%;
  isolation: isolate;
  background: rgba(255, 255, 255, 0.6);
  xbackdrop-filter: blur(10px);
  transition:
    background-color var(--agency-transition),
    box-shadow var(--agency-transition),
    backdrop-filter var(--agency-transition),
    transform var(--agency-transition);
}

.agency-header.is-scrolled {
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(12px);
}

.agency-header__inner {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 28px;
  width: min(var(--agency-container), calc(100% - 40px));
  min-height: 84px;
  margin: 8px auto;
}

.agency-header__logo-wrap {
  display: flex;
  align-items: center;
  min-width: 0;
}

.agency-header__logo {
  position: relative;
  z-index: 1002;
  display: inline-flex;
  align-items: center;
  line-height: 1;
}

.agency-header__logo-img {
  display: block;
  width: auto;
  height: 42px;
}

.agency-header__right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  min-width: 0;
}

.agency-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.agency-nav a {
  position: relative;
  padding: 4px 0;
  color: var(--agency-color-white);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.4;
  transition:
    color var(--agency-transition),
    opacity var(--agency-transition);
}

.agency-header.is-scrolled .agency-nav a {
  color: var(--agency-color-main);
}

.agency-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 1px;
  background: currentColor;
  opacity: 0.72;
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform var(--agency-transition);
}

.agency-nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left center;
}

.agency-header__cta {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 104px;
  min-height: 84px;
  padding: 10px 12px;
  background: linear-gradient(135deg, #ff6b00 0%, #ff8a1d 100%);
  color: var(--agency-color-white);
  text-align: center;
  transition:
    transform var(--agency-transition),
    box-shadow var(--agency-transition),
    filter var(--agency-transition);
}

.agency-header__cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(176, 139, 87, 0.28);
  xfilter: brightness(1.03);
  opacity: 1;
}

.agency-header__cta-en {
  font-family: "Rubik", "Noto Sans JP", sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1;
}

.agency-header__cta-ja {
  margin-top: 10px;
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1.5;
}

.agency-menu-toggle {
  position: relative;
  z-index: 1105;
  display: none;
  width: 52px;
  height: 52px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  justify-self: end;
  margin-left: auto;
}

.agency-menu-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  margin: 6px auto;
  border-radius: 999px;
  background: var(--agency-color-white);
  transition: var(--agency-transition);
}

.agency-header.is-scrolled .agency-menu-toggle span {
  background: var(--agency-color-main);
}

/* Drawer */
.agency-drawer {
  position: fixed;
  inset: 0;
  z-index: 1002;
  pointer-events: none;
}

.agency-drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 1003;
  width: min(420px, 100%);
  height: 100dvh;
  padding: 110px 28px 40px;
  background: rgba(15, 23, 42, 0.98);
  transform: translateX(100%);
  transition: transform 0.4s ease;
  overflow-y: auto;
}

.agency-drawer__bg {
  position: absolute;
  inset: 0;
  z-index: 1002;
  border: 0;
  background: rgba(15, 23, 42, 0.45);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.agency-drawer__nav {
  position: relative;
  z-index: 1004;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.agency-drawer__nav a {
  display: block;
  padding: 12px 0;
  color: #ffffff !important;
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.08em;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  opacity: 1 !important;
  visibility: visible !important;
}

body.agency-menu-open .agency-drawer {
  pointer-events: auto;
}

body.agency-menu-open .agency-drawer__panel {
  transform: translateX(0);
}

body.agency-menu-open .agency-drawer__bg {
  opacity: 1;
}

body.agency-menu-open .agency-menu-toggle {
  position: fixed;
  top: 10px;
  right: 20px;
  z-index: 1200;
}

body.agency-menu-open .agency-menu-toggle span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
  background: #fff;
}

body.agency-menu-open .agency-menu-toggle span:nth-child(2) {
  opacity: 0;
}

body.agency-menu-open .agency-menu-toggle span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
  background: #fff;
}
.agency-drawer__close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 1005;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.agency-drawer__close span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 26px;
  height: 2px;
  border-radius: 999px;
  background: #fff;
}

.agency-drawer__close span:nth-child(1) {
  transform: translate(-50%, -50%) rotate(45deg);
}

.agency-drawer__close span:nth-child(2) {
  transform: translate(-50%, -50%) rotate(-45deg);
}

/* ================================
   Header SNS
================================ */

.agency-header__sns{
display:flex;
align-items:center;
gap:14px;
}

.agency-header__sns a{
display:flex;
align-items:center;
justify-content:center;
width:36px;
height:36px;
opacity:0.9;
transition:opacity .3s ease, transform .3s ease;
}

.agency-header__sns a:hover{
opacity:1;
transform:translateY(-2px);
}

.agency-header__sns img{
width:100%;
height:auto;
display:block;
}

@media (max-width:1100px){

.agency-header__sns{
display:none;
}

}
/* ================================
Drawer SNS
================================ */

.agency-drawer__sns{
display:flex;
justify-content:center;
gap:20px;
margin-top:32px;
}

.agency-drawer__sns a{
display:flex;
width:50px;
height:50px;
opacity:0.9;
transition:all .3s ease;
}

.agency-drawer__sns a:hover{
opacity:1;
transform:translateY(-2px);
}

.agency-drawer__sns img{
width:100%;
height:auto;
}
/* ================================
   06. Hero
================================ */
.agency-hero {
  position: relative;
  min-height: 100svh;
  color: var(--agency-color-white);
  overflow: clip;
  background: #050912;
}

.agency-hero__bg,
.agency-hero__overlay {
  position: absolute;
  inset: 0;
}

.agency-hero__bg {
  background: url("https://carsell.dcholding.biz/img/agency/agency-hero.jpg") center center / cover no-repeat;
  transform: scale(1.03);
}

.agency-hero__overlay {
  background:
    linear-gradient(
      180deg,
      rgba(5, 9, 18, 0.18) 0%,
      rgba(5, 9, 18, 0.30) 35%,
      rgba(5, 9, 18, 0.52) 100%
    );
}

.agency-hero__inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  min-height: 100svh;
  width: min(var(--agency-container), calc(100% - 40px));
  margin-inline: auto;
  padding: 140px 0 100px;
  justify-content: center;
}

.agency-hero__content {
  max-width: 920px;
}

.agency-hero__sub {
  display: inline-block;
  margin-bottom: 18px;
  padding: 8px 14px;
  border: 1px solid #FFF;
  border-radius: 999px;
  background: #ff6b00;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  backdrop-filter: blur(8px);
}

.agency-hero__title {
  max-width: 920px;
  font-size: clamp(4rem, 6vw, 7.2rem);
  line-height: 1.5;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}

.agency-hero__title span {
    color: #FFED00;
    text-shadow:
        -2px -2px 0 #000,
         2px -2px 0 #000,
        -2px  2px 0 #000,
         2px  2px 0 #000,
         4px  4px 8px rgba(0,0,0,0.6);
	font-size: clamp(4rem, 7vw, 10rem);
}

/* =========================================
   06-2. Hero Intro
========================================= */

.agency-hero-intro {
  position: relative;
  overflow: hidden;
  padding: 110px 0 120px;
  background-color: #050912;
  color: var(--agency-color-white);
}

.agency-hero-intro::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 2;
  width: 2px;
  height: 100px;
  transform: translateX(-50%);
  background-color: rgba(255, 255, 255, 0.78);
}

.agency-hero-intro__bg,
.agency-hero-intro__overlay {
  position: absolute;
  left: 0;
  width: 100%;
}

.agency-hero-intro__bg {
top: 5%;
  height: 148%;
  z-index: 0;
  background: url("https://carsell.dcholding.biz/img/agency/agency-hero2.jpg") center center / cover no-repeat;
  will-change: transform;
  transform: translate3d(0, 0, 0) scale(1.18);
}

.agency-hero-intro__overlay {
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    0deg,
    rgba(5, 9, 18, 0.96) 0%,
    rgba(5, 9, 18, 0.88) 30%,
    rgba(5, 9, 18, 0.72) 65%,
    rgba(5, 9, 18, 0.60) 100%
  );
}

.agency-container,
.agency-hero-intro__inner {
  position: relative;
  z-index: 2;
}

@media (max-width: 768px) {
  .agency-hero-intro {
    padding: 90px 0 100px;
  }

  .agency-hero-intro::before {
    height: 72px;
  }

  .agency-hero-intro__bg {
    top: 0%;
    height: 100%;
    transform: translate3d(0, 0, 0) scale(1.12);
  }
}
/* ================================
   Inner
================================ */

.agency-hero-intro__inner {
  position: relative;
  z-index: 2;
  max-width: 860px;
  margin-inline: auto;
  padding-top: 28px;
  text-align: center;
}

/* ================================
   Message Block
================================ */

.agency-hero-message {
  margin-bottom: 54px;
}

.agency-hero-message__inner {
  position: relative;
  max-width: 860px;
  margin-inline: auto;
  padding-top: 40px;
}

.agency-hero-message__title {
  font-size: clamp(2.6rem,3.5vw,4rem);
  line-height: 1.45;
  font-weight: 700;
}

.agency-hero-message__text {
  margin-top: 18px;
  font-size: 1.5rem;
  line-height: 2.1;
}

/* ================================
   Lead / CTA
================================ */

.agency-hero__lead {
  max-width: 760px;
  margin: 0 auto !important;
  font-size: 1.8rem;
  line-height: 2;
}

.agency-hero__cta {
  margin-top: 34px;
  justify-content: center;
}

.agency-hero__note {
  max-width: 760px;
  margin: 16px auto 0 !important;
  font-size: 1.35rem;
  line-height: 1.9;
}

/* =========================================
   Responsive
========================================= */

@media (max-width:768px) {

  .agency-hero {
    min-height: 88svh;
  }

  .agency-hero__bg {
    transform: scale(1.02);
    background-position: center;
  }

  .agency-hero__inner {
    min-height: 88svh;
    padding: 120px 0 80px;
  }

  .agency-hero__title {
    font-size: clamp(3.2rem,9vw,5rem);
    line-height: 1.22;
  }

  .agency-hero-intro {
    padding: 80px 0 90px;
  }

  .agency-hero-intro::before {
    height: 36px;
  }

  .agency-hero__lead {
    font-size: 1.5rem;
    line-height: 1.9;
  }

  .agency-hero__cta {
    margin-top: 28px;
  }

  .agency-hero__note {
    font-size: 1.3rem;
  }

  .agency-hero-message {
    margin-bottom: 42px;
  }

  .agency-hero-message__inner {
    padding-top: 30px;
  }

  .agency-hero-message__inner::before {
    height: 22px;
  }

  .agency-hero-message__title {
    font-size: clamp(2.2rem,6vw,3rem);
  }

  .agency-hero-message__text {
    font-size: 1.4rem;
    line-height: 1.9;
  }

}

/* ================================
   07. Problem
================================ */
.agency-problem {
  position: relative;
  overflow: hidden;
}

.agency-problem__intro {
  max-width: 920px;
  margin: 0 auto 48px;
  padding: 40px 42px;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.94) 0%, rgba(255,255,255,1) 100%);
  border: 1px solid rgba(176, 139, 87, 0.16);
  border-radius: 24px;
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.08);
  color: var(--agency-color-text-light);
  position: relative;
}

.agency-problem__intro::before {
  content: "ISSUES";
  display: inline-block;
  margin-bottom: 18px;
  color: var(--agency-color-accent);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.agency-problem__list {
  display: grid;
  gap: 22px;
  max-width: 920px;
  margin: 0 auto;
}

.agency-problem-card {
  position: relative;
  display: grid;
  grid-template-columns: 108px 1fr;
  align-items: center;
  gap: 28px;
  min-height: 132px;
  padding: 30px 34px;
  background: var(--agency-color-white);
  border: 1px solid rgba(176, 139, 87, 0.16);
  border-radius: 24px;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.07);
  overflow: hidden;
  transition:
    transform var(--agency-transition),
    box-shadow var(--agency-transition),
    border-color var(--agency-transition);
}

.agency-problem-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      135deg,
      rgba(176, 139, 87, 0.06) 0%,
      rgba(176, 139, 87, 0) 45%
    );
  pointer-events: none;
}

.agency-problem-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 44px rgba(15, 23, 42, 0.12);
  border-color: rgba(176, 139, 87, 0.32);
}

.agency-problem-card__num {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f4ede2 0%, #fffaf2 100%);
  border: 1px solid rgba(176, 139, 87, 0.24);
  color: var(--agency-color-accent-dark);
  font-family: "Rubik", "Noto Sans JP", sans-serif;
  font-size: 2.4rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.8);
}

.agency-problem-card__text {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--agency-color-main);
  font-size: clamp(2rem, 2.4vw, 2.8rem);
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.03em;
}

@media screen and (max-width: 768px) {
  .agency-problem::before {
    top: 96px;
    width: calc(100% - 32px);
  }

  .agency-problem__intro {
    margin-bottom: 32px;
    padding: 28px 22px;
    border-radius: 18px;
  }

  .agency-problem__list {
    gap: 16px;
  }

  .agency-problem-card {
    grid-template-columns: 1fr;
    gap: 16px;
    min-height: auto;
    padding: 24px 20px 24px 24px;
    border-radius: 18px;
  }

  .agency-problem-card__num {
    width: 64px;
    height: 64px;
    font-size: 1.9rem;
  }

  .agency-problem-card__text {
    font-size: 1.9rem;
    line-height: 1.6;
  }
}

/* ================================
   08. Feature / Value
================================ */
.agency-feature {
  position: relative;
  overflow: hidden;
}

.agency-feature__box {
  max-width: 920px;
  margin-inline: auto;
  padding: 56px 42px;
  background:
    linear-gradient(135deg, rgba(250,247,241,0.96) 0%, rgba(255,255,255,1) 100%);
  border: 1px solid rgba(176, 139, 87, 0.14);
  border-radius: 28px;
  text-align: center;
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.08);
}

.agency-feature__catch {
  font-size: clamp(2.8rem, 4vw, 4.6rem);
  line-height: 1.45;
  font-weight: 700;
}

.agency-feature__catch span {
  color: var(--agency-color-accent);
}

.agency-feature__desc {
  margin-top: 20px;
  color: var(--agency-color-text-light);
  font-size: 1.6rem;
  line-height: 2;
}

.agency-value__stack {
  display: grid;
  gap: 24px;
  max-width: 980px;
  margin: 0 auto;
}

.agency-value-feature {
  position: relative;
  display: grid;
  grid-template-columns: 124px 1fr;
  gap: 28px;
  align-items: center;
  padding: 34px 36px;
  background: var(--agency-color-white);
  border: 1px solid rgba(176, 139, 87, 0.16);
  border-radius: 24px;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.07);
  overflow: hidden;
  transition:
    transform var(--agency-transition),
    box-shadow var(--agency-transition),
    border-color var(--agency-transition);
}
.agency-value-feature::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 240px;
  height: 240px;
  background: radial-gradient(
    circle,
    rgba(176, 139, 87, 0.08) 0%,
    rgba(176, 139, 87, 0) 72%
  );
  transform: translate(28%, -28%);
  pointer-events: none;
}

.agency-value-feature:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 44px rgba(15, 23, 42, 0.12);
  border-color: rgba(176, 139, 87, 0.32);
}

.agency-value-feature__icon {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 108px;
  height: 108px;
  border-radius: 24px;
  background: linear-gradient(135deg, #f8f1e7 0%, #fffaf3 100%);
  border: 1px solid rgba(176, 139, 87, 0.22);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.88);
}

.agency-value-feature__icon img {
  display: block;
  width: 60px;
  height: 60px;
  object-fit: contain;
}

.agency-value-feature__body {
  position: relative;
  z-index: 1;
}

.agency-value-feature__title {
  margin: 0 0 12px;
  color: var(--agency-color-main);
  font-size: clamp(2.2rem, 2.6vw, 3rem);
  font-weight: 700;
  line-height: 1.45;
}

.agency-value-feature__text {
  margin: 0;
  color: var(--agency-color-text-light);
  font-size: 1.6rem;
  line-height: 2;
}

@media screen and (max-width: 768px) {
  .agency-feature__box {
    padding: 34px 22px;
    border-radius: 20px;
  }

  .agency-feature__desc {
    font-size: 1.5rem;
    line-height: 1.9;
  }

  .agency-value__stack {
    gap: 16px;
  }

  .agency-value-feature {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 24px 20px 24px 24px;
    border-radius: 18px;
  }

  .agency-value-feature__icon {
    width: 82px;
    height: 82px;
    border-radius: 18px;
  }

  .agency-value-feature__icon img {
    width: 46px;
    height: 46px;
  }

  .agency-value-feature__title {
    font-size: 2rem;
  }

  .agency-value-feature__text {
    font-size: 1.5rem;
    line-height: 1.85;
  }
}

/* ================================
   Value row layout
================================ */
.agency-value {
  position: relative;
  overflow: hidden;
}

.agency-value__rows {
  display: grid;
  gap: 48px;
  margin-top: 48px;
}

.agency-value-row {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: 40px;
}

.agency-value-row--reverse .agency-value-row__image {
  order: 2;
}

.agency-value-row--reverse .agency-value-row__content {
  order: 1;
}

.agency-value-row__image figure {
  margin: 0;
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.12);
}

.agency-value-row__image img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  transition: transform var(--agency-transition);
}

.agency-value-row:hover .agency-value-row__image img {
  transform: scale(1.04);
}

.agency-value-row__content {
  padding: 12px 0;
}

.agency-value-row__label {
  margin: 0 0 14px;
  color: var(--agency-color-accent);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.agency-value-row__title {
  margin: 0 0 20px;
  color: var(--agency-color-main);
  font-size: clamp(2.6rem, 3vw, 4rem);
  line-height: 1.35;
  font-weight: 700;
}

.agency-value-row__text {
  margin: 0;
  color: var(--agency-color-text-light);
  font-size: 1.6rem;
  line-height: 2;
}

@media screen and (max-width: 991px) {
  .agency-value__rows {
    gap: 32px;
  }

  .agency-value-row,
  .agency-value-row--reverse {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .agency-value-row--reverse .agency-value-row__image,
  .agency-value-row--reverse .agency-value-row__content {
    order: initial;
  }

  .agency-value-row__image img {
    min-height: 240px;
  }

  .agency-value-row__title {
    font-size: 2.4rem;
  }

  .agency-value-row__text {
    font-size: 1.5rem;
    line-height: 1.9;
  }
}

/* ================================
   09. Revenue
================================ */
.agency-revenue__compare {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 96px minmax(0, 1fr);
  gap: 24px;
  align-items: stretch;
}

.agency-revenue__card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100%;
  padding: 38px 30px 30px;
  border-radius: 28px;
  border: 1px solid var(--agency-color-border);
  background: var(--agency-color-white);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
  overflow: hidden;
}

.agency-revenue__card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 6px;
}

.agency-revenue__card--default {
  background: linear-gradient(135deg, #ffffff 0%, #f8f8f8 100%);
  border-color: rgba(15, 23, 42, 0.08);
}

.agency-revenue__card--limlab {
  background: linear-gradient(135deg, #fffdf8 0%, #fff7eb 100%);
  border-color: rgba(176, 139, 87, 0.28);
  box-shadow: 0 20px 46px rgba(176, 139, 87, 0.14);
}

.agency-revenue__head {
  margin-bottom: 24px;
}

.agency-revenue__label {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  margin-bottom: 16px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.agency-revenue__card--default .agency-revenue__label {
  background: rgba(15, 23, 42, 0.06);
  color: #475569;
}

.agency-revenue__card--limlab .agency-revenue__label {
  background: rgba(176, 139, 87, 0.12);
  color: var(--agency-color-accent-dark);
}

.agency-revenue__title {
  margin: 0 0 14px;
  font-size: clamp(2.4rem, 2.8vw, 3.4rem);
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: 0.02em;
}

.agency-revenue__card--default .agency-revenue__title {
  color: #334155;
}

.agency-revenue__card--limlab .agency-revenue__title {
  color: var(--agency-color-main);
}

.agency-revenue__desc {
  margin: 0;
  font-size: 1.5rem;
  line-height: 1.9;
  color: var(--agency-color-text-light);
}

.agency-revenue__center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.agency-revenue__vs {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--agency-color-accent) 0%, #d6bb86 100%);
  color: #fff;
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  box-shadow: 0 12px 24px rgba(176, 139, 87, 0.22);
}

.agency-revenue__center-text {
  margin: 0;
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.7;
  text-align: center;
  color: var(--agency-color-text-light);
}

.agency-revenue__items {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.agency-revenue__items li {
  position: relative;
  min-height: 62px;
  padding: 16px 18px 16px 56px;
  border-radius: 16px;
  font-weight: 700;
  line-height: 1.7;
}

.agency-revenue__items li::before {
  position: absolute;
  top: 15px;
  left: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  font-size: 1.4rem;
  font-weight: 700;
}

.agency-revenue__card--default .agency-revenue__items li {
  background: #f4f5f7;
  color: #334155;
  border: 1px solid rgba(148, 163, 184, 0.14);
}

.agency-revenue__card--default .agency-revenue__items li::before {
  content: "−";
  background: rgba(148, 163, 184, 0.16);
  color: #64748b;
}

.agency-revenue__card--limlab .agency-revenue__items li {
  background: rgba(255, 255, 255, 0.84);
  color: var(--agency-color-main);
  border: 1px solid rgba(176, 139, 87, 0.14);
}

.agency-revenue__card--limlab .agency-revenue__items li::before {
  content: "+";
  background: rgba(176, 139, 87, 0.14);
  color: var(--agency-color-accent-dark);
}

@media screen and (max-width: 991px) {
  .agency-revenue__compare {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .agency-revenue__center {
    order: 2;
    padding: 4px 0;
  }

  .agency-revenue__card--default {
    order: 1;
  }

  .agency-revenue__card--limlab {
    order: 3;
  }

  .agency-revenue__vs {
    width: 60px;
    height: 60px;
    font-size: 1.7rem;
  }

  .agency-revenue__center-text {
    font-size: 1.2rem;
  }

  .agency-revenue__card {
    padding: 28px 22px 22px;
    border-radius: 20px;
  }

  .agency-revenue__title {
    font-size: 2.2rem;
  }

  .agency-revenue__desc {
    font-size: 1.4rem;
    line-height: 1.85;
  }

  .agency-revenue__items li {
    min-height: auto;
    padding: 14px 14px 14px 50px;
    font-size: 1.5rem;
  }
}

/* ================================
   10. Comparison Table (Enhanced)
================================ */

.agency-table-wrap {
  overflow-x: auto;
  border-radius: 24px;
  box-shadow: 0 20px 48px rgba(15, 23, 42, 0.12);
  background: var(--agency-color-white);
}

/* テーブル */
.agency-table {
  min-width: 760px;
  border-collapse: collapse;
  background: var(--agency-color-white);
}

/* 共通セル */
.agency-table th,
.agency-table td {
  padding: 22px 18px;
  border: 1px solid var(--agency-color-border);
  text-align: center;
  vertical-align: middle;
  font-size: 1.6rem;
  line-height: 1.7;
}

/* ヘッダー */
.agency-table thead th {
  background: var(--agency-color-main);
  color: #fff;
  font-weight: 700;
  font-size: 1.7rem;
}

/* リムラボ列 */
.agency-table thead th:nth-child(2) {
  background: linear-gradient(
    135deg,
    var(--agency-color-accent) 0%,
    #d6bb86 100%
  );
  font-size: 1.9rem;
}

/* 比較項目列 */
.agency-table tbody th {
  background: var(--agency-color-bg-alt);
  font-weight: 700;
  text-align: left;
  padding-left: 24px;
  font-size: 1.6rem;
}

/* 行ホバー */
.agency-table tbody tr:hover {
  background: rgba(176,139,87,0.06);
}

/* リムラボ列 */
.agency-table td:nth-child(2) {
  font-size: 1.8rem;
  font-weight: 700;
  background: rgba(176,139,87,0.06);
  color: var(--agency-color-main);
  position: relative;
}

/* 強調セル */
.agency-table td.is-highlight {
  color: var(--agency-color-accent-dark);
  font-weight: 800;
  font-size: 1.9rem;
}

/* リムラボチェック */
.agency-table td:nth-child(2)::before {
  content: "✔";
  color: var(--agency-color-accent);
  font-weight: 700;
  margin-right: 6px;
}

/* 一般会社列 */
.agency-table td:nth-child(3) {
  color: #64748b;
  font-size: 1.5rem;
}

/* 一般会社アイコン */
.agency-table td:nth-child(3)::before {
  content: "△";
  color: #9ca3af;
  margin-right: 6px;
}

/* スマホ */
@media (max-width: 768px) {

  .agency-table th,
  .agency-table td {
    padding: 16px 12px;
    font-size: 1.4rem;
  }

  .agency-table td:nth-child(2) {
    font-size: 1.6rem;
  }

  .agency-table td.is-highlight {
    font-size: 1.7rem;
  }

}

/* ================================
   11. Service
================================ */
.agency-service__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  margin-top: 48px;
}

.agency-service-item {
  position: relative;
  padding: 80px 20px 24px;
  background: #fff;
  border: 1px solid #ece8e1;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}

.agency-service-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
  border-color: rgba(176, 139, 87, 0.28);
}

.agency-service-item__num {
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: #1f2937;
  color: #fff;
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.03em;
  box-shadow: 0 6px 14px rgba(15, 23, 42, 0.12);
  z-index: 2;
}

.agency-service-item__title {
  min-height: 3.2em;
  margin: 0 0 18px;
  color: var(--agency-color-main);
  font-size: clamp(2.0rem, 2vw, 24px);
  font-weight: 700;
  line-height: 1.6;
}

.agency-service-item__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 110px;
  margin-bottom: 18px;
}

.agency-service-item__icon img {
  display: block;
  object-fit: contain;
}

.agency-service-item__text {
  margin: 0;
  color: var(--agency-color-text-light);
  font-size: 1.45rem;
  line-height: 1.9;
  letter-spacing: 0.01em;
}

/* ================================
   Responsive
================================ */
@media screen and (max-width: 1200px) {
  .agency-service__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
  }
  .agency-service-item__text {
    font-size: 1.35rem;
  }
}

@media screen and (max-width: 991px) {
  .agency-service__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media screen and (max-width: 767px) {
  .agency-service__grid {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-top: 32px;
  }

  .agency-service-item {
    padding: 64px 18px 22px;
  }

  .agency-service-item__num {
    top: -14px;
    width: 58px;
    height: 58px;
    font-size: 2.3rem;
  }

  .agency-service-item__title {
    min-height: auto;
    margin-bottom: 16px;
  }

  .agency-service-item__icon {
    min-height: 88px;
    margin-bottom: 16px;
  }

  .agency-service-item__icon img {
    width: 72px;
    height: 72px;
  }

  .agency-service-item__text {
    font-size: 1.4rem;
    line-height: 1.8;
  }
}
/* ================================
   12 / Flexible / Area
================================ */
/* ================================
   Flexible section - redesigned
================================ */
.agency-flexible-box {
  position: relative;
  padding: 56px 40px 40px;
  background: linear-gradient(135deg, #fffdf9 0%, #fff7eb 100%);
  border: 1px solid rgba(176, 139, 87, 0.22);
  border-radius: 28px;
  box-shadow: 0 20px 48px rgba(15, 23, 42, 0.10);
  overflow: hidden;
}

.agency-flexible-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: calc(100% - 80px);
  height: 1px;
  background: linear-gradient(
    90deg,
    rgba(176, 139, 87, 0) 0%,
    rgba(176, 139, 87, 0.65) 50%,
    rgba(176, 139, 87, 0) 100%
  );
  transform: translateX(-50%);
}

.agency-flexible-box::after {
  content: "";
  position: absolute;
  top: -60px;
  right: -60px;
  width: 220px;
  height: 220px;
  background: radial-gradient(
    circle,
    rgba(176, 139, 87, 0.12) 0%,
    rgba(176, 139, 87, 0) 72%
  );
  pointer-events: none;
}

.agency-flexible-box__lead {
  position: relative;
  z-index: 1;
  margin: 0;
  text-align: center;
  color: var(--agency-color-main);
  font-size: clamp(1.9rem, 2.2vw, 3rem);
  font-weight: 700;
  line-height: 1.85;
  letter-spacing: 0.03em;
}

.agency-flexible-options {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 32px;
}

.agency-flexible-option {
  position: relative;
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 104px;
  padding: 22px 24px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(176, 139, 87, 0.14);
  border-radius: 20px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease,
    background-color 0.3s ease;
}

.agency-flexible-option::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(176, 139, 87, 0.08) 0%,
    rgba(176, 139, 87, 0) 48%
  );
  border-radius: inherit;
  pointer-events: none;
}

.agency-flexible-option:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 34px rgba(15, 23, 42, 0.08);
  border-color: rgba(176, 139, 87, 0.28);
  background: rgba(255, 255, 255, 0.96);
}

.agency-flexible-option__num {
  position: relative;
  z-index: 1;
  flex: 0 0 64px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--agency-color-main) 0%, #24324a 100%);
  color: var(--agency-color-white);
  font-family: "Rubik", "Noto Sans JP", sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.16);
}

.agency-flexible-option__text {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--agency-color-main);
  font-size: clamp(1.8rem, 1.8vw, 2.3rem);
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.02em;
}

.agency-flexible-option--wide {
  grid-column: 1 / -1;
}

@media screen and (max-width: 768px) {
  .agency-flexible-box {
    padding: 40px 20px 28px;
    border-radius: 20px;
  }

  .agency-flexible-box::before {
    width: calc(100% - 40px);
  }

  .agency-flexible-box__lead {
    font-size: 2.1rem;
    line-height: 1.75;
  }

  .agency-flexible-options {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 24px;
  }

  .agency-flexible-option,
  .agency-flexible-option--wide {
    grid-column: auto;
    min-height: auto;
    padding: 18px 16px;
    gap: 14px;
    border-radius: 16px;
  }

  .agency-flexible-option__num {
    flex-basis: 52px;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    font-size: 1.5rem;
  }

  .agency-flexible-option__text {
    font-size: 1.7rem;
    line-height: 1.6;
  }
}
/* ================================
   13 Area
================================ */
.agency-box {
  padding: 42px 32px;
  background: var(--agency-color-white);
  border: 1px solid var(--agency-color-border);
  border-radius: var(--agency-radius);
  box-shadow: var(--agency-shadow-sm);
}

.agency-points {
  display: grid;
  gap: 14px;
  margin-top: 28px !important;
}

.agency-points li {
  position: relative;
  padding-left: 1.6em;
  font-weight: 700;
}

.agency-points li::before {
  content: "●";
  position: absolute;
  top: 0;
  left: 0;
  color: var(--agency-color-accent);
}

.agency-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.agency-tags li {
  padding: 10px 16px;

  border-radius: 999px;
  background: var(--agency-color-bg-alt);
  border: 1px solid var(--agency-color-border);
  font-weight: 700;
}
.agency-message-box {
  position: relative;
  padding: 56px 32px 46px;
  background: linear-gradient(135deg, #fffdf9 0%, #fff7eb 100%);
  border: 1px solid rgba(176, 139, 87, 0.22);
  border-radius: 28px;
  box-shadow: 0 20px 48px rgba(15, 23, 42, 0.10);
  text-align: center;
  overflow: hidden;
}

.agency-message-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: calc(100% - 80px);
  height: 1px;
  background: linear-gradient(
    90deg,
    rgba(176, 139, 87, 0) 0%,
    rgba(176, 139, 87, 0.65) 50%,
    rgba(176, 139, 87, 0) 100%
  );
  transform: translateX(-50%);
}

.agency-message-box::after {
  content: "";
  position: absolute;
  top: -40px;
  right: -40px;
  width: 180px;
  height: 180px;
  background: radial-gradient(
    circle,
    rgba(176, 139, 87, 0.12) 0%,
    rgba(176, 139, 87, 0) 72%
  );
  pointer-events: none;
}

.agency-message-box__label {
  position: relative;
  z-index: 1;
  display: inline-block;
  margin-bottom: 18px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(176, 139, 87, 0.10);
  color: var(--agency-color-accent-dark);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.agency-message-box__text {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--agency-color-main);
  font-size: clamp(2.2rem, 3vw, 3.6rem);
  font-weight: 700;
  line-height: 1.8;
  letter-spacing: 0.03em;
}

.agency-message-box__text strong {
  display: inline-block;
  color: var(--agency-color-accent-dark);
  font-size: 1.18em;
  line-height: 1.5;
  position: relative;
}

.agency-message-box__text strong::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0.08em;
  width: 100%;
  height: 0.38em;
  background: rgba(176, 139, 87, 0.16);
  z-index: -1;
  border-radius: 999px;
}

@media screen and (max-width: 768px) {
  .agency-message-box {
    padding: 40px 20px 34px;
    border-radius: 20px;
  }

  .agency-message-box::before {
    width: calc(100% - 40px);
  }

  .agency-message-box__text {
    font-size: 2.2rem;
    line-height: 1.75;
  }
}

/* ================================
   Offer / Message Box
================================ */
.agency-offer-box {
  position: relative;
  padding: 56px 40px 40px;
  background: linear-gradient(135deg, #fffdf9 0%, #fff7eb 100%);
  border: 1px solid rgba(176, 139, 87, 0.22);
  border-radius: 28px;
  box-shadow: 0 20px 48px rgba(15, 23, 42, 0.10);
  text-align: center;
  overflow: hidden;
}

.agency-offer-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: calc(100% - 80px);
  height: 1px;
  background: linear-gradient(
    90deg,
    rgba(176, 139, 87, 0) 0%,
    rgba(176, 139, 87, 0.65) 50%,
    rgba(176, 139, 87, 0) 100%
  );
  transform: translateX(-50%);
}

.agency-offer-box::after {
  content: "";
  position: absolute;
  top: -50px;
  right: -50px;
  width: 220px;
  height: 220px;
  background: radial-gradient(
    circle,
    rgba(176, 139, 87, 0.12) 0%,
    rgba(176, 139, 87, 0) 72%
  );
  pointer-events: none;
}

.agency-offer-box__label {
  position: relative;
  z-index: 1;
  display: inline-block;
  margin-bottom: 18px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(176, 139, 87, 0.10);
  color: var(--agency-color-accent-dark);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.agency-offer-box__lead {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--agency-color-main);
  font-size: clamp(1.8rem, 2vw, 3rem);
  font-weight: 700;
  line-height: 1.8;
  letter-spacing: 0.03em;
}

.agency-offer-box__lead strong {
  display: inline-block;
  position: relative;
  color: var(--agency-color-accent-dark);
  font-size: 1.18em;
  line-height: 1.5;
  z-index: 1;
}

.agency-offer-box__lead strong::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0.08em;
  width: 100%;
  height: 0.38em;
  background: rgba(176, 139, 87, 0.16);
  border-radius: 999px;
  z-index: -1;
}

.agency-offer-points {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 32px auto 0;
  padding: 0;
  list-style: none;
  max-width: 100%;
}

.agency-offer-points li {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 88px;
  padding: 20px 20px 20px 64px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(176, 139, 87, 0.14);
  border-radius: 18px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
  color: var(--agency-color-main);
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.7;
  text-align: left;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}

.agency-offer-points li::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 20px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--agency-color-accent) 0%, #d6bb86 100%);
  box-shadow: 0 6px 14px rgba(176, 139, 87, 0.22);
  transform: translateY(-50%);
}

.agency-offer-points li::after {
  content: "✓";
  position: absolute;
  top: 50%;
  left: 34px;
  transform: translate(-50%, -50%);
  color: #fff;
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1;
}

.agency-offer-points li:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.08);
  border-color: rgba(176, 139, 87, 0.28);
}

@media screen and (max-width: 768px) {
  .agency-offer-box {
    padding: 40px 20px 28px;
    border-radius: 20px;
  }

  .agency-offer-box::before {
    width: calc(100% - 40px);
  }

  .agency-offer-box__lead {
    font-size: 2.2rem;
    line-height: 1.75;
  }

  .agency-offer-points {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 24px;
  }

  .agency-offer-points li {
    min-height: auto;
    padding: 16px 16px 16px 56px;
    border-radius: 14px;
    font-size: 1.45rem;
    line-height: 1.75;
  }

  .agency-offer-points li::before {
    left: 18px;
    width: 24px;
    height: 24px;
  }

  .agency-offer-points li::after {
    left: 30px;
    font-size: 1.2rem;
  }
}

/* ================================
   13. News
================================ */
.agency-news__list {
  display: grid;
  gap: 16px;
}

.agency-news__item {
  background: var(--agency-color-white);
  border: 1px solid var(--agency-color-border);
  border-radius: var(--agency-radius-sm);
  box-shadow: var(--agency-shadow-sm);
  transition:
    transform var(--agency-transition),
    box-shadow var(--agency-transition),
    border-color var(--agency-transition);
}

.agency-news__item:hover {
  transform: translateY(-2px);
  box-shadow: var(--agency-shadow);
}

.agency-news__item a {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 24px;
  align-items: center;
  padding: 22px 24px;
}

.agency-news__item time {
  color: var(--agency-color-accent);
  font-size: 1.4rem;
  font-weight: 700;
}

.agency-news__item h3 {
  font-size: 1.7rem;
  font-weight: 700;
  line-height: 1.7;
}

.agency-news__more {
  margin-top: 28px;
  text-align: center;
}

/* ================================
   14. FAQ
================================ */
.agency-faq {
  display: grid;
  gap: 16px;
  max-width: 920px;
  margin-inline: auto;
}

.agency-faq__item {
  background: var(--agency-color-white);
  border: 1px solid var(--agency-color-border);
  border-radius: var(--agency-radius-sm);
  overflow: hidden;
  box-shadow: var(--agency-shadow-sm);
}

.agency-faq__q,
.agency-faq__a {
  padding: 20px 22px;
}

.agency-faq__q {
  position: relative;
  padding-right: 56px;
  background: var(--agency-color-bg-alt);
  font-weight: 700;
  cursor: pointer;
}

.agency-faq__q::before,
.agency-faq__q::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 22px;
  width: 14px;
  height: 2px;
  background: var(--agency-color-main);
  transform: translateY(-50%);
  transition: var(--agency-transition);
}

.agency-faq__q::after {
  transform: translateY(-50%) rotate(90deg);
}

.agency-faq__item.is-open .agency-faq__q::after {
  transform: translateY(-50%) rotate(0deg);
  opacity: 0;
}

.agency-faq__a {
  color: var(--agency-color-text-light);
}

.js-enabled .agency-faq__a {
  display: none;
}

.js-enabled .agency-faq__item.is-open .agency-faq__a {
  display: block;
}

/* ================================
   15. CTA
================================ */
/* ================================
   CTA Section (Parallax Style)
================================ */

.agency-cta {
  position: relative;
  overflow: clip;
  color: var(--agency-color-white);
}

/* 背景 */

.agency-cta__bg,
.agency-cta__overlay {
  position: absolute;
  inset: 0;
}

.agency-cta__bg {
  background:
    url("https://carsell.dcholding.biz/img/agency/agency-cta.jpg")
    center center / cover no-repeat;
}

/* オーバーレイ */

.agency-cta__overlay {
  background:
    linear-gradient(
      0deg,
      rgba(5,9,18,.94) 0%,
      rgba(5,9,18,.85) 40%,
      rgba(5,9,18,.75) 100%
    );
}

/* inner */

.agency-cta__inner {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 110px 0;
}

/* ボタン */

.agency-cta__buttons {
  margin-top: 34px;
  justify-content: center;
}
@media (min-width:769px) {

  .agency-cta__bg {
    background-attachment: fixed;
  }

}
@media (max-width:768px){

  .agency-cta__bg{
    background-attachment: scroll;
  }

  .agency-cta__inner{
    padding: 80px 0;
  }

}
/* ================================
   16. Footer
================================ */
.agency-footer {
  padding: 40px 20px;
  background: var(--agency-color-main);
  color: var(--agency-color-white);
}

.agency-footer__inner {
  width: min(var(--agency-container), calc(100% - 40px));
  margin-inline: auto;
  text-align: center;
}

.agency-footer__name {
  font-size: 1.8rem;
  font-weight: 700;
}

.agency-footer__copy {
  margin-top: 10px;
  font-size: 1.3rem;
  opacity: 0.75;
}

/* ================================
   17. Animation
================================ */
.fade-up {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}

.js-enabled .fade-up {
  opacity: 0;
  transform: translateY(28px);
}

.js-enabled .fade-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ================================
   18. Utilities
================================ */
.u-center {
  text-align: center;
}

.u-mt-0 {
  margin-top: 0 !important;
}

.u-mt-16 {
  margin-top: 16px !important;
}

.u-mt-24 {
  margin-top: 24px !important;
}

.u-mt-32 {
  margin-top: 32px !important;
}

.u-mt-40 {
  margin-top: 40px !important;
}

/* ================================
   19. Responsive
================================ */
@media screen and (max-width: 1100px) {
  .agency-header__inner {
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 18px;
  }

  .agency-header__right {
    display: none;
  }

  .agency-header__cta {
    display: none;
  }

  .agency-menu-toggle {
    display: block;
    justify-self: end;
    margin-left: auto;
  }
}

@media screen and (max-width: 1024px) {
  .agency-service__grid,
  .agency-value__cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .agency-problem__grid,
  .agency-revenue__wrap {
    grid-template-columns: 1fr;
  }
}

@media screen and (min-width: 769px) {
  .agency-hero__bg {
    background-attachment: fixed;
  }
}

@media screen and (max-width: 768px) {
  :root {
    --agency-header-height: 72px;
  }

  .agency-section {
    padding: 80px 0;
  }

  .agency-header {
    background: rgba(15, 23, 42, 0.18);
  }

  .agency-header__inner {
    min-height: 72px;
    grid-template-columns: auto 1fr auto;
    gap: 0;
    margin: 6px auto;
  }

  .agency-header__logo-img {
    height: 34px;
  }

  .agency-menu-toggle {
    display: block;
    position: relative;
    z-index: 1105;
    justify-self: end;
    margin-left: auto;
    width: 52px;
    height: 52px;
  }

  .agency-drawer__panel {
    padding: 100px 24px 32px;
  }

  .agency-drawer__nav a {
    font-size: 1.7rem;
  }

  .agency-hero {
    min-height: 96svh;
  }

  .agency-hero__bg {
    transform: scale(1.02);
    background-attachment: scroll;
    background-position: center center;
  }

  .agency-hero__inner {
    min-height: auto;
    padding: 300px 0 180px;
  }

  .agency-hero__content {
    max-width: 100%;
  }

  .agency-hero__title {
    font-size: clamp(3.0rem, 8vw, 5rem);
    line-height: 1.5;
    padding-top: 16px;
  }

  .agency-hero__lead {
    font-size: 1.5rem;
    line-height: 1.9;
  }

  .agency-hero-message {
    padding-bottom: 32px;
  }

  .agency-hero-message__inner {
    padding-top: 34px;
  }

  .agency-hero-message__inner::before {
    height: 24px;
  }

  .agency-hero-message__title {
    font-size: clamp(2.2rem, 6vw, 3rem);
  }

  .agency-hero-message__text {
    font-size: 1.4rem;
    line-height: 1.9;
  }

  .agency-btn-group {
    flex-direction: column;
    align-items: stretch;
  }

  .agency-btn {
    width: 100%;
    min-width: 0;
  }

  .agency-value__cards,
  .agency-service__grid {
    grid-template-columns: 1fr;
  }

  .agency-news__item a {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .agency-feature__box,
  .agency-box {
    padding: 32px 20px;
  }

  .agency-table th,
  .agency-table td {
    padding: 16px 12px;
    font-size: 1.4rem;
  }
}

@media screen and (min-width: 1101px) {
  .agency-drawer {
    display: none;
  }
}

/* ================================
   Page Top Button
================================ */
.agency-pagetop {
  position: fixed;
  right: 28px;
  bottom: 28px;
  z-index: 999;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--agency-color-accent);
  color: #fff !important;
  font-size: 20px;
  font-weight: 700;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  transition:
    transform 0.3s ease,
    background-color 0.3s ease,
    opacity 0.3s ease;
  opacity: 0;
  pointer-events: none;
}

.agency-pagetop.is-show {
  opacity: 1;
  pointer-events: auto;
}

.agency-pagetop:hover {
  transform: translateY(-4px);
  background: var(--agency-color-accent-dark);
}