  :root{
    --shell-bg:#fff; --shell-border:#fff;
    --ink:#0e2550; --ink-weak:#2b3b65;
  }

  html,body{height:100%}
/* すべての要素で border/padding を幅に含める（はみ出し防止） */
html { box-sizing: border-box; }
*, *::before, *::after { box-sizing: inherit; }

/* 画像は枠内におさめる */
img { max-width: 100%; height: auto; }
  body{ margin:0; overflow-x:hidden; font-family:"Hiragino Sans","Helvetica Neue",Arial,sans-serif; }

  /* 固定背景 */
  .page-bg{ position:fixed; inset:0; background:url("../images/about-bg.jpg") center/cover no-repeat fixed; z-index:-2; }
.page-bg::after{
  content:""; position:absolute; inset:0;
  background: linear-gradient(to bottom, rgba(255,255,255,.25), rgba(255,255,255,.25));
}

  /* 固定ヘッダー（前のまま・完全白） */
  .site-header{
    position: fixed; top:16px; left:16px; right:16px; z-index:9999; pointer-events:none;
  }
  .nav-shell{
    pointer-events:auto;
    display:flex; align-items:center; gap:18px;
    padding:12px 14px; background:var(--shell-bg);
    border:2px solid var(--shell-border); border-radius:14px;
    box-shadow:0 8px 24px rgba(0,0,0,.08);
  }
  .brand{display:flex; text-decoration: none; align-items:center; gap:10px; white-space:nowrap; padding:8px 12px; border-radius:10px; background:#fff; box-shadow:0 2px 8px rgba(0,0,0,.06) inset;}
  .brand .logo{font-weight:900; font-size: clamp(18px,2.4vw,22px); letter-spacing:.06em; color:var(--ink);}
  .brand .tag{margin-left:6px; font-size:11px; letter-spacing:.1em; color:#6b7aa6;}
  .nav{display:flex; align-items:center; gap:8px;}
  .nav a{padding:10px 14px; border-radius:10px; color:var(--ink-weak); text-decoration:none; font-weight:700; font-size:14px; transition:.15s;}
  .nav a:hover{ background:#fff; color:var(--ink); transform:translateY(-1px); }
  .cta{ margin-left:auto; }
  .cta a{ background:#111827; color:#fff !important; padding:10px 16px; border-radius:10px; text-decoration:none; font-weight:700; box-shadow:0 6px 16px rgba(0,0,0,.18); }

  .hamburger{ display:none; margin-left:auto; width:40px; height:40px; border-radius:10px; background:#fff; border:1px solid #e5e7eb; align-items:center; justify-content:center; }
  .hamburger span{ width:20px; height:2px; background:#111; position:relative; display:block; }
  .hamburger span:before,.hamburger span:after{ content:""; position:absolute; left:0; width:20px; height:2px; background:#111; }
  .hamburger span:before{ top:-6px; } .hamburger span:after{ top:6px; }

  @media (max-width: 900px){
    .nav{ display:none; } .cta{ display:none; } .hamburger{ display:flex; }
    .nav.open{
      position:absolute; top:64px; left:16px; right:16px;
      display:flex; flex-direction:column; gap:6px;
      background:#fff; border:2px solid #fff;
      border-radius:12px; padding:10px; box-shadow:0 10px 24px rgba(0,0,0,.12);
    }
    .nav.open a{ padding:12px 10px; }
    .brand .tag{ display:none; }
    .brand{ min-width:0; padding:8px 10px; }
    .brand .logo{
        font-size: clamp(16px, 4.6vw, 20px);
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
  }
.hero-about{
  padding: clamp(96px, 16vh, 160px) 20px 40px;
  text-align:center;
  color:#fff;
  position:relative;
}

.hero-about::before{
  content:"";
  position:absolute; inset:0;
  background: rgba(0,0,0,0.35); /* 半透明の黒でコントラストUP */
  border-radius: 12px;
  width: 90%;
  margin: 0 auto;
  height: 100%;
  z-index: -1;
}

.hero-about h1{
  margin:0;
  font-size: clamp(26px,4vw,42px);
  font-weight:900;
  background: linear-gradient(90deg,#ff6ec4,#7873f5);
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
}

.hero-about p{
  margin:.6em 0 0;
  font-size: clamp(15px,2vw,18px);
  color:#f9fafb; /* より明るい白 */
}

  /* コンテナ＆カード */
  .container{ width:min(1100px,92vw); margin:0 auto; padding:0 16px 80px }
  .about-card{ position:relative; background:#fff; border-radius:16px; box-shadow:0 12px 30px rgba(0,0,0,.16);
    margin:0 auto 32px; width:min(920px,96vw); padding:clamp(18px,2.6vw,28px); overflow:visible }

  .about-head{ text-align:center; margin:4px 0 18px }
  .about-head h2{ margin:0; font-size:clamp(22px,3vw,28px); font-weight:900;
    background:linear-gradient(90deg,#ff6ec4,#7873f5); -webkit-background-clip:text; -webkit-text-fill-color:transparent }

  /* カード右上の“浮かぶ”キャラ（ぼかしなし白フチ＆ゆらぎ） */
  .card-chara{ position:absolute; right:-14px; top:-14px; width:clamp(120px,18vw,200px); pointer-events:none; opacity:.95; z-index:3;
    filter: drop-shadow(1px 0 0 #fff) drop-shadow(-1px 0 0 #fff) drop-shadow(0 1px 0 #fff) drop-shadow(0 -1px 0 #fff); }
  .sway{ animation:floatSway 7s ease-in-out infinite; transform-origin:60% 45% }
  @keyframes floatSway{ 0%{transform:translateY(0) rotate(-3.5deg)} 25%{transform:translateY(-5px) rotate(-1deg)} 50%{transform:translateY(0) rotate(3.5deg)} 75%{transform:translateY(5px) rotate(1deg)} 100%{transform:translateY(0) rotate(-3.5deg)} }
  @media (prefers-reduced-motion:reduce){ .sway{ animation:none !important } }

  /* === カード1：自己紹介（上中央に写真2枚 → テキスト） === */
  .avatar-row{ display:flex; justify-content:center; gap:14px; margin:10px 0 18px; flex-wrap:wrap }
  .avatar-row img{ width:clamp(180px,24vw,260px); height:auto; border-radius:14px; display:block; box-shadow:0 8px 22px rgba(0,0,0,.18) }
  .profile-text{ margin:0 auto; max-width:860px; color:#333; line-height:1.85 }
  .profile-text p{ margin:0 0 1em }

  /* === カード2：想い（右下＆左下に回り込み画像、テキストが周囲に流れる） === */
.story-card .story-head{
  display:flex; align-items:center; gap:12px; margin-bottom:14px;
}

.story-card .story-head h3{
  margin:0;
  font-size: clamp(20px,2.6vw,26px);
  font-weight:900;
  background: linear-gradient(90deg,#ff8a00,#e52e71);
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
  position:relative;
}

.story-card .story-head h3::before{
  content:"";
  display:inline-block;
  width:6px; height:1.2em;
  background:linear-gradient(180deg,#ff8a00,#e52e71);
  border-radius:3px;
  margin-right:8px;
}
  .story-head h3{ margin:.2rem 0 .6rem; font-size:clamp(18px,2.4vw,22px); font-weight:900; color:#111 }
  .story-body{ color:#333; line-height:1.9 }
  .story-body p{ margin:0 0 1em }

  .about__photo{ border-radius:12px; overflow:hidden; box-shadow:0 12px 28px rgba(0,0,0,.16) }
  .about__photo img{ width:100%; height:auto; display:block }
  .about__photo--right{
    float:right; width:clamp(320px,28%,320px); margin:.2rem 0 1rem 1.2rem; shape-outside:inset(0 round 12px)
  }
  .about__photo--left { float:left;  width:clamp(220px,28%,320px); margin:.2rem 1.2rem 1rem 0; shape-outside:inset(0 round 12px) }
  .story-body .clear{ clear:both }

  /* スマホ：回り込み解除して縦積み */
  @media (max-width:860px){
    .about__photo--right,.about__photo--left{ float:none; width:100%; margin:.4rem 0 1rem; shape-outside:none }
  }

  .page-end{ height:12vh }
/* ===== Footer ===== */
.site-footer{
  background:#fff;       /* フッター全体を白で */
  width:100%;
  padding: 48px 0;
  border-top: 2px solid #eee;
  position: relative;
}

.footer-inner{
  width: min(1100px, 92vw);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  position: relative;
}

/* 縦並びメニュー */
.footer-nav{
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 380px;
}
.footer-nav a{
  text-decoration: none;
  color: #0e2550;
  font-weight: 800;
  font-size: clamp(16px, 1.7vw, 18px);
  padding: 10px 12px;
  border-radius: 10px;
  transition: background-color .15s ease, transform .15s ease;
}
.footer-nav a:hover{
  background: #f1f5ff;
  transform: translateX(4px);
}

/* コピーライト */
.copyright{
  margin-top: 18px;
  color:#6b7280;
}

/* 右側の固定イラスト */
.footer-art{
  position: absolute;
  right: max(16px, 5%);
  bottom: -6px;
  width: clamp(540px, 22vw, 260px);
  pointer-events: none;
  filter:
    drop-shadow(1px 0 0 #fff)
    drop-shadow(-1px 0 0 #fff)
    drop-shadow(0 1px 0 #fff)
    drop-shadow(0 -1px 0 #fff);
  z-index: 1;
}

/* ゆらぎアニメ */
.sway{
  animation: footerSway 7s ease-in-out infinite;
  transform-origin: 60% 45%;
}
@keyframes footerSway{
  0%{transform: translateY(0) rotate(-3deg)}
  50%{transform: translateY(-6px) rotate(3deg)}
  100%{transform: translateY(0) rotate(-3deg)}
}

/* レスポンシブ対応 */
@media (max-width: 700px){
  .footer-art{ right: 8px; width: 34vw; opacity: .9; }
}
@media (max-width: 480px){
  .footer-art{ display:none; }
}
