/* 260921 Codex design refresh.
   This stylesheet is loaded only by index.html, works.html and pricing.html. */

.site-refresh {
  --refresh-navy: #1d3050;
  --refresh-navy-deep: #1d3050;
  --refresh-blue: #2a4a7a;
  --refresh-cream: #f7f4ec;
  --refresh-paper: #fffdf7;
  --refresh-sand: #efe9dc;
  --refresh-gold: #e9c46a;
  --refresh-ink: #20304a;
  --refresh-muted: #4f5a6e;
  --refresh-line: #e0d8c6;
  color: var(--refresh-muted);
  background: var(--refresh-cream);
  overflow-x: hidden;
}

.site-refresh *,
.site-refresh *::before,
.site-refresh *::after { box-sizing: border-box; }

.site-refresh header {
  min-height: 88px;
  padding: 14px clamp(20px, 3.4vw, 52px);
  background: var(--refresh-navy-deep);
  border-bottom: 1px solid rgba(255,255,255,.2);
  box-shadow: none;
  z-index: 100;
  gap: 28px;
}

.site-refresh header h1 { margin: 0; line-height: 1; }
.site-refresh header .logo { display: block; width: 54px; height: 54px; object-fit: cover; }
.site-refresh header .header-left { flex: 0 0 auto; gap: 16px; }
.site-refresh header .header-contact { min-width: 218px; }
.site-refresh header .company-name {
  color: #fffdf7;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 16px;
  line-height: 1.45;
  letter-spacing: .02em;
}
.site-refresh header .phone-number,
.site-refresh header .phone-number a {
  color: #b9dcff;
  font-size: 14px;
  line-height: 1.4;
  text-decoration: none;
}
.site-refresh header .header-right {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 22px;
}
.site-refresh header nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 4px 22px;
}
.site-refresh header nav ul li { margin: 0; }
.site-refresh header nav a {
  color: rgba(255,255,255,.9);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  text-decoration: none;
  text-transform: none;
  white-space: nowrap;
}
.site-refresh header nav a:hover,
.site-refresh header nav a:focus-visible { color: #fff; text-decoration: underline; }
.site-refresh header nav .nav-soudan a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 9px 20px;
  color: var(--refresh-navy-deep);
  background: var(--refresh-gold);
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
}
.site-refresh header .header-social-links { margin: 0; flex: 0 0 auto; gap: 14px; }
.site-refresh header .header-social-links a { color: #fff; }
.site-refresh .menu-toggle { display: none; }

.site-refresh main { overflow: clip; }
.site-refresh main > section {
  opacity: 1;
  transform: none;
  scroll-margin-top: 112px;
  padding: 84px clamp(20px, 5vw, 72px);
}
.site-refresh main > section:nth-child(odd),
.site-refresh main > section:nth-child(even) { background: var(--refresh-cream); }
.site-refresh main > section:nth-of-type(even) { background: var(--refresh-sand); }
.site-refresh main > section h3 {
  max-width: 980px;
  margin: 0 auto 46px;
  color: var(--refresh-ink);
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 38px;
  line-height: 1.35;
  letter-spacing: .01em;
  text-transform: none;
}
.site-refresh main > section h3::after { display: none; }
.site-refresh .section-heading { max-width: 980px; margin: 0 auto 42px; text-align: center; }
.site-refresh .section-heading h3 { margin-bottom: 16px; }
.site-refresh .section-heading > p:last-child { margin: 0; font-size: 16px; }
.site-refresh .eyebrow {
  margin: 0 0 12px;
  color: var(--refresh-blue);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .12em;
}

.site-refresh .btn,
.site-refresh button,
.site-refresh input,
.site-refresh textarea { font-family: inherit; }
.site-refresh .btn {
  border-radius: 8px;
  font-size: 16px;
  box-shadow: none;
  text-decoration: none;
}

/* Hero */
.page-home #hero {
  min-height: 620px;
  padding: 68px clamp(20px, 4vw, 64px) 72px;
  background: var(--refresh-navy) !important;
  border-bottom: 4px solid var(--refresh-gold);
}
.page-home #hero .hero-inner {
  width: min(1240px, 100%);
  max-width: none;
  min-height: 470px;
  display: grid;
  grid-template-columns: minmax(360px, .82fr) minmax(520px, 1.18fr);
  align-items: center;
  gap: clamp(38px, 5vw, 72px);
}
.page-home #hero .hero-content { width: auto; text-align: left; }
.page-home #hero .hero-content h2 {
  margin: 0 0 24px;
  color: #fffdf7;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: clamp(42px, 3.8vw, 54px);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -.02em;
  text-shadow: none;
}
.page-home #hero .hero-content p {
  max-width: 560px;
  margin: 0 0 28px;
  color: rgba(255,255,255,.92);
  font-size: 16px;
  line-height: 1.9;
  text-shadow: none;
}
.page-home #hero .hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; }
.page-home #hero .hero-cta .btn { margin: 0; min-height: 54px; padding: 14px 22px; }
.page-home #hero .hero-btn-main { background: var(--refresh-gold); color: var(--refresh-navy-deep); }
.page-home #hero .hero-btn-sub {
  width: auto;
  min-height: auto;
  padding: 7px 2px;
  color: #fff;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(255,255,255,.75);
  border-radius: 0;
}
.page-home #hero .hero-btn-sub:hover,
.page-home #hero .hero-btn-sub:focus-visible { color: #fff; border-bottom-color: #fff; }
.page-home #hero .hero-figure {
  width: auto;
  max-width: none;
  padding: 4px;
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(255,255,255,.5);
  border-radius: 8px;
  box-shadow: 0 24px 55px rgba(0,0,0,.25);
}
.page-home #hero .hero-figure img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: contain;
  border-radius: 8px;
}
.page-home #hero .hero-figure-caption {
  margin: 0;
  padding: 8px 10px 5px;
  color: var(--refresh-ink);
  font-size: 14px;
  line-height: 1.7;
  text-align: left;
}

