/* =====================================================================
   Advisory homepage (EN + JP), ah-* component set.
   Consultancy-only homepage for the 有料職業紹介 licence review, drawn in
   the Google-like language of gtool.css (page wash, Google-colour tiles and
   counters, centred author block, hairline FAQ) without sharing its classes.
   Previous homepages: /originalPages/views/{en,jp}/index.html
===================================================================== */

body.ah-page{
  background-color:#fff;
  background-image:
    radial-gradient(1100px 560px at 50% 0%, rgba(0, 113, 235, .11), transparent 70%),
    linear-gradient(180deg, #f1f5fe 0%, #f5f8fd 460px, rgba(248, 250, 252, 0) 1040px);
  background-repeat:no-repeat;
  color:var(--text-main);

  --ah-ink-2:#334155;
  --ah-muted:#5b6476;
  --ah-hair:#e6e9ef;
  --ah-alt:#f8fafc;
  --ah-ease:cubic-bezier(.2, .7, .2, 1);

  --ah-blue:#1967d2;   --ah-blue-t:#e8f0fe;
  --ah-red:#c5221f;    --ah-red-t:#fce8e6;
  --ah-yellow:#a86200; --ah-yellow-t:#fef7e0;
  --ah-green:#137333;  --ah-green-t:#e6f4ea;
}

[data-c="blue"]  { --c:var(--ah-blue);   --t:var(--ah-blue-t); }
[data-c="red"]   { --c:var(--ah-red);    --t:var(--ah-red-t); }
[data-c="yellow"]{ --c:var(--ah-yellow); --t:var(--ah-yellow-t); }
[data-c="green"] { --c:var(--ah-green);  --t:var(--ah-green-t); }

.ah-wrap{ max-width:1120px; margin:0 auto; padding:0 24px; }

/* Icon tile: line icon on a tinted rounded square */
.ah-tile{
  flex:none;
  display:grid;
  place-items:center;
  width:40px;
  height:40px;
  border-radius:11px;
  background:var(--t);
  color:var(--c);
}
.ah-tile svg{
  width:22px;
  height:22px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.8;
  stroke-linecap:round;
  stroke-linejoin:round;
}


/* ---------------------------------------------------------------------
   Hero
--------------------------------------------------------------------- */
.ah-hero{ padding:clamp(48px, 7vw, 88px) 0 clamp(64px, 8vw, 104px); }
.ah-hero-grid{
  display:grid;
  grid-template-columns:minmax(0, 1.05fr) minmax(0, 1fr);
  gap:64px;
  align-items:center;
}
.ah-pill{
  display:inline-block;
  margin:0 0 22px;
  padding:6px 14px;
  border-radius:999px;
  background:#fff;
  box-shadow:0 0 0 1px rgba(0, 113, 235, .16);
  font-size:13px;
  font-weight:600;
  color:var(--blue);
}
.ah-title{
  margin:0 0 22px;
  font-size:clamp(38px, 5.2vw, 60px);
  line-height:1.06;
  font-weight:800;
  letter-spacing:-.035em;
  text-wrap:balance;
}
.ah-accent{
  background:linear-gradient(90deg, #0071eb, #6B4DE6);
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}
.ah-deck{
  max-width:540px;
  margin:0 0 32px;
  font-size:clamp(17px, 1.6vw, 19px);
  line-height:1.65;
  color:var(--ah-ink-2);
}
.ah-actions{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:14px 26px;
}
.ah-link{
  font-size:16px;
  font-weight:600;
  color:var(--blue);
  text-decoration:none;
}
.ah-link:hover{ text-decoration:underline; }

/* Byline: portrait with a white ring, credential on the row below */
.ah-byline{
  display:flex;
  align-items:center;
  gap:12px;
  margin-top:34px;
}
.ah-face{
  width:42px;
  height:42px;
  border-radius:50%;
  object-fit:cover;
  box-shadow:0 0 0 3px #fff, 0 8px 18px -6px rgba(0, 88, 196, .45);
}
.ah-byline-name{ margin:0; font-size:14px; font-weight:600; }
.ah-byline-cred{
  display:flex;
  align-items:center;
  gap:5px;
  margin:2px 0 0;
  font-size:13px;
  color:var(--ah-muted);
}
.ah-byline-cred img{ display:block; height:14px; width:auto; transform:translateY(1px); }

/* Hero visual: one elevated card (a sample hiring plan) + one floating chip */
.ah-mock{ position:relative; padding:8px 0 44px; }
.ah-card{
  background:#fff;
  border-radius:20px;
  padding:22px 22px 8px;
  box-shadow:
    0 1px 2px rgba(15, 23, 42, .06),
    0 28px 56px -20px rgba(15, 23, 42, .22);
}
.ah-card-head{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin-bottom:12px;
}
.ah-card-title{ margin:0; font-size:15px; font-weight:700; letter-spacing:-.01em; }
.ah-chip{
  padding:4px 11px;
  border-radius:999px;
  background:var(--ah-blue-t);
  font-size:12px;
  font-weight:600;
  color:var(--ah-blue);
}
.ah-row{
  display:grid;
  grid-template-columns:40px minmax(0, 1fr);
  gap:14px;
  align-items:center;
  padding:14px 0;
  border-top:1px solid var(--ah-hair);
}
.ah-row-title{ margin:0; font-size:14px; font-weight:600; }
.ah-row-sub{ margin:2px 0 0; font-size:13px; line-height:1.45; color:var(--ah-muted); }
.ah-range{
  position:relative;
  height:8px;
  margin:10px 0 4px;
  border-radius:999px;
  background:#eef1f6;
}
.ah-range-fill{
  position:absolute;
  inset:0 20% 0 16%;
  border-radius:999px;
  background:linear-gradient(90deg, #fde293, #FBBC04);
}
.ah-range-mark{
  position:absolute;
  top:50%;
  left:60%;
  width:16px;
  height:16px;
  margin:-8px 0 0 -8px;
  border-radius:50%;
  background:#fff;
  box-shadow:0 0 0 3px #34A853, 0 2px 6px rgba(15, 23, 42, .2);
}
.ah-steps-bar{ display:flex; gap:6px; margin:10px 0 4px; }
.ah-steps-bar span{ flex:1; height:6px; border-radius:999px; }
.ah-steps-bar span:nth-child(1){ background:#4285F4; }
.ah-steps-bar span:nth-child(2){ background:#EA4335; }
.ah-steps-bar span:nth-child(3){ background:#FBBC04; }
.ah-steps-bar span:nth-child(4){ background:#34A853; }

.ah-float{
  position:absolute;
  right:-18px;
  bottom:0;
  display:flex;
  align-items:center;
  gap:12px;
  padding:12px 16px;
  border-radius:16px;
  background:#fff;
  box-shadow:
    0 1px 2px rgba(15, 23, 42, .06),
    0 18px 36px -14px rgba(15, 23, 42, .25);
}
.ah-float img{ width:30px; height:30px; display:block; }
.ah-float-title{ margin:0; font-size:14px; font-weight:600; }
.ah-status{
  display:flex;
  align-items:center;
  gap:6px;
  margin:2px 0 0;
  font-size:12px;
  font-weight:600;
  color:var(--ah-green);
}
.ah-status::before{
  content:"";
  width:7px;
  height:7px;
  border-radius:50%;
  background:#34A853;
}


/* ---------------------------------------------------------------------
   Sections
--------------------------------------------------------------------- */
.ah-section{ padding:clamp(64px, 8vw, 104px) 0; }
.ah-section--alt{ background:var(--ah-alt); }
.ah-head{ max-width:720px; margin:0 auto 56px; text-align:center; }
.ah-kicker{
  margin:0 0 12px;
  font-size:12px;
  font-weight:700;
  letter-spacing:.1em;
  text-transform:uppercase;
  color:var(--blue);
}
.ah-h2{
  margin:0;
  font-size:clamp(28px, 3.3vw, 40px);
  line-height:1.14;
  font-weight:800;
  letter-spacing:-.03em;
  text-wrap:balance;
}
.ah-sub{
  margin:16px 0 0;
  font-size:17px;
  line-height:1.7;
  color:var(--ah-ink-2);
}

/* What we advise on: four flat columns, Google colour per item */
.ah-services{
  display:grid;
  grid-template-columns:repeat(4, minmax(0, 1fr));
  gap:44px 32px;
}
.ah-service .ah-tile{ width:48px; height:48px; border-radius:13px; margin-bottom:20px; }
.ah-service .ah-tile svg{ width:24px; height:24px; }
.ah-service h3{
  margin:0 0 10px;
  font-size:19px;
  font-weight:700;
  letter-spacing:-.015em;
}
.ah-service p{
  margin:0 0 14px;
  font-size:15.5px;
  line-height:1.7;
  color:var(--ah-ink-2);
}
.ah-service a{
  font-size:14px;
  font-weight:600;
  color:var(--blue);
  text-decoration:none;
}
.ah-service a:hover{ text-decoration:underline; }

/* How it works: three numbered steps, Google colour counters */
.ah-steps{
  list-style:none;
  margin:0;
  padding:0;
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:44px;
  counter-reset:ah-step;
}
.ah-steps li{ counter-increment:ah-step; --c:var(--ah-blue); --t:var(--ah-blue-t); }
.ah-steps li:nth-child(2){ --c:var(--ah-red); --t:var(--ah-red-t); }
.ah-steps li:nth-child(3){ --c:var(--ah-green); --t:var(--ah-green-t); }
.ah-steps li::before{
  content:counter(ah-step);
  display:grid;
  place-items:center;
  width:44px;
  height:44px;
  margin-bottom:20px;
  border-radius:50%;
  background:var(--t);
  font-size:17px;
  font-weight:700;
  color:var(--c);
}
.ah-steps h3{
  margin:0 0 10px;
  font-size:20px;
  font-weight:700;
  letter-spacing:-.015em;
}
.ah-steps p{
  margin:0;
  font-size:16px;
  line-height:1.7;
  color:var(--ah-ink-2);
}

/* Scope: who does what, two hairline lists */
.ah-scope{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:56px;
  max-width:940px;
  margin:0 auto;
}
.ah-scope h3{
  display:flex;
  align-items:center;
  gap:12px;
  margin:0 0 16px;
  font-size:18px;
  font-weight:700;
  letter-spacing:-.01em;
}
.ah-list{ list-style:none; margin:0; padding:0; }
.ah-list li{
  display:flex;
  align-items:flex-start;
  gap:12px;
  padding:13px 0;
  border-top:1px solid var(--ah-hair);
  font-size:16px;
  line-height:1.55;
  color:var(--ah-ink-2);
}
.ah-list svg{
  flex:none;
  width:20px;
  height:20px;
  margin-top:2px;
  fill:none;
  stroke:var(--c);
  stroke-width:2.2;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.ah-scope-note{
  max-width:760px;
  margin:48px auto 0;
  text-align:center;
  font-size:16px;
  line-height:1.75;
  color:var(--ah-ink-2);
}
.ah-scope-note strong{ font-weight:700; color:var(--text-main); }

/* Free resources: three illustrated cards */
.ah-res{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:36px 28px;
}
.ah-res a{
  display:flex;
  flex-direction:column;
  min-width:0;
  color:inherit;
  text-decoration:none;
}
.ah-res-cover{
  display:flex;
  align-items:center;
  justify-content:center;
  aspect-ratio:16 / 10;
  border-radius:16px;
  background:#fff;
  overflow:hidden;
  transition:transform .25s var(--ah-ease), box-shadow .25s ease;
}
.ah-res-cover img{ width:auto; height:86%; max-width:94%; object-fit:contain; }
.ah-res a:hover .ah-res-cover{
  transform:translateY(-2px);
  box-shadow:0 18px 36px -18px rgba(15, 23, 42, .25);
}
.ah-res-kind{
  margin:18px 0 6px;
  font-size:12px;
  font-weight:700;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:var(--ah-muted);
}
.ah-res h3{ margin:0 0 6px; font-size:18px; font-weight:700; letter-spacing:-.01em; }
.ah-res p{ margin:0; font-size:15px; line-height:1.6; color:var(--ah-ink-2); }

/* Author: centred column, ring portrait, credentials row below */
.ah-author{ text-align:center; }
.ah-author-inner{
  display:flex;
  flex-direction:column;
  align-items:center;
  max-width:660px;
  margin:0 auto;
}
.ah-author .ah-kicker{ margin-bottom:28px; color:var(--ah-muted); }
.ah-author-portrait{
  display:block;
  width:120px;
  height:120px;
  border-radius:50%;
  object-fit:cover;
  box-shadow:0 0 0 5px #fff, 0 18px 40px -10px rgba(0, 88, 196, .45);
}
.ah-author-name{
  margin:28px 0 0;
  font-size:clamp(26px, 2.6vw, 32px);
  font-weight:800;
  line-height:1.15;
  letter-spacing:-.03em;
}
.ah-author-role{ margin:8px 0 0; font-size:16px; color:var(--ah-muted); }
.ah-creds{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:10px 26px;
  margin:18px 0 0;
  padding:0;
  list-style:none;
}
.ah-creds li{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-size:14px;
  font-weight:500;
  color:var(--ah-ink-2);
}
.ah-creds img{ display:block; width:18px; height:18px; }
.ah-creds .ah-flag{ border-radius:50%; box-shadow:0 0 0 1px #d9dee6; }
.ah-author-bio{
  margin:28px 0 0;
  font-size:17px;
  line-height:1.75;
  color:var(--ah-ink-2);
  text-wrap:pretty;
}

/* FAQ: hairline rows */
.ah-faq{ max-width:820px; margin:0 auto; border-top:1px solid var(--ah-hair); }
.ah-faq-item{ border-bottom:1px solid var(--ah-hair); }
.ah-faq-item summary{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  padding:22px 2px;
  list-style:none;
  cursor:pointer;
  font-size:17px;
  font-weight:600;
  line-height:1.4;
}
.ah-faq-item summary::-webkit-details-marker{ display:none; }
.ah-faq-item summary::after{
  content:"";
  flex:none;
  width:32px;
  height:32px;
  border-radius:50%;
  background:transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 10l5 5 5-5' fill='none' stroke='%235b6476' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat;
  transition:transform .2s var(--ah-ease), background-color .15s ease;
}
.ah-faq-item summary:hover::after{ background-color:rgba(15, 23, 42, .05); }
.ah-faq-item[open] summary::after{ transform:rotate(180deg); }
.ah-faq-item p{
  margin:0;
  padding:0 56px 26px 2px;
  font-size:16px;
  line-height:1.75;
  color:var(--ah-ink-2);
}

/* Closing CTA: one tinted panel, no stripe, nothing nested */
.ah-cta{
  max-width:1072px;
  margin:0 auto;
  padding:clamp(48px, 6vw, 76px) 24px;
  border-radius:28px;
  text-align:center;
  background:
    radial-gradient(760px 300px at 50% 0%, rgba(0, 113, 235, .14), transparent 72%),
    #f1f5fe;
}
.ah-cta .ah-h2{ max-width:720px; margin:0 auto; }
.ah-cta .ah-sub{ max-width:680px; margin:16px auto 30px; }


/* ---------------------------------------------------------------------
   Responsive
--------------------------------------------------------------------- */
@media (max-width:980px){
  .ah-hero-grid{ grid-template-columns:1fr; gap:48px; }
  .ah-mock{ max-width:560px; }
  .ah-services{ grid-template-columns:repeat(2, minmax(0, 1fr)); }
  .ah-steps{ grid-template-columns:1fr; max-width:560px; margin:0 auto; }
  .ah-res{ grid-template-columns:repeat(2, minmax(0, 1fr)); }
}
@media (max-width:640px){
  .ah-wrap{ padding:0 16px; }
  .ah-services{ grid-template-columns:1fr; }
  .ah-scope{ grid-template-columns:1fr; gap:36px; }
  .ah-res{ grid-template-columns:1fr; }
  .ah-float{ right:8px; }
  .ah-head{ margin-bottom:40px; }
  .ah-faq-item p{ padding-right:0; }
  .ah-cta{ border-radius:20px; }
}

/* Japanese headings: break at punctuation, not mid-phrase */
:lang(ja) .ah-title,
:lang(ja) .ah-h2{
  word-break:keep-all;
  overflow-wrap:anywhere;
}
:lang(ja) .ah-title{ font-size:clamp(30px, 3.9vw, 46px); line-height:1.2; }

/* Centred hero, text only (sample hiring-plan card removed 2026-10-09; its
   .ah-mock / .ah-card styles stay above so the card can come back by markup only) */
.ah-hero--center{ text-align:center; padding-bottom:clamp(24px, 3vw, 40px); }
.ah-hero--center .ah-wrap{ max-width:860px; }
.ah-hero--center .ah-deck{ margin-left:auto; margin-right:auto; }
.ah-hero--center .ah-actions,
.ah-hero--center .ah-byline{ justify-content:center; }
.ah-hero--center .ah-byline{ text-align:left; }
