/* ============================================================
       IPHOLIC — SERVICE / 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 (shared) ===== */
    .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: 0.12s; }
    .drawer.is-open a:nth-child(2) { transition-delay: 0.18s; }
    .drawer.is-open a:nth-child(3) { transition-delay: 0.24s; }
    .drawer.is-open a:nth-child(4) { transition-delay: 0.30s; }
    .drawer.is-open a:nth-child(5) { transition-delay: 0.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: 60vh;
      display: flex; flex-direction: column; justify-content: center; align-items: center;
      text-align: center; padding: 140px 5% 84px; 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; } }
    .page-hero__sub { margin-top: clamp(20px, 3vh, 30px); font-size: clamp(0.82rem, 1.1vw, 0.98rem); font-weight: 300; color: var(--text-mid); letter-spacing: 0.08em; opacity: 0; animation: fadeUp 1.1s 1.2s var(--ease) forwards; }
    @keyframes fadeUp { to { opacity: 1; transform: none; } }

    /* ===== SECTION SHARED ===== */
    .section { max-width: 1080px; margin: 0 auto; padding: clamp(80px, 11vh, 140px) clamp(20px, 5vw, 56px); }
    .sec-head { display: flex; align-items: baseline; gap: 20px; margin-bottom: 16px; }
    .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.2rem); letter-spacing: 0.08em; }

    /* ===== ABOUT IP ===== */
    .ip-about { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 6vw, 88px); align-items: center; margin-top: clamp(40px, 6vh, 64px); }
    .ip-about__visual { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: clamp(16px, 3vw, 40px) 0; }
    .ip-about__emblem { position: relative; width: clamp(200px, 22vw, 320px); aspect-ratio: 1 / 1; display: flex; align-items: center; justify-content: center; }
    .ip-about__circle { position: absolute; inset: 0; border: 1px solid var(--line); border-radius: 50%; }
    .ip-about__orbit { position: absolute; inset: 0; animation: spin 22s linear infinite; }
    .ip-about__orbit::before { content: ''; position: absolute; top: -3.5px; left: 50%; transform: translateX(-50%); width: 7px; height: 7px; border-radius: 50%; background: var(--text); }
    @keyframes spin { to { transform: rotate(360deg); } }
    .ip-about__big { font-family: "Noto Serif JP", serif; font-weight: 300; font-size: clamp(2.8rem, 5.5vw, 4.6rem); line-height: 1; letter-spacing: 0.14em; padding-left: 0.14em; color: var(--text); }
    .ip-about__anno { margin-top: clamp(22px, 3vh, 34px); display: flex; flex-direction: column; align-items: center; gap: 6px; }
    .ip-about__anno-en { font-size: 9.5px; letter-spacing: 0.34em; color: var(--text-soft); }
    .ip-about__anno-ja { font-size: 11px; color: var(--text-mid); letter-spacing: 0.2em; }
    .ip-about__body p { font-size: clamp(0.92rem, 1.15vw, 1.05rem); font-weight: 300; line-height: 2.4; color: #2c2c2c; }

    .ip-tags { display: flex; align-items: baseline; gap: clamp(18px, 3vw, 40px); margin-top: clamp(48px, 7vh, 80px); padding-top: clamp(30px, 4vh, 46px); border-top: 1px solid var(--line); flex-wrap: wrap; }
    .ip-tags__label { font-size: 11px; letter-spacing: 0.28em; color: var(--text-soft); white-space: nowrap; }
    .chips { display: flex; flex-wrap: wrap; gap: 10px; }
    .chip { background: #ECEBE7; border-radius: 999px; padding: 8px 18px; font-size: 0.8rem; font-weight: 400; color: var(--text-soft); letter-spacing: 0.06em; cursor: default; }

    /* ===== STRENGTH ===== */
    .strength { background: var(--bg-soft); }
    .strength__inner { max-width: 1080px; margin: 0 auto; padding: clamp(80px, 11vh, 140px) clamp(20px, 5vw, 56px); }
    .strength__intro { font-size: clamp(0.9rem, 1.1vw, 1rem); font-weight: 300; line-height: 2.2; color: #333; max-width: 760px; margin-top: 8px; }

    /* 3 connected core businesses — triad diagram */
    .triad { position: relative; width: 100%; max-width: 760px; margin: clamp(40px, 5vh, 64px) auto clamp(36px, 4.5vh, 56px); aspect-ratio: 1 / 0.56; }
    .triad__lines { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
    .triad__lines line { stroke: #d8d7d2; stroke-width: 1; vector-effect: non-scaling-stroke; }
    .triad__center { position: absolute; left: 50%; top: 57%; transform: translate(-50%, -50%); text-align: center; z-index: 0; }
    .triad__center-en { font-size: 10px; letter-spacing: 0.3em; color: var(--text-soft); }
    .triad__center-ja { font-family: "Noto Serif JP", serif; font-size: 0.92rem; color: var(--text-mid); margin-top: 5px; letter-spacing: 0.16em; }
    .triad__node { position: absolute; transform: translate(-50%, -50%); z-index: 1; }
    .triad__node--1 { left: 50%; top: 17%; }
    .triad__node--2 { left: 12%; top: 83%; }
    .triad__node--3 { left: 88%; top: 83%; }
    .triad__circle {
      width: clamp(108px, 14vw, 164px); aspect-ratio: 1 / 1; border-radius: 50%;
      border: 1px solid var(--line); background: var(--bg);
      display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 7px;
      transition: transform 0.5s var(--ease);
    }
    .triad__node:hover .triad__circle { transform: scale(1.04); }
    .triad__node--1 .triad__circle { background: var(--text); color: #fff; border-color: var(--text); }
    .triad__num { font-family: "Noto Serif JP", serif; font-size: 1.3rem; font-weight: 300; line-height: 1; color: var(--text-soft); }
    .triad__node--1 .triad__num { color: rgba(255,255,255,0.45); }
    .triad__name { font-size: clamp(0.8rem, 1vw, 0.94rem); font-weight: 600; letter-spacing: 0.04em; }

    .triad-legend { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
    .triad-legend__item { background: var(--bg); padding: clamp(24px, 2.6vw, 34px); }
    .triad-legend__head { display: flex; align-items: baseline; gap: 12px; margin-bottom: 14px; }
    .triad-legend__num { font-family: "Noto Serif JP", serif; font-size: 1.1rem; font-weight: 300; color: #c9c8c2; }
    .triad-legend__title { font-size: 0.92rem; font-weight: 600; letter-spacing: 0.04em; }
    .triad-legend__body { font-size: 0.82rem; font-weight: 300; line-height: 2; color: var(--text-mid); }

    .strength-others { margin-top: clamp(48px, 7vh, 80px); }
    .strength-others__label { font-size: clamp(0.88rem, 1.1vw, 0.98rem); font-weight: 500; text-align: center; margin-bottom: clamp(24px, 3vh, 36px); letter-spacing: 0.06em; }
    .others-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
    .others-item { background: var(--bg); padding: clamp(24px, 3vw, 36px) 16px; text-align: center; font-size: 0.86rem; font-weight: 400; line-height: 1.8; color: var(--text); display: flex; align-items: center; justify-content: center; min-height: 92px; transition: background 0.4s var(--ease); }
    .others-item:hover { background: #fafaf8; }

    /* ===== BUSINESS MODEL FLOW ===== */
    .model__caption { font-size: 0.92rem; font-weight: 600; letter-spacing: 0.06em; margin-top: 8px; margin-bottom: 14px; }
    .model__lead { font-size: clamp(0.9rem, 1.1vw, 1rem); font-weight: 300; line-height: 2.2; color: #333; max-width: 760px; }
    .flow { display: flex; align-items: center; justify-content: center; gap: 0; margin-top: clamp(40px, 6vh, 64px); }
    .flow__box { flex: 1; border: 1px solid var(--line); background: var(--bg); padding: clamp(28px, 3vw, 40px) 20px; text-align: center; display: flex; flex-direction: column; justify-content: center; }
    .flow__box--circle { flex: 0 0 auto; width: clamp(176px, 19.5vw, 248px); aspect-ratio: 1 / 1; border-radius: 50%; padding: 16px; }
    .flow__box--accent { flex: 0 0 auto; width: clamp(190px, 21vw, 272px); aspect-ratio: 1 / 1; background: var(--text); color: #fff; border-color: var(--text); display: flex; flex-direction: column; justify-content: center; }
    .flow__label { font-size: 10px; letter-spacing: 0.24em; color: var(--text-soft); margin-bottom: 10px; }
    .flow__box--accent .flow__label { color: rgba(255,255,255,0.55); }
    .flow__title { font-family: "Noto Serif JP", serif; font-size: clamp(1rem, 1.4vw, 1.2rem); font-weight: 400; }
    .flow__list { font-size: 0.8rem; font-weight: 300; line-height: 2; margin-top: 12px; color: rgba(255,255,255,0.8); }
    .flow__arrow { width: 56px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; position: relative; }
    .flow__arrow::before { content: ''; width: 22px; height: 1px; background: #bbb; }
    .flow__arrow::after { content: ''; position: absolute; right: 16px; width: 7px; height: 7px; border-top: 1px solid #bbb; border-right: 1px solid #bbb; transform: rotate(45deg); }

    /* ===== CONTACT CTA (pill, shared) ===== */
    .cta { padding: 0 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 (shared) ===== */
    .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); }
    .footer__copy .en { font-weight: 300; letter-spacing: 0.18em; }

    /* ===== RESPONSIVE ===== */
    @media (max-width: 900px) {
      .ip-about { grid-template-columns: 1fr; gap: 16px; }
      .ip-tags { flex-direction: column; gap: 18px; }
    }
    @media (max-width: 768px) {
      .header__nav { display: none; }
      .header__burger { display: block; z-index: 110; }
      .triad-legend { grid-template-columns: 1fr; }
      .others-grid { grid-template-columns: 1fr 1fr; }
      .flow { flex-direction: column; }
      .flow__box, .flow__box--accent { flex: none; }
      .flow__arrow { width: 100%; height: 44px; transform: rotate(90deg); }
      .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__sub, .page-hero__label { opacity: 1; transform: none; }
    }