 :root{
    --brand-blue: #004b9d;
    --brand-blue-deep: #003b7d;
    --brand-yellow: #ffe000;
    --paper: #f7f5f0;
    --ink: #1c1c1c;
    --nav-height: 76px;
  }
 
  *{ box-sizing: border-box; }
  body{
    margin:0;
    font-family: "YuGothic", "Yu Gothic", sans-serif;
    background: var(--paper);
    color: var(--ink);
  }
 
  /* ページ本文がナビの下に隠れないよう余白確保 */
  .page-spacer{ height: var(--nav-height); }
 
  /* ===== ナビ本体 ===== */
  .site-nav{
    position: fixed;
    top: 0; left: 0; right: 0;
    height: var(--nav-height);
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 32px;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,.08);
  }
 
  /* ロゴ・サイト名 */
  .site-nav__brand{
    display: flex;
    flex-direction: column;
    line-height: 1.3;
    text-decoration: none;
    color: var(--brand-blue);
  }
  .site-nav__eyebrow{
    font-size: 11px;
    letter-spacing: .12em;
    color: var(--brand-blue);
  }
  .site-nav__name{
    font-size: 22px;
    font-weight: 700;
    letter-spacing: .06em;
  }
  .site-nav__tag{
    display:none;
  }
 
  /* リンク一覧 */
  .site-nav__list{
    list-style: none;
    display: flex;
    gap: 4px;
    margin: 0;
    padding: 0;
  }
  .site-nav__link{
    position: relative;
    display: block;
    padding: 10px 18px;
    color: var(--brand-blue);
    text-decoration: none;
    font-size: 15px;
    letter-spacing: .04em;
    transition: color .25s ease;
    opacity: .75;
  }
  .site-nav__link::after{
    content:"";
    position:absolute;
    left: 18px; right: 18px;
    bottom: 4px;
    height: 2px;
    background: var(--brand-blue);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .25s ease;
  }
  .site-nav__link:hover,
  .site-nav__link:focus-visible{
    opacity: 1;
  }
  .site-nav__link:hover::after,
  .site-nav__link:focus-visible::after{
    transform: scaleX(1);
  }
  .site-nav__link.is-active{
    opacity: 1;
  }
  .site-nav__link.is-active::after{
    transform: scaleX(1);
  }
 
  /* ハンバーガーボタン（モバイル用） */
  .site-nav__toggle{
    display: none;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
  }
  .site-nav__toggle span{
    display: block;
    width: 100%;
    height: 2px;
    background: var(--brand-blue);
    margin: 6px 0;
    transition: transform .25s ease, opacity .25s ease;
  }
  .site-nav__toggle.is-open span:nth-child(1){ transform: translateY(8px) rotate(45deg); }
  .site-nav__toggle.is-open span:nth-child(2){ opacity: 0; }
  .site-nav__toggle.is-open span:nth-child(3){ transform: translateY(-8px) rotate(-45deg); }
 
  /* メニュー内フッター（サイト名表示） デスクトップでは非表示 */
  .site-nav__footer{
    display: none;
  }
 
  /* ===== レスポンシブ ===== */
  @media (max-width: 860px){
    .site-nav{ padding: 0 20px; }
    .site-nav__toggle{ display: block; }
 
    /* 全画面オーバーレイのラッパー（リスト＋フッターをまとめて開閉） */
    .site-nav__menu{
      position: fixed;
      inset: var(--nav-height) 0 0 0; /* ヘッダー下から画面下端まで全面 */
      display: flex;
      flex-direction: column;
      background: rgba(255,255,255,.92);
      backdrop-filter: blur(6px);
      -webkit-backdrop-filter: blur(6px);
      opacity: 0;
      visibility: hidden;
      transform: translateY(-8px);
      transition: opacity .3s ease, transform .3s ease, visibility 0s linear .3s;
    }
    .site-nav__menu.is-open{
      opacity: 1;
      visibility: visible;
      transform: translateY(0);
      transition: opacity .3s ease, transform .3s ease, visibility 0s linear 0s;
    }
 
    .site-nav__list{
      flex-direction: column;
      gap: 0;
    }
    .site-nav__link{
      padding: 20px 28px;
      font-size: 18px;
      color: var(--brand-blue);
      opacity: .85;
      border-bottom: 1px solid rgba(0,75,157,.12);
    }
    .site-nav__link::after{ display:none; }
    .site-nav__name{ font-size: 18px; }
 
    /* 全画面メニュー最下部のフッター（サイト名） */
    .site-nav__footer{
      display: block;
      margin-top: auto;
      padding: 24px;
      text-align: center;
      color: var(--brand-blue);
      opacity: .6;
      font-size: 13px;
      letter-spacing: .08em;
      border-top: 1px solid rgba(0,75,157,.12);
    }
    .site-nav__footer strong{
      color: var(--brand-blue);
      opacity: 1;
      font-weight: 700;
    }
  }
  