/* Two primary ways to engage */
.page-home #services { background: var(--refresh-paper) !important; }
.page-home .service-path-grid {
  width: min(1240px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
}
.page-home .service-path-card {
  overflow: hidden;
  background: var(--refresh-cream);
  border: 1px solid var(--refresh-line);
  border-radius: 8px;
}
.page-home .service-path-copy { height: 100%; padding: 34px; }
.page-home .service-path-number {
  margin: 0 0 12px;
  color: var(--refresh-blue);
  font-family: 'Teko', sans-serif;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: .08em;
}
.page-home .service-path-card h4 {
  margin: 0 0 14px;
  color: var(--refresh-ink);
  font-size: 24px;
  line-height: 1.4;
}
.page-home .service-path-kicker { color: var(--refresh-ink); font-weight: 700; }
.page-home .service-path-card p { font-size: 16px; line-height: 1.9; }
.page-home .text-link { display: inline-flex; margin-top: 8px; font-weight: 700; }
.page-home .service-path-visual { display: block; align-self: end; background: var(--refresh-line); }
.page-home .service-path-visual img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: contain;
}
.page-home .service-scope {
  width: min(1240px, 100%);
  margin: 26px auto 0;
  padding: 19px 24px;
  display: flex;
  align-items: baseline;
  gap: 22px;
  color: var(--refresh-ink);
  background: var(--refresh-sand);
  border-left: 4px solid var(--refresh-blue);
}
.page-home .service-scope p { margin: 0; }
.page-home .service-scope-title { flex: 0 0 auto; font-weight: 700; }

/* Existing proof sections, now arranged in a shorter hierarchy */
.page-home #samples { background: var(--refresh-sand) !important; }
.page-home #samples .samples-grid { max-width: 1240px; gap: 22px; }
.page-home #samples .sample-card {
  overflow: hidden;
  padding: 0;
  background: var(--refresh-paper);
  border: 1px solid var(--refresh-line);
  border-radius: 8px;
  box-shadow: none;
}
.page-home #samples .sample-figure { padding: 0; background: var(--refresh-line); }
.page-home #samples .sample-figure img {
  aspect-ratio: 16 / 10;
  object-fit: contain;
  border-radius: 0;
}
.page-home #samples .sample-card figcaption { padding: 22px 24px 24px; }
.page-home #samples .sample-title { color: var(--refresh-ink); font-size: 16px; }

.page-home #stats-band { padding: 34px clamp(20px, 5vw, 72px); background: var(--refresh-paper) !important; }
.page-home #stats-band .stat-num { color: var(--refresh-blue); }

