body.wellagent-page {
  --background: #ffffff;
  --foreground: #050505;
  --brand: #ff4000;
  --brand-deep: #e23700;
  --soft: #f3f3f3;
  --line: #d8d8d8;
  --muted: #686868;
  --dark: #080808;
  --max: 1228px;
  --gutter: clamp(22px, 6vw, 68px);
  --section: clamp(88px, 11vw, 168px);
  margin: 0 !important;
  padding: 0 !important;
  background: var(--background) !important;
  color: var(--foreground) !important;
  font-family: Arial, "Hiragino Sans", "ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", YuGothic, "Yu Gothic", Meiryo, sans-serif !important;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
}

.wellagent-page *, .wellagent-page *::before, .wellagent-page *::after { box-sizing: border-box; }
.wellagent-page .wa-site { width: 100%; overflow: clip; background: #fff; color: #050505; }
.wellagent-page .wa-site a { color: inherit; text-decoration: none; }
.wellagent-page .wa-site img { display: block; max-width: 100%; }
.wellagent-page .wa-site button, .wellagent-page .wa-site input, .wellagent-page .wa-site textarea, .wellagent-page .wa-site select { font: inherit; }
.wellagent-page .wa-site ::selection { color: #fff; background: var(--brand); }
.wellagent-page .container { width: min(calc(100% - (var(--gutter) * 2)), var(--max)); margin-inline: auto; }
.wellagent-page .section-pad { padding-block: var(--section); }

.wellagent-page .site-header { position: sticky; z-index: 999; top: 0; display: grid; grid-template-columns: minmax(250px, 1fr) auto 132px; align-items: stretch; min-height: 80px; border-bottom: 1px solid rgba(0,0,0,.08); background: rgba(255,255,255,.96); backdrop-filter: blur(12px); }
.wellagent-page.admin-bar .site-header { top: 32px; }
.wellagent-page .brand { display: flex; align-items: center; gap: 16px; padding: 16px 32px; }
.wellagent-page .brand img { width: 126px; height: auto; }
.wellagent-page .brand-divider { width: 1px; height: 24px; background: #bbb; }
.wellagent-page .brand-service { font-size: 13px; font-weight: 700; letter-spacing: .14em; }
.wellagent-page .site-nav { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 40px); padding-inline: 26px; font-size: 13px; }
.wellagent-page .site-nav a { position: relative; padding-block: 8px; }
.wellagent-page .site-nav a::after { position: absolute; right: 0; bottom: 0; left: 0; height: 2px; background: var(--brand); content: ""; transform: scaleX(0); transform-origin: right; transition: transform .25s ease; }
.wellagent-page .site-nav a:hover::after, .wellagent-page .site-nav a:focus-visible::after { transform: scaleX(1); transform-origin: left; }
.wellagent-page .header-cta { display: grid; place-items: center; background: var(--brand); color: #fff !important; font-size: 14px; font-weight: 700; transition: background .2s ease; }
.wellagent-page .header-cta:hover, .wellagent-page .header-cta:focus-visible { background: var(--brand-deep); }

.wellagent-page .hero { position: relative; min-height: calc(100svh - 80px); overflow: hidden; color: var(--foreground); background: #fff; }
.wellagent-page .hero-image { position: absolute; inset: 0; background-image: url("https://rubyin.co.jp/wp-content/themes/genesis_tcd103/images/home/service_1.jpg"); background-position: center 38%; background-size: cover; transform: scale(1.02); animation: waHeroIn 1.1s cubic-bezier(.2,.7,.2,1) both; }
.wellagent-page .hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255,255,255,.98) 0%, rgba(255,255,255,.94) 43%, rgba(255,255,255,.66) 61%, rgba(255,255,255,.08) 88%); }
.wellagent-page .hero-copy { position: relative; z-index: 2; display: flex; min-height: calc(100svh - 80px); width: min(calc(100% - (var(--gutter) * 2)), var(--max)); margin-inline: auto; padding: clamp(72px, 10vh, 130px) 0 64px; flex-direction: column; justify-content: center; }
.wellagent-page .hero-kicker { display: flex; margin: 0 0 28px; color: #292929; font-size: 14px; font-weight: 700; letter-spacing: .08em; align-items: center; gap: 14px; }
.wellagent-page .hero-kicker::before { width: 40px; height: 3px; background: var(--brand); content: ""; }
.wellagent-page .hero h1 { display: flex; max-width: 850px; margin: 0; padding: 0; border: 0; align-items: flex-start; flex-direction: column; color: #050505; font-size: clamp(40px, 5.15vw, 70px); font-weight: 700; letter-spacing: -.055em; line-height: 1.28; }
.wellagent-page .hero-line { display: block; white-space: nowrap; }
.wellagent-page .hero-emphasis { color: var(--brand); }
.wellagent-page .hero-description { max-width: 600px; margin: 32px 0 0; color: #333; font-size: clamp(16px, 1.6vw, 19px); line-height: 2; }
.wellagent-page .hero-actions { display: flex; margin-top: 36px; align-items: center; gap: 22px; }
.wellagent-page .hero-actions > p { margin: 0; color: #555; font-size: 13px; }
.wellagent-page .hero-side { position: absolute; z-index: 2; right: 24px; bottom: 28px; margin: 0; color: #222; font-size: 11px; font-weight: 700; letter-spacing: .2em; writing-mode: vertical-rl; }
.wellagent-page .cta-button { display: inline-flex; min-height: 64px; padding: 0 24px 0 28px; align-items: center; justify-content: space-between; gap: 22px; background: var(--brand); color: #fff !important; font-size: 15px; font-weight: 700; line-height: 1.4; transition: transform .2s ease, background .2s ease; }
.wellagent-page .cta-button:hover, .wellagent-page .cta-button:focus-visible { background: var(--brand-deep); transform: translateY(-2px); }
.wellagent-page .cta-button-dark { background: var(--dark); }
.wellagent-page .cta-button-dark:hover, .wellagent-page .cta-button-dark:focus-visible { background: #333; }
.wellagent-page .cta-arrow { font-size: 22px; font-weight: 400; }

.wellagent-page .section-title { margin-bottom: clamp(52px, 7vw, 94px); }
.wellagent-page .section-title-en { margin: 0; color: #050505; font-size: clamp(42px, 5.8vw, 70px); font-weight: 700; letter-spacing: -.045em; line-height: 1; }
.wellagent-page .section-title-ja { margin: 14px 0 0; color: var(--brand); font-size: 17px; line-height: 1.4; }
.wellagent-page .intro-lead, .wellagent-page .positioning-heading, .wellagent-page .decision-heading { display: grid; margin-bottom: 70px; grid-template-columns: 1.05fr .95fr; gap: clamp(38px, 7vw, 110px); align-items: end; }
.wellagent-page .intro-lead h2, .wellagent-page .positioning-heading h2, .wellagent-page .decision-heading h2, .wellagent-page .structure h2, .wellagent-page .philosophy h2, .wellagent-page .profile h2, .wellagent-page .faq-heading h2 { margin: 0; color: inherit; font-size: clamp(32px, 4vw, 50px); line-height: 1.45; letter-spacing: -.035em; }
.wellagent-page .intro-lead > p, .wellagent-page .positioning-heading > p, .wellagent-page .decision-heading > p { margin: 0; color: #292929; line-height: 2.35; }
.wellagent-page .concern-grid { display: grid; border-top: 1px solid var(--line); grid-template-columns: repeat(2, 1fr); }
.wellagent-page .concern-card { position: relative; min-height: 260px; padding: 42px 46px 44px 72px; border-bottom: 1px solid var(--line); }
.wellagent-page .concern-card:nth-child(odd) { border-right: 1px solid var(--line); }
.wellagent-page .card-number { position: absolute; top: 38px; left: 0; margin: 0; color: var(--brand); font-size: 12px; letter-spacing: .1em; }
.wellagent-page .concern-card h3 { margin: 0 0 20px; color: #050505; font-size: clamp(21px, 2vw, 27px); line-height: 1.55; }
.wellagent-page .concern-card > p:last-child { margin: 0; color: var(--muted); line-height: 2; }

.wellagent-page .positioning { background: var(--soft); }
.wellagent-page .comparison-wrap { overflow-x: auto; outline: none; }
.wellagent-page .comparison-table { width: 100%; min-width: 860px; border-collapse: collapse; background: #fff; color: #050505; font-size: 15px; }
.wellagent-page .comparison-table th, .wellagent-page .comparison-table td { padding: 24px 22px; border: 1px solid #d4d4d4; background: #fff; color: #050505; text-align: left; vertical-align: top; }
.wellagent-page .comparison-table thead th { font-size: 14px; }
.wellagent-page .comparison-table tbody th { width: 16%; font-size: 13px; }
.wellagent-page .comparison-table .is-us { background: var(--brand); color: #fff; font-weight: 700; }
.wellagent-page .table-note { margin: 18px 0 0; color: var(--muted); font-size: 12px; }

.wellagent-page .promise { color: #fff; background: var(--brand); }
.wellagent-page .promise .section-title-en, .wellagent-page .promise .section-title-ja { color: #fff; }
.wellagent-page .statement-heading { margin: 0 0 clamp(60px, 8vw, 100px); color: inherit; font-size: clamp(38px, 5.5vw, 68px); letter-spacing: -.045em; line-height: 1.32; }
.wellagent-page .promise-grid { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid rgba(255,255,255,.55); }
.wellagent-page .promise-card { min-height: 330px; padding: 42px 50px 56px 0; border-bottom: 1px solid rgba(255,255,255,.55); }
.wellagent-page .promise-card:nth-child(odd) { padding-right: 60px; border-right: 1px solid rgba(255,255,255,.55); }
.wellagent-page .promise-card:nth-child(even) { padding-left: 60px; }
.wellagent-page .promise-top { display: flex; align-items: center; gap: 18px; font-size: 12px; letter-spacing: .12em; }
.wellagent-page .promise-line { height: 1px; background: rgba(255,255,255,.7); flex: 1; }
.wellagent-page .promise-card h3 { margin: 52px 0 22px; color: #fff; font-size: clamp(24px, 2.5vw, 34px); line-height: 1.5; }
.wellagent-page .promise-card p { max-width: 520px; margin: 0; color: #fff; line-height: 2; }
.wellagent-page .center-cta { margin-top: 62px; text-align: center; }

.wellagent-page .structure { background: #fff; }
.wellagent-page .structure-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(56px, 8vw, 120px); }
.wellagent-page .structure-copy { padding-top: clamp(40px, 8vw, 110px); }
.wellagent-page .structure-copy p { margin: 0 0 30px; line-height: 2.3; }
.wellagent-page .structure-copy p:first-child::first-letter { float: left; margin: .12em .18em 0 0; color: var(--brand); font-size: 5.2rem; font-weight: 700; line-height: .75; }

.wellagent-page .decisions { background: var(--dark); color: #fff; }
.wellagent-page .decisions .section-title-en { color: #fff; }
.wellagent-page .decisions .section-title-ja { color: var(--brand); }
.wellagent-page .decision-heading h2 { color: #fff; }
.wellagent-page .decision-heading > p { color: #bdbdbd; }
.wellagent-page .decision-list { border-top: 1px solid #404040; }
.wellagent-page .decision-row { display: grid; padding: 42px 0; grid-template-columns: 130px 1fr 1.25fr; gap: clamp(22px, 4vw, 70px); border-bottom: 1px solid #404040; align-items: start; }
.wellagent-page .decision-index { margin: 4px 0 0; color: var(--brand); font-size: 11px; letter-spacing: .14em; }
.wellagent-page .decision-row h3 { margin: 0; color: #fff; font-size: clamp(20px, 2vw, 27px); line-height: 1.65; }
.wellagent-page .decision-row > p:last-child { margin: 0; color: #c8c8c8; line-height: 2; }

.wellagent-page .philosophy { background: var(--soft); }
.wellagent-page .philosophy-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.wellagent-page .philosophy-brand { padding-right: clamp(36px, 7vw, 94px); border-right: 1px solid #bbb; }
.wellagent-page .philosophy-small { margin: 0 0 18px; color: var(--brand); font-size: 12px; letter-spacing: .15em; }
.wellagent-page .philosophy-quote { display: flex; padding-left: clamp(36px, 7vw, 94px); flex-direction: column; justify-content: flex-end; }
.wellagent-page .philosophy-quote > p { margin: 0 0 28px; line-height: 2; }
.wellagent-page .philosophy-quote > p:last-child { margin: 30px 0 0; color: var(--muted); }
.wellagent-page .philosophy-quote blockquote { margin: 0; padding: 0; border: 0; color: var(--brand); font-size: clamp(27px, 3.1vw, 40px); font-weight: 700; line-height: 1.65; letter-spacing: -.03em; }

.wellagent-page .profile-grid { display: grid; grid-template-columns: 1fr .82fr; gap: clamp(60px, 9vw, 135px); }
.wellagent-page .profile-card { align-self: end; padding: 50px; border: 1px solid #111; }
.wellagent-page .profile-label { margin: 0 0 26px; color: var(--brand); font-size: 14px; font-weight: 700; }
.wellagent-page .profile-card > p:nth-child(2) { margin: 0; line-height: 2.25; }
.wellagent-page .profile-note { margin: 24px 0 0; color: var(--muted); font-size: 12px; }

.wellagent-page .flow { background: var(--soft); }
.wellagent-page .flow-list { margin: 0; padding: 0; border-top: 1px solid #bbb; list-style: none; }
.wellagent-page .flow-list li { display: grid; padding: 34px 0; grid-template-columns: 110px 1fr; border-bottom: 1px solid #bbb; }
.wellagent-page .flow-number { color: var(--brand); font-size: 28px; font-weight: 700; line-height: 1; }
.wellagent-page .flow-list h3 { margin: 0 0 10px; color: #050505; font-size: 24px; }
.wellagent-page .flow-list p { margin: 0; color: var(--muted); line-height: 2; }

.wellagent-page .faq-grid { display: grid; grid-template-columns: .72fr 1.28fr; gap: clamp(60px, 9vw, 140px); }
.wellagent-page .faq-heading { position: sticky; top: 120px; align-self: start; }
.wellagent-page .faq-heading .section-title { margin-bottom: 50px; }
.wellagent-page .faq-list { border-top: 1px solid #111; }
.wellagent-page .faq-list details { border-bottom: 1px solid #bdbdbd; }
.wellagent-page .faq-list summary { position: relative; display: grid; padding: 28px 54px 28px 0; cursor: pointer; grid-template-columns: 56px 1fr; color: #050505; font-size: 18px; font-weight: 700; list-style: none; line-height: 1.6; }
.wellagent-page .faq-list summary::-webkit-details-marker { display: none; }
.wellagent-page .faq-list summary > span:first-child { color: var(--brand); font-size: 12px; letter-spacing: .1em; }
.wellagent-page .faq-plus { position: absolute; right: 4px; font-size: 25px; font-weight: 400; transition: transform .25s ease; }
.wellagent-page .faq-list details[open] .faq-plus { transform: rotate(45deg); }
.wellagent-page .faq-list details > p { margin: 0; padding: 0 40px 28px 56px; color: var(--muted); line-height: 2; }

.wellagent-page .final-cta { color: #fff; background: var(--brand); }
.wellagent-page .final-cta-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(50px, 8vw, 120px); }
.wellagent-page .final-kicker { grid-column: 1 / -1; margin: 0 0 20px; color: #fff; font-size: 12px; letter-spacing: .2em; }
.wellagent-page .final-cta h2 { margin: 0; color: #fff; font-size: clamp(46px, 7vw, 86px); line-height: 1.2; letter-spacing: -.055em; }
.wellagent-page .final-cta-copy { padding-top: 14px; }
.wellagent-page .final-cta-copy > p:first-child { margin: 0 0 34px; color: #fff; line-height: 2.2; }
.wellagent-page .final-message { margin: 0 0 34px; color: #fff; font-size: 21px; font-weight: 700; line-height: 1.8; }
.wellagent-page .final-cta .cta-button { background: #fff; color: var(--dark) !important; }
.wellagent-page .final-cta .cta-button:hover, .wellagent-page .final-cta .cta-button:focus-visible { background: #f1f1f1; }
.wellagent-page .cta-meta { margin: 16px 0 0; color: #fff; font-size: 12px; }

.wellagent-page .site-footer { padding: 72px var(--gutter) 30px; color: #fff; background: var(--dark); }
.wellagent-page .footer-top { display: flex; min-height: 180px; align-items: flex-start; justify-content: space-between; gap: 40px; }
.wellagent-page .footer-brand { display: flex; flex-direction: column; color: #fff; font-size: clamp(30px, 4vw, 52px); font-weight: 700; line-height: 1.12; letter-spacing: -.04em; }
.wellagent-page .footer-brand span:last-child { color: var(--brand); }
.wellagent-page .footer-top > p { margin: 0; color: #aaa; }
.wellagent-page .footer-bottom { display: grid; padding-top: 26px; border-top: 1px solid #333; grid-template-columns: 1fr auto auto; gap: 34px; color: #888; font-size: 12px; }
.wellagent-page .footer-bottom p { margin: 0; color: #888; }
.wellagent-page .footer-bottom nav { display: flex; gap: 24px; }

@keyframes waHeroIn { from { opacity: .55; transform: scale(1.09); } to { opacity: 1; transform: scale(1.02); } }

@media (max-width: 980px) {
  .wellagent-page .site-header { grid-template-columns: 1fr 108px; }
  .wellagent-page .site-nav { display: none; }
  .wellagent-page .brand { padding-inline: 22px; }
  .wellagent-page .hero-copy { justify-content: flex-end; padding-bottom: 72px; }
  .wellagent-page .hero-image { background-position: 58% center; }
  .wellagent-page .hero-shade { background: linear-gradient(0deg, rgba(255,255,255,.99) 0%, rgba(255,255,255,.96) 55%, rgba(255,255,255,.18) 100%); }
  .wellagent-page .intro-lead, .wellagent-page .positioning-heading, .wellagent-page .decision-heading, .wellagent-page .structure-grid, .wellagent-page .profile-grid, .wellagent-page .faq-grid, .wellagent-page .final-cta-grid { grid-template-columns: 1fr; }
  .wellagent-page .structure-copy { padding-top: 0; }
  .wellagent-page .philosophy-grid { grid-template-columns: 1fr; }
  .wellagent-page .philosophy-brand { padding: 0 0 70px; border-right: 0; border-bottom: 1px solid #bbb; }
  .wellagent-page .philosophy-quote { padding: 70px 0 0; }
  .wellagent-page .decision-row { grid-template-columns: 94px 1fr; }
  .wellagent-page .decision-row > p:last-child { grid-column: 2; }
  .wellagent-page .faq-heading { position: static; }
  .wellagent-page .footer-bottom { grid-template-columns: 1fr; }
}

@media (max-width: 782px) {
  .wellagent-page.admin-bar .site-header { top: 46px; }
}

@media (max-width: 680px) {
  body.wellagent-page { --gutter: 22px; --section: 92px; line-height: 1.75; }
  .wellagent-page .site-header { min-height: 68px; grid-template-columns: 1fr 88px; }
  .wellagent-page .brand { gap: 10px; padding: 13px 16px; }
  .wellagent-page .brand img { width: 92px; }
  .wellagent-page .brand-divider { height: 19px; }
  .wellagent-page .brand-service { font-size: 9px; letter-spacing: .08em; }
  .wellagent-page .header-cta { font-size: 12px; }
  .wellagent-page .hero { min-height: calc(100svh - 68px); }
  .wellagent-page .hero-copy { min-height: calc(100svh - 68px); padding-top: 80px; padding-bottom: 52px; }
  .wellagent-page .hero-kicker { font-size: 12px; }
  .wellagent-page .hero h1 { font-size: clamp(34px, 10.2vw, 46px); line-height: 1.3; }
  .wellagent-page .hero-line { white-space: normal; }
  .wellagent-page .hero-description { margin-top: 24px; font-size: 15px; line-height: 1.85; }
  .wellagent-page .hero-actions { align-items: stretch; flex-direction: column; }
  .wellagent-page .hero-actions > p { text-align: left; }
  .wellagent-page .hero-side { display: none; }
  .wellagent-page .cta-button { width: 100%; min-height: 62px; }
  .wellagent-page .section-title { margin-bottom: 54px; }
  .wellagent-page .section-title-en { font-size: 40px; overflow-wrap: anywhere; }
  .wellagent-page .section-title-ja { font-size: 15px; }
  .wellagent-page .intro-lead, .wellagent-page .positioning-heading, .wellagent-page .decision-heading { margin-bottom: 48px; gap: 28px; }
  .wellagent-page .concern-grid { grid-template-columns: 1fr; }
  .wellagent-page .concern-card { min-height: 0; padding: 32px 8px 36px 54px; }
  .wellagent-page .concern-card:nth-child(odd) { border-right: 0; }
  .wellagent-page .card-number { top: 31px; }
  .wellagent-page .promise-grid { grid-template-columns: 1fr; }
  .wellagent-page .promise-card, .wellagent-page .promise-card:nth-child(odd), .wellagent-page .promise-card:nth-child(even) { min-height: 0; padding: 38px 0 44px; border-right: 0; }
  .wellagent-page .promise-card h3 { margin-top: 36px; }
  .wellagent-page .decision-row { padding: 34px 0; grid-template-columns: 1fr; gap: 12px; }
  .wellagent-page .decision-row > p:last-child { grid-column: 1; margin-top: 10px; }
  .wellagent-page .profile-card { padding: 32px 26px; }
  .wellagent-page .flow-list li { padding: 28px 0; grid-template-columns: 62px 1fr; }
  .wellagent-page .flow-list h3 { font-size: 20px; }
  .wellagent-page .faq-list summary { padding-block: 24px; grid-template-columns: 46px 1fr; font-size: 16px; }
  .wellagent-page .faq-list details > p { padding-left: 46px; }
  .wellagent-page .footer-top { min-height: 220px; flex-direction: column; }
  .wellagent-page .footer-bottom nav { flex-direction: column; gap: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  .wellagent-page *, .wellagent-page *::before, .wellagent-page *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

