:root{
  --bg:#ffffff;
  --bg2:#f6f7f9;

  --card:#ffffff;
  --line:rgba(12,23,55,.12);

  --text:#0c1737;                 /* 濃紺 */
  --muted:rgba(12,23,55,.65);     /* 文字薄め */
  

  --radius:18px;
  --shadow: 0 8px 24px rgba(12,23,55,.08);
  --container: 1080px;


--hero-bg: linear-gradient(
  180deg,
  rgba(23,37,84,.08) 0%,
  rgba(23,37,84,.04) 55%,
  #ffffff 100%
);

   --accent:#1f3a8a;        /* ネイビー（通常） */
  --accent-hover:#c44a4a;  /* 赤寄り補色（hover） */
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family: "Noto Sans JP", system-ui, -apple-system, sans-serif;
  color:var(--text);
  background:
    radial-gradient(800px 400px at 80% -10%, rgba(31,58,138,.06), transparent 60%),
    linear-gradient(180deg, var(--bg), var(--bg2));
}

img{ max-width:100%; height:auto; display:block; }
a{ color:inherit; text-decoration:none; }
.container{ max-width:var(--container); margin:0 auto; padding:0 20px; }

/* ===== Header ===== */
.header{
  position:sticky; top:0; z-index:50;
  backdrop-filter: blur(10px);
  background: rgba(255,255,255,.85);
  border-bottom:1px solid var(--line);
}
.header__inner{
  height:100px;
  display:flex; align-items:center; justify-content:space-between;
  gap:16px;
}
.brand__logo{
  height: 80px;   /* 今が40〜42pxなら +6〜8px */
  width: auto;
}

.gnav{
  display:flex; align-items:center; gap:18px;
  font-size:14px;
}
.gnav a{
  opacity:.82;
  padding:10px 10px;
  border-radius:12px;
}
.gnav a:hover{ opacity:1; background:rgba(31,58,138,.06); }
.gnav__cta{
  border:1px solid var(--line);
  background: rgba(31,58,138,.06);
}

.navbtn{
  display:none;
  width:44px; height:44px;
  border-radius:12px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.9);
}
.navbtn__bar{
  display:block; height:2px; width:18px;
  background: var(--text);
  margin:4px auto;
  border-radius:999px;
}

/* ===== Hero ===== */
.hero{
  position: relative;
  padding: 64px 0 40px;
  background: var(--hero-bg);
}
.hero__inner{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap:28px;
  align-items:center;
}
.hero__title{
  margin:8px 0 14px;
  font-size: clamp(28px, 3.2vw, 48px);
  line-height:1.15;
  letter-spacing:-.02em;
}
.hero__lead{
  margin:0;
  color:var(--muted);
  line-height:1.9;
  font-size:15px;
}
.kicker{
  display:inline-flex;
  gap:10px; align-items:center;
  font-size:12px;
  letter-spacing:.14em;
  text-transform:uppercase;
  color: rgba(12,23,55,.55);
}
.hero__actions{ margin-top:22px; display:flex; gap:12px; flex-wrap:wrap; }
.hero__visual img{
  border-radius:24px;
  box-shadow: var(--shadow);
  border:1px solid var(--line);
  aspect-ratio: 4/5;
  object-fit:cover;
  background:#fff;
}
.hero__fade{
  position:absolute; left:0; right:0; bottom:-1px; height:80px;
  background: linear-gradient(180deg, transparent, #ffffff);
  pointer-events:none;
}

/* ===== Sections ===== */
.section{ padding:72px 0; }
.section--alt{
  background: rgba(12,23,55,.02);
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
}
.section__head{ margin-bottom:26px; }
.section__title{
  font-size: 32px;
  margin:0;
  letter-spacing:-.01em;
}
.section__sub{
  margin:8px 0 0;
  color:var(--muted);
  font-size:14px;
}

.grid{ display:grid; gap:18px; }
.grid--2{ grid-template-columns: 1fr 1fr; }

/* ===== Cards / Panels ===== */
.card{
  background: var(--card);
  border:1px solid var(--line);
  border-radius: var(--radius);
  padding:22px;
  box-shadow: var(--shadow);
}
.h3{ margin:0 0 10px; font-size:18px; }
.text{ margin:0 0 12px; color:var(--muted); line-height:1.9; font-size:15px; }
.text:last-child{ margin-bottom:0; }

.profile{
  margin:0;
  border-radius: var(--radius);
  overflow:hidden;
  border:1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow);
}
.profile img{ aspect-ratio: 4/3; object-fit:cover; }
.profile__cap{
  padding:14px 16px;
  border-top:1px solid var(--line);
}
.profile__name{ display:block; font-weight:700; }
.profile__role{ display:block; color:var(--muted); font-size:13px; margin-top:4px; }

.thumb{
  border-radius: var(--radius);
  overflow:hidden;
  border:1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow);
}
.thumb img{ aspect-ratio: 4/3; object-fit:cover; }