.page-home #achievements { background: var(--refresh-paper) !important; }
.page-home .achievement-highlights {
  max-width: 1120px;
  margin: -8px auto 28px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.page-home .achievement-highlight {
  padding: 24px;
  background: var(--refresh-cream);
  border: 1px solid var(--refresh-line);
  border-top: 4px solid var(--refresh-blue);
  border-radius: 8px;
}
.page-home .achievement-highlight .meta { margin: 0 0 8px; color: var(--refresh-blue); font-size: 14px; font-weight: 700; }
.page-home .achievement-highlight h4 { margin: 0 0 12px; color: var(--refresh-ink); font-size: 24px; }
.page-home .achievement-highlight p:last-child { margin-bottom: 0; }
.page-home .ach-details { max-width: 1120px; margin: 0 auto; }
.page-home .ach-summary,
.page-home .section-details > summary,
.page-home .news-archive > summary,
.page-home .profile-details > summary {
  cursor: pointer;
  color: var(--refresh-blue);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* Representative and process */
.page-home #features { background: var(--refresh-sand) !important; }
.page-home #features .features-content { max-width: 980px; gap: 44px; align-items: center; }
.page-home #features .profile-image { flex: 0 0 220px; }
.page-home #features .profile-image img { width: 220px; height: 220px; object-fit: cover; border-radius: 50%; }
.page-home #features .profile-text > p { color: var(--refresh-ink); font-size: 16px; line-height: 2; }
.page-home #features .profile { margin-top: 18px; }
.page-home #features .profile h4 { color: var(--refresh-ink); font-size: 24px; }
.page-home .profile-details { margin-top: 10px; }

.page-home #support-flow { background: var(--refresh-paper) !important; }
.page-home .support-flow-list {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  list-style: none;
}
.page-home .support-flow-list li {
  padding: 28px 26px;
  background: var(--refresh-cream);
  border: 1px solid var(--refresh-line);
  border-radius: 8px;
}
.page-home .support-flow-list li > span {
  display: inline-flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: #fff;
  background: var(--refresh-blue);
  border-radius: 50%;
  font-weight: 700;
}
.page-home .support-flow-list h4 { margin: 0 0 10px; color: var(--refresh-ink); font-size: 24px; }
.page-home .support-flow-list p { margin: 0; }

/* Price appears before secondary services */
.page-home #pricing { background: var(--refresh-sand) !important; }
.page-home #pricing .pricing-grid { max-width: 1180px; gap: 22px; }
.page-home #pricing .pricing-card { border-radius: 8px; box-shadow: none; }

.page-home #support-services { background: var(--refresh-paper) !important; }
.page-home #support-services .svc7-lead,
.page-home #support-services .svc7-group,
.page-home #support-services .svc7-grid-main { display: none; }
.page-home #support-services .svc7-grid-sub { max-width: 1120px; }
.page-home #support-services .svc7-item { min-height: 0; background: var(--refresh-cream); box-shadow: none; }
.page-home #support-services .svc7-proof { min-height: 0; }

.page-home #equipment { background: var(--refresh-sand) !important; }
.page-home #equipment .section-details { max-width: 1120px; margin: 0 auto; }
.page-home #equipment .section-details[open] > summary { margin-bottom: 28px; }

.page-home #app-banner { background: var(--refresh-paper) !important; }
.page-home #app-banner .app-banner-inner { max-width: 1100px; }
.page-home #app-banner .app-banner-label { background: var(--refresh-line); color: var(--refresh-navy); }
.page-home #app-banner .app-store-btn { background: var(--refresh-blue); color: #fff; box-shadow: none; }

.page-home #news { background: var(--refresh-sand) !important; }
.page-home #news h3 { color: var(--refresh-ink); }
.page-home #news .news-list,
.page-home #news .news-archive { max-width: 980px; margin-left: auto; margin-right: auto; }
.page-home #news .news-archive { margin-top: 18px; }
.page-home #news .news-archive ul { margin-top: 18px; }

.page-home #youtube { background: var(--refresh-paper) !important; }
.page-home #youtube #latest-video-container { max-width: 960px; margin: 0 auto; }
.page-home #youtube iframe { height: auto; aspect-ratio: 16 / 9; }

.page-home #company { background: var(--refresh-sand) !important; }
.page-home #company dl { max-width: 880px; }
.page-home #access { background: var(--refresh-paper) !important; }
.page-home #contact { background: var(--refresh-navy) !important; color: rgba(255,255,255,.9); }
.page-home #contact h3,
.page-home #contact p,
.page-home #contact label { color: #fffdf7; }
.page-home #contact a { color: #b9dcff; }
.page-home #contact .contact-guide { border-color: rgba(255,255,255,.25); background: rgba(255,255,255,.06); }
.page-home #contact .contact-guide {
  color: var(--refresh-ink);
  background: var(--refresh-cream);
  border: 1px solid var(--refresh-line);
}
.page-home #contact .contact-guide p { color: var(--refresh-ink); }
.page-home #contact .contact-guide a { color: #2a5a9e; }

/* Works and pricing pages */
.page-works main,
.page-pricing main { background: var(--refresh-cream); }
.page-works main > section,
.page-pricing main > section { padding-top: 72px; }
.page-works .hyodo-jisseki,
.page-pricing #plans { max-width: 1120px; }
.page-works .hyodo-jisseki h2 {
  margin: 0 0 12px;
  padding-left: 18px;
  color: var(--refresh-ink);
  border-left-color: var(--refresh-blue);
  font-family: 'Noto Sans JP', sans-serif;
  font-size: clamp(32px, 3.6vw, 48px);
  line-height: 1.35;
}
.page-works .hyodo-jisseki .stat,
.page-works .hyodo-jisseki .card,
.page-pricing #plans .pricing-card,
.page-pricing #plans .contract-box { box-shadow: none; border-color: var(--refresh-line); }
.page-works .works-sample img { object-fit: contain; }
.page-pricing #plans .plans-choose { box-shadow: none; }

@media (max-width: 1100px) {
  .site-refresh main > section { scroll-margin-top: 84px; }
  .site-refresh header {
    position: sticky;
    top: 0;
    z-index: 100;
    min-height: 76px;
    padding: 11px 16px;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
  }
  .site-refresh header .logo { width: 46px; height: 46px; }
  .site-refresh header .header-left { width: auto; gap: 11px; justify-content: flex-start; }
  .site-refresh header .header-contact { min-width: 0; }
  .site-refresh header .company-name { font-size: 14px; white-space: nowrap; }
  .site-refresh header .phone-number,
  .site-refresh header .phone-number a { font-size: 12px; }
  .site-refresh .menu-toggle {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-height: 44px;
    margin-left: auto;
    padding: 8px 10px;
    color: #fff;
    background: transparent;
    border: 1px solid rgba(255,255,255,.55);
    border-radius: 8px;
    font-weight: 700;
  }
  .site-refresh .menu-toggle-icon,
  .site-refresh .menu-toggle-icon::before,
  .site-refresh .menu-toggle-icon::after {
    display: block;
    width: 18px;
    height: 2px;
    background: currentColor;
    content: '';
  }
  .site-refresh .menu-toggle-icon { position: relative; }
  .site-refresh .menu-toggle-icon::before { position: absolute; top: -6px; left: 0; }
  .site-refresh .menu-toggle-icon::after { position: absolute; top: 6px; left: 0; }
  .site-refresh.nav-open .menu-toggle-icon { background: transparent; }
  .site-refresh.nav-open .menu-toggle-icon::before { top: 0; transform: rotate(45deg); }
  .site-refresh.nav-open .menu-toggle-icon::after { top: 0; transform: rotate(-45deg); }
  .site-refresh header .header-right {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding: 18px 20px 24px;
    background: var(--refresh-navy-deep);
    border-top: 1px solid rgba(255,255,255,.15);
    box-shadow: 0 14px 30px rgba(0,0,0,.24);
  }
  .site-refresh.nav-open header .header-right { display: block; }
  .site-refresh header nav ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; }
  .site-refresh header nav ul li { border-bottom: 1px solid rgba(255,255,255,.12); }
  .site-refresh header nav a { display: block; padding: 13px 8px; font-size: 14px; white-space: normal; }
  .site-refresh header nav .nav-soudan { grid-column: 1 / -1; border: 0; padding-top: 14px; }
  .site-refresh header nav .nav-soudan a { display: flex; }
  .site-refresh header .header-social-links { justify-content: center; margin-top: 18px; }

  .page-home #hero .hero-inner { grid-template-columns: minmax(0, 1fr); min-height: 0; gap: 32px; }
  .page-home #hero .hero-content { text-align: center; }
  .page-home #hero .hero-content p { margin-left: auto; margin-right: auto; }
  .page-home #hero .hero-cta { justify-content: center; }
  .page-home #hero .hero-figure { width: min(780px, 100%); margin: 0 auto; }
}

