/* assets/styles.css
   Clean / Bright corporate style for ANSHIN CODE
   FULL VERSION (logo conflict fixed)
*/

/* ========== Tokens ========== */
:root{
    --bg: #f7f9fc;
    --card: #ffffff;
    --text: #1f2937;
    --muted: #6b7280;
    --line: #e5e7eb;
  
    --accent: #2563eb;
    --accent-2: #0ea5e9;
    --accent-soft: #eff6ff;
  
    --shadow: 0 6px 20px rgba(0,0,0,.06);
    --shadow-sm: 0 2px 10px rgba(0,0,0,.05);
  
    --radius: 14px;
    --radius-lg: 18px;
  
    --container: 1100px;
  
    --space-1: 8px;
    --space-2: 12px;
    --space-3: 16px;
    --space-4: 24px;
    --space-5: 32px;
    --space-6: 48px;
  
    --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
            "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans JP",
            "Yu Gothic", Meiryo, Arial, sans-serif;
  }
  
  /* ========== Reset ========== */
  *{ box-sizing: border-box; }
  html, body{ height: 100%; }
  
  body{
    margin: 0;
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
  
  img{
    max-width: 100%;
    display: block;
  }
  
  a{
    color: var(--accent);
    text-decoration: none;
  }
  a:hover{ text-decoration: underline; }
  
  ::selection{
    background: rgba(37,99,235,.18);
  }
  
  /* ========== Layout ========== */
  .container{
    width: min(var(--container), calc(100% - 32px));
    margin: 0 auto;
  }
  
  .section{
    padding: var(--space-5) 0;
  }
  
  .grid{
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: var(--space-4);
  }
  
  .col-12{ grid-column: span 12; }
  .col-8{ grid-column: span 8; }
  .col-6{ grid-column: span 6; }
  .col-4{ grid-column: span 4; }
  
  @media (max-width: 900px){
    .col-8, .col-6, .col-4{ grid-column: span 12; }
    .section{ padding: var(--space-4) 0; }
  }
  
  /* ========== Header / Nav ========== */
  .header{
    position: sticky;
    top: 0;
    z-index: 50;
    background: #ffffff;
    border-bottom: 1px solid var(--line);
  }
  
  .nav{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-4);
    padding: 14px 0;
  }
  
  /* ブランド（ロゴ＋社名） */
  .brand{
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text);
    text-decoration: none;
  }
  
  /* favicon / ロゴ画像専用 */
  .brand .logo{
    width: 28px;
    height: 28px;
    display: inline-block;
    object-fit: contain;
    flex-shrink: 0;
  }
  
  .brand span{
    display: inline-block;
  }
  
  .brand small{
    display: block;
    font-size: 12px;
    color: var(--muted);
    margin-top: 2px;
  }
  
  .menu{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
  }
  
  .menu a{
    color: #374151;
    font-size: 14px;
    padding: 8px 10px;
    border-radius: 10px;
    transition: background .15s ease, color .15s ease;
  }
  
  .menu a:hover{
    background: var(--accent-soft);
    color: var(--accent);
    text-decoration: none;
  }
  
  @media (max-width: 900px){
    .nav{ flex-direction: column; align-items: flex-start; }
  }
  
  /* ========== Cards ========== */
  .card{
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
  }
  
  .content{
    padding: var(--space-5);
  }
  
  @media (max-width: 900px){
    .content{ padding: var(--space-4); }
  }
  
  /* ========== Typography ========== */
  h1, h2, h3, h4{
    margin: 0 0 12px 0;
    line-height: 1.35;
    color: #111827;
    letter-spacing: .01em;
  }
  
  h1{ font-size: 1.85rem; font-weight: 650; }
  h2{ font-size: 1.35rem; font-weight: 620; }
  h3{ font-size: 1.05rem; font-weight: 620; margin-top: 18px; }
  h4{ font-size: 1rem; font-weight: 620; margin-top: 16px; }
  
  p{ margin: 0 0 14px 0; }
  
  .muted{
    color: var(--muted);
    font-size: 0.95rem;
  }
  
  /* ========== Divider ========== */
  .hr{
    height: 1px;
    background: linear-gradient(to right, transparent, var(--line), transparent);
    margin: 24px 0;
  }
  
  /* ========== Badges ========== */
  .badge{
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 12px;
    border: 1px solid var(--line);
    background: #fff;
  }
  
  .badge.blue{
    background: var(--accent-soft);
    color: var(--accent);
    border-color: rgba(37,99,235,.18);
    font-weight: 550;
  }
  
  /* ========== Lists / Items ========== */
  .list{
    display: grid;
    gap: 12px;
  }
  
  .item{
    display: flex;
    justify-content: space-between;
    gap: 16px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
    padding: 14px;
    box-shadow: var(--shadow-sm);
    text-decoration: none;
    color: inherit;
  }
  
  .item:hover{
    background: var(--accent-soft);
    border-color: rgba(37,99,235,.22);
    text-decoration: none;
  }
  
  .item h3{
    margin: 0 0 4px 0;
    font-size: 1rem;
  }
  
  .item p{
    margin: 0;
    font-size: .95rem;
    color: var(--muted);
  }
  
  .meta{
    text-align: right;
    font-size: .9rem;
    white-space: nowrap;
  }
  
  /* ========== Employee Blocks ========== */
  .employee{
    display: flex;
    gap: 28px;
  }
  
  .employee-photo img{
    max-width: 180px;
    border-radius: 16px;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
  }
  
  .employee-body{
    flex: 1;
  }
  
  .placeholder{
    max-width: 180px;
    min-height: 220px;
    border-radius: 16px;
    border: 1px dashed rgba(107,114,128,.45);
    background: #fbfcff;
    color: var(--muted);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
  }
  
  /* ========== Footer ========== */
  .footer{
    background: #ffffff;
    border-top: 1px solid var(--line);
    margin-top: var(--space-5);
  }
  
  .footer-grid{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 0;
    flex-wrap: wrap;
  }
  
  .footer small{
    color: var(--muted);
  }
  
  .update{
    font-size: .9rem;
    color: var(--muted);
  }
  
   /* ===== Header logo size adjustment ===== */
.header .logo{
    width: 44px;          /* ← 36 → 44 に拡大 */
    height: 44px;
    border-radius: 10px;
  }
  
.secret-message{
    color: #ffffff;
    font-size: 0.9rem;
    line-height: 1.8;
    margin-top: 28px;
    opacity: 0.04;
  }
  
  /* ダークモードで可視化 */
  body[data-theme="dark"] .secret-message{
    opacity: 1;
  }
  