/* ===== Timeline ===== */
.timeline{
  list-style:none; padding:0; margin:0;
  padding-left:18px;
}
.timeline__item{
  position:relative;
  margin-bottom: 20px;
}
.timeline__item::before{
  content:"";
  position:absolute;
  left:-24px; top:10px;
  width:10px; height:10px;
  border-radius:999px;
  background: var(--accent);
  box-shadow: 0 0 0 6px rgba(31,58,138,.12);
}
.timeline__year{ color: rgba(12,23,55,.70); font-weight:700; letter-spacing:.04em; }
.timeline__title{ margin:0 0 4px; font-size:16px; }
.timeline__text{ margin:0; color:var(--muted); line-height:1.85; font-size:14px; }

/* ===== Strength cards ===== */
.cards{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap:14px;
}
.list{ margin:10px 0 0; padding-left:18px; color:var(--muted); line-height:1.85; font-size:14px; }

/* ===== Media list ===== */
.media{
  display:grid; gap:10px;
}
.media__item{
  display:grid;
  grid-template-columns: 110px 1fr 24px;
  gap:14px;
  align-items:center;
  padding:14px 16px;
  border-radius: 16px;
  border:1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow);
}
.media__item:hover{ background: rgba(31,58,138,.04); }
.media__date{ color: rgba(12,23,55,.55); font-size:13px; }
.media__title{ font-size:14px; color: rgba(12,23,55,.88); }
.media__arrow{ opacity:.75; }

/* ===== Forms ===== */
.form{
  background: #fff;
  border:1px solid var(--line);
  border-radius: var(--radius);
  padding:22px;
  box-shadow: var(--shadow);
}
.field{ display:grid; gap:8px; margin-bottom:12px; }
.field span{ font-size:13px; color: rgba(12,23,55,.70); }
input, textarea{
  width:100%;
  border-radius: 14px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.95);
  color: var(--text);
  padding:12px 12px;
  outline:none;
}
input:focus, textarea:focus{
  border-color: rgba(31,58,138,.45);
  box-shadow: 0 0 0 5px rgba(31,58,138,.10);
}
.form__note{ margin:10px 0 0; color: rgba(12,23,55,.55); font-size:12px; }

/* ===== Buttons / Links ===== */
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  gap:10px;
  padding:12px 18px;
  border-radius: 999px;
  border:1px solid var(--accent);
  background: var(--accent);
  color:#fff;
  font-weight:700;
  font-size:14px;
}
.btn:hover,
.gnav__cta:hover{
  background: #ffffff;
  color: var(--accent) !important;
  border-color: var(--accent);
}
.btn--ghost{
  border-color: var(--accent);
  background:#fff;
  color:var(--accent);
}
.btn--wide{ width:100%; border-radius: 16px; padding:12px 14px; }

.link{
  display:inline-block;
  margin-top:10px;
  color: var(--accent);
}
.link:hover{ text-decoration: underline; }

/* ===== Footer ===== */
.footer{
  padding:22px 0 34px;
  border-top:1px solid var(--line);
  color: rgba(12,23,55,.65);
}
.footer__inner{ display:flex; justify-content:space-between; align-items:center; gap:14px; }
.totop{
  padding:10px 12px;
  border-radius:14px;
  border:1px solid var(--line);
  background: #fff;
  box-shadow: 0 6px 18px rgba(12,23,55,.06);
}

/* ===== Reveal animation ===== */
.reveal{ opacity:0; transform: translateY(14px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-in{ opacity:1; transform:none; }

/* ===== Responsive ===== */
@media (max-width: 980px){
  .hero__inner{ grid-template-columns: 1fr; }
  .hero__visual img{ aspect-ratio: 16/10; }
  .cards{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px){
  .grid--2{ grid-template-columns: 1fr; }
  .section__title{ font-size: 28px; }

  .navbtn{ display:inline-block; }
  .gnav{
    position:fixed;
    left:16px; right:16px; top:84px;
    display:none;
    flex-direction:column;
    align-items:stretch;
    gap:8px;
    padding:12px;
    border-radius: 18px;
    border:1px solid var(--line);
    background: rgba(255,255,255,.92);
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow);
  }
  .gnav a{ padding:12px 12px; }
  .gnav.is-open{ display:flex; }
  .cards{ grid-template-columns: 1fr; }
  .media__item{ grid-template-columns: 92px 1fr 24px; }
}
.dl{
  margin:0;
  display:grid;
  gap:10px;
}
.dl__row{
  display:grid;
  grid-template-columns: 140px 1fr;
  gap:14px;
  padding:12px 0;
  border-bottom:1px solid var(--line);
}
.dl__row:last-child{ border-bottom:none; }
.dl dt{
  color: rgba(12,23,55,.70);
  font-weight:700;
  font-size:14px;
}
.dl dd{
  margin:0;
  color: var(--text);
  line-height:1.85;
  font-size:14px;
}
@media (max-width:720px){
  .dl__row{ grid-template-columns: 1fr; gap:6px; }
}

/* ===== Information compact ===== */
.section#information{ padding:44px 0; } /* セクション自体の高さを削る */

.info{
  border:1px solid var(--line);
  background:#fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding:14px 16px; /* コンパクトに */
}
.info__meta{
  display:flex;
  align-items:center;
  gap:10px;
  margin-bottom:6px;
}
.info__date{
  font-size:12px;
  color: rgba(12,23,55,.55);
}
.info__text{
  margin:0;
  color: var(--muted);
  line-height:1.85;
  font-size:14px;
}

/* ===== Services: 3 columns ===== */
#services .cards{
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 980px){
  #services .cards{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px){
  #services .cards{ grid-template-columns: 1fr; }
}

#information{ scroll-margin-top: 92px; }
#message, #services, #biography, #media, #company, #contact{ scroll-margin-top: 92px; }

.hero__visual img{
  max-width: 520px;
  width: 100%;
  height: auto;
}

.card.reveal .btn{
    margin-bottom: 10px;
}

.card_btnbox{
    text-align: center;
}


/* ===== Nav Contact button ===== */
.gnav__cta{
  border: 1px solid var(--accent);
  background: var(--accent);
  color: #fff !important;
  font-weight: 700;
}

/* ===== Button hover (complementary color) ===== */
.btn:hover,
.gnav__cta:hover{
  background: var(--accent-hover);
  color: #ffffff !important;
  border-color: var(--accent-hover);
}

/* Ghost button hover */
.btn--ghost:hover{
  background: var(--accent-hover);
  color: #ffffff !important;
  border-color: var(--accent-hover);
}

/* ===== Nav Contact hover text color (black) ===== */
.gnav__cta:hover{
  color: #000000 !important;
}


#achievements{
  scroll-margin-top: 100px;
}