@media (max-width: 760px) {
  .site-refresh header {
    position: sticky;
    min-height: 76px;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
  }
  .site-refresh header .header-left {
    width: auto;
    justify-content: flex-start;
  }
  .site-refresh header .company-name { max-width: 198px; overflow: hidden; text-overflow: ellipsis; }
  .site-refresh main > section { padding: 58px 20px; }
  .site-refresh main > section h3 { margin-bottom: 30px; font-size: 30px; }
  .site-refresh .section-heading { margin-bottom: 30px; text-align: left; }
  .site-refresh .section-heading > p:last-child { font-size: 16px; }

  .page-home #hero { min-height: 0; padding: 38px 20px 30px; }
  .page-home #hero .hero-inner { gap: 26px; }
  .page-home #hero .hero-content h2 { margin-bottom: 17px; font-size: 34px; line-height: 1.42; }
  .page-home #hero .hero-content p { margin-bottom: 20px; font-size: 16px; line-height: 1.8; }
  .page-home #hero .hero-content p br { display: none; }
  .page-home #hero .hero-cta { display: grid; grid-template-columns: 1fr; width: 100%; gap: 10px; }
  .page-home #hero .hero-cta .btn { width: 100%; min-height: 50px; padding: 12px 14px; }
  .page-home #hero .hero-cta .hero-btn-sub {
    width: auto;
    min-height: auto;
    padding: 7px 2px;
    justify-self: center;
  }
  .page-home #hero .hero-figure { padding: 2px; border-radius: 8px; }
  .page-home #hero .hero-figure img { border-radius: 8px; }

  .page-home .service-path-grid,
  .page-home .achievement-highlights,
  .page-home .support-flow-list { grid-template-columns: minmax(0, 1fr); }
  .page-home .service-path-copy { padding: 27px 22px 22px; }
  .page-home .service-path-card h4 { font-size: 24px; }
  .page-home .service-scope { display: block; padding: 17px 18px; }
  .page-home .service-scope-title { margin-bottom: 6px; }
  .page-home #samples .samples-lead { margin-top: -12px; margin-bottom: 28px; text-align: left; }
  .page-home #samples .samples-lead br { display: none; }
  .page-home #stats-band { padding: 26px 20px; }
  .page-home #features .features-content { display: block; }
  .page-home #features .profile-image { margin: 0 auto 24px; }
  .page-home #features .profile-image img { width: 160px; height: 160px; }
  .page-home #features .profile-text > p { font-size: 16px; }
  .page-home #pricing .pricing-lead { margin-top: -12px !important; }
  .page-home #youtube iframe { min-height: 0; }

  .page-works main > section,
  .page-pricing main > section { padding-top: 48px; }
  .page-works .hyodo-jisseki h2 { font-size: 31px; }
}

