/* ===== 大阪公立大学カラーを参照したテーマ（深いフォレストグリーン × ゴールド） ===== */
:root{
  --green:#005a32;        /* メイン：大阪公立大学のディープグリーン系 */
  --green-dark:#00401f;
  --green-light:#2e8b57;
  --green-pale:#eef6f0;
  --green-pale2:#dcefe3;
  --gold:#c9a227;         /* アクセント：ゴールド */
  --gold-dark:#a8851a;
  --ink:#1f2a24;
  --gray:#5b6660;
  --line:#e2e8e4;
  --bg:#ffffff;
  --bg-soft:#f6f9f7;
  --shadow:0 10px 30px rgba(0,60,30,.10);
  --shadow-sm:0 4px 14px rgba(0,60,30,.08);
  --radius:18px;
  --radius-sm:12px;
  --max:1120px;
}

*{box-sizing:border-box;margin:0;padding:0;}
html{scroll-behavior:smooth;}
body{
  font-family:"Noto Sans JP","Zen Kaku Gothic New",system-ui,sans-serif;
  color:var(--ink);
  background:var(--bg);
  line-height:1.85;
  font-size:16px;
  -webkit-font-smoothing:antialiased;
  word-break:auto-phrase;
  overflow-wrap:break-word;
}
img{max-width:100%;display:block;}
a{color:inherit;text-decoration:none;}

.container{width:100%;max-width:var(--max);margin:0 auto;padding:0 22px;}
.container-narrow{max-width:840px;}

.pc-only{display:inline;}
.sp-only{display:none;}