/* ===== メインビジュアル ===== */
  .mainVisual.home{
    position: relative;
    display: flex;
    align-items: stretch;
    min-height: 560px;
    height: 100vh;
    max-height: 740px;
    overflow: hidden;
  }

  /* 顔写真：グラデーションなし。写真をそのまま見せる */
  .mainVisual__photo{
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center 20%;
  }

  /* ---- PC用画像（デフォルト） ---- */
  .mainVisual__photo{
    background-image: url("../img/看板写真PC.jpg");
  }

  /* ---- スマホ用画像（767px以下で切り替え） ---- */
  @media (max-width: 767px){
    .mainVisual__photo{
      background-image: url("../img/icon.jpg");
    }
  }

  /* ※ グラデーションのオーバーレイ（::before / ::after）は廃止。
     可読性は文字側の text-shadow（黒い影）で確保する方式に変更 */

  .mainVisual_text{
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 90px 24px 60px;
    text-align: left;
  }
  .mainVisual_text__inner{
    max-width: 620px;
  }

  /* 役職タグ：白背景なので影は不要（背景色があり文字が独立しているため） */
  .maintext1{
    position: relative;
    display: inline-block;
    margin: 0 0 20px;
    padding: 9px 22px;
    background: #fff;
    color: var(--brand-blue);
    font-size: 14px;
    font-weight: bold;
    letter-spacing: 3px;
    border-radius: 2px;
    box-shadow: 0 4px 14px rgba(0,0,0,.35); /* 背景から少し浮かせて視認性UP */
    animation: fadeUp .8s ease-out forwards;
    opacity: 0;
  }

  /* 名前：黒い影を複数重ねて縁取りのように見せる */
  .maintext2{
    position: relative;
    display: block;
    margin: 0 0 28px;
    color: #fff;
    font-size: 46px;
    font-weight: 900;
    letter-spacing: 3px;
    line-height: 1.3;
    text-shadow:
      0 0 6px rgba(0,0,0,.8),
      0 0 14px rgba(0,0,0,.6),
      0 4px 10px rgba(0,0,0,.5),
      0 2px 2px rgba(0,0,0,.9); /* 近距離の濃い影で縁取り効果を強める */
    animation: fadeRight .8s .15s ease-out forwards;
    opacity: 0;
  }
  .maintext2 .ruby{
    display:block;
    margin-top: 8px;
    color: rgba(255,255,255,.9);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 4px;
    text-shadow: 0 0 4px rgba(0,0,0,.9), 0 2px 6px rgba(0,0,0,.6);
  }

  /* 問いかけ（見出し） */
  .mainQuestion{
    position: relative;
    margin: 0 0 36px;
    padding-left: 18px;
    border-left: 3px solid #fff;
    color: #fff;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.7;
    text-shadow:
      0 0 6px rgba(0,0,0,.8),
      0 0 14px rgba(0,0,0,.6),
      0 4px 10px rgba(0,0,0,.5),
      0 2px 2px rgba(0,0,0,.9);
    animation: fadeRight .8s .3s ease-out forwards;
    opacity: 0;
  }

  /* 本文 */
  .maincatch{
    margin: 0 0 36px;
    padding-left: 21px;
    color: rgba(255,255,255,.95);
    font-size: 15px;
    font-weight: 500;
    line-height: 2;
    max-width: 560px;
    text-shadow:
      0 0 5px rgba(0,0,0,.8),
      0 0 12px rgba(0,0,0,.55),
      0 2px 6px rgba(0,0,0,.5);
    animation: fadeRight .8s .4s ease-out forwards;
    opacity: 0;
  }

  /* CTAボタン：プライマリはブルー系（白背景+紺文字）、セカンダリは白アウトライン */
  .mainCta{
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    animation: fadeUp .8s .6s ease-out forwards;
    opacity: 0;
  }
  .mainCta a{
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 32px;
    font-size: 15px;
    font-weight: bold;
    text-decoration: none;
    border-radius: 2px;
    transition: transform .25s ease, box-shadow .25s ease, background-color .25s ease;
  }
  .mainCta .is-primary{
    background: #fff;
    color: var(--brand-blue);
    box-shadow: 0 8px 20px rgba(0,0,0,.35);
  }
  .mainCta .is-secondary{
    background: rgba(0,0,0,.25); /* 透明だと写真次第で見えにくいので薄暗い背景を敷く */
    color: #fff;
    border: 1px solid rgba(255,255,255,.85);
    text-shadow: 0 1px 4px rgba(0,0,0,.6);
  }
  .mainCta a:hover{
    transform: translateY(-3px);
  }
  .mainCta .is-primary:hover{
    background: var(--brand-yellow);
    box-shadow: 0 12px 26px rgba(0,0,0,.4);
  }
  .mainCta .is-secondary:hover{
    background: rgba(0,0,0,.4);
  }

  @keyframes fadeUp{ from{opacity:0; transform:translateY(24px);} to{opacity:1; transform:translateY(0);} }
  @keyframes fadeRight{ from{opacity:0; transform:translateX(24px);} to{opacity:1; transform:translateX(0);} }

  /* ===== レスポンシブ ===== */
  @media (max-width: 767px){
    .pc-only{ display:none; }
    .mainVisual.home{ min-height: 640px; height:auto; }
    .mainVisual__photo{ background-position: center 15%; }
    .mainVisual_text{ padding: 100px 20px 44px; align-items: flex-end; min-height: 640px; }
    .mainVisual_text__inner{ max-width: 100%; }
    .maintext1{ font-size: 12px; letter-spacing: 2px; padding: 8px 18px; }
    .maintext2{ font-size: 30px; }
    .mainQuestion{ font-size: 17px; padding-left: 14px; }
    .maincatch{ font-size: 13px; padding-left: 17px; line-height: 1.9; }
    .mainCta a{ padding: 14px 22px; font-size: 14px; width: 100%; justify-content: center; }
    .mainCta{ flex-direction: column; }
  }