@media (max-width: 430px) {
  .site-refresh header .logo { width: 42px; height: 42px; }
  .site-refresh header .company-name { max-width: 188px; font-size: 14px; }
  .site-refresh header .phone-number,
  .site-refresh header .phone-number a { font-size: 12px; }
  .site-refresh .menu-toggle-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .site-refresh .menu-toggle { width: 44px; justify-content: center; padding: 8px; }
  .page-home #hero .hero-content h2 { font-size: 31px; }
}

/* ICT土工の一連の流れ: 1・2を2列、3を全幅で見せる */
.page-home #samples .samples-flow-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.page-home #samples .sample-card--asbuilt { grid-column: 1 / -1; }
.page-home #samples .sample-figure > a { display: block; }
.page-home #samples .sample-figure-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px;
}
.page-home #samples .sample-figure-pair img { width: 100%; height: 100%; }
@media (max-width: 760px) {
  .page-home #samples .samples-flow-grid,
  .page-home #samples .sample-figure-pair { grid-template-columns: minmax(0, 1fr); }
  .page-home #samples .sample-card--asbuilt { grid-column: auto; }
}

/* kintsugi: mobile section heading role consolidation */
@media (max-width: 760px) {
  .page-home #news > h3 { font-size: 30px; }
}

/* 4工種の実画面を長いページ内で見失わないための短い索引 */
.page-home #samples .flow-nav {
  max-width: 880px;
  margin: -14px auto 48px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}
