:root {
  --ink: #38271f;
  --ink-soft: #6f5a50;
  --line: rgba(76, 48, 35, .14);
  --blue: #74c9ef;
  --violet: #b789ec;
  --paper: #fefdfc;
  --serif: "Shippori Mincho", "Yu Mincho", serif;
  --sans: "Noto Sans JP", system-ui, sans-serif;
  --shadow: 0 22px 65px rgba(73, 55, 95, .09);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
/* 日本語の折り返しをきれいに：単語の途中で切らず、文節で改行する */
h1, h2, h3, p, li, a, summary, figcaption, span { overflow-wrap: break-word; word-break: normal; line-break: strict; }
h1, h2, h3 { word-break: auto-phrase; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { color: inherit; font: inherit; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip-link { position: fixed; top: -100px; left: 20px; z-index: 100; padding: 8px 14px; background: #fff; }
.skip-link:focus { top: 12px; }
.section { position: relative; padding: 120px 24px; overflow: hidden; }
.section-inner { position: relative; width: min(1180px, 100%); margin: 0 auto; z-index: 1; }
.section-kicker {
  margin: 0 0 12px;
  color: #8a6f63;
  font-family: Georgia, serif;
  font-size: 13px;
  letter-spacing: .2em;
  text-transform: uppercase;
}
/* 英字キッカーと見出しの間に置く和文のリード */
.section-tagline {
  margin: 0 0 14px;
  color: #8a6f63;
  font-family: var(--serif);
  font-size: clamp(15px, 1.5vw, 18px);
  font-weight: 500;
  letter-spacing: .16em;
}
.section-heading { max-width: 700px; margin: 0 auto 58px; text-align: center; }
.section-heading h2, .welcome h2, .contact h2, .about-copy h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(28px, 3.2vw, 43px);
  font-weight: 500;
  letter-spacing: .06em;
  line-height: 1.55;
}
.section-heading > p:last-child { margin: 18px 0 0; color: var(--ink-soft); }
.leaf-divider { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 18px auto; }
.leaf-divider span { width: 92px; height: 1px; background: linear-gradient(90deg, transparent, rgba(80,48,35,.35)); }
.leaf-divider span:last-child { background: linear-gradient(90deg, rgba(80,48,35,.35), transparent); }
.leaf-divider i {
  width: 19px; height: 10px; border-radius: 100% 0 100% 0;
  background: linear-gradient(135deg, var(--blue), var(--violet)); transform: rotate(-12deg);
  box-shadow: 0 0 15px rgba(135,178,239,.5);
}
.leaf-divider.is-left { justify-content: flex-start; }
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .8s ease, transform .8s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

.site-header {
  position: relative;
  z-index: 50;
  height: 94px;
  background: rgba(255,255,255,.9);
  border-bottom: 1px solid rgba(80,48,35,.06);
  backdrop-filter: blur(18px);
}
.header-inner { width: min(1320px, calc(100% - 48px)); height: 100%; margin: auto; display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; width: 132px; height: 78px; overflow: hidden; }
.brand img { width: 100%; height: 100%; object-fit: contain; }
.global-nav { display: flex; align-items: center; gap: clamp(24px, 3vw, 48px); font-family: var(--serif); font-size: 14px; }
.global-nav a { position: relative; padding: 8px 0; transition: color .25s; }
.global-nav a:not(.nav-contact)::after {
  content: ""; position: absolute; left: 50%; right: 50%; bottom: 2px; height: 1px;
  background: linear-gradient(90deg, var(--blue), var(--violet)); transition: left .25s, right .25s;
}
.global-nav a:hover::after, .global-nav a.is-current::after { left: 0; right: 0; }
.nav-contact { padding: 10px 24px !important; border: 1px solid rgba(80,48,35,.35); border-radius: 999px; transition: background .25s, color .25s; }
.nav-contact:hover { color: #fff; background: var(--ink); }
.menu-button { display: none; border: 0; background: none; padding: 10px; cursor: pointer; }
.menu-button > span:not(.sr-only) { display: block; width: 25px; height: 1px; margin: 6px 0; background: var(--ink); transition: transform .25s, opacity .25s; }

.hero { position: relative; width: 100%; height: min(735px, calc(100vh - 120px)); min-height: 560px; margin: 0; overflow: hidden; border-radius: 0; }
.hero-slides, .hero-slide, .hero-shade { position: absolute; inset: 0; }
.hero-slide { opacity: 0; background: center/cover no-repeat; transform: scale(1.035); transition: opacity 1.2s ease, transform 7s ease; }
.hero-slide.is-active { opacity: 1; transform: scale(1); }
.hero-shade {
  background:
    linear-gradient(90deg, rgba(18,20,23,.66) 0%, rgba(27,31,34,.38) 42%, rgba(255,255,255,.02) 78%),
    linear-gradient(0deg, rgba(20,25,29,.18), transparent 45%);
}
.hero-copy {
  position: absolute; top: 50%; left: clamp(35px, 8vw, 125px); width: min(720px, calc(100% - 70px));
  padding: 0; color: #fff; transform: translateY(-50%);
}
.eyebrow { margin: 0 0 13px; font-family: Georgia, serif; font-size: 12px !important; letter-spacing: .21em; text-transform: uppercase; text-shadow: 0 2px 12px rgba(0,0,0,.5); }
.hero-copy h1 { margin: 0; font-family: var(--serif); font-size: clamp(33px, 3.6vw, 50px); font-weight: 500; letter-spacing: .05em; line-height: 1.45; text-shadow: 0 3px 20px rgba(0,0,0,.6), 0 1px 2px rgba(0,0,0,.55); }
.hero-title-line { white-space: nowrap; }
.hero-copy > p:last-child { margin: 19px 0 0; font-size: clamp(13px, 1.25vw, 16px); line-height: 2; letter-spacing: .04em; text-shadow: 0 2px 14px rgba(0,0,0,.55), 0 1px 2px rgba(0,0,0,.5); }
.slider-dots { position: absolute; right: 34px; bottom: 30px; display: flex; gap: 11px; }
.slider-dots button { width: 8px; height: 8px; padding: 0; border: 1px solid #fff; border-radius: 50%; background: transparent; cursor: pointer; transition: width .25s, background .25s; }
.slider-dots button.is-active { width: 27px; border-radius: 10px; background: #fff; }
.scroll-hint { position: absolute; bottom: 0; left: 50%; display: flex; flex-direction: column; align-items: center; color: #fff; font: 10px Georgia,serif; letter-spacing: .14em; transform: translateX(-50%); }
.scroll-hint i { width: 1px; height: 42px; margin-top: 8px; background: rgba(255,255,255,.75); }

.welcome { padding-top: 140px; padding-bottom: 60px; }
.welcome-inner { text-align: center; }
.welcome h2 { font-size: clamp(30px, 3.6vw, 48px); }
.welcome-copy { margin: 25px 0 30px; color: var(--ink-soft); font-family: var(--serif); font-size: clamp(16px, 1.6vw, 20px); line-height: 2.2; letter-spacing: .06em; }
.welcome-logo { display: block; width: clamp(230px, 26vw, 300px); height: auto; margin: 24px auto 8px; opacity: .95; }
.cert-badge { display: block; width: clamp(72px, 8vw, 92px); height: auto; margin: 26px auto 22px; opacity: .92; }
.text-link { display: inline-flex; align-items: center; gap: 20px; padding-bottom: 3px; border-bottom: 1px solid rgba(80,48,35,.28); font-size: 14px; }
.text-link span { color: #9e83df; font-size: 19px; transition: transform .25s; }
.text-link:hover span { transform: translateX(5px); }
.ambient { position: absolute; border-radius: 50%; filter: blur(2px); pointer-events: none; }
.ambient-one { width: 370px; height: 370px; left: -190px; top: 30px; background: radial-gradient(circle, rgba(120,205,239,.16), transparent 67%); }
.ambient-two { width: 520px; height: 520px; right: -260px; top: 70px; background: radial-gradient(circle, rgba(185,137,236,.12), transparent 67%); }

.agents { padding-top: 70px; background: linear-gradient(180deg, #fff, #fbfcff 55%, #fff); }
.agent-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 26px 20px; align-items: start; }
.agent-card {
  position: relative; min-width: 0; aspect-ratio: 1 / 1; overflow: visible;
  border: 0; border-radius: 0; background: transparent; box-shadow: none;
  transition: transform .3s, filter .3s;
}
.agent-card:hover { transform: translateY(-7px); filter: drop-shadow(0 24px 38px rgba(80,94,135,.2)); }
.agent-card > img {
  width: 100%; height: 100%; object-fit: contain; object-position: center;
  filter:
    drop-shadow(0 18px 24px rgba(72,86,126,.16))
    drop-shadow(0 5px 10px rgba(118,86,157,.09));
}
.agent-card-more {
  position: absolute; left: 50%; bottom: 6px; z-index: 2;
  display: inline-flex; align-items: center; gap: 7px; padding: 8px 16px; white-space: nowrap;
  border-radius: 999px; background: rgba(255,255,255,.94); backdrop-filter: blur(8px);
  border: 1px solid rgba(159,188,236,.4); box-shadow: 0 12px 28px rgba(88,108,151,.18);
  font-family: var(--serif); font-size: 12px; color: #5a4a42;
  opacity: 0; transform: translate(-50%, 10px); transition: opacity .3s, transform .3s; pointer-events: none;
}
.agent-card-more b { font-weight: 500; color: #6a52c0; }
.agent-card-more i { font-style: normal; color: #9f79d3; }
.agent-card:hover .agent-card-more, .agent-card:focus-visible .agent-card-more { opacity: 1; transform: translate(-50%, 0); }
.agent-card:focus-visible { outline: 2px solid rgba(135,178,239,.7); outline-offset: 6px; border-radius: 12px; }
.image-note, .draft-note { margin: 30px 0 0; color: #9a8b84; font-size: 12px; text-align: center; }

.site-thumb-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin: 0 auto 76px; }
.site-thumb-card {
  margin: 0; padding: 9px; overflow: hidden;
  border: 1px solid rgba(159,188,236,.25); border-radius: 22px;
  background: rgba(255,255,255,.7); box-shadow: 0 16px 45px rgba(88,108,151,.1);
  transition: transform .3s, box-shadow .3s;
}
.site-thumb-card:hover { transform: translateY(-5px); box-shadow: 0 22px 58px rgba(88,108,151,.16); }
.site-thumb-card img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 15px; }
.work-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.work-card { min-width: 0; padding: 12px; border: 1px solid rgba(159,188,236,.3); border-radius: 22px; background: rgba(255,255,255,.72); box-shadow: var(--shadow); transition: transform .3s, box-shadow .3s; }
a.work-card:hover { transform: translateY(-6px); box-shadow: 0 28px 70px rgba(73,55,95,.15); }
.work-visual { position: relative; aspect-ratio: 16/8.5; overflow: hidden; border-radius: 14px; }
.work-visual > img { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; object-fit: cover; }
.work-visual::before, .work-visual::after { content: ""; position: absolute; border: 1px solid rgba(255,255,255,.63); background: rgba(255,255,255,.15); backdrop-filter: blur(8px); transform: rotate(-8deg); }
.work-visual::before { width: 42%; height: 64%; right: 8%; top: 15%; border-radius: 10px; }
.work-visual::after { width: 25%; height: 42%; right: 40%; top: 34%; border-radius: 8px; }
.work-visual-one { background: linear-gradient(135deg, #e5f2ee, #bdcebe 48%, #95a9a4); }
.work-visual-two { background: linear-gradient(135deg, #e5efff, #a9c6eb 47%, #a995cb); }
.work-visual-three { background: linear-gradient(135deg, #eee9e5, #c9b8ae 47%, #9c8980); }
.work-visual-four { background: linear-gradient(135deg, #edf2f5, #bdcdd4 47%, #8397a1); }
.work-number { position: absolute; top: 18px; left: 20px; z-index: 2; color: rgba(255,255,255,.9); font: 26px Georgia,serif; }
.work-status { position: absolute; left: 20px; bottom: 17px; z-index: 2; color: #fff; font: 11px Georgia,serif; letter-spacing: .12em; text-transform: uppercase; }
.work-body { display: flex; align-items: center; justify-content: space-between; padding: 18px 10px 10px; }
.work-body p { margin: 0 0 2px; color: #9a8980; font: 10px Georgia,serif; letter-spacing: .12em; text-transform: uppercase; }
.work-body h3 { margin: 0; font-family: var(--serif); font-size: clamp(18px, 2vw, 24px); font-weight: 500; }
.circle-arrow { display: grid; place-items: center; flex: 0 0 44px; height: 44px; margin-left: 10px; border: 1px solid rgba(80,48,35,.17); border-radius: 50%; color: #9f79d3; }
.is-pending { opacity: .76; }

.sns { padding-top: 80px; text-align: center; background: linear-gradient(180deg, #fff, #fbf9fd); }
.sns h2 { margin: 0; font: 500 clamp(28px,3vw,40px)/1.4 var(--serif); }
.sns p:not(.section-kicker) { color: var(--ink-soft); }
.sns-list { display: flex; justify-content: center; gap: 15px; margin-top: 25px; }
.sns-list span { padding: 8px 22px; border: 1px solid var(--line); border-radius: 999px; color: #8f7e76; font: 12px Georgia,serif; }

.contact { margin: 0 24px 30px; padding-top: 110px; padding-bottom: 110px; border: 1px solid rgba(161,190,235,.24); border-radius: 36px; background: linear-gradient(135deg, rgba(239,248,253,.72), rgba(251,246,255,.82)); }
.contact-inner { text-align: center; }
.contact h2 { font-size: clamp(28px, 3.4vw, 44px); }
.contact-inner > p:not(.section-kicker) { margin: 20px 0 32px; color: var(--ink-soft); }
.contact-button { display: flex; align-items: center; justify-content: space-between; width: min(470px, 100%); margin: auto; padding: 15px 20px 15px 30px; border: 1px solid rgba(120,148,205,.27); border-radius: 999px; background: rgba(255,255,255,.6); box-shadow: 0 12px 40px rgba(96,102,160,.1), inset 0 1px #fff; font-family: var(--serif); }
.contact-button i { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: #fff; background: linear-gradient(135deg, var(--blue), var(--violet)); font-style: normal; }
.contact-button.is-disabled { cursor: default; opacity: .72; }
.contact small { display: block; margin-top: 13px; color: #9a8b84; font-size: 11px; }
.contact-orb { position: absolute; border-radius: 50%; filter: blur(5px); }
.contact-orb-one { width: 260px; height: 260px; left: -100px; top: -80px; background: radial-gradient(circle, rgba(102,204,242,.18), transparent 70%); }
.contact-orb-two { width: 330px; height: 330px; right: -120px; bottom: -130px; background: radial-gradient(circle, rgba(180,120,236,.15), transparent 70%); }
.mobile-only { display: none; }

.site-footer { padding: 70px 24px 30px; text-align: center; }
.footer-brand { display: block; width: 125px; margin: auto; }
.site-footer nav { display: flex; justify-content: center; flex-wrap: wrap; gap: 15px 32px; margin: 27px 0; color: var(--ink-soft); font-size: 12px; }
.site-footer > p { margin: 0; color: #a39791; font: 10px Georgia,serif; letter-spacing: .08em; }

.about-hero { position: relative; padding: 145px 24px 130px; overflow: hidden; text-align: center; background: linear-gradient(145deg, #f6fbfd, #fcf8ff); }
.about-hero::before, .about-hero::after { content: ""; position: absolute; border: 1px solid rgba(255,255,255,.75); border-radius: 30px; background: rgba(255,255,255,.25); box-shadow: var(--shadow); transform: rotate(25deg); }
.about-hero::before { width: 310px; height: 420px; left: -180px; top: -70px; }
.about-hero::after { width: 320px; height: 420px; right: -170px; bottom: -180px; }
.about-hero h1 { margin: 0; font: 500 clamp(36px,5vw,64px)/1.55 var(--serif); letter-spacing: .07em; }
.about-hero p:last-child { margin: 30px 0 0; color: var(--ink-soft); }
.about-hero-glow { position: absolute; width: 500px; height: 500px; left: 50%; top: 50%; border-radius: 50%; background: radial-gradient(circle, rgba(134,201,239,.2), transparent 67%); transform: translate(-50%,-50%); }
.about-two-column { display: grid; grid-template-columns: .8fr 1.2fr; align-items: center; gap: 9vw; }
.about-mark { display: grid; place-items: center; aspect-ratio: 1; border: 1px solid rgba(255,255,255,.8); border-radius: 50%; background: linear-gradient(135deg, rgba(229,246,252,.6), rgba(247,238,255,.56)); box-shadow: var(--shadow); }
.about-mark img { width: 76%; }
.about-copy p:not(.section-kicker) { color: var(--ink-soft); }
.services { background: linear-gradient(180deg, #fff, #f9fbff, #fff); }
.service-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.service-card { position: relative; padding: 38px 32px; border: 1px solid rgba(159,188,236,.28); border-radius: 24px; background: rgba(255,255,255,.66); box-shadow: var(--shadow); }
.service-card > span { position: absolute; top: 20px; right: 23px; color: #af9fb7; font: 12px Georgia,serif; }
.service-icon { display: grid; place-items: center; width: 66px; height: 66px; margin-bottom: 28px; border: 1px solid rgba(255,255,255,.9); border-radius: 20px; color: #fff; background: linear-gradient(135deg, rgba(116,201,239,.88), rgba(183,137,236,.84)); box-shadow: 0 13px 30px rgba(122,152,217,.2); font: 14px Georgia,serif; }
.service-card h3, .value-list h3 { margin: 0 0 14px; font: 500 21px/1.5 var(--serif); }
.service-card p, .value-list p { margin: 0; color: var(--ink-soft); font-size: 14px; }
.value-list { border-top: 1px solid var(--line); }
.value-list article { display: grid; grid-template-columns: 100px 1fr; gap: 20px; padding: 38px 8px; border-bottom: 1px solid var(--line); }
.value-list strong { color: #a69a94; font: 18px Georgia,serif; }

@media (max-width: 1050px) {
  .agent-grid { grid-template-columns: repeat(3, 1fr); }
  .global-nav { gap: 22px; }
}

@media (max-width: 760px) {
  /* スマホでは見出し・本文とも、手動改行(<br>)の位置＝句読点区切りで改行する（自然な折り返しに任せない） */
  .section { padding: 85px 20px; }
  .site-header { height: 76px; }
  .header-inner { width: calc(100% - 26px); }
  .brand { width: 103px; height: 66px; }
  .menu-button { position: relative; z-index: 3; display: block; }
  .menu-button[aria-expanded="true"] > span:first-child { transform: translateY(7px) rotate(45deg); }
  .menu-button[aria-expanded="true"] > span:nth-child(2) { opacity: 0; }
  .menu-button[aria-expanded="true"] > span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .global-nav {
    position: fixed; inset: 0; display: flex; flex-direction: column; justify-content: center; gap: 25px;
    visibility: hidden; opacity: 0; background: rgba(255,255,255,.96); backdrop-filter: blur(18px);
    font-size: 17px; transition: opacity .25s, visibility .25s;
  }
  .global-nav.is-open { visibility: visible; opacity: 1; }
  .nav-contact { margin-top: 8px; padding: 12px 31px !important; }
  .hero { width: 100%; height: calc(100svh - 88px); min-height: 600px; border-radius: 0; }
  .hero-slide { background-position: 55% center; }
  .hero-slide:nth-child(2) { background-position: 60% center; }
  .hero-shade { background: linear-gradient(90deg, rgba(16,19,22,.58), rgba(28,31,34,.18)), linear-gradient(0deg, rgba(16,19,22,.58), transparent 72%); }
  .hero-copy { top: auto; bottom: 70px; left: 22px; width: calc(100% - 44px); padding: 0; transform: none; }
  .hero-copy h1 { font-size: clamp(29px, 8.5vw, 39px); }
  .hero-title-line { white-space: normal; }
  .hero-copy > p:last-child br { display: none; }
  .eyebrow { font-size: 9px !important; }
  .slider-dots { right: 24px; bottom: 26px; }
  .scroll-hint { display: none; }
  .welcome { padding-top: 100px; padding-bottom: 50px; }
  .welcome-copy br { display: none; }
  /* このコピーだけは「快適に。」の後で必ず改行し、各行は途中で折らない */
  .welcome-copy--keep { font-size: clamp(14px, 4.1vw, 18px); }
  .welcome-copy--keep br { display: inline; }
  .welcome-copy--keep { white-space: nowrap; }
  /* スマホではロゴ・認定バッジを小さく＆確実に中央に */
  .welcome-logo { width: min(58vw, 200px); max-width: 100%; margin: 18px auto 6px; }
  .cert-badge { width: min(30vw, 96px); max-width: 100%; margin: 20px auto 18px; }
  .section-heading { margin-bottom: 42px; }
  .agent-grid { grid-template-columns: repeat(2, 1fr); gap: 18px 12px; }
  .site-thumb-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: 52px; }
  .site-thumb-card { padding: 6px; border-radius: 16px; }
  .site-thumb-card img { border-radius: 11px; }
  .work-grid { grid-template-columns: 1fr; gap: 20px; }
  .work-body { padding-top: 14px; }
  .sns-list { gap: 7px; }
  .sns-list span { padding: 7px 14px; }
  .contact { margin: 0 10px 16px; padding: 82px 20px; border-radius: 25px; }
  .contact-button { padding-left: 22px; }
  .mobile-only { display: block; }
  .site-footer { padding-top: 55px; }
  .about-hero { padding: 105px 20px 95px; }
  .about-hero h1 { font-size: clamp(32px, 10vw, 45px); }
  .about-hero p:last-child br { display: none; }
  .about-two-column { grid-template-columns: 1fr; gap: 55px; }
  .about-mark { width: min(340px, 88%); margin: auto; }
  .about-copy { text-align: center; }
  .leaf-divider.is-left { justify-content: center; }
  .service-grid { grid-template-columns: 1fr; }
  .value-list article { grid-template-columns: 48px 1fr; gap: 12px; padding: 30px 0; }
}

/* ===== Agent detail page ===== */
.agent-page { overflow-x: clip; }

/* Breadcrumb */
.agent-breadcrumb { width: min(1180px, calc(100% - 48px)); margin: 34px auto 0; font-size: 12px; color: var(--ink-soft); letter-spacing: .04em; }
.agent-breadcrumb a { border-bottom: 1px solid transparent; transition: border-color .25s; }
.agent-breadcrumb a:hover { border-color: rgba(80,48,35,.3); }
.agent-breadcrumb span { color: #b7a79f; margin: 0 8px; }

/* Hero */
.agent-hero { position: relative; padding: 46px 24px 96px; overflow: hidden; }
.agent-hero-bg { position: absolute; inset: 0; z-index: 0; background: linear-gradient(160deg, #f4fbfe 0%, #fbf8ff 52%, #fff 100%); }
.agent-hero-orb { position: absolute; z-index: 0; border-radius: 50%; filter: blur(6px); pointer-events: none; }
.agent-hero-orb.a { width: 420px; height: 420px; left: -160px; top: -60px; background: radial-gradient(circle, rgba(116,201,239,.22), transparent 68%); }
.agent-hero-orb.b { width: 480px; height: 480px; right: -190px; bottom: -160px; background: radial-gradient(circle, rgba(183,137,236,.18), transparent 68%); }
.agent-hero-inner { position: relative; z-index: 1; width: min(1180px, 100%); margin: auto; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 6vw; }

.agent-hero-copy .agent-role-tag {
  display: inline-flex; align-items: center; gap: 9px; margin: 0 0 22px; padding: 8px 18px;
  border: 1px solid rgba(159,188,236,.4); border-radius: 999px; background: rgba(255,255,255,.66);
  box-shadow: 0 10px 30px rgba(96,102,160,.08); font-family: var(--serif); font-size: 13px; letter-spacing: .1em;
}
.agent-role-tag i { width: 8px; height: 8px; border-radius: 50%; background: linear-gradient(135deg, var(--blue), var(--violet)); box-shadow: 0 0 12px rgba(135,178,239,.7); }
.agent-hero-copy h1 { margin: 0; font-family: var(--serif); font-weight: 500; font-size: clamp(38px, 5vw, 66px); letter-spacing: .06em; line-height: 1.35; }
.agent-hero-copy h1 small { display: block; margin-top: 8px; font-size: clamp(14px, 1.4vw, 18px); color: var(--ink-soft); letter-spacing: .16em; font-weight: 500; }
.agent-tagline { margin: 26px 0 0; font-family: var(--serif); font-size: clamp(17px, 1.8vw, 22px); line-height: 1.9; letter-spacing: .05em; color: #4a382f; }
.agent-hero-lead { margin: 20px 0 0; color: var(--ink-soft); font-size: 15px; line-height: 2; }
.agent-hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.agent-btn {
  display: inline-flex; align-items: center; gap: 12px; padding: 14px 30px; border-radius: 999px;
  font-family: var(--serif); font-size: 14px; letter-spacing: .04em; transition: transform .25s, box-shadow .25s;
}
.agent-btn.primary { color: #fff; background: linear-gradient(135deg, var(--blue), var(--violet)); box-shadow: 0 14px 34px rgba(133,150,224,.35); }
.agent-btn.primary:hover { transform: translateY(-3px); box-shadow: 0 20px 44px rgba(133,150,224,.45); }
.agent-btn.ghost { border: 1px solid rgba(80,48,35,.24); background: rgba(255,255,255,.5); }
.agent-btn.ghost:hover { transform: translateY(-3px); background: rgba(255,255,255,.85); }
.agent-btn i { font-style: normal; }

/* Portrait */
.agent-portrait { position: relative; justify-self: center; width: min(430px, 100%); aspect-ratio: 1/1; }
.agent-portrait-frame {
  position: absolute; inset: 0; border-radius: 34px; overflow: hidden;
  border: 1px solid rgba(255,255,255,.85); background: linear-gradient(150deg, rgba(230,246,253,.75), rgba(247,238,255,.7));
  box-shadow: 0 40px 90px rgba(88,108,151,.22);
}
.agent-portrait-frame img { width: 100%; height: 100%; object-fit: contain; object-position: center bottom; filter: drop-shadow(0 18px 26px rgba(72,86,126,.18)); }
.agent-portrait-glow { position: absolute; inset: -12%; z-index: -1; border-radius: 50%; background: radial-gradient(circle, rgba(150,205,240,.4), transparent 62%); filter: blur(24px); animation: agentPulse 7s ease-in-out infinite; }
@keyframes agentPulse { 0%,100% { transform: scale(1); opacity: .8; } 50% { transform: scale(1.06); opacity: 1; } }
.agent-portrait-badge {
  position: absolute; right: -14px; bottom: 26px; z-index: 2; padding: 13px 20px; border-radius: 18px;
  background: rgba(255,255,255,.94); backdrop-filter: blur(10px); box-shadow: 0 18px 40px rgba(88,108,151,.2);
  border: 1px solid rgba(255,255,255,.9); text-align: center;
}
.agent-portrait-badge strong { display: block; font-family: var(--serif); font-size: 22px; color: #6a52c0; line-height: 1.2; }
.agent-portrait-badge span { font: 10px Georgia, serif; letter-spacing: .12em; text-transform: uppercase; color: #9a8b84; }

/* Section shell */
.agent-section { position: relative; padding: 96px 24px; }
.agent-section .section-inner { width: min(1180px, 100%); }
.agent-section-head { max-width: 640px; margin: 0 auto 56px; text-align: center; }
.agent-section-head h2 { margin: 0; font-family: var(--serif); font-weight: 500; font-size: clamp(26px, 3vw, 38px); letter-spacing: .06em; line-height: 1.5; }
.agent-section-head p { margin: 16px 0 0; color: var(--ink-soft); }
.agent-section.tinted { background: linear-gradient(180deg, #fff, #fbfcff 55%, #fff); }

/* Capability cards */
.capability-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.capability-card {
  position: relative; padding: 34px 30px; border-radius: 24px; overflow: hidden;
  border: 1px solid rgba(159,188,236,.28); background: rgba(255,255,255,.68); box-shadow: var(--shadow);
  transition: transform .35s, box-shadow .35s;
}
.capability-card::before { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 3px; background: linear-gradient(90deg, var(--blue), var(--violet)); opacity: 0; transition: opacity .35s; }
.capability-card:hover { transform: translateY(-8px); box-shadow: 0 30px 66px rgba(73,55,95,.15); }
.capability-card:hover::before { opacity: 1; }
.capability-icon { display: grid; place-items: center; width: 58px; height: 58px; margin-bottom: 24px; border-radius: 17px; color: #fff; background: linear-gradient(135deg, rgba(116,201,239,.92), rgba(183,137,236,.9)); box-shadow: 0 13px 28px rgba(122,152,217,.24); }
.capability-icon svg { width: 27px; height: 27px; }
.capability-card h3 { margin: 0 0 12px; font: 500 19px/1.6 var(--serif); }
.capability-card p { margin: 0; color: var(--ink-soft); font-size: 14px; line-height: 1.95; }

/* Persona ("こんな人に") */
.persona-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.persona-card { padding: 30px 28px; border-radius: 22px; border: 1px solid rgba(159,188,236,.24); background: linear-gradient(160deg, rgba(244,251,254,.7), rgba(251,248,255,.7)); }
.persona-card .persona-emoji { font-size: 30px; line-height: 1; margin-bottom: 16px; }
.persona-card h3 { margin: 0 0 10px; font: 500 17px/1.6 var(--serif); }
.persona-card p { margin: 0; color: var(--ink-soft); font-size: 13.5px; line-height: 1.9; }

/* Workflow / use-case flow */
.flow-list { position: relative; max-width: 820px; margin: 0 auto; }
.flow-list::before { content: ""; position: absolute; left: 27px; top: 20px; bottom: 20px; width: 1px; background: linear-gradient(180deg, var(--blue), var(--violet)); opacity: .4; }
.flow-step { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 24px; padding: 18px 0; }
.flow-num { position: relative; z-index: 1; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: #fff; border: 1px solid rgba(159,188,236,.4); box-shadow: 0 10px 26px rgba(96,102,160,.12); font-family: Georgia, serif; font-size: 18px; color: #6a52c0; }
.flow-body { padding-top: 6px; }
.flow-body h3 { margin: 0 0 8px; font: 500 18px/1.5 var(--serif); }
.flow-body p { margin: 0; color: var(--ink-soft); font-size: 14px; line-height: 1.95; }

/* Day timeline (rich) */
.day-timeline { position: relative; max-width: 880px; margin: 0 auto; }
.day-timeline::before { content: ""; position: absolute; left: 86px; top: 30px; bottom: 30px; width: 2px; background: linear-gradient(180deg, #ffd79a, #f6a8c0 33%, #9fc0f0 66%, #b789ec); opacity: .55; border-radius: 2px; }
.tl-block { position: relative; display: grid; grid-template-columns: 100px 1fr; gap: 30px; padding: 22px 0; }
.tl-time { text-align: right; padding-top: 4px; }
.tl-time .tl-clock { display: block; font-family: Georgia, serif; font-size: 20px; color: #4a382f; letter-spacing: .02em; }
.tl-time .tl-part { display: inline-block; margin-top: 6px; padding: 3px 12px; border-radius: 999px; font-size: 11px; letter-spacing: .08em; color: #6b5a52; }
.tl-block[data-part="morning"] .tl-part { background: rgba(255,204,128,.24); }
.tl-block[data-part="noon"]    .tl-part { background: rgba(246,150,180,.2); }
.tl-block[data-part="afternoon"] .tl-part { background: rgba(159,192,240,.24); }
.tl-block[data-part="evening"] .tl-part { background: rgba(183,137,236,.22); }
.tl-dot { position: absolute; left: 79px; top: 30px; z-index: 1; width: 16px; height: 16px; border-radius: 50%; border: 3px solid #fff; box-shadow: 0 4px 12px rgba(96,102,160,.25); }
.tl-block[data-part="morning"] .tl-dot { background: #ffcc80; }
.tl-block[data-part="noon"]    .tl-dot { background: #f696b4; }
.tl-block[data-part="afternoon"] .tl-dot { background: #9fc0f0; }
.tl-block[data-part="evening"] .tl-dot { background: #b789ec; }
.tl-card { padding: 26px 28px; border-radius: 22px; border: 1px solid rgba(159,188,236,.26); background: rgba(255,255,255,.72); box-shadow: 0 16px 40px rgba(88,108,151,.09); transition: transform .3s, box-shadow .3s; }
.tl-card:hover { transform: translateX(6px); box-shadow: 0 22px 52px rgba(88,108,151,.15); }
.tl-card h3 { margin: 0 0 12px; font: 500 18px/1.5 var(--serif); }
.tl-card > p { margin: 0 0 16px; color: var(--ink-soft); font-size: 14px; line-height: 1.95; }
.tl-tasks { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tl-tasks li { display: inline-flex; align-items: center; gap: 7px; padding: 6px 14px; border-radius: 999px; background: rgba(244,248,255,.9); border: 1px solid rgba(159,188,236,.28); font-size: 12.5px; color: #5a4a42; }
.tl-tasks li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: linear-gradient(135deg, var(--blue), var(--violet)); }

/* ===== 3ステップ図解（あなた→エージェント→成果）===== */
.flow3-intro { max-width: 720px; margin: 0 auto 40px; text-align: center; color: var(--ink-soft); font-size: 14px; line-height: 1.95; }
.flow3 { display: grid; grid-template-columns: 1fr auto 1.15fr auto 1fr; align-items: stretch; gap: 0; max-width: 1040px; margin: 0 auto; }
.flow3-col { display: flex; flex-direction: column; }
.flow3-head { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.flow3-badge { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; font-family: Georgia, serif; font-size: 14px; color: #fff; flex: 0 0 34px; }
.flow3-col.you .flow3-badge { background: linear-gradient(135deg, #9fb8d8, #b3a4d0); }
.flow3-col.agent .flow3-badge { background: linear-gradient(135deg, var(--blue), var(--violet)); }
.flow3-col.result .flow3-badge { background: linear-gradient(135deg, #86c9ef, #74a4e0); }
.flow3-head h3 { margin: 0; font: 500 16px/1.4 var(--serif); }
.flow3-head h3 small { display: block; font: 400 11px Georgia, serif; letter-spacing: .1em; color: #a68b7d; text-transform: uppercase; margin-top: 2px; }

.flow3-card { flex: 1; padding: 24px 24px; border-radius: 20px; height: 100%; }
.flow3-col.you .flow3-card { background: rgba(247,247,251,.8); border: 1px solid rgba(120,110,140,.14); }
.flow3-col.agent .flow3-card { background: linear-gradient(160deg, rgba(239,248,253,.85), rgba(247,238,255,.82)); border: 1px solid rgba(159,188,236,.36); box-shadow: 0 20px 50px rgba(88,108,151,.12); }
.flow3-col.result .flow3-card { background: rgba(244,251,254,.7); border: 1px solid rgba(134,201,239,.3); }

/* あなたが投げる：吹き出し */
.flow3-says { position: relative; margin: 0 0 12px; padding: 13px 16px; border-radius: 14px 14px 14px 4px; background: #fff; border: 1px solid rgba(120,110,140,.16); font-size: 13.5px; line-height: 1.7; color: #5a4a42; }
.flow3-says:last-child { margin-bottom: 0; }
.flow3-says::before { content: "「"; color: #c3b6d6; }
.flow3-says::after { content: "」"; color: #c3b6d6; }
.flow3-hint { margin: 14px 0 0; font-size: 12px; color: #9a8b84; }

/* エージェントがやる：処理リスト */
.flow3-does { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.flow3-does li { position: relative; padding-left: 26px; font-size: 13.5px; line-height: 1.65; color: #4a382f; }
.flow3-does li::before { content: ""; position: absolute; left: 0; top: 5px; width: 15px; height: 15px; border-radius: 50%; background: linear-gradient(135deg, var(--blue), var(--violet)); box-shadow: 0 0 0 4px rgba(135,178,239,.14); }
.flow3-does li::after { content: ""; position: absolute; left: 4.5px; top: 8.5px; width: 6px; height: 3.5px; border-left: 1.5px solid #fff; border-bottom: 1.5px solid #fff; transform: rotate(-45deg); }

/* 成果：受け取るもの */
.flow3-gets { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.flow3-gets li { display: flex; gap: 10px; font-size: 13.5px; line-height: 1.65; color: #4a382f; }
.flow3-gets li i { flex: 0 0 auto; color: #74a4e0; font-style: normal; font-weight: bold; }

/* 矢印 */
.flow3-arrow { display: grid; place-items: center; padding: 0 14px; color: #b7a2e0; }
.flow3-arrow svg { width: 26px; height: 26px; }

/* Dialogue demo */
.agent-demo { max-width: 700px; margin: 0 auto; padding: 30px 26px; border-radius: 26px; border: 1px solid rgba(159,188,236,.3); background: rgba(255,255,255,.72); box-shadow: var(--shadow); }
.demo-line { display: flex; gap: 14px; margin-bottom: 18px; opacity: 0; transform: translateY(10px); animation: demoIn .6s ease forwards; }
.demo-line:last-child { margin-bottom: 0; }
.demo-line.user { flex-direction: row-reverse; }
.demo-avatar { flex: 0 0 42px; width: 42px; height: 42px; border-radius: 50%; overflow: hidden; background: linear-gradient(135deg, #eaf5fd, #f4ecff); display: grid; place-items: center; font-size: 18px; }
.demo-avatar img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.demo-bubble { max-width: 78%; padding: 14px 18px; border-radius: 18px; font-size: 14px; line-height: 1.85; }
.demo-line.agent .demo-bubble { border-top-left-radius: 4px; background: #fff; border: 1px solid rgba(159,188,236,.3); color: #4a382f; }
.demo-line.user .demo-bubble { border-top-right-radius: 4px; color: #fff; background: linear-gradient(135deg, var(--blue), var(--violet)); }
.demo-note { margin: 22px 0 0; text-align: center; font-size: 12px; color: #9a8b84; }
@keyframes demoIn { to { opacity: 1; transform: none; } }

/* Spec strip */
.agent-spec { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; max-width: 900px; margin: 0 auto; }
.spec-item { padding: 26px 20px; text-align: center; border-radius: 20px; border: 1px solid rgba(159,188,236,.24); background: rgba(255,255,255,.6); }
.spec-item strong { display: block; font-family: var(--serif); font-size: clamp(22px, 2.4vw, 30px); color: #6a52c0; line-height: 1.2; }
.spec-item span { display: block; margin-top: 8px; font-size: 12px; color: var(--ink-soft); letter-spacing: .04em; }

/* Pairs-well-with */
.agent-pair-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.pair-card { display: flex; align-items: center; gap: 14px; padding: 14px 22px 14px 14px; border-radius: 999px; border: 1px solid rgba(159,188,236,.3); background: rgba(255,255,255,.7); box-shadow: 0 10px 26px rgba(96,102,160,.08); transition: transform .25s, box-shadow .25s; }
.pair-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(96,102,160,.16); }
.pair-card img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; object-position: center top; background: #f4ecff; }
.pair-card b { font-family: var(--serif); font-weight: 500; font-size: 15px; }
.pair-card span { display: block; font-size: 11px; color: var(--ink-soft); }

/* Final CTA */
.agent-cta { margin: 0 24px 40px; padding: 96px 24px; border: 1px solid rgba(161,190,235,.24); border-radius: 36px; background: linear-gradient(135deg, rgba(239,248,253,.8), rgba(251,246,255,.86)); text-align: center; position: relative; overflow: hidden; }
.agent-cta h2 { margin: 0; font-family: var(--serif); font-weight: 500; font-size: clamp(26px, 3.2vw, 40px); letter-spacing: .06em; line-height: 1.5; }
.agent-cta p { margin: 20px 0 34px; color: var(--ink-soft); }
.agent-cta .agent-hero-cta { justify-content: center; }

@media (max-width: 900px) {
  .agent-hero-inner { grid-template-columns: 1fr; gap: 44px; text-align: center; }
  .agent-hero-copy .agent-role-tag { margin-left: auto; margin-right: auto; }
  .agent-hero-cta { justify-content: center; }
  .agent-portrait { order: -1; width: min(320px, 78%); }
  .capability-grid, .persona-grid { grid-template-columns: 1fr; }
  .agent-spec { grid-template-columns: repeat(2, 1fr); }
  .flow3 { grid-template-columns: 1fr; gap: 0; max-width: 480px; }
  .flow3-arrow { padding: 12px 0; }
  .flow3-arrow svg { transform: rotate(90deg); }
  .flow3-card { margin-bottom: 0; }
  .day-timeline::before { left: 7px; }
  .tl-block { grid-template-columns: 1fr; gap: 14px; padding-left: 30px; }
  .tl-time { text-align: left; padding-top: 0; }
  .tl-time .tl-clock { display: inline; font-size: 17px; margin-right: 10px; }
  .tl-dot { left: 0; top: 6px; }
}
@media (max-width: 760px) {
  .agent-hero { padding: 30px 20px 70px; }
  .agent-section { padding: 68px 20px; }
  .agent-breadcrumb { width: calc(100% - 40px); }
  .flow-step { grid-template-columns: 46px 1fr; gap: 16px; }
  .flow-list::before { left: 22px; }
  .flow-num { width: 46px; height: 46px; font-size: 16px; }
  .demo-bubble { max-width: 82%; }
  .agent-cta { margin: 0 10px 20px; padding: 70px 20px; border-radius: 25px; }
}

/* ===== Benefits (導入メリット) ===== */
/* トップページ内ダイジェスト帯 */
.benefit-teaser { margin: 78px auto 0; padding: 54px 40px; max-width: 1180px; border-radius: 30px; overflow: hidden; position: relative; border: 1px solid rgba(161,190,235,.24); background: linear-gradient(135deg, rgba(239,248,253,.72), rgba(251,246,255,.82)); box-shadow: var(--shadow); }
.benefit-teaser .bt-head { text-align: center; max-width: 640px; margin: 0 auto 34px; }
.benefit-teaser .bt-head h3 { margin: 0; font-family: var(--serif); font-weight: 500; font-size: clamp(22px, 2.6vw, 32px); letter-spacing: .05em; line-height: 1.5; }
.benefit-teaser .bt-head p { margin: 14px 0 0; color: var(--ink-soft); font-size: 14px; }
.bt-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 820px; margin: 0 auto 34px; }
.bt-stat { text-align: center; padding: 22px 16px; border-radius: 20px; background: rgba(255,255,255,.66); border: 1px solid rgba(159,188,236,.28); }
.bt-stat strong { display: block; font-family: var(--serif); font-weight: 600; font-size: clamp(30px, 4vw, 46px); line-height: 1.1; background: linear-gradient(135deg, var(--blue), var(--violet)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.bt-stat span { display: block; margin-top: 10px; font-size: 13px; color: var(--ink-soft); letter-spacing: .03em; }
.benefit-teaser .bt-cta { text-align: center; }
.benefit-teaser .bt-note { margin: 16px 0 0; text-align: center; font-size: 11px; color: #9a8b84; }

/* メリットページ本編 */
.benefits-hero { position: relative; padding: 60px 24px 30px; overflow: hidden; text-align: center; }
.benefits-hero .agent-hero-bg { background: linear-gradient(160deg, #f4fbfe 0%, #fbf8ff 55%, #fff 100%); }
.benefits-hero-inner { position: relative; z-index: 1; max-width: 760px; margin: auto; }
.benefits-hero h1 { margin: 0; font-family: var(--serif); font-weight: 500; font-size: clamp(28px, 3.6vw, 42px); letter-spacing: .04em; line-height: 1.55; }
.benefits-hero .b-lead { margin: 24px 0 0; color: var(--ink-soft); font-size: 15px; line-height: 2; }

/* Before / After */
.ba-grid { display: grid; grid-template-columns: 1fr auto 1fr; align-items: stretch; gap: 24px; max-width: 960px; margin: 0 auto; }
.ba-col { padding: 36px 32px; border-radius: 24px; }
.ba-col h3 { margin: 0 0 22px; font: 500 20px/1.5 var(--serif); display: flex; align-items: center; gap: 10px; }
.ba-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.ba-col li { position: relative; padding-left: 30px; font-size: 14px; line-height: 1.85; color: #5a4a42; }
.ba-col li::before { position: absolute; left: 0; top: 1px; font-size: 15px; }
.ba-before { background: rgba(247,244,242,.7); border: 1px solid rgba(120,90,70,.14); }
.ba-before h3 { color: #a68b7d; }
.ba-before li { color: #8a7970; }
.ba-before li::before { content: "✕"; color: #c4a99b; }
.ba-after { background: linear-gradient(160deg, rgba(239,248,253,.8), rgba(247,238,255,.78)); border: 1px solid rgba(159,188,236,.34); box-shadow: 0 20px 50px rgba(88,108,151,.1); }
.ba-after h3 { color: #6a52c0; }
.ba-after li::before { content: "✓"; color: #74a4e0; font-weight: bold; }
.ba-arrow { display: grid; place-items: center; font-size: 26px; color: #b7a2e0; }

/* 導入でできること（3列） */
.can-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.can-card { padding: 34px 30px; border-radius: 24px; border: 1px solid rgba(159,188,236,.28); background: rgba(255,255,255,.68); box-shadow: var(--shadow); transition: transform .35s, box-shadow .35s; }
.can-card:hover { transform: translateY(-8px); box-shadow: 0 30px 66px rgba(73,55,95,.15); }
.can-icon { display: grid; place-items: center; width: 58px; height: 58px; margin-bottom: 22px; border-radius: 17px; color: #fff; background: linear-gradient(135deg, rgba(116,201,239,.92), rgba(183,137,236,.9)); box-shadow: 0 13px 28px rgba(122,152,217,.24); }
.can-icon svg { width: 27px; height: 27px; }
.can-card h3 { margin: 0 0 12px; font: 500 19px/1.6 var(--serif); }
.can-card p { margin: 0; color: var(--ink-soft); font-size: 14px; line-height: 1.95; }

/* 事例カード */
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.case-card { display: flex; flex-direction: column; border-radius: 24px; overflow: hidden; border: 1px solid rgba(159,188,236,.28); background: rgba(255,255,255,.72); box-shadow: var(--shadow); transition: transform .3s, box-shadow .3s; }
.case-card:hover { transform: translateY(-6px); box-shadow: 0 28px 66px rgba(73,55,95,.14); }
.case-top { padding: 26px 28px 20px; border-bottom: 1px dashed rgba(159,188,236,.4); }
.case-who { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 14px; padding: 6px 15px; border-radius: 999px; background: rgba(244,248,255,.9); border: 1px solid rgba(159,188,236,.3); font-size: 12px; color: #6a52c0; font-family: var(--serif); }
.case-who .case-emoji { font-size: 16px; }
.case-top h3 { margin: 0; font: 500 17px/1.6 var(--serif); }
.case-agent { margin: 12px 0 0; font-size: 12px; color: #9a8b84; }
.case-body { padding: 22px 28px 12px; }
.case-body .case-label { font-size: 11px; letter-spacing: .1em; color: #a68b7d; text-transform: uppercase; }
.case-body .case-problem { margin: 6px 0 16px; font-size: 13.5px; line-height: 1.85; color: #8a7970; }
.case-body .case-result { margin: 6px 0 0; font-size: 13.5px; line-height: 1.85; color: #5a4a42; }
.case-metric { margin: auto 28px 26px; padding: 16px 20px; border-radius: 16px; background: linear-gradient(135deg, rgba(116,201,239,.12), rgba(183,137,236,.12)); text-align: center; }
.case-metric strong { display: block; font-family: var(--serif); font-weight: 600; font-size: 26px; line-height: 1.2; background: linear-gradient(135deg, var(--blue), var(--violet)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.case-metric span { display: block; margin-top: 4px; font-size: 11px; color: var(--ink-soft); }

/* 導入ステップ */
.step-flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step-item { position: relative; padding: 32px 26px; border-radius: 22px; border: 1px solid rgba(159,188,236,.26); background: rgba(255,255,255,.66); }
.step-item::before { counter-increment: step; content: "0" counter(step); display: block; margin-bottom: 16px; font-family: Georgia, serif; font-size: 30px; background: linear-gradient(135deg, var(--blue), var(--violet)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.step-item h3 { margin: 0 0 10px; font: 500 17px/1.5 var(--serif); }
.step-item p { margin: 0; color: var(--ink-soft); font-size: 13.5px; line-height: 1.9; }

.benefits-note { max-width: 900px; margin: 40px auto 0; padding: 18px 24px; border-radius: 16px; background: rgba(247,244,242,.6); border: 1px solid rgba(120,90,70,.12); font-size: 12px; line-height: 1.9; color: #9a8b84; text-align: center; }

@media (max-width: 900px) {
  .bt-stats { grid-template-columns: 1fr; gap: 14px; }
  .benefit-teaser { padding: 40px 24px; }
  .ba-grid { grid-template-columns: 1fr; }
  .ba-arrow { transform: rotate(90deg); }
  .can-grid, .case-grid { grid-template-columns: 1fr; }
  .step-flow { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .benefit-teaser { margin-top: 56px; border-radius: 22px; }
  .step-flow { grid-template-columns: 1fr; }
  /* 狭い画面では手動改行を解除して自然折り返しに任せる（見出しの末尾一文字落ち防止） */
  .agent-section-head h2 br, .benefits-hero h1 br, .benefit-teaser .bt-head h3 br { display: none; }
}

/* ===== 申し込みフォーム ===== */
.apply-hero { position: relative; padding: 56px 24px 24px; overflow: hidden; text-align: center; }
.apply-hero .agent-hero-bg { background: linear-gradient(160deg, #f4fbfe 0%, #fbf8ff 55%, #fff 100%); }
.apply-hero-inner { position: relative; z-index: 1; max-width: 720px; margin: auto; }
.apply-hero h1 { margin: 0; font-family: var(--serif); font-weight: 500; font-size: clamp(28px, 3.6vw, 44px); letter-spacing: .05em; line-height: 1.5; }
.apply-hero .a-lead { margin: 22px 0 0; color: var(--ink-soft); font-size: 15px; line-height: 2; }

/* 3ステップの流れ（申込〜開始） */
.apply-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; max-width: 820px; margin: 0 auto; }
.apply-step { position: relative; padding: 26px 22px; text-align: center; border-radius: 20px; border: 1px solid rgba(159,188,236,.26); background: rgba(255,255,255,.66); }
.apply-step .as-num { display: inline-grid; place-items: center; width: 40px; height: 40px; margin-bottom: 14px; border-radius: 50%; color: #fff; background: linear-gradient(135deg, var(--blue), var(--violet)); font-family: Georgia, serif; font-size: 16px; }
.apply-step h3 { margin: 0 0 8px; font: 500 16px/1.5 var(--serif); }
.apply-step p { margin: 0; color: var(--ink-soft); font-size: 13px; line-height: 1.8; }

/* 導入の流れ（始めかた）4ステップ */
.howto { margin: 84px auto 0; max-width: 1180px; }
.howto-lead { max-width: 640px; margin: 0 auto 48px; text-align: center; color: var(--ink-soft); font-size: 14.5px; line-height: 2; }
.howto-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.howto-step { position: relative; padding: 34px 26px 30px; border-radius: 22px; border: 1px solid rgba(159,188,236,.28); background: rgba(255,255,255,.68); box-shadow: var(--shadow); transition: transform .3s, box-shadow .3s; }
.howto-step:hover { transform: translateY(-6px); box-shadow: 0 28px 60px rgba(73,55,95,.13); }
.howto-num { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 20px; border-radius: 50%; color: #fff; background: linear-gradient(135deg, var(--blue), var(--violet)); font-family: Georgia, serif; font-size: 17px; box-shadow: 0 10px 24px rgba(122,152,217,.24); }
.howto-step h3 { margin: 0 0 10px; font: 500 17px/1.5 var(--serif); }
.howto-step p { margin: 0; color: var(--ink-soft); font-size: 13.5px; line-height: 1.9; }
.howto-step .howto-you { display: inline-block; margin-top: 12px; padding: 3px 12px; border-radius: 999px; background: rgba(244,248,255,.9); border: 1px solid rgba(159,188,236,.3); font-size: 11px; color: #6a52c0; }
.howto-note { margin: 30px 0 0; text-align: center; font-size: 13px; color: var(--ink-soft); }
.howto-note b { color: #6a52c0; font-weight: 500; }

@media (max-width: 900px) {
  .howto-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .howto-grid { grid-template-columns: 1fr; }
}

/* フォーム本体 */
.apply-form-wrap { max-width: 720px; margin: 0 auto; padding: 44px 44px 40px; border-radius: 30px; border: 1px solid rgba(159,188,236,.3); background: rgba(255,255,255,.72); box-shadow: var(--shadow); }
.apply-form-intro { margin: 0 0 20px; font-family: var(--serif); font-size: 16px; color: #4a382f; letter-spacing: .03em; }
.apply-ask-list { list-style: none; margin: 0 auto 34px; padding: 0; display: inline-flex; flex-direction: column; gap: 12px; text-align: left; }
.apply-ask-list li { display: flex; gap: 12px; font-size: 14.5px; color: #5a4a42; }
.apply-ask-list li i { flex: 0 0 auto; color: #74a4e0; font-style: normal; font-weight: bold; }
a.apply-submit { text-decoration: none; }
.apply-form { display: flex; flex-direction: column; gap: 26px; }
.field { display: flex; flex-direction: column; gap: 9px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field label { font-family: var(--serif); font-size: 14px; letter-spacing: .03em; display: flex; align-items: center; gap: 10px; }
.field label .tag-req, .field label .tag-opt { font-family: var(--sans); font-size: 10px; letter-spacing: .04em; padding: 3px 9px; border-radius: 999px; }
.field label .tag-req { color: #fff; background: linear-gradient(135deg, var(--blue), var(--violet)); }
.field label .tag-opt { color: #9a8b84; background: rgba(120,90,70,.08); border: 1px solid rgba(120,90,70,.12); }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px; border-radius: 14px; border: 1px solid rgba(120,110,140,.22);
  background: rgba(255,255,255,.85); font-family: var(--sans); font-size: 15px; color: var(--ink); transition: border-color .25s, box-shadow .25s;
}
.field input::placeholder, .field textarea::placeholder { color: #b7a99f; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: rgba(135,178,239,.8); box-shadow: 0 0 0 4px rgba(135,178,239,.16); }
.field textarea { resize: vertical; min-height: 130px; line-height: 1.8; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%239a8b84' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 42px; }
.field .field-note { font-size: 12px; color: #9a8b84; line-height: 1.7; }

/* 興味あるプラン：チェック風ボタン */
.chip-group { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; width: 0; height: 0; }
.chip span { display: inline-block; padding: 10px 18px; border-radius: 999px; border: 1px solid rgba(159,188,236,.4); background: rgba(255,255,255,.7); font-size: 13px; color: #5a4a42; cursor: pointer; transition: all .2s; }
.chip input:checked + span { color: #fff; background: linear-gradient(135deg, var(--blue), var(--violet)); border-color: transparent; box-shadow: 0 8px 20px rgba(133,150,224,.3); }
.chip input:focus-visible + span { outline: 2px solid rgba(135,178,239,.7); outline-offset: 2px; }

.apply-consent { display: flex; align-items: flex-start; gap: 12px; padding: 18px 20px; border-radius: 16px; background: rgba(244,248,255,.7); border: 1px solid rgba(159,188,236,.24); font-size: 13px; line-height: 1.8; color: var(--ink-soft); }
.apply-consent input { margin-top: 3px; flex: 0 0 auto; width: 18px; height: 18px; accent-color: #8a9fe0; }
.apply-submit { display: inline-flex; align-items: center; justify-content: center; gap: 12px; align-self: center; min-width: 260px; padding: 17px 40px; border: 0; border-radius: 999px; color: #fff; background: linear-gradient(135deg, var(--blue), var(--violet)); box-shadow: 0 14px 34px rgba(133,150,224,.35); font-family: var(--serif); font-size: 16px; letter-spacing: .04em; cursor: pointer; transition: transform .25s, box-shadow .25s; }
.apply-submit:hover { transform: translateY(-3px); box-shadow: 0 20px 44px rgba(133,150,224,.45); }
.apply-submit i { font-style: normal; }
.apply-form-note { margin: 22px 0 0; text-align: center; font-size: 12px; color: #9a8b84; line-height: 1.8; }
.apply-alt { max-width: 720px; margin: 34px auto 0; text-align: center; font-size: 13px; color: var(--ink-soft); }
.apply-alt a { color: #7a68c0; border-bottom: 1px solid rgba(122,104,192,.4); }

/* よくある質問 */
.faq-list { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.faq-item { border: 1px solid rgba(159,188,236,.26); border-radius: 18px; background: rgba(255,255,255,.66); overflow: hidden; }
.faq-item summary { padding: 22px 26px; font-family: var(--serif); font-size: 15.5px; cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; flex: 0 0 auto; font-size: 22px; color: #9f79d3; transition: transform .25s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-a { padding: 0 26px 24px; color: var(--ink-soft); font-size: 14px; line-height: 1.95; }

@media (max-width: 760px) {
  .apply-steps { grid-template-columns: 1fr; }
  .apply-form-wrap { padding: 30px 22px 28px; border-radius: 22px; }
  .field-row { grid-template-columns: 1fr; gap: 26px; }
  .apply-submit { width: 100%; min-width: 0; }
  .apply-hero h1 br { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .demo-line { opacity: 1; transform: none; }
  .agent-portrait-glow { animation: none; }
}

/* ===== バーチャルオフィス（office.html を iframe 埋め込み） ===== */
.vo{ margin:52px auto 0; max-width:1140px; }
.vo-embed iframe{
  display:block; width:100%; height:900px; border:0; border-radius:30px;
  background:transparent;
}
.vo-more{ margin:14px 0 0; text-align:center; font-size:13px; }
.vo-more a{
  color:#9e83df; border-bottom:1px solid rgba(158,131,223,.4);
  transition:opacity .25s;
}
.vo-more a:hover{ opacity:.7; }

/* ===== 講座（course）ページ ===== */
.course-hero { position: relative; padding: 54px 24px 20px; overflow: hidden; }
.course-hero .agent-hero-bg { background: linear-gradient(160deg, #f4fbfe 0%, #fbf8ff 55%, #fff 100%); }
.course-hero-inner { position: relative; z-index: 1; width: min(1180px, 100%); margin: auto; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 5vw; }
.course-hero-copy .course-tag { display: inline-flex; align-items: center; gap: 9px; margin: 0 0 20px; padding: 8px 18px; border: 1px solid rgba(159,188,236,.4); border-radius: 999px; background: rgba(255,255,255,.66); box-shadow: 0 10px 30px rgba(96,102,160,.08); font-family: var(--serif); font-size: 13px; letter-spacing: .1em; }
.course-tag i { width: 8px; height: 8px; border-radius: 50%; background: linear-gradient(135deg, var(--blue), var(--violet)); box-shadow: 0 0 12px rgba(135,178,239,.7); }
.course-hero-copy h1 { margin: 0; font-family: var(--serif); font-weight: 500; font-size: clamp(30px, 4.2vw, 52px); letter-spacing: .05em; line-height: 1.4; }
.course-hero-copy .course-lead { margin: 22px 0 0; color: var(--ink-soft); font-size: 15px; line-height: 2; }
.course-price-mini { display: inline-flex; align-items: baseline; gap: 8px; margin: 26px 0 0; padding: 12px 22px; border-radius: 16px; background: rgba(255,255,255,.7); border: 1px solid rgba(159,188,236,.3); }
.course-price-mini strong { font-family: var(--serif); font-size: 26px; color: #6a52c0; line-height: 1; }
.course-price-mini span { font-size: 12px; color: var(--ink-soft); }
.course-hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.course-hero-visual { position: relative; justify-self: center; width: min(460px, 100%); }
.course-hero-visual img { width: 100%; border-radius: 26px; box-shadow: 0 34px 80px rgba(88,108,151,.22); border: 1px solid rgba(255,255,255,.7); }
.course-hero-visual .chv-glow { position: absolute; inset: -8%; z-index: -1; border-radius: 40px; background: radial-gradient(circle, rgba(150,205,240,.4), transparent 62%); filter: blur(26px); }

/* 作例ギャラリー */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.gallery-card { position: relative; border-radius: 22px; overflow: hidden; border: 1px solid rgba(159,188,236,.28); background: rgba(255,255,255,.7); box-shadow: var(--shadow); transition: transform .35s, box-shadow .35s; }
.gallery-card:hover { transform: translateY(-6px); box-shadow: 0 30px 66px rgba(73,55,95,.16); }
.gallery-card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; object-position: top center; }
.gallery-card figcaption { padding: 14px 18px; font-size: 12.5px; color: var(--ink-soft); border-top: 1px solid rgba(159,188,236,.2); }
.gallery-card figcaption b { display: block; font-family: var(--serif); font-weight: 500; font-size: 14px; color: var(--ink); margin-bottom: 2px; }
.gallery-tall { grid-row: span 2; }
.gallery-tall img { aspect-ratio: 3/4; }
.gallery-note { margin: 28px 0 0; text-align: center; font-size: 12px; color: #9a8b84; }

/* coming soon プレースホルダー */
.gallery-soon { display: grid; place-items: center; aspect-ratio: 4/3; border-radius: 22px; border: 1px dashed rgba(159,188,236,.5); background: linear-gradient(160deg, rgba(244,251,254,.6), rgba(247,238,255,.55)); text-align: center; }
.gallery-soon .gs-icon { display: grid; place-items: center; width: 48px; height: 48px; margin: 0 auto 14px; border-radius: 14px; color: #fff; background: linear-gradient(135deg, rgba(116,201,239,.85), rgba(183,137,236,.82)); box-shadow: 0 10px 24px rgba(122,152,217,.2); }
.gallery-soon .gs-icon svg { width: 22px; height: 22px; }
.gallery-soon b { display: block; font-family: var(--serif); font-weight: 500; font-size: 14px; color: #6a52c0; letter-spacing: .04em; }
.gallery-soon span { display: block; margin-top: 5px; font-size: 11.5px; color: #9a8b84; }

.gallery-card { cursor: zoom-in; }
.gallery-card .zoom-hint { position: absolute; right: 12px; top: 12px; z-index: 2; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.85); backdrop-filter: blur(6px); box-shadow: 0 6px 16px rgba(88,108,151,.2); opacity: 0; transform: scale(.9); transition: opacity .25s, transform .25s; pointer-events: none; }
.gallery-card .zoom-hint svg { width: 17px; height: 17px; color: #6a52c0; }
.gallery-card:hover .zoom-hint, .gallery-card:focus-visible .zoom-hint { opacity: 1; transform: scale(1); }
.gallery-card:focus-visible { outline: 2px solid rgba(135,178,239,.7); outline-offset: 3px; }

/* ライトボックス */
.lightbox { position: fixed; inset: 0; z-index: 200; display: none; align-items: center; justify-content: center; padding: 4vw; background: rgba(30,28,40,.82); backdrop-filter: blur(6px); }
.lightbox.is-open { display: flex; animation: lbFade .25s ease; }
@keyframes lbFade { from { opacity: 0; } to { opacity: 1; } }
.lightbox-img { max-width: min(1100px, 94vw); max-height: 90vh; border-radius: 16px; box-shadow: 0 40px 100px rgba(0,0,0,.5); animation: lbZoom .28s ease; }
@keyframes lbZoom { from { transform: scale(.94); opacity: .6; } to { transform: none; opacity: 1; } }
.lightbox-cap { position: absolute; left: 0; right: 0; bottom: 24px; text-align: center; color: rgba(255,255,255,.9); font-family: var(--serif); font-size: 14px; letter-spacing: .04em; }
.lightbox-close { position: absolute; top: 20px; right: 24px; width: 46px; height: 46px; border: 0; border-radius: 50%; background: rgba(255,255,255,.15); color: #fff; font-size: 22px; cursor: pointer; transition: background .2s; display: grid; place-items: center; }
.lightbox-close:hover { background: rgba(255,255,255,.28); }
.lightbox-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 50px; height: 50px; border: 0; border-radius: 50%; background: rgba(255,255,255,.15); color: #fff; font-size: 24px; cursor: pointer; transition: background .2s; display: grid; place-items: center; }
.lightbox-nav:hover { background: rgba(255,255,255,.28); }
.lightbox-nav.prev { left: 3vw; }
.lightbox-nav.next { right: 3vw; }
@media (max-width: 620px) {
  .lightbox-nav { width: 42px; height: 42px; font-size: 20px; }
  .lightbox-nav.prev { left: 10px; } .lightbox-nav.next { right: 10px; }
}

/* プロンプト解説（横並び：図＋テキスト） */
.course-explain { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 4vw; }
.course-explain-img img { width: 100%; border-radius: 22px; box-shadow: var(--shadow); border: 1px solid rgba(159,188,236,.3); }
.course-explain-text h2 { margin: 0 0 18px; font-family: var(--serif); font-weight: 500; font-size: clamp(24px, 2.8vw, 34px); letter-spacing: .05em; line-height: 1.5; }
.course-explain-text p { margin: 0 0 16px; color: var(--ink-soft); font-size: 14.5px; line-height: 2; }
.course-explain-text .cet-list { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.course-explain-text .cet-list li { display: flex; gap: 12px; font-size: 14px; color: #4a382f; }
.course-explain-text .cet-list li i { flex: 0 0 auto; color: #74a4e0; font-style: normal; font-weight: bold; }

/* カリキュラム（レベル別） */
.level-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.level-card { position: relative; display: flex; flex-direction: column; height: 100%; padding: 34px 30px; border-radius: 24px; border: 1px solid rgba(159,188,236,.28); background: rgba(255,255,255,.7); box-shadow: var(--shadow); }
.level-card.mid { background: linear-gradient(170deg, rgba(239,248,253,.85), rgba(247,238,255,.8)); border-color: rgba(159,188,236,.4); }
.level-badge { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px; padding: 6px 16px; border-radius: 999px; font-size: 12px; letter-spacing: .06em; font-family: var(--serif); }
.level-card.beg .level-badge { background: rgba(150,200,140,.16); color: #6f9a5e; }
.level-card.mid .level-badge { background: rgba(116,201,239,.2); color: #4a90c2; }
.level-card.adv .level-badge { background: rgba(183,137,236,.18); color: #8a5fc0; }
.level-card h3 { margin: 0 0 6px; font: 500 21px/1.4 var(--serif); }
.level-card .level-goal { margin: 0 0 20px; font-size: 13px; color: var(--ink-soft); line-height: 1.8; }
.level-card ul { list-style: none; margin: 0 0 22px; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.level-card ul li { position: relative; padding-left: 24px; font-size: 13.5px; line-height: 1.7; color: #4a382f; }
.level-card ul li::before { content: ""; position: absolute; left: 0; top: 7px; width: 12px; height: 12px; border-radius: 50%; background: linear-gradient(135deg, var(--blue), var(--violet)); opacity: .5; }
.level-practice { margin-top: auto; padding: 14px 16px; border-radius: 14px; background: rgba(255,255,255,.7); border: 1px dashed rgba(159,188,236,.5); font-size: 12.5px; line-height: 1.75; color: #5a4a42; }
.level-practice b { color: #6a52c0; font-family: var(--serif); }

/* ツールバッジ */
.tool-badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 0 auto; max-width: 700px; }
.tool-badge { padding: 10px 22px; border-radius: 999px; border: 1px solid rgba(159,188,236,.36); background: rgba(255,255,255,.7); font-family: var(--serif); font-size: 14px; color: #5a4a42; box-shadow: 0 8px 20px rgba(96,102,160,.07); }

/* 料金カード */
.price-card { max-width: 560px; margin: 0 auto; padding: 44px 40px; text-align: center; border-radius: 28px; border: 1px solid rgba(159,188,236,.34); background: linear-gradient(160deg, rgba(239,248,253,.85), rgba(247,238,255,.82)); box-shadow: var(--shadow); }
.price-card .pc-label { font: 12px Georgia, serif; letter-spacing: .12em; text-transform: uppercase; color: #a68b7d; }
.price-card .pc-main { margin: 14px 0 6px; font-family: var(--serif); }
.price-card .pc-main strong { font-size: clamp(40px, 6vw, 60px); font-weight: 600; background: linear-gradient(135deg, var(--blue), var(--violet)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.price-card .pc-main span { font-size: 20px; color: var(--ink); }
.price-card .pc-unit { font-size: 14px; color: var(--ink-soft); }
.price-card .pc-feats { list-style: none; margin: 26px 0 30px; padding: 0; display: flex; flex-direction: column; gap: 12px; text-align: left; max-width: 340px; margin-left: auto; margin-right: auto; }
.price-card .pc-feats li { display: flex; gap: 10px; font-size: 14px; color: #4a382f; }
.price-card .pc-feats li i { color: #74a4e0; font-style: normal; font-weight: bold; }

/* コース間の回遊 */
.course-nav-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.course-nav-card { display: flex; flex-direction: column; gap: 6px; padding: 22px 20px; border-radius: 18px; border: 1px solid rgba(159,188,236,.28); background: rgba(255,255,255,.66); transition: transform .25s, box-shadow .25s; }
.course-nav-card:hover { transform: translateY(-5px); box-shadow: 0 20px 44px rgba(96,102,160,.14); }
.course-nav-card.current { background: linear-gradient(160deg, rgba(239,248,253,.9), rgba(247,238,255,.85)); border-color: rgba(159,188,236,.5); }
.course-nav-card small { font: 10px Georgia, serif; letter-spacing: .1em; text-transform: uppercase; color: #a68b7d; }
.course-nav-card b { font-family: var(--serif); font-weight: 500; font-size: 15px; }

@media (max-width: 900px) {
  .course-hero-inner { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .course-hero-copy .course-tag, .course-price-mini { margin-left: auto; margin-right: auto; }
  .course-hero-cta { justify-content: center; }
  .course-hero-visual { order: -1; width: min(400px, 88%); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-tall { grid-row: span 1; }
  .gallery-tall img { aspect-ratio: 4/3; }
  .course-explain { grid-template-columns: 1fr; gap: 30px; }
  .level-grid { grid-template-columns: 1fr; }
  .course-nav-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .course-hero-copy h1 br { display: none; }
}

/* ===== ホーム再構成（2026-08-03）：お困りごと / できること / エージェントダイジェスト ===== */

/* 2. こんなお困りごとありませんか */
.trouble-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px;
  width: min(880px, 100%); margin: 0 auto;
}
.trouble-card {
  display: flex; align-items: center; justify-content: center;
  min-height: 116px; padding: 28px 26px;
  border: 1px solid rgba(159,188,236,.28); border-radius: 22px;
  background: rgba(255,255,255,.72); box-shadow: var(--shadow);
}
.trouble-voice {
  margin: 0; text-align: center;
  font-family: var(--serif); font-size: clamp(14px, 1.5vw, 16.5px);
  line-height: 1.95; letter-spacing: .04em; color: #5a4a42;
}
.trouble-answer {
  margin: 44px auto 0; max-width: 720px; text-align: center;
  color: var(--ink-soft); font-size: 15px; line-height: 2.1;
}
.trouble-answer b { color: #6a52c0; font-weight: 500; }

/* 3. できること — 信頼の補足 */
.services-trust { margin-top: 52px; text-align: center; }
.services-trust .cert-badge { margin: 0 auto 14px; }
.services-trust p { margin: 0 0 22px; color: var(--ink-soft); font-size: 13.5px; }

/* 4. エージェント ダイジェスト（ホームは4人） */
.agent-grid--digest { grid-template-columns: repeat(4, 1fr); width: min(860px, 100%); margin: 0 auto; }
.agents .bt-cta { margin-top: 34px; text-align: center; }

@media (max-width: 760px) {
  .trouble-grid { grid-template-columns: 1fr; gap: 14px; }
  .trouble-card { min-height: 0; padding: 22px 20px; }
  .agent-grid--digest { grid-template-columns: repeat(2, 1fr); }
}

/* ===== ヒーロー中央ブロック（2026-08-03）：4枚共通のロゴ＋メッセージ ===== */
.hero--center { height: min(820px, calc(100vh - 88px)); min-height: 620px; }

/* 1枚目：無地の白（生成りの白でほんのり温度を持たせる） */
.hero-slide--plain {
  background: linear-gradient(168deg, #fdfcfa 0%, #f7fafd 46%, #faf7fd 100%);
  transform: none;
}
.hero-slide--plain.is-active { transform: none; }

/* 写真の上でだけ暗幕を出す。白地のときは透明にして白飛びを防ぐ */
.hero-shade { transition: opacity .9s ease; }
.hero--center.is-plain .hero-shade { opacity: 0; }

.hero-center {
  position: absolute; z-index: 2; left: 50%; top: 50%;
  width: min(760px, calc(100% - 48px));
  text-align: center; transform: translate(-50%, -50%);
}

/* 既定（写真の上）＝白文字。影で可読性を確保 */
.hero-center { color: #fff; }
.hero-kicker { color: rgba(255,255,255,.92); text-shadow: 0 2px 12px rgba(0,0,0,.5); }
.hero-title {
  margin: 6px 0 0; font-family: var(--serif); font-weight: 500;
  font-size: clamp(30px, 4.2vw, 52px); letter-spacing: .08em; line-height: 1.5;
  text-shadow: 0 3px 20px rgba(0,0,0,.55), 0 1px 2px rgba(0,0,0,.5);
}
.hero-center .leaf-divider span { background: linear-gradient(90deg, transparent, rgba(255,255,255,.7)); }
.hero-center .leaf-divider span:last-child { background: linear-gradient(90deg, rgba(255,255,255,.7), transparent); }
.hero-logo {
  display: block; width: clamp(190px, 22vw, 250px); height: auto; margin: 14px auto 6px;
  filter: brightness(0) invert(1) drop-shadow(0 2px 10px rgba(0,0,0,.55)) drop-shadow(0 6px 26px rgba(0,0,0,.4));
  transition: filter .6s ease;
}
.hero-lead {
  margin: 14px 0 0; font-family: var(--serif);
  font-size: clamp(14px, 1.5vw, 19px); line-height: 2.1; letter-spacing: .06em;
  text-shadow: 0 2px 14px rgba(0,0,0,.5), 0 1px 2px rgba(0,0,0,.45);
}
.hero-cta { margin-top: 30px; }
.hero-cta-btn { margin: 0 auto; }
.hero-cta-note {
  margin: 16px 0 0; font-size: clamp(11.5px, 1.1vw, 13px); line-height: 1.95;
  letter-spacing: .04em; color: rgba(255,255,255,.9);
  text-shadow: 0 2px 12px rgba(0,0,0,.5);
}

/* 白地の1枚目＝濃い文字に切り替え（白飛び防止） */
.hero--center.is-plain .hero-center { color: var(--ink); }
.hero--center.is-plain .hero-kicker { color: #9a8b84; text-shadow: none; }
.hero--center.is-plain .hero-title { color: var(--ink); text-shadow: none; }
.hero--center.is-plain .hero-center .leaf-divider span { background: linear-gradient(90deg, transparent, rgba(80,48,35,.35)); }
.hero--center.is-plain .hero-center .leaf-divider span:last-child { background: linear-gradient(90deg, rgba(80,48,35,.35), transparent); }
.hero--center.is-plain .hero-logo { filter: none; }
.hero--center.is-plain .hero-lead { color: var(--ink-soft); text-shadow: none; }
.hero--center.is-plain .hero-cta-note { color: var(--ink-soft); text-shadow: none; }
.hero--center.is-plain .slider-dots button { border-color: rgba(80,48,35,.5); }
.hero--center.is-plain .slider-dots button.is-active { background: rgba(80,48,35,.6); }
.hero--center.is-plain .scroll-hint { color: var(--ink-soft); }
.hero--center.is-plain .scroll-hint i { background: rgba(80,48,35,.4); }

@media (max-width: 760px) {
  .hero--center { height: auto; min-height: 0; padding: 74px 0 96px; }
  .hero-center {
    position: relative; left: auto; top: auto; transform: none;
    width: calc(100% - 40px); margin: 0 auto;
  }
  .hero-title { font-size: clamp(26px, 7.6vw, 36px); }
  .hero-logo { width: min(56vw, 190px); }
  .hero-lead { font-size: clamp(13px, 3.9vw, 16px); }
  .hero-lead br { display: inline; }
  .hero-cta-note br { display: none; }
  .slider-dots { right: 50%; bottom: 34px; transform: translateX(50%); }
}

/* 中央配置ヒーロー：写真3枚の上で中央の文字・ロゴが確実に読めるよう暗幕を作り直す */
.hero--center .hero-shade {
  background:
    radial-gradient(ellipse 62% 74% at 50% 50%, rgba(12,16,22,.62) 0%, rgba(12,16,22,.44) 45%, rgba(12,16,22,.16) 78%, transparent 100%),
    linear-gradient(180deg, rgba(14,18,24,.34) 0%, rgba(14,18,24,.12) 38%, rgba(14,18,24,.30) 100%);
}

/* ヒーロー内のCTAは、白い写真の上でも輪郭が消えないよう不透明に */
.hero-cta-btn {
  width: min(400px, 100%);
  background: rgba(255,255,255,.97);
  border-color: rgba(120,148,205,.45);
  box-shadow: 0 16px 44px rgba(20,28,45,.28), inset 0 1px #fff;
  color: var(--ink);
}
.hero-cta-btn span { color: var(--ink); }

/* 中央ヒーローでは Scroll ヒントがCTA注記と重なるため下げる */
.hero--center .scroll-hint i { height: 26px; }
.hero--center .scroll-hint { bottom: -4px; opacity: .75; }
