/* ============================================================
       IPHOLIC — COMPANY / DESIGN  (shared design system)
    ============================================================ */
    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
    :root {
      --bg:#FFFFFF; --bg-soft:#F5F4F1; --text:#141414; --text-mid:#6E6E6E; --text-soft:#9B9B9B; --line:#E7E6E2;
      --ease: cubic-bezier(0.16, 1, 0.3, 1);
    }
    html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
    body { font-family: "Noto Sans JP", sans-serif; background: var(--bg); color: var(--text); letter-spacing: 0.04em; line-height: 1.8; overflow-x: hidden; }
    img { display: block; max-width: 100%; }
    a { color: inherit; text-decoration: none; }
    .en { font-family: "Noto Sans JP", sans-serif; font-weight: 300; letter-spacing: 0.32em; }
    .reveal { opacity: 0; transform: translateY(28px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
    .reveal.is-visible { opacity: 1; transform: none; }

    /* ===== HEADER ===== */
    .header { position: fixed; top: 0; left: 0; width: 100%; height: 76px; padding: 0 clamp(20px, 5vw, 56px); display: flex; align-items: center; justify-content: space-between; z-index: 100; background: rgba(255,255,255,0); transition: background 0.5s var(--ease), height 0.5s var(--ease), border-color 0.5s var(--ease); border-bottom: 1px solid transparent; }
    .header.is-scrolled { height: 64px; background: rgba(255,255,255,0.82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
    .header__logo img { height: 54px; width: auto; transition: height 0.5s var(--ease); }
    .header.is-scrolled .header__logo img { height: 46px; }
    .header__nav { display: flex; align-items: center; gap: clamp(20px, 2.4vw, 40px); }
    .header__nav a { position: relative; font-size: 12.5px; font-weight: 500; letter-spacing: 0.1em; padding: 4px 0; }
    .header__nav a.is-current { color: var(--text-soft); }
    .header__nav a:not(.nav-contact):not(.is-current)::after { content: ''; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px; background: var(--text); transform: scaleX(0); transform-origin: right; transition: transform 0.5s var(--ease); }
    .header__nav a:not(.nav-contact):not(.is-current):hover::after { transform: scaleX(1); transform-origin: left; }
    .nav-contact { border: 1px solid var(--text); border-radius: 999px; padding: 9px 24px !important; font-size: 11.5px !important; letter-spacing: 0.16em !important; transition: background 0.45s var(--ease), color 0.45s var(--ease); }
    .nav-contact:hover { background: var(--text); color: #fff; }
    .header__burger { display: none; width: 28px; height: 16px; position: relative; cursor: pointer; }
    .header__burger span { position: absolute; left: 0; width: 100%; height: 1.5px; background: var(--text); transition: transform 0.45s var(--ease), opacity 0.3s var(--ease); }
    .header__burger span:nth-child(1) { top: 0; } .header__burger span:nth-child(2) { top: 7px; } .header__burger span:nth-child(3) { top: 14px; }
    .drawer { position: fixed; inset: 0; background: var(--bg); z-index: 90; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 8px; opacity: 0; visibility: hidden; transition: opacity 0.5s var(--ease), visibility 0.5s var(--ease); }
    .drawer.is-open { opacity: 1; visibility: visible; }
    .drawer a { font-size: 16px; font-weight: 500; letter-spacing: 0.14em; padding: 16px 0; opacity: 0; transform: translateY(14px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
    .drawer a .sub { display: block; font-size: 10px; letter-spacing: 0.3em; color: var(--text-soft); margin-top: 4px; }
    .drawer.is-open a { opacity: 1; transform: none; }
    .drawer.is-open a:nth-child(1){transition-delay:.12s} .drawer.is-open a:nth-child(2){transition-delay:.18s} .drawer.is-open a:nth-child(3){transition-delay:.24s} .drawer.is-open a:nth-child(4){transition-delay:.30s} .drawer.is-open a:nth-child(5){transition-delay:.36s}
    body.menu-open .header__burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    body.menu-open .header__burger span:nth-child(2) { opacity: 0; }
    body.menu-open .header__burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

    /* ===== PAGE HERO ===== */
    .page-hero { position: relative; min-height: 52vh; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: 140px 5% 76px; overflow: hidden; }
    .page-hero::before { content: ''; position: absolute; inset: -10%; background: radial-gradient(42% 52% at 26% 34%, rgba(0,0,0,0.045) 0%, transparent 62%), radial-gradient(40% 48% at 76% 72%, rgba(0,0,0,0.03) 0%, transparent 60%); animation: heroDrift 18s ease-in-out infinite alternate; z-index: 0; }
    @keyframes heroDrift { 0% { transform: scale(1) translate(0,0); } 100% { transform: scale(1.12) translate(2.5%, -1.5%); } }
    .page-hero__inner { position: relative; z-index: 2; }
    .page-hero__label { display: inline-flex; align-items: center; gap: 14px; font-size: 11px; letter-spacing: 0.38em; color: var(--text-soft); margin-bottom: clamp(18px, 2.6vh, 28px); opacity: 0; animation: fadeUp 1s 0.3s var(--ease) forwards; }
    .page-hero__label::before, .page-hero__label::after { content: ''; width: 28px; height: 1px; background: var(--line); }
    .page-hero__title { font-family: "Noto Serif JP", serif; font-weight: 400; font-size: clamp(2.4rem, 6vw, 4.6rem); line-height: 1.24; letter-spacing: 0.08em; }
    .page-hero__title .line { display: block; overflow: hidden; padding: 0.04em 0; }
    .page-hero__title .line > span { display: inline-block; transform: translateY(112%); animation: lineUp 1.15s 0.5s var(--ease) forwards; }
    @keyframes lineUp { to { transform: none; } }
    @keyframes fadeUp { to { opacity: 1; transform: none; } }

    /* ===== SECTION ===== */
    .section { max-width: 980px; margin: 0 auto; padding: clamp(64px, 9vh, 120px) clamp(20px, 5vw, 56px); }
    .section + .section { padding-top: 0; }
    .sec-head { display: flex; align-items: baseline; gap: 20px; margin-bottom: clamp(36px, 5vh, 56px); }
    .sec-head__en { font-size: 11px; letter-spacing: 0.34em; color: var(--text-soft); white-space: nowrap; }
    .sec-head__line { flex: 1; height: 1px; background: var(--line); }
    .sec-head__ja { font-family: "Noto Serif JP", serif; font-weight: 400; font-size: clamp(1.5rem, 2.6vw, 2.1rem); letter-spacing: 0.08em; white-space: nowrap; }

    /* ===== 会社概要 ===== */
    .spec { display: flex; flex-direction: column; }
    .spec__row { display: grid; grid-template-columns: 240px 1fr; gap: 24px; padding: 22px 0; border-top: 1px solid var(--line); }
    .spec__row:last-child { border-bottom: 1px solid var(--line); }
    .spec__dt { font-size: 0.84rem; font-weight: 500; color: var(--text-mid); letter-spacing: 0.08em; }
    .spec__dd { font-size: 0.94rem; font-weight: 300; line-height: 1.9; }

    /* ===== PROFILE ===== */
    .profile { display: grid; grid-template-columns: 230px 1fr; gap: clamp(32px, 5vw, 68px); align-items: start; }
    .profile__photo { width: 100%; aspect-ratio: 3 / 4; overflow: hidden; background: var(--bg-soft); position: relative; }
    .profile__photo img { width: 100%; height: 100%; object-fit: cover; }
    .profile__photo::after { content: ''; position: absolute; inset: 0; border: 1px solid rgba(0,0,0,0.05); }
    .profile__role { font-size: 10px; letter-spacing: 0.24em; color: var(--text-soft); margin-bottom: 12px; }
    .profile__name { font-family: "Noto Serif JP", serif; font-weight: 400; font-size: clamp(1.4rem, 2.4vw, 1.9rem); letter-spacing: 0.06em; margin-bottom: 6px; }
    .profile__name-en { font-size: 0.8rem; font-weight: 300; letter-spacing: 0.16em; color: var(--text-soft); margin-bottom: clamp(20px, 3vh, 28px); }
    .profile__text { font-size: clamp(0.84rem, 1.05vw, 0.94rem); font-weight: 300; line-height: 2.2; color: #3a3a3a; }

    /* career timeline */
    .career { margin-top: clamp(28px, 4vh, 40px); border-top: 1px solid var(--line); }
    .career__item { display: grid; grid-template-columns: 220px 1fr; gap: 20px; padding: 15px 0; border-bottom: 1px solid var(--line); }
    .career__date { font-size: 0.78rem; font-weight: 400; color: var(--text-soft); letter-spacing: 0.04em; white-space: nowrap; }
    .career__role { font-size: 0.82rem; font-weight: 300; line-height: 1.7; color: #444; }

    /* ===== CTA ===== */
    .cta { padding: clamp(40px, 6vh, 80px) clamp(20px, 5vw, 56px) clamp(80px, 10vh, 120px); text-align: center; }
    .cta-pill { width: fit-content; max-width: 100%; margin: 0 auto; background: var(--text); color: #fff; padding: 15px 15px 15px 38px; border-radius: 999px; display: inline-flex; align-items: center; gap: clamp(28px, 4vw, 52px); transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease); }
    .cta-pill:hover { transform: translateY(-3px); box-shadow: 0 14px 38px rgba(0,0,0,0.20); }
    .cta-pill__en { display: block; font-size: clamp(0.98rem, 1.3vw, 1.2rem); font-weight: 300; letter-spacing: 0.16em; }
    .cta-pill__ja { display: block; font-family: "Noto Serif JP", serif; font-size: 0.7rem; color: rgba(255,255,255,0.6); margin-top: 5px; }
    .cta-pill__circle { width: 46px; height: 46px; border-radius: 50%; background: #fff; flex-shrink: 0; display: flex; align-items: center; justify-content: center; transition: transform 0.5s var(--ease); }
    .cta-pill__circle::before { content: ''; width: 8px; height: 8px; border-top: 1px solid var(--text); border-right: 1px solid var(--text); transform: rotate(45deg); }
    .cta-pill:hover .cta-pill__circle { transform: translateX(4px); }

    /* ===== FOOTER ===== */
    .footer { padding: clamp(64px, 9vh, 110px) clamp(20px, 5vw, 56px) 36px; border-top: 1px solid var(--line); }
    .footer__top { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 40px; padding-bottom: clamp(40px, 6vh, 72px); border-bottom: 1px solid var(--line); }
    .footer__logo img { height: 22px; width: auto; }
    .footer__tagline { font-size: 11px; letter-spacing: 0.2em; color: var(--text-soft); margin-top: 18px; }
    .footer__nav { display: flex; flex-wrap: wrap; gap: 14px 40px; }
    .footer__nav a { font-size: 12.5px; font-weight: 400; letter-spacing: 0.08em; color: var(--text-mid); transition: color 0.4s var(--ease); }
    .footer__nav a:hover { color: var(--text); }
    .footer__bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; padding-top: 28px; }
    .footer__copy { font-size: 10.5px; letter-spacing: 0.14em; color: var(--text-soft); }

    /* ===== RESPONSIVE ===== */
    @media (max-width: 768px) {
      .header__nav { display: none; }
      .header__burger { display: block; z-index: 110; }
      .spec__row { grid-template-columns: 1fr; gap: 6px; }
      .profile { grid-template-columns: 1fr; gap: 28px; }
      .profile__photo { width: 180px; }
      .career__item { grid-template-columns: 1fr; gap: 4px; }
      .footer__top { flex-direction: column; gap: 28px; }
    }
    @media (prefers-reduced-motion: reduce) {
      *, *::before, *::after { animation: none !important; transition: none !important; }
      .reveal { opacity: 1; transform: none; }
      .page-hero__title .line > span, .page-hero__label { opacity: 1; transform: none; }
    }