.page-home #samples .flow-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 16px;
  color: var(--refresh-blue);
  background: var(--refresh-paper);
  border: 1px solid var(--refresh-line);
  border-radius: 8px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
}
.page-home #samples .flow-nav a:hover,
.page-home #samples .flow-nav a:focus-visible { border-color: var(--refresh-blue); }
.page-home #samples .flow-group { max-width: 1240px; margin: 0 auto; scroll-margin-top: 120px; }
.page-home #samples .flow-group + .flow-group {
  margin-top: 72px;
  padding-top: 60px;
  border-top: 1px solid var(--refresh-line);
}
.page-home #samples .flow-group > h4 {
  margin: 0 0 44px;
  color: var(--refresh-ink);
  font-size: 24px;
  line-height: 1.45;
  text-align: center;
}
@media (max-width: 760px) {
  .page-home #samples .flow-nav { margin-top: -8px; margin-bottom: 38px; justify-content: flex-start; gap: 8px; }
  .page-home #samples .flow-nav a { padding: 9px 12px; }
  .page-home #samples .flow-group { scroll-margin-top: 84px; }
  .page-home #samples .flow-group + .flow-group { margin-top: 54px; padding-top: 46px; }
  .page-home #samples .flow-group > h4 { margin-bottom: 38px; text-align: left; }
}
/* 3枚組はPCで3列にし、空き枠を作らない */
.page-home #samples .sample-figure-pair:has(> a:nth-child(3):last-child) {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
@media (max-width: 760px) {
  .page-home #samples .sample-figure-pair:has(> a:nth-child(3):last-child) { grid-template-columns: minmax(0, 1fr); }
}

/* 13-33: ユーザー指定の実画面の大小と比較配置 */
.page-home #samples .sample-card--survey {
  grid-column: 1 / -1;
  width: min(720px, 100%);
  justify-self: center;
}
.page-home #samples .structure-comparison-grid > a { position: relative; }
.page-home #samples .comparison-label {
  position: absolute;
  z-index: 1;
  top: 12px;
  left: 12px;
  padding: 7px 11px;
  color: var(--refresh-paper);
  background: var(--refresh-navy);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none;
}
.page-home #samples .slope-flow-gallery {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.page-home #samples .slope-flow-gallery > a:first-child { grid-column: 1 / -1; }
@media (max-width: 760px) {
  .page-home #samples .sample-card--survey { width: 100%; }
  .page-home #samples .slope-flow-gallery { grid-template-columns: minmax(0, 1fr); }
  .page-home #samples .slope-flow-gallery > a:first-child { grid-column: auto; }
}