.career_blogbox:hover{
    opacity: 0.7;
}

.career_blogbox h4{
    margin: 0;
}

/* ===== Profile ===== */
.profilebox{
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 28px;
  align-items: start;
}

.profilebox__photo{
  margin: 0;
  position: sticky;
  top: 110px; /* stickyヘッダーがあるので少し下げる */
}

.profilebox__photo img{
  width: 100%;
  height: auto;
  border-radius: 18px;
  display: block;
  box-shadow: 0 12px 28px rgba(12,23,55,.08);
}

.profilebox__cap{
  margin-top: 12px;
  display: grid;
  gap: 4px;
}

.profilebox__name{
  font-weight: 800;
  letter-spacing: .02em;
}

.profilebox__role{
  color: rgba(12,23,55,.6);
  font-size: 14px;
}

.profilebox__lead p{
  margin: 0 0 14px;
  line-height: 1.9;
  color: rgba(12,23,55,.85);
}

.profilebox__highlights{
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pill{
  display: inline-flex;
  align-items: center;
  padding: 9px 12px;
  border-radius: 999px;
  border: 1px solid rgba(31,58,138,.18);
  background: rgba(31,58,138,.04);
  font-size: 13px;
  font-weight: 700;
  color: rgba(12,23,55,.85);
}

/* Message section: make right image match left card height */
#message .grid--2{
  align-items: stretch; /* 2カラムを同じ高さにする */
}

#message .profile{
  margin: 0;
  height: 100%;
  border-radius: 20px;
  overflow: hidden;     /* はみ出た分をトリミング */
  background: #fff;     /* もし隙間が出ても白 */
}

#message .profile img{
  display: block;
  width: 100%;
  height: 100%;         /* ここが肝：親の高さに合わせる */
  object-fit: cover;    /* 横はトリミングしてOK */
  object-position: center; /* 顔位置の調整したいならここ */
}

@media (max-width: 900px){
  .profilebox{
    grid-template-columns: 1fr;
  }
  .profilebox__photo{
    position: static;
  }
}

/* ===== Ozeten (career_blogbox) ===== */
.career_blogbox{
  margin-top: 14px;
}

/* 全体リンクをカードに */
.career_blogbox > a,
.ozeten-card{
  display: block;
  text-decoration: none;
  color: inherit;

  background: #fff;
  border: 1px solid rgba(31,58,138,.14);         /* 紺の薄い枠 */
  border-radius: 16px;
  padding: 14px;
  box-shadow: 0 10px 26px rgba(12,23,55,.06);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
  position: relative;
}

/* クリックできる感を出す */
.career_blogbox > a:hover,
.ozeten-card:hover{
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(12,23,55,.10);
  border-color: rgba(31,58,138,.30);
}

/* 上部：バッジ & CTA */
.ozeten-card__head{
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.ozeten-badge{
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(31,58,138,.08);
  color: rgba(12,23,55,.78);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: .02em;
}

.ozeten-cta{
  font-size: 13px;
  font-weight: 800;
  color: rgba(31,58,138,.95);
  transition: transform .22s ease;
}

.ozeten-card:hover .ozeten-cta{
  transform: translateX(3px);
}

/* タイトルと本文 */
.career_blogbox h4,
.ozeten-title{
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: .02em;
  color: rgba(12,23,55,.92);
}

.career_blogbox p,
.ozeten-text{
  margin: 0 0 10px;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(12,23,55,.70);
}

/* 画像 */
.career_blogbox img,
.ozeten-img{
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,.06);
}

/* hoverで画像をほんのり強調（やりすぎない） */
.ozeten-card:hover .ozeten-img,
.career_blogbox > a:hover img{
  filter: saturate(1.03) contrast(1.03);
}