/* ===== ボタン ===== */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:.5em;
  font-weight:700;border-radius:999px;cursor:pointer;
  transition:transform .18s ease, box-shadow .18s ease, background .18s ease;
  text-align:center;line-height:1.4;
}
.btn-cta{
  background:linear-gradient(135deg,var(--gold) 0%,var(--gold-dark) 100%);
  color:#fff;padding:.85em 1.7em;box-shadow:0 8px 20px rgba(201,162,39,.35);
}
.btn-cta:hover{transform:translateY(-2px);box-shadow:0 12px 26px rgba(201,162,39,.45);}
.btn-ghost{
  background:rgba(255,255,255,.85);color:var(--green);
  border:2px solid var(--green);padding:calc(.85em - 2px) 1.6em;
}
.btn-ghost:hover{background:#fff;transform:translateY(-2px);}
.btn-lg{font-size:1.05rem;padding:1em 2em;}
.btn-xl{font-size:1.2rem;padding:1.1em 2.6em;}

/* ===== ヘッダー ===== */
.site-header{
  position:sticky;top:0;z-index:100;
  background:rgba(255,255,255,.92);
  backdrop-filter:saturate(180%) blur(10px);
  border-bottom:1px solid var(--line);
}
.header-inner{display:flex;align-items:center;justify-content:space-between;height:66px;gap:18px;}
.brand{display:flex;align-items:center;gap:.5em;font-weight:900;font-size:1.25rem;color:var(--green);}
.brand-mark{
  display:inline-grid;place-items:center;width:34px;height:34px;border-radius:10px;
  background:linear-gradient(135deg,var(--green),var(--green-light));color:#fff;font-size:.95rem;
}
.header-nav{display:flex;gap:1.4rem;font-size:.95rem;font-weight:500;}
.header-nav a{color:var(--gray);transition:color .2s;}
.header-nav a:hover{color:var(--green);}
.header-cta{font-size:.92rem;padding:.6em 1.2em;}

/* ===== ファーストビュー ===== */
.hero{position:relative;overflow:hidden;background:var(--green-pale);}
.hero-bg{
  position:absolute;inset:0;z-index:0;
  background:
    radial-gradient(1200px 500px at 85% -10%,rgba(46,139,87,.18),transparent 60%),
    radial-gradient(900px 500px at -10% 110%,rgba(201,162,39,.14),transparent 60%),
    linear-gradient(180deg,#f1f8f3 0%,#ffffff 100%);
}
.hero-inner{
  position:relative;z-index:1;
  display:grid;grid-template-columns:1.1fr .9fr;gap:46px;align-items:center;
  padding:64px 22px 70px;
}
.hero-eyebrow{
  display:inline-flex;align-items:center;gap:.5em;
  background:#fff;color:var(--green);font-weight:700;font-size:.86rem;
  padding:.45em 1em;border-radius:999px;box-shadow:var(--shadow-sm);margin-bottom:20px;
}
.hero-title{
  font-family:"Zen Kaku Gothic New",sans-serif;
  font-size:2.7rem;font-weight:900;line-height:1.32;color:var(--ink);letter-spacing:.01em;
}
.hero-title .hl{
  color:var(--green);
  background:linear-gradient(transparent 62%,rgba(201,162,39,.35) 62%);
  padding:0 .05em;
}
.hero-lead{margin-top:20px;font-size:1.05rem;color:var(--gray);}
.hero-lead strong{color:var(--green);font-weight:700;}
.hero-points{list-style:none;margin:22px 0 26px;display:grid;gap:10px;}
.hero-points li{display:flex;align-items:flex-start;gap:.6em;font-weight:500;font-size:.98rem;}
.hero-points i{color:var(--green-light);margin-top:.28em;}
.hero-points strong{color:var(--green);}
.hero-cta-group{display:flex;flex-wrap:wrap;gap:14px;}
.hero-note{margin-top:18px;font-size:.82rem;color:var(--gray);}
.hero-note strong{color:var(--green);}

.hero-figure{
  position:relative;border-radius:var(--radius);overflow:hidden;
  box-shadow:var(--shadow);background:#fff;
}
.hero-figure img{width:100%;height:100%;object-fit:cover;aspect-ratio:4/5;object-position:center top;}
.hero-figure figcaption{
  position:absolute;left:0;right:0;bottom:0;
  background:linear-gradient(transparent,rgba(0,64,31,.85));
  color:#fff;padding:46px 20px 16px;font-size:.92rem;
}
.hero-figure figcaption strong{font-size:1.1rem;}

/* ===== 信頼バー ===== */
.trust-bar{background:var(--green);color:#fff;}
.trust-grid{display:grid;grid-template-columns:repeat(4,1fr);}
.trust-item{
  text-align:center;padding:26px 12px;
  border-right:1px solid rgba(255,255,255,.15);
}
.trust-item:last-child{border-right:none;}
.trust-item .num{display:block;font-family:"Zen Kaku Gothic New";font-weight:900;font-size:2.2rem;line-height:1.1;color:#fff;}
.trust-item .num small{font-size:.9rem;font-weight:700;margin-left:2px;}
.trust-item .lbl{display:block;font-size:.82rem;margin-top:6px;color:rgba(255,255,255,.85);line-height:1.5;}

/* ===== セクション共通 ===== */
.section{padding:74px 0;}
.section:nth-of-type(even){}
.problems,.merit{background:var(--bg-soft);}
.section-eyebrow{
  text-align:center;color:var(--gold-dark);font-weight:700;
  font-size:.85rem;letter-spacing:.12em;text-transform:uppercase;margin-bottom:10px;
}
.section-title{
  text-align:center;font-family:"Zen Kaku Gothic New";font-weight:900;
  font-size:2rem;line-height:1.4;color:var(--ink);margin-bottom:14px;
}
.section-desc{text-align:center;color:var(--gray);max-width:760px;margin:0 auto 40px;}

/* ===== 悩み ===== */
.problem-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;margin-top:40px;}
.problem-card{
  background:#fff;border:1px solid var(--line);border-radius:var(--radius);
  padding:28px 20px;text-align:center;box-shadow:var(--shadow-sm);
}
.problem-icon{
  display:inline-grid;place-items:center;width:60px;height:60px;border-radius:50%;
  background:var(--green-pale);color:var(--green);font-size:1.5rem;margin-bottom:14px;
}
.problem-card h3{font-size:1.05rem;line-height:1.4;margin-bottom:10px;color:var(--ink);}
.problem-card p{font-size:.9rem;color:var(--gray);}
.problems-bridge{
  text-align:center;margin-top:42px;font-size:1.25rem;font-weight:700;color:var(--ink);
}
.problems-bridge strong{color:var(--green);
  background:linear-gradient(transparent 60%,rgba(201,162,39,.3) 60%);}

/* ===== 解決できること ===== */
.solve-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:22px;}
.solve-card{
  position:relative;background:#fff;border:1px solid var(--line);border-radius:var(--radius);
  padding:30px 28px;box-shadow:var(--shadow-sm);overflow:hidden;
}
.solve-card::before{
  content:"";position:absolute;left:0;top:0;width:6px;height:100%;
  background:linear-gradient(var(--green),var(--green-light));
}
.solve-no{
  font-family:"Zen Kaku Gothic New";font-weight:900;font-size:2.4rem;
  color:var(--green-pale2);line-height:1;display:block;margin-bottom:6px;
}
.solve-card h3{font-size:1.2rem;margin-bottom:10px;color:var(--green-dark);display:flex;align-items:center;gap:.5em;}
.solve-card h3 i{color:var(--gold-dark);}
.solve-card p{color:var(--gray);font-size:.96rem;}

/* ===== 導入事例 / 対談 ===== */
.voice{background:linear-gradient(180deg,#ffffff 0%,var(--green-pale) 100%);}
.campus-link{display:block;max-width:880px;margin:0 auto 44px;}
.campus-figure{
  border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow);background:#0a3a22;
  transition:transform .25s ease;
}
.campus-link:hover .campus-figure{transform:translateY(-3px);}
/* 校舎外観が全て写るよう contain */
.campus-figure img{
  width:100%;height:auto;max-height:420px;object-fit:contain;background:#0a3a22;
  display:block;margin:0 auto;
}
.campus-figure figcaption{
  background:var(--green-dark);color:#fff;text-align:center;
  padding:12px;font-size:.92rem;font-weight:500;
}
.campus-figure figcaption i{margin-right:.4em;color:var(--gold);}

/* 対談ビジュアル（添付写真のみ・見切れ防止 contain） */
.dialogue{
  display:flex;align-items:flex-end;justify-content:center;gap:0;
  max-width:760px;margin:0 auto 50px;position:relative;
}
.dialogue-person{
  flex:1;max-width:320px;text-align:center;
}
.dialogue-photo{
  border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow);
  background:#eef3ef;aspect-ratio:3/4;display:grid;place-items:center;
}
.dialogue-photo img{
  width:100%;height:100%;object-fit:contain;background:#eef3ef;
}
.person-left{transform:translateY(0);}
.person-right{transform:translateY(0);}
.dialogue-person figcaption{margin-top:14px;line-height:1.5;}
.dialogue-person .role{display:block;font-size:.8rem;color:var(--gray);}
.dialogue-person .name{display:block;font-weight:900;font-size:1.1rem;color:var(--green-dark);}
.dialogue-vs{
  flex:0 0 auto;align-self:center;margin:0 -10px;z-index:2;
}
.dialogue-vs span{
  display:grid;place-items:center;width:60px;height:60px;border-radius:50%;
  background:linear-gradient(135deg,var(--gold),var(--gold-dark));color:#fff;
  font-size:1.4rem;box-shadow:0 8px 18px rgba(201,162,39,.4);border:4px solid #fff;
}

/* Q&A */
.qa-list{max-width:880px;margin:0 auto;display:grid;gap:24px;}
.qa-block{
  background:#fff;border:1px solid var(--line);border-radius:var(--radius);
  padding:26px 28px;box-shadow:var(--shadow-sm);
}
/* 質問行（半嶺が質問している風） */
.qa-q-row{
  display:flex;gap:18px;align-items:flex-start;
  margin-bottom:18px;padding-bottom:18px;border-bottom:1px dashed var(--line);
}
.qa-q-row .qa-thumb-q{
  flex:0 0 96px;width:96px;height:114px;object-fit:cover;border-radius:12px;
  box-shadow:var(--shadow-sm);border:2px solid var(--green-pale2);
}
.qa-q{
  flex:1;font-weight:700;font-size:1.08rem;color:var(--green-dark);
  display:flex;flex-direction:column;align-items:flex-start;gap:.5em;line-height:1.55;
}
.badge-q{
  display:inline-block;background:var(--green);color:#fff;font-weight:700;font-size:.8rem;
  padding:.2em .9em;border-radius:999px;
}
.qa-a-row{display:flex;gap:18px;align-items:flex-start;}
.qa-thumb{
  flex:0 0 110px;width:110px;height:130px;object-fit:cover;border-radius:12px;
  box-shadow:var(--shadow-sm);
}
.qa-a{flex:1;}
.badge-a{
  display:inline-block;background:var(--gold);color:#fff;font-weight:700;font-size:.8rem;
  padding:.2em .8em;border-radius:999px;margin-bottom:8px;
}
.qa-a p{color:var(--ink);font-size:.98rem;}
.qa-a strong{color:var(--green-dark);
  background:linear-gradient(transparent 62%,rgba(201,162,39,.28) 62%);}
.voice-disclaimer{text-align:center;font-size:.8rem;color:var(--gray);margin-top:34px;}

/* ===== 選ばれる理由 ===== */
.reason-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;}
.reason-card{
  text-align:center;background:#fff;border:1px solid var(--line);border-radius:var(--radius);
  padding:34px 24px;box-shadow:var(--shadow-sm);transition:transform .2s;
}
.reason-card:hover{transform:translateY(-4px);}
.reason-icon{
  display:inline-grid;place-items:center;width:72px;height:72px;border-radius:50%;
  background:linear-gradient(135deg,var(--green),var(--green-light));color:#fff;
  font-size:1.8rem;margin-bottom:18px;
}
.reason-card h3{font-size:1.15rem;line-height:1.5;color:var(--green-dark);margin-bottom:12px;}
.reason-card p{color:var(--gray);font-size:.95rem;}

/* ===== プラン ===== */
.plan-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;align-items:stretch;}
.plan-card{
  position:relative;background:#fff;border:1px solid var(--line);border-radius:var(--radius);
  padding:30px 26px;box-shadow:var(--shadow-sm);display:flex;flex-direction:column;
}
.plan-main{border:2px solid var(--green);box-shadow:var(--shadow);}
.plan-tag{
  align-self:flex-start;background:var(--green-pale);color:var(--green);
  font-weight:700;font-size:.78rem;padding:.3em .9em;border-radius:999px;margin-bottom:14px;
}
.tag-new{background:var(--gold);color:#fff;}
.plan-card h3{font-size:1.35rem;color:var(--green-dark);margin-bottom:8px;}
.plan-price{font-size:1.05rem;color:var(--ink);margin-bottom:18px;}
.plan-price strong{font-size:1.5rem;color:var(--green);font-family:"Zen Kaku Gothic New";}
.plan-price small{font-size:.78rem;color:var(--gray);}
.plan-sub{font-size:.92rem;color:var(--gray);margin-bottom:18px;}
.plan-features{list-style:none;display:grid;gap:10px;}
.plan-features li{display:flex;align-items:flex-start;gap:.6em;font-size:.93rem;}
.plan-features i{color:var(--green-light);margin-top:.3em;}
.plan-features strong{color:var(--green-dark);}
.plan-note{text-align:center;font-size:.8rem;color:var(--gray);margin-top:20px;}

/* ===== メリット ===== */
.merit-cols{display:grid;grid-template-columns:repeat(2,1fr);gap:24px;}
.merit-col{
  background:#fff;border:1px solid var(--line);border-radius:var(--radius);
  padding:32px 30px;box-shadow:var(--shadow-sm);
}
.merit-col h3{
  font-size:1.25rem;color:var(--green-dark);margin-bottom:18px;
  display:flex;align-items:center;gap:.5em;padding-bottom:14px;border-bottom:2px solid var(--green-pale);
}
.merit-col h3 i{color:var(--gold-dark);}
.merit-col ul{list-style:none;display:grid;gap:12px;}
.merit-col li{position:relative;padding-left:1.7em;color:var(--ink);font-size:.96rem;}
.merit-col li::before{
  content:"\f00c";font-family:"Font Awesome 6 Free";font-weight:900;
  position:absolute;left:0;top:.1em;color:var(--green-light);font-size:.9em;
}

/* ===== 流れ ===== */
.flow-steps{list-style:none;counter-reset:none;display:grid;grid-template-columns:repeat(4,1fr);gap:20px;}
.flow-step{
  position:relative;background:#fff;border:1px solid var(--line);border-radius:var(--radius);
  padding:30px 22px 26px;text-align:center;box-shadow:var(--shadow-sm);
}
.flow-num{
  display:grid;place-items:center;width:48px;height:48px;border-radius:50%;margin:0 auto 16px;
  background:linear-gradient(135deg,var(--green),var(--green-light));color:#fff;
  font-family:"Zen Kaku Gothic New";font-weight:900;font-size:1.3rem;
}
.flow-step h3{font-size:1.02rem;color:var(--green-dark);margin-bottom:8px;}
.flow-step p{font-size:.88rem;color:var(--gray);}

/* ===== FAQ ===== */
.faq-list{display:grid;gap:14px;}
.faq-item{
  background:#fff;border:1px solid var(--line);border-radius:var(--radius-sm);
  overflow:hidden;box-shadow:var(--shadow-sm);
}
.faq-item summary{
  cursor:pointer;list-style:none;padding:18px 52px 18px 22px;position:relative;
  font-weight:700;color:var(--ink);font-size:1rem;
}
.faq-item summary::-webkit-details-marker{display:none;}
.faq-item summary::after{
  content:"\f067";font-family:"Font Awesome 6 Free";font-weight:900;
  position:absolute;right:20px;top:50%;transform:translateY(-50%);
  color:var(--green);transition:transform .25s;
}
.faq-item[open] summary::after{content:"\f068";}
.faq-body{padding:0 22px 20px;color:var(--gray);font-size:.95rem;}

/* ===== 最終CTA ===== */
.final-cta{
  background:linear-gradient(135deg,var(--green-dark) 0%,var(--green) 100%);
  color:#fff;text-align:center;position:relative;overflow:hidden;
}
.final-cta::before{
  content:"";position:absolute;inset:0;
  background:radial-gradient(700px 300px at 80% 0%,rgba(201,162,39,.22),transparent 60%);
}
.cta-inner{position:relative;z-index:1;}
.cta-title{font-family:"Zen Kaku Gothic New";font-weight:900;font-size:2.1rem;line-height:1.4;margin-bottom:16px;}
.cta-lead{font-size:1.05rem;color:rgba(255,255,255,.92);margin-bottom:30px;}
.final-cta .btn-cta{box-shadow:0 12px 28px rgba(0,0,0,.25);}
.cta-sub{margin-top:20px;font-size:.86rem;color:rgba(255,255,255,.85);}
.cta-sub i{color:var(--gold);}

/* ===== フッター ===== */
.site-footer{background:#0a2417;color:rgba(255,255,255,.8);padding:48px 0 100px;}
.footer-inner{display:grid;gap:24px;text-align:center;}
.footer-brand .brand-mark{margin:0 auto;}
.footer-brand{display:grid;gap:10px;justify-items:center;}
.footer-brand .brand-text{font-weight:900;font-size:1.3rem;color:#fff;}
.footer-desc{font-size:.85rem;color:rgba(255,255,255,.6);}
.footer-nav{display:flex;flex-wrap:wrap;justify-content:center;gap:18px;font-size:.9rem;}
.footer-nav a{color:rgba(255,255,255,.8);transition:color .2s;}
.footer-nav a:hover{color:var(--gold);}
.footer-copy{font-size:.8rem;color:rgba(255,255,255,.5);}

/* ===== 追従CTA（スマホのみ） ===== */
.sticky-cta{
  display:none;position:fixed;left:14px;right:14px;bottom:14px;z-index:90;
  background:linear-gradient(135deg,var(--gold),var(--gold-dark));color:#fff;
  text-align:center;padding:15px;border-radius:999px;font-weight:700;font-size:1rem;
  box-shadow:0 8px 24px rgba(0,0,0,.25);
}

/* ===== レスポンシブ ===== */
@media (max-width:980px){
  .hero-inner{grid-template-columns:1fr;gap:34px;padding:46px 22px 56px;}
  /* スマホ時は縦長すぎず、顔が上部に収まるよう aspect-ratio を調整 */
  .hero-figure{max-width:420px;margin:0 auto;}
  .hero-figure img{aspect-ratio:4/4;object-position:top center;}
  .hero-title{font-size:2.3rem;}
  .problem-grid{grid-template-columns:repeat(2,1fr);}
  .reason-grid{grid-template-columns:1fr;max-width:440px;margin:0 auto;}
  .plan-grid{grid-template-columns:1fr;max-width:460px;margin:0 auto;}
  .flow-steps{grid-template-columns:repeat(2,1fr);}
}
@media (max-width:760px){
  body{font-size:15px;}
  .pc-only{display:none;}
  .sp-only{display:inline;}
  .header-nav{display:none;}
  .header-cta{font-size:.8rem;padding:.55em 1em;}
  .brand{font-size:1.1rem;}

  .hero-title{font-size:1.85rem;}
  /* 「変わる。」が途中で折り返されないよう */
  .hero-title-last{display:inline-block;white-space:nowrap;}
  /* hero-points：折り返し可、アイコンは先頭に固定 */
  .hero-points{font-size:.9rem;}
  .hero-points li{
    white-space:normal;
    overflow:visible;
    align-items:flex-start;
  }
  .hero-points li i{flex:0 0 auto;margin-top:.22em;}
  .hero-points li span{flex:1;}
  .hero-lead{font-size:.95rem;}
  .hero-cta-group{flex-direction:column;}
  .hero-cta-group .btn{width:100%;}

  .trust-grid{grid-template-columns:repeat(2,1fr);}
  .trust-item:nth-child(2n){border-right:none;}
  .trust-item:nth-child(-n+2){border-bottom:1px solid rgba(255,255,255,.15);}
  .trust-item .num{font-size:1.8rem;}

  .section{padding:54px 0;}
  .section-title{font-size:1.55rem;}

  .solve-grid{grid-template-columns:1fr;}
  .merit-cols{grid-template-columns:1fr;}

  /* 対談：スマホでも左右並びを維持しつつ縮小（見切れ防止） */
  .dialogue{gap:0;max-width:100%;}
  .dialogue-person{max-width:46%;}
  .dialogue-vs span{width:46px;height:46px;font-size:1.1rem;border-width:3px;}
  .dialogue-person .name{font-size:.95rem;}
  .dialogue-person .role{font-size:.72rem;}

  .qa-block{padding:22px 18px;}
  .qa-q{font-size:1rem;}
  /* 質問行：スマホでも半嶺の写真を左に残して質問風を維持 */
  .qa-q-row{gap:14px;}
  .qa-q-row .qa-thumb-q{flex:0 0 72px;width:72px;height:86px;}
  /* 回答行：写真は左・小さめに固定して顔が見切れないよう object-position:top */
  .qa-a-row{flex-direction:row;align-items:flex-start;gap:14px;}
  .qa-a-row .qa-thumb{
    flex:0 0 88px;width:88px;height:110px;
    object-fit:cover;object-position:center top;
  }

  .campus-figure img{max-height:260px;}

  .cta-title{font-size:1.7rem;}
  .btn-xl{font-size:1.05rem;padding:1em 1.8em;width:100%;}

  .sticky-cta{display:block;}
  .header-cta{display:none;}
}
@media (max-width:380px){
  .hero-title{font-size:1.65rem;}
  .trust-item .num{font-size:1.5rem;}
}