/* 13-33: AI活用事例ページ */
.page-ai-examples main { background: var(--refresh-cream); }
.page-ai-examples main > section { padding: 88px 24px; }
body.page-ai-examples main > section.ai-page-hero {
  color: var(--refresh-paper);
  background: var(--refresh-navy);
  padding-top: 112px;
  padding-bottom: 104px;
}
.page-ai-examples .ai-page-hero-inner,
.page-ai-examples .ai-example-container,
.page-ai-examples .ai-final-note-inner {
  width: min(1120px, 100%);
  margin: 0 auto;
}
.page-ai-examples .ai-page-hero-inner { max-width: 960px; }
.page-ai-examples .ai-page-hero .eyebrow {
  color: var(--refresh-paper);
  opacity: .78;
}
.page-ai-examples .ai-page-hero h2 {
  max-width: 900px;
  margin: 12px 0 24px;
  color: var(--refresh-paper);
  font-size: clamp(48px, 6vw, 72px);
  line-height: 1.22;
  letter-spacing: .01em;
}
.page-ai-examples .ai-page-hero-lead {
  max-width: 790px;
  margin: 0;
  color: var(--refresh-paper);
  font-size: 18px;
  line-height: 1.9;
}
.page-ai-examples .ai-page-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}
.page-ai-examples .ai-page-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 9px 15px;
  color: var(--refresh-paper);
  border: 1px solid rgba(255,255,255,.52);
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
}
.page-ai-examples .ai-page-links a:hover,
.page-ai-examples .ai-page-links a:focus-visible { border-color: var(--refresh-paper); }
.page-ai-examples .ai-example-section { scroll-margin-top: 100px; }
body.page-ai-examples main > section.ai-example-section-alt { background: var(--refresh-sand); }
.page-ai-examples .ai-example-section h3 {
  max-width: 900px;
  margin: 10px auto 18px;
  color: var(--refresh-ink);
  font-size: clamp(32px, 4.2vw, 48px);
  line-height: 1.38;
  text-align: center;
}
.page-ai-examples .ai-example-section > .ai-example-container > .eyebrow { text-align: center; }
.page-ai-examples .ai-section-lead {
  max-width: 820px;
  margin: 0 auto 44px;
  color: var(--refresh-muted);
  font-size: 17px;
  line-height: 1.9;
  text-align: center;
}
.page-ai-examples figure { margin: 0; }
.page-ai-examples figure img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}
.page-ai-examples .ai-feature-figure,
.page-ai-examples .ai-example-card,
.page-ai-examples .ai-document-figure {
  overflow: hidden;
  background: var(--refresh-paper);
  border: 1px solid var(--refresh-line);
  border-radius: 8px;
}
.page-ai-examples figcaption {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 20px 22px 22px;
  color: var(--refresh-muted);
  line-height: 1.75;
}
.page-ai-examples figcaption strong { color: var(--refresh-ink); font-size: 18px; line-height: 1.5; }
.page-ai-examples .ai-card-grid,
.page-ai-examples .ai-compare-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 24px;
}
.page-ai-examples .ai-example-label {
  align-self: flex-start;
  padding: 5px 9px;
  color: var(--refresh-blue);
  background: var(--refresh-cream);
  border: 1px solid var(--refresh-line);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
}
.page-ai-examples .ai-caution {
  margin: 28px 0 0;
  padding: 18px 20px;
  color: var(--refresh-muted);
  background: var(--refresh-paper);
  border-left: 4px solid var(--refresh-blue);
  line-height: 1.8;
}
.page-ai-examples .ai-feature-figure-detail {
  max-width: 960px;
  margin: 28px auto 0;
}
.page-ai-examples .ai-subsection {
  margin-top: 64px;
  padding-top: 56px;
  border-top: 1px solid var(--refresh-line);
}
.page-ai-examples .ai-subsection h4 {
  margin: 0 0 14px;
  color: var(--refresh-ink);
  font-size: 30px;
  line-height: 1.45;
  text-align: center;
}
.page-ai-examples .ai-subsection > p {
  max-width: 760px;
  margin: 0 auto 30px;
  color: var(--refresh-muted);
  font-size: 17px;
  line-height: 1.85;
  text-align: center;
}
.page-ai-examples .ai-feature-figure-narrow {
  max-width: 820px;
  margin: 32px auto 0;
}
.page-ai-examples .ai-document-grid {
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: center;
  gap: 56px;
}
.page-ai-examples .ai-document-copy h3 {
  margin: 10px 0 22px;
  text-align: left;
}
.page-ai-examples .ai-document-copy p {
  color: var(--refresh-muted);
  font-size: 17px;
  line-height: 1.9;
}
.page-ai-examples .ai-document-copy .btn { margin-top: 10px; }
.page-ai-examples .ai-document-grid--text-only {
  display: block;
  max-width: 900px;
}
.page-ai-examples .ai-document-grid--text-only .ai-document-copy {
  padding: 46px 48px 50px;
  background: var(--refresh-paper);
  border: 1px solid var(--refresh-line);
  border-radius: 8px;
}
body.page-ai-examples main > section.ai-final-note {
  color: var(--refresh-paper);
  background: var(--refresh-navy);
  text-align: center;
}
.page-ai-examples .ai-final-note-inner { max-width: 850px; }
.page-ai-examples .ai-final-note h3 {
  margin: 0 0 18px;
  color: var(--refresh-paper);
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.45;
}
.page-ai-examples .ai-final-note p {
  margin: 0 auto 28px;
  color: var(--refresh-paper);
  font-size: 17px;
  line-height: 1.9;
}
.page-ai-examples .ai-final-note .btn { background: var(--refresh-accent); color: var(--refresh-navy); }
@media (max-width: 760px) {
  .page-ai-examples main > section { padding: 64px 18px; }
  body.page-ai-examples main > section.ai-page-hero { padding-top: 72px; padding-bottom: 68px; }
  .page-ai-examples .ai-page-hero h2 { font-size: 38px; }
  .page-ai-examples .ai-page-hero-lead { font-size: 16px; }
  .page-ai-examples .ai-page-links { flex-direction: column; align-items: stretch; }
  .page-ai-examples .ai-page-links a { justify-content: center; }
  .page-ai-examples .ai-example-section h3 { font-size: 30px; text-align: left; }
  .page-ai-examples .ai-example-section > .ai-example-container > .eyebrow,
  .page-ai-examples .ai-section-lead { text-align: left; }
  .page-ai-examples .ai-section-lead { margin-bottom: 32px; }
  .page-ai-examples .ai-card-grid,
  .page-ai-examples .ai-compare-grid,
  .page-ai-examples .ai-document-grid { grid-template-columns: minmax(0, 1fr); }
  .page-ai-examples .ai-document-grid { gap: 32px; }
  .page-ai-examples .ai-subsection { margin-top: 48px; padding-top: 42px; }
  .page-ai-examples .ai-subsection h4,
  .page-ai-examples .ai-subsection > p { text-align: left; }
  .page-ai-examples .ai-subsection h4 { font-size: 26px; }
  .page-ai-examples .ai-document-grid--text-only .ai-document-copy { padding: 30px 24px 34px; }
  .page-ai-examples figcaption { padding: 17px 18px 19px; }
}

