:root{
  --agos-blue:#0755b7;
  --agos-navy:#0b376c;
  --agos-cyan:#07b7e9;
  --agos-green:#00aa5b;
  --agos-yellow:#f2d21a;
  --ink:#10243d;
  --muted:#56667a;
  --line:#dce7f1;
  --pale-blue:#eef7ff;
  --pale-cyan:#eefbff;
  --pale-yellow:#fffde8;
  --pale-green:#eefbf5;
  --surface:#fff;
  --shadow:0 18px 48px rgba(5,53,105,.11);
  --shadow-sm:0 10px 28px rgba(5,53,105,.08);
  --radius:24px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  color:var(--ink);
  background:#fff;
  font-family:-apple-system,BlinkMacSystemFont,"Hiragino Kaku Gothic ProN","Hiragino Sans","Yu Gothic",Meiryo,sans-serif;
  line-height:1.75;
  -webkit-font-smoothing:antialiased;
}
a{color:inherit}
img {
  max-width:100%;
  display:block;
}
button,a {
  -webkit-tap-highlight-color:transparent;
}
.container {
  width:min(1120px,calc(100% - 40px));
  margin-inline:auto;
}
.site-header{
  height:84px;
  display:flex;
  align-items:center;
  background:#fff;
  border-bottom:1px solid #edf2f7;
}
.site-header .inner {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:28px;
}
.brand {
  display:flex;
  align-items:center;
  gap:16px;
  text-decoration:none;
}
.brand img {
  width:106px;
  height:auto;
}
.brand-copy {
  font-size:12px;
  line-height:1.55;
  color:#51677e;
  letter-spacing:.02em;
  max-width:390px;
}
.header-cta{
  display:inline-flex;align-items:center;justify-content:center;
  min-height:44px;padding:0 22px;border-radius:999px;
  background:var(--agos-blue);color:#fff;text-decoration:none;font-weight:800;font-size:14px;
  box-shadow:0 8px 22px rgba(7,85,183,.18);
}
.header-cta:hover{filter:brightness(.96)}
.hero{
  position:relative;overflow:hidden;
  background:
    radial-gradient(circle at 10% 18%,rgba(7,183,233,.12),transparent 24%),
    radial-gradient(circle at 92% 14%,rgba(242,210,26,.18),transparent 28%),
    linear-gradient(180deg,#fafdff 0%,#ffffff 100%);
  padding:78px 0 72px;
}
.hero:before,.hero:after {
  content:"";
  position:absolute;
  border-radius:999px;
  pointer-events:none;
}
.hero:before {
  width:340px;
  height:340px;
  border:1px solid rgba(7,85,183,.08);
  left:-220px;
  top:180px;
}
.hero:after {
  width:240px;
  height:240px;
  border:1px solid rgba(0,170,91,.09);
  right:-120px;
  bottom:40px;
}
.kicker {
  display:inline-flex;
  align-items:center;
  gap:9px;
  color:var(--agos-blue);
  font-size:13px;
  font-weight:900;
  letter-spacing:.14em;
  text-transform:uppercase;
}
.kicker:before {
  content:"";
  display:block;
  width:34px;
  height:3px;
  border-radius:3px;
  background:var(--agos-yellow);
}
h1 {
  margin:13px 0 12px;
  font-size:clamp(42px,6.6vw,76px);
  line-height:1.06;
  letter-spacing:-.04em;
  color:var(--agos-blue);
  font-weight:900;
}
.hero-lead {
  margin:0;
  font-size:clamp(20px,2.5vw,30px);
  font-weight:900;
  letter-spacing:.01em;
  color:#24496f;
}
.hero-note {
  margin:13px 0 0;
  font-size:15px;
  color:var(--muted);
}
.benefits {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:20px;
  margin-top:44px;
}
.benefit-card{
  position:relative;overflow:hidden;min-height:260px;border:1px solid rgba(11,55,108,.08);border-radius:32px;padding:34px 34px 30px;
  box-shadow:var(--shadow-sm);display:flex;flex-direction:column;justify-content:space-between;
}
.benefit-card.referrer{background:linear-gradient(135deg,#e7f6ff,#f7fcff)}
.benefit-card.referred{background:linear-gradient(135deg,#fffde4,#fffef6)}
.benefit-card:after {
  content:"";
  position:absolute;
  width:190px;
  height:190px;
  border-radius:50%;
  right:-58px;
  top:-62px;
  border:26px solid rgba(255,255,255,.62);
}
.benefit-head {
  position:relative;
  z-index:1;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
}
.benefit-label {
  font-size:20px;
  font-weight:900;
}
.referrer .benefit-label{color:var(--agos-green)}
.referred .benefit-label{color:var(--agos-cyan)}
.icon-disc {
  width:64px;
  height:64px;
  border-radius:50%;
  display:grid;
  place-items:center;
  background:#fff;
  box-shadow:0 10px 30px rgba(17,55,95,.10);
}
.icon-disc svg {
  width:32px;
  height:32px;
}
.referrer .icon-disc{color:var(--agos-green)}
.referred .icon-disc{color:var(--agos-cyan)}
.benefit-main {
  position:relative;
  z-index:1;
  margin-top:20px;
  padding-top:20px;
  border-top:2px solid rgba(7,85,183,.35);
  font-weight:900;
  line-height:1.25;
}
.benefit-main .big {
  display:block;
  font-size:clamp(28px,4.2vw,49px);
  letter-spacing:-.035em;
  color:#0b1d30;
}
.benefit-main .sub {
  display:block;
  margin-top:3px;
  font-size:clamp(20px,2.6vw,30px);
}
.hero-actions {
  display:flex;
  align-items:center;
  justify-content:center;
  gap:14px;
  flex-wrap:wrap;
  margin-top:34px;
}
.btn {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  min-height:56px;
  padding:0 30px;
  border-radius:999px;
  text-decoration:none;
  font-weight:900;
  font-size:16px;
  transition:.2s ease;
  letter-spacing:.01em;
}
.btn-primary {
  background:var(--agos-blue);
  color:#fff;
  box-shadow:0 12px 28px rgba(7,85,183,.24);
}
.btn-primary:hover {
  transform:translateY(-1px);
  box-shadow:0 16px 34px rgba(7,85,183,.28);
}
.btn-secondary {
  background:#fff;
  color:var(--agos-blue);
  border:1px solid #b8cee7;
}
.btn-secondary:hover{background:#f7fbff}
.btn svg {
  width:20px;
  height:20px;
}
.section{padding:82px 0}
.section.alt{background:#f7fbff}
.section.soft{background:linear-gradient(180deg,#fff,#fbfdff)}
.section-head {
  text-align:center;
  margin-bottom:38px;
}
.section-tag {
  font-size:13px;
  font-weight:900;
  letter-spacing:.13em;
  color:var(--agos-cyan);
  text-transform:uppercase;
}
.section h2 {
  margin:8px 0 0;
  font-size:clamp(30px,4.2vw,46px);
  line-height:1.25;
  letter-spacing:-.035em;
  color:var(--agos-navy);
}
.section-desc {
  max-width:750px;
  margin:14px auto 0;
  color:var(--muted);
  font-size:16px;
}
.flow-grid {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
}
.flow-card {
  position:relative;
  background:#fff;
  border:1px solid var(--line);
  border-radius:24px;
  padding:28px 26px 26px;
  box-shadow:var(--shadow-sm);
}
.flow-no {
  display:inline-grid;
  place-items:center;
  width:38px;
  height:38px;
  border-radius:50%;
  background:var(--agos-blue);
  color:#fff;
  font-weight:900;
  font-size:14px;
}
.flow-card:nth-child(3) .flow-no{background:var(--agos-green)}
.flow-card h3 {
  margin:18px 0 8px;
  font-size:20px;
  line-height:1.45;
  color:#163b61;
}
.flow-card h3 span {
  display:block;
  color:var(--agos-cyan);
  font-size:14px;
  margin-bottom:2px;
}
.flow-card:nth-child(3) h3 span{color:var(--agos-green)}
.flow-card p {
  margin:0;
  color:var(--muted);
  font-size:14px;
  line-height:1.75;
}
.audience-wrap {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:22px;
}
.audience {
  border-radius:28px;
  padding:30px;
  background:#fff;
  box-shadow:var(--shadow-sm);
  border:1px solid var(--line);
}
.audience.referrer{border-top:5px solid var(--agos-green)}
.audience.referred{border-top:5px solid var(--agos-cyan)}
.audience-badge {
  font-size:13px;
  font-weight:900;
  letter-spacing:.08em;
}
.audience.referrer .audience-badge{color:var(--agos-green)}
.audience.referred .audience-badge{color:var(--agos-cyan)}
.audience h3 {
  margin:4px 0 20px;
  font-size:26px;
  color:var(--agos-navy);
}
.step-list {
  list-style:none;
  margin:0;
  padding:0;
  display:grid;
  gap:14px;
}
.step-item {
  display:grid;
  grid-template-columns:42px 1fr;
  gap:14px;
  align-items:start;
  padding:16px;
  border-radius:16px;
  background:#f8fbfe;
  border:1px solid #e8eff5;
}
.step-item .n {
  width:34px;
  height:34px;
  border-radius:10px;
  display:grid;
  place-items:center;
  background:#fff;
  color:var(--agos-blue);
  font-weight:900;
  border:1px solid #cbd9e8;
}
.step-item strong {
  display:block;
  font-size:16px;
  line-height:1.55;
  color:#173b60;
}
.step-item p {
  margin:5px 0 0;
  font-size:13px;
  line-height:1.7;
  color:var(--muted);
}
.link-text {
  color:var(--agos-blue);
  font-weight:800;
  text-decoration-thickness:1px;
  text-underline-offset:3px;
}
.example {
  margin-top:14px;
  border-radius:15px;
  padding:14px 16px;
  background:#fff;
  border:1px dashed #b9c9d8;
  color:#344a61;
  font-size:13px;
  line-height:1.65;
}
.conditions {
  display:grid;
  grid-template-columns:1.05fr .95fr;
  gap:24px;
  align-items:start;
}
.panel {
  background:#fff;
  border:1px solid var(--line);
  border-radius:26px;
  padding:30px;
  box-shadow:var(--shadow-sm);
}
.panel h3 {
  margin:0 0 18px;
  font-size:23px;
  color:var(--agos-navy);
}
.rule-list {
  margin:0;
  padding:0;
  list-style:none;
  display:grid;
  gap:14px;
}
.rule {
  display:grid;
  grid-template-columns:30px 1fr;
  gap:10px;
  align-items:start;
}
.check {
  width:24px;
  height:24px;
  border-radius:50%;
  display:grid;
  place-items:center;
  background:var(--pale-green);
  color:var(--agos-green);
  font-weight:900;
  font-size:14px;
  margin-top:2px;
}
.rule b{color:#173b60}
.rule p {
  margin:2px 0 0;
  font-size:14px;
  color:var(--muted);
}
.notice {
  border-radius:22px;
  padding:24px;
  background:linear-gradient(145deg,#fff7df,#fffdf4);
  border:1px solid #f1df9a;
}
.notice + .notice{margin-top:16px}
.notice.blue {
  background:linear-gradient(145deg,#eff8ff,#fbfdff);
  border-color:#cfe3f5;
}
.notice h4 {
  margin:0 0 8px;
  font-size:18px;
  color:#604e08;
}
.notice.blue h4{color:#164b78}
.notice p {
  margin:0;
  color:#645f4a;
  font-size:14px;
  line-height:1.75;
}
.notice.blue p{color:#4f6376}
.subtle {
  font-size:12px;
  color:#7a8794;
  margin-top:10px;
}
.consult-topics {
  display:grid;
  grid-template-columns:repeat(5,1fr);
  gap:12px;
  margin-top:20px;
}
.topic {
  min-height:106px;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  padding:14px;
  border-radius:18px;
  background:#fff;
  border:1px solid #dce8f1;
  font-size:13px;
  font-weight:800;
  color:#36516d;
}
.final-cta {
  padding:82px 0;
  background:linear-gradient(135deg,#064da6,#0876cc);
  position:relative;
  overflow:hidden;
  color:#fff;
}
.final-cta:before {
  content:"";
  position:absolute;
  inset:auto -110px -180px auto;
  width:420px;
  height:420px;
  border:60px solid rgba(255,255,255,.08);
  border-radius:50%;
}
.final-card {
  position:relative;
  z-index:1;
  display:grid;
  grid-template-columns:1fr auto;
  gap:36px;
  align-items:center;
}
.final-cta h2 {
  margin:0;
  font-size:clamp(31px,4vw,48px);
  line-height:1.3;
  letter-spacing:-.035em;
}
.final-cta p {
  margin:12px 0 0;
  color:rgba(255,255,255,.82);
  font-size:15px;
}
.final-actions {
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  justify-content:flex-end;
}
.final-actions .btn-primary {
  background:#fff;
  color:var(--agos-blue);
  box-shadow:none;
}
.final-actions .btn-secondary {
  background:transparent;
  border-color:rgba(255,255,255,.55);
  color:#fff;
}
.site-footer {
  background:#082d59;
  color:#fff;
  padding:28px 0;
}
.site-footer .inner {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  font-size:12px;
  color:rgba(255,255,255,.75);
}
.footer-brand {
  font-weight:800;
  letter-spacing:.04em;
  color:#fff;
}
.mobile-cta{display:none}
.anchor{scroll-margin-top:18px}
@media(max-width:900px){
  .site-header {
    height:auto;
    padding:14px 0;
  }
  .brand-copy{display:none}
  .header-cta {
    font-size:13px;
    padding:0 16px;
    min-height:40px;
  }
  .hero{padding:56px 0 58px}
  .benefits{grid-template-columns:1fr}
  .flow-grid{grid-template-columns:1fr}
  .audience-wrap{grid-template-columns:1fr}
  .conditions{grid-template-columns:1fr}
  .consult-topics{grid-template-columns:repeat(2,1fr)}
  .consult-topics .topic:last-child{grid-column:1 / -1}
  .final-card{grid-template-columns:1fr}
  .final-actions{justify-content:flex-start}
}
@media(max-width:620px){
  .container{width:min(100% - 28px,1120px)}
  .site-header .inner{gap:12px}
  .brand img{width:82px}
  .hero{padding-top:46px}
  .benefit-card {
    padding:26px 23px;
    min-height:230px;
  }
  .icon-disc {
    width:54px;
    height:54px;
  }
  .section{padding:64px 0}
  .audience{padding:24px 18px}
  .panel{padding:24px 19px}
  .consult-topics{grid-template-columns:1fr}
  .consult-topics .topic:last-child{grid-column:auto}
  .final-cta{padding:62px 0 88px}
  .site-footer .inner {
    display:block;
    text-align:center;
  }
  .site-footer .footer-brand{margin-bottom:4px}
}

/* ------------------------------------------------------------
   Header / footer matched to the reference IELTS/TOEFL LP
   (scoped so the referral LP body styles are not affected)
   ------------------------------------------------------------ */
.reference-header-wrap{
  width:100%;
  background:#fff;
  border-bottom:1px solid #e4e9ef;
}
.reference-header{
  width:100%;
  background:#fff;
}
.reference-header .header-inner{
  width:min(1120px,calc(100% - 40px));
  min-height:84px;
  margin:0 auto;
  display:flex;
  align-items:center;
  gap:28px;
}
.reference-header .logo-wrap{
  flex:0 0 auto;
}
.reference-header .logo{
  margin:0;
  padding:0;
  font-size:0;
  line-height:1;
}
.reference-header .logo a{
  display:block;
}
.reference-header .logo img{
  display:block;
  width:106px;
  height:auto;
}
.reference-header .header-text{
  margin:0;
  padding:0;
  color:#333;
  font-size:13px;
  font-weight:400;
  line-height:1.6;
  letter-spacing:0;
}
.reference-footer{
  margin:0;
  padding:22px 0;
  background:#0755b7;
  color:#fff;
}
.reference-footer .section-contents{
  width:min(1120px,calc(100% - 40px));
  margin:0 auto;
}
.reference-footer .footer-inner{
  text-align:center;
}
.reference-footer .footer-copy{
  margin:0;
  color:#fff;
  font-size:11px;
  line-height:1.6;
}
.reference-footer .footer-copy a{
  color:#fff;
  text-decoration:none;
}
.reference-footer .footer-copy a:hover{
  text-decoration:underline;
}
@media(max-width:620px){
  .reference-header .header-inner{
    width:min(100% - 28px,1120px);
    min-height:72px;
    gap:14px;
  }
  .reference-header .logo img{
    width:82px;
  }
  .reference-header .header-text{
    font-size:10px;
    line-height:1.55;
  }
  .reference-footer .section-contents{
    width:min(100% - 28px,1120px);
  }
}