/* Compact structure survey: keep the full image beside a short caption. */
.page-home #samples #structure-flow .sample-card--survey {
  display: grid;
  grid-template-columns: minmax(0, 280px) minmax(0, 1fr);
  align-items: center;
  width: min(820px, 100%);
}
.page-home #samples #structure-flow .sample-card--survey .sample-figure {
  min-width: 0;
  background: transparent;
}
.page-home #samples #structure-flow .sample-card--survey .sample-figure img {
  display: block;
  width: 100%;
  height: 200px;
  aspect-ratio: auto;
  object-fit: contain;
}
.page-home #samples #structure-flow .sample-card--survey figcaption {
  min-width: 0;
  padding: 18px 24px;
}
@media (max-width: 600px) {
  .page-home #samples #structure-flow .sample-card--survey {
    grid-template-columns: minmax(0, 32%) minmax(0, 1fr);
  }
  .page-home #samples #structure-flow .sample-card--survey .sample-figure img {
    height: 140px;
  }
  .page-home #samples #structure-flow .sample-card--survey figcaption {
    padding: 16px;
  }
}


/* 260921: AI相談導線へ橋台画像を追加 */
.page-home #services .ai-consultation-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}
.page-home #services .ai-consultation-thumb {
  flex: 0 0 150px;
  display: block;
  line-height: 0;
}
.page-home #services .ai-consultation-thumb img {
  display: block;
  width: 150px;
  height: auto;
  aspect-ratio: 890 / 794;
  object-fit: contain;
  border-radius: 8px;
}
.page-home #services .ai-consultation-cta > .btn {
  margin: 0;
  max-width: 100%;
  white-space: normal;
  text-align: center;
}
@media (max-width: 760px) {
  .page-home #services .ai-consultation-cta { gap: 12px; }
  .page-home #services .ai-consultation-thumb { flex-basis: 80px; }
  .page-home #services .ai-consultation-thumb img { width: 80px; }
  .page-home #services .ai-consultation-cta > .btn { flex: 1 1 auto; padding: 12px 14px; }
}

/* 260922: iPhone実機で確認された告知カードの右切れを修正 */
@media (max-width: 768px) {
  .page-home #app-banner .app-banner-inner {
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    flex-direction: column;
    align-items: stretch;
  }
  .page-home #app-banner .app-banner-lead {
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    flex: 0 1 auto;
    flex-direction: column;
    align-items: center;
  }
  .page-home #app-banner .app-banner-text,
  .page-home #app-banner .app-banner-cta {
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    flex: 0 1 auto;
  }
  .page-home #app-banner .app-banner-title,
  .page-home #app-banner .app-banner-desc,
  .page-home #app-banner .app-banner-story,
  .page-home #app-banner .dl-strip {
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    overflow-wrap: anywhere;
  }
  .page-home #app-banner .app-banner-icon {
    box-sizing: border-box;
    max-width: 100%;
    height: auto;
  }
  .page-home #app-banner .skill-banner-thumb {
    box-sizing: border-box;
    width: 100%;
    max-width: 320px;
    height: auto;
  }
  .page-home #app-banner .app-store-btn {
    box-sizing: border-box;
    display: block;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
  